| 1 |
// Copyright 2025 Google LLC |
| 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.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/spanner/v1/keys.proto |
| 20 |
|
| 21 |
package spannerpb |
| 22 |
|
| 23 |
import ( |
| 24 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 25 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 26 |
structpb "google.golang.org/protobuf/types/known/structpb" |
| 27 |
reflect "reflect" |
| 28 |
sync "sync" |
| 29 |
) |
| 30 |
|
| 31 |
const ( |
| 32 |
// Verify that this generated code is sufficiently up-to-date. |
| 33 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 34 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 36 |
) |
| 37 |
|
| 38 |
// KeyRange represents a range of rows in a table or index. |
| 39 |
// |
| 40 |
// A range has a start key and an end key. These keys can be open or |
| 41 |
// closed, indicating if the range includes rows with that key. |
| 42 |
// |
| 43 |
// Keys are represented by lists, where the ith value in the list |
| 44 |
// corresponds to the ith component of the table or index primary key. |
| 45 |
// Individual values are encoded as described |
| 46 |
// [here][google.spanner.v1.TypeCode]. |
| 47 |
// |
| 48 |
// For example, consider the following table definition: |
| 49 |
// |
| 50 |
// CREATE TABLE UserEvents ( |
| 51 |
// UserName STRING(MAX), |
| 52 |
// EventDate STRING(10) |
| 53 |
// ) PRIMARY KEY(UserName, EventDate); |
| 54 |
// |
| 55 |
// The following keys name rows in this table: |
| 56 |
// |
| 57 |
// ["Bob", "2014-09-23"] |
| 58 |
// ["Alfred", "2015-06-12"] |
| 59 |
// |
| 60 |
// Since the `UserEvents` table's `PRIMARY KEY` clause names two |
| 61 |
// columns, each `UserEvents` key has two elements; the first is the |
| 62 |
// `UserName`, and the second is the `EventDate`. |
| 63 |
// |
| 64 |
// Key ranges with multiple components are interpreted |
| 65 |
// lexicographically by component using the table or index key's declared |
| 66 |
// sort order. For example, the following range returns all events for |
| 67 |
// user `"Bob"` that occurred in the year 2015: |
| 68 |
// |
| 69 |
// "start_closed": ["Bob", "2015-01-01"] |
| 70 |
// "end_closed": ["Bob", "2015-12-31"] |
| 71 |
// |
| 72 |
// Start and end keys can omit trailing key components. This affects the |
| 73 |
// inclusion and exclusion of rows that exactly match the provided key |
| 74 |
// components: if the key is closed, then rows that exactly match the |
| 75 |
// provided components are included; if the key is open, then rows |
| 76 |
// that exactly match are not included. |
| 77 |
// |
| 78 |
// For example, the following range includes all events for `"Bob"` that |
| 79 |
// occurred during and after the year 2000: |
| 80 |
// |
| 81 |
// "start_closed": ["Bob", "2000-01-01"] |
| 82 |
// "end_closed": ["Bob"] |
| 83 |
// |
| 84 |
// The next example retrieves all events for `"Bob"`: |
| 85 |
// |
| 86 |
// "start_closed": ["Bob"] |
| 87 |
// "end_closed": ["Bob"] |
| 88 |
// |
| 89 |
// To retrieve events before the year 2000: |
| 90 |
// |
| 91 |
// "start_closed": ["Bob"] |
| 92 |
// "end_open": ["Bob", "2000-01-01"] |
| 93 |
// |
| 94 |
// The following range includes all rows in the table: |
| 95 |
// |
| 96 |
// "start_closed": [] |
| 97 |
// "end_closed": [] |
| 98 |
// |
| 99 |
// This range returns all users whose `UserName` begins with any |
| 100 |
// character from A to C: |
| 101 |
// |
| 102 |
// "start_closed": ["A"] |
| 103 |
// "end_open": ["D"] |
| 104 |
// |
| 105 |
// This range returns all users whose `UserName` begins with B: |
| 106 |
// |
| 107 |
// "start_closed": ["B"] |
| 108 |
// "end_open": ["C"] |
| 109 |
// |
| 110 |
// Key ranges honor column sort order. For example, suppose a table is |
| 111 |
// defined as follows: |
| 112 |
// |
| 113 |
// CREATE TABLE DescendingSortedTable { |
| 114 |
// Key INT64, |
| 115 |
// ... |
| 116 |
// ) PRIMARY KEY(Key DESC); |
| 117 |
// |
| 118 |
// The following range retrieves all rows with key values between 1 |
| 119 |
// and 100 inclusive: |
| 120 |
// |
| 121 |
// "start_closed": ["100"] |
| 122 |
// "end_closed": ["1"] |
| 123 |
// |
| 124 |
// Note that 100 is passed as the start, and 1 is passed as the end, |
| 125 |
// because `Key` is a descending column in the schema. |
| 126 |
type KeyRange struct { |
| 127 |
state protoimpl.MessageState |
| 128 |
sizeCache protoimpl.SizeCache |
| 129 |
unknownFields protoimpl.UnknownFields |
| 130 |
|
| 131 |
// The start key must be provided. It can be either closed or open. |
| 132 |
// |
| 133 |
// Types that are assignable to StartKeyType: |
| 134 |
// |
| 135 |
// *KeyRange_StartClosed |
| 136 |
// *KeyRange_StartOpen |
| 137 |
StartKeyType isKeyRange_StartKeyType `protobuf_oneof:"start_key_type"` |
| 138 |
// The end key must be provided. It can be either closed or open. |
| 139 |
// |
| 140 |
// Types that are assignable to EndKeyType: |
| 141 |
// |
| 142 |
// *KeyRange_EndClosed |
| 143 |
// *KeyRange_EndOpen |
| 144 |
EndKeyType isKeyRange_EndKeyType `protobuf_oneof:"end_key_type"` |
| 145 |
} |
| 146 |
|
| 147 |
func (x *KeyRange) Reset() { |
| 148 |
*x = KeyRange{} |
| 149 |
mi := &file_google_spanner_v1_keys_proto_msgTypes[0] |
| 150 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 151 |
ms.StoreMessageInfo(mi) |
| 152 |
} |
| 153 |
|
| 154 |
func (x *KeyRange) String() string { |
| 155 |
return protoimpl.X.MessageStringOf(x) |
| 156 |
} |
| 157 |
|
| 158 |
func (*KeyRange) ProtoMessage() {} |
| 159 |
|
| 160 |
func (x *KeyRange) ProtoReflect() protoreflect.Message { |
| 161 |
mi := &file_google_spanner_v1_keys_proto_msgTypes[0] |
| 162 |
if x != nil { |
| 163 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 164 |
if ms.LoadMessageInfo() == nil { |
| 165 |
ms.StoreMessageInfo(mi) |
| 166 |
} |
| 167 |
return ms |
| 168 |
} |
| 169 |
return mi.MessageOf(x) |
| 170 |
} |
| 171 |
|
| 172 |
// Deprecated: Use KeyRange.ProtoReflect.Descriptor instead. |
| 173 |
func (*KeyRange) Descriptor() ([]byte, []int) { |
| 174 |
return file_google_spanner_v1_keys_proto_rawDescGZIP(), []int{0} |
| 175 |
} |
| 176 |
|
| 177 |
func (m *KeyRange) GetStartKeyType() isKeyRange_StartKeyType { |
| 178 |
if m != nil { |
| 179 |
return m.StartKeyType |
| 180 |
} |
| 181 |
return nil |
| 182 |
} |
| 183 |
|
| 184 |
func (x *KeyRange) GetStartClosed() *structpb.ListValue { |
| 185 |
if x, ok := x.GetStartKeyType().(*KeyRange_StartClosed); ok { |
| 186 |
return x.StartClosed |
| 187 |
} |
| 188 |
return nil |
| 189 |
} |
| 190 |
|
| 191 |
func (x *KeyRange) GetStartOpen() *structpb.ListValue { |
| 192 |
if x, ok := x.GetStartKeyType().(*KeyRange_StartOpen); ok { |
| 193 |
return x.StartOpen |
| 194 |
} |
| 195 |
return nil |
| 196 |
} |
| 197 |
|
| 198 |
func (m *KeyRange) GetEndKeyType() isKeyRange_EndKeyType { |
| 199 |
if m != nil { |
| 200 |
return m.EndKeyType |
| 201 |
} |
| 202 |
return nil |
| 203 |
} |
| 204 |
|
| 205 |
func (x *KeyRange) GetEndClosed() *structpb.ListValue { |
| 206 |
if x, ok := x.GetEndKeyType().(*KeyRange_EndClosed); ok { |
| 207 |
return x.EndClosed |
| 208 |
} |
| 209 |
return nil |
| 210 |
} |
| 211 |
|
| 212 |
func (x *KeyRange) GetEndOpen() *structpb.ListValue { |
| 213 |
if x, ok := x.GetEndKeyType().(*KeyRange_EndOpen); ok { |
| 214 |
return x.EndOpen |
| 215 |
} |
| 216 |
return nil |
| 217 |
} |
| 218 |
|
| 219 |
type isKeyRange_StartKeyType interface { |
| 220 |
isKeyRange_StartKeyType() |
| 221 |
} |
| 222 |
|
| 223 |
type KeyRange_StartClosed struct { |
| 224 |
// If the start is closed, then the range includes all rows whose |
| 225 |
// first `len(start_closed)` key columns exactly match `start_closed`. |
| 226 |
StartClosed *structpb.ListValue `protobuf:"bytes,1,opt,name=start_closed,json=startClosed,proto3,oneof"` |
| 227 |
} |
| 228 |
|
| 229 |
type KeyRange_StartOpen struct { |
| 230 |
// If the start is open, then the range excludes rows whose first |
| 231 |
// `len(start_open)` key columns exactly match `start_open`. |
| 232 |
StartOpen *structpb.ListValue `protobuf:"bytes,2,opt,name=start_open,json=startOpen,proto3,oneof"` |
| 233 |
} |
| 234 |
|
| 235 |
func (*KeyRange_StartClosed) isKeyRange_StartKeyType() {} |
| 236 |
|
| 237 |
func (*KeyRange_StartOpen) isKeyRange_StartKeyType() {} |
| 238 |
|
| 239 |
type isKeyRange_EndKeyType interface { |
| 240 |
isKeyRange_EndKeyType() |
| 241 |
} |
| 242 |
|
| 243 |
type KeyRange_EndClosed struct { |
| 244 |
// If the end is closed, then the range includes all rows whose |
| 245 |
// first `len(end_closed)` key columns exactly match `end_closed`. |
| 246 |
EndClosed *structpb.ListValue `protobuf:"bytes,3,opt,name=end_closed,json=endClosed,proto3,oneof"` |
| 247 |
} |
| 248 |
|
| 249 |
type KeyRange_EndOpen struct { |
| 250 |
// If the end is open, then the range excludes rows whose first |
| 251 |
// `len(end_open)` key columns exactly match `end_open`. |
| 252 |
EndOpen *structpb.ListValue `protobuf:"bytes,4,opt,name=end_open,json=endOpen,proto3,oneof"` |
| 253 |
} |
| 254 |
|
| 255 |
func (*KeyRange_EndClosed) isKeyRange_EndKeyType() {} |
| 256 |
|
| 257 |
func (*KeyRange_EndOpen) isKeyRange_EndKeyType() {} |
| 258 |
|
| 259 |
// `KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All |
| 260 |
// the keys are expected to be in the same table or index. The keys need |
| 261 |
// not be sorted in any particular way. |
| 262 |
// |
| 263 |
// If the same key is specified multiple times in the set (for example |
| 264 |
// if two ranges, two keys, or a key and a range overlap), Cloud Spanner |
| 265 |
// behaves as if the key were only specified once. |
| 266 |
type KeySet struct { |
| 267 |
state protoimpl.MessageState |
| 268 |
sizeCache protoimpl.SizeCache |
| 269 |
unknownFields protoimpl.UnknownFields |
| 270 |
|
| 271 |
// A list of specific keys. Entries in `keys` should have exactly as |
| 272 |
// many elements as there are columns in the primary or index key |
| 273 |
// with which this `KeySet` is used. Individual key values are |
| 274 |
// encoded as described [here][google.spanner.v1.TypeCode]. |
| 275 |
Keys []*structpb.ListValue `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` |
| 276 |
// A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more |
| 277 |
// information about key range specifications. |
| 278 |
Ranges []*KeyRange `protobuf:"bytes,2,rep,name=ranges,proto3" json:"ranges,omitempty"` |
| 279 |
// For convenience `all` can be set to `true` to indicate that this |
| 280 |
// `KeySet` matches all keys in the table or index. Note that any keys |
| 281 |
// specified in `keys` or `ranges` are only yielded once. |
| 282 |
All bool `protobuf:"varint,3,opt,name=all,proto3" json:"all,omitempty"` |
| 283 |
} |
| 284 |
|
| 285 |
func (x *KeySet) Reset() { |
| 286 |
*x = KeySet{} |
| 287 |
mi := &file_google_spanner_v1_keys_proto_msgTypes[1] |
| 288 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 289 |
ms.StoreMessageInfo(mi) |
| 290 |
} |
| 291 |
|
| 292 |
func (x *KeySet) String() string { |
| 293 |
return protoimpl.X.MessageStringOf(x) |
| 294 |
} |
| 295 |
|
| 296 |
func (*KeySet) ProtoMessage() {} |
| 297 |
|
| 298 |
func (x *KeySet) ProtoReflect() protoreflect.Message { |
| 299 |
mi := &file_google_spanner_v1_keys_proto_msgTypes[1] |
| 300 |
if 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 KeySet.ProtoReflect.Descriptor instead. |
| 311 |
func (*KeySet) Descriptor() ([]byte, []int) { |
| 312 |
return file_google_spanner_v1_keys_proto_rawDescGZIP(), []int{1} |
| 313 |
} |
| 314 |
|
| 315 |
func (x *KeySet) GetKeys() []*structpb.ListValue { |
| 316 |
if x != nil { |
| 317 |
return x.Keys |
| 318 |
} |
| 319 |
return nil |
| 320 |
} |
| 321 |
|
| 322 |
func (x *KeySet) GetRanges() []*KeyRange { |
| 323 |
if x != nil { |
| 324 |
return x.Ranges |
| 325 |
} |
| 326 |
return nil |
| 327 |
} |
| 328 |
|
| 329 |
func (x *KeySet) GetAll() bool { |
| 330 |
if x != nil { |
| 331 |
return x.All |
| 332 |
} |
| 333 |
return false |
| 334 |
} |
| 335 |
|
| 336 |
var File_google_spanner_v1_keys_proto protoreflect.FileDescriptor |
| 337 |
|
| 338 |
var file_google_spanner_v1_keys_proto_rawDesc = []byte{ |
| 339 |
0x0a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, |
| 340 |
0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, |
| 341 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, |
| 342 |
0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 343 |
0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, |
| 344 |
0xa0, 0x02, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x0c, |
| 345 |
0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, |
| 346 |
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 347 |
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, |
| 348 |
0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x3b, 0x0a, |
| 349 |
0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 350 |
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 351 |
0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, |
| 352 |
0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x3b, 0x0a, 0x0a, 0x65, 0x6e, |
| 353 |
0x64, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, |
| 354 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 355 |
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x01, 0x52, 0x09, 0x65, 0x6e, |
| 356 |
0x64, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x6f, |
| 357 |
0x70, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 358 |
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, |
| 359 |
0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x01, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x4f, 0x70, 0x65, 0x6e, |
| 360 |
0x42, 0x10, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x74, 0x79, |
| 361 |
0x70, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x65, 0x6e, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x74, 0x79, |
| 362 |
0x70, 0x65, 0x22, 0x7f, 0x0a, 0x06, 0x4b, 0x65, 0x79, 0x53, 0x65, 0x74, 0x12, 0x2e, 0x0a, 0x04, |
| 363 |
0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, |
| 364 |
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, |
| 365 |
0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x12, 0x33, 0x0a, 0x06, |
| 366 |
0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, |
| 367 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, |
| 368 |
0x2e, 0x4b, 0x65, 0x79, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, |
| 369 |
0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, |
| 370 |
0x61, 0x6c, 0x6c, 0x42, 0xac, 0x01, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 371 |
0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x4b, |
| 372 |
0x65, 0x79, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x63, 0x6c, 0x6f, 0x75, |
| 373 |
0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, |
| 374 |
0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x70, |
| 375 |
0x61, 0x6e, 0x6e, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x70, |
| 376 |
0x62, 0xaa, 0x02, 0x17, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, |
| 377 |
0x2e, 0x53, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x17, 0x47, 0x6f, |
| 378 |
0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x70, 0x61, 0x6e, 0x6e, |
| 379 |
0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, |
| 380 |
0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x3a, 0x3a, |
| 381 |
0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 382 |
} |
| 383 |
|
| 384 |
var ( |
| 385 |
file_google_spanner_v1_keys_proto_rawDescOnce sync.Once |
| 386 |
file_google_spanner_v1_keys_proto_rawDescData = file_google_spanner_v1_keys_proto_rawDesc |
| 387 |
) |
| 388 |
|
| 389 |
func file_google_spanner_v1_keys_proto_rawDescGZIP() []byte { |
| 390 |
file_google_spanner_v1_keys_proto_rawDescOnce.Do(func() { |
| 391 |
file_google_spanner_v1_keys_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_spanner_v1_keys_proto_rawDescData) |
| 392 |
}) |
| 393 |
return file_google_spanner_v1_keys_proto_rawDescData |
| 394 |
} |
| 395 |
|
| 396 |
var file_google_spanner_v1_keys_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 397 |
var file_google_spanner_v1_keys_proto_goTypes = []any{ |
| 398 |
(*KeyRange)(nil), // 0: google.spanner.v1.KeyRange |
| 399 |
(*KeySet)(nil), // 1: google.spanner.v1.KeySet |
| 400 |
(*structpb.ListValue)(nil), // 2: google.protobuf.ListValue |
| 401 |
} |
| 402 |
var file_google_spanner_v1_keys_proto_depIdxs = []int32{ |
| 403 |
2, // 0: google.spanner.v1.KeyRange.start_closed:type_name -> google.protobuf.ListValue |
| 404 |
2, // 1: google.spanner.v1.KeyRange.start_open:type_name -> google.protobuf.ListValue |
| 405 |
2, // 2: google.spanner.v1.KeyRange.end_closed:type_name -> google.protobuf.ListValue |
| 406 |
2, // 3: google.spanner.v1.KeyRange.end_open:type_name -> google.protobuf.ListValue |
| 407 |
2, // 4: google.spanner.v1.KeySet.keys:type_name -> google.protobuf.ListValue |
| 408 |
0, // 5: google.spanner.v1.KeySet.ranges:type_name -> google.spanner.v1.KeyRange |
| 409 |
6, // [6:6] is the sub-list for method output_type |
| 410 |
6, // [6:6] is the sub-list for method input_type |
| 411 |
6, // [6:6] is the sub-list for extension type_name |
| 412 |
6, // [6:6] is the sub-list for extension extendee |
| 413 |
0, // [0:6] is the sub-list for field type_name |
| 414 |
} |
| 415 |
|
| 416 |
func init() { file_google_spanner_v1_keys_proto_init() } |
| 417 |
func file_google_spanner_v1_keys_proto_init() { |
| 418 |
if File_google_spanner_v1_keys_proto != nil { |
| 419 |
return |
| 420 |
} |
| 421 |
file_google_spanner_v1_keys_proto_msgTypes[0].OneofWrappers = []any{ |
| 422 |
(*KeyRange_StartClosed)(nil), |
| 423 |
(*KeyRange_StartOpen)(nil), |
| 424 |
(*KeyRange_EndClosed)(nil), |
| 425 |
(*KeyRange_EndOpen)(nil), |
| 426 |
} |
| 427 |
type x struct{} |
| 428 |
out := protoimpl.TypeBuilder{ |
| 429 |
File: protoimpl.DescBuilder{ |
| 430 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 431 |
RawDescriptor: file_google_spanner_v1_keys_proto_rawDesc, |
| 432 |
NumEnums: 0, |
| 433 |
NumMessages: 2, |
| 434 |
NumExtensions: 0, |
| 435 |
NumServices: 0, |
| 436 |
}, |
| 437 |
GoTypes: file_google_spanner_v1_keys_proto_goTypes, |
| 438 |
DependencyIndexes: file_google_spanner_v1_keys_proto_depIdxs, |
| 439 |
MessageInfos: file_google_spanner_v1_keys_proto_msgTypes, |
| 440 |
}.Build() |
| 441 |
File_google_spanner_v1_keys_proto = out.File |
| 442 |
file_google_spanner_v1_keys_proto_rawDesc = nil |
| 443 |
file_google_spanner_v1_keys_proto_goTypes = nil |
| 444 |
file_google_spanner_v1_keys_proto_depIdxs = nil |
| 445 |
} |