|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: google/bigtable/admin/table/v1/bigtable_table_service_messages.proto
-
- package table // import "google.golang.org/genproto/googleapis/bigtable/admin/table/v1"
-
- import proto "github.com/golang/protobuf/proto"
- import fmt "fmt"
- import math "math"
-
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
-
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
- type CreateTableRequest struct {
- // The unique name of the cluster in which to create the new table.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The name by which the new table should be referred to within the cluster,
- // e.g. "foobar" rather than "<cluster_name>/tables/foobar".
- TableId string `protobuf:"bytes,2,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
- // The Table to create. The `name` field of the Table and all of its
- // ColumnFamilies must be left blank, and will be populated in the response.
- Table *Table `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
- // The optional list of row keys that will be used to initially split the
- // table into several tablets (Tablets are similar to HBase regions).
- // Given two split keys, "s1" and "s2", three tablets will be created,
- // spanning the key ranges: [, s1), [s1, s2), [s2, ).
- //
- // Example:
- // * Row keys := ["a", "apple", "custom", "customer_1", "customer_2",
- // "other", "zz"]
- // * initial_split_keys := ["apple", "customer_1", "customer_2", "other"]
- // * Key assignment:
- // - Tablet 1 [, apple) => {"a"}.
- // - Tablet 2 [apple, customer_1) => {"apple", "custom"}.
- // - Tablet 3 [customer_1, customer_2) => {"customer_1"}.
- // - Tablet 4 [customer_2, other) => {"customer_2"}.
- // - Tablet 5 [other, ) => {"other", "zz"}.
- InitialSplitKeys []string `protobuf:"bytes,4,rep,name=initial_split_keys,json=initialSplitKeys,proto3" json:"initial_split_keys,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *CreateTableRequest) Reset() { *m = CreateTableRequest{} }
- func (m *CreateTableRequest) String() string { return proto.CompactTextString(m) }
- func (*CreateTableRequest) ProtoMessage() {}
- func (*CreateTableRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_bigtable_table_service_messages_92f068361822da3a, []int{0}
- }
- func (m *CreateTableRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateTableRequest.Unmarshal(m, b)
- }
- func (m *CreateTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateTableRequest.Marshal(b, m, deterministic)
- }
- func (dst *CreateTableRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateTableRequest.Merge(dst, src)
- }
- func (m *CreateTableRequest) XXX_Size() int {
- return xxx_messageInfo_CreateTableRequest.Size(m)
- }
- func (m *CreateTableRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateTableRequest.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_CreateTableRequest proto.InternalMessageInfo
-
- func (m *CreateTableRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
-
- func (m *CreateTableRequest) GetTableId() string {
- if m != nil {
- return m.TableId
- }
- return ""
- }
-
- func (m *CreateTableRequest) GetTable() *Table {
- if m != nil {
- return m.Table
- }
- return nil
- }
-
- func (m *CreateTableRequest) GetInitialSplitKeys() []string {
- if m != nil {
- return m.InitialSplitKeys
- }
- return nil
- }
-
- type ListTablesRequest struct {
- // The unique name of the cluster for which tables should be listed.
- 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 *ListTablesRequest) Reset() { *m = ListTablesRequest{} }
- func (m *ListTablesRequest) String() string { return proto.CompactTextString(m) }
- func (*ListTablesRequest) ProtoMessage() {}
- func (*ListTablesRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_bigtable_table_service_messages_92f068361822da3a, []int{1}
- }
- func (m *ListTablesRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListTablesRequest.Unmarshal(m, b)
- }
- func (m *ListTablesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListTablesRequest.Marshal(b, m, deterministic)
- }
- func (dst *ListTablesRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListTablesRequest.Merge(dst, src)
- }
- func (m *ListTablesRequest) XXX_Size() int {
- return xxx_messageInfo_ListTablesRequest.Size(m)
- }
- func (m *ListTablesRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ListTablesRequest.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_ListTablesRequest proto.InternalMessageInfo
-
- func (m *ListTablesRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
-
- type ListTablesResponse struct {
- // The tables present in the requested cluster.
- // At present, only the names of the tables are populated.
- Tables []*Table `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *ListTablesResponse) Reset() { *m = ListTablesResponse{} }
- func (m *ListTablesResponse) String() string { return proto.CompactTextString(m) }
- func (*ListTablesResponse) ProtoMessage() {}
- func (*ListTablesResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_bigtable_table_service_messages_92f068361822da3a, []int{2}
- }
- func (m *ListTablesResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListTablesResponse.Unmarshal(m, b)
- }
- func (m *ListTablesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListTablesResponse.Marshal(b, m, deterministic)
- }
- func (dst *ListTablesResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListTablesResponse.Merge(dst, src)
- }
- func (m *ListTablesResponse) XXX_Size() int {
- return xxx_messageInfo_ListTablesResponse.Size(m)
- }
- func (m *ListTablesResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ListTablesResponse.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_ListTablesResponse proto.InternalMessageInfo
-
- func (m *ListTablesResponse) GetTables() []*Table {
- if m != nil {
- return m.Tables
- }
- return nil
- }
-
- type GetTableRequest struct {
- // The unique name of the requested table.
- 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 *GetTableRequest) Reset() { *m = GetTableRequest{} }
- func (m *GetTableRequest) String() string { return proto.CompactTextString(m) }
- func (*GetTableRequest) ProtoMessage() {}
- func (*GetTableRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_bigtable_table_service_messages_92f068361822da3a, []int{3}
- }
- func (m *GetTableRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetTableRequest.Unmarshal(m, b)
- }
- func (m *GetTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetTableRequest.Marshal(b, m, deterministic)
- }
- func (dst *GetTableRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetTableRequest.Merge(dst, src)
- }
- func (m *GetTableRequest) XXX_Size() int {
- return xxx_messageInfo_GetTableRequest.Size(m)
- }
- func (m *GetTableRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetTableRequest.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_GetTableRequest proto.InternalMessageInfo
-
- func (m *GetTableRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
-
- type DeleteTableRequest struct {
- // The unique name of the table to be deleted.
- 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 *DeleteTableRequest) Reset() { *m = DeleteTableRequest{} }
- func (m *DeleteTableRequest) String() string { return proto.CompactTextString(m) }
- func (*DeleteTableRequest) ProtoMessage() {}
- func (*DeleteTableRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_bigtable_table_service_messages_92f068361822da3a, []int{4}
- }
- func (m *DeleteTableRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeleteTableRequest.Unmarshal(m, b)
- }
- func (m *DeleteTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeleteTableRequest.Marshal(b, m, deterministic)
- }
- func (dst *DeleteTableRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeleteTableRequest.Merge(dst, src)
- }
- func (m *DeleteTableRequest) XXX_Size() int {
- return xxx_messageInfo_DeleteTableRequest.Size(m)
- }
- func (m *DeleteTableRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeleteTableRequest.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_DeleteTableRequest proto.InternalMessageInfo
-
- func (m *DeleteTableRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
-
- type RenameTableRequest struct {
- // The current unique name of the table.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The new name by which the table should be referred to within its containing
- // cluster, e.g. "foobar" rather than "<cluster_name>/tables/foobar".
- NewId string `protobuf:"bytes,2,opt,name=new_id,json=newId,proto3" json:"new_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *RenameTableRequest) Reset() { *m = RenameTableRequest{} }
- func (m *RenameTableRequest) String() string { return proto.CompactTextString(m) }
- func (*RenameTableRequest) ProtoMessage() {}
- func (*RenameTableRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_bigtable_table_service_messages_92f068361822da3a, []int{5}
- }
- func (m *RenameTableRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RenameTableRequest.Unmarshal(m, b)
- }
- func (m *RenameTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RenameTableRequest.Marshal(b, m, deterministic)
- }
- func (dst *RenameTableRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RenameTableRequest.Merge(dst, src)
- }
- func (m *RenameTableRequest) XXX_Size() int {
- return xxx_messageInfo_RenameTableRequest.Size(m)
- }
- func (m *RenameTableRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_RenameTableRequest.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_RenameTableRequest proto.InternalMessageInfo
-
- func (m *RenameTableRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
-
- func (m *RenameTableRequest) GetNewId() string {
- if m != nil {
- return m.NewId
- }
- return ""
- }
-
- type CreateColumnFamilyRequest struct {
- // The unique name of the table in which to create the new column family.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // The name by which the new column family should be referred to within the
- // table, e.g. "foobar" rather than "<table_name>/columnFamilies/foobar".
- ColumnFamilyId string `protobuf:"bytes,2,opt,name=column_family_id,json=columnFamilyId,proto3" json:"column_family_id,omitempty"`
- // The column family to create. The `name` field must be left blank.
- ColumnFamily *ColumnFamily `protobuf:"bytes,3,opt,name=column_family,json=columnFamily,proto3" json:"column_family,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *CreateColumnFamilyRequest) Reset() { *m = CreateColumnFamilyRequest{} }
- func (m *CreateColumnFamilyRequest) String() string { return proto.CompactTextString(m) }
- func (*CreateColumnFamilyRequest) ProtoMessage() {}
- func (*CreateColumnFamilyRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_bigtable_table_service_messages_92f068361822da3a, []int{6}
- }
- func (m *CreateColumnFamilyRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateColumnFamilyRequest.Unmarshal(m, b)
- }
- func (m *CreateColumnFamilyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateColumnFamilyRequest.Marshal(b, m, deterministic)
- }
- func (dst *CreateColumnFamilyRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateColumnFamilyRequest.Merge(dst, src)
- }
- func (m *CreateColumnFamilyRequest) XXX_Size() int {
- return xxx_messageInfo_CreateColumnFamilyRequest.Size(m)
- }
- func (m *CreateColumnFamilyRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateColumnFamilyRequest.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_CreateColumnFamilyRequest proto.InternalMessageInfo
-
- func (m *CreateColumnFamilyRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
-
- func (m *CreateColumnFamilyRequest) GetColumnFamilyId() string {
- if m != nil {
- return m.ColumnFamilyId
- }
- return ""
- }
-
- func (m *CreateColumnFamilyRequest) GetColumnFamily() *ColumnFamily {
- if m != nil {
- return m.ColumnFamily
- }
- return nil
- }
-
- type DeleteColumnFamilyRequest struct {
- // The unique name of the column family to be deleted.
- 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 *DeleteColumnFamilyRequest) Reset() { *m = DeleteColumnFamilyRequest{} }
- func (m *DeleteColumnFamilyRequest) String() string { return proto.CompactTextString(m) }
- func (*DeleteColumnFamilyRequest) ProtoMessage() {}
- func (*DeleteColumnFamilyRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_bigtable_table_service_messages_92f068361822da3a, []int{7}
- }
- func (m *DeleteColumnFamilyRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeleteColumnFamilyRequest.Unmarshal(m, b)
- }
- func (m *DeleteColumnFamilyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeleteColumnFamilyRequest.Marshal(b, m, deterministic)
- }
- func (dst *DeleteColumnFamilyRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeleteColumnFamilyRequest.Merge(dst, src)
- }
- func (m *DeleteColumnFamilyRequest) XXX_Size() int {
- return xxx_messageInfo_DeleteColumnFamilyRequest.Size(m)
- }
- func (m *DeleteColumnFamilyRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeleteColumnFamilyRequest.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_DeleteColumnFamilyRequest proto.InternalMessageInfo
-
- func (m *DeleteColumnFamilyRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
-
- type BulkDeleteRowsRequest struct {
- // The unique name of the table on which to perform the bulk delete
- TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
- // Types that are valid to be assigned to Target:
- // *BulkDeleteRowsRequest_RowKeyPrefix
- // *BulkDeleteRowsRequest_DeleteAllDataFromTable
- Target isBulkDeleteRowsRequest_Target `protobuf_oneof:"target"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *BulkDeleteRowsRequest) Reset() { *m = BulkDeleteRowsRequest{} }
- func (m *BulkDeleteRowsRequest) String() string { return proto.CompactTextString(m) }
- func (*BulkDeleteRowsRequest) ProtoMessage() {}
- func (*BulkDeleteRowsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_bigtable_table_service_messages_92f068361822da3a, []int{8}
- }
- func (m *BulkDeleteRowsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_BulkDeleteRowsRequest.Unmarshal(m, b)
- }
- func (m *BulkDeleteRowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_BulkDeleteRowsRequest.Marshal(b, m, deterministic)
- }
- func (dst *BulkDeleteRowsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_BulkDeleteRowsRequest.Merge(dst, src)
- }
- func (m *BulkDeleteRowsRequest) XXX_Size() int {
- return xxx_messageInfo_BulkDeleteRowsRequest.Size(m)
- }
- func (m *BulkDeleteRowsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_BulkDeleteRowsRequest.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_BulkDeleteRowsRequest proto.InternalMessageInfo
-
- func (m *BulkDeleteRowsRequest) GetTableName() string {
- if m != nil {
- return m.TableName
- }
- return ""
- }
-
- type isBulkDeleteRowsRequest_Target interface {
- isBulkDeleteRowsRequest_Target()
- }
-
- type BulkDeleteRowsRequest_RowKeyPrefix struct {
- RowKeyPrefix []byte `protobuf:"bytes,2,opt,name=row_key_prefix,json=rowKeyPrefix,proto3,oneof"`
- }
-
- type BulkDeleteRowsRequest_DeleteAllDataFromTable struct {
- DeleteAllDataFromTable bool `protobuf:"varint,3,opt,name=delete_all_data_from_table,json=deleteAllDataFromTable,proto3,oneof"`
- }
-
- func (*BulkDeleteRowsRequest_RowKeyPrefix) isBulkDeleteRowsRequest_Target() {}
-
- func (*BulkDeleteRowsRequest_DeleteAllDataFromTable) isBulkDeleteRowsRequest_Target() {}
-
- func (m *BulkDeleteRowsRequest) GetTarget() isBulkDeleteRowsRequest_Target {
- if m != nil {
- return m.Target
- }
- return nil
- }
-
- func (m *BulkDeleteRowsRequest) GetRowKeyPrefix() []byte {
- if x, ok := m.GetTarget().(*BulkDeleteRowsRequest_RowKeyPrefix); ok {
- return x.RowKeyPrefix
- }
- return nil
- }
-
- func (m *BulkDeleteRowsRequest) GetDeleteAllDataFromTable() bool {
- if x, ok := m.GetTarget().(*BulkDeleteRowsRequest_DeleteAllDataFromTable); ok {
- return x.DeleteAllDataFromTable
- }
- return false
- }
-
- // XXX_OneofFuncs is for the internal use of the proto package.
- func (*BulkDeleteRowsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
- return _BulkDeleteRowsRequest_OneofMarshaler, _BulkDeleteRowsRequest_OneofUnmarshaler, _BulkDeleteRowsRequest_OneofSizer, []interface{}{
- (*BulkDeleteRowsRequest_RowKeyPrefix)(nil),
- (*BulkDeleteRowsRequest_DeleteAllDataFromTable)(nil),
- }
- }
-
- func _BulkDeleteRowsRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
- m := msg.(*BulkDeleteRowsRequest)
- // target
- switch x := m.Target.(type) {
- case *BulkDeleteRowsRequest_RowKeyPrefix:
- b.EncodeVarint(2<<3 | proto.WireBytes)
- b.EncodeRawBytes(x.RowKeyPrefix)
- case *BulkDeleteRowsRequest_DeleteAllDataFromTable:
- t := uint64(0)
- if x.DeleteAllDataFromTable {
- t = 1
- }
- b.EncodeVarint(3<<3 | proto.WireVarint)
- b.EncodeVarint(t)
- case nil:
- default:
- return fmt.Errorf("BulkDeleteRowsRequest.Target has unexpected type %T", x)
- }
- return nil
- }
-
- func _BulkDeleteRowsRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
- m := msg.(*BulkDeleteRowsRequest)
- switch tag {
- case 2: // target.row_key_prefix
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeRawBytes(true)
- m.Target = &BulkDeleteRowsRequest_RowKeyPrefix{x}
- return true, err
- case 3: // target.delete_all_data_from_table
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.Target = &BulkDeleteRowsRequest_DeleteAllDataFromTable{x != 0}
- return true, err
- default:
- return false, nil
- }
- }
-
- func _BulkDeleteRowsRequest_OneofSizer(msg proto.Message) (n int) {
- m := msg.(*BulkDeleteRowsRequest)
- // target
- switch x := m.Target.(type) {
- case *BulkDeleteRowsRequest_RowKeyPrefix:
- n += 1 // tag and wire
- n += proto.SizeVarint(uint64(len(x.RowKeyPrefix)))
- n += len(x.RowKeyPrefix)
- case *BulkDeleteRowsRequest_DeleteAllDataFromTable:
- n += 1 // tag and wire
- n += 1
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- return n
- }
-
- func init() {
- proto.RegisterType((*CreateTableRequest)(nil), "google.bigtable.admin.table.v1.CreateTableRequest")
- proto.RegisterType((*ListTablesRequest)(nil), "google.bigtable.admin.table.v1.ListTablesRequest")
- proto.RegisterType((*ListTablesResponse)(nil), "google.bigtable.admin.table.v1.ListTablesResponse")
- proto.RegisterType((*GetTableRequest)(nil), "google.bigtable.admin.table.v1.GetTableRequest")
- proto.RegisterType((*DeleteTableRequest)(nil), "google.bigtable.admin.table.v1.DeleteTableRequest")
- proto.RegisterType((*RenameTableRequest)(nil), "google.bigtable.admin.table.v1.RenameTableRequest")
- proto.RegisterType((*CreateColumnFamilyRequest)(nil), "google.bigtable.admin.table.v1.CreateColumnFamilyRequest")
- proto.RegisterType((*DeleteColumnFamilyRequest)(nil), "google.bigtable.admin.table.v1.DeleteColumnFamilyRequest")
- proto.RegisterType((*BulkDeleteRowsRequest)(nil), "google.bigtable.admin.table.v1.BulkDeleteRowsRequest")
- }
-
- func init() {
- proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_service_messages.proto", fileDescriptor_bigtable_table_service_messages_92f068361822da3a)
- }
-
- var fileDescriptor_bigtable_table_service_messages_92f068361822da3a = []byte{
- // 514 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xc1, 0x6e, 0xd3, 0x40,
- 0x10, 0xad, 0x49, 0x1b, 0x92, 0x21, 0x94, 0xb2, 0x52, 0x51, 0x52, 0x09, 0x14, 0x56, 0x2a, 0xe4,
- 0x50, 0xd9, 0x2a, 0x5c, 0x90, 0x0a, 0x42, 0x24, 0x51, 0x69, 0x54, 0x40, 0xc1, 0xe1, 0xc4, 0xc5,
- 0xda, 0xc4, 0x13, 0x6b, 0xd5, 0xb5, 0x37, 0xec, 0x6e, 0x12, 0xf2, 0x13, 0x7c, 0x06, 0x27, 0xc4,
- 0x37, 0x22, 0xef, 0x9a, 0x26, 0x3d, 0x10, 0x97, 0x8b, 0x35, 0x9e, 0x79, 0xf3, 0x66, 0xf6, 0xcd,
- 0x0c, 0xf4, 0x13, 0x29, 0x13, 0x81, 0xc1, 0x98, 0x27, 0x86, 0x8d, 0x05, 0x06, 0x2c, 0x4e, 0x79,
- 0x16, 0x38, 0x7b, 0x71, 0x7a, 0xed, 0x8f, 0xdc, 0x57, 0xa3, 0x5a, 0xf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