You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

607 lines
24 KiB

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