OSDN Git Service

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