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.

1235 lines
41 KiB

  1. // Code generated by protoc-gen-go.
  2. // source: Master.proto
  3. // DO NOT EDIT!
  4. package proto
  5. import proto1 "github.com/golang/protobuf/proto"
  6. import math "math"
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto1.Marshal
  9. var _ = math.Inf
  10. type AddColumnRequest struct {
  11. TableName *TableName `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
  12. ColumnFamilies *ColumnFamilySchema `protobuf:"bytes,2,req,name=column_families" json:"column_families,omitempty"`
  13. XXX_unrecognized []byte `json:"-"`
  14. }
  15. func (m *AddColumnRequest) Reset() { *m = AddColumnRequest{} }
  16. func (m *AddColumnRequest) String() string { return proto1.CompactTextString(m) }
  17. func (*AddColumnRequest) ProtoMessage() {}
  18. func (m *AddColumnRequest) GetTableName() *TableName {
  19. if m != nil {
  20. return m.TableName
  21. }
  22. return nil
  23. }
  24. func (m *AddColumnRequest) GetColumnFamilies() *ColumnFamilySchema {
  25. if m != nil {
  26. return m.ColumnFamilies
  27. }
  28. return nil
  29. }
  30. type AddColumnResponse struct {
  31. XXX_unrecognized []byte `json:"-"`
  32. }
  33. func (m *AddColumnResponse) Reset() { *m = AddColumnResponse{} }
  34. func (m *AddColumnResponse) String() string { return proto1.CompactTextString(m) }
  35. func (*AddColumnResponse) ProtoMessage() {}
  36. type DeleteColumnRequest struct {
  37. TableName *TableName `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
  38. ColumnName []byte `protobuf:"bytes,2,req,name=column_name" json:"column_name,omitempty"`
  39. XXX_unrecognized []byte `json:"-"`
  40. }
  41. func (m *DeleteColumnRequest) Reset() { *m = DeleteColumnRequest{} }
  42. func (m *DeleteColumnRequest) String() string { return proto1.CompactTextString(m) }
  43. func (*DeleteColumnRequest) ProtoMessage() {}
  44. func (m *DeleteColumnRequest) GetTableName() *TableName {
  45. if m != nil {
  46. return m.TableName
  47. }
  48. return nil
  49. }
  50. func (m *DeleteColumnRequest) GetColumnName() []byte {
  51. if m != nil {
  52. return m.ColumnName
  53. }
  54. return nil
  55. }
  56. type DeleteColumnResponse struct {
  57. XXX_unrecognized []byte `json:"-"`
  58. }
  59. func (m *DeleteColumnResponse) Reset() { *m = DeleteColumnResponse{} }
  60. func (m *DeleteColumnResponse) String() string { return proto1.CompactTextString(m) }
  61. func (*DeleteColumnResponse) ProtoMessage() {}
  62. type ModifyColumnRequest struct {
  63. TableName *TableName `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
  64. ColumnFamilies *ColumnFamilySchema `protobuf:"bytes,2,req,name=column_families" json:"column_families,omitempty"`
  65. XXX_unrecognized []byte `json:"-"`
  66. }
  67. func (m *ModifyColumnRequest) Reset() { *m = ModifyColumnRequest{} }
  68. func (m *ModifyColumnRequest) String() string { return proto1.CompactTextString(m) }
  69. func (*ModifyColumnRequest) ProtoMessage() {}
  70. func (m *ModifyColumnRequest) GetTableName() *TableName {
  71. if m != nil {
  72. return m.TableName
  73. }
  74. return nil
  75. }
  76. func (m *ModifyColumnRequest) GetColumnFamilies() *ColumnFamilySchema {
  77. if m != nil {
  78. return m.ColumnFamilies
  79. }
  80. return nil
  81. }
  82. type ModifyColumnResponse struct {
  83. XXX_unrecognized []byte `json:"-"`
  84. }
  85. func (m *ModifyColumnResponse) Reset() { *m = ModifyColumnResponse{} }
  86. func (m *ModifyColumnResponse) String() string { return proto1.CompactTextString(m) }
  87. func (*ModifyColumnResponse) ProtoMessage() {}
  88. type MoveRegionRequest struct {
  89. Region *RegionSpecifier `protobuf:"bytes,1,req,name=region" json:"region,omitempty"`
  90. DestServerName *ServerName `protobuf:"bytes,2,opt,name=dest_server_name" json:"dest_server_name,omitempty"`
  91. XXX_unrecognized []byte `json:"-"`
  92. }
  93. func (m *MoveRegionRequest) Reset() { *m = MoveRegionRequest{} }
  94. func (m *MoveRegionRequest) String() string { return proto1.CompactTextString(m) }
  95. func (*MoveRegionRequest) ProtoMessage() {}
  96. func (m *MoveRegionRequest) GetRegion() *RegionSpecifier {
  97. if m != nil {
  98. return m.Region
  99. }
  100. return nil
  101. }
  102. func (m *MoveRegionRequest) GetDestServerName() *ServerName {
  103. if m != nil {
  104. return m.DestServerName
  105. }
  106. return nil
  107. }
  108. type MoveRegionResponse struct {
  109. XXX_unrecognized []byte `json:"-"`
  110. }
  111. func (m *MoveRegionResponse) Reset() { *m = MoveRegionResponse{} }
  112. func (m *MoveRegionResponse) String() string { return proto1.CompactTextString(m) }
  113. func (*MoveRegionResponse) ProtoMessage() {}
  114. // *
  115. // Dispatch merging the specified regions.
  116. type DispatchMergingRegionsRequest struct {
  117. RegionA *RegionSpecifier `protobuf:"bytes,1,req,name=region_a" json:"region_a,omitempty"`
  118. RegionB *RegionSpecifier `protobuf:"bytes,2,req,name=region_b" json:"region_b,omitempty"`
  119. Forcible *bool `protobuf:"varint,3,opt,name=forcible,def=0" json:"forcible,omitempty"`
  120. XXX_unrecognized []byte `json:"-"`
  121. }
  122. func (m *DispatchMergingRegionsRequest) Reset() { *m = DispatchMergingRegionsRequest{} }
  123. func (m *DispatchMergingRegionsRequest) String() string { return proto1.CompactTextString(m) }
  124. func (*DispatchMergingRegionsRequest) ProtoMessage() {}
  125. const Default_DispatchMergingRegionsRequest_Forcible bool = false
  126. func (m *DispatchMergingRegionsRequest) GetRegionA() *RegionSpecifier {
  127. if m != nil {
  128. return m.RegionA
  129. }
  130. return nil
  131. }
  132. func (m *DispatchMergingRegionsRequest) GetRegionB() *RegionSpecifier {
  133. if m != nil {
  134. return m.RegionB
  135. }
  136. return nil
  137. }
  138. func (m *DispatchMergingRegionsRequest) GetForcible() bool {
  139. if m != nil && m.Forcible != nil {
  140. return *m.Forcible
  141. }
  142. return Default_DispatchMergingRegionsRequest_Forcible
  143. }
  144. type DispatchMergingRegionsResponse struct {
  145. XXX_unrecognized []byte `json:"-"`
  146. }
  147. func (m *DispatchMergingRegionsResponse) Reset() { *m = DispatchMergingRegionsResponse{} }
  148. func (m *DispatchMergingRegionsResponse) String() string { return proto1.CompactTextString(m) }
  149. func (*DispatchMergingRegionsResponse) ProtoMessage() {}
  150. type AssignRegionRequest struct {
  151. Region *RegionSpecifier `protobuf:"bytes,1,req,name=region" json:"region,omitempty"`
  152. XXX_unrecognized []byte `json:"-"`
  153. }
  154. func (m *AssignRegionRequest) Reset() { *m = AssignRegionRequest{} }
  155. func (m *AssignRegionRequest) String() string { return proto1.CompactTextString(m) }
  156. func (*AssignRegionRequest) ProtoMessage() {}
  157. func (m *AssignRegionRequest) GetRegion() *RegionSpecifier {
  158. if m != nil {
  159. return m.Region
  160. }
  161. return nil
  162. }
  163. type AssignRegionResponse struct {
  164. XXX_unrecognized []byte `json:"-"`
  165. }
  166. func (m *AssignRegionResponse) Reset() { *m = AssignRegionResponse{} }
  167. func (m *AssignRegionResponse) String() string { return proto1.CompactTextString(m) }
  168. func (*AssignRegionResponse) ProtoMessage() {}
  169. type UnassignRegionRequest struct {
  170. Region *RegionSpecifier `protobuf:"bytes,1,req,name=region" json:"region,omitempty"`
  171. Force *bool `protobuf:"varint,2,opt,name=force,def=0" json:"force,omitempty"`
  172. XXX_unrecognized []byte `json:"-"`
  173. }
  174. func (m *UnassignRegionRequest) Reset() { *m = UnassignRegionRequest{} }
  175. func (m *UnassignRegionRequest) String() string { return proto1.CompactTextString(m) }
  176. func (*UnassignRegionRequest) ProtoMessage() {}
  177. const Default_UnassignRegionRequest_Force bool = false
  178. func (m *UnassignRegionRequest) GetRegion() *RegionSpecifier {
  179. if m != nil {
  180. return m.Region
  181. }
  182. return nil
  183. }
  184. func (m *UnassignRegionRequest) GetForce() bool {
  185. if m != nil && m.Force != nil {
  186. return *m.Force
  187. }
  188. return Default_UnassignRegionRequest_Force
  189. }
  190. type UnassignRegionResponse struct {
  191. XXX_unrecognized []byte `json:"-"`
  192. }
  193. func (m *UnassignRegionResponse) Reset() { *m = UnassignRegionResponse{} }
  194. func (m *UnassignRegionResponse) String() string { return proto1.CompactTextString(m) }
  195. func (*UnassignRegionResponse) ProtoMessage() {}
  196. type OfflineRegionRequest struct {
  197. Region *RegionSpecifier `protobuf:"bytes,1,req,name=region" json:"region,omitempty"`
  198. XXX_unrecognized []byte `json:"-"`
  199. }
  200. func (m *OfflineRegionRequest) Reset() { *m = OfflineRegionRequest{} }
  201. func (m *OfflineRegionRequest) String() string { return proto1.CompactTextString(m) }
  202. func (*OfflineRegionRequest) ProtoMessage() {}
  203. func (m *OfflineRegionRequest) GetRegion() *RegionSpecifier {
  204. if m != nil {
  205. return m.Region
  206. }
  207. return nil
  208. }
  209. type OfflineRegionResponse struct {
  210. XXX_unrecognized []byte `json:"-"`
  211. }
  212. func (m *OfflineRegionResponse) Reset() { *m = OfflineRegionResponse{} }
  213. func (m *OfflineRegionResponse) String() string { return proto1.CompactTextString(m) }
  214. func (*OfflineRegionResponse) ProtoMessage() {}
  215. type CreateTableRequest struct {
  216. TableSchema *TableSchema `protobuf:"bytes,1,req,name=table_schema" json:"table_schema,omitempty"`
  217. SplitKeys [][]byte `protobuf:"bytes,2,rep,name=split_keys" json:"split_keys,omitempty"`
  218. XXX_unrecognized []byte `json:"-"`
  219. }
  220. func (m *CreateTableRequest) Reset() { *m = CreateTableRequest{} }
  221. func (m *CreateTableRequest) String() string { return proto1.CompactTextString(m) }
  222. func (*CreateTableRequest) ProtoMessage() {}
  223. func (m *CreateTableRequest) GetTableSchema() *TableSchema {
  224. if m != nil {
  225. return m.TableSchema
  226. }
  227. return nil
  228. }
  229. func (m *CreateTableRequest) GetSplitKeys() [][]byte {
  230. if m != nil {
  231. return m.SplitKeys
  232. }
  233. return nil
  234. }
  235. type CreateTableResponse struct {
  236. XXX_unrecognized []byte `json:"-"`
  237. }
  238. func (m *CreateTableResponse) Reset() { *m = CreateTableResponse{} }
  239. func (m *CreateTableResponse) String() string { return proto1.CompactTextString(m) }
  240. func (*CreateTableResponse) ProtoMessage() {}
  241. type DeleteTableRequest struct {
  242. TableName *TableName `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
  243. XXX_unrecognized []byte `json:"-"`
  244. }
  245. func (m *DeleteTableRequest) Reset() { *m = DeleteTableRequest{} }
  246. func (m *DeleteTableRequest) String() string { return proto1.CompactTextString(m) }
  247. func (*DeleteTableRequest) ProtoMessage() {}
  248. func (m *DeleteTableRequest) GetTableName() *TableName {
  249. if m != nil {
  250. return m.TableName
  251. }
  252. return nil
  253. }
  254. type DeleteTableResponse struct {
  255. XXX_unrecognized []byte `json:"-"`
  256. }
  257. func (m *DeleteTableResponse) Reset() { *m = DeleteTableResponse{} }
  258. func (m *DeleteTableResponse) String() string { return proto1.CompactTextString(m) }
  259. func (*DeleteTableResponse) ProtoMessage() {}
  260. type EnableTableRequest struct {
  261. TableName *TableName `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
  262. XXX_unrecognized []byte `json:"-"`
  263. }
  264. func (m *EnableTableRequest) Reset() { *m = EnableTableRequest{} }
  265. func (m *EnableTableRequest) String() string { return proto1.CompactTextString(m) }
  266. func (*EnableTableRequest) ProtoMessage() {}
  267. func (m *EnableTableRequest) GetTableName() *TableName {
  268. if m != nil {
  269. return m.TableName
  270. }
  271. return nil
  272. }
  273. type EnableTableResponse struct {
  274. XXX_unrecognized []byte `json:"-"`
  275. }
  276. func (m *EnableTableResponse) Reset() { *m = EnableTableResponse{} }
  277. func (m *EnableTableResponse) String() string { return proto1.CompactTextString(m) }
  278. func (*EnableTableResponse) ProtoMessage() {}
  279. type DisableTableRequest struct {
  280. TableName *TableName `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
  281. XXX_unrecognized []byte `json:"-"`
  282. }
  283. func (m *DisableTableRequest) Reset() { *m = DisableTableRequest{} }
  284. func (m *DisableTableRequest) String() string { return proto1.CompactTextString(m) }
  285. func (*DisableTableRequest) ProtoMessage() {}
  286. func (m *DisableTableRequest) GetTableName() *TableName {
  287. if m != nil {
  288. return m.TableName
  289. }
  290. return nil
  291. }
  292. type DisableTableResponse struct {
  293. XXX_unrecognized []byte `json:"-"`
  294. }
  295. func (m *DisableTableResponse) Reset() { *m = DisableTableResponse{} }
  296. func (m *DisableTableResponse) String() string { return proto1.CompactTextString(m) }
  297. func (*DisableTableResponse) ProtoMessage() {}
  298. type ModifyTableRequest struct {
  299. TableName *TableName `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
  300. TableSchema *TableSchema `protobuf:"bytes,2,req,name=table_schema" json:"table_schema,omitempty"`
  301. XXX_unrecognized []byte `json:"-"`
  302. }
  303. func (m *ModifyTableRequest) Reset() { *m = ModifyTableRequest{} }
  304. func (m *ModifyTableRequest) String() string { return proto1.CompactTextString(m) }
  305. func (*ModifyTableRequest) ProtoMessage() {}
  306. func (m *ModifyTableRequest) GetTableName() *TableName {
  307. if m != nil {
  308. return m.TableName
  309. }
  310. return nil
  311. }
  312. func (m *ModifyTableRequest) GetTableSchema() *TableSchema {
  313. if m != nil {
  314. return m.TableSchema
  315. }
  316. return nil
  317. }
  318. type ModifyTableResponse struct {
  319. XXX_unrecognized []byte `json:"-"`
  320. }
  321. func (m *ModifyTableResponse) Reset() { *m = ModifyTableResponse{} }
  322. func (m *ModifyTableResponse) String() string { return proto1.CompactTextString(m) }
  323. func (*ModifyTableResponse) ProtoMessage() {}
  324. type CreateNamespaceRequest struct {
  325. NamespaceDescriptor *NamespaceDescriptor `protobuf:"bytes,1,req,name=namespaceDescriptor" json:"namespaceDescriptor,omitempty"`
  326. XXX_unrecognized []byte `json:"-"`
  327. }
  328. func (m *CreateNamespaceRequest) Reset() { *m = CreateNamespaceRequest{} }
  329. func (m *CreateNamespaceRequest) String() string { return proto1.CompactTextString(m) }
  330. func (*CreateNamespaceRequest) ProtoMessage() {}
  331. func (m *CreateNamespaceRequest) GetNamespaceDescriptor() *NamespaceDescriptor {
  332. if m != nil {
  333. return m.NamespaceDescriptor
  334. }
  335. return nil
  336. }
  337. type CreateNamespaceResponse struct {
  338. XXX_unrecognized []byte `json:"-"`
  339. }
  340. func (m *CreateNamespaceResponse) Reset() { *m = CreateNamespaceResponse{} }
  341. func (m *CreateNamespaceResponse) String() string { return proto1.CompactTextString(m) }
  342. func (*CreateNamespaceResponse) ProtoMessage() {}
  343. type DeleteNamespaceRequest struct {
  344. NamespaceName *string `protobuf:"bytes,1,req,name=namespaceName" json:"namespaceName,omitempty"`
  345. XXX_unrecognized []byte `json:"-"`
  346. }
  347. func (m *DeleteNamespaceRequest) Reset() { *m = DeleteNamespaceRequest{} }
  348. func (m *DeleteNamespaceRequest) String() string { return proto1.CompactTextString(m) }
  349. func (*DeleteNamespaceRequest) ProtoMessage() {}
  350. func (m *DeleteNamespaceRequest) GetNamespaceName() string {
  351. if m != nil && m.NamespaceName != nil {
  352. return *m.NamespaceName
  353. }
  354. return ""
  355. }
  356. type DeleteNamespaceResponse struct {
  357. XXX_unrecognized []byte `json:"-"`
  358. }
  359. func (m *DeleteNamespaceResponse) Reset() { *m = DeleteNamespaceResponse{} }
  360. func (m *DeleteNamespaceResponse) String() string { return proto1.CompactTextString(m) }
  361. func (*DeleteNamespaceResponse) ProtoMessage() {}
  362. type ModifyNamespaceRequest struct {
  363. NamespaceDescriptor *NamespaceDescriptor `protobuf:"bytes,1,req,name=namespaceDescriptor" json:"namespaceDescriptor,omitempty"`
  364. XXX_unrecognized []byte `json:"-"`
  365. }
  366. func (m *ModifyNamespaceRequest) Reset() { *m = ModifyNamespaceRequest{} }
  367. func (m *ModifyNamespaceRequest) String() string { return proto1.CompactTextString(m) }
  368. func (*ModifyNamespaceRequest) ProtoMessage() {}
  369. func (m *ModifyNamespaceRequest) GetNamespaceDescriptor() *NamespaceDescriptor {
  370. if m != nil {
  371. return m.NamespaceDescriptor
  372. }
  373. return nil
  374. }
  375. type ModifyNamespaceResponse struct {
  376. XXX_unrecognized []byte `json:"-"`
  377. }
  378. func (m *ModifyNamespaceResponse) Reset() { *m = ModifyNamespaceResponse{} }
  379. func (m *ModifyNamespaceResponse) String() string { return proto1.CompactTextString(m) }
  380. func (*ModifyNamespaceResponse) ProtoMessage() {}
  381. type GetNamespaceDescriptorRequest struct {
  382. NamespaceName *string `protobuf:"bytes,1,req,name=namespaceName" json:"namespaceName,omitempty"`
  383. XXX_unrecognized []byte `json:"-"`
  384. }
  385. func (m *GetNamespaceDescriptorRequest) Reset() { *m = GetNamespaceDescriptorRequest{} }
  386. func (m *GetNamespaceDescriptorRequest) String() string { return proto1.CompactTextString(m) }
  387. func (*GetNamespaceDescriptorRequest) ProtoMessage() {}
  388. func (m *GetNamespaceDescriptorRequest) GetNamespaceName() string {
  389. if m != nil && m.NamespaceName != nil {
  390. return *m.NamespaceName
  391. }
  392. return ""
  393. }
  394. type GetNamespaceDescriptorResponse struct {
  395. NamespaceDescriptor *NamespaceDescriptor `protobuf:"bytes,1,req,name=namespaceDescriptor" json:"namespaceDescriptor,omitempty"`
  396. XXX_unrecognized []byte `json:"-"`
  397. }
  398. func (m *GetNamespaceDescriptorResponse) Reset() { *m = GetNamespaceDescriptorResponse{} }
  399. func (m *GetNamespaceDescriptorResponse) String() string { return proto1.CompactTextString(m) }
  400. func (*GetNamespaceDescriptorResponse) ProtoMessage() {}
  401. func (m *GetNamespaceDescriptorResponse) GetNamespaceDescriptor() *NamespaceDescriptor {
  402. if m != nil {
  403. return m.NamespaceDescriptor
  404. }
  405. return nil
  406. }
  407. type ListNamespaceDescriptorsRequest struct {
  408. XXX_unrecognized []byte `json:"-"`
  409. }
  410. func (m *ListNamespaceDescriptorsRequest) Reset() { *m = ListNamespaceDescriptorsRequest{} }
  411. func (m *ListNamespaceDescriptorsRequest) String() string { return proto1.CompactTextString(m) }
  412. func (*ListNamespaceDescriptorsRequest) ProtoMessage() {}
  413. type ListNamespaceDescriptorsResponse struct {
  414. NamespaceDescriptor []*NamespaceDescriptor `protobuf:"bytes,1,rep,name=namespaceDescriptor" json:"namespaceDescriptor,omitempty"`
  415. XXX_unrecognized []byte `json:"-"`
  416. }
  417. func (m *ListNamespaceDescriptorsResponse) Reset() { *m = ListNamespaceDescriptorsResponse{} }
  418. func (m *ListNamespaceDescriptorsResponse) String() string { return proto1.CompactTextString(m) }
  419. func (*ListNamespaceDescriptorsResponse) ProtoMessage() {}
  420. func (m *ListNamespaceDescriptorsResponse) GetNamespaceDescriptor() []*NamespaceDescriptor {
  421. if m != nil {
  422. return m.NamespaceDescriptor
  423. }
  424. return nil
  425. }
  426. type ListTableDescriptorsByNamespaceRequest struct {
  427. NamespaceName *string `protobuf:"bytes,1,req,name=namespaceName" json:"namespaceName,omitempty"`
  428. XXX_unrecognized []byte `json:"-"`
  429. }
  430. func (m *ListTableDescriptorsByNamespaceRequest) Reset() {
  431. *m = ListTableDescriptorsByNamespaceRequest{}
  432. }
  433. func (m *ListTableDescriptorsByNamespaceRequest) String() string { return proto1.CompactTextString(m) }
  434. func (*ListTableDescriptorsByNamespaceRequest) ProtoMessage() {}
  435. func (m *ListTableDescriptorsByNamespaceRequest) GetNamespaceName() string {
  436. if m != nil && m.NamespaceName != nil {
  437. return *m.NamespaceName
  438. }
  439. return ""
  440. }
  441. type ListTableDescriptorsByNamespaceResponse struct {
  442. TableSchema []*TableSchema `protobuf:"bytes,1,rep,name=tableSchema" json:"tableSchema,omitempty"`
  443. XXX_unrecognized []byte `json:"-"`
  444. }
  445. func (m *ListTableDescriptorsByNamespaceResponse) Reset() {
  446. *m = ListTableDescriptorsByNamespaceResponse{}
  447. }
  448. func (m *ListTableDescriptorsByNamespaceResponse) String() string { return proto1.CompactTextString(m) }
  449. func (*ListTableDescriptorsByNamespaceResponse) ProtoMessage() {}
  450. func (m *ListTableDescriptorsByNamespaceResponse) GetTableSchema() []*TableSchema {
  451. if m != nil {
  452. return m.TableSchema
  453. }
  454. return nil
  455. }
  456. type ListTableNamesByNamespaceRequest struct {
  457. NamespaceName *string `protobuf:"bytes,1,req,name=namespaceName" json:"namespaceName,omitempty"`
  458. XXX_unrecognized []byte `json:"-"`
  459. }
  460. func (m *ListTableNamesByNamespaceRequest) Reset() { *m = ListTableNamesByNamespaceRequest{} }
  461. func (m *ListTableNamesByNamespaceRequest) String() string { return proto1.CompactTextString(m) }
  462. func (*ListTableNamesByNamespaceRequest) ProtoMessage() {}
  463. func (m *ListTableNamesByNamespaceRequest) GetNamespaceName() string {
  464. if m != nil && m.NamespaceName != nil {
  465. return *m.NamespaceName
  466. }
  467. return ""
  468. }
  469. type ListTableNamesByNamespaceResponse struct {
  470. TableName []*TableName `protobuf:"bytes,1,rep,name=tableName" json:"tableName,omitempty"`
  471. XXX_unrecognized []byte `json:"-"`
  472. }
  473. func (m *ListTableNamesByNamespaceResponse) Reset() { *m = ListTableNamesByNamespaceResponse{} }
  474. func (m *ListTableNamesByNamespaceResponse) String() string { return proto1.CompactTextString(m) }
  475. func (*ListTableNamesByNamespaceResponse) ProtoMessage() {}
  476. func (m *ListTableNamesByNamespaceResponse) GetTableName() []*TableName {
  477. if m != nil {
  478. return m.TableName
  479. }
  480. return nil
  481. }
  482. type ShutdownRequest struct {
  483. XXX_unrecognized []byte `json:"-"`
  484. }
  485. func (m *ShutdownRequest) Reset() { *m = ShutdownRequest{} }
  486. func (m *ShutdownRequest) String() string { return proto1.CompactTextString(m) }
  487. func (*ShutdownRequest) ProtoMessage() {}
  488. type ShutdownResponse struct {
  489. XXX_unrecognized []byte `json:"-"`
  490. }
  491. func (m *ShutdownResponse) Reset() { *m = ShutdownResponse{} }
  492. func (m *ShutdownResponse) String() string { return proto1.CompactTextString(m) }
  493. func (*ShutdownResponse) ProtoMessage() {}
  494. type StopMasterRequest struct {
  495. XXX_unrecognized []byte `json:"-"`
  496. }
  497. func (m *StopMasterRequest) Reset() { *m = StopMasterRequest{} }
  498. func (m *StopMasterRequest) String() string { return proto1.CompactTextString(m) }
  499. func (*StopMasterRequest) ProtoMessage() {}
  500. type StopMasterResponse struct {
  501. XXX_unrecognized []byte `json:"-"`
  502. }
  503. func (m *StopMasterResponse) Reset() { *m = StopMasterResponse{} }
  504. func (m *StopMasterResponse) String() string { return proto1.CompactTextString(m) }
  505. func (*StopMasterResponse) ProtoMessage() {}
  506. type BalanceRequest struct {
  507. XXX_unrecognized []byte `json:"-"`
  508. }
  509. func (m *BalanceRequest) Reset() { *m = BalanceRequest{} }
  510. func (m *BalanceRequest) String() string { return proto1.CompactTextString(m) }
  511. func (*BalanceRequest) ProtoMessage() {}
  512. type BalanceResponse struct {
  513. BalancerRan *bool `protobuf:"varint,1,req,name=balancer_ran" json:"balancer_ran,omitempty"`
  514. XXX_unrecognized []byte `json:"-"`
  515. }
  516. func (m *BalanceResponse) Reset() { *m = BalanceResponse{} }
  517. func (m *BalanceResponse) String() string { return proto1.CompactTextString(m) }
  518. func (*BalanceResponse) ProtoMessage() {}
  519. func (m *BalanceResponse) GetBalancerRan() bool {
  520. if m != nil && m.BalancerRan != nil {
  521. return *m.BalancerRan
  522. }
  523. return false
  524. }
  525. type SetBalancerRunningRequest struct {
  526. On *bool `protobuf:"varint,1,req,name=on" json:"on,omitempty"`
  527. Synchronous *bool `protobuf:"varint,2,opt,name=synchronous" json:"synchronous,omitempty"`
  528. XXX_unrecognized []byte `json:"-"`
  529. }
  530. func (m *SetBalancerRunningRequest) Reset() { *m = SetBalancerRunningRequest{} }
  531. func (m *SetBalancerRunningRequest) String() string { return proto1.CompactTextString(m) }
  532. func (*SetBalancerRunningRequest) ProtoMessage() {}
  533. func (m *SetBalancerRunningRequest) GetOn() bool {
  534. if m != nil && m.On != nil {
  535. return *m.On
  536. }
  537. return false
  538. }
  539. func (m *SetBalancerRunningRequest) GetSynchronous() bool {
  540. if m != nil && m.Synchronous != nil {
  541. return *m.Synchronous
  542. }
  543. return false
  544. }
  545. type SetBalancerRunningResponse struct {
  546. PrevBalanceValue *bool `protobuf:"varint,1,opt,name=prev_balance_value" json:"prev_balance_value,omitempty"`
  547. XXX_unrecognized []byte `json:"-"`
  548. }
  549. func (m *SetBalancerRunningResponse) Reset() { *m = SetBalancerRunningResponse{} }
  550. func (m *SetBalancerRunningResponse) String() string { return proto1.CompactTextString(m) }
  551. func (*SetBalancerRunningResponse) ProtoMessage() {}
  552. func (m *SetBalancerRunningResponse) GetPrevBalanceValue() bool {
  553. if m != nil && m.PrevBalanceValue != nil {
  554. return *m.PrevBalanceValue
  555. }
  556. return false
  557. }
  558. type IsBalancerEnabledRequest struct {
  559. XXX_unrecognized []byte `json:"-"`
  560. }
  561. func (m *IsBalancerEnabledRequest) Reset() { *m = IsBalancerEnabledRequest{} }
  562. func (m *IsBalancerEnabledRequest) String() string { return proto1.CompactTextString(m) }
  563. func (*IsBalancerEnabledRequest) ProtoMessage() {}
  564. type IsBalancerEnabledResponse struct {
  565. Enabled *bool `protobuf:"varint,1,req,name=enabled" json:"enabled,omitempty"`
  566. XXX_unrecognized []byte `json:"-"`
  567. }
  568. func (m *IsBalancerEnabledResponse) Reset() { *m = IsBalancerEnabledResponse{} }
  569. func (m *IsBalancerEnabledResponse) String() string { return proto1.CompactTextString(m) }
  570. func (*IsBalancerEnabledResponse) ProtoMessage() {}
  571. func (m *IsBalancerEnabledResponse) GetEnabled() bool {
  572. if m != nil && m.Enabled != nil {
  573. return *m.Enabled
  574. }
  575. return false
  576. }
  577. type RunCatalogScanRequest struct {
  578. XXX_unrecognized []byte `json:"-"`
  579. }
  580. func (m *RunCatalogScanRequest) Reset() { *m = RunCatalogScanRequest{} }
  581. func (m *RunCatalogScanRequest) String() string { return proto1.CompactTextString(m) }
  582. func (*RunCatalogScanRequest) ProtoMessage() {}
  583. type RunCatalogScanResponse struct {
  584. ScanResult *int32 `protobuf:"varint,1,opt,name=scan_result" json:"scan_result,omitempty"`
  585. XXX_unrecognized []byte `json:"-"`
  586. }
  587. func (m *RunCatalogScanResponse) Reset() { *m = RunCatalogScanResponse{} }
  588. func (m *RunCatalogScanResponse) String() string { return proto1.CompactTextString(m) }
  589. func (*RunCatalogScanResponse) ProtoMessage() {}
  590. func (m *RunCatalogScanResponse) GetScanResult() int32 {
  591. if m != nil && m.ScanResult != nil {
  592. return *m.ScanResult
  593. }
  594. return 0
  595. }
  596. type EnableCatalogJanitorRequest struct {
  597. Enable *bool `protobuf:"varint,1,req,name=enable" json:"enable,omitempty"`
  598. XXX_unrecognized []byte `json:"-"`
  599. }
  600. func (m *EnableCatalogJanitorRequest) Reset() { *m = EnableCatalogJanitorRequest{} }
  601. func (m *EnableCatalogJanitorRequest) String() string { return proto1.CompactTextString(m) }
  602. func (*EnableCatalogJanitorRequest) ProtoMessage() {}
  603. func (m *EnableCatalogJanitorRequest) GetEnable() bool {
  604. if m != nil && m.Enable != nil {
  605. return *m.Enable
  606. }
  607. return false
  608. }
  609. type EnableCatalogJanitorResponse struct {
  610. PrevValue *bool `protobuf:"varint,1,opt,name=prev_value" json:"prev_value,omitempty"`
  611. XXX_unrecognized []byte `json:"-"`
  612. }
  613. func (m *EnableCatalogJanitorResponse) Reset() { *m = EnableCatalogJanitorResponse{} }
  614. func (m *EnableCatalogJanitorResponse) String() string { return proto1.CompactTextString(m) }
  615. func (*EnableCatalogJanitorResponse) ProtoMessage() {}
  616. func (m *EnableCatalogJanitorResponse) GetPrevValue() bool {
  617. if m != nil && m.PrevValue != nil {
  618. return *m.PrevValue
  619. }
  620. return false
  621. }
  622. type IsCatalogJanitorEnabledRequest struct {
  623. XXX_unrecognized []byte `json:"-"`
  624. }
  625. func (m *IsCatalogJanitorEnabledRequest) Reset() { *m = IsCatalogJanitorEnabledRequest{} }
  626. func (m *IsCatalogJanitorEnabledRequest) String() string { return proto1.CompactTextString(m) }
  627. func (*IsCatalogJanitorEnabledRequest) ProtoMessage() {}
  628. type IsCatalogJanitorEnabledResponse struct {
  629. Value *bool `protobuf:"varint,1,req,name=value" json:"value,omitempty"`
  630. XXX_unrecognized []byte `json:"-"`
  631. }
  632. func (m *IsCatalogJanitorEnabledResponse) Reset() { *m = IsCatalogJanitorEnabledResponse{} }
  633. func (m *IsCatalogJanitorEnabledResponse) String() string { return proto1.CompactTextString(m) }
  634. func (*IsCatalogJanitorEnabledResponse) ProtoMessage() {}
  635. func (m *IsCatalogJanitorEnabledResponse) GetValue() bool {
  636. if m != nil && m.Value != nil {
  637. return *m.Value
  638. }
  639. return false
  640. }
  641. type SnapshotRequest struct {
  642. Snapshot *SnapshotDescription `protobuf:"bytes,1,req,name=snapshot" json:"snapshot,omitempty"`
  643. XXX_unrecognized []byte `json:"-"`
  644. }
  645. func (m *SnapshotRequest) Reset() { *m = SnapshotRequest{} }
  646. func (m *SnapshotRequest) String() string { return proto1.CompactTextString(m) }
  647. func (*SnapshotRequest) ProtoMessage() {}
  648. func (m *SnapshotRequest) GetSnapshot() *SnapshotDescription {
  649. if m != nil {
  650. return m.Snapshot
  651. }
  652. return nil
  653. }
  654. type SnapshotResponse struct {
  655. ExpectedTimeout *int64 `protobuf:"varint,1,req,name=expected_timeout" json:"expected_timeout,omitempty"`
  656. XXX_unrecognized []byte `json:"-"`
  657. }
  658. func (m *SnapshotResponse) Reset() { *m = SnapshotResponse{} }
  659. func (m *SnapshotResponse) String() string { return proto1.CompactTextString(m) }
  660. func (*SnapshotResponse) ProtoMessage() {}
  661. func (m *SnapshotResponse) GetExpectedTimeout() int64 {
  662. if m != nil && m.ExpectedTimeout != nil {
  663. return *m.ExpectedTimeout
  664. }
  665. return 0
  666. }
  667. type GetCompletedSnapshotsRequest struct {
  668. XXX_unrecognized []byte `json:"-"`
  669. }
  670. func (m *GetCompletedSnapshotsRequest) Reset() { *m = GetCompletedSnapshotsRequest{} }
  671. func (m *GetCompletedSnapshotsRequest) String() string { return proto1.CompactTextString(m) }
  672. func (*GetCompletedSnapshotsRequest) ProtoMessage() {}
  673. type GetCompletedSnapshotsResponse struct {
  674. Snapshots []*SnapshotDescription `protobuf:"bytes,1,rep,name=snapshots" json:"snapshots,omitempty"`
  675. XXX_unrecognized []byte `json:"-"`
  676. }
  677. func (m *GetCompletedSnapshotsResponse) Reset() { *m = GetCompletedSnapshotsResponse{} }
  678. func (m *GetCompletedSnapshotsResponse) String() string { return proto1.CompactTextString(m) }
  679. func (*GetCompletedSnapshotsResponse) ProtoMessage() {}
  680. func (m *GetCompletedSnapshotsResponse) GetSnapshots() []*SnapshotDescription {
  681. if m != nil {
  682. return m.Snapshots
  683. }
  684. return nil
  685. }
  686. type DeleteSnapshotRequest struct {
  687. Snapshot *SnapshotDescription `protobuf:"bytes,1,req,name=snapshot" json:"snapshot,omitempty"`
  688. XXX_unrecognized []byte `json:"-"`
  689. }
  690. func (m *DeleteSnapshotRequest) Reset() { *m = DeleteSnapshotRequest{} }
  691. func (m *DeleteSnapshotRequest) String() string { return proto1.CompactTextString(m) }
  692. func (*DeleteSnapshotRequest) ProtoMessage() {}
  693. func (m *DeleteSnapshotRequest) GetSnapshot() *SnapshotDescription {
  694. if m != nil {
  695. return m.Snapshot
  696. }
  697. return nil
  698. }
  699. type DeleteSnapshotResponse struct {
  700. XXX_unrecognized []byte `json:"-"`
  701. }
  702. func (m *DeleteSnapshotResponse) Reset() { *m = DeleteSnapshotResponse{} }
  703. func (m *DeleteSnapshotResponse) String() string { return proto1.CompactTextString(m) }
  704. func (*DeleteSnapshotResponse) ProtoMessage() {}
  705. type RestoreSnapshotRequest struct {
  706. Snapshot *SnapshotDescription `protobuf:"bytes,1,req,name=snapshot" json:"snapshot,omitempty"`
  707. XXX_unrecognized []byte `json:"-"`
  708. }
  709. func (m *RestoreSnapshotRequest) Reset() { *m = RestoreSnapshotRequest{} }
  710. func (m *RestoreSnapshotRequest) String() string { return proto1.CompactTextString(m) }
  711. func (*RestoreSnapshotRequest) ProtoMessage() {}
  712. func (m *RestoreSnapshotRequest) GetSnapshot() *SnapshotDescription {
  713. if m != nil {
  714. return m.Snapshot
  715. }
  716. return nil
  717. }
  718. type RestoreSnapshotResponse struct {
  719. XXX_unrecognized []byte `json:"-"`
  720. }
  721. func (m *RestoreSnapshotResponse) Reset() { *m = RestoreSnapshotResponse{} }
  722. func (m *RestoreSnapshotResponse) String() string { return proto1.CompactTextString(m) }
  723. func (*RestoreSnapshotResponse) ProtoMessage() {}
  724. // if you don't send the snapshot, then you will get it back
  725. // in the response (if the snapshot is done) so you can check the snapshot
  726. type IsSnapshotDoneRequest struct {
  727. Snapshot *SnapshotDescription `protobuf:"bytes,1,opt,name=snapshot" json:"snapshot,omitempty"`
  728. XXX_unrecognized []byte `json:"-"`
  729. }
  730. func (m *IsSnapshotDoneRequest) Reset() { *m = IsSnapshotDoneRequest{} }
  731. func (m *IsSnapshotDoneRequest) String() string { return proto1.CompactTextString(m) }
  732. func (*IsSnapshotDoneRequest) ProtoMessage() {}
  733. func (m *IsSnapshotDoneRequest) GetSnapshot() *SnapshotDescription {
  734. if m != nil {
  735. return m.Snapshot
  736. }
  737. return nil
  738. }
  739. type IsSnapshotDoneResponse struct {
  740. Done *bool `protobuf:"varint,1,opt,name=done,def=0" json:"done,omitempty"`
  741. Snapshot *SnapshotDescription `protobuf:"bytes,2,opt,name=snapshot" json:"snapshot,omitempty"`
  742. XXX_unrecognized []byte `json:"-"`
  743. }
  744. func (m *IsSnapshotDoneResponse) Reset() { *m = IsSnapshotDoneResponse{} }
  745. func (m *IsSnapshotDoneResponse) String() string { return proto1.CompactTextString(m) }
  746. func (*IsSnapshotDoneResponse) ProtoMessage() {}
  747. const Default_IsSnapshotDoneResponse_Done bool = false
  748. func (m *IsSnapshotDoneResponse) GetDone() bool {
  749. if m != nil && m.Done != nil {
  750. return *m.Done
  751. }
  752. return Default_IsSnapshotDoneResponse_Done
  753. }
  754. func (m *IsSnapshotDoneResponse) GetSnapshot() *SnapshotDescription {
  755. if m != nil {
  756. return m.Snapshot
  757. }
  758. return nil
  759. }
  760. type IsRestoreSnapshotDoneRequest struct {
  761. Snapshot *SnapshotDescription `protobuf:"bytes,1,opt,name=snapshot" json:"snapshot,omitempty"`
  762. XXX_unrecognized []byte `json:"-"`
  763. }
  764. func (m *IsRestoreSnapshotDoneRequest) Reset() { *m = IsRestoreSnapshotDoneRequest{} }
  765. func (m *IsRestoreSnapshotDoneRequest) String() string { return proto1.CompactTextString(m) }
  766. func (*IsRestoreSnapshotDoneRequest) ProtoMessage() {}
  767. func (m *IsRestoreSnapshotDoneRequest) GetSnapshot() *SnapshotDescription {
  768. if m != nil {
  769. return m.Snapshot
  770. }
  771. return nil
  772. }
  773. type IsRestoreSnapshotDoneResponse struct {
  774. Done *bool `protobuf:"varint,1,opt,name=done,def=0" json:"done,omitempty"`
  775. XXX_unrecognized []byte `json:"-"`
  776. }
  777. func (m *IsRestoreSnapshotDoneResponse) Reset() { *m = IsRestoreSnapshotDoneResponse{} }
  778. func (m *IsRestoreSnapshotDoneResponse) String() string { return proto1.CompactTextString(m) }
  779. func (*IsRestoreSnapshotDoneResponse) ProtoMessage() {}
  780. const Default_IsRestoreSnapshotDoneResponse_Done bool = false
  781. func (m *IsRestoreSnapshotDoneResponse) GetDone() bool {
  782. if m != nil && m.Done != nil {
  783. return *m.Done
  784. }
  785. return Default_IsRestoreSnapshotDoneResponse_Done
  786. }
  787. type GetSchemaAlterStatusRequest struct {
  788. TableName *TableName `protobuf:"bytes,1,req,name=table_name" json:"table_name,omitempty"`
  789. XXX_unrecognized []byte `json:"-"`
  790. }
  791. func (m *GetSchemaAlterStatusRequest) Reset() { *m = GetSchemaAlterStatusRequest{} }
  792. func (m *GetSchemaAlterStatusRequest) String() string { return proto1.CompactTextString(m) }
  793. func (*GetSchemaAlterStatusRequest) ProtoMessage() {}
  794. func (m *GetSchemaAlterStatusRequest) GetTableName() *TableName {
  795. if m != nil {
  796. return m.TableName
  797. }
  798. return nil
  799. }
  800. type GetSchemaAlterStatusResponse struct {
  801. YetToUpdateRegions *uint32 `protobuf:"varint,1,opt,name=yet_to_update_regions" json:"yet_to_update_regions,omitempty"`
  802. TotalRegions *uint32 `protobuf:"varint,2,opt,name=total_regions" json:"total_regions,omitempty"`
  803. XXX_unrecognized []byte `json:"-"`
  804. }
  805. func (m *GetSchemaAlterStatusResponse) Reset() { *m = GetSchemaAlterStatusResponse{} }
  806. func (m *GetSchemaAlterStatusResponse) String() string { return proto1.CompactTextString(m) }
  807. func (*GetSchemaAlterStatusResponse) ProtoMessage() {}
  808. func (m *GetSchemaAlterStatusResponse) GetYetToUpdateRegions() uint32 {
  809. if m != nil && m.YetToUpdateRegions != nil {
  810. return *m.YetToUpdateRegions
  811. }
  812. return 0
  813. }
  814. func (m *GetSchemaAlterStatusResponse) GetTotalRegions() uint32 {
  815. if m != nil && m.TotalRegions != nil {
  816. return *m.TotalRegions
  817. }
  818. return 0
  819. }
  820. type GetTableDescriptorsRequest struct {
  821. TableNames []*TableName `protobuf:"bytes,1,rep,name=table_names" json:"table_names,omitempty"`
  822. XXX_unrecognized []byte `json:"-"`
  823. }
  824. func (m *GetTableDescriptorsRequest) Reset() { *m = GetTableDescriptorsRequest{} }
  825. func (m *GetTableDescriptorsRequest) String() string { return proto1.CompactTextString(m) }
  826. func (*GetTableDescriptorsRequest) ProtoMessage() {}
  827. func (m *GetTableDescriptorsRequest) GetTableNames() []*TableName {
  828. if m != nil {
  829. return m.TableNames
  830. }
  831. return nil
  832. }
  833. type GetTableDescriptorsResponse struct {
  834. TableSchema []*TableSchema `protobuf:"bytes,1,rep,name=table_schema" json:"table_schema,omitempty"`
  835. XXX_unrecognized []byte `json:"-"`
  836. }
  837. func (m *GetTableDescriptorsResponse) Reset() { *m = GetTableDescriptorsResponse{} }
  838. func (m *GetTableDescriptorsResponse) String() string { return proto1.CompactTextString(m) }
  839. func (*GetTableDescriptorsResponse) ProtoMessage() {}
  840. func (m *GetTableDescriptorsResponse) GetTableSchema() []*TableSchema {
  841. if m != nil {
  842. return m.TableSchema
  843. }
  844. return nil
  845. }
  846. type GetTableNamesRequest struct {
  847. XXX_unrecognized []byte `json:"-"`
  848. }
  849. func (m *GetTableNamesRequest) Reset() { *m = GetTableNamesRequest{} }
  850. func (m *GetTableNamesRequest) String() string { return proto1.CompactTextString(m) }
  851. func (*GetTableNamesRequest) ProtoMessage() {}
  852. type GetTableNamesResponse struct {
  853. TableNames []*TableName `protobuf:"bytes,1,rep,name=table_names" json:"table_names,omitempty"`
  854. XXX_unrecognized []byte `json:"-"`
  855. }
  856. func (m *GetTableNamesResponse) Reset() { *m = GetTableNamesResponse{} }
  857. func (m *GetTableNamesResponse) String() string { return proto1.CompactTextString(m) }
  858. func (*GetTableNamesResponse) ProtoMessage() {}
  859. func (m *GetTableNamesResponse) GetTableNames() []*TableName {
  860. if m != nil {
  861. return m.TableNames
  862. }
  863. return nil
  864. }
  865. type GetClusterStatusRequest struct {
  866. XXX_unrecognized []byte `json:"-"`
  867. }
  868. func (m *GetClusterStatusRequest) Reset() { *m = GetClusterStatusRequest{} }
  869. func (m *GetClusterStatusRequest) String() string { return proto1.CompactTextString(m) }
  870. func (*GetClusterStatusRequest) ProtoMessage() {}
  871. type GetClusterStatusResponse struct {
  872. ClusterStatus *ClusterStatus `protobuf:"bytes,1,req,name=cluster_status" json:"cluster_status,omitempty"`
  873. XXX_unrecognized []byte `json:"-"`
  874. }
  875. func (m *GetClusterStatusResponse) Reset() { *m = GetClusterStatusResponse{} }
  876. func (m *GetClusterStatusResponse) String() string { return proto1.CompactTextString(m) }
  877. func (*GetClusterStatusResponse) ProtoMessage() {}
  878. func (m *GetClusterStatusResponse) GetClusterStatus() *ClusterStatus {
  879. if m != nil {
  880. return m.ClusterStatus
  881. }
  882. return nil
  883. }
  884. type IsMasterRunningRequest struct {
  885. XXX_unrecognized []byte `json:"-"`
  886. }
  887. func (m *IsMasterRunningRequest) Reset() { *m = IsMasterRunningRequest{} }
  888. func (m *IsMasterRunningRequest) String() string { return proto1.CompactTextString(m) }
  889. func (*IsMasterRunningRequest) ProtoMessage() {}
  890. type IsMasterRunningResponse struct {
  891. IsMasterRunning *bool `protobuf:"varint,1,req,name=is_master_running" json:"is_master_running,omitempty"`
  892. XXX_unrecognized []byte `json:"-"`
  893. }
  894. func (m *IsMasterRunningResponse) Reset() { *m = IsMasterRunningResponse{} }
  895. func (m *IsMasterRunningResponse) String() string { return proto1.CompactTextString(m) }
  896. func (*IsMasterRunningResponse) ProtoMessage() {}
  897. func (m *IsMasterRunningResponse) GetIsMasterRunning() bool {
  898. if m != nil && m.IsMasterRunning != nil {
  899. return *m.IsMasterRunning
  900. }
  901. return false
  902. }
  903. type ExecProcedureRequest struct {
  904. Procedure *ProcedureDescription `protobuf:"bytes,1,req,name=procedure" json:"procedure,omitempty"`
  905. XXX_unrecognized []byte `json:"-"`
  906. }
  907. func (m *ExecProcedureRequest) Reset() { *m = ExecProcedureRequest{} }
  908. func (m *ExecProcedureRequest) String() string { return proto1.CompactTextString(m) }
  909. func (*ExecProcedureRequest) ProtoMessage() {}
  910. func (m *ExecProcedureRequest) GetProcedure() *ProcedureDescription {
  911. if m != nil {
  912. return m.Procedure
  913. }
  914. return nil
  915. }
  916. type ExecProcedureResponse struct {
  917. ExpectedTimeout *int64 `protobuf:"varint,1,req,name=expected_timeout" json:"expected_timeout,omitempty"`
  918. XXX_unrecognized []byte `json:"-"`
  919. }
  920. func (m *ExecProcedureResponse) Reset() { *m = ExecProcedureResponse{} }
  921. func (m *ExecProcedureResponse) String() string { return proto1.CompactTextString(m) }
  922. func (*ExecProcedureResponse) ProtoMessage() {}
  923. func (m *ExecProcedureResponse) GetExpectedTimeout() int64 {
  924. if m != nil && m.ExpectedTimeout != nil {
  925. return *m.ExpectedTimeout
  926. }
  927. return 0
  928. }
  929. type IsProcedureDoneRequest struct {
  930. Procedure *ProcedureDescription `protobuf:"bytes,1,opt,name=procedure" json:"procedure,omitempty"`
  931. XXX_unrecognized []byte `json:"-"`
  932. }
  933. func (m *IsProcedureDoneRequest) Reset() { *m = IsProcedureDoneRequest{} }
  934. func (m *IsProcedureDoneRequest) String() string { return proto1.CompactTextString(m) }
  935. func (*IsProcedureDoneRequest) ProtoMessage() {}
  936. func (m *IsProcedureDoneRequest) GetProcedure() *ProcedureDescription {
  937. if m != nil {
  938. return m.Procedure
  939. }
  940. return nil
  941. }
  942. type IsProcedureDoneResponse struct {
  943. Done *bool `protobuf:"varint,1,opt,name=done,def=0" json:"done,omitempty"`
  944. Snapshot *ProcedureDescription `protobuf:"bytes,2,opt,name=snapshot" json:"snapshot,omitempty"`
  945. XXX_unrecognized []byte `json:"-"`
  946. }
  947. func (m *IsProcedureDoneResponse) Reset() { *m = IsProcedureDoneResponse{} }
  948. func (m *IsProcedureDoneResponse) String() string { return proto1.CompactTextString(m) }
  949. func (*IsProcedureDoneResponse) ProtoMessage() {}
  950. const Default_IsProcedureDoneResponse_Done bool = false
  951. func (m *IsProcedureDoneResponse) GetDone() bool {
  952. if m != nil && m.Done != nil {
  953. return *m.Done
  954. }
  955. return Default_IsProcedureDoneResponse_Done
  956. }
  957. func (m *IsProcedureDoneResponse) GetSnapshot() *ProcedureDescription {
  958. if m != nil {
  959. return m.Snapshot
  960. }
  961. return nil
  962. }
  963. type TruncateTableRequest struct {
  964. TableName *TableName `protobuf:"bytes,1,req,name=tableName" json:"tableName,omitempty"`
  965. PreserveSplits *bool `protobuf:"varint,2,opt,name=preserveSplits,def=0" json:"preserveSplits,omitempty"`
  966. XXX_unrecognized []byte `json:"-"`
  967. }
  968. func (m *TruncateTableRequest) Reset() { *m = TruncateTableRequest{} }
  969. func (m *TruncateTableRequest) String() string { return proto1.CompactTextString(m) }
  970. func (*TruncateTableRequest) ProtoMessage() {}
  971. const Default_TruncateTableRequest_PreserveSplits bool = false
  972. func (m *TruncateTableRequest) GetTableName() *TableName {
  973. if m != nil {
  974. return m.TableName
  975. }
  976. return nil
  977. }
  978. func (m *TruncateTableRequest) GetPreserveSplits() bool {
  979. if m != nil && m.PreserveSplits != nil {
  980. return *m.PreserveSplits
  981. }
  982. return Default_TruncateTableRequest_PreserveSplits
  983. }
  984. type TruncateTableResponse struct {
  985. XXX_unrecognized []byte `json:"-"`
  986. }
  987. func (m *TruncateTableResponse) Reset() { *m = TruncateTableResponse{} }
  988. func (m *TruncateTableResponse) String() string { return proto1.CompactTextString(m) }
  989. func (*TruncateTableResponse) ProtoMessage() {}
  990. func init() {
  991. }