1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/bigtable/admin/table/v1/bigtable_table_service_messages.proto 3 4package table // import "google.golang.org/genproto/googleapis/bigtable/admin/table/v1" 5 6import proto "github.com/golang/protobuf/proto" 7import fmt "fmt" 8import math "math" 9 10// Reference imports to suppress errors if they are not otherwise used. 11var _ = proto.Marshal 12var _ = fmt.Errorf 13var _ = math.Inf 14 15// This is a compile-time assertion to ensure that this generated file 16// is compatible with the proto package it is being compiled against. 17// A compilation error at this line likely means your copy of the 18// proto package needs to be updated. 19const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 20 21type CreateTableRequest struct { 22 // The unique name of the cluster in which to create the new table. 23 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 24 // The name by which the new table should be referred to within the cluster, 25 // e.g. "foobar" rather than "<cluster_name>/tables/foobar". 26 TableId string `protobuf:"bytes,2,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` 27 // The Table to create. The `name` field of the Table and all of its 28 // ColumnFamilies must be left blank, and will be populated in the response. 29 Table *Table `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` 30 // The optional list of row keys that will be used to initially split the 31 // table into several tablets (Tablets are similar to HBase regions). 32 // Given two split keys, "s1" and "s2", three tablets will be created, 33 // spanning the key ranges: [, s1), [s1, s2), [s2, ). 34 // 35 // Example: 36 // * Row keys := ["a", "apple", "custom", "customer_1", "customer_2", 37 // "other", "zz"] 38 // * initial_split_keys := ["apple", "customer_1", "customer_2", "other"] 39 // * Key assignment: 40 // - Tablet 1 [, apple) => {"a"}. 41 // - Tablet 2 [apple, customer_1) => {"apple", "custom"}. 42 // - Tablet 3 [customer_1, customer_2) => {"customer_1"}. 43 // - Tablet 4 [customer_2, other) => {"customer_2"}. 44 // - Tablet 5 [other, ) => {"other", "zz"}. 45 InitialSplitKeys []string `protobuf:"bytes,4,rep,name=initial_split_keys,json=initialSplitKeys,proto3" json:"initial_split_keys,omitempty"` 46 XXX_NoUnkeyedLiteral struct{} `json:"-"` 47 XXX_unrecognized []byte `json:"-"` 48 XXX_sizecache int32 `json:"-"` 49} 50 51func (m *CreateTableRequest) Reset() { *m = CreateTableRequest{} } 52func (m *CreateTableRequest) String() string { return proto.CompactTextString(m) } 53func (*CreateTableRequest) ProtoMessage() {} 54func (*CreateTableRequest) Descriptor() ([]byte, []int) { 55 return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{0} 56} 57func (m *CreateTableRequest) XXX_Unmarshal(b []byte) error { 58 return xxx_messageInfo_CreateTableRequest.Unmarshal(m, b) 59} 60func (m *CreateTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 61 return xxx_messageInfo_CreateTableRequest.Marshal(b, m, deterministic) 62} 63func (dst *CreateTableRequest) XXX_Merge(src proto.Message) { 64 xxx_messageInfo_CreateTableRequest.Merge(dst, src) 65} 66func (m *CreateTableRequest) XXX_Size() int { 67 return xxx_messageInfo_CreateTableRequest.Size(m) 68} 69func (m *CreateTableRequest) XXX_DiscardUnknown() { 70 xxx_messageInfo_CreateTableRequest.DiscardUnknown(m) 71} 72 73var xxx_messageInfo_CreateTableRequest proto.InternalMessageInfo 74 75func (m *CreateTableRequest) GetName() string { 76 if m != nil { 77 return m.Name 78 } 79 return "" 80} 81 82func (m *CreateTableRequest) GetTableId() string { 83 if m != nil { 84 return m.TableId 85 } 86 return "" 87} 88 89func (m *CreateTableRequest) GetTable() *Table { 90 if m != nil { 91 return m.Table 92 } 93 return nil 94} 95 96func (m *CreateTableRequest) GetInitialSplitKeys() []string { 97 if m != nil { 98 return m.InitialSplitKeys 99 } 100 return nil 101} 102 103type ListTablesRequest struct { 104 // The unique name of the cluster for which tables should be listed. 105 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 106 XXX_NoUnkeyedLiteral struct{} `json:"-"` 107 XXX_unrecognized []byte `json:"-"` 108 XXX_sizecache int32 `json:"-"` 109} 110 111func (m *ListTablesRequest) Reset() { *m = ListTablesRequest{} } 112func (m *ListTablesRequest) String() string { return proto.CompactTextString(m) } 113func (*ListTablesRequest) ProtoMessage() {} 114func (*ListTablesRequest) Descriptor() ([]byte, []int) { 115 return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{1} 116} 117func (m *ListTablesRequest) XXX_Unmarshal(b []byte) error { 118 return xxx_messageInfo_ListTablesRequest.Unmarshal(m, b) 119} 120func (m *ListTablesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 121 return xxx_messageInfo_ListTablesRequest.Marshal(b, m, deterministic) 122} 123func (dst *ListTablesRequest) XXX_Merge(src proto.Message) { 124 xxx_messageInfo_ListTablesRequest.Merge(dst, src) 125} 126func (m *ListTablesRequest) XXX_Size() int { 127 return xxx_messageInfo_ListTablesRequest.Size(m) 128} 129func (m *ListTablesRequest) XXX_DiscardUnknown() { 130 xxx_messageInfo_ListTablesRequest.DiscardUnknown(m) 131} 132 133var xxx_messageInfo_ListTablesRequest proto.InternalMessageInfo 134 135func (m *ListTablesRequest) GetName() string { 136 if m != nil { 137 return m.Name 138 } 139 return "" 140} 141 142type ListTablesResponse struct { 143 // The tables present in the requested cluster. 144 // At present, only the names of the tables are populated. 145 Tables []*Table `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"` 146 XXX_NoUnkeyedLiteral struct{} `json:"-"` 147 XXX_unrecognized []byte `json:"-"` 148 XXX_sizecache int32 `json:"-"` 149} 150 151func (m *ListTablesResponse) Reset() { *m = ListTablesResponse{} } 152func (m *ListTablesResponse) String() string { return proto.CompactTextString(m) } 153func (*ListTablesResponse) ProtoMessage() {} 154func (*ListTablesResponse) Descriptor() ([]byte, []int) { 155 return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{2} 156} 157func (m *ListTablesResponse) XXX_Unmarshal(b []byte) error { 158 return xxx_messageInfo_ListTablesResponse.Unmarshal(m, b) 159} 160func (m *ListTablesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 161 return xxx_messageInfo_ListTablesResponse.Marshal(b, m, deterministic) 162} 163func (dst *ListTablesResponse) XXX_Merge(src proto.Message) { 164 xxx_messageInfo_ListTablesResponse.Merge(dst, src) 165} 166func (m *ListTablesResponse) XXX_Size() int { 167 return xxx_messageInfo_ListTablesResponse.Size(m) 168} 169func (m *ListTablesResponse) XXX_DiscardUnknown() { 170 xxx_messageInfo_ListTablesResponse.DiscardUnknown(m) 171} 172 173var xxx_messageInfo_ListTablesResponse proto.InternalMessageInfo 174 175func (m *ListTablesResponse) GetTables() []*Table { 176 if m != nil { 177 return m.Tables 178 } 179 return nil 180} 181 182type GetTableRequest struct { 183 // The unique name of the requested table. 184 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 185 XXX_NoUnkeyedLiteral struct{} `json:"-"` 186 XXX_unrecognized []byte `json:"-"` 187 XXX_sizecache int32 `json:"-"` 188} 189 190func (m *GetTableRequest) Reset() { *m = GetTableRequest{} } 191func (m *GetTableRequest) String() string { return proto.CompactTextString(m) } 192func (*GetTableRequest) ProtoMessage() {} 193func (*GetTableRequest) Descriptor() ([]byte, []int) { 194 return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{3} 195} 196func (m *GetTableRequest) XXX_Unmarshal(b []byte) error { 197 return xxx_messageInfo_GetTableRequest.Unmarshal(m, b) 198} 199func (m *GetTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 200 return xxx_messageInfo_GetTableRequest.Marshal(b, m, deterministic) 201} 202func (dst *GetTableRequest) XXX_Merge(src proto.Message) { 203 xxx_messageInfo_GetTableRequest.Merge(dst, src) 204} 205func (m *GetTableRequest) XXX_Size() int { 206 return xxx_messageInfo_GetTableRequest.Size(m) 207} 208func (m *GetTableRequest) XXX_DiscardUnknown() { 209 xxx_messageInfo_GetTableRequest.DiscardUnknown(m) 210} 211 212var xxx_messageInfo_GetTableRequest proto.InternalMessageInfo 213 214func (m *GetTableRequest) GetName() string { 215 if m != nil { 216 return m.Name 217 } 218 return "" 219} 220 221type DeleteTableRequest struct { 222 // The unique name of the table to be deleted. 223 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 224 XXX_NoUnkeyedLiteral struct{} `json:"-"` 225 XXX_unrecognized []byte `json:"-"` 226 XXX_sizecache int32 `json:"-"` 227} 228 229func (m *DeleteTableRequest) Reset() { *m = DeleteTableRequest{} } 230func (m *DeleteTableRequest) String() string { return proto.CompactTextString(m) } 231func (*DeleteTableRequest) ProtoMessage() {} 232func (*DeleteTableRequest) Descriptor() ([]byte, []int) { 233 return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{4} 234} 235func (m *DeleteTableRequest) XXX_Unmarshal(b []byte) error { 236 return xxx_messageInfo_DeleteTableRequest.Unmarshal(m, b) 237} 238func (m *DeleteTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 239 return xxx_messageInfo_DeleteTableRequest.Marshal(b, m, deterministic) 240} 241func (dst *DeleteTableRequest) XXX_Merge(src proto.Message) { 242 xxx_messageInfo_DeleteTableRequest.Merge(dst, src) 243} 244func (m *DeleteTableRequest) XXX_Size() int { 245 return xxx_messageInfo_DeleteTableRequest.Size(m) 246} 247func (m *DeleteTableRequest) XXX_DiscardUnknown() { 248 xxx_messageInfo_DeleteTableRequest.DiscardUnknown(m) 249} 250 251var xxx_messageInfo_DeleteTableRequest proto.InternalMessageInfo 252 253func (m *DeleteTableRequest) GetName() string { 254 if m != nil { 255 return m.Name 256 } 257 return "" 258} 259 260type RenameTableRequest struct { 261 // The current unique name of the table. 262 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 263 // The new name by which the table should be referred to within its containing 264 // cluster, e.g. "foobar" rather than "<cluster_name>/tables/foobar". 265 NewId string `protobuf:"bytes,2,opt,name=new_id,json=newId,proto3" json:"new_id,omitempty"` 266 XXX_NoUnkeyedLiteral struct{} `json:"-"` 267 XXX_unrecognized []byte `json:"-"` 268 XXX_sizecache int32 `json:"-"` 269} 270 271func (m *RenameTableRequest) Reset() { *m = RenameTableRequest{} } 272func (m *RenameTableRequest) String() string { return proto.CompactTextString(m) } 273func (*RenameTableRequest) ProtoMessage() {} 274func (*RenameTableRequest) Descriptor() ([]byte, []int) { 275 return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{5} 276} 277func (m *RenameTableRequest) XXX_Unmarshal(b []byte) error { 278 return xxx_messageInfo_RenameTableRequest.Unmarshal(m, b) 279} 280func (m *RenameTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 281 return xxx_messageInfo_RenameTableRequest.Marshal(b, m, deterministic) 282} 283func (dst *RenameTableRequest) XXX_Merge(src proto.Message) { 284 xxx_messageInfo_RenameTableRequest.Merge(dst, src) 285} 286func (m *RenameTableRequest) XXX_Size() int { 287 return xxx_messageInfo_RenameTableRequest.Size(m) 288} 289func (m *RenameTableRequest) XXX_DiscardUnknown() { 290 xxx_messageInfo_RenameTableRequest.DiscardUnknown(m) 291} 292 293var xxx_messageInfo_RenameTableRequest proto.InternalMessageInfo 294 295func (m *RenameTableRequest) GetName() string { 296 if m != nil { 297 return m.Name 298 } 299 return "" 300} 301 302func (m *RenameTableRequest) GetNewId() string { 303 if m != nil { 304 return m.NewId 305 } 306 return "" 307} 308 309type CreateColumnFamilyRequest struct { 310 // The unique name of the table in which to create the new column family. 311 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 312 // The name by which the new column family should be referred to within the 313 // table, e.g. "foobar" rather than "<table_name>/columnFamilies/foobar". 314 ColumnFamilyId string `protobuf:"bytes,2,opt,name=column_family_id,json=columnFamilyId,proto3" json:"column_family_id,omitempty"` 315 // The column family to create. The `name` field must be left blank. 316 ColumnFamily *ColumnFamily `protobuf:"bytes,3,opt,name=column_family,json=columnFamily,proto3" json:"column_family,omitempty"` 317 XXX_NoUnkeyedLiteral struct{} `json:"-"` 318 XXX_unrecognized []byte `json:"-"` 319 XXX_sizecache int32 `json:"-"` 320} 321 322func (m *CreateColumnFamilyRequest) Reset() { *m = CreateColumnFamilyRequest{} } 323func (m *CreateColumnFamilyRequest) String() string { return proto.CompactTextString(m) } 324func (*CreateColumnFamilyRequest) ProtoMessage() {} 325func (*CreateColumnFamilyRequest) Descriptor() ([]byte, []int) { 326 return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{6} 327} 328func (m *CreateColumnFamilyRequest) XXX_Unmarshal(b []byte) error { 329 return xxx_messageInfo_CreateColumnFamilyRequest.Unmarshal(m, b) 330} 331func (m *CreateColumnFamilyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 332 return xxx_messageInfo_CreateColumnFamilyRequest.Marshal(b, m, deterministic) 333} 334func (dst *CreateColumnFamilyRequest) XXX_Merge(src proto.Message) { 335 xxx_messageInfo_CreateColumnFamilyRequest.Merge(dst, src) 336} 337func (m *CreateColumnFamilyRequest) XXX_Size() int { 338 return xxx_messageInfo_CreateColumnFamilyRequest.Size(m) 339} 340func (m *CreateColumnFamilyRequest) XXX_DiscardUnknown() { 341 xxx_messageInfo_CreateColumnFamilyRequest.DiscardUnknown(m) 342} 343 344var xxx_messageInfo_CreateColumnFamilyRequest proto.InternalMessageInfo 345 346func (m *CreateColumnFamilyRequest) GetName() string { 347 if m != nil { 348 return m.Name 349 } 350 return "" 351} 352 353func (m *CreateColumnFamilyRequest) GetColumnFamilyId() string { 354 if m != nil { 355 return m.ColumnFamilyId 356 } 357 return "" 358} 359 360func (m *CreateColumnFamilyRequest) GetColumnFamily() *ColumnFamily { 361 if m != nil { 362 return m.ColumnFamily 363 } 364 return nil 365} 366 367type DeleteColumnFamilyRequest struct { 368 // The unique name of the column family to be deleted. 369 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 370 XXX_NoUnkeyedLiteral struct{} `json:"-"` 371 XXX_unrecognized []byte `json:"-"` 372 XXX_sizecache int32 `json:"-"` 373} 374 375func (m *DeleteColumnFamilyRequest) Reset() { *m = DeleteColumnFamilyRequest{} } 376func (m *DeleteColumnFamilyRequest) String() string { return proto.CompactTextString(m) } 377func (*DeleteColumnFamilyRequest) ProtoMessage() {} 378func (*DeleteColumnFamilyRequest) Descriptor() ([]byte, []int) { 379 return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{7} 380} 381func (m *DeleteColumnFamilyRequest) XXX_Unmarshal(b []byte) error { 382 return xxx_messageInfo_DeleteColumnFamilyRequest.Unmarshal(m, b) 383} 384func (m *DeleteColumnFamilyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 385 return xxx_messageInfo_DeleteColumnFamilyRequest.Marshal(b, m, deterministic) 386} 387func (dst *DeleteColumnFamilyRequest) XXX_Merge(src proto.Message) { 388 xxx_messageInfo_DeleteColumnFamilyRequest.Merge(dst, src) 389} 390func (m *DeleteColumnFamilyRequest) XXX_Size() int { 391 return xxx_messageInfo_DeleteColumnFamilyRequest.Size(m) 392} 393func (m *DeleteColumnFamilyRequest) XXX_DiscardUnknown() { 394 xxx_messageInfo_DeleteColumnFamilyRequest.DiscardUnknown(m) 395} 396 397var xxx_messageInfo_DeleteColumnFamilyRequest proto.InternalMessageInfo 398 399func (m *DeleteColumnFamilyRequest) GetName() string { 400 if m != nil { 401 return m.Name 402 } 403 return "" 404} 405 406type BulkDeleteRowsRequest struct { 407 // The unique name of the table on which to perform the bulk delete 408 TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` 409 // Types that are valid to be assigned to Target: 410 // *BulkDeleteRowsRequest_RowKeyPrefix 411 // *BulkDeleteRowsRequest_DeleteAllDataFromTable 412 Target isBulkDeleteRowsRequest_Target `protobuf_oneof:"target"` 413 XXX_NoUnkeyedLiteral struct{} `json:"-"` 414 XXX_unrecognized []byte `json:"-"` 415 XXX_sizecache int32 `json:"-"` 416} 417 418func (m *BulkDeleteRowsRequest) Reset() { *m = BulkDeleteRowsRequest{} } 419func (m *BulkDeleteRowsRequest) String() string { return proto.CompactTextString(m) } 420func (*BulkDeleteRowsRequest) ProtoMessage() {} 421func (*BulkDeleteRowsRequest) Descriptor() ([]byte, []int) { 422 return fileDescriptor_bigtable_table_service_messages_db488db316a00db0, []int{8} 423} 424func (m *BulkDeleteRowsRequest) XXX_Unmarshal(b []byte) error { 425 return xxx_messageInfo_BulkDeleteRowsRequest.Unmarshal(m, b) 426} 427func (m *BulkDeleteRowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 428 return xxx_messageInfo_BulkDeleteRowsRequest.Marshal(b, m, deterministic) 429} 430func (dst *BulkDeleteRowsRequest) XXX_Merge(src proto.Message) { 431 xxx_messageInfo_BulkDeleteRowsRequest.Merge(dst, src) 432} 433func (m *BulkDeleteRowsRequest) XXX_Size() int { 434 return xxx_messageInfo_BulkDeleteRowsRequest.Size(m) 435} 436func (m *BulkDeleteRowsRequest) XXX_DiscardUnknown() { 437 xxx_messageInfo_BulkDeleteRowsRequest.DiscardUnknown(m) 438} 439 440var xxx_messageInfo_BulkDeleteRowsRequest proto.InternalMessageInfo 441 442func (m *BulkDeleteRowsRequest) GetTableName() string { 443 if m != nil { 444 return m.TableName 445 } 446 return "" 447} 448 449type isBulkDeleteRowsRequest_Target interface { 450 isBulkDeleteRowsRequest_Target() 451} 452 453type BulkDeleteRowsRequest_RowKeyPrefix struct { 454 RowKeyPrefix []byte `protobuf:"bytes,2,opt,name=row_key_prefix,json=rowKeyPrefix,proto3,oneof"` 455} 456 457type BulkDeleteRowsRequest_DeleteAllDataFromTable struct { 458 DeleteAllDataFromTable bool `protobuf:"varint,3,opt,name=delete_all_data_from_table,json=deleteAllDataFromTable,proto3,oneof"` 459} 460 461func (*BulkDeleteRowsRequest_RowKeyPrefix) isBulkDeleteRowsRequest_Target() {} 462 463func (*BulkDeleteRowsRequest_DeleteAllDataFromTable) isBulkDeleteRowsRequest_Target() {} 464 465func (m *BulkDeleteRowsRequest) GetTarget() isBulkDeleteRowsRequest_Target { 466 if m != nil { 467 return m.Target 468 } 469 return nil 470} 471 472func (m *BulkDeleteRowsRequest) GetRowKeyPrefix() []byte { 473 if x, ok := m.GetTarget().(*BulkDeleteRowsRequest_RowKeyPrefix); ok { 474 return x.RowKeyPrefix 475 } 476 return nil 477} 478 479func (m *BulkDeleteRowsRequest) GetDeleteAllDataFromTable() bool { 480 if x, ok := m.GetTarget().(*BulkDeleteRowsRequest_DeleteAllDataFromTable); ok { 481 return x.DeleteAllDataFromTable 482 } 483 return false 484} 485 486// XXX_OneofFuncs is for the internal use of the proto package. 487func (*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{}) { 488 return _BulkDeleteRowsRequest_OneofMarshaler, _BulkDeleteRowsRequest_OneofUnmarshaler, _BulkDeleteRowsRequest_OneofSizer, []interface{}{ 489 (*BulkDeleteRowsRequest_RowKeyPrefix)(nil), 490 (*BulkDeleteRowsRequest_DeleteAllDataFromTable)(nil), 491 } 492} 493 494func _BulkDeleteRowsRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 495 m := msg.(*BulkDeleteRowsRequest) 496 // target 497 switch x := m.Target.(type) { 498 case *BulkDeleteRowsRequest_RowKeyPrefix: 499 b.EncodeVarint(2<<3 | proto.WireBytes) 500 b.EncodeRawBytes(x.RowKeyPrefix) 501 case *BulkDeleteRowsRequest_DeleteAllDataFromTable: 502 t := uint64(0) 503 if x.DeleteAllDataFromTable { 504 t = 1 505 } 506 b.EncodeVarint(3<<3 | proto.WireVarint) 507 b.EncodeVarint(t) 508 case nil: 509 default: 510 return fmt.Errorf("BulkDeleteRowsRequest.Target has unexpected type %T", x) 511 } 512 return nil 513} 514 515func _BulkDeleteRowsRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { 516 m := msg.(*BulkDeleteRowsRequest) 517 switch tag { 518 case 2: // target.row_key_prefix 519 if wire != proto.WireBytes { 520 return true, proto.ErrInternalBadWireType 521 } 522 x, err := b.DecodeRawBytes(true) 523 m.Target = &BulkDeleteRowsRequest_RowKeyPrefix{x} 524 return true, err 525 case 3: // target.delete_all_data_from_table 526 if wire != proto.WireVarint { 527 return true, proto.ErrInternalBadWireType 528 } 529 x, err := b.DecodeVarint() 530 m.Target = &BulkDeleteRowsRequest_DeleteAllDataFromTable{x != 0} 531 return true, err 532 default: 533 return false, nil 534 } 535} 536 537func _BulkDeleteRowsRequest_OneofSizer(msg proto.Message) (n int) { 538 m := msg.(*BulkDeleteRowsRequest) 539 // target 540 switch x := m.Target.(type) { 541 case *BulkDeleteRowsRequest_RowKeyPrefix: 542 n += 1 // tag and wire 543 n += proto.SizeVarint(uint64(len(x.RowKeyPrefix))) 544 n += len(x.RowKeyPrefix) 545 case *BulkDeleteRowsRequest_DeleteAllDataFromTable: 546 n += 1 // tag and wire 547 n += 1 548 case nil: 549 default: 550 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) 551 } 552 return n 553} 554 555func init() { 556 proto.RegisterType((*CreateTableRequest)(nil), "google.bigtable.admin.table.v1.CreateTableRequest") 557 proto.RegisterType((*ListTablesRequest)(nil), "google.bigtable.admin.table.v1.ListTablesRequest") 558 proto.RegisterType((*ListTablesResponse)(nil), "google.bigtable.admin.table.v1.ListTablesResponse") 559 proto.RegisterType((*GetTableRequest)(nil), "google.bigtable.admin.table.v1.GetTableRequest") 560 proto.RegisterType((*DeleteTableRequest)(nil), "google.bigtable.admin.table.v1.DeleteTableRequest") 561 proto.RegisterType((*RenameTableRequest)(nil), "google.bigtable.admin.table.v1.RenameTableRequest") 562 proto.RegisterType((*CreateColumnFamilyRequest)(nil), "google.bigtable.admin.table.v1.CreateColumnFamilyRequest") 563 proto.RegisterType((*DeleteColumnFamilyRequest)(nil), "google.bigtable.admin.table.v1.DeleteColumnFamilyRequest") 564 proto.RegisterType((*BulkDeleteRowsRequest)(nil), "google.bigtable.admin.table.v1.BulkDeleteRowsRequest") 565} 566 567func init() { 568 proto.RegisterFile("google/bigtable/admin/table/v1/bigtable_table_service_messages.proto", fileDescriptor_bigtable_table_service_messages_db488db316a00db0) 569} 570 571var fileDescriptor_bigtable_table_service_messages_db488db316a00db0 = []byte{ 572 // 514 bytes of a gzipped FileDescriptorProto 573 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xc1, 0x6e, 0xd3, 0x40, 574 0x10, 0xad, 0x49, 0x1b, 0x92, 0x21, 0x94, 0xb2, 0x52, 0x51, 0x52, 0x09, 0x14, 0x56, 0x2a, 0xe4, 575 0x50, 0xd9, 0x2a, 0x5c, 0x90, 0x0a, 0x42, 0x24, 0x51, 0x69, 0x54, 0x40, 0xc1, 0xe1, 0xc4, 0xc5, 576 0xda, 0xc4, 0x13, 0x6b, 0xd5, 0xb5, 0x37, 0xec, 0x6e, 0x12, 0xf2, 0x13, 0x7c, 0x06, 0x27, 0xc4, 577 0x37, 0x22, 0xef, 0x9a, 0x26, 0x3d, 0x10, 0x97, 0x8b, 0x35, 0x9e, 0x79, 0xf3, 0x66, 0xf6, 0xcd, 578 0x0c, 0xf4, 0x13, 0x29, 0x13, 0x81, 0xc1, 0x98, 0x27, 0x86, 0x8d, 0x05, 0x06, 0x2c, 0x4e, 0x79, 579 0x16, 0x38, 0x7b, 0x71, 0x7a, 0xed, 0x8f, 0xdc, 0x57, 0xa3, 0x5a, 0xf0, 0x09, 0x46, 0x29, 0x6a, 580 0xcd, 0x12, 0xd4, 0xfe, 0x4c, 0x49, 0x23, 0xc9, 0x13, 0xc7, 0xe2, 0xff, 0x45, 0xfb, 0x96, 0xc5, 581 0x77, 0xf6, 0xe2, 0xf4, 0xe8, 0xd5, 0xff, 0x55, 0x89, 0x99, 0x61, 0x8e, 0x99, 0xfe, 0xf6, 0x80, 582 0xf4, 0x14, 0x32, 0x83, 0x5f, 0xf2, 0x50, 0x88, 0xdf, 0xe6, 0xa8, 0x0d, 0x21, 0xb0, 0x9b, 0xb1, 583 0x14, 0x9b, 0x5e, 0xdb, 0xeb, 0xd4, 0x43, 0x6b, 0x93, 0x16, 0xd4, 0x5c, 0x3a, 0x8f, 0x9b, 0x77, 584 0xac, 0xff, 0xae, 0xfd, 0x1f, 0xc4, 0xe4, 0x0c, 0xf6, 0xac, 0xd9, 0xac, 0xb4, 0xbd, 0xce, 0xbd, 585 0x17, 0xc7, 0xfe, 0xf6, 0x7e, 0x7d, 0x57, 0xcb, 0xe5, 0x90, 0x13, 0x20, 0x3c, 0xe3, 0x86, 0x33, 586 0x11, 0xe9, 0x99, 0xe0, 0x26, 0xba, 0xc2, 0x95, 0x6e, 0xee, 0xb6, 0x2b, 0x9d, 0x7a, 0x78, 0x50, 587 0x44, 0x46, 0x79, 0xe0, 0x12, 0x57, 0x9a, 0x3e, 0x87, 0x87, 0x1f, 0xb8, 0x36, 0x96, 0x41, 0x6f, 588 0x69, 0x97, 0x8e, 0x80, 0x6c, 0x02, 0xf5, 0x4c, 0x66, 0x1a, 0xc9, 0x1b, 0xa8, 0xda, 0xaa, 0xba, 589 0xe9, 0xb5, 0x2b, 0xb7, 0x6f, 0xb5, 0x48, 0xa2, 0xc7, 0xf0, 0xe0, 0x3d, 0x9a, 0x32, 0xa9, 0x68, 590 0x07, 0x48, 0x1f, 0x05, 0x96, 0x8b, 0x4a, 0xdf, 0x02, 0x09, 0x31, 0xb7, 0x4a, 0xe5, 0x3f, 0x84, 591 0x6a, 0x86, 0xcb, 0xb5, 0xf8, 0x7b, 0x19, 0x2e, 0x07, 0x31, 0xfd, 0xe5, 0x41, 0xcb, 0x0d, 0xb0, 592 0x27, 0xc5, 0x3c, 0xcd, 0xce, 0x59, 0xca, 0xc5, 0x6a, 0x1b, 0x51, 0x07, 0x0e, 0x26, 0x16, 0x1a, 593 0x4d, 0x2d, 0x76, 0x4d, 0xb9, 0x3f, 0xd9, 0xa0, 0x18, 0xc4, 0xe4, 0x33, 0xdc, 0xbf, 0x81, 0x2c, 594 0xc6, 0x7b, 0x52, 0xa6, 0xd9, 0x8d, 0x4e, 0x1a, 0x9b, 0xa4, 0x34, 0x80, 0x96, 0x53, 0xe6, 0x96, 595 0xdd, 0xd2, 0x9f, 0x1e, 0x1c, 0x76, 0xe7, 0xe2, 0xca, 0x65, 0x85, 0x72, 0x79, 0x3d, 0xf4, 0xc7, 596 0x00, 0x6e, 0x1f, 0x37, 0x72, 0xea, 0xd6, 0xf3, 0x29, 0x7f, 0xe6, 0x33, 0xd8, 0x57, 0x72, 0x99, 597 0x2f, 0x53, 0x34, 0x53, 0x38, 0xe5, 0xdf, 0xed, 0x23, 0x1b, 0x17, 0x3b, 0x61, 0x43, 0xc9, 0xe5, 598 0x25, 0xae, 0x86, 0xd6, 0x4b, 0x5e, 0xc3, 0x51, 0x6c, 0xb9, 0x23, 0x26, 0x84, 0x3d, 0x8d, 0x68, 599 0xaa, 0x64, 0x1a, 0xad, 0x17, 0xba, 0x76, 0xb1, 0x13, 0x3e, 0x72, 0x98, 0x77, 0x42, 0xf4, 0x99, 600 0x61, 0xe7, 0x4a, 0xa6, 0x76, 0x60, 0xdd, 0x5a, 0xbe, 0x4f, 0x2a, 0x41, 0xd3, 0xfd, 0xe1, 0x01, 601 0x9d, 0xc8, 0xb4, 0x44, 0x9b, 0xee, 0xd3, 0x6e, 0x11, 0xb0, 0xf9, 0x23, 0x77, 0xef, 0x1f, 0x8b, 602 0x73, 0x1f, 0xe6, 0x37, 0x39, 0xf4, 0xbe, 0xf6, 0x0a, 0x92, 0x44, 0x0a, 0x96, 0x25, 0xbe, 0x54, 603 0x49, 0x90, 0x60, 0x66, 0x2f, 0x36, 0x70, 0x21, 0x36, 0xe3, 0xfa, 0x5f, 0xe7, 0x7e, 0x66, 0x8d, 604 0x71, 0xd5, 0xe2, 0x5f, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0xf7, 0x08, 0x29, 0x16, 0x83, 0x04, 605 0x00, 0x00, 606} 607