Bumping k8s dependencies to 1.13
This commit is contained in:
@@ -1,40 +1,19 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/spanner/admin/database/v1/spanner_database_admin.proto
|
||||
|
||||
/*
|
||||
Package database is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/spanner/admin/database/v1/spanner_database_admin.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Database
|
||||
ListDatabasesRequest
|
||||
ListDatabasesResponse
|
||||
CreateDatabaseRequest
|
||||
CreateDatabaseMetadata
|
||||
GetDatabaseRequest
|
||||
UpdateDatabaseDdlRequest
|
||||
UpdateDatabaseDdlMetadata
|
||||
DropDatabaseRequest
|
||||
GetDatabaseDdlRequest
|
||||
GetDatabaseDdlResponse
|
||||
*/
|
||||
package database
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_iam_v11 "google.golang.org/genproto/googleapis/iam/v1"
|
||||
import google_iam_v1 "google.golang.org/genproto/googleapis/iam/v1"
|
||||
import google_longrunning "google.golang.org/genproto/googleapis/longrunning"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/empty"
|
||||
import google_protobuf3 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
context "context"
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
empty "github.com/golang/protobuf/ptypes/empty"
|
||||
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
v1 "google.golang.org/genproto/googleapis/iam/v1"
|
||||
longrunning "google.golang.org/genproto/googleapis/longrunning"
|
||||
grpc "google.golang.org/grpc"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
@@ -66,6 +45,7 @@ var Database_State_name = map[int32]string{
|
||||
1: "CREATING",
|
||||
2: "READY",
|
||||
}
|
||||
|
||||
var Database_State_value = map[string]int32{
|
||||
"STATE_UNSPECIFIED": 0,
|
||||
"CREATING": 1,
|
||||
@@ -75,7 +55,10 @@ var Database_State_value = map[string]int32{
|
||||
func (x Database_State) String() string {
|
||||
return proto.EnumName(Database_State_name, int32(x))
|
||||
}
|
||||
func (Database_State) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
|
||||
|
||||
func (Database_State) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9422939aee7fc2d7, []int{0, 0}
|
||||
}
|
||||
|
||||
// A Cloud Spanner database.
|
||||
type Database struct {
|
||||
@@ -84,15 +67,38 @@ type Database struct {
|
||||
// where `<database>` is as specified in the `CREATE DATABASE`
|
||||
// statement. This name can be passed to other API methods to
|
||||
// identify the database.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Output only. The current database state.
|
||||
State Database_State `protobuf:"varint,2,opt,name=state,enum=google.spanner.admin.database.v1.Database_State" json:"state,omitempty"`
|
||||
State Database_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.spanner.admin.database.v1.Database_State" json:"state,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Database) Reset() { *m = Database{} }
|
||||
func (m *Database) String() string { return proto.CompactTextString(m) }
|
||||
func (*Database) ProtoMessage() {}
|
||||
func (*Database) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *Database) Reset() { *m = Database{} }
|
||||
func (m *Database) String() string { return proto.CompactTextString(m) }
|
||||
func (*Database) ProtoMessage() {}
|
||||
func (*Database) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9422939aee7fc2d7, []int{0}
|
||||
}
|
||||
|
||||
func (m *Database) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Database.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Database) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Database.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Database) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Database.Merge(m, src)
|
||||
}
|
||||
func (m *Database) XXX_Size() int {
|
||||
return xxx_messageInfo_Database.Size(m)
|
||||
}
|
||||
func (m *Database) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Database.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Database proto.InternalMessageInfo
|
||||
|
||||
func (m *Database) GetName() string {
|
||||
if m != nil {
|
||||
@@ -112,20 +118,43 @@ func (m *Database) GetState() Database_State {
|
||||
type ListDatabasesRequest struct {
|
||||
// Required. The instance whose databases should be listed.
|
||||
// Values are of the form `projects/<project>/instances/<instance>`.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
|
||||
// Number of databases to be returned in the response. If 0 or less,
|
||||
// defaults to the server's maximum allowed page size.
|
||||
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
|
||||
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||||
// If non-empty, `page_token` should contain a
|
||||
// [next_page_token][google.spanner.admin.database.v1.ListDatabasesResponse.next_page_token] from a
|
||||
// previous [ListDatabasesResponse][google.spanner.admin.database.v1.ListDatabasesResponse].
|
||||
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
|
||||
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListDatabasesRequest) Reset() { *m = ListDatabasesRequest{} }
|
||||
func (m *ListDatabasesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListDatabasesRequest) ProtoMessage() {}
|
||||
func (*ListDatabasesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *ListDatabasesRequest) Reset() { *m = ListDatabasesRequest{} }
|
||||
func (m *ListDatabasesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListDatabasesRequest) ProtoMessage() {}
|
||||
func (*ListDatabasesRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9422939aee7fc2d7, []int{1}
|
||||
}
|
||||
|
||||
func (m *ListDatabasesRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListDatabasesRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListDatabasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListDatabasesRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ListDatabasesRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListDatabasesRequest.Merge(m, src)
|
||||
}
|
||||
func (m *ListDatabasesRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ListDatabasesRequest.Size(m)
|
||||
}
|
||||
func (m *ListDatabasesRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListDatabasesRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListDatabasesRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ListDatabasesRequest) GetParent() string {
|
||||
if m != nil {
|
||||
@@ -151,17 +180,40 @@ func (m *ListDatabasesRequest) GetPageToken() string {
|
||||
// The response for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
|
||||
type ListDatabasesResponse struct {
|
||||
// Databases that matched the request.
|
||||
Databases []*Database `protobuf:"bytes,1,rep,name=databases" json:"databases,omitempty"`
|
||||
Databases []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"`
|
||||
// `next_page_token` can be sent in a subsequent
|
||||
// [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases] call to fetch more
|
||||
// of the matching databases.
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListDatabasesResponse) Reset() { *m = ListDatabasesResponse{} }
|
||||
func (m *ListDatabasesResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListDatabasesResponse) ProtoMessage() {}
|
||||
func (*ListDatabasesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
func (m *ListDatabasesResponse) Reset() { *m = ListDatabasesResponse{} }
|
||||
func (m *ListDatabasesResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListDatabasesResponse) ProtoMessage() {}
|
||||
func (*ListDatabasesResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9422939aee7fc2d7, []int{2}
|
||||
}
|
||||
|
||||
func (m *ListDatabasesResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListDatabasesResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListDatabasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListDatabasesResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ListDatabasesResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListDatabasesResponse.Merge(m, src)
|
||||
}
|
||||
func (m *ListDatabasesResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ListDatabasesResponse.Size(m)
|
||||
}
|
||||
func (m *ListDatabasesResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListDatabasesResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListDatabasesResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ListDatabasesResponse) GetDatabases() []*Database {
|
||||
if m != nil {
|
||||
@@ -181,24 +233,47 @@ func (m *ListDatabasesResponse) GetNextPageToken() string {
|
||||
type CreateDatabaseRequest struct {
|
||||
// Required. The name of the instance that will serve the new database.
|
||||
// Values are of the form `projects/<project>/instances/<instance>`.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
|
||||
// Required. A `CREATE DATABASE` statement, which specifies the ID of the
|
||||
// new database. The database ID must conform to the regular expression
|
||||
// `[a-z][a-z0-9_\-]*[a-z0-9]` and be between 2 and 30 characters in length.
|
||||
// If the database ID is a reserved word or if it contains a hyphen, the
|
||||
// database ID must be enclosed in backticks (`` ` ``).
|
||||
CreateStatement string `protobuf:"bytes,2,opt,name=create_statement,json=createStatement" json:"create_statement,omitempty"`
|
||||
CreateStatement string `protobuf:"bytes,2,opt,name=create_statement,json=createStatement,proto3" json:"create_statement,omitempty"`
|
||||
// An optional list of DDL statements to run inside the newly created
|
||||
// database. Statements can create tables, indexes, etc. These
|
||||
// statements execute atomically with the creation of the database:
|
||||
// if there is an error in any statement, the database is not created.
|
||||
ExtraStatements []string `protobuf:"bytes,3,rep,name=extra_statements,json=extraStatements" json:"extra_statements,omitempty"`
|
||||
ExtraStatements []string `protobuf:"bytes,3,rep,name=extra_statements,json=extraStatements,proto3" json:"extra_statements,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CreateDatabaseRequest) Reset() { *m = CreateDatabaseRequest{} }
|
||||
func (m *CreateDatabaseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateDatabaseRequest) ProtoMessage() {}
|
||||
func (*CreateDatabaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
func (m *CreateDatabaseRequest) Reset() { *m = CreateDatabaseRequest{} }
|
||||
func (m *CreateDatabaseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateDatabaseRequest) ProtoMessage() {}
|
||||
func (*CreateDatabaseRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9422939aee7fc2d7, []int{3}
|
||||
}
|
||||
|
||||
func (m *CreateDatabaseRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CreateDatabaseRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CreateDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CreateDatabaseRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *CreateDatabaseRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CreateDatabaseRequest.Merge(m, src)
|
||||
}
|
||||
func (m *CreateDatabaseRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_CreateDatabaseRequest.Size(m)
|
||||
}
|
||||
func (m *CreateDatabaseRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CreateDatabaseRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CreateDatabaseRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *CreateDatabaseRequest) GetParent() string {
|
||||
if m != nil {
|
||||
@@ -225,13 +300,36 @@ func (m *CreateDatabaseRequest) GetExtraStatements() []string {
|
||||
// [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
|
||||
type CreateDatabaseMetadata struct {
|
||||
// The database being created.
|
||||
Database string `protobuf:"bytes,1,opt,name=database" json:"database,omitempty"`
|
||||
Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CreateDatabaseMetadata) Reset() { *m = CreateDatabaseMetadata{} }
|
||||
func (m *CreateDatabaseMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateDatabaseMetadata) ProtoMessage() {}
|
||||
func (*CreateDatabaseMetadata) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
func (m *CreateDatabaseMetadata) Reset() { *m = CreateDatabaseMetadata{} }
|
||||
func (m *CreateDatabaseMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateDatabaseMetadata) ProtoMessage() {}
|
||||
func (*CreateDatabaseMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9422939aee7fc2d7, []int{4}
|
||||
}
|
||||
|
||||
func (m *CreateDatabaseMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CreateDatabaseMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CreateDatabaseMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CreateDatabaseMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *CreateDatabaseMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CreateDatabaseMetadata.Merge(m, src)
|
||||
}
|
||||
func (m *CreateDatabaseMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_CreateDatabaseMetadata.Size(m)
|
||||
}
|
||||
func (m *CreateDatabaseMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CreateDatabaseMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CreateDatabaseMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *CreateDatabaseMetadata) GetDatabase() string {
|
||||
if m != nil {
|
||||
@@ -244,13 +342,36 @@ func (m *CreateDatabaseMetadata) GetDatabase() string {
|
||||
type GetDatabaseRequest struct {
|
||||
// Required. The name of the requested database. Values are of the form
|
||||
// `projects/<project>/instances/<instance>/databases/<database>`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GetDatabaseRequest) Reset() { *m = GetDatabaseRequest{} }
|
||||
func (m *GetDatabaseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetDatabaseRequest) ProtoMessage() {}
|
||||
func (*GetDatabaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
func (m *GetDatabaseRequest) Reset() { *m = GetDatabaseRequest{} }
|
||||
func (m *GetDatabaseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetDatabaseRequest) ProtoMessage() {}
|
||||
func (*GetDatabaseRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9422939aee7fc2d7, []int{5}
|
||||
}
|
||||
|
||||
func (m *GetDatabaseRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetDatabaseRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetDatabaseRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *GetDatabaseRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetDatabaseRequest.Merge(m, src)
|
||||
}
|
||||
func (m *GetDatabaseRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_GetDatabaseRequest.Size(m)
|
||||
}
|
||||
func (m *GetDatabaseRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetDatabaseRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetDatabaseRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *GetDatabaseRequest) GetName() string {
|
||||
if m != nil {
|
||||
@@ -277,9 +398,9 @@ func (m *GetDatabaseRequest) GetName() string {
|
||||
// details.
|
||||
type UpdateDatabaseDdlRequest struct {
|
||||
// Required. The database to update.
|
||||
Database string `protobuf:"bytes,1,opt,name=database" json:"database,omitempty"`
|
||||
Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
|
||||
// DDL statements to be applied to the database.
|
||||
Statements []string `protobuf:"bytes,2,rep,name=statements" json:"statements,omitempty"`
|
||||
Statements []string `protobuf:"bytes,2,rep,name=statements,proto3" json:"statements,omitempty"`
|
||||
// If empty, the new update request is assigned an
|
||||
// automatically-generated operation ID. Otherwise, `operation_id`
|
||||
// is used to construct the name of the resulting
|
||||
@@ -299,13 +420,36 @@ type UpdateDatabaseDdlRequest struct {
|
||||
// underscore. If the named operation already exists,
|
||||
// [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns
|
||||
// `ALREADY_EXISTS`.
|
||||
OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId" json:"operation_id,omitempty"`
|
||||
OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *UpdateDatabaseDdlRequest) Reset() { *m = UpdateDatabaseDdlRequest{} }
|
||||
func (m *UpdateDatabaseDdlRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateDatabaseDdlRequest) ProtoMessage() {}
|
||||
func (*UpdateDatabaseDdlRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
func (m *UpdateDatabaseDdlRequest) Reset() { *m = UpdateDatabaseDdlRequest{} }
|
||||
func (m *UpdateDatabaseDdlRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateDatabaseDdlRequest) ProtoMessage() {}
|
||||
func (*UpdateDatabaseDdlRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9422939aee7fc2d7, []int{6}
|
||||
}
|
||||
|
||||
func (m *UpdateDatabaseDdlRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UpdateDatabaseDdlRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *UpdateDatabaseDdlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_UpdateDatabaseDdlRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *UpdateDatabaseDdlRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UpdateDatabaseDdlRequest.Merge(m, src)
|
||||
}
|
||||
func (m *UpdateDatabaseDdlRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_UpdateDatabaseDdlRequest.Size(m)
|
||||
}
|
||||
func (m *UpdateDatabaseDdlRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_UpdateDatabaseDdlRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_UpdateDatabaseDdlRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *UpdateDatabaseDdlRequest) GetDatabase() string {
|
||||
if m != nil {
|
||||
@@ -332,20 +476,43 @@ func (m *UpdateDatabaseDdlRequest) GetOperationId() string {
|
||||
// [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl].
|
||||
type UpdateDatabaseDdlMetadata struct {
|
||||
// The database being modified.
|
||||
Database string `protobuf:"bytes,1,opt,name=database" json:"database,omitempty"`
|
||||
Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
|
||||
// For an update this list contains all the statements. For an
|
||||
// individual statement, this list contains only that statement.
|
||||
Statements []string `protobuf:"bytes,2,rep,name=statements" json:"statements,omitempty"`
|
||||
Statements []string `protobuf:"bytes,2,rep,name=statements,proto3" json:"statements,omitempty"`
|
||||
// Reports the commit timestamps of all statements that have
|
||||
// succeeded so far, where `commit_timestamps[i]` is the commit
|
||||
// timestamp for the statement `statements[i]`.
|
||||
CommitTimestamps []*google_protobuf3.Timestamp `protobuf:"bytes,3,rep,name=commit_timestamps,json=commitTimestamps" json:"commit_timestamps,omitempty"`
|
||||
CommitTimestamps []*timestamp.Timestamp `protobuf:"bytes,3,rep,name=commit_timestamps,json=commitTimestamps,proto3" json:"commit_timestamps,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *UpdateDatabaseDdlMetadata) Reset() { *m = UpdateDatabaseDdlMetadata{} }
|
||||
func (m *UpdateDatabaseDdlMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateDatabaseDdlMetadata) ProtoMessage() {}
|
||||
func (*UpdateDatabaseDdlMetadata) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||
func (m *UpdateDatabaseDdlMetadata) Reset() { *m = UpdateDatabaseDdlMetadata{} }
|
||||
func (m *UpdateDatabaseDdlMetadata) String() string { return proto.CompactTextString(m) }
|
||||
func (*UpdateDatabaseDdlMetadata) ProtoMessage() {}
|
||||
func (*UpdateDatabaseDdlMetadata) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9422939aee7fc2d7, []int{7}
|
||||
}
|
||||
|
||||
func (m *UpdateDatabaseDdlMetadata) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UpdateDatabaseDdlMetadata.Unmarshal(m, b)
|
||||
}
|
||||
func (m *UpdateDatabaseDdlMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_UpdateDatabaseDdlMetadata.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *UpdateDatabaseDdlMetadata) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UpdateDatabaseDdlMetadata.Merge(m, src)
|
||||
}
|
||||
func (m *UpdateDatabaseDdlMetadata) XXX_Size() int {
|
||||
return xxx_messageInfo_UpdateDatabaseDdlMetadata.Size(m)
|
||||
}
|
||||
func (m *UpdateDatabaseDdlMetadata) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_UpdateDatabaseDdlMetadata.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_UpdateDatabaseDdlMetadata proto.InternalMessageInfo
|
||||
|
||||
func (m *UpdateDatabaseDdlMetadata) GetDatabase() string {
|
||||
if m != nil {
|
||||
@@ -361,7 +528,7 @@ func (m *UpdateDatabaseDdlMetadata) GetStatements() []string {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *UpdateDatabaseDdlMetadata) GetCommitTimestamps() []*google_protobuf3.Timestamp {
|
||||
func (m *UpdateDatabaseDdlMetadata) GetCommitTimestamps() []*timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.CommitTimestamps
|
||||
}
|
||||
@@ -371,13 +538,36 @@ func (m *UpdateDatabaseDdlMetadata) GetCommitTimestamps() []*google_protobuf3.Ti
|
||||
// The request for [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase].
|
||||
type DropDatabaseRequest struct {
|
||||
// Required. The database to be dropped.
|
||||
Database string `protobuf:"bytes,1,opt,name=database" json:"database,omitempty"`
|
||||
Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *DropDatabaseRequest) Reset() { *m = DropDatabaseRequest{} }
|
||||
func (m *DropDatabaseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DropDatabaseRequest) ProtoMessage() {}
|
||||
func (*DropDatabaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
||||
func (m *DropDatabaseRequest) Reset() { *m = DropDatabaseRequest{} }
|
||||
func (m *DropDatabaseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DropDatabaseRequest) ProtoMessage() {}
|
||||
func (*DropDatabaseRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9422939aee7fc2d7, []int{8}
|
||||
}
|
||||
|
||||
func (m *DropDatabaseRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_DropDatabaseRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *DropDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_DropDatabaseRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *DropDatabaseRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_DropDatabaseRequest.Merge(m, src)
|
||||
}
|
||||
func (m *DropDatabaseRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_DropDatabaseRequest.Size(m)
|
||||
}
|
||||
func (m *DropDatabaseRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_DropDatabaseRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_DropDatabaseRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *DropDatabaseRequest) GetDatabase() string {
|
||||
if m != nil {
|
||||
@@ -389,13 +579,36 @@ func (m *DropDatabaseRequest) GetDatabase() string {
|
||||
// The request for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
|
||||
type GetDatabaseDdlRequest struct {
|
||||
// Required. The database whose schema we wish to get.
|
||||
Database string `protobuf:"bytes,1,opt,name=database" json:"database,omitempty"`
|
||||
Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GetDatabaseDdlRequest) Reset() { *m = GetDatabaseDdlRequest{} }
|
||||
func (m *GetDatabaseDdlRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetDatabaseDdlRequest) ProtoMessage() {}
|
||||
func (*GetDatabaseDdlRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
|
||||
func (m *GetDatabaseDdlRequest) Reset() { *m = GetDatabaseDdlRequest{} }
|
||||
func (m *GetDatabaseDdlRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetDatabaseDdlRequest) ProtoMessage() {}
|
||||
func (*GetDatabaseDdlRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9422939aee7fc2d7, []int{9}
|
||||
}
|
||||
|
||||
func (m *GetDatabaseDdlRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetDatabaseDdlRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetDatabaseDdlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetDatabaseDdlRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *GetDatabaseDdlRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetDatabaseDdlRequest.Merge(m, src)
|
||||
}
|
||||
func (m *GetDatabaseDdlRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_GetDatabaseDdlRequest.Size(m)
|
||||
}
|
||||
func (m *GetDatabaseDdlRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetDatabaseDdlRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetDatabaseDdlRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *GetDatabaseDdlRequest) GetDatabase() string {
|
||||
if m != nil {
|
||||
@@ -408,13 +621,36 @@ func (m *GetDatabaseDdlRequest) GetDatabase() string {
|
||||
type GetDatabaseDdlResponse struct {
|
||||
// A list of formatted DDL statements defining the schema of the database
|
||||
// specified in the request.
|
||||
Statements []string `protobuf:"bytes,1,rep,name=statements" json:"statements,omitempty"`
|
||||
Statements []string `protobuf:"bytes,1,rep,name=statements,proto3" json:"statements,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GetDatabaseDdlResponse) Reset() { *m = GetDatabaseDdlResponse{} }
|
||||
func (m *GetDatabaseDdlResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetDatabaseDdlResponse) ProtoMessage() {}
|
||||
func (*GetDatabaseDdlResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
|
||||
func (m *GetDatabaseDdlResponse) Reset() { *m = GetDatabaseDdlResponse{} }
|
||||
func (m *GetDatabaseDdlResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetDatabaseDdlResponse) ProtoMessage() {}
|
||||
func (*GetDatabaseDdlResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_9422939aee7fc2d7, []int{10}
|
||||
}
|
||||
|
||||
func (m *GetDatabaseDdlResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetDatabaseDdlResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetDatabaseDdlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetDatabaseDdlResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *GetDatabaseDdlResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetDatabaseDdlResponse.Merge(m, src)
|
||||
}
|
||||
func (m *GetDatabaseDdlResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_GetDatabaseDdlResponse.Size(m)
|
||||
}
|
||||
func (m *GetDatabaseDdlResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetDatabaseDdlResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetDatabaseDdlResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *GetDatabaseDdlResponse) GetStatements() []string {
|
||||
if m != nil {
|
||||
@@ -424,6 +660,7 @@ func (m *GetDatabaseDdlResponse) GetStatements() []string {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("google.spanner.admin.database.v1.Database_State", Database_State_name, Database_State_value)
|
||||
proto.RegisterType((*Database)(nil), "google.spanner.admin.database.v1.Database")
|
||||
proto.RegisterType((*ListDatabasesRequest)(nil), "google.spanner.admin.database.v1.ListDatabasesRequest")
|
||||
proto.RegisterType((*ListDatabasesResponse)(nil), "google.spanner.admin.database.v1.ListDatabasesResponse")
|
||||
@@ -435,7 +672,79 @@ func init() {
|
||||
proto.RegisterType((*DropDatabaseRequest)(nil), "google.spanner.admin.database.v1.DropDatabaseRequest")
|
||||
proto.RegisterType((*GetDatabaseDdlRequest)(nil), "google.spanner.admin.database.v1.GetDatabaseDdlRequest")
|
||||
proto.RegisterType((*GetDatabaseDdlResponse)(nil), "google.spanner.admin.database.v1.GetDatabaseDdlResponse")
|
||||
proto.RegisterEnum("google.spanner.admin.database.v1.Database_State", Database_State_name, Database_State_value)
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/spanner/admin/database/v1/spanner_database_admin.proto", fileDescriptor_9422939aee7fc2d7)
|
||||
}
|
||||
|
||||
var fileDescriptor_9422939aee7fc2d7 = []byte{
|
||||
// 1033 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x96, 0xcf, 0x6f, 0x1b, 0x45,
|
||||
0x14, 0xc7, 0x19, 0xa7, 0xa9, 0x92, 0x17, 0x27, 0x75, 0x06, 0x1c, 0xb9, 0x5b, 0x5a, 0xcc, 0x82,
|
||||
0x2a, 0xd7, 0x12, 0xbb, 0xd8, 0x69, 0x48, 0x30, 0x0a, 0x22, 0xb5, 0x5d, 0xd7, 0x12, 0xb4, 0x96,
|
||||
0xed, 0x56, 0x02, 0x59, 0xb2, 0x26, 0xf6, 0xb0, 0xda, 0xe2, 0xfd, 0xc1, 0xce, 0xb8, 0x6a, 0x8b,
|
||||
0x7a, 0x41, 0xe2, 0xc0, 0x19, 0x90, 0xb8, 0x81, 0x38, 0x70, 0xe0, 0xc4, 0x0d, 0x89, 0x23, 0x47,
|
||||
0xae, 0xfc, 0x01, 0x5c, 0xf8, 0x43, 0xd0, 0xcc, 0xee, 0xd8, 0xeb, 0x75, 0x12, 0xdb, 0x1c, 0xb8,
|
||||
0x79, 0xdf, 0xfb, 0xbe, 0x79, 0x9f, 0x79, 0x3b, 0xdf, 0xf1, 0xc2, 0xb1, 0xe5, 0x79, 0xd6, 0x88,
|
||||
0x9a, 0xcc, 0x27, 0xae, 0x4b, 0x03, 0x93, 0x0c, 0x1d, 0xdb, 0x35, 0x87, 0x84, 0x93, 0x53, 0xc2,
|
||||
0xa8, 0xf9, 0xa4, 0xa4, 0x32, 0x7d, 0x15, 0xeb, 0x4b, 0x89, 0xe1, 0x07, 0x1e, 0xf7, 0x70, 0x3e,
|
||||
0x2c, 0x37, 0x22, 0x91, 0x11, 0xe6, 0x94, 0xd4, 0x78, 0x52, 0xd2, 0x5e, 0x8d, 0x1a, 0x10, 0xdf,
|
||||
0x36, 0x89, 0xeb, 0x7a, 0x9c, 0x70, 0xdb, 0x73, 0x59, 0x58, 0xaf, 0xdd, 0x88, 0xb2,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 0xa5, 0x50, 0x2a, 0x2c, 0xd6, 0x45, 0xbc, 0x76, 0x81,
|
||||
0xd5, 0xb8, 0x08, 0xab, 0xf1, 0xbf, 0x60, 0x59, 0x09, 0xac, 0xdf, 0x11, 0xe0, 0x2e, 0x65, 0x32,
|
||||
0x48, 0x03, 0xc7, 0x66, 0x4c, 0x7c, 0xf7, 0xe1, 0x42, 0xa2, 0xf1, 0xbc, 0x44, 0x21, 0xde, 0x5a,
|
||||
0x42, 0x19, 0xbd, 0xd8, 0x07, 0x12, 0xbb, 0xa9, 0xd7, 0x56, 0xc7, 0xe6, 0x73, 0xab, 0x56, 0x50,
|
||||
0xf1, 0xce, 0xdf, 0x08, 0xde, 0x1c, 0x78, 0xce, 0xc2, 0x93, 0x76, 0xe7, 0x6a, 0x27, 0x4c, 0xcd,
|
||||
0xfc, 0x89, 0xb4, 0x84, 0x6f, 0x5a, 0xe8, 0x93, 0x7b, 0x51, 0xb9, 0xe5, 0x8d, 0x88, 0x6b, 0x19,
|
||||
0x5e, 0x60, 0x99, 0x16, 0x75, 0xa5, 0xab, 0xcc, 0x30, 0x45, 0x7c, 0x9b, 0x9d, 0xff, 0x71, 0xff,
|
||||
0x9e, 0xfa, 0xfd, 0x4b, 0xea, 0x66, 0x23, 0x5c, 0xaa, 0x3a, 0xf2, 0xc6, 0x43, 0x23, 0x6a, 0x6a,
|
||||
0xc8, 0x6e, 0xd3, 0x6f, 0xd6, 0x47, 0xa5, 0x3f, 0x95, 0xb0, 0x27, 0x85, 0xbd, 0x48, 0xd8, 0x93,
|
||||
0xc2, 0x9e, 0x12, 0xf6, 0x1e, 0x95, 0x4e, 0x2f, 0x4b, 0x8c, 0xfd, 0x7f, 0x03, 0x00, 0x00, 0xff,
|
||||
0xff, 0x1d, 0xbc, 0x89, 0x54, 0x62, 0x0c, 0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
@@ -446,8 +755,9 @@ var _ grpc.ClientConn
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for DatabaseAdmin service
|
||||
|
||||
// DatabaseAdminClient is the client API for DatabaseAdmin service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type DatabaseAdminClient interface {
|
||||
// Lists Cloud Spanner databases.
|
||||
ListDatabases(ctx context.Context, in *ListDatabasesRequest, opts ...grpc.CallOption) (*ListDatabasesResponse, error)
|
||||
@@ -459,7 +769,7 @@ type DatabaseAdminClient interface {
|
||||
// [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. The
|
||||
// [response][google.longrunning.Operation.response] field type is
|
||||
// [Database][google.spanner.admin.database.v1.Database], if successful.
|
||||
CreateDatabase(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
|
||||
CreateDatabase(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
|
||||
// Gets the state of a Cloud Spanner database.
|
||||
GetDatabase(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*Database, error)
|
||||
// Updates the schema of a Cloud Spanner database by
|
||||
@@ -469,9 +779,9 @@ type DatabaseAdminClient interface {
|
||||
// track execution of the schema change(s). The
|
||||
// [metadata][google.longrunning.Operation.metadata] field type is
|
||||
// [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. The operation has no response.
|
||||
UpdateDatabaseDdl(ctx context.Context, in *UpdateDatabaseDdlRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
|
||||
UpdateDatabaseDdl(ctx context.Context, in *UpdateDatabaseDdlRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
|
||||
// Drops (aka deletes) a Cloud Spanner database.
|
||||
DropDatabase(ctx context.Context, in *DropDatabaseRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error)
|
||||
DropDatabase(ctx context.Context, in *DropDatabaseRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
||||
// Returns the schema of a Cloud Spanner database as a list of formatted
|
||||
// DDL statements. This method does not show pending schema updates, those may
|
||||
// be queried using the [Operations][google.longrunning.Operations] API.
|
||||
@@ -481,20 +791,20 @@ type DatabaseAdminClient interface {
|
||||
//
|
||||
// Authorization requires `spanner.databases.setIamPolicy` permission on
|
||||
// [resource][google.iam.v1.SetIamPolicyRequest.resource].
|
||||
SetIamPolicy(ctx context.Context, in *google_iam_v11.SetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error)
|
||||
SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
|
||||
// Gets the access control policy for a database resource. Returns an empty
|
||||
// policy if a database exists but does not have a policy set.
|
||||
//
|
||||
// Authorization requires `spanner.databases.getIamPolicy` permission on
|
||||
// [resource][google.iam.v1.GetIamPolicyRequest.resource].
|
||||
GetIamPolicy(ctx context.Context, in *google_iam_v11.GetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error)
|
||||
GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
|
||||
// Returns permissions that the caller has on the specified database resource.
|
||||
//
|
||||
// Attempting this RPC on a non-existent Cloud Spanner database will result in
|
||||
// a NOT_FOUND error if the user has `spanner.databases.list` permission on
|
||||
// the containing Cloud Spanner instance. Otherwise returns an empty set of
|
||||
// permissions.
|
||||
TestIamPermissions(ctx context.Context, in *google_iam_v11.TestIamPermissionsRequest, opts ...grpc.CallOption) (*google_iam_v11.TestIamPermissionsResponse, error)
|
||||
TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
|
||||
}
|
||||
|
||||
type databaseAdminClient struct {
|
||||
@@ -507,16 +817,16 @@ func NewDatabaseAdminClient(cc *grpc.ClientConn) DatabaseAdminClient {
|
||||
|
||||
func (c *databaseAdminClient) ListDatabases(ctx context.Context, in *ListDatabasesRequest, opts ...grpc.CallOption) (*ListDatabasesResponse, error) {
|
||||
out := new(ListDatabasesResponse)
|
||||
err := grpc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/ListDatabases", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/ListDatabases", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *databaseAdminClient) CreateDatabase(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
|
||||
out := new(google_longrunning.Operation)
|
||||
err := grpc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/CreateDatabase", in, out, c.cc, opts...)
|
||||
func (c *databaseAdminClient) CreateDatabase(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
|
||||
out := new(longrunning.Operation)
|
||||
err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/CreateDatabase", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -525,25 +835,25 @@ func (c *databaseAdminClient) CreateDatabase(ctx context.Context, in *CreateData
|
||||
|
||||
func (c *databaseAdminClient) GetDatabase(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*Database, error) {
|
||||
out := new(Database)
|
||||
err := grpc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/GetDatabase", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/GetDatabase", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *databaseAdminClient) UpdateDatabaseDdl(ctx context.Context, in *UpdateDatabaseDdlRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
|
||||
out := new(google_longrunning.Operation)
|
||||
err := grpc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/UpdateDatabaseDdl", in, out, c.cc, opts...)
|
||||
func (c *databaseAdminClient) UpdateDatabaseDdl(ctx context.Context, in *UpdateDatabaseDdlRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
|
||||
out := new(longrunning.Operation)
|
||||
err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/UpdateDatabaseDdl", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *databaseAdminClient) DropDatabase(ctx context.Context, in *DropDatabaseRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error) {
|
||||
out := new(google_protobuf2.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/DropDatabase", in, out, c.cc, opts...)
|
||||
func (c *databaseAdminClient) DropDatabase(ctx context.Context, in *DropDatabaseRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
||||
out := new(empty.Empty)
|
||||
err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/DropDatabase", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -552,42 +862,41 @@ func (c *databaseAdminClient) DropDatabase(ctx context.Context, in *DropDatabase
|
||||
|
||||
func (c *databaseAdminClient) GetDatabaseDdl(ctx context.Context, in *GetDatabaseDdlRequest, opts ...grpc.CallOption) (*GetDatabaseDdlResponse, error) {
|
||||
out := new(GetDatabaseDdlResponse)
|
||||
err := grpc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/GetDatabaseDdl", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/GetDatabaseDdl", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *databaseAdminClient) SetIamPolicy(ctx context.Context, in *google_iam_v11.SetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error) {
|
||||
out := new(google_iam_v1.Policy)
|
||||
err := grpc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/SetIamPolicy", in, out, c.cc, opts...)
|
||||
func (c *databaseAdminClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) {
|
||||
out := new(v1.Policy)
|
||||
err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/SetIamPolicy", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *databaseAdminClient) GetIamPolicy(ctx context.Context, in *google_iam_v11.GetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error) {
|
||||
out := new(google_iam_v1.Policy)
|
||||
err := grpc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/GetIamPolicy", in, out, c.cc, opts...)
|
||||
func (c *databaseAdminClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) {
|
||||
out := new(v1.Policy)
|
||||
err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/GetIamPolicy", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *databaseAdminClient) TestIamPermissions(ctx context.Context, in *google_iam_v11.TestIamPermissionsRequest, opts ...grpc.CallOption) (*google_iam_v11.TestIamPermissionsResponse, error) {
|
||||
out := new(google_iam_v11.TestIamPermissionsResponse)
|
||||
err := grpc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/TestIamPermissions", in, out, c.cc, opts...)
|
||||
func (c *databaseAdminClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) {
|
||||
out := new(v1.TestIamPermissionsResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/TestIamPermissions", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for DatabaseAdmin service
|
||||
|
||||
// DatabaseAdminServer is the server API for DatabaseAdmin service.
|
||||
type DatabaseAdminServer interface {
|
||||
// Lists Cloud Spanner databases.
|
||||
ListDatabases(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)
|
||||
@@ -599,7 +908,7 @@ type DatabaseAdminServer interface {
|
||||
// [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. The
|
||||
// [response][google.longrunning.Operation.response] field type is
|
||||
// [Database][google.spanner.admin.database.v1.Database], if successful.
|
||||
CreateDatabase(context.Context, *CreateDatabaseRequest) (*google_longrunning.Operation, error)
|
||||
CreateDatabase(context.Context, *CreateDatabaseRequest) (*longrunning.Operation, error)
|
||||
// Gets the state of a Cloud Spanner database.
|
||||
GetDatabase(context.Context, *GetDatabaseRequest) (*Database, error)
|
||||
// Updates the schema of a Cloud Spanner database by
|
||||
@@ -609,9 +918,9 @@ type DatabaseAdminServer interface {
|
||||
// track execution of the schema change(s). The
|
||||
// [metadata][google.longrunning.Operation.metadata] field type is
|
||||
// [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. The operation has no response.
|
||||
UpdateDatabaseDdl(context.Context, *UpdateDatabaseDdlRequest) (*google_longrunning.Operation, error)
|
||||
UpdateDatabaseDdl(context.Context, *UpdateDatabaseDdlRequest) (*longrunning.Operation, error)
|
||||
// Drops (aka deletes) a Cloud Spanner database.
|
||||
DropDatabase(context.Context, *DropDatabaseRequest) (*google_protobuf2.Empty, error)
|
||||
DropDatabase(context.Context, *DropDatabaseRequest) (*empty.Empty, error)
|
||||
// Returns the schema of a Cloud Spanner database as a list of formatted
|
||||
// DDL statements. This method does not show pending schema updates, those may
|
||||
// be queried using the [Operations][google.longrunning.Operations] API.
|
||||
@@ -621,20 +930,20 @@ type DatabaseAdminServer interface {
|
||||
//
|
||||
// Authorization requires `spanner.databases.setIamPolicy` permission on
|
||||
// [resource][google.iam.v1.SetIamPolicyRequest.resource].
|
||||
SetIamPolicy(context.Context, *google_iam_v11.SetIamPolicyRequest) (*google_iam_v1.Policy, error)
|
||||
SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
|
||||
// Gets the access control policy for a database resource. Returns an empty
|
||||
// policy if a database exists but does not have a policy set.
|
||||
//
|
||||
// Authorization requires `spanner.databases.getIamPolicy` permission on
|
||||
// [resource][google.iam.v1.GetIamPolicyRequest.resource].
|
||||
GetIamPolicy(context.Context, *google_iam_v11.GetIamPolicyRequest) (*google_iam_v1.Policy, error)
|
||||
GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
|
||||
// Returns permissions that the caller has on the specified database resource.
|
||||
//
|
||||
// Attempting this RPC on a non-existent Cloud Spanner database will result in
|
||||
// a NOT_FOUND error if the user has `spanner.databases.list` permission on
|
||||
// the containing Cloud Spanner instance. Otherwise returns an empty set of
|
||||
// permissions.
|
||||
TestIamPermissions(context.Context, *google_iam_v11.TestIamPermissionsRequest) (*google_iam_v11.TestIamPermissionsResponse, error)
|
||||
TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
|
||||
}
|
||||
|
||||
func RegisterDatabaseAdminServer(s *grpc.Server, srv DatabaseAdminServer) {
|
||||
@@ -750,7 +1059,7 @@ func _DatabaseAdmin_GetDatabaseDdl_Handler(srv interface{}, ctx context.Context,
|
||||
}
|
||||
|
||||
func _DatabaseAdmin_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(google_iam_v11.SetIamPolicyRequest)
|
||||
in := new(v1.SetIamPolicyRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -762,13 +1071,13 @@ func _DatabaseAdmin_SetIamPolicy_Handler(srv interface{}, ctx context.Context, d
|
||||
FullMethod: "/google.spanner.admin.database.v1.DatabaseAdmin/SetIamPolicy",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(DatabaseAdminServer).SetIamPolicy(ctx, req.(*google_iam_v11.SetIamPolicyRequest))
|
||||
return srv.(DatabaseAdminServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _DatabaseAdmin_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(google_iam_v11.GetIamPolicyRequest)
|
||||
in := new(v1.GetIamPolicyRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -780,13 +1089,13 @@ func _DatabaseAdmin_GetIamPolicy_Handler(srv interface{}, ctx context.Context, d
|
||||
FullMethod: "/google.spanner.admin.database.v1.DatabaseAdmin/GetIamPolicy",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(DatabaseAdminServer).GetIamPolicy(ctx, req.(*google_iam_v11.GetIamPolicyRequest))
|
||||
return srv.(DatabaseAdminServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _DatabaseAdmin_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(google_iam_v11.TestIamPermissionsRequest)
|
||||
in := new(v1.TestIamPermissionsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -798,7 +1107,7 @@ func _DatabaseAdmin_TestIamPermissions_Handler(srv interface{}, ctx context.Cont
|
||||
FullMethod: "/google.spanner.admin.database.v1.DatabaseAdmin/TestIamPermissions",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(DatabaseAdminServer).TestIamPermissions(ctx, req.(*google_iam_v11.TestIamPermissionsRequest))
|
||||
return srv.(DatabaseAdminServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
@@ -847,76 +1156,3 @@ var _DatabaseAdmin_serviceDesc = grpc.ServiceDesc{
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/spanner/admin/database/v1/spanner_database_admin.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/spanner/admin/database/v1/spanner_database_admin.proto", fileDescriptor0)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 1033 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x96, 0xcf, 0x6f, 0x1b, 0x45,
|
||||
0x14, 0xc7, 0x19, 0xa7, 0xa9, 0x92, 0x17, 0x27, 0x75, 0x06, 0x1c, 0xb9, 0x5b, 0x5a, 0xcc, 0x82,
|
||||
0x2a, 0xd7, 0x12, 0xbb, 0xd8, 0x69, 0x48, 0x30, 0x0a, 0x22, 0xb5, 0x5d, 0xd7, 0x12, 0xb4, 0x96,
|
||||
0xed, 0x56, 0x02, 0x59, 0xb2, 0x26, 0xf6, 0xb0, 0xda, 0xe2, 0xfd, 0xc1, 0xce,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x04, 0x1b, 0xb5, 0x68, 0x33,
|
||||
0x18, 0xc3, 0x25, 0x97, 0x38, 0x34, 0x87, 0xf2, 0xa8, 0xb0, 0xd9, 0x96, 0xbf, 0xf1, 0x5d, 0x58,
|
||||
0x67, 0x9c, 0x70, 0x9a, 0x4b, 0xe5, 0x51, 0x61, 0xa7, 0xfc, 0xb6, 0xb1, 0x68, 0x1e, 0x86, 0x5a,
|
||||
0xce, 0xe8, 0x88, 0xba, 0x76, 0x58, 0xae, 0x1f, 0xc2, 0xba, 0x7c, 0xc6, 0x59, 0xd8, 0xed, 0x74,
|
||||
0x4f, 0xba, 0xf5, 0xfe, 0xc3, 0xfb, 0x9d, 0x56, 0xbd, 0xda, 0xbc, 0xdb, 0xac, 0xd7, 0x32, 0x2f,
|
||||
0xe1, 0x34, 0x6c, 0x54, 0xdb, 0xf5, 0x93, 0x6e, 0xf3, 0x7e, 0x23, 0x83, 0xf0, 0x26, 0xac, 0xb7,
|
||||
0xeb, 0x27, 0xb5, 0x8f, 0x33, 0x29, 0xfd, 0x31, 0xbc, 0xf2, 0xa1, 0xcd, 0xb8, 0x5a, 0x95, 0xb5,
|
||||
0xe9, 0xe7, 0x63, 0xca, 0x38, 0xde, 0x83, 0xcb, 0x3e, 0x09, 0xa8, 0xcb, 0x23, 0xdc, 0xe8, 0x09,
|
||||
0x5f, 0x83, 0x4d, 0x9f, 0x58, 0xb4, 0xcf, 0xec, 0xe7, 0x34, 0xb7, 0x96, 0x47, 0x85, 0xf5, 0xf6,
|
||||
0x86, 0x08, 0x74, 0xec, 0xe7, 0x14, 0x5f, 0x07, 0x90, 0x49, 0xee, 0x7d, 0x46, 0xdd, 0xdc, 0x25,
|
||||
0x59, 0x28, 0xe5, 0x5d, 0x11, 0xd0, 0xbf, 0x46, 0x90, 0x4d, 0x34, 0x63, 0xbe, 0xe7, 0x32, 0x8a,
|
||||
0xef, 0xc1, 0xa6, 0xda, 0x23, 0xcb, 0xa1, 0xfc, 0x5a, 0x61, 0x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0x07, 0x8b, 0x66, 0xfa, 0x81, 0xe4, 0xac, 0x94, 0x0f, 0x24, 0xa7,
|
||||
0x5a, 0x71, 0x19, 0x56, 0x73, 0x38, 0x1c, 0x89, 0xd9, 0x7e, 0x8f, 0x20, 0x1d, 0xf7, 0x1b, 0x3e,
|
||||
0x58, 0x62, 0x4c, 0xf3, 0xfe, 0xd4, 0xf6, 0xe6, 0x4c, 0x5e, 0x17, 0xff, 0xca, 0xfa, 0xbb, 0x92,
|
||||
0x70, 0xbf, 0x58, 0x5a, 0x99, 0x10, 0xff, 0x81, 0x60, 0x67, 0xd6, 0xa2, 0xcb, 0x9c, 0xcd, 0x33,
|
||||
0x6f, 0x02, 0xed, 0x68, 0xf5, 0xc2, 0xc8, 0x58, 0xc7, 0x72, 0x03, 0x87, 0xf8, 0xbf, 0x8d, 0x18,
|
||||
0x7f, 0x8b, 0x20, 0xdd, 0xa1, 0xbc, 0x49, 0x9c, 0x96, 0xfc, 0xd0, 0xc1, 0xba, 0x22, 0xb1, 0x89,
|
||||
0x23, 0xda, 0xc6, 0x93, 0x8a, 0x36, 0x9b, 0xd0, 0x84, 0x59, 0xbd, 0x29, 0x51, 0xaa, 0xfa, 0xfb,
|
||||
0x12, 0x25, 0xa0, 0xcc, 0x1b, 0x07, 0x83, 0xa5, 0x50, 0x2a, 0x2c, 0xd6, 0x45, 0xbc, 0x76, 0x81,
|
||||
0xd5, 0xb8, 0x08, 0xab, 0xf1, 0xbf, 0x60, 0x59, 0x09, 0xac, 0xdf, 0x11, 0xe0, 0x2e, 0x65, 0x32,
|
||||
0x48, 0x03, 0xc7, 0x66, 0x4c, 0x7c, 0xf7, 0xe1, 0x42, 0xa2, 0xf1, 0xbc, 0x44, 0x21, 0xde, 0x5a,
|
||||
0x42, 0x19, 0xbd, 0xd8, 0x07, 0x12, 0xbb, 0xa9, 0xd7, 0x56, 0xc7, 0xe6, 0x73, 0xab, 0x56, 0x50,
|
||||
0xf1, 0xce, 0xdf, 0x08, 0xde, 0x1c, 0x78, 0xce, 0xc2, 0x93, 0x76, 0xe7, 0x6a, 0x27, 0x4c, 0xcd,
|
||||
0xfc, 0x89, 0xb4, 0x84, 0x6f, 0x5a, 0xe8, 0x93, 0x7b, 0x51, 0xb9, 0xe5, 0x8d, 0x88, 0x6b, 0x19,
|
||||
0x5e, 0x60, 0x99, 0x16, 0x75, 0xa5, 0xab, 0xcc, 0x30, 0x45, 0x7c, 0x9b, 0x9d, 0xff, 0x71, 0xff,
|
||||
0x9e, 0xfa, 0xfd, 0x4b, 0xea, 0x66, 0x23, 0x5c, 0xaa, 0x3a, 0xf2, 0xc6, 0x43, 0x23, 0x6a, 0x6a,
|
||||
0xc8, 0x6e, 0xd3, 0x6f, 0xd6, 0x47, 0xa5, 0x3f, 0x95, 0xb0, 0x27, 0x85, 0xbd, 0x48, 0xd8, 0x93,
|
||||
0xc2, 0x9e, 0x12, 0xf6, 0x1e, 0x95, 0x4e, 0x2f, 0x4b, 0x8c, 0xfd, 0x7f, 0x03, 0x00, 0x00, 0xff,
|
||||
0xff, 0x1d, 0xbc, 0x89, 0x54, 0x62, 0x0c, 0x00, 0x00,
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user