1
// Code generated by protoc-gen-go.
2
// source: google.golang.org/cloud/bigtable/internal/table_service_proto/bigtable_table_service_messages.proto
6
Package google_bigtable_admin_table_v1 is a generated protocol buffer package.
8
It is generated from these files:
9
google.golang.org/cloud/bigtable/internal/table_service_proto/bigtable_table_service_messages.proto
10
google.golang.org/cloud/bigtable/internal/table_service_proto/bigtable_table_service.proto
12
It has these top-level messages:
19
CreateColumnFamilyRequest
20
DeleteColumnFamilyRequest
22
package google_bigtable_admin_table_v1
24
import proto "github.com/golang/protobuf/proto"
27
import google_bigtable_admin_table_v11 "google.golang.org/cloud/bigtable/internal/table_data_proto"
29
// Reference imports to suppress errors if they are not otherwise used.
34
type CreateTableRequest struct {
35
// The unique name of the cluster in which to create the new table.
36
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
37
// The name by which the new table should be referred to within the cluster,
38
// e.g. "foobar" rather than "<cluster_name>/tables/foobar".
39
TableId string `protobuf:"bytes,2,opt,name=table_id" json:"table_id,omitempty"`
40
// The Table to create. The `name` field of the Table and all of its
41
// ColumnFamilies must be left blank, and will be populated in the response.
42
Table *google_bigtable_admin_table_v11.Table `protobuf:"bytes,3,opt,name=table" json:"table,omitempty"`
43
// The optional list of row keys that will be used to initially split the
44
// table into several tablets (Tablets are similar to HBase regions).
45
// Given two split keys, "s1" and "s2", three tablets will be created,
46
// spanning the key ranges: [, s1), [s1, s2), [s2, ).
49
// * Row keys := ["a", "apple", "custom", "customer_1", "customer_2",
51
// * initial_split_keys := ["apple", "customer_1", "customer_2", "other"]
53
// - Tablet 1 [, apple) => {"a"}.
54
// - Tablet 2 [apple, customer_1) => {"apple", "custom"}.
55
// - Tablet 3 [customer_1, customer_2) => {"customer_1"}.
56
// - Tablet 4 [customer_2, other) => {"customer_2"}.
57
// - Tablet 5 [other, ) => {"other", "zz"}.
58
InitialSplitKeys []string `protobuf:"bytes,4,rep,name=initial_split_keys" json:"initial_split_keys,omitempty"`
61
func (m *CreateTableRequest) Reset() { *m = CreateTableRequest{} }
62
func (m *CreateTableRequest) String() string { return proto.CompactTextString(m) }
63
func (*CreateTableRequest) ProtoMessage() {}
64
func (*CreateTableRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
66
func (m *CreateTableRequest) GetTable() *google_bigtable_admin_table_v11.Table {
73
type ListTablesRequest struct {
74
// The unique name of the cluster for which tables should be listed.
75
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
78
func (m *ListTablesRequest) Reset() { *m = ListTablesRequest{} }
79
func (m *ListTablesRequest) String() string { return proto.CompactTextString(m) }
80
func (*ListTablesRequest) ProtoMessage() {}
81
func (*ListTablesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
83
type ListTablesResponse struct {
84
// The tables present in the requested cluster.
85
// At present, only the names of the tables are populated.
86
Tables []*google_bigtable_admin_table_v11.Table `protobuf:"bytes,1,rep,name=tables" json:"tables,omitempty"`
89
func (m *ListTablesResponse) Reset() { *m = ListTablesResponse{} }
90
func (m *ListTablesResponse) String() string { return proto.CompactTextString(m) }
91
func (*ListTablesResponse) ProtoMessage() {}
92
func (*ListTablesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
94
func (m *ListTablesResponse) GetTables() []*google_bigtable_admin_table_v11.Table {
101
type GetTableRequest struct {
102
// The unique name of the requested table.
103
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
106
func (m *GetTableRequest) Reset() { *m = GetTableRequest{} }
107
func (m *GetTableRequest) String() string { return proto.CompactTextString(m) }
108
func (*GetTableRequest) ProtoMessage() {}
109
func (*GetTableRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
111
type DeleteTableRequest struct {
112
// The unique name of the table to be deleted.
113
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
116
func (m *DeleteTableRequest) Reset() { *m = DeleteTableRequest{} }
117
func (m *DeleteTableRequest) String() string { return proto.CompactTextString(m) }
118
func (*DeleteTableRequest) ProtoMessage() {}
119
func (*DeleteTableRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
121
type RenameTableRequest struct {
122
// The current unique name of the table.
123
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
124
// The new name by which the table should be referred to within its containing
125
// cluster, e.g. "foobar" rather than "<cluster_name>/tables/foobar".
126
NewId string `protobuf:"bytes,2,opt,name=new_id" json:"new_id,omitempty"`
129
func (m *RenameTableRequest) Reset() { *m = RenameTableRequest{} }
130
func (m *RenameTableRequest) String() string { return proto.CompactTextString(m) }
131
func (*RenameTableRequest) ProtoMessage() {}
132
func (*RenameTableRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
134
type CreateColumnFamilyRequest struct {
135
// The unique name of the table in which to create the new column family.
136
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
137
// The name by which the new column family should be referred to within the
138
// table, e.g. "foobar" rather than "<table_name>/columnFamilies/foobar".
139
ColumnFamilyId string `protobuf:"bytes,2,opt,name=column_family_id" json:"column_family_id,omitempty"`
140
// The column family to create. The `name` field must be left blank.
141
ColumnFamily *google_bigtable_admin_table_v11.ColumnFamily `protobuf:"bytes,3,opt,name=column_family" json:"column_family,omitempty"`
144
func (m *CreateColumnFamilyRequest) Reset() { *m = CreateColumnFamilyRequest{} }
145
func (m *CreateColumnFamilyRequest) String() string { return proto.CompactTextString(m) }
146
func (*CreateColumnFamilyRequest) ProtoMessage() {}
147
func (*CreateColumnFamilyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
149
func (m *CreateColumnFamilyRequest) GetColumnFamily() *google_bigtable_admin_table_v11.ColumnFamily {
151
return m.ColumnFamily
156
type DeleteColumnFamilyRequest struct {
157
// The unique name of the column family to be deleted.
158
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
161
func (m *DeleteColumnFamilyRequest) Reset() { *m = DeleteColumnFamilyRequest{} }
162
func (m *DeleteColumnFamilyRequest) String() string { return proto.CompactTextString(m) }
163
func (*DeleteColumnFamilyRequest) ProtoMessage() {}
164
func (*DeleteColumnFamilyRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
167
proto.RegisterType((*CreateTableRequest)(nil), "google.bigtable.admin.table.v1.CreateTableRequest")
168
proto.RegisterType((*ListTablesRequest)(nil), "google.bigtable.admin.table.v1.ListTablesRequest")
169
proto.RegisterType((*ListTablesResponse)(nil), "google.bigtable.admin.table.v1.ListTablesResponse")
170
proto.RegisterType((*GetTableRequest)(nil), "google.bigtable.admin.table.v1.GetTableRequest")
171
proto.RegisterType((*DeleteTableRequest)(nil), "google.bigtable.admin.table.v1.DeleteTableRequest")
172
proto.RegisterType((*RenameTableRequest)(nil), "google.bigtable.admin.table.v1.RenameTableRequest")
173
proto.RegisterType((*CreateColumnFamilyRequest)(nil), "google.bigtable.admin.table.v1.CreateColumnFamilyRequest")
174
proto.RegisterType((*DeleteColumnFamilyRequest)(nil), "google.bigtable.admin.table.v1.DeleteColumnFamilyRequest")
177
var fileDescriptor0 = []byte{
178
// 368 bytes of a gzipped FileDescriptorProto
179
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x94, 0x52, 0x5d, 0x4f, 0x2a, 0x31,
180
0x10, 0xcd, 0x5e, 0xb8, 0xe4, 0x32, 0xd7, 0x0f, 0xec, 0xd3, 0xc2, 0x83, 0x42, 0x13, 0x13, 0x4c,
181
0xcc, 0x6e, 0x44, 0xfd, 0x03, 0x60, 0x34, 0x46, 0x4d, 0x08, 0xf2, 0xbe, 0x29, 0xbb, 0xe3, 0xa6,
182
0xb1, 0xdb, 0xe2, 0xb6, 0x60, 0xf8, 0x03, 0xc6, 0x9f, 0x2d, 0xdb, 0x5d, 0x11, 0x12, 0x04, 0x7d,
183
0xeb, 0xf4, 0x9c, 0x76, 0xce, 0x9c, 0x39, 0x10, 0xc6, 0x4a, 0xc5, 0x02, 0xbd, 0x58, 0x09, 0x26,
184
0x63, 0x4f, 0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