1// Copyright 2017 Google Inc. 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.25.0 18// protoc v3.13.0 19// source: google/bigtable/admin/table/v1/bigtable_table_data.proto 20 21package table 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 longrunning "google.golang.org/genproto/googleapis/longrunning" 29 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 30 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 31 durationpb "google.golang.org/protobuf/types/known/durationpb" 32) 33 34const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39) 40 41// This is a compile-time assertion that a sufficiently up-to-date version 42// of the legacy proto package is being used. 43const _ = proto.ProtoPackageIsVersion4 44 45type Table_TimestampGranularity int32 46 47const ( 48 Table_MILLIS Table_TimestampGranularity = 0 49) 50 51// Enum value maps for Table_TimestampGranularity. 52var ( 53 Table_TimestampGranularity_name = map[int32]string{ 54 0: "MILLIS", 55 } 56 Table_TimestampGranularity_value = map[string]int32{ 57 "MILLIS": 0, 58 } 59) 60 61func (x Table_TimestampGranularity) Enum() *Table_TimestampGranularity { 62 p := new(Table_TimestampGranularity) 63 *p = x 64 return p 65} 66 67func (x Table_TimestampGranularity) String() string { 68 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 69} 70 71func (Table_TimestampGranularity) Descriptor() protoreflect.EnumDescriptor { 72 return file_google_bigtable_admin_table_v1_bigtable_table_data_proto_enumTypes[0].Descriptor() 73} 74 75func (Table_TimestampGranularity) Type() protoreflect.EnumType { 76 return &file_google_bigtable_admin_table_v1_bigtable_table_data_proto_enumTypes[0] 77} 78 79func (x Table_TimestampGranularity) Number() protoreflect.EnumNumber { 80 return protoreflect.EnumNumber(x) 81} 82 83// Deprecated: Use Table_TimestampGranularity.Descriptor instead. 84func (Table_TimestampGranularity) EnumDescriptor() ([]byte, []int) { 85 return file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDescGZIP(), []int{0, 0} 86} 87 88// A collection of user data indexed by row, column, and timestamp. 89// Each table is served using the resources of its parent cluster. 90type Table struct { 91 state protoimpl.MessageState 92 sizeCache protoimpl.SizeCache 93 unknownFields protoimpl.UnknownFields 94 95 // A unique identifier of the form 96 // <cluster_name>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]* 97 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 98 // If this Table is in the process of being created, the Operation used to 99 // track its progress. As long as this operation is present, the Table will 100 // not accept any Table Admin or Read/Write requests. 101 CurrentOperation *longrunning.Operation `protobuf:"bytes,2,opt,name=current_operation,json=currentOperation,proto3" json:"current_operation,omitempty"` 102 // The column families configured for this table, mapped by column family id. 103 ColumnFamilies map[string]*ColumnFamily `protobuf:"bytes,3,rep,name=column_families,json=columnFamilies,proto3" json:"column_families,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 104 // The granularity (e.g. MILLIS, MICROS) at which timestamps are stored in 105 // this table. Timestamps not matching the granularity will be rejected. 106 // Cannot be changed once the table is created. 107 Granularity Table_TimestampGranularity `protobuf:"varint,4,opt,name=granularity,proto3,enum=google.bigtable.admin.table.v1.Table_TimestampGranularity" json:"granularity,omitempty"` 108} 109 110func (x *Table) Reset() { 111 *x = Table{} 112 if protoimpl.UnsafeEnabled { 113 mi := &file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes[0] 114 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 115 ms.StoreMessageInfo(mi) 116 } 117} 118 119func (x *Table) String() string { 120 return protoimpl.X.MessageStringOf(x) 121} 122 123func (*Table) ProtoMessage() {} 124 125func (x *Table) ProtoReflect() protoreflect.Message { 126 mi := &file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes[0] 127 if protoimpl.UnsafeEnabled && x != nil { 128 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 129 if ms.LoadMessageInfo() == nil { 130 ms.StoreMessageInfo(mi) 131 } 132 return ms 133 } 134 return mi.MessageOf(x) 135} 136 137// Deprecated: Use Table.ProtoReflect.Descriptor instead. 138func (*Table) Descriptor() ([]byte, []int) { 139 return file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDescGZIP(), []int{0} 140} 141 142func (x *Table) GetName() string { 143 if x != nil { 144 return x.Name 145 } 146 return "" 147} 148 149func (x *Table) GetCurrentOperation() *longrunning.Operation { 150 if x != nil { 151 return x.CurrentOperation 152 } 153 return nil 154} 155 156func (x *Table) GetColumnFamilies() map[string]*ColumnFamily { 157 if x != nil { 158 return x.ColumnFamilies 159 } 160 return nil 161} 162 163func (x *Table) GetGranularity() Table_TimestampGranularity { 164 if x != nil { 165 return x.Granularity 166 } 167 return Table_MILLIS 168} 169 170// A set of columns within a table which share a common configuration. 171type ColumnFamily struct { 172 state protoimpl.MessageState 173 sizeCache protoimpl.SizeCache 174 unknownFields protoimpl.UnknownFields 175 176 // A unique identifier of the form <table_name>/columnFamilies/[-_.a-zA-Z0-9]+ 177 // The last segment is the same as the "name" field in 178 // google.bigtable.v1.Family. 179 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 180 // Garbage collection expression specified by the following grammar: 181 // GC = EXPR 182 // | "" ; 183 // EXPR = EXPR, "||", EXPR (* lowest precedence *) 184 // | EXPR, "&&", EXPR 185 // | "(", EXPR, ")" (* highest precedence *) 186 // | PROP ; 187 // PROP = "version() >", NUM32 188 // | "age() >", NUM64, [ UNIT ] ; 189 // NUM32 = non-zero-digit { digit } ; (* # NUM32 <= 2^32 - 1 *) 190 // NUM64 = non-zero-digit { digit } ; (* # NUM64 <= 2^63 - 1 *) 191 // UNIT = "d" | "h" | "m" (* d=days, h=hours, m=minutes, else micros *) 192 // GC expressions can be up to 500 characters in length 193 // 194 // The different types of PROP are defined as follows: 195 // version() - cell index, counting from most recent and starting at 1 196 // age() - age of the cell (current time minus cell timestamp) 197 // 198 // Example: "version() > 3 || (age() > 3d && version() > 1)" 199 // drop cells beyond the most recent three, and drop cells older than three 200 // days unless they're the most recent cell in the row/column 201 // 202 // Garbage collection executes opportunistically in the background, and so 203 // it's possible for reads to return a cell even if it matches the active GC 204 // expression for its family. 205 GcExpression string `protobuf:"bytes,2,opt,name=gc_expression,json=gcExpression,proto3" json:"gc_expression,omitempty"` 206 // Garbage collection rule specified as a protobuf. 207 // Supersedes `gc_expression`. 208 // Must serialize to at most 500 bytes. 209 // 210 // NOTE: Garbage collection executes opportunistically in the background, and 211 // so it's possible for reads to return a cell even if it matches the active 212 // GC expression for its family. 213 GcRule *GcRule `protobuf:"bytes,3,opt,name=gc_rule,json=gcRule,proto3" json:"gc_rule,omitempty"` 214} 215 216func (x *ColumnFamily) Reset() { 217 *x = ColumnFamily{} 218 if protoimpl.UnsafeEnabled { 219 mi := &file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes[1] 220 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 221 ms.StoreMessageInfo(mi) 222 } 223} 224 225func (x *ColumnFamily) String() string { 226 return protoimpl.X.MessageStringOf(x) 227} 228 229func (*ColumnFamily) ProtoMessage() {} 230 231func (x *ColumnFamily) ProtoReflect() protoreflect.Message { 232 mi := &file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes[1] 233 if protoimpl.UnsafeEnabled && x != nil { 234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 235 if ms.LoadMessageInfo() == nil { 236 ms.StoreMessageInfo(mi) 237 } 238 return ms 239 } 240 return mi.MessageOf(x) 241} 242 243// Deprecated: Use ColumnFamily.ProtoReflect.Descriptor instead. 244func (*ColumnFamily) Descriptor() ([]byte, []int) { 245 return file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDescGZIP(), []int{1} 246} 247 248func (x *ColumnFamily) GetName() string { 249 if x != nil { 250 return x.Name 251 } 252 return "" 253} 254 255func (x *ColumnFamily) GetGcExpression() string { 256 if x != nil { 257 return x.GcExpression 258 } 259 return "" 260} 261 262func (x *ColumnFamily) GetGcRule() *GcRule { 263 if x != nil { 264 return x.GcRule 265 } 266 return nil 267} 268 269// Rule for determining which cells to delete during garbage collection. 270type GcRule struct { 271 state protoimpl.MessageState 272 sizeCache protoimpl.SizeCache 273 unknownFields protoimpl.UnknownFields 274 275 // Types that are assignable to Rule: 276 // *GcRule_MaxNumVersions 277 // *GcRule_MaxAge 278 // *GcRule_Intersection_ 279 // *GcRule_Union_ 280 Rule isGcRule_Rule `protobuf_oneof:"rule"` 281} 282 283func (x *GcRule) Reset() { 284 *x = GcRule{} 285 if protoimpl.UnsafeEnabled { 286 mi := &file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes[2] 287 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 288 ms.StoreMessageInfo(mi) 289 } 290} 291 292func (x *GcRule) String() string { 293 return protoimpl.X.MessageStringOf(x) 294} 295 296func (*GcRule) ProtoMessage() {} 297 298func (x *GcRule) ProtoReflect() protoreflect.Message { 299 mi := &file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes[2] 300 if protoimpl.UnsafeEnabled && x != nil { 301 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 302 if ms.LoadMessageInfo() == nil { 303 ms.StoreMessageInfo(mi) 304 } 305 return ms 306 } 307 return mi.MessageOf(x) 308} 309 310// Deprecated: Use GcRule.ProtoReflect.Descriptor instead. 311func (*GcRule) Descriptor() ([]byte, []int) { 312 return file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDescGZIP(), []int{2} 313} 314 315func (m *GcRule) GetRule() isGcRule_Rule { 316 if m != nil { 317 return m.Rule 318 } 319 return nil 320} 321 322func (x *GcRule) GetMaxNumVersions() int32 { 323 if x, ok := x.GetRule().(*GcRule_MaxNumVersions); ok { 324 return x.MaxNumVersions 325 } 326 return 0 327} 328 329func (x *GcRule) GetMaxAge() *durationpb.Duration { 330 if x, ok := x.GetRule().(*GcRule_MaxAge); ok { 331 return x.MaxAge 332 } 333 return nil 334} 335 336func (x *GcRule) GetIntersection() *GcRule_Intersection { 337 if x, ok := x.GetRule().(*GcRule_Intersection_); ok { 338 return x.Intersection 339 } 340 return nil 341} 342 343func (x *GcRule) GetUnion() *GcRule_Union { 344 if x, ok := x.GetRule().(*GcRule_Union_); ok { 345 return x.Union 346 } 347 return nil 348} 349 350type isGcRule_Rule interface { 351 isGcRule_Rule() 352} 353 354type GcRule_MaxNumVersions struct { 355 // Delete all cells in a column except the most recent N. 356 MaxNumVersions int32 `protobuf:"varint,1,opt,name=max_num_versions,json=maxNumVersions,proto3,oneof"` 357} 358 359type GcRule_MaxAge struct { 360 // Delete cells in a column older than the given age. 361 // Values must be at least one millisecond, and will be truncated to 362 // microsecond granularity. 363 MaxAge *durationpb.Duration `protobuf:"bytes,2,opt,name=max_age,json=maxAge,proto3,oneof"` 364} 365 366type GcRule_Intersection_ struct { 367 // Delete cells that would be deleted by every nested rule. 368 Intersection *GcRule_Intersection `protobuf:"bytes,3,opt,name=intersection,proto3,oneof"` 369} 370 371type GcRule_Union_ struct { 372 // Delete cells that would be deleted by any nested rule. 373 Union *GcRule_Union `protobuf:"bytes,4,opt,name=union,proto3,oneof"` 374} 375 376func (*GcRule_MaxNumVersions) isGcRule_Rule() {} 377 378func (*GcRule_MaxAge) isGcRule_Rule() {} 379 380func (*GcRule_Intersection_) isGcRule_Rule() {} 381 382func (*GcRule_Union_) isGcRule_Rule() {} 383 384// A GcRule which deletes cells matching all of the given rules. 385type GcRule_Intersection struct { 386 state protoimpl.MessageState 387 sizeCache protoimpl.SizeCache 388 unknownFields protoimpl.UnknownFields 389 390 // Only delete cells which would be deleted by every element of `rules`. 391 Rules []*GcRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` 392} 393 394func (x *GcRule_Intersection) Reset() { 395 *x = GcRule_Intersection{} 396 if protoimpl.UnsafeEnabled { 397 mi := &file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes[4] 398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 399 ms.StoreMessageInfo(mi) 400 } 401} 402 403func (x *GcRule_Intersection) String() string { 404 return protoimpl.X.MessageStringOf(x) 405} 406 407func (*GcRule_Intersection) ProtoMessage() {} 408 409func (x *GcRule_Intersection) ProtoReflect() protoreflect.Message { 410 mi := &file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes[4] 411 if protoimpl.UnsafeEnabled && x != nil { 412 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 413 if ms.LoadMessageInfo() == nil { 414 ms.StoreMessageInfo(mi) 415 } 416 return ms 417 } 418 return mi.MessageOf(x) 419} 420 421// Deprecated: Use GcRule_Intersection.ProtoReflect.Descriptor instead. 422func (*GcRule_Intersection) Descriptor() ([]byte, []int) { 423 return file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDescGZIP(), []int{2, 0} 424} 425 426func (x *GcRule_Intersection) GetRules() []*GcRule { 427 if x != nil { 428 return x.Rules 429 } 430 return nil 431} 432 433// A GcRule which deletes cells matching any of the given rules. 434type GcRule_Union struct { 435 state protoimpl.MessageState 436 sizeCache protoimpl.SizeCache 437 unknownFields protoimpl.UnknownFields 438 439 // Delete cells which would be deleted by any element of `rules`. 440 Rules []*GcRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` 441} 442 443func (x *GcRule_Union) Reset() { 444 *x = GcRule_Union{} 445 if protoimpl.UnsafeEnabled { 446 mi := &file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes[5] 447 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 448 ms.StoreMessageInfo(mi) 449 } 450} 451 452func (x *GcRule_Union) String() string { 453 return protoimpl.X.MessageStringOf(x) 454} 455 456func (*GcRule_Union) ProtoMessage() {} 457 458func (x *GcRule_Union) ProtoReflect() protoreflect.Message { 459 mi := &file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes[5] 460 if protoimpl.UnsafeEnabled && x != nil { 461 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 462 if ms.LoadMessageInfo() == nil { 463 ms.StoreMessageInfo(mi) 464 } 465 return ms 466 } 467 return mi.MessageOf(x) 468} 469 470// Deprecated: Use GcRule_Union.ProtoReflect.Descriptor instead. 471func (*GcRule_Union) Descriptor() ([]byte, []int) { 472 return file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDescGZIP(), []int{2, 1} 473} 474 475func (x *GcRule_Union) GetRules() []*GcRule { 476 if x != nil { 477 return x.Rules 478 } 479 return nil 480} 481 482var File_google_bigtable_admin_table_v1_bigtable_table_data_proto protoreflect.FileDescriptor 483 484var file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDesc = []byte{ 485 0x0a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 486 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2f, 0x76, 0x31, 487 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 488 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 489 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 490 0x6e, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 491 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 492 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 493 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 494 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 495 0xbe, 0x03, 0x0a, 0x05, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 496 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4a, 0x0a, 497 0x11, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 498 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 499 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 500 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 501 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x62, 0x0a, 0x0f, 0x63, 0x6f, 0x6c, 502 0x75, 0x6d, 0x6e, 0x5f, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 503 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 504 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 505 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 506 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x63, 507 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x69, 0x65, 0x73, 0x12, 0x5c, 0x0a, 508 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 509 0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 510 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 511 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 512 0x61, 0x6d, 0x70, 0x47, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x0b, 513 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x1a, 0x6f, 0x0a, 0x13, 0x43, 514 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 515 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 516 0x03, 0x6b, 0x65, 0x79, 0x12, 0x42, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 517 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 518 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x74, 0x61, 0x62, 0x6c, 519 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x46, 0x61, 0x6d, 0x69, 0x6c, 520 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x22, 0x0a, 0x14, 521 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x47, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 522 0x72, 0x69, 0x74, 0x79, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x10, 0x00, 523 0x22, 0x88, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x46, 0x61, 0x6d, 0x69, 0x6c, 524 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 525 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x67, 0x63, 0x5f, 0x65, 0x78, 0x70, 0x72, 526 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x63, 527 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x07, 0x67, 0x63, 528 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 529 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 530 0x6d, 0x69, 0x6e, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x63, 0x52, 531 0x75, 0x6c, 0x65, 0x52, 0x06, 0x67, 0x63, 0x52, 0x75, 0x6c, 0x65, 0x22, 0xa8, 0x03, 0x0a, 0x06, 532 0x47, 0x63, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x6e, 0x75, 533 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 534 0x48, 0x00, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 535 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 536 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 537 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 538 0x52, 0x06, 0x6d, 0x61, 0x78, 0x41, 0x67, 0x65, 0x12, 0x59, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x65, 539 0x72, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 540 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 541 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 542 0x47, 0x63, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x65, 0x63, 0x74, 543 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x65, 0x63, 0x74, 544 0x69, 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 545 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 546 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 547 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x63, 0x52, 0x75, 0x6c, 0x65, 0x2e, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 548 0x48, 0x00, 0x52, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x1a, 0x4c, 0x0a, 0x0c, 0x49, 0x6e, 0x74, 549 0x65, 0x72, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x05, 0x72, 0x75, 0x6c, 550 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 551 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 552 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x63, 0x52, 0x75, 0x6c, 0x65, 553 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x1a, 0x45, 0x0a, 0x05, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 554 0x12, 0x3c, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 555 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 556 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x76, 0x31, 557 0x2e, 0x47, 0x63, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x06, 558 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x42, 0x83, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 559 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 560 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x16, 0x42, 561 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 562 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 563 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 564 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x62, 565 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x74, 0x61, 566 0x62, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x62, 0x06, 0x70, 0x72, 567 0x6f, 0x74, 0x6f, 0x33, 568} 569 570var ( 571 file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDescOnce sync.Once 572 file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDescData = file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDesc 573) 574 575func file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDescGZIP() []byte { 576 file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDescOnce.Do(func() { 577 file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDescData) 578 }) 579 return file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDescData 580} 581 582var file_google_bigtable_admin_table_v1_bigtable_table_data_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 583var file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 584var file_google_bigtable_admin_table_v1_bigtable_table_data_proto_goTypes = []interface{}{ 585 (Table_TimestampGranularity)(0), // 0: google.bigtable.admin.table.v1.Table.TimestampGranularity 586 (*Table)(nil), // 1: google.bigtable.admin.table.v1.Table 587 (*ColumnFamily)(nil), // 2: google.bigtable.admin.table.v1.ColumnFamily 588 (*GcRule)(nil), // 3: google.bigtable.admin.table.v1.GcRule 589 nil, // 4: google.bigtable.admin.table.v1.Table.ColumnFamiliesEntry 590 (*GcRule_Intersection)(nil), // 5: google.bigtable.admin.table.v1.GcRule.Intersection 591 (*GcRule_Union)(nil), // 6: google.bigtable.admin.table.v1.GcRule.Union 592 (*longrunning.Operation)(nil), // 7: google.longrunning.Operation 593 (*durationpb.Duration)(nil), // 8: google.protobuf.Duration 594} 595var file_google_bigtable_admin_table_v1_bigtable_table_data_proto_depIdxs = []int32{ 596 7, // 0: google.bigtable.admin.table.v1.Table.current_operation:type_name -> google.longrunning.Operation 597 4, // 1: google.bigtable.admin.table.v1.Table.column_families:type_name -> google.bigtable.admin.table.v1.Table.ColumnFamiliesEntry 598 0, // 2: google.bigtable.admin.table.v1.Table.granularity:type_name -> google.bigtable.admin.table.v1.Table.TimestampGranularity 599 3, // 3: google.bigtable.admin.table.v1.ColumnFamily.gc_rule:type_name -> google.bigtable.admin.table.v1.GcRule 600 8, // 4: google.bigtable.admin.table.v1.GcRule.max_age:type_name -> google.protobuf.Duration 601 5, // 5: google.bigtable.admin.table.v1.GcRule.intersection:type_name -> google.bigtable.admin.table.v1.GcRule.Intersection 602 6, // 6: google.bigtable.admin.table.v1.GcRule.union:type_name -> google.bigtable.admin.table.v1.GcRule.Union 603 2, // 7: google.bigtable.admin.table.v1.Table.ColumnFamiliesEntry.value:type_name -> google.bigtable.admin.table.v1.ColumnFamily 604 3, // 8: google.bigtable.admin.table.v1.GcRule.Intersection.rules:type_name -> google.bigtable.admin.table.v1.GcRule 605 3, // 9: google.bigtable.admin.table.v1.GcRule.Union.rules:type_name -> google.bigtable.admin.table.v1.GcRule 606 10, // [10:10] is the sub-list for method output_type 607 10, // [10:10] is the sub-list for method input_type 608 10, // [10:10] is the sub-list for extension type_name 609 10, // [10:10] is the sub-list for extension extendee 610 0, // [0:10] is the sub-list for field type_name 611} 612 613func init() { file_google_bigtable_admin_table_v1_bigtable_table_data_proto_init() } 614func file_google_bigtable_admin_table_v1_bigtable_table_data_proto_init() { 615 if File_google_bigtable_admin_table_v1_bigtable_table_data_proto != nil { 616 return 617 } 618 if !protoimpl.UnsafeEnabled { 619 file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 620 switch v := v.(*Table); i { 621 case 0: 622 return &v.state 623 case 1: 624 return &v.sizeCache 625 case 2: 626 return &v.unknownFields 627 default: 628 return nil 629 } 630 } 631 file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 632 switch v := v.(*ColumnFamily); i { 633 case 0: 634 return &v.state 635 case 1: 636 return &v.sizeCache 637 case 2: 638 return &v.unknownFields 639 default: 640 return nil 641 } 642 } 643 file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 644 switch v := v.(*GcRule); i { 645 case 0: 646 return &v.state 647 case 1: 648 return &v.sizeCache 649 case 2: 650 return &v.unknownFields 651 default: 652 return nil 653 } 654 } 655 file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 656 switch v := v.(*GcRule_Intersection); i { 657 case 0: 658 return &v.state 659 case 1: 660 return &v.sizeCache 661 case 2: 662 return &v.unknownFields 663 default: 664 return nil 665 } 666 } 667 file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 668 switch v := v.(*GcRule_Union); i { 669 case 0: 670 return &v.state 671 case 1: 672 return &v.sizeCache 673 case 2: 674 return &v.unknownFields 675 default: 676 return nil 677 } 678 } 679 } 680 file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes[2].OneofWrappers = []interface{}{ 681 (*GcRule_MaxNumVersions)(nil), 682 (*GcRule_MaxAge)(nil), 683 (*GcRule_Intersection_)(nil), 684 (*GcRule_Union_)(nil), 685 } 686 type x struct{} 687 out := protoimpl.TypeBuilder{ 688 File: protoimpl.DescBuilder{ 689 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 690 RawDescriptor: file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDesc, 691 NumEnums: 1, 692 NumMessages: 6, 693 NumExtensions: 0, 694 NumServices: 0, 695 }, 696 GoTypes: file_google_bigtable_admin_table_v1_bigtable_table_data_proto_goTypes, 697 DependencyIndexes: file_google_bigtable_admin_table_v1_bigtable_table_data_proto_depIdxs, 698 EnumInfos: file_google_bigtable_admin_table_v1_bigtable_table_data_proto_enumTypes, 699 MessageInfos: file_google_bigtable_admin_table_v1_bigtable_table_data_proto_msgTypes, 700 }.Build() 701 File_google_bigtable_admin_table_v1_bigtable_table_data_proto = out.File 702 file_google_bigtable_admin_table_v1_bigtable_table_data_proto_rawDesc = nil 703 file_google_bigtable_admin_table_v1_bigtable_table_data_proto_goTypes = nil 704 file_google_bigtable_admin_table_v1_bigtable_table_data_proto_depIdxs = nil 705} 706