| 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/datastore/v1/datastore.proto |
| 20 |
|
| 21 |
package datastorepb |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 26 |
grpc "google.golang.org/grpc" |
| 27 |
codes "google.golang.org/grpc/codes" |
| 28 |
status "google.golang.org/grpc/status" |
| 29 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 30 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 31 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 32 |
reflect "reflect" |
| 33 |
sync "sync" |
| 34 |
) |
| 35 |
|
| 36 |
const ( |
| 37 |
// Verify that this generated code is sufficiently up-to-date. |
| 38 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 39 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 40 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 41 |
) |
| 42 |
|
| 43 |
// The modes available for commits. |
| 44 |
type CommitRequest_Mode int32 |
| 45 |
|
| 46 |
const ( |
| 47 |
// Unspecified. This value must not be used. |
| 48 |
CommitRequest_MODE_UNSPECIFIED CommitRequest_Mode = 0 |
| 49 |
// Transactional: The mutations are either all applied, or none are applied. |
| 50 |
// Learn about transactions |
| 51 |
// [here](https://cloud.google.com/datastore/docs/concepts/transactions). |
| 52 |
CommitRequest_TRANSACTIONAL CommitRequest_Mode = 1 |
| 53 |
// Non-transactional: The mutations may not apply as all or none. |
| 54 |
CommitRequest_NON_TRANSACTIONAL CommitRequest_Mode = 2 |
| 55 |
) |
| 56 |
|
| 57 |
// Enum value maps for CommitRequest_Mode. |
| 58 |
var ( |
| 59 |
CommitRequest_Mode_name = map[int32]string{ |
| 60 |
0: "MODE_UNSPECIFIED", |
| 61 |
1: "TRANSACTIONAL", |
| 62 |
2: "NON_TRANSACTIONAL", |
| 63 |
} |
| 64 |
CommitRequest_Mode_value = map[string]int32{ |
| 65 |
"MODE_UNSPECIFIED": 0, |
| 66 |
"TRANSACTIONAL": 1, |
| 67 |
"NON_TRANSACTIONAL": 2, |
| 68 |
} |
| 69 |
) |
| 70 |
|
| 71 |
func (x CommitRequest_Mode) Enum() *CommitRequest_Mode { |
| 72 |
p := new(CommitRequest_Mode) |
| 73 |
*p = x |
| 74 |
return p |
| 75 |
} |
| 76 |
|
| 77 |
func (x CommitRequest_Mode) String() string { |
| 78 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 79 |
} |
| 80 |
|
| 81 |
func (CommitRequest_Mode) Descriptor() protoreflect.EnumDescriptor { |
| 82 |
return file_google_datastore_v1_datastore_proto_enumTypes[0].Descriptor() |
| 83 |
} |
| 84 |
|
| 85 |
func (CommitRequest_Mode) Type() protoreflect.EnumType { |
| 86 |
return &file_google_datastore_v1_datastore_proto_enumTypes[0] |
| 87 |
} |
| 88 |
|
| 89 |
func (x CommitRequest_Mode) Number() protoreflect.EnumNumber { |
| 90 |
return protoreflect.EnumNumber(x) |
| 91 |
} |
| 92 |
|
| 93 |
// Deprecated: Use CommitRequest_Mode.Descriptor instead. |
| 94 |
func (CommitRequest_Mode) EnumDescriptor() ([]byte, []int) { |
| 95 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{10, 0} |
| 96 |
} |
| 97 |
|
| 98 |
// The possible ways to resolve a conflict detected in a mutation. |
| 99 |
type Mutation_ConflictResolutionStrategy int32 |
| 100 |
|
| 101 |
const ( |
| 102 |
// Unspecified. Defaults to `SERVER_VALUE`. |
| 103 |
Mutation_STRATEGY_UNSPECIFIED Mutation_ConflictResolutionStrategy = 0 |
| 104 |
// The server entity is kept. |
| 105 |
Mutation_SERVER_VALUE Mutation_ConflictResolutionStrategy = 1 |
| 106 |
// The whole commit request fails. |
| 107 |
Mutation_FAIL Mutation_ConflictResolutionStrategy = 3 |
| 108 |
) |
| 109 |
|
| 110 |
// Enum value maps for Mutation_ConflictResolutionStrategy. |
| 111 |
var ( |
| 112 |
Mutation_ConflictResolutionStrategy_name = map[int32]string{ |
| 113 |
0: "STRATEGY_UNSPECIFIED", |
| 114 |
1: "SERVER_VALUE", |
| 115 |
3: "FAIL", |
| 116 |
} |
| 117 |
Mutation_ConflictResolutionStrategy_value = map[string]int32{ |
| 118 |
"STRATEGY_UNSPECIFIED": 0, |
| 119 |
"SERVER_VALUE": 1, |
| 120 |
"FAIL": 3, |
| 121 |
} |
| 122 |
) |
| 123 |
|
| 124 |
func (x Mutation_ConflictResolutionStrategy) Enum() *Mutation_ConflictResolutionStrategy { |
| 125 |
p := new(Mutation_ConflictResolutionStrategy) |
| 126 |
*p = x |
| 127 |
return p |
| 128 |
} |
| 129 |
|
| 130 |
func (x Mutation_ConflictResolutionStrategy) String() string { |
| 131 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 132 |
} |
| 133 |
|
| 134 |
func (Mutation_ConflictResolutionStrategy) Descriptor() protoreflect.EnumDescriptor { |
| 135 |
return file_google_datastore_v1_datastore_proto_enumTypes[1].Descriptor() |
| 136 |
} |
| 137 |
|
| 138 |
func (Mutation_ConflictResolutionStrategy) Type() protoreflect.EnumType { |
| 139 |
return &file_google_datastore_v1_datastore_proto_enumTypes[1] |
| 140 |
} |
| 141 |
|
| 142 |
func (x Mutation_ConflictResolutionStrategy) Number() protoreflect.EnumNumber { |
| 143 |
return protoreflect.EnumNumber(x) |
| 144 |
} |
| 145 |
|
| 146 |
// Deprecated: Use Mutation_ConflictResolutionStrategy.Descriptor instead. |
| 147 |
func (Mutation_ConflictResolutionStrategy) EnumDescriptor() ([]byte, []int) { |
| 148 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{16, 0} |
| 149 |
} |
| 150 |
|
| 151 |
// A value that is calculated by the server. |
| 152 |
type PropertyTransform_ServerValue int32 |
| 153 |
|
| 154 |
const ( |
| 155 |
// Unspecified. This value must not be used. |
| 156 |
PropertyTransform_SERVER_VALUE_UNSPECIFIED PropertyTransform_ServerValue = 0 |
| 157 |
// The time at which the server processed the request, with millisecond |
| 158 |
// precision. If used on multiple properties (same or different entities) |
| 159 |
// in a transaction, all the properties will get the same server timestamp. |
| 160 |
PropertyTransform_REQUEST_TIME PropertyTransform_ServerValue = 1 |
| 161 |
) |
| 162 |
|
| 163 |
// Enum value maps for PropertyTransform_ServerValue. |
| 164 |
var ( |
| 165 |
PropertyTransform_ServerValue_name = map[int32]string{ |
| 166 |
0: "SERVER_VALUE_UNSPECIFIED", |
| 167 |
1: "REQUEST_TIME", |
| 168 |
} |
| 169 |
PropertyTransform_ServerValue_value = map[string]int32{ |
| 170 |
"SERVER_VALUE_UNSPECIFIED": 0, |
| 171 |
"REQUEST_TIME": 1, |
| 172 |
} |
| 173 |
) |
| 174 |
|
| 175 |
func (x PropertyTransform_ServerValue) Enum() *PropertyTransform_ServerValue { |
| 176 |
p := new(PropertyTransform_ServerValue) |
| 177 |
*p = x |
| 178 |
return p |
| 179 |
} |
| 180 |
|
| 181 |
func (x PropertyTransform_ServerValue) String() string { |
| 182 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 183 |
} |
| 184 |
|
| 185 |
func (PropertyTransform_ServerValue) Descriptor() protoreflect.EnumDescriptor { |
| 186 |
return file_google_datastore_v1_datastore_proto_enumTypes[2].Descriptor() |
| 187 |
} |
| 188 |
|
| 189 |
func (PropertyTransform_ServerValue) Type() protoreflect.EnumType { |
| 190 |
return &file_google_datastore_v1_datastore_proto_enumTypes[2] |
| 191 |
} |
| 192 |
|
| 193 |
func (x PropertyTransform_ServerValue) Number() protoreflect.EnumNumber { |
| 194 |
return protoreflect.EnumNumber(x) |
| 195 |
} |
| 196 |
|
| 197 |
// Deprecated: Use PropertyTransform_ServerValue.Descriptor instead. |
| 198 |
func (PropertyTransform_ServerValue) EnumDescriptor() ([]byte, []int) { |
| 199 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{17, 0} |
| 200 |
} |
| 201 |
|
| 202 |
// The possible values for read consistencies. |
| 203 |
type ReadOptions_ReadConsistency int32 |
| 204 |
|
| 205 |
const ( |
| 206 |
// Unspecified. This value must not be used. |
| 207 |
ReadOptions_READ_CONSISTENCY_UNSPECIFIED ReadOptions_ReadConsistency = 0 |
| 208 |
// Strong consistency. |
| 209 |
ReadOptions_STRONG ReadOptions_ReadConsistency = 1 |
| 210 |
// Eventual consistency. |
| 211 |
ReadOptions_EVENTUAL ReadOptions_ReadConsistency = 2 |
| 212 |
) |
| 213 |
|
| 214 |
// Enum value maps for ReadOptions_ReadConsistency. |
| 215 |
var ( |
| 216 |
ReadOptions_ReadConsistency_name = map[int32]string{ |
| 217 |
0: "READ_CONSISTENCY_UNSPECIFIED", |
| 218 |
1: "STRONG", |
| 219 |
2: "EVENTUAL", |
| 220 |
} |
| 221 |
ReadOptions_ReadConsistency_value = map[string]int32{ |
| 222 |
"READ_CONSISTENCY_UNSPECIFIED": 0, |
| 223 |
"STRONG": 1, |
| 224 |
"EVENTUAL": 2, |
| 225 |
} |
| 226 |
) |
| 227 |
|
| 228 |
func (x ReadOptions_ReadConsistency) Enum() *ReadOptions_ReadConsistency { |
| 229 |
p := new(ReadOptions_ReadConsistency) |
| 230 |
*p = x |
| 231 |
return p |
| 232 |
} |
| 233 |
|
| 234 |
func (x ReadOptions_ReadConsistency) String() string { |
| 235 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 236 |
} |
| 237 |
|
| 238 |
func (ReadOptions_ReadConsistency) Descriptor() protoreflect.EnumDescriptor { |
| 239 |
return file_google_datastore_v1_datastore_proto_enumTypes[3].Descriptor() |
| 240 |
} |
| 241 |
|
| 242 |
func (ReadOptions_ReadConsistency) Type() protoreflect.EnumType { |
| 243 |
return &file_google_datastore_v1_datastore_proto_enumTypes[3] |
| 244 |
} |
| 245 |
|
| 246 |
func (x ReadOptions_ReadConsistency) Number() protoreflect.EnumNumber { |
| 247 |
return protoreflect.EnumNumber(x) |
| 248 |
} |
| 249 |
|
| 250 |
// Deprecated: Use ReadOptions_ReadConsistency.Descriptor instead. |
| 251 |
func (ReadOptions_ReadConsistency) EnumDescriptor() ([]byte, []int) { |
| 252 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{20, 0} |
| 253 |
} |
| 254 |
|
| 255 |
// The request for [Datastore.Lookup][google.datastore.v1.Datastore.Lookup]. |
| 256 |
type LookupRequest struct { |
| 257 |
state protoimpl.MessageState |
| 258 |
sizeCache protoimpl.SizeCache |
| 259 |
unknownFields protoimpl.UnknownFields |
| 260 |
|
| 261 |
// Required. The ID of the project against which to make the request. |
| 262 |
ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| 263 |
// The ID of the database against which to make the request. |
| 264 |
// |
| 265 |
// '(default)' is not allowed; please use empty string ” to refer the default |
| 266 |
// database. |
| 267 |
DatabaseId string `protobuf:"bytes,9,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` |
| 268 |
// The options for this lookup request. |
| 269 |
ReadOptions *ReadOptions `protobuf:"bytes,1,opt,name=read_options,json=readOptions,proto3" json:"read_options,omitempty"` |
| 270 |
// Required. Keys of entities to look up. |
| 271 |
Keys []*Key `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"` |
| 272 |
// The properties to return. Defaults to returning all properties. |
| 273 |
// |
| 274 |
// If this field is set and an entity has a property not referenced in the |
| 275 |
// mask, it will be absent from [LookupResponse.found.entity.properties][]. |
| 276 |
// |
| 277 |
// The entity's key is always returned. |
| 278 |
PropertyMask *PropertyMask `protobuf:"bytes,5,opt,name=property_mask,json=propertyMask,proto3" json:"property_mask,omitempty"` |
| 279 |
} |
| 280 |
|
| 281 |
func (x *LookupRequest) Reset() { |
| 282 |
*x = LookupRequest{} |
| 283 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[0] |
| 284 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 285 |
ms.StoreMessageInfo(mi) |
| 286 |
} |
| 287 |
|
| 288 |
func (x *LookupRequest) String() string { |
| 289 |
return protoimpl.X.MessageStringOf(x) |
| 290 |
} |
| 291 |
|
| 292 |
func (*LookupRequest) ProtoMessage() {} |
| 293 |
|
| 294 |
func (x *LookupRequest) ProtoReflect() protoreflect.Message { |
| 295 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[0] |
| 296 |
if x != nil { |
| 297 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 298 |
if ms.LoadMessageInfo() == nil { |
| 299 |
ms.StoreMessageInfo(mi) |
| 300 |
} |
| 301 |
return ms |
| 302 |
} |
| 303 |
return mi.MessageOf(x) |
| 304 |
} |
| 305 |
|
| 306 |
// Deprecated: Use LookupRequest.ProtoReflect.Descriptor instead. |
| 307 |
func (*LookupRequest) Descriptor() ([]byte, []int) { |
| 308 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{0} |
| 309 |
} |
| 310 |
|
| 311 |
func (x *LookupRequest) GetProjectId() string { |
| 312 |
if x != nil { |
| 313 |
return x.ProjectId |
| 314 |
} |
| 315 |
return "" |
| 316 |
} |
| 317 |
|
| 318 |
func (x *LookupRequest) GetDatabaseId() string { |
| 319 |
if x != nil { |
| 320 |
return x.DatabaseId |
| 321 |
} |
| 322 |
return "" |
| 323 |
} |
| 324 |
|
| 325 |
func (x *LookupRequest) GetReadOptions() *ReadOptions { |
| 326 |
if x != nil { |
| 327 |
return x.ReadOptions |
| 328 |
} |
| 329 |
return nil |
| 330 |
} |
| 331 |
|
| 332 |
func (x *LookupRequest) GetKeys() []*Key { |
| 333 |
if x != nil { |
| 334 |
return x.Keys |
| 335 |
} |
| 336 |
return nil |
| 337 |
} |
| 338 |
|
| 339 |
func (x *LookupRequest) GetPropertyMask() *PropertyMask { |
| 340 |
if x != nil { |
| 341 |
return x.PropertyMask |
| 342 |
} |
| 343 |
return nil |
| 344 |
} |
| 345 |
|
| 346 |
// The response for [Datastore.Lookup][google.datastore.v1.Datastore.Lookup]. |
| 347 |
type LookupResponse struct { |
| 348 |
state protoimpl.MessageState |
| 349 |
sizeCache protoimpl.SizeCache |
| 350 |
unknownFields protoimpl.UnknownFields |
| 351 |
|
| 352 |
// Entities found as `ResultType.FULL` entities. The order of results in this |
| 353 |
// field is undefined and has no relation to the order of the keys in the |
| 354 |
// input. |
| 355 |
Found []*EntityResult `protobuf:"bytes,1,rep,name=found,proto3" json:"found,omitempty"` |
| 356 |
// Entities not found as `ResultType.KEY_ONLY` entities. The order of results |
| 357 |
// in this field is undefined and has no relation to the order of the keys |
| 358 |
// in the input. |
| 359 |
Missing []*EntityResult `protobuf:"bytes,2,rep,name=missing,proto3" json:"missing,omitempty"` |
| 360 |
// A list of keys that were not looked up due to resource constraints. The |
| 361 |
// order of results in this field is undefined and has no relation to the |
| 362 |
// order of the keys in the input. |
| 363 |
Deferred []*Key `protobuf:"bytes,3,rep,name=deferred,proto3" json:"deferred,omitempty"` |
| 364 |
// The identifier of the transaction that was started as part of this Lookup |
| 365 |
// request. |
| 366 |
// |
| 367 |
// Set only when |
| 368 |
// [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] |
| 369 |
// was set in |
| 370 |
// [LookupRequest.read_options][google.datastore.v1.LookupRequest.read_options]. |
| 371 |
Transaction []byte `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"` |
| 372 |
// The time at which these entities were read or found missing. |
| 373 |
ReadTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` |
| 374 |
} |
| 375 |
|
| 376 |
func (x *LookupResponse) Reset() { |
| 377 |
*x = LookupResponse{} |
| 378 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[1] |
| 379 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 380 |
ms.StoreMessageInfo(mi) |
| 381 |
} |
| 382 |
|
| 383 |
func (x *LookupResponse) String() string { |
| 384 |
return protoimpl.X.MessageStringOf(x) |
| 385 |
} |
| 386 |
|
| 387 |
func (*LookupResponse) ProtoMessage() {} |
| 388 |
|
| 389 |
func (x *LookupResponse) ProtoReflect() protoreflect.Message { |
| 390 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[1] |
| 391 |
if x != nil { |
| 392 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 393 |
if ms.LoadMessageInfo() == nil { |
| 394 |
ms.StoreMessageInfo(mi) |
| 395 |
} |
| 396 |
return ms |
| 397 |
} |
| 398 |
return mi.MessageOf(x) |
| 399 |
} |
| 400 |
|
| 401 |
// Deprecated: Use LookupResponse.ProtoReflect.Descriptor instead. |
| 402 |
func (*LookupResponse) Descriptor() ([]byte, []int) { |
| 403 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{1} |
| 404 |
} |
| 405 |
|
| 406 |
func (x *LookupResponse) GetFound() []*EntityResult { |
| 407 |
if x != nil { |
| 408 |
return x.Found |
| 409 |
} |
| 410 |
return nil |
| 411 |
} |
| 412 |
|
| 413 |
func (x *LookupResponse) GetMissing() []*EntityResult { |
| 414 |
if x != nil { |
| 415 |
return x.Missing |
| 416 |
} |
| 417 |
return nil |
| 418 |
} |
| 419 |
|
| 420 |
func (x *LookupResponse) GetDeferred() []*Key { |
| 421 |
if x != nil { |
| 422 |
return x.Deferred |
| 423 |
} |
| 424 |
return nil |
| 425 |
} |
| 426 |
|
| 427 |
func (x *LookupResponse) GetTransaction() []byte { |
| 428 |
if x != nil { |
| 429 |
return x.Transaction |
| 430 |
} |
| 431 |
return nil |
| 432 |
} |
| 433 |
|
| 434 |
func (x *LookupResponse) GetReadTime() *timestamppb.Timestamp { |
| 435 |
if x != nil { |
| 436 |
return x.ReadTime |
| 437 |
} |
| 438 |
return nil |
| 439 |
} |
| 440 |
|
| 441 |
// The request for [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery]. |
| 442 |
type RunQueryRequest struct { |
| 443 |
state protoimpl.MessageState |
| 444 |
sizeCache protoimpl.SizeCache |
| 445 |
unknownFields protoimpl.UnknownFields |
| 446 |
|
| 447 |
// Required. The ID of the project against which to make the request. |
| 448 |
ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| 449 |
// The ID of the database against which to make the request. |
| 450 |
// |
| 451 |
// '(default)' is not allowed; please use empty string ” to refer the default |
| 452 |
// database. |
| 453 |
DatabaseId string `protobuf:"bytes,9,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` |
| 454 |
// Entities are partitioned into subsets, identified by a partition ID. |
| 455 |
// Queries are scoped to a single partition. |
| 456 |
// This partition ID is normalized with the standard default context |
| 457 |
// partition ID. |
| 458 |
PartitionId *PartitionId `protobuf:"bytes,2,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` |
| 459 |
// The options for this query. |
| 460 |
ReadOptions *ReadOptions `protobuf:"bytes,1,opt,name=read_options,json=readOptions,proto3" json:"read_options,omitempty"` |
| 461 |
// The type of query. |
| 462 |
// |
| 463 |
// Types that are assignable to QueryType: |
| 464 |
// |
| 465 |
// *RunQueryRequest_Query |
| 466 |
// *RunQueryRequest_GqlQuery |
| 467 |
QueryType isRunQueryRequest_QueryType `protobuf_oneof:"query_type"` |
| 468 |
// The properties to return. |
| 469 |
// This field must not be set for a projection query. |
| 470 |
// |
| 471 |
// See |
| 472 |
// [LookupRequest.property_mask][google.datastore.v1.LookupRequest.property_mask]. |
| 473 |
PropertyMask *PropertyMask `protobuf:"bytes,10,opt,name=property_mask,json=propertyMask,proto3" json:"property_mask,omitempty"` |
| 474 |
// Optional. Explain options for the query. If set, additional query |
| 475 |
// statistics will be returned. If not, only query results will be returned. |
| 476 |
ExplainOptions *ExplainOptions `protobuf:"bytes,12,opt,name=explain_options,json=explainOptions,proto3" json:"explain_options,omitempty"` |
| 477 |
} |
| 478 |
|
| 479 |
func (x *RunQueryRequest) Reset() { |
| 480 |
*x = RunQueryRequest{} |
| 481 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[2] |
| 482 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 483 |
ms.StoreMessageInfo(mi) |
| 484 |
} |
| 485 |
|
| 486 |
func (x *RunQueryRequest) String() string { |
| 487 |
return protoimpl.X.MessageStringOf(x) |
| 488 |
} |
| 489 |
|
| 490 |
func (*RunQueryRequest) ProtoMessage() {} |
| 491 |
|
| 492 |
func (x *RunQueryRequest) ProtoReflect() protoreflect.Message { |
| 493 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[2] |
| 494 |
if x != nil { |
| 495 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 496 |
if ms.LoadMessageInfo() == nil { |
| 497 |
ms.StoreMessageInfo(mi) |
| 498 |
} |
| 499 |
return ms |
| 500 |
} |
| 501 |
return mi.MessageOf(x) |
| 502 |
} |
| 503 |
|
| 504 |
// Deprecated: Use RunQueryRequest.ProtoReflect.Descriptor instead. |
| 505 |
func (*RunQueryRequest) Descriptor() ([]byte, []int) { |
| 506 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{2} |
| 507 |
} |
| 508 |
|
| 509 |
func (x *RunQueryRequest) GetProjectId() string { |
| 510 |
if x != nil { |
| 511 |
return x.ProjectId |
| 512 |
} |
| 513 |
return "" |
| 514 |
} |
| 515 |
|
| 516 |
func (x *RunQueryRequest) GetDatabaseId() string { |
| 517 |
if x != nil { |
| 518 |
return x.DatabaseId |
| 519 |
} |
| 520 |
return "" |
| 521 |
} |
| 522 |
|
| 523 |
func (x *RunQueryRequest) GetPartitionId() *PartitionId { |
| 524 |
if x != nil { |
| 525 |
return x.PartitionId |
| 526 |
} |
| 527 |
return nil |
| 528 |
} |
| 529 |
|
| 530 |
func (x *RunQueryRequest) GetReadOptions() *ReadOptions { |
| 531 |
if x != nil { |
| 532 |
return x.ReadOptions |
| 533 |
} |
| 534 |
return nil |
| 535 |
} |
| 536 |
|
| 537 |
func (m *RunQueryRequest) GetQueryType() isRunQueryRequest_QueryType { |
| 538 |
if m != nil { |
| 539 |
return m.QueryType |
| 540 |
} |
| 541 |
return nil |
| 542 |
} |
| 543 |
|
| 544 |
func (x *RunQueryRequest) GetQuery() *Query { |
| 545 |
if x, ok := x.GetQueryType().(*RunQueryRequest_Query); ok { |
| 546 |
return x.Query |
| 547 |
} |
| 548 |
return nil |
| 549 |
} |
| 550 |
|
| 551 |
func (x *RunQueryRequest) GetGqlQuery() *GqlQuery { |
| 552 |
if x, ok := x.GetQueryType().(*RunQueryRequest_GqlQuery); ok { |
| 553 |
return x.GqlQuery |
| 554 |
} |
| 555 |
return nil |
| 556 |
} |
| 557 |
|
| 558 |
func (x *RunQueryRequest) GetPropertyMask() *PropertyMask { |
| 559 |
if x != nil { |
| 560 |
return x.PropertyMask |
| 561 |
} |
| 562 |
return nil |
| 563 |
} |
| 564 |
|
| 565 |
func (x *RunQueryRequest) GetExplainOptions() *ExplainOptions { |
| 566 |
if x != nil { |
| 567 |
return x.ExplainOptions |
| 568 |
} |
| 569 |
return nil |
| 570 |
} |
| 571 |
|
| 572 |
type isRunQueryRequest_QueryType interface { |
| 573 |
isRunQueryRequest_QueryType() |
| 574 |
} |
| 575 |
|
| 576 |
type RunQueryRequest_Query struct { |
| 577 |
// The query to run. |
| 578 |
Query *Query `protobuf:"bytes,3,opt,name=query,proto3,oneof"` |
| 579 |
} |
| 580 |
|
| 581 |
type RunQueryRequest_GqlQuery struct { |
| 582 |
// The GQL query to run. This query must be a non-aggregation query. |
| 583 |
GqlQuery *GqlQuery `protobuf:"bytes,7,opt,name=gql_query,json=gqlQuery,proto3,oneof"` |
| 584 |
} |
| 585 |
|
| 586 |
func (*RunQueryRequest_Query) isRunQueryRequest_QueryType() {} |
| 587 |
|
| 588 |
func (*RunQueryRequest_GqlQuery) isRunQueryRequest_QueryType() {} |
| 589 |
|
| 590 |
// The response for |
| 591 |
// [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery]. |
| 592 |
type RunQueryResponse struct { |
| 593 |
state protoimpl.MessageState |
| 594 |
sizeCache protoimpl.SizeCache |
| 595 |
unknownFields protoimpl.UnknownFields |
| 596 |
|
| 597 |
// A batch of query results (always present). |
| 598 |
Batch *QueryResultBatch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"` |
| 599 |
// The parsed form of the `GqlQuery` from the request, if it was set. |
| 600 |
Query *Query `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` |
| 601 |
// The identifier of the transaction that was started as part of this |
| 602 |
// RunQuery request. |
| 603 |
// |
| 604 |
// Set only when |
| 605 |
// [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] |
| 606 |
// was set in |
| 607 |
// [RunQueryRequest.read_options][google.datastore.v1.RunQueryRequest.read_options]. |
| 608 |
Transaction []byte `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"` |
| 609 |
// Query explain metrics. This is only present when the |
| 610 |
// [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options] |
| 611 |
// is provided, and it is sent only once with the last response in the stream. |
| 612 |
ExplainMetrics *ExplainMetrics `protobuf:"bytes,9,opt,name=explain_metrics,json=explainMetrics,proto3" json:"explain_metrics,omitempty"` |
| 613 |
} |
| 614 |
|
| 615 |
func (x *RunQueryResponse) Reset() { |
| 616 |
*x = RunQueryResponse{} |
| 617 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[3] |
| 618 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 619 |
ms.StoreMessageInfo(mi) |
| 620 |
} |
| 621 |
|
| 622 |
func (x *RunQueryResponse) String() string { |
| 623 |
return protoimpl.X.MessageStringOf(x) |
| 624 |
} |
| 625 |
|
| 626 |
func (*RunQueryResponse) ProtoMessage() {} |
| 627 |
|
| 628 |
func (x *RunQueryResponse) ProtoReflect() protoreflect.Message { |
| 629 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[3] |
| 630 |
if x != nil { |
| 631 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 632 |
if ms.LoadMessageInfo() == nil { |
| 633 |
ms.StoreMessageInfo(mi) |
| 634 |
} |
| 635 |
return ms |
| 636 |
} |
| 637 |
return mi.MessageOf(x) |
| 638 |
} |
| 639 |
|
| 640 |
// Deprecated: Use RunQueryResponse.ProtoReflect.Descriptor instead. |
| 641 |
func (*RunQueryResponse) Descriptor() ([]byte, []int) { |
| 642 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{3} |
| 643 |
} |
| 644 |
|
| 645 |
func (x *RunQueryResponse) GetBatch() *QueryResultBatch { |
| 646 |
if x != nil { |
| 647 |
return x.Batch |
| 648 |
} |
| 649 |
return nil |
| 650 |
} |
| 651 |
|
| 652 |
func (x *RunQueryResponse) GetQuery() *Query { |
| 653 |
if x != nil { |
| 654 |
return x.Query |
| 655 |
} |
| 656 |
return nil |
| 657 |
} |
| 658 |
|
| 659 |
func (x *RunQueryResponse) GetTransaction() []byte { |
| 660 |
if x != nil { |
| 661 |
return x.Transaction |
| 662 |
} |
| 663 |
return nil |
| 664 |
} |
| 665 |
|
| 666 |
func (x *RunQueryResponse) GetExplainMetrics() *ExplainMetrics { |
| 667 |
if x != nil { |
| 668 |
return x.ExplainMetrics |
| 669 |
} |
| 670 |
return nil |
| 671 |
} |
| 672 |
|
| 673 |
// The request for |
| 674 |
// [Datastore.RunAggregationQuery][google.datastore.v1.Datastore.RunAggregationQuery]. |
| 675 |
type RunAggregationQueryRequest struct { |
| 676 |
state protoimpl.MessageState |
| 677 |
sizeCache protoimpl.SizeCache |
| 678 |
unknownFields protoimpl.UnknownFields |
| 679 |
|
| 680 |
// Required. The ID of the project against which to make the request. |
| 681 |
ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| 682 |
// The ID of the database against which to make the request. |
| 683 |
// |
| 684 |
// '(default)' is not allowed; please use empty string ” to refer the default |
| 685 |
// database. |
| 686 |
DatabaseId string `protobuf:"bytes,9,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` |
| 687 |
// Entities are partitioned into subsets, identified by a partition ID. |
| 688 |
// Queries are scoped to a single partition. |
| 689 |
// This partition ID is normalized with the standard default context |
| 690 |
// partition ID. |
| 691 |
PartitionId *PartitionId `protobuf:"bytes,2,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` |
| 692 |
// The options for this query. |
| 693 |
ReadOptions *ReadOptions `protobuf:"bytes,1,opt,name=read_options,json=readOptions,proto3" json:"read_options,omitempty"` |
| 694 |
// The type of query. |
| 695 |
// |
| 696 |
// Types that are assignable to QueryType: |
| 697 |
// |
| 698 |
// *RunAggregationQueryRequest_AggregationQuery |
| 699 |
// *RunAggregationQueryRequest_GqlQuery |
| 700 |
QueryType isRunAggregationQueryRequest_QueryType `protobuf_oneof:"query_type"` |
| 701 |
// Optional. Explain options for the query. If set, additional query |
| 702 |
// statistics will be returned. If not, only query results will be returned. |
| 703 |
ExplainOptions *ExplainOptions `protobuf:"bytes,11,opt,name=explain_options,json=explainOptions,proto3" json:"explain_options,omitempty"` |
| 704 |
} |
| 705 |
|
| 706 |
func (x *RunAggregationQueryRequest) Reset() { |
| 707 |
*x = RunAggregationQueryRequest{} |
| 708 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[4] |
| 709 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 710 |
ms.StoreMessageInfo(mi) |
| 711 |
} |
| 712 |
|
| 713 |
func (x *RunAggregationQueryRequest) String() string { |
| 714 |
return protoimpl.X.MessageStringOf(x) |
| 715 |
} |
| 716 |
|
| 717 |
func (*RunAggregationQueryRequest) ProtoMessage() {} |
| 718 |
|
| 719 |
func (x *RunAggregationQueryRequest) ProtoReflect() protoreflect.Message { |
| 720 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[4] |
| 721 |
if x != nil { |
| 722 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 723 |
if ms.LoadMessageInfo() == nil { |
| 724 |
ms.StoreMessageInfo(mi) |
| 725 |
} |
| 726 |
return ms |
| 727 |
} |
| 728 |
return mi.MessageOf(x) |
| 729 |
} |
| 730 |
|
| 731 |
// Deprecated: Use RunAggregationQueryRequest.ProtoReflect.Descriptor instead. |
| 732 |
func (*RunAggregationQueryRequest) Descriptor() ([]byte, []int) { |
| 733 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{4} |
| 734 |
} |
| 735 |
|
| 736 |
func (x *RunAggregationQueryRequest) GetProjectId() string { |
| 737 |
if x != nil { |
| 738 |
return x.ProjectId |
| 739 |
} |
| 740 |
return "" |
| 741 |
} |
| 742 |
|
| 743 |
func (x *RunAggregationQueryRequest) GetDatabaseId() string { |
| 744 |
if x != nil { |
| 745 |
return x.DatabaseId |
| 746 |
} |
| 747 |
return "" |
| 748 |
} |
| 749 |
|
| 750 |
func (x *RunAggregationQueryRequest) GetPartitionId() *PartitionId { |
| 751 |
if x != nil { |
| 752 |
return x.PartitionId |
| 753 |
} |
| 754 |
return nil |
| 755 |
} |
| 756 |
|
| 757 |
func (x *RunAggregationQueryRequest) GetReadOptions() *ReadOptions { |
| 758 |
if x != nil { |
| 759 |
return x.ReadOptions |
| 760 |
} |
| 761 |
return nil |
| 762 |
} |
| 763 |
|
| 764 |
func (m *RunAggregationQueryRequest) GetQueryType() isRunAggregationQueryRequest_QueryType { |
| 765 |
if m != nil { |
| 766 |
return m.QueryType |
| 767 |
} |
| 768 |
return nil |
| 769 |
} |
| 770 |
|
| 771 |
func (x *RunAggregationQueryRequest) GetAggregationQuery() *AggregationQuery { |
| 772 |
if x, ok := x.GetQueryType().(*RunAggregationQueryRequest_AggregationQuery); ok { |
| 773 |
return x.AggregationQuery |
| 774 |
} |
| 775 |
return nil |
| 776 |
} |
| 777 |
|
| 778 |
func (x *RunAggregationQueryRequest) GetGqlQuery() *GqlQuery { |
| 779 |
if x, ok := x.GetQueryType().(*RunAggregationQueryRequest_GqlQuery); ok { |
| 780 |
return x.GqlQuery |
| 781 |
} |
| 782 |
return nil |
| 783 |
} |
| 784 |
|
| 785 |
func (x *RunAggregationQueryRequest) GetExplainOptions() *ExplainOptions { |
| 786 |
if x != nil { |
| 787 |
return x.ExplainOptions |
| 788 |
} |
| 789 |
return nil |
| 790 |
} |
| 791 |
|
| 792 |
type isRunAggregationQueryRequest_QueryType interface { |
| 793 |
isRunAggregationQueryRequest_QueryType() |
| 794 |
} |
| 795 |
|
| 796 |
type RunAggregationQueryRequest_AggregationQuery struct { |
| 797 |
// The query to run. |
| 798 |
AggregationQuery *AggregationQuery `protobuf:"bytes,3,opt,name=aggregation_query,json=aggregationQuery,proto3,oneof"` |
| 799 |
} |
| 800 |
|
| 801 |
type RunAggregationQueryRequest_GqlQuery struct { |
| 802 |
// The GQL query to run. This query must be an aggregation query. |
| 803 |
GqlQuery *GqlQuery `protobuf:"bytes,7,opt,name=gql_query,json=gqlQuery,proto3,oneof"` |
| 804 |
} |
| 805 |
|
| 806 |
func (*RunAggregationQueryRequest_AggregationQuery) isRunAggregationQueryRequest_QueryType() {} |
| 807 |
|
| 808 |
func (*RunAggregationQueryRequest_GqlQuery) isRunAggregationQueryRequest_QueryType() {} |
| 809 |
|
| 810 |
// The response for |
| 811 |
// [Datastore.RunAggregationQuery][google.datastore.v1.Datastore.RunAggregationQuery]. |
| 812 |
type RunAggregationQueryResponse struct { |
| 813 |
state protoimpl.MessageState |
| 814 |
sizeCache protoimpl.SizeCache |
| 815 |
unknownFields protoimpl.UnknownFields |
| 816 |
|
| 817 |
// A batch of aggregation results. Always present. |
| 818 |
Batch *AggregationResultBatch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"` |
| 819 |
// The parsed form of the `GqlQuery` from the request, if it was set. |
| 820 |
Query *AggregationQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` |
| 821 |
// The identifier of the transaction that was started as part of this |
| 822 |
// RunAggregationQuery request. |
| 823 |
// |
| 824 |
// Set only when |
| 825 |
// [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] |
| 826 |
// was set in |
| 827 |
// [RunAggregationQueryRequest.read_options][google.datastore.v1.RunAggregationQueryRequest.read_options]. |
| 828 |
Transaction []byte `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"` |
| 829 |
// Query explain metrics. This is only present when the |
| 830 |
// [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options] |
| 831 |
// is provided, and it is sent only once with the last response in the stream. |
| 832 |
ExplainMetrics *ExplainMetrics `protobuf:"bytes,9,opt,name=explain_metrics,json=explainMetrics,proto3" json:"explain_metrics,omitempty"` |
| 833 |
} |
| 834 |
|
| 835 |
func (x *RunAggregationQueryResponse) Reset() { |
| 836 |
*x = RunAggregationQueryResponse{} |
| 837 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[5] |
| 838 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 839 |
ms.StoreMessageInfo(mi) |
| 840 |
} |
| 841 |
|
| 842 |
func (x *RunAggregationQueryResponse) String() string { |
| 843 |
return protoimpl.X.MessageStringOf(x) |
| 844 |
} |
| 845 |
|
| 846 |
func (*RunAggregationQueryResponse) ProtoMessage() {} |
| 847 |
|
| 848 |
func (x *RunAggregationQueryResponse) ProtoReflect() protoreflect.Message { |
| 849 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[5] |
| 850 |
if x != nil { |
| 851 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 852 |
if ms.LoadMessageInfo() == nil { |
| 853 |
ms.StoreMessageInfo(mi) |
| 854 |
} |
| 855 |
return ms |
| 856 |
} |
| 857 |
return mi.MessageOf(x) |
| 858 |
} |
| 859 |
|
| 860 |
// Deprecated: Use RunAggregationQueryResponse.ProtoReflect.Descriptor instead. |
| 861 |
func (*RunAggregationQueryResponse) Descriptor() ([]byte, []int) { |
| 862 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{5} |
| 863 |
} |
| 864 |
|
| 865 |
func (x *RunAggregationQueryResponse) GetBatch() *AggregationResultBatch { |
| 866 |
if x != nil { |
| 867 |
return x.Batch |
| 868 |
} |
| 869 |
return nil |
| 870 |
} |
| 871 |
|
| 872 |
func (x *RunAggregationQueryResponse) GetQuery() *AggregationQuery { |
| 873 |
if x != nil { |
| 874 |
return x.Query |
| 875 |
} |
| 876 |
return nil |
| 877 |
} |
| 878 |
|
| 879 |
func (x *RunAggregationQueryResponse) GetTransaction() []byte { |
| 880 |
if x != nil { |
| 881 |
return x.Transaction |
| 882 |
} |
| 883 |
return nil |
| 884 |
} |
| 885 |
|
| 886 |
func (x *RunAggregationQueryResponse) GetExplainMetrics() *ExplainMetrics { |
| 887 |
if x != nil { |
| 888 |
return x.ExplainMetrics |
| 889 |
} |
| 890 |
return nil |
| 891 |
} |
| 892 |
|
| 893 |
// The request for |
| 894 |
// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. |
| 895 |
type BeginTransactionRequest struct { |
| 896 |
state protoimpl.MessageState |
| 897 |
sizeCache protoimpl.SizeCache |
| 898 |
unknownFields protoimpl.UnknownFields |
| 899 |
|
| 900 |
// Required. The ID of the project against which to make the request. |
| 901 |
ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| 902 |
// The ID of the database against which to make the request. |
| 903 |
// |
| 904 |
// '(default)' is not allowed; please use empty string ” to refer the default |
| 905 |
// database. |
| 906 |
DatabaseId string `protobuf:"bytes,9,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` |
| 907 |
// Options for a new transaction. |
| 908 |
TransactionOptions *TransactionOptions `protobuf:"bytes,10,opt,name=transaction_options,json=transactionOptions,proto3" json:"transaction_options,omitempty"` |
| 909 |
} |
| 910 |
|
| 911 |
func (x *BeginTransactionRequest) Reset() { |
| 912 |
*x = BeginTransactionRequest{} |
| 913 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[6] |
| 914 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 915 |
ms.StoreMessageInfo(mi) |
| 916 |
} |
| 917 |
|
| 918 |
func (x *BeginTransactionRequest) String() string { |
| 919 |
return protoimpl.X.MessageStringOf(x) |
| 920 |
} |
| 921 |
|
| 922 |
func (*BeginTransactionRequest) ProtoMessage() {} |
| 923 |
|
| 924 |
func (x *BeginTransactionRequest) ProtoReflect() protoreflect.Message { |
| 925 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[6] |
| 926 |
if x != nil { |
| 927 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 928 |
if ms.LoadMessageInfo() == nil { |
| 929 |
ms.StoreMessageInfo(mi) |
| 930 |
} |
| 931 |
return ms |
| 932 |
} |
| 933 |
return mi.MessageOf(x) |
| 934 |
} |
| 935 |
|
| 936 |
// Deprecated: Use BeginTransactionRequest.ProtoReflect.Descriptor instead. |
| 937 |
func (*BeginTransactionRequest) Descriptor() ([]byte, []int) { |
| 938 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{6} |
| 939 |
} |
| 940 |
|
| 941 |
func (x *BeginTransactionRequest) GetProjectId() string { |
| 942 |
if x != nil { |
| 943 |
return x.ProjectId |
| 944 |
} |
| 945 |
return "" |
| 946 |
} |
| 947 |
|
| 948 |
func (x *BeginTransactionRequest) GetDatabaseId() string { |
| 949 |
if x != nil { |
| 950 |
return x.DatabaseId |
| 951 |
} |
| 952 |
return "" |
| 953 |
} |
| 954 |
|
| 955 |
func (x *BeginTransactionRequest) GetTransactionOptions() *TransactionOptions { |
| 956 |
if x != nil { |
| 957 |
return x.TransactionOptions |
| 958 |
} |
| 959 |
return nil |
| 960 |
} |
| 961 |
|
| 962 |
// The response for |
| 963 |
// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. |
| 964 |
type BeginTransactionResponse struct { |
| 965 |
state protoimpl.MessageState |
| 966 |
sizeCache protoimpl.SizeCache |
| 967 |
unknownFields protoimpl.UnknownFields |
| 968 |
|
| 969 |
// The transaction identifier (always present). |
| 970 |
Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` |
| 971 |
} |
| 972 |
|
| 973 |
func (x *BeginTransactionResponse) Reset() { |
| 974 |
*x = BeginTransactionResponse{} |
| 975 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[7] |
| 976 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 977 |
ms.StoreMessageInfo(mi) |
| 978 |
} |
| 979 |
|
| 980 |
func (x *BeginTransactionResponse) String() string { |
| 981 |
return protoimpl.X.MessageStringOf(x) |
| 982 |
} |
| 983 |
|
| 984 |
func (*BeginTransactionResponse) ProtoMessage() {} |
| 985 |
|
| 986 |
func (x *BeginTransactionResponse) ProtoReflect() protoreflect.Message { |
| 987 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[7] |
| 988 |
if x != nil { |
| 989 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 990 |
if ms.LoadMessageInfo() == nil { |
| 991 |
ms.StoreMessageInfo(mi) |
| 992 |
} |
| 993 |
return ms |
| 994 |
} |
| 995 |
return mi.MessageOf(x) |
| 996 |
} |
| 997 |
|
| 998 |
// Deprecated: Use BeginTransactionResponse.ProtoReflect.Descriptor instead. |
| 999 |
func (*BeginTransactionResponse) Descriptor() ([]byte, []int) { |
| 1000 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{7} |
| 1001 |
} |
| 1002 |
|
| 1003 |
func (x *BeginTransactionResponse) GetTransaction() []byte { |
| 1004 |
if x != nil { |
| 1005 |
return x.Transaction |
| 1006 |
} |
| 1007 |
return nil |
| 1008 |
} |
| 1009 |
|
| 1010 |
// The request for [Datastore.Rollback][google.datastore.v1.Datastore.Rollback]. |
| 1011 |
type RollbackRequest struct { |
| 1012 |
state protoimpl.MessageState |
| 1013 |
sizeCache protoimpl.SizeCache |
| 1014 |
unknownFields protoimpl.UnknownFields |
| 1015 |
|
| 1016 |
// Required. The ID of the project against which to make the request. |
| 1017 |
ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| 1018 |
// The ID of the database against which to make the request. |
| 1019 |
// |
| 1020 |
// '(default)' is not allowed; please use empty string ” to refer the default |
| 1021 |
// database. |
| 1022 |
DatabaseId string `protobuf:"bytes,9,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` |
| 1023 |
// Required. The transaction identifier, returned by a call to |
| 1024 |
// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. |
| 1025 |
Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` |
| 1026 |
} |
| 1027 |
|
| 1028 |
func (x *RollbackRequest) Reset() { |
| 1029 |
*x = RollbackRequest{} |
| 1030 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[8] |
| 1031 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1032 |
ms.StoreMessageInfo(mi) |
| 1033 |
} |
| 1034 |
|
| 1035 |
func (x *RollbackRequest) String() string { |
| 1036 |
return protoimpl.X.MessageStringOf(x) |
| 1037 |
} |
| 1038 |
|
| 1039 |
func (*RollbackRequest) ProtoMessage() {} |
| 1040 |
|
| 1041 |
func (x *RollbackRequest) ProtoReflect() protoreflect.Message { |
| 1042 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[8] |
| 1043 |
if x != nil { |
| 1044 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1045 |
if ms.LoadMessageInfo() == nil { |
| 1046 |
ms.StoreMessageInfo(mi) |
| 1047 |
} |
| 1048 |
return ms |
| 1049 |
} |
| 1050 |
return mi.MessageOf(x) |
| 1051 |
} |
| 1052 |
|
| 1053 |
// Deprecated: Use RollbackRequest.ProtoReflect.Descriptor instead. |
| 1054 |
func (*RollbackRequest) Descriptor() ([]byte, []int) { |
| 1055 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{8} |
| 1056 |
} |
| 1057 |
|
| 1058 |
func (x *RollbackRequest) GetProjectId() string { |
| 1059 |
if x != nil { |
| 1060 |
return x.ProjectId |
| 1061 |
} |
| 1062 |
return "" |
| 1063 |
} |
| 1064 |
|
| 1065 |
func (x *RollbackRequest) GetDatabaseId() string { |
| 1066 |
if x != nil { |
| 1067 |
return x.DatabaseId |
| 1068 |
} |
| 1069 |
return "" |
| 1070 |
} |
| 1071 |
|
| 1072 |
func (x *RollbackRequest) GetTransaction() []byte { |
| 1073 |
if x != nil { |
| 1074 |
return x.Transaction |
| 1075 |
} |
| 1076 |
return nil |
| 1077 |
} |
| 1078 |
|
| 1079 |
// The response for |
| 1080 |
// [Datastore.Rollback][google.datastore.v1.Datastore.Rollback]. (an empty |
| 1081 |
// message). |
| 1082 |
type RollbackResponse struct { |
| 1083 |
state protoimpl.MessageState |
| 1084 |
sizeCache protoimpl.SizeCache |
| 1085 |
unknownFields protoimpl.UnknownFields |
| 1086 |
} |
| 1087 |
|
| 1088 |
func (x *RollbackResponse) Reset() { |
| 1089 |
*x = RollbackResponse{} |
| 1090 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[9] |
| 1091 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1092 |
ms.StoreMessageInfo(mi) |
| 1093 |
} |
| 1094 |
|
| 1095 |
func (x *RollbackResponse) String() string { |
| 1096 |
return protoimpl.X.MessageStringOf(x) |
| 1097 |
} |
| 1098 |
|
| 1099 |
func (*RollbackResponse) ProtoMessage() {} |
| 1100 |
|
| 1101 |
func (x *RollbackResponse) ProtoReflect() protoreflect.Message { |
| 1102 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[9] |
| 1103 |
if x != nil { |
| 1104 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1105 |
if ms.LoadMessageInfo() == nil { |
| 1106 |
ms.StoreMessageInfo(mi) |
| 1107 |
} |
| 1108 |
return ms |
| 1109 |
} |
| 1110 |
return mi.MessageOf(x) |
| 1111 |
} |
| 1112 |
|
| 1113 |
// Deprecated: Use RollbackResponse.ProtoReflect.Descriptor instead. |
| 1114 |
func (*RollbackResponse) Descriptor() ([]byte, []int) { |
| 1115 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{9} |
| 1116 |
} |
| 1117 |
|
| 1118 |
// The request for [Datastore.Commit][google.datastore.v1.Datastore.Commit]. |
| 1119 |
type CommitRequest struct { |
| 1120 |
state protoimpl.MessageState |
| 1121 |
sizeCache protoimpl.SizeCache |
| 1122 |
unknownFields protoimpl.UnknownFields |
| 1123 |
|
| 1124 |
// Required. The ID of the project against which to make the request. |
| 1125 |
ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| 1126 |
// The ID of the database against which to make the request. |
| 1127 |
// |
| 1128 |
// '(default)' is not allowed; please use empty string ” to refer the default |
| 1129 |
// database. |
| 1130 |
DatabaseId string `protobuf:"bytes,9,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` |
| 1131 |
// The type of commit to perform. Defaults to `TRANSACTIONAL`. |
| 1132 |
Mode CommitRequest_Mode `protobuf:"varint,5,opt,name=mode,proto3,enum=google.datastore.v1.CommitRequest_Mode" json:"mode,omitempty"` |
| 1133 |
// Must be set when mode is `TRANSACTIONAL`. |
| 1134 |
// |
| 1135 |
// Types that are assignable to TransactionSelector: |
| 1136 |
// |
| 1137 |
// *CommitRequest_Transaction |
| 1138 |
// *CommitRequest_SingleUseTransaction |
| 1139 |
TransactionSelector isCommitRequest_TransactionSelector `protobuf_oneof:"transaction_selector"` |
| 1140 |
// The mutations to perform. |
| 1141 |
// |
| 1142 |
// When mode is `TRANSACTIONAL`, mutations affecting a single entity are |
| 1143 |
// applied in order. The following sequences of mutations affecting a single |
| 1144 |
// entity are not permitted in a single `Commit` request: |
| 1145 |
// |
| 1146 |
// - `insert` followed by `insert` |
| 1147 |
// - `update` followed by `insert` |
| 1148 |
// - `upsert` followed by `insert` |
| 1149 |
// - `delete` followed by `update` |
| 1150 |
// |
| 1151 |
// When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single |
| 1152 |
// entity. |
| 1153 |
Mutations []*Mutation `protobuf:"bytes,6,rep,name=mutations,proto3" json:"mutations,omitempty"` |
| 1154 |
} |
| 1155 |
|
| 1156 |
func (x *CommitRequest) Reset() { |
| 1157 |
*x = CommitRequest{} |
| 1158 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[10] |
| 1159 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1160 |
ms.StoreMessageInfo(mi) |
| 1161 |
} |
| 1162 |
|
| 1163 |
func (x *CommitRequest) String() string { |
| 1164 |
return protoimpl.X.MessageStringOf(x) |
| 1165 |
} |
| 1166 |
|
| 1167 |
func (*CommitRequest) ProtoMessage() {} |
| 1168 |
|
| 1169 |
func (x *CommitRequest) ProtoReflect() protoreflect.Message { |
| 1170 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[10] |
| 1171 |
if x != nil { |
| 1172 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1173 |
if ms.LoadMessageInfo() == nil { |
| 1174 |
ms.StoreMessageInfo(mi) |
| 1175 |
} |
| 1176 |
return ms |
| 1177 |
} |
| 1178 |
return mi.MessageOf(x) |
| 1179 |
} |
| 1180 |
|
| 1181 |
// Deprecated: Use CommitRequest.ProtoReflect.Descriptor instead. |
| 1182 |
func (*CommitRequest) Descriptor() ([]byte, []int) { |
| 1183 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{10} |
| 1184 |
} |
| 1185 |
|
| 1186 |
func (x *CommitRequest) GetProjectId() string { |
| 1187 |
if x != nil { |
| 1188 |
return x.ProjectId |
| 1189 |
} |
| 1190 |
return "" |
| 1191 |
} |
| 1192 |
|
| 1193 |
func (x *CommitRequest) GetDatabaseId() string { |
| 1194 |
if x != nil { |
| 1195 |
return x.DatabaseId |
| 1196 |
} |
| 1197 |
return "" |
| 1198 |
} |
| 1199 |
|
| 1200 |
func (x *CommitRequest) GetMode() CommitRequest_Mode { |
| 1201 |
if x != nil { |
| 1202 |
return x.Mode |
| 1203 |
} |
| 1204 |
return CommitRequest_MODE_UNSPECIFIED |
| 1205 |
} |
| 1206 |
|
| 1207 |
func (m *CommitRequest) GetTransactionSelector() isCommitRequest_TransactionSelector { |
| 1208 |
if m != nil { |
| 1209 |
return m.TransactionSelector |
| 1210 |
} |
| 1211 |
return nil |
| 1212 |
} |
| 1213 |
|
| 1214 |
func (x *CommitRequest) GetTransaction() []byte { |
| 1215 |
if x, ok := x.GetTransactionSelector().(*CommitRequest_Transaction); ok { |
| 1216 |
return x.Transaction |
| 1217 |
} |
| 1218 |
return nil |
| 1219 |
} |
| 1220 |
|
| 1221 |
func (x *CommitRequest) GetSingleUseTransaction() *TransactionOptions { |
| 1222 |
if x, ok := x.GetTransactionSelector().(*CommitRequest_SingleUseTransaction); ok { |
| 1223 |
return x.SingleUseTransaction |
| 1224 |
} |
| 1225 |
return nil |
| 1226 |
} |
| 1227 |
|
| 1228 |
func (x *CommitRequest) GetMutations() []*Mutation { |
| 1229 |
if x != nil { |
| 1230 |
return x.Mutations |
| 1231 |
} |
| 1232 |
return nil |
| 1233 |
} |
| 1234 |
|
| 1235 |
type isCommitRequest_TransactionSelector interface { |
| 1236 |
isCommitRequest_TransactionSelector() |
| 1237 |
} |
| 1238 |
|
| 1239 |
type CommitRequest_Transaction struct { |
| 1240 |
// The identifier of the transaction associated with the commit. A |
| 1241 |
// transaction identifier is returned by a call to |
| 1242 |
// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. |
| 1243 |
Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3,oneof"` |
| 1244 |
} |
| 1245 |
|
| 1246 |
type CommitRequest_SingleUseTransaction struct { |
| 1247 |
// Options for beginning a new transaction for this request. |
| 1248 |
// The transaction is committed when the request completes. If specified, |
| 1249 |
// [TransactionOptions.mode][google.datastore.v1.TransactionOptions] must be |
| 1250 |
// [TransactionOptions.ReadWrite][google.datastore.v1.TransactionOptions.ReadWrite]. |
| 1251 |
SingleUseTransaction *TransactionOptions `protobuf:"bytes,10,opt,name=single_use_transaction,json=singleUseTransaction,proto3,oneof"` |
| 1252 |
} |
| 1253 |
|
| 1254 |
func (*CommitRequest_Transaction) isCommitRequest_TransactionSelector() {} |
| 1255 |
|
| 1256 |
func (*CommitRequest_SingleUseTransaction) isCommitRequest_TransactionSelector() {} |
| 1257 |
|
| 1258 |
// The response for [Datastore.Commit][google.datastore.v1.Datastore.Commit]. |
| 1259 |
type CommitResponse struct { |
| 1260 |
state protoimpl.MessageState |
| 1261 |
sizeCache protoimpl.SizeCache |
| 1262 |
unknownFields protoimpl.UnknownFields |
| 1263 |
|
| 1264 |
// The result of performing the mutations. |
| 1265 |
// The i-th mutation result corresponds to the i-th mutation in the request. |
| 1266 |
MutationResults []*MutationResult `protobuf:"bytes,3,rep,name=mutation_results,json=mutationResults,proto3" json:"mutation_results,omitempty"` |
| 1267 |
// The number of index entries updated during the commit, or zero if none were |
| 1268 |
// updated. |
| 1269 |
IndexUpdates int32 `protobuf:"varint,4,opt,name=index_updates,json=indexUpdates,proto3" json:"index_updates,omitempty"` |
| 1270 |
// The transaction commit timestamp. Not set for non-transactional commits. |
| 1271 |
CommitTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=commit_time,json=commitTime,proto3" json:"commit_time,omitempty"` |
| 1272 |
} |
| 1273 |
|
| 1274 |
func (x *CommitResponse) Reset() { |
| 1275 |
*x = CommitResponse{} |
| 1276 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[11] |
| 1277 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1278 |
ms.StoreMessageInfo(mi) |
| 1279 |
} |
| 1280 |
|
| 1281 |
func (x *CommitResponse) String() string { |
| 1282 |
return protoimpl.X.MessageStringOf(x) |
| 1283 |
} |
| 1284 |
|
| 1285 |
func (*CommitResponse) ProtoMessage() {} |
| 1286 |
|
| 1287 |
func (x *CommitResponse) ProtoReflect() protoreflect.Message { |
| 1288 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[11] |
| 1289 |
if x != nil { |
| 1290 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1291 |
if ms.LoadMessageInfo() == nil { |
| 1292 |
ms.StoreMessageInfo(mi) |
| 1293 |
} |
| 1294 |
return ms |
| 1295 |
} |
| 1296 |
return mi.MessageOf(x) |
| 1297 |
} |
| 1298 |
|
| 1299 |
// Deprecated: Use CommitResponse.ProtoReflect.Descriptor instead. |
| 1300 |
func (*CommitResponse) Descriptor() ([]byte, []int) { |
| 1301 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{11} |
| 1302 |
} |
| 1303 |
|
| 1304 |
func (x *CommitResponse) GetMutationResults() []*MutationResult { |
| 1305 |
if x != nil { |
| 1306 |
return x.MutationResults |
| 1307 |
} |
| 1308 |
return nil |
| 1309 |
} |
| 1310 |
|
| 1311 |
func (x *CommitResponse) GetIndexUpdates() int32 { |
| 1312 |
if x != nil { |
| 1313 |
return x.IndexUpdates |
| 1314 |
} |
| 1315 |
return 0 |
| 1316 |
} |
| 1317 |
|
| 1318 |
func (x *CommitResponse) GetCommitTime() *timestamppb.Timestamp { |
| 1319 |
if x != nil { |
| 1320 |
return x.CommitTime |
| 1321 |
} |
| 1322 |
return nil |
| 1323 |
} |
| 1324 |
|
| 1325 |
// The request for |
| 1326 |
// [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds]. |
| 1327 |
type AllocateIdsRequest struct { |
| 1328 |
state protoimpl.MessageState |
| 1329 |
sizeCache protoimpl.SizeCache |
| 1330 |
unknownFields protoimpl.UnknownFields |
| 1331 |
|
| 1332 |
// Required. The ID of the project against which to make the request. |
| 1333 |
ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| 1334 |
// The ID of the database against which to make the request. |
| 1335 |
// |
| 1336 |
// '(default)' is not allowed; please use empty string ” to refer the default |
| 1337 |
// database. |
| 1338 |
DatabaseId string `protobuf:"bytes,9,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` |
| 1339 |
// Required. A list of keys with incomplete key paths for which to allocate |
| 1340 |
// IDs. No key may be reserved/read-only. |
| 1341 |
Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` |
| 1342 |
} |
| 1343 |
|
| 1344 |
func (x *AllocateIdsRequest) Reset() { |
| 1345 |
*x = AllocateIdsRequest{} |
| 1346 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[12] |
| 1347 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1348 |
ms.StoreMessageInfo(mi) |
| 1349 |
} |
| 1350 |
|
| 1351 |
func (x *AllocateIdsRequest) String() string { |
| 1352 |
return protoimpl.X.MessageStringOf(x) |
| 1353 |
} |
| 1354 |
|
| 1355 |
func (*AllocateIdsRequest) ProtoMessage() {} |
| 1356 |
|
| 1357 |
func (x *AllocateIdsRequest) ProtoReflect() protoreflect.Message { |
| 1358 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[12] |
| 1359 |
if x != nil { |
| 1360 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1361 |
if ms.LoadMessageInfo() == nil { |
| 1362 |
ms.StoreMessageInfo(mi) |
| 1363 |
} |
| 1364 |
return ms |
| 1365 |
} |
| 1366 |
return mi.MessageOf(x) |
| 1367 |
} |
| 1368 |
|
| 1369 |
// Deprecated: Use AllocateIdsRequest.ProtoReflect.Descriptor instead. |
| 1370 |
func (*AllocateIdsRequest) Descriptor() ([]byte, []int) { |
| 1371 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{12} |
| 1372 |
} |
| 1373 |
|
| 1374 |
func (x *AllocateIdsRequest) GetProjectId() string { |
| 1375 |
if x != nil { |
| 1376 |
return x.ProjectId |
| 1377 |
} |
| 1378 |
return "" |
| 1379 |
} |
| 1380 |
|
| 1381 |
func (x *AllocateIdsRequest) GetDatabaseId() string { |
| 1382 |
if x != nil { |
| 1383 |
return x.DatabaseId |
| 1384 |
} |
| 1385 |
return "" |
| 1386 |
} |
| 1387 |
|
| 1388 |
func (x *AllocateIdsRequest) GetKeys() []*Key { |
| 1389 |
if x != nil { |
| 1390 |
return x.Keys |
| 1391 |
} |
| 1392 |
return nil |
| 1393 |
} |
| 1394 |
|
| 1395 |
// The response for |
| 1396 |
// [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds]. |
| 1397 |
type AllocateIdsResponse struct { |
| 1398 |
state protoimpl.MessageState |
| 1399 |
sizeCache protoimpl.SizeCache |
| 1400 |
unknownFields protoimpl.UnknownFields |
| 1401 |
|
| 1402 |
// The keys specified in the request (in the same order), each with |
| 1403 |
// its key path completed with a newly allocated ID. |
| 1404 |
Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` |
| 1405 |
} |
| 1406 |
|
| 1407 |
func (x *AllocateIdsResponse) Reset() { |
| 1408 |
*x = AllocateIdsResponse{} |
| 1409 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[13] |
| 1410 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1411 |
ms.StoreMessageInfo(mi) |
| 1412 |
} |
| 1413 |
|
| 1414 |
func (x *AllocateIdsResponse) String() string { |
| 1415 |
return protoimpl.X.MessageStringOf(x) |
| 1416 |
} |
| 1417 |
|
| 1418 |
func (*AllocateIdsResponse) ProtoMessage() {} |
| 1419 |
|
| 1420 |
func (x *AllocateIdsResponse) ProtoReflect() protoreflect.Message { |
| 1421 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[13] |
| 1422 |
if x != nil { |
| 1423 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1424 |
if ms.LoadMessageInfo() == nil { |
| 1425 |
ms.StoreMessageInfo(mi) |
| 1426 |
} |
| 1427 |
return ms |
| 1428 |
} |
| 1429 |
return mi.MessageOf(x) |
| 1430 |
} |
| 1431 |
|
| 1432 |
// Deprecated: Use AllocateIdsResponse.ProtoReflect.Descriptor instead. |
| 1433 |
func (*AllocateIdsResponse) Descriptor() ([]byte, []int) { |
| 1434 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{13} |
| 1435 |
} |
| 1436 |
|
| 1437 |
func (x *AllocateIdsResponse) GetKeys() []*Key { |
| 1438 |
if x != nil { |
| 1439 |
return x.Keys |
| 1440 |
} |
| 1441 |
return nil |
| 1442 |
} |
| 1443 |
|
| 1444 |
// The request for |
| 1445 |
// [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds]. |
| 1446 |
type ReserveIdsRequest struct { |
| 1447 |
state protoimpl.MessageState |
| 1448 |
sizeCache protoimpl.SizeCache |
| 1449 |
unknownFields protoimpl.UnknownFields |
| 1450 |
|
| 1451 |
// Required. The ID of the project against which to make the request. |
| 1452 |
ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| 1453 |
// The ID of the database against which to make the request. |
| 1454 |
// |
| 1455 |
// '(default)' is not allowed; please use empty string ” to refer the default |
| 1456 |
// database. |
| 1457 |
DatabaseId string `protobuf:"bytes,9,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` |
| 1458 |
// Required. A list of keys with complete key paths whose numeric IDs should |
| 1459 |
// not be auto-allocated. |
| 1460 |
Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` |
| 1461 |
} |
| 1462 |
|
| 1463 |
func (x *ReserveIdsRequest) Reset() { |
| 1464 |
*x = ReserveIdsRequest{} |
| 1465 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[14] |
| 1466 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1467 |
ms.StoreMessageInfo(mi) |
| 1468 |
} |
| 1469 |
|
| 1470 |
func (x *ReserveIdsRequest) String() string { |
| 1471 |
return protoimpl.X.MessageStringOf(x) |
| 1472 |
} |
| 1473 |
|
| 1474 |
func (*ReserveIdsRequest) ProtoMessage() {} |
| 1475 |
|
| 1476 |
func (x *ReserveIdsRequest) ProtoReflect() protoreflect.Message { |
| 1477 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[14] |
| 1478 |
if x != nil { |
| 1479 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1480 |
if ms.LoadMessageInfo() == nil { |
| 1481 |
ms.StoreMessageInfo(mi) |
| 1482 |
} |
| 1483 |
return ms |
| 1484 |
} |
| 1485 |
return mi.MessageOf(x) |
| 1486 |
} |
| 1487 |
|
| 1488 |
// Deprecated: Use ReserveIdsRequest.ProtoReflect.Descriptor instead. |
| 1489 |
func (*ReserveIdsRequest) Descriptor() ([]byte, []int) { |
| 1490 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{14} |
| 1491 |
} |
| 1492 |
|
| 1493 |
func (x *ReserveIdsRequest) GetProjectId() string { |
| 1494 |
if x != nil { |
| 1495 |
return x.ProjectId |
| 1496 |
} |
| 1497 |
return "" |
| 1498 |
} |
| 1499 |
|
| 1500 |
func (x *ReserveIdsRequest) GetDatabaseId() string { |
| 1501 |
if x != nil { |
| 1502 |
return x.DatabaseId |
| 1503 |
} |
| 1504 |
return "" |
| 1505 |
} |
| 1506 |
|
| 1507 |
func (x *ReserveIdsRequest) GetKeys() []*Key { |
| 1508 |
if x != nil { |
| 1509 |
return x.Keys |
| 1510 |
} |
| 1511 |
return nil |
| 1512 |
} |
| 1513 |
|
| 1514 |
// The response for |
| 1515 |
// [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds]. |
| 1516 |
type ReserveIdsResponse struct { |
| 1517 |
state protoimpl.MessageState |
| 1518 |
sizeCache protoimpl.SizeCache |
| 1519 |
unknownFields protoimpl.UnknownFields |
| 1520 |
} |
| 1521 |
|
| 1522 |
func (x *ReserveIdsResponse) Reset() { |
| 1523 |
*x = ReserveIdsResponse{} |
| 1524 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[15] |
| 1525 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1526 |
ms.StoreMessageInfo(mi) |
| 1527 |
} |
| 1528 |
|
| 1529 |
func (x *ReserveIdsResponse) String() string { |
| 1530 |
return protoimpl.X.MessageStringOf(x) |
| 1531 |
} |
| 1532 |
|
| 1533 |
func (*ReserveIdsResponse) ProtoMessage() {} |
| 1534 |
|
| 1535 |
func (x *ReserveIdsResponse) ProtoReflect() protoreflect.Message { |
| 1536 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[15] |
| 1537 |
if x != nil { |
| 1538 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1539 |
if ms.LoadMessageInfo() == nil { |
| 1540 |
ms.StoreMessageInfo(mi) |
| 1541 |
} |
| 1542 |
return ms |
| 1543 |
} |
| 1544 |
return mi.MessageOf(x) |
| 1545 |
} |
| 1546 |
|
| 1547 |
// Deprecated: Use ReserveIdsResponse.ProtoReflect.Descriptor instead. |
| 1548 |
func (*ReserveIdsResponse) Descriptor() ([]byte, []int) { |
| 1549 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{15} |
| 1550 |
} |
| 1551 |
|
| 1552 |
// A mutation to apply to an entity. |
| 1553 |
type Mutation struct { |
| 1554 |
state protoimpl.MessageState |
| 1555 |
sizeCache protoimpl.SizeCache |
| 1556 |
unknownFields protoimpl.UnknownFields |
| 1557 |
|
| 1558 |
// The mutation operation. |
| 1559 |
// |
| 1560 |
// For `insert`, `update`, and `upsert`: |
| 1561 |
// - The entity's key must not be reserved/read-only. |
| 1562 |
// - No property in the entity may have a reserved name, |
| 1563 |
// not even a property in an entity in a value. |
| 1564 |
// - No value in the entity may have meaning 18, |
| 1565 |
// not even a value in an entity in another value. |
| 1566 |
// |
| 1567 |
// Types that are assignable to Operation: |
| 1568 |
// |
| 1569 |
// *Mutation_Insert |
| 1570 |
// *Mutation_Update |
| 1571 |
// *Mutation_Upsert |
| 1572 |
// *Mutation_Delete |
| 1573 |
Operation isMutation_Operation `protobuf_oneof:"operation"` |
| 1574 |
// When set, the server will detect whether or not this mutation conflicts |
| 1575 |
// with the current version of the entity on the server. Conflicting mutations |
| 1576 |
// are not applied, and are marked as such in MutationResult. |
| 1577 |
// |
| 1578 |
// Types that are assignable to ConflictDetectionStrategy: |
| 1579 |
// |
| 1580 |
// *Mutation_BaseVersion |
| 1581 |
// *Mutation_UpdateTime |
| 1582 |
ConflictDetectionStrategy isMutation_ConflictDetectionStrategy `protobuf_oneof:"conflict_detection_strategy"` |
| 1583 |
// The strategy to use when a conflict is detected. Defaults to |
| 1584 |
// `SERVER_VALUE`. |
| 1585 |
// If this is set, then `conflict_detection_strategy` must also be set. |
| 1586 |
ConflictResolutionStrategy Mutation_ConflictResolutionStrategy `protobuf:"varint,10,opt,name=conflict_resolution_strategy,json=conflictResolutionStrategy,proto3,enum=google.datastore.v1.Mutation_ConflictResolutionStrategy" json:"conflict_resolution_strategy,omitempty"` |
| 1587 |
// The properties to write in this mutation. |
| 1588 |
// None of the properties in the mask may have a reserved name, except for |
| 1589 |
// `__key__`. |
| 1590 |
// This field is ignored for `delete`. |
| 1591 |
// |
| 1592 |
// If the entity already exists, only properties referenced in the mask are |
| 1593 |
// updated, others are left untouched. |
| 1594 |
// Properties referenced in the mask but not in the entity are deleted. |
| 1595 |
PropertyMask *PropertyMask `protobuf:"bytes,9,opt,name=property_mask,json=propertyMask,proto3" json:"property_mask,omitempty"` |
| 1596 |
// Optional. The transforms to perform on the entity. |
| 1597 |
// |
| 1598 |
// This field can be set only when the operation is `insert`, `update`, |
| 1599 |
// or `upsert`. If present, the transforms are be applied to the entity |
| 1600 |
// regardless of the property mask, in order, after the operation. |
| 1601 |
PropertyTransforms []*PropertyTransform `protobuf:"bytes,12,rep,name=property_transforms,json=propertyTransforms,proto3" json:"property_transforms,omitempty"` |
| 1602 |
} |
| 1603 |
|
| 1604 |
func (x *Mutation) Reset() { |
| 1605 |
*x = Mutation{} |
| 1606 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[16] |
| 1607 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1608 |
ms.StoreMessageInfo(mi) |
| 1609 |
} |
| 1610 |
|
| 1611 |
func (x *Mutation) String() string { |
| 1612 |
return protoimpl.X.MessageStringOf(x) |
| 1613 |
} |
| 1614 |
|
| 1615 |
func (*Mutation) ProtoMessage() {} |
| 1616 |
|
| 1617 |
func (x *Mutation) ProtoReflect() protoreflect.Message { |
| 1618 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[16] |
| 1619 |
if x != nil { |
| 1620 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1621 |
if ms.LoadMessageInfo() == nil { |
| 1622 |
ms.StoreMessageInfo(mi) |
| 1623 |
} |
| 1624 |
return ms |
| 1625 |
} |
| 1626 |
return mi.MessageOf(x) |
| 1627 |
} |
| 1628 |
|
| 1629 |
// Deprecated: Use Mutation.ProtoReflect.Descriptor instead. |
| 1630 |
func (*Mutation) Descriptor() ([]byte, []int) { |
| 1631 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{16} |
| 1632 |
} |
| 1633 |
|
| 1634 |
func (m *Mutation) GetOperation() isMutation_Operation { |
| 1635 |
if m != nil { |
| 1636 |
return m.Operation |
| 1637 |
} |
| 1638 |
return nil |
| 1639 |
} |
| 1640 |
|
| 1641 |
func (x *Mutation) GetInsert() *Entity { |
| 1642 |
if x, ok := x.GetOperation().(*Mutation_Insert); ok { |
| 1643 |
return x.Insert |
| 1644 |
} |
| 1645 |
return nil |
| 1646 |
} |
| 1647 |
|
| 1648 |
func (x *Mutation) GetUpdate() *Entity { |
| 1649 |
if x, ok := x.GetOperation().(*Mutation_Update); ok { |
| 1650 |
return x.Update |
| 1651 |
} |
| 1652 |
return nil |
| 1653 |
} |
| 1654 |
|
| 1655 |
func (x *Mutation) GetUpsert() *Entity { |
| 1656 |
if x, ok := x.GetOperation().(*Mutation_Upsert); ok { |
| 1657 |
return x.Upsert |
| 1658 |
} |
| 1659 |
return nil |
| 1660 |
} |
| 1661 |
|
| 1662 |
func (x *Mutation) GetDelete() *Key { |
| 1663 |
if x, ok := x.GetOperation().(*Mutation_Delete); ok { |
| 1664 |
return x.Delete |
| 1665 |
} |
| 1666 |
return nil |
| 1667 |
} |
| 1668 |
|
| 1669 |
func (m *Mutation) GetConflictDetectionStrategy() isMutation_ConflictDetectionStrategy { |
| 1670 |
if m != nil { |
| 1671 |
return m.ConflictDetectionStrategy |
| 1672 |
} |
| 1673 |
return nil |
| 1674 |
} |
| 1675 |
|
| 1676 |
func (x *Mutation) GetBaseVersion() int64 { |
| 1677 |
if x, ok := x.GetConflictDetectionStrategy().(*Mutation_BaseVersion); ok { |
| 1678 |
return x.BaseVersion |
| 1679 |
} |
| 1680 |
return 0 |
| 1681 |
} |
| 1682 |
|
| 1683 |
func (x *Mutation) GetUpdateTime() *timestamppb.Timestamp { |
| 1684 |
if x, ok := x.GetConflictDetectionStrategy().(*Mutation_UpdateTime); ok { |
| 1685 |
return x.UpdateTime |
| 1686 |
} |
| 1687 |
return nil |
| 1688 |
} |
| 1689 |
|
| 1690 |
func (x *Mutation) GetConflictResolutionStrategy() Mutation_ConflictResolutionStrategy { |
| 1691 |
if x != nil { |
| 1692 |
return x.ConflictResolutionStrategy |
| 1693 |
} |
| 1694 |
return Mutation_STRATEGY_UNSPECIFIED |
| 1695 |
} |
| 1696 |
|
| 1697 |
func (x *Mutation) GetPropertyMask() *PropertyMask { |
| 1698 |
if x != nil { |
| 1699 |
return x.PropertyMask |
| 1700 |
} |
| 1701 |
return nil |
| 1702 |
} |
| 1703 |
|
| 1704 |
func (x *Mutation) GetPropertyTransforms() []*PropertyTransform { |
| 1705 |
if x != nil { |
| 1706 |
return x.PropertyTransforms |
| 1707 |
} |
| 1708 |
return nil |
| 1709 |
} |
| 1710 |
|
| 1711 |
type isMutation_Operation interface { |
| 1712 |
isMutation_Operation() |
| 1713 |
} |
| 1714 |
|
| 1715 |
type Mutation_Insert struct { |
| 1716 |
// The entity to insert. The entity must not already exist. |
| 1717 |
// The entity key's final path element may be incomplete. |
| 1718 |
Insert *Entity `protobuf:"bytes,4,opt,name=insert,proto3,oneof"` |
| 1719 |
} |
| 1720 |
|
| 1721 |
type Mutation_Update struct { |
| 1722 |
// The entity to update. The entity must already exist. |
| 1723 |
// Must have a complete key path. |
| 1724 |
Update *Entity `protobuf:"bytes,5,opt,name=update,proto3,oneof"` |
| 1725 |
} |
| 1726 |
|
| 1727 |
type Mutation_Upsert struct { |
| 1728 |
// The entity to upsert. The entity may or may not already exist. |
| 1729 |
// The entity key's final path element may be incomplete. |
| 1730 |
Upsert *Entity `protobuf:"bytes,6,opt,name=upsert,proto3,oneof"` |
| 1731 |
} |
| 1732 |
|
| 1733 |
type Mutation_Delete struct { |
| 1734 |
// The key of the entity to delete. The entity may or may not already exist. |
| 1735 |
// Must have a complete key path and must not be reserved/read-only. |
| 1736 |
Delete *Key `protobuf:"bytes,7,opt,name=delete,proto3,oneof"` |
| 1737 |
} |
| 1738 |
|
| 1739 |
func (*Mutation_Insert) isMutation_Operation() {} |
| 1740 |
|
| 1741 |
func (*Mutation_Update) isMutation_Operation() {} |
| 1742 |
|
| 1743 |
func (*Mutation_Upsert) isMutation_Operation() {} |
| 1744 |
|
| 1745 |
func (*Mutation_Delete) isMutation_Operation() {} |
| 1746 |
|
| 1747 |
type isMutation_ConflictDetectionStrategy interface { |
| 1748 |
isMutation_ConflictDetectionStrategy() |
| 1749 |
} |
| 1750 |
|
| 1751 |
type Mutation_BaseVersion struct { |
| 1752 |
// The version of the entity that this mutation is being applied |
| 1753 |
// to. If this does not match the current version on the server, the |
| 1754 |
// mutation conflicts. |
| 1755 |
BaseVersion int64 `protobuf:"varint,8,opt,name=base_version,json=baseVersion,proto3,oneof"` |
| 1756 |
} |
| 1757 |
|
| 1758 |
type Mutation_UpdateTime struct { |
| 1759 |
// The update time of the entity that this mutation is being applied |
| 1760 |
// to. If this does not match the current update time on the server, the |
| 1761 |
// mutation conflicts. |
| 1762 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3,oneof"` |
| 1763 |
} |
| 1764 |
|
| 1765 |
func (*Mutation_BaseVersion) isMutation_ConflictDetectionStrategy() {} |
| 1766 |
|
| 1767 |
func (*Mutation_UpdateTime) isMutation_ConflictDetectionStrategy() {} |
| 1768 |
|
| 1769 |
// A transformation of an entity property. |
| 1770 |
type PropertyTransform struct { |
| 1771 |
state protoimpl.MessageState |
| 1772 |
sizeCache protoimpl.SizeCache |
| 1773 |
unknownFields protoimpl.UnknownFields |
| 1774 |
|
| 1775 |
// Optional. The name of the property. |
| 1776 |
// |
| 1777 |
// Property paths (a list of property names separated by dots (`.`)) may be |
| 1778 |
// used to refer to properties inside entity values. For example `foo.bar` |
| 1779 |
// means the property `bar` inside the entity property `foo`. |
| 1780 |
// |
| 1781 |
// If a property name contains a dot `.` or a backlslash `\`, then that name |
| 1782 |
// must be escaped. |
| 1783 |
Property string `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` |
| 1784 |
// The transformation to apply to the property. |
| 1785 |
// |
| 1786 |
// Types that are assignable to TransformType: |
| 1787 |
// |
| 1788 |
// *PropertyTransform_SetToServerValue |
| 1789 |
// *PropertyTransform_Increment |
| 1790 |
// *PropertyTransform_Maximum |
| 1791 |
// *PropertyTransform_Minimum |
| 1792 |
// *PropertyTransform_AppendMissingElements |
| 1793 |
// *PropertyTransform_RemoveAllFromArray |
| 1794 |
TransformType isPropertyTransform_TransformType `protobuf_oneof:"transform_type"` |
| 1795 |
} |
| 1796 |
|
| 1797 |
func (x *PropertyTransform) Reset() { |
| 1798 |
*x = PropertyTransform{} |
| 1799 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[17] |
| 1800 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1801 |
ms.StoreMessageInfo(mi) |
| 1802 |
} |
| 1803 |
|
| 1804 |
func (x *PropertyTransform) String() string { |
| 1805 |
return protoimpl.X.MessageStringOf(x) |
| 1806 |
} |
| 1807 |
|
| 1808 |
func (*PropertyTransform) ProtoMessage() {} |
| 1809 |
|
| 1810 |
func (x *PropertyTransform) ProtoReflect() protoreflect.Message { |
| 1811 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[17] |
| 1812 |
if x != nil { |
| 1813 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1814 |
if ms.LoadMessageInfo() == nil { |
| 1815 |
ms.StoreMessageInfo(mi) |
| 1816 |
} |
| 1817 |
return ms |
| 1818 |
} |
| 1819 |
return mi.MessageOf(x) |
| 1820 |
} |
| 1821 |
|
| 1822 |
// Deprecated: Use PropertyTransform.ProtoReflect.Descriptor instead. |
| 1823 |
func (*PropertyTransform) Descriptor() ([]byte, []int) { |
| 1824 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{17} |
| 1825 |
} |
| 1826 |
|
| 1827 |
func (x *PropertyTransform) GetProperty() string { |
| 1828 |
if x != nil { |
| 1829 |
return x.Property |
| 1830 |
} |
| 1831 |
return "" |
| 1832 |
} |
| 1833 |
|
| 1834 |
func (m *PropertyTransform) GetTransformType() isPropertyTransform_TransformType { |
| 1835 |
if m != nil { |
| 1836 |
return m.TransformType |
| 1837 |
} |
| 1838 |
return nil |
| 1839 |
} |
| 1840 |
|
| 1841 |
func (x *PropertyTransform) GetSetToServerValue() PropertyTransform_ServerValue { |
| 1842 |
if x, ok := x.GetTransformType().(*PropertyTransform_SetToServerValue); ok { |
| 1843 |
return x.SetToServerValue |
| 1844 |
} |
| 1845 |
return PropertyTransform_SERVER_VALUE_UNSPECIFIED |
| 1846 |
} |
| 1847 |
|
| 1848 |
func (x *PropertyTransform) GetIncrement() *Value { |
| 1849 |
if x, ok := x.GetTransformType().(*PropertyTransform_Increment); ok { |
| 1850 |
return x.Increment |
| 1851 |
} |
| 1852 |
return nil |
| 1853 |
} |
| 1854 |
|
| 1855 |
func (x *PropertyTransform) GetMaximum() *Value { |
| 1856 |
if x, ok := x.GetTransformType().(*PropertyTransform_Maximum); ok { |
| 1857 |
return x.Maximum |
| 1858 |
} |
| 1859 |
return nil |
| 1860 |
} |
| 1861 |
|
| 1862 |
func (x *PropertyTransform) GetMinimum() *Value { |
| 1863 |
if x, ok := x.GetTransformType().(*PropertyTransform_Minimum); ok { |
| 1864 |
return x.Minimum |
| 1865 |
} |
| 1866 |
return nil |
| 1867 |
} |
| 1868 |
|
| 1869 |
func (x *PropertyTransform) GetAppendMissingElements() *ArrayValue { |
| 1870 |
if x, ok := x.GetTransformType().(*PropertyTransform_AppendMissingElements); ok { |
| 1871 |
return x.AppendMissingElements |
| 1872 |
} |
| 1873 |
return nil |
| 1874 |
} |
| 1875 |
|
| 1876 |
func (x *PropertyTransform) GetRemoveAllFromArray() *ArrayValue { |
| 1877 |
if x, ok := x.GetTransformType().(*PropertyTransform_RemoveAllFromArray); ok { |
| 1878 |
return x.RemoveAllFromArray |
| 1879 |
} |
| 1880 |
return nil |
| 1881 |
} |
| 1882 |
|
| 1883 |
type isPropertyTransform_TransformType interface { |
| 1884 |
isPropertyTransform_TransformType() |
| 1885 |
} |
| 1886 |
|
| 1887 |
type PropertyTransform_SetToServerValue struct { |
| 1888 |
// Sets the property to the given server value. |
| 1889 |
SetToServerValue PropertyTransform_ServerValue `protobuf:"varint,2,opt,name=set_to_server_value,json=setToServerValue,proto3,enum=google.datastore.v1.PropertyTransform_ServerValue,oneof"` |
| 1890 |
} |
| 1891 |
|
| 1892 |
type PropertyTransform_Increment struct { |
| 1893 |
// Adds the given value to the property's current value. |
| 1894 |
// |
| 1895 |
// This must be an integer or a double value. |
| 1896 |
// If the property is not an integer or double, or if the property does not |
| 1897 |
// yet exist, the transformation will set the property to the given value. |
| 1898 |
// If either of the given value or the current property value are doubles, |
| 1899 |
// both values will be interpreted as doubles. Double arithmetic and |
| 1900 |
// representation of double values follows IEEE 754 semantics. |
| 1901 |
// If there is positive/negative integer overflow, the property is resolved |
| 1902 |
// to the largest magnitude positive/negative integer. |
| 1903 |
Increment *Value `protobuf:"bytes,3,opt,name=increment,proto3,oneof"` |
| 1904 |
} |
| 1905 |
|
| 1906 |
type PropertyTransform_Maximum struct { |
| 1907 |
// Sets the property to the maximum of its current value and the given |
| 1908 |
// value. |
| 1909 |
// |
| 1910 |
// This must be an integer or a double value. |
| 1911 |
// If the property is not an integer or double, or if the property does not |
| 1912 |
// yet exist, the transformation will set the property to the given value. |
| 1913 |
// If a maximum operation is applied where the property and the input value |
| 1914 |
// are of mixed types (that is - one is an integer and one is a double) |
| 1915 |
// the property takes on the type of the larger operand. If the operands are |
| 1916 |
// equivalent (e.g. 3 and 3.0), the property does not change. |
| 1917 |
// 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and |
| 1918 |
// zero input value is always the stored value. |
| 1919 |
// The maximum of any numeric value x and NaN is NaN. |
| 1920 |
Maximum *Value `protobuf:"bytes,4,opt,name=maximum,proto3,oneof"` |
| 1921 |
} |
| 1922 |
|
| 1923 |
type PropertyTransform_Minimum struct { |
| 1924 |
// Sets the property to the minimum of its current value and the given |
| 1925 |
// value. |
| 1926 |
// |
| 1927 |
// This must be an integer or a double value. |
| 1928 |
// If the property is not an integer or double, or if the property does not |
| 1929 |
// yet exist, the transformation will set the property to the input value. |
| 1930 |
// If a minimum operation is applied where the property and the input value |
| 1931 |
// are of mixed types (that is - one is an integer and one is a double) |
| 1932 |
// the property takes on the type of the smaller operand. If the operands |
| 1933 |
// are equivalent (e.g. 3 and 3.0), the property does not change. 0, 0.0, |
| 1934 |
// and -0.0 are all zero. The minimum of a zero stored value and zero input |
| 1935 |
// value is always the stored value. The minimum of any numeric value x and |
| 1936 |
// NaN is NaN. |
| 1937 |
Minimum *Value `protobuf:"bytes,5,opt,name=minimum,proto3,oneof"` |
| 1938 |
} |
| 1939 |
|
| 1940 |
type PropertyTransform_AppendMissingElements struct { |
| 1941 |
// Appends the given elements in order if they are not already present in |
| 1942 |
// the current property value. |
| 1943 |
// If the property is not an array, or if the property does not yet exist, |
| 1944 |
// it is first set to the empty array. |
| 1945 |
// |
| 1946 |
// Equivalent numbers of different types (e.g. 3L and 3.0) are |
| 1947 |
// considered equal when checking if a value is missing. |
| 1948 |
// NaN is equal to NaN, and the null value is equal to the null value. |
| 1949 |
// If the input contains multiple equivalent values, only the first will |
| 1950 |
// be considered. |
| 1951 |
// |
| 1952 |
// The corresponding transform result will be the null value. |
| 1953 |
AppendMissingElements *ArrayValue `protobuf:"bytes,6,opt,name=append_missing_elements,json=appendMissingElements,proto3,oneof"` |
| 1954 |
} |
| 1955 |
|
| 1956 |
type PropertyTransform_RemoveAllFromArray struct { |
| 1957 |
// Removes all of the given elements from the array in the property. |
| 1958 |
// If the property is not an array, or if the property does not yet exist, |
| 1959 |
// it is set to the empty array. |
| 1960 |
// |
| 1961 |
// Equivalent numbers of different types (e.g. 3L and 3.0) are |
| 1962 |
// considered equal when deciding whether an element should be removed. |
| 1963 |
// NaN is equal to NaN, and the null value is equal to the null value. |
| 1964 |
// This will remove all equivalent values if there are duplicates. |
| 1965 |
// |
| 1966 |
// The corresponding transform result will be the null value. |
| 1967 |
RemoveAllFromArray *ArrayValue `protobuf:"bytes,7,opt,name=remove_all_from_array,json=removeAllFromArray,proto3,oneof"` |
| 1968 |
} |
| 1969 |
|
| 1970 |
func (*PropertyTransform_SetToServerValue) isPropertyTransform_TransformType() {} |
| 1971 |
|
| 1972 |
func (*PropertyTransform_Increment) isPropertyTransform_TransformType() {} |
| 1973 |
|
| 1974 |
func (*PropertyTransform_Maximum) isPropertyTransform_TransformType() {} |
| 1975 |
|
| 1976 |
func (*PropertyTransform_Minimum) isPropertyTransform_TransformType() {} |
| 1977 |
|
| 1978 |
func (*PropertyTransform_AppendMissingElements) isPropertyTransform_TransformType() {} |
| 1979 |
|
| 1980 |
func (*PropertyTransform_RemoveAllFromArray) isPropertyTransform_TransformType() {} |
| 1981 |
|
| 1982 |
// The result of applying a mutation. |
| 1983 |
type MutationResult struct { |
| 1984 |
state protoimpl.MessageState |
| 1985 |
sizeCache protoimpl.SizeCache |
| 1986 |
unknownFields protoimpl.UnknownFields |
| 1987 |
|
| 1988 |
// The automatically allocated key. |
| 1989 |
// Set only when the mutation allocated a key. |
| 1990 |
Key *Key `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` |
| 1991 |
// The version of the entity on the server after processing the mutation. If |
| 1992 |
// the mutation doesn't change anything on the server, then the version will |
| 1993 |
// be the version of the current entity or, if no entity is present, a version |
| 1994 |
// that is strictly greater than the version of any previous entity and less |
| 1995 |
// than the version of any possible future entity. |
| 1996 |
Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` |
| 1997 |
// The create time of the entity. This field will not be set after a 'delete'. |
| 1998 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 1999 |
// The update time of the entity on the server after processing the mutation. |
| 2000 |
// If the mutation doesn't change anything on the server, then the timestamp |
| 2001 |
// will be the update timestamp of the current entity. This field will not be |
| 2002 |
// set after a 'delete'. |
| 2003 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 2004 |
// Whether a conflict was detected for this mutation. Always false when a |
| 2005 |
// conflict detection strategy field is not set in the mutation. |
| 2006 |
ConflictDetected bool `protobuf:"varint,5,opt,name=conflict_detected,json=conflictDetected,proto3" json:"conflict_detected,omitempty"` |
| 2007 |
// The results of applying each |
| 2008 |
// [PropertyTransform][google.datastore.v1.PropertyTransform], in the same |
| 2009 |
// order of the request. |
| 2010 |
TransformResults []*Value `protobuf:"bytes,8,rep,name=transform_results,json=transformResults,proto3" json:"transform_results,omitempty"` |
| 2011 |
} |
| 2012 |
|
| 2013 |
func (x *MutationResult) Reset() { |
| 2014 |
*x = MutationResult{} |
| 2015 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[18] |
| 2016 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2017 |
ms.StoreMessageInfo(mi) |
| 2018 |
} |
| 2019 |
|
| 2020 |
func (x *MutationResult) String() string { |
| 2021 |
return protoimpl.X.MessageStringOf(x) |
| 2022 |
} |
| 2023 |
|
| 2024 |
func (*MutationResult) ProtoMessage() {} |
| 2025 |
|
| 2026 |
func (x *MutationResult) ProtoReflect() protoreflect.Message { |
| 2027 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[18] |
| 2028 |
if x != nil { |
| 2029 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2030 |
if ms.LoadMessageInfo() == nil { |
| 2031 |
ms.StoreMessageInfo(mi) |
| 2032 |
} |
| 2033 |
return ms |
| 2034 |
} |
| 2035 |
return mi.MessageOf(x) |
| 2036 |
} |
| 2037 |
|
| 2038 |
// Deprecated: Use MutationResult.ProtoReflect.Descriptor instead. |
| 2039 |
func (*MutationResult) Descriptor() ([]byte, []int) { |
| 2040 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{18} |
| 2041 |
} |
| 2042 |
|
| 2043 |
func (x *MutationResult) GetKey() *Key { |
| 2044 |
if x != nil { |
| 2045 |
return x.Key |
| 2046 |
} |
| 2047 |
return nil |
| 2048 |
} |
| 2049 |
|
| 2050 |
func (x *MutationResult) GetVersion() int64 { |
| 2051 |
if x != nil { |
| 2052 |
return x.Version |
| 2053 |
} |
| 2054 |
return 0 |
| 2055 |
} |
| 2056 |
|
| 2057 |
func (x *MutationResult) GetCreateTime() *timestamppb.Timestamp { |
| 2058 |
if x != nil { |
| 2059 |
return x.CreateTime |
| 2060 |
} |
| 2061 |
return nil |
| 2062 |
} |
| 2063 |
|
| 2064 |
func (x *MutationResult) GetUpdateTime() *timestamppb.Timestamp { |
| 2065 |
if x != nil { |
| 2066 |
return x.UpdateTime |
| 2067 |
} |
| 2068 |
return nil |
| 2069 |
} |
| 2070 |
|
| 2071 |
func (x *MutationResult) GetConflictDetected() bool { |
| 2072 |
if x != nil { |
| 2073 |
return x.ConflictDetected |
| 2074 |
} |
| 2075 |
return false |
| 2076 |
} |
| 2077 |
|
| 2078 |
func (x *MutationResult) GetTransformResults() []*Value { |
| 2079 |
if x != nil { |
| 2080 |
return x.TransformResults |
| 2081 |
} |
| 2082 |
return nil |
| 2083 |
} |
| 2084 |
|
| 2085 |
// The set of arbitrarily nested property paths used to restrict an operation to |
| 2086 |
// only a subset of properties in an entity. |
| 2087 |
type PropertyMask struct { |
| 2088 |
state protoimpl.MessageState |
| 2089 |
sizeCache protoimpl.SizeCache |
| 2090 |
unknownFields protoimpl.UnknownFields |
| 2091 |
|
| 2092 |
// The paths to the properties covered by this mask. |
| 2093 |
// |
| 2094 |
// A path is a list of property names separated by dots (`.`), for example |
| 2095 |
// `foo.bar` means the property `bar` inside the entity property `foo` inside |
| 2096 |
// the entity associated with this path. |
| 2097 |
// |
| 2098 |
// If a property name contains a dot `.` or a backslash `\`, then that |
| 2099 |
// name must be escaped. |
| 2100 |
// |
| 2101 |
// A path must not be empty, and may not reference a value inside an |
| 2102 |
// [array value][google.datastore.v1.Value.array_value]. |
| 2103 |
Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` |
| 2104 |
} |
| 2105 |
|
| 2106 |
func (x *PropertyMask) Reset() { |
| 2107 |
*x = PropertyMask{} |
| 2108 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[19] |
| 2109 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2110 |
ms.StoreMessageInfo(mi) |
| 2111 |
} |
| 2112 |
|
| 2113 |
func (x *PropertyMask) String() string { |
| 2114 |
return protoimpl.X.MessageStringOf(x) |
| 2115 |
} |
| 2116 |
|
| 2117 |
func (*PropertyMask) ProtoMessage() {} |
| 2118 |
|
| 2119 |
func (x *PropertyMask) ProtoReflect() protoreflect.Message { |
| 2120 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[19] |
| 2121 |
if x != nil { |
| 2122 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2123 |
if ms.LoadMessageInfo() == nil { |
| 2124 |
ms.StoreMessageInfo(mi) |
| 2125 |
} |
| 2126 |
return ms |
| 2127 |
} |
| 2128 |
return mi.MessageOf(x) |
| 2129 |
} |
| 2130 |
|
| 2131 |
// Deprecated: Use PropertyMask.ProtoReflect.Descriptor instead. |
| 2132 |
func (*PropertyMask) Descriptor() ([]byte, []int) { |
| 2133 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{19} |
| 2134 |
} |
| 2135 |
|
| 2136 |
func (x *PropertyMask) GetPaths() []string { |
| 2137 |
if x != nil { |
| 2138 |
return x.Paths |
| 2139 |
} |
| 2140 |
return nil |
| 2141 |
} |
| 2142 |
|
| 2143 |
// The options shared by read requests. |
| 2144 |
type ReadOptions struct { |
| 2145 |
state protoimpl.MessageState |
| 2146 |
sizeCache protoimpl.SizeCache |
| 2147 |
unknownFields protoimpl.UnknownFields |
| 2148 |
|
| 2149 |
// For Cloud Firestore in Datastore mode, if you don't specify |
| 2150 |
// read_consistency then all lookups and queries default to |
| 2151 |
// `read_consistency`=`STRONG`. Note that, in Cloud Datastore, global queries |
| 2152 |
// defaulted to `read_consistency`=`EVENTUAL`. |
| 2153 |
// |
| 2154 |
// Explicitly setting `read_consistency`=`EVENTUAL` will result in eventually |
| 2155 |
// consistent lookups and queries. |
| 2156 |
// |
| 2157 |
// Types that are assignable to ConsistencyType: |
| 2158 |
// |
| 2159 |
// *ReadOptions_ReadConsistency_ |
| 2160 |
// *ReadOptions_Transaction |
| 2161 |
// *ReadOptions_NewTransaction |
| 2162 |
// *ReadOptions_ReadTime |
| 2163 |
ConsistencyType isReadOptions_ConsistencyType `protobuf_oneof:"consistency_type"` |
| 2164 |
} |
| 2165 |
|
| 2166 |
func (x *ReadOptions) Reset() { |
| 2167 |
*x = ReadOptions{} |
| 2168 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[20] |
| 2169 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2170 |
ms.StoreMessageInfo(mi) |
| 2171 |
} |
| 2172 |
|
| 2173 |
func (x *ReadOptions) String() string { |
| 2174 |
return protoimpl.X.MessageStringOf(x) |
| 2175 |
} |
| 2176 |
|
| 2177 |
func (*ReadOptions) ProtoMessage() {} |
| 2178 |
|
| 2179 |
func (x *ReadOptions) ProtoReflect() protoreflect.Message { |
| 2180 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[20] |
| 2181 |
if x != nil { |
| 2182 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2183 |
if ms.LoadMessageInfo() == nil { |
| 2184 |
ms.StoreMessageInfo(mi) |
| 2185 |
} |
| 2186 |
return ms |
| 2187 |
} |
| 2188 |
return mi.MessageOf(x) |
| 2189 |
} |
| 2190 |
|
| 2191 |
// Deprecated: Use ReadOptions.ProtoReflect.Descriptor instead. |
| 2192 |
func (*ReadOptions) Descriptor() ([]byte, []int) { |
| 2193 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{20} |
| 2194 |
} |
| 2195 |
|
| 2196 |
func (m *ReadOptions) GetConsistencyType() isReadOptions_ConsistencyType { |
| 2197 |
if m != nil { |
| 2198 |
return m.ConsistencyType |
| 2199 |
} |
| 2200 |
return nil |
| 2201 |
} |
| 2202 |
|
| 2203 |
func (x *ReadOptions) GetReadConsistency() ReadOptions_ReadConsistency { |
| 2204 |
if x, ok := x.GetConsistencyType().(*ReadOptions_ReadConsistency_); ok { |
| 2205 |
return x.ReadConsistency |
| 2206 |
} |
| 2207 |
return ReadOptions_READ_CONSISTENCY_UNSPECIFIED |
| 2208 |
} |
| 2209 |
|
| 2210 |
func (x *ReadOptions) GetTransaction() []byte { |
| 2211 |
if x, ok := x.GetConsistencyType().(*ReadOptions_Transaction); ok { |
| 2212 |
return x.Transaction |
| 2213 |
} |
| 2214 |
return nil |
| 2215 |
} |
| 2216 |
|
| 2217 |
func (x *ReadOptions) GetNewTransaction() *TransactionOptions { |
| 2218 |
if x, ok := x.GetConsistencyType().(*ReadOptions_NewTransaction); ok { |
| 2219 |
return x.NewTransaction |
| 2220 |
} |
| 2221 |
return nil |
| 2222 |
} |
| 2223 |
|
| 2224 |
func (x *ReadOptions) GetReadTime() *timestamppb.Timestamp { |
| 2225 |
if x, ok := x.GetConsistencyType().(*ReadOptions_ReadTime); ok { |
| 2226 |
return x.ReadTime |
| 2227 |
} |
| 2228 |
return nil |
| 2229 |
} |
| 2230 |
|
| 2231 |
type isReadOptions_ConsistencyType interface { |
| 2232 |
isReadOptions_ConsistencyType() |
| 2233 |
} |
| 2234 |
|
| 2235 |
type ReadOptions_ReadConsistency_ struct { |
| 2236 |
// The non-transactional read consistency to use. |
| 2237 |
ReadConsistency ReadOptions_ReadConsistency `protobuf:"varint,1,opt,name=read_consistency,json=readConsistency,proto3,enum=google.datastore.v1.ReadOptions_ReadConsistency,oneof"` |
| 2238 |
} |
| 2239 |
|
| 2240 |
type ReadOptions_Transaction struct { |
| 2241 |
// The identifier of the transaction in which to read. A |
| 2242 |
// transaction identifier is returned by a call to |
| 2243 |
// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. |
| 2244 |
Transaction []byte `protobuf:"bytes,2,opt,name=transaction,proto3,oneof"` |
| 2245 |
} |
| 2246 |
|
| 2247 |
type ReadOptions_NewTransaction struct { |
| 2248 |
// Options for beginning a new transaction for this request. |
| 2249 |
// |
| 2250 |
// The new transaction identifier will be returned in the corresponding |
| 2251 |
// response as either |
| 2252 |
// [LookupResponse.transaction][google.datastore.v1.LookupResponse.transaction] |
| 2253 |
// or |
| 2254 |
// [RunQueryResponse.transaction][google.datastore.v1.RunQueryResponse.transaction]. |
| 2255 |
NewTransaction *TransactionOptions `protobuf:"bytes,3,opt,name=new_transaction,json=newTransaction,proto3,oneof"` |
| 2256 |
} |
| 2257 |
|
| 2258 |
type ReadOptions_ReadTime struct { |
| 2259 |
// Reads entities as they were at the given time. This value is only |
| 2260 |
// supported for Cloud Firestore in Datastore mode. |
| 2261 |
// |
| 2262 |
// This must be a microsecond precision timestamp within the past one hour, |
| 2263 |
// or if Point-in-Time Recovery is enabled, can additionally be a whole |
| 2264 |
// minute timestamp within the past 7 days. |
| 2265 |
ReadTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3,oneof"` |
| 2266 |
} |
| 2267 |
|
| 2268 |
func (*ReadOptions_ReadConsistency_) isReadOptions_ConsistencyType() {} |
| 2269 |
|
| 2270 |
func (*ReadOptions_Transaction) isReadOptions_ConsistencyType() {} |
| 2271 |
|
| 2272 |
func (*ReadOptions_NewTransaction) isReadOptions_ConsistencyType() {} |
| 2273 |
|
| 2274 |
func (*ReadOptions_ReadTime) isReadOptions_ConsistencyType() {} |
| 2275 |
|
| 2276 |
// Options for beginning a new transaction. |
| 2277 |
// |
| 2278 |
// Transactions can be created explicitly with calls to |
| 2279 |
// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction] |
| 2280 |
// or implicitly by setting |
| 2281 |
// [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] |
| 2282 |
// in read requests. |
| 2283 |
type TransactionOptions struct { |
| 2284 |
state protoimpl.MessageState |
| 2285 |
sizeCache protoimpl.SizeCache |
| 2286 |
unknownFields protoimpl.UnknownFields |
| 2287 |
|
| 2288 |
// The `mode` of the transaction, indicating whether write operations are |
| 2289 |
// supported. |
| 2290 |
// |
| 2291 |
// Types that are assignable to Mode: |
| 2292 |
// |
| 2293 |
// *TransactionOptions_ReadWrite_ |
| 2294 |
// *TransactionOptions_ReadOnly_ |
| 2295 |
Mode isTransactionOptions_Mode `protobuf_oneof:"mode"` |
| 2296 |
} |
| 2297 |
|
| 2298 |
func (x *TransactionOptions) Reset() { |
| 2299 |
*x = TransactionOptions{} |
| 2300 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[21] |
| 2301 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2302 |
ms.StoreMessageInfo(mi) |
| 2303 |
} |
| 2304 |
|
| 2305 |
func (x *TransactionOptions) String() string { |
| 2306 |
return protoimpl.X.MessageStringOf(x) |
| 2307 |
} |
| 2308 |
|
| 2309 |
func (*TransactionOptions) ProtoMessage() {} |
| 2310 |
|
| 2311 |
func (x *TransactionOptions) ProtoReflect() protoreflect.Message { |
| 2312 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[21] |
| 2313 |
if x != nil { |
| 2314 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2315 |
if ms.LoadMessageInfo() == nil { |
| 2316 |
ms.StoreMessageInfo(mi) |
| 2317 |
} |
| 2318 |
return ms |
| 2319 |
} |
| 2320 |
return mi.MessageOf(x) |
| 2321 |
} |
| 2322 |
|
| 2323 |
// Deprecated: Use TransactionOptions.ProtoReflect.Descriptor instead. |
| 2324 |
func (*TransactionOptions) Descriptor() ([]byte, []int) { |
| 2325 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{21} |
| 2326 |
} |
| 2327 |
|
| 2328 |
func (m *TransactionOptions) GetMode() isTransactionOptions_Mode { |
| 2329 |
if m != nil { |
| 2330 |
return m.Mode |
| 2331 |
} |
| 2332 |
return nil |
| 2333 |
} |
| 2334 |
|
| 2335 |
func (x *TransactionOptions) GetReadWrite() *TransactionOptions_ReadWrite { |
| 2336 |
if x, ok := x.GetMode().(*TransactionOptions_ReadWrite_); ok { |
| 2337 |
return x.ReadWrite |
| 2338 |
} |
| 2339 |
return nil |
| 2340 |
} |
| 2341 |
|
| 2342 |
func (x *TransactionOptions) GetReadOnly() *TransactionOptions_ReadOnly { |
| 2343 |
if x, ok := x.GetMode().(*TransactionOptions_ReadOnly_); ok { |
| 2344 |
return x.ReadOnly |
| 2345 |
} |
| 2346 |
return nil |
| 2347 |
} |
| 2348 |
|
| 2349 |
type isTransactionOptions_Mode interface { |
| 2350 |
isTransactionOptions_Mode() |
| 2351 |
} |
| 2352 |
|
| 2353 |
type TransactionOptions_ReadWrite_ struct { |
| 2354 |
// The transaction should allow both reads and writes. |
| 2355 |
ReadWrite *TransactionOptions_ReadWrite `protobuf:"bytes,1,opt,name=read_write,json=readWrite,proto3,oneof"` |
| 2356 |
} |
| 2357 |
|
| 2358 |
type TransactionOptions_ReadOnly_ struct { |
| 2359 |
// The transaction should only allow reads. |
| 2360 |
ReadOnly *TransactionOptions_ReadOnly `protobuf:"bytes,2,opt,name=read_only,json=readOnly,proto3,oneof"` |
| 2361 |
} |
| 2362 |
|
| 2363 |
func (*TransactionOptions_ReadWrite_) isTransactionOptions_Mode() {} |
| 2364 |
|
| 2365 |
func (*TransactionOptions_ReadOnly_) isTransactionOptions_Mode() {} |
| 2366 |
|
| 2367 |
// Options specific to read / write transactions. |
| 2368 |
type TransactionOptions_ReadWrite struct { |
| 2369 |
state protoimpl.MessageState |
| 2370 |
sizeCache protoimpl.SizeCache |
| 2371 |
unknownFields protoimpl.UnknownFields |
| 2372 |
|
| 2373 |
// The transaction identifier of the transaction being retried. |
| 2374 |
PreviousTransaction []byte `protobuf:"bytes,1,opt,name=previous_transaction,json=previousTransaction,proto3" json:"previous_transaction,omitempty"` |
| 2375 |
} |
| 2376 |
|
| 2377 |
func (x *TransactionOptions_ReadWrite) Reset() { |
| 2378 |
*x = TransactionOptions_ReadWrite{} |
| 2379 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[22] |
| 2380 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2381 |
ms.StoreMessageInfo(mi) |
| 2382 |
} |
| 2383 |
|
| 2384 |
func (x *TransactionOptions_ReadWrite) String() string { |
| 2385 |
return protoimpl.X.MessageStringOf(x) |
| 2386 |
} |
| 2387 |
|
| 2388 |
func (*TransactionOptions_ReadWrite) ProtoMessage() {} |
| 2389 |
|
| 2390 |
func (x *TransactionOptions_ReadWrite) ProtoReflect() protoreflect.Message { |
| 2391 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[22] |
| 2392 |
if x != nil { |
| 2393 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2394 |
if ms.LoadMessageInfo() == nil { |
| 2395 |
ms.StoreMessageInfo(mi) |
| 2396 |
} |
| 2397 |
return ms |
| 2398 |
} |
| 2399 |
return mi.MessageOf(x) |
| 2400 |
} |
| 2401 |
|
| 2402 |
// Deprecated: Use TransactionOptions_ReadWrite.ProtoReflect.Descriptor instead. |
| 2403 |
func (*TransactionOptions_ReadWrite) Descriptor() ([]byte, []int) { |
| 2404 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{21, 0} |
| 2405 |
} |
| 2406 |
|
| 2407 |
func (x *TransactionOptions_ReadWrite) GetPreviousTransaction() []byte { |
| 2408 |
if x != nil { |
| 2409 |
return x.PreviousTransaction |
| 2410 |
} |
| 2411 |
return nil |
| 2412 |
} |
| 2413 |
|
| 2414 |
// Options specific to read-only transactions. |
| 2415 |
type TransactionOptions_ReadOnly struct { |
| 2416 |
state protoimpl.MessageState |
| 2417 |
sizeCache protoimpl.SizeCache |
| 2418 |
unknownFields protoimpl.UnknownFields |
| 2419 |
|
| 2420 |
// Reads entities at the given time. |
| 2421 |
// |
| 2422 |
// This must be a microsecond precision timestamp within the past one hour, |
| 2423 |
// or if Point-in-Time Recovery is enabled, can additionally be a whole |
| 2424 |
// minute timestamp within the past 7 days. |
| 2425 |
ReadTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"` |
| 2426 |
} |
| 2427 |
|
| 2428 |
func (x *TransactionOptions_ReadOnly) Reset() { |
| 2429 |
*x = TransactionOptions_ReadOnly{} |
| 2430 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[23] |
| 2431 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2432 |
ms.StoreMessageInfo(mi) |
| 2433 |
} |
| 2434 |
|
| 2435 |
func (x *TransactionOptions_ReadOnly) String() string { |
| 2436 |
return protoimpl.X.MessageStringOf(x) |
| 2437 |
} |
| 2438 |
|
| 2439 |
func (*TransactionOptions_ReadOnly) ProtoMessage() {} |
| 2440 |
|
| 2441 |
func (x *TransactionOptions_ReadOnly) ProtoReflect() protoreflect.Message { |
| 2442 |
mi := &file_google_datastore_v1_datastore_proto_msgTypes[23] |
| 2443 |
if x != nil { |
| 2444 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2445 |
if ms.LoadMessageInfo() == nil { |
| 2446 |
ms.StoreMessageInfo(mi) |
| 2447 |
} |
| 2448 |
return ms |
| 2449 |
} |
| 2450 |
return mi.MessageOf(x) |
| 2451 |
} |
| 2452 |
|
| 2453 |
// Deprecated: Use TransactionOptions_ReadOnly.ProtoReflect.Descriptor instead. |
| 2454 |
func (*TransactionOptions_ReadOnly) Descriptor() ([]byte, []int) { |
| 2455 |
return file_google_datastore_v1_datastore_proto_rawDescGZIP(), []int{21, 1} |
| 2456 |
} |
| 2457 |
|
| 2458 |
func (x *TransactionOptions_ReadOnly) GetReadTime() *timestamppb.Timestamp { |
| 2459 |
if x != nil { |
| 2460 |
return x.ReadTime |
| 2461 |
} |
| 2462 |
return nil |
| 2463 |
} |
| 2464 |
|
| 2465 |
var File_google_datastore_v1_datastore_proto protoreflect.FileDescriptor |
| 2466 |
|
| 2467 |
var file_google_datastore_v1_datastore_proto_rawDesc = []byte{ |
| 2468 |
0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, |
| 2469 |
0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, |
| 2470 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, |
| 2471 |
0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, |
| 2472 |
0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, |
| 2473 |
0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 2474 |
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 2475 |
0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, |
| 2476 |
0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, |
| 2477 |
0x74, 0x6f, 0x1a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, |
| 2478 |
0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f, |
| 2479 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, |
| 2480 |
0x31, 0x2f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, |
| 2481 |
0x73, 0x75, 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, |
| 2482 |
0x6c, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, |
| 2483 |
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, |
| 2484 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, |
| 2485 |
0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x67, |
| 2486 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, |
| 2487 |
0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, |
| 2488 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, |
| 2489 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, |
| 2490 |
0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x02, 0x0a, 0x0d, 0x4c, 0x6f, 0x6f, 0x6b, |
| 2491 |
0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, |
| 2492 |
0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, |
| 2493 |
0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, |
| 2494 |
0x0b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, |
| 2495 |
0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x64, 0x12, 0x43, |
| 2496 |
0x0a, 0x0c, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, |
| 2497 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, |
| 2498 |
0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4f, |
| 2499 |
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, |
| 2500 |
0x6f, 0x6e, 0x73, 0x12, 0x31, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, |
| 2501 |
0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, |
| 2502 |
0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, |
| 2503 |
0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x12, 0x46, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, |
| 2504 |
0x74, 0x79, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, |
| 2505 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, |
| 2506 |
0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4d, 0x61, 0x73, 0x6b, |
| 2507 |
0x52, 0x0c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x97, |
| 2508 |
0x02, 0x0a, 0x0e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| 2509 |
0x65, 0x12, 0x37, 0x0a, 0x05, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, |
| 2510 |
0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, |
| 2511 |
0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, |
| 2512 |
0x75, 0x6c, 0x74, 0x52, 0x05, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x3b, 0x0a, 0x07, 0x6d, 0x69, |
| 2513 |
0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, |
| 2514 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, |
| 2515 |
0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, |
| 2516 |
0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x12, 0x34, 0x0a, 0x08, 0x64, 0x65, 0x66, 0x65, 0x72, |
| 2517 |
0x72, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 2518 |
0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, |
| 2519 |
0x4b, 0x65, 0x79, 0x52, 0x08, 0x64, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x12, 0x20, 0x0a, |
| 2520 |
0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, |
| 2521 |
0x28, 0x0c, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, |
| 2522 |
0x37, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, |
| 2523 |
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 2524 |
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, |
| 2525 |
0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xfb, 0x03, 0x0a, 0x0f, 0x52, 0x75, 0x6e, |
| 2526 |
0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, |
| 2527 |
0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, |
| 2528 |
0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, |
| 2529 |
0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, |
| 2530 |
0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, |
| 2531 |
0x64, 0x12, 0x43, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, |
| 2532 |
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 2533 |
0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, |
| 2534 |
0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, |
| 2535 |
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, |
| 2536 |
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, |
| 2537 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, |
| 2538 |
0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, |
| 2539 |
0x72, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x71, |
| 2540 |
0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, |
| 2541 |
0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, |
| 2542 |
0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, |
| 2543 |
0x3c, 0x0a, 0x09, 0x67, 0x71, 0x6c, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, |
| 2544 |
0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, |
| 2545 |
0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, |
| 2546 |
0x79, 0x48, 0x00, 0x52, 0x08, 0x67, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x46, 0x0a, |
| 2547 |
0x0d, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x0a, |
| 2548 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, |
| 2549 |
0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, |
| 2550 |
0x72, 0x74, 0x79, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, |
| 2551 |
0x79, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x51, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, |
| 2552 |
0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, |
| 2553 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, |
| 2554 |
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x4f, 0x70, 0x74, 0x69, |
| 2555 |
0x6f, 0x6e, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x6c, 0x61, 0x69, |
| 2556 |
0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x0c, 0x0a, 0x0a, 0x71, 0x75, 0x65, 0x72, |
| 2557 |
0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xf1, 0x01, 0x0a, 0x10, 0x52, 0x75, 0x6e, 0x51, 0x75, |
| 2558 |
0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x62, |
| 2559 |
0x61, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, |
| 2560 |
0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, |
| 2561 |
0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x42, 0x61, 0x74, 0x63, |
| 2562 |
0x68, 0x52, 0x05, 0x62, 0x61, 0x74, 0x63, 0x68, 0x12, 0x30, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, |
| 2563 |
0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 2564 |
0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, |
| 2565 |
0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x72, |
| 2566 |
0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, |
| 2567 |
0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x0f, |
| 2568 |
0x65, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, |
| 2569 |
0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, |
| 2570 |
0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6c, |
| 2571 |
0x61, 0x69, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x6c, |
| 2572 |
0x61, 0x69, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0xe0, 0x03, 0x0a, 0x1a, 0x52, |
| 2573 |
0x75, 0x6e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, |
| 2574 |
0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, |
| 2575 |
0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, |
| 2576 |
0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, |
| 2577 |
0x0b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, |
| 2578 |
0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x64, 0x12, 0x43, |
| 2579 |
0x0a, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, |
| 2580 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, |
| 2581 |
0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, |
| 2582 |
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, |
| 2583 |
0x6e, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, |
| 2584 |
0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 2585 |
0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, |
| 2586 |
0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x72, 0x65, 0x61, |
| 2587 |
0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x54, 0x0a, 0x11, 0x61, 0x67, 0x67, 0x72, |
| 2588 |
0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, |
| 2589 |
0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, |
| 2590 |
0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, |
| 2591 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x10, 0x61, 0x67, |
| 2592 |
0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x3c, |
| 2593 |
0x0a, 0x09, 0x67, 0x71, 0x6c, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, |
| 2594 |
0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, |
| 2595 |
0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, |
| 2596 |
0x48, 0x00, 0x52, 0x08, 0x67, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x51, 0x0a, 0x0f, |
| 2597 |
0x65, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, |
| 2598 |
0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, |
| 2599 |
0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6c, |
| 2600 |
0x61, 0x69, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, |
| 2601 |
0x0e, 0x65, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, |
| 2602 |
0x0c, 0x0a, 0x0a, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x8d, 0x02, |
| 2603 |
0x0a, 0x1b, 0x52, 0x75, 0x6e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 2604 |
0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, |
| 2605 |
0x05, 0x62, 0x61, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, |
| 2606 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, |
| 2607 |
0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, |
| 2608 |
0x73, 0x75, 0x6c, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x05, 0x62, 0x61, 0x74, 0x63, 0x68, |
| 2609 |
0x12, 0x3b, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 2610 |
0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, |
| 2611 |
0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, |
| 2612 |
0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x20, 0x0a, |
| 2613 |
0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, |
| 2614 |
0x28, 0x0c, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, |
| 2615 |
0x4c, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, |
| 2616 |
0x63, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 2617 |
0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, |
| 2618 |
0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x0e, 0x65, |
| 2619 |
0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0xb8, 0x01, |
| 2620 |
0x0a, 0x17, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, |
| 2621 |
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, |
| 2622 |
0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, |
| 2623 |
0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, |
| 2624 |
0x0b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, |
| 2625 |
0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x64, 0x12, 0x58, |
| 2626 |
0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, |
| 2627 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, |
| 2628 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, |
| 2629 |
0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, |
| 2630 |
0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, |
| 2631 |
0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3c, 0x0a, 0x18, 0x42, 0x65, 0x67, 0x69, |
| 2632 |
0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, |
| 2633 |
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, |
| 2634 |
0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, |
| 2635 |
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7d, 0x0a, 0x0f, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, |
| 2636 |
0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, |
| 2637 |
0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, |
| 2638 |
0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, |
| 2639 |
0x0b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, |
| 2640 |
0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x64, 0x12, 0x25, |
| 2641 |
0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, |
| 2642 |
0x01, 0x28, 0x0c, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, |
| 2643 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x12, 0x0a, 0x10, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, |
| 2644 |
0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb3, 0x03, 0x0a, 0x0d, 0x43, 0x6f, |
| 2645 |
0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x70, |
| 2646 |
0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 2647 |
0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, |
| 2648 |
0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, |
| 2649 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x64, |
| 2650 |
0x12, 0x3b, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, |
| 2651 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, |
| 2652 |
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 2653 |
0x73, 0x74, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x22, 0x0a, |
| 2654 |
0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, |
| 2655 |
0x28, 0x0c, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, |
| 2656 |
0x6e, 0x12, 0x5f, 0x0a, 0x16, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x5f, |
| 2657 |
0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, |
| 2658 |
0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, |
| 2659 |
0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, |
| 2660 |
0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x14, 0x73, 0x69, |
| 2661 |
0x6e, 0x67, 0x6c, 0x65, 0x55, 0x73, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, |
| 2662 |
0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x09, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, |
| 2663 |
0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, |
| 2664 |
0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x75, 0x74, 0x61, |
| 2665 |
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, |
| 2666 |
0x46, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, |
| 2667 |
0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, |
| 2668 |
0x0d, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x01, |
| 2669 |
0x12, 0x15, 0x0a, 0x11, 0x4e, 0x4f, 0x4e, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, |
| 2670 |
0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x02, 0x42, 0x16, 0x0a, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, |
| 2671 |
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, |
| 2672 |
0xc2, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| 2673 |
0x73, 0x65, 0x12, 0x4e, 0x0a, 0x10, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, |
| 2674 |
0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, |
| 2675 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, |
| 2676 |
0x76, 0x31, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, |
| 2677 |
0x74, 0x52, 0x0f, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, |
| 2678 |
0x74, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x75, 0x70, 0x64, 0x61, |
| 2679 |
0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x69, 0x6e, 0x64, 0x65, 0x78, |
| 2680 |
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, |
| 2681 |
0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, |
| 2682 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, |
| 2683 |
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, |
| 2684 |
0x54, 0x69, 0x6d, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x12, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, |
| 2685 |
0x65, 0x49, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x70, |
| 2686 |
0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 2687 |
0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, |
| 2688 |
0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, |
| 2689 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x64, |
| 2690 |
0x12, 0x31, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, |
| 2691 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, |
| 2692 |
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6b, |
| 2693 |
0x65, 0x79, 0x73, 0x22, 0x43, 0x0a, 0x13, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x49, |
| 2694 |
0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x04, 0x6b, 0x65, |
| 2695 |
0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 2696 |
0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4b, |
| 2697 |
0x65, 0x79, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, 0x8b, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x73, |
| 2698 |
0x65, 0x72, 0x76, 0x65, 0x49, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, |
| 2699 |
0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, |
| 2700 |
0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, |
| 2701 |
0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, |
| 2702 |
0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, |
| 2703 |
0x65, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, |
| 2704 |
0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, |
| 2705 |
0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, |
| 2706 |
0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, 0x14, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, |
| 2707 |
0x65, 0x49, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe9, 0x05, 0x0a, |
| 2708 |
0x08, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x06, 0x69, 0x6e, 0x73, |
| 2709 |
0x65, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 2710 |
0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, |
| 2711 |
0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, 0x06, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, |
| 2712 |
0x12, 0x35, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, |
| 2713 |
0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, |
| 2714 |
0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, |
| 2715 |
0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x75, 0x70, 0x73, 0x65, 0x72, |
| 2716 |
0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 2717 |
0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, |
| 2718 |
0x74, 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, 0x06, 0x75, 0x70, 0x73, 0x65, 0x72, 0x74, 0x12, 0x32, |
| 2719 |
0x0a, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, |
| 2720 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, |
| 2721 |
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x48, 0x00, 0x52, 0x06, 0x64, 0x65, 0x6c, 0x65, |
| 2722 |
0x74, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, |
| 2723 |
0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x0b, 0x62, 0x61, 0x73, 0x65, |
| 2724 |
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, |
| 2725 |
0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, |
| 2726 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, |
| 2727 |
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, |
| 2728 |
0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x7a, 0x0a, 0x1c, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, |
| 2729 |
0x63, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, |
| 2730 |
0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x67, |
| 2731 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, |
| 2732 |
0x76, 0x31, 0x2e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x66, |
| 2733 |
0x6c, 0x69, 0x63, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, |
| 2734 |
0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x1a, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, |
| 2735 |
0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, |
| 2736 |
0x67, 0x79, 0x12, 0x46, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x6d, |
| 2737 |
0x61, 0x73, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 2738 |
0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, |
| 2739 |
0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x70, 0x72, |
| 2740 |
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x5c, 0x0a, 0x13, 0x70, 0x72, |
| 2741 |
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, |
| 2742 |
0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 2743 |
0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, |
| 2744 |
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x42, |
| 2745 |
0x03, 0xe0, 0x41, 0x01, 0x52, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x54, 0x72, |
| 2746 |
0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x22, 0x52, 0x0a, 0x1a, 0x43, 0x6f, 0x6e, 0x66, |
| 2747 |
0x6c, 0x69, 0x63, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, |
| 2748 |
0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x54, 0x52, 0x41, 0x54, 0x45, |
| 2749 |
0x47, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, |
| 2750 |
0x12, 0x10, 0x0a, 0x0c, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, |
| 2751 |
0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x03, 0x42, 0x0b, 0x0a, 0x09, |
| 2752 |
0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x1d, 0x0a, 0x1b, 0x63, 0x6f, 0x6e, |
| 2753 |
0x66, 0x6c, 0x69, 0x63, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, |
| 2754 |
0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x22, 0xc7, 0x04, 0x0a, 0x11, 0x50, 0x72, 0x6f, |
| 2755 |
0x70, 0x65, 0x72, 0x74, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1f, |
| 2756 |
0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 2757 |
0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, |
| 2758 |
0x63, 0x0a, 0x13, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, |
| 2759 |
0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x67, |
| 2760 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, |
| 2761 |
0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, |
| 2762 |
0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, |
| 2763 |
0x48, 0x00, 0x52, 0x10, 0x73, 0x65, 0x74, 0x54, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, |
| 2764 |
0x61, 0x6c, 0x75, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, |
| 2765 |
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 2766 |
0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, |
| 2767 |
0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, |
| 2768 |
0x12, 0x36, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, |
| 2769 |
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, |
| 2770 |
0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, |
| 2771 |
0x07, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x36, 0x0a, 0x07, 0x6d, 0x69, 0x6e, 0x69, |
| 2772 |
0x6d, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 2773 |
0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, |
| 2774 |
0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, |
| 2775 |
0x12, 0x59, 0x0a, 0x17, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, |
| 2776 |
0x6e, 0x67, 0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, |
| 2777 |
0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, |
| 2778 |
0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, |
| 2779 |
0x75, 0x65, 0x48, 0x00, 0x52, 0x15, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x4d, 0x69, 0x73, 0x73, |
| 2780 |
0x69, 0x6e, 0x67, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x54, 0x0a, 0x15, 0x72, |
| 2781 |
0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, |
| 2782 |
0x72, 0x72, 0x61, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, |
| 2783 |
0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, |
| 2784 |
0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x12, 0x72, |
| 2785 |
0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x72, 0x72, 0x61, |
| 2786 |
0x79, 0x22, 0x3d, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, |
| 2787 |
0x12, 0x1c, 0x0a, 0x18, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, |
| 2788 |
0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, |
| 2789 |
0x0a, 0x0c, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, |
| 2790 |
0x42, 0x10, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x74, 0x79, |
| 2791 |
0x70, 0x65, 0x22, 0xc6, 0x02, 0x0a, 0x0e, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, |
| 2792 |
0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x2a, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, |
| 2793 |
0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, |
| 2794 |
0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, |
| 2795 |
0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, |
| 2796 |
0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x63, |
| 2797 |
0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, |
| 2798 |
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 2799 |
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, |
| 2800 |
0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, |
| 2801 |
0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, |
| 2802 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, |
| 2803 |
0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, |
| 2804 |
0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, |
| 2805 |
0x74, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, |
| 2806 |
0x52, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, |
| 2807 |
0x65, 0x64, 0x12, 0x47, 0x0a, 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x5f, |
| 2808 |
0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, |
| 2809 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, |
| 2810 |
0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, |
| 2811 |
0x66, 0x6f, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x24, 0x0a, 0x0c, 0x50, |
| 2812 |
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x70, |
| 2813 |
0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, |
| 2814 |
0x73, 0x22, 0x82, 0x03, 0x0a, 0x0b, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, |
| 2815 |
0x73, 0x12, 0x5d, 0x0a, 0x10, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x69, 0x73, |
| 2816 |
0x74, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, |
| 2817 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, |
| 2818 |
0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, |
| 2819 |
0x61, 0x64, 0x43, 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x48, 0x00, 0x52, |
| 2820 |
0x0f, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, |
| 2821 |
0x12, 0x22, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, |
| 2822 |
0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, |
| 2823 |
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, 0x0a, 0x0f, 0x6e, 0x65, 0x77, 0x5f, 0x74, 0x72, 0x61, 0x6e, |
| 2824 |
0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, |
| 2825 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, |
| 2826 |
0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, |
| 2827 |
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0e, 0x6e, 0x65, 0x77, 0x54, 0x72, 0x61, |
| 2828 |
0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, |
| 2829 |
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, |
| 2830 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, |
| 2831 |
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, |
| 2832 |
0x69, 0x6d, 0x65, 0x22, 0x4d, 0x0a, 0x0f, 0x52, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x6e, 0x73, 0x69, |
| 2833 |
0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x43, |
| 2834 |
0x4f, 0x4e, 0x53, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, |
| 2835 |
0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x4f, |
| 2836 |
0x4e, 0x47, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x55, 0x41, 0x4c, |
| 2837 |
0x10, 0x02, 0x42, 0x12, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, |
| 2838 |
0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xc6, 0x02, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x6e, 0x73, |
| 2839 |
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x52, 0x0a, |
| 2840 |
0x0a, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 2841 |
0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, |
| 2842 |
0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, |
| 2843 |
0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x57, |
| 2844 |
0x72, 0x69, 0x74, 0x65, 0x48, 0x00, 0x52, 0x09, 0x72, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, |
| 2845 |
0x65, 0x12, 0x4f, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, |
| 2846 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, |
| 2847 |
0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, |
| 2848 |
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, |
| 2849 |
0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, |
| 2850 |
0x6c, 0x79, 0x1a, 0x3e, 0x0a, 0x09, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, |
| 2851 |
0x31, 0x0a, 0x14, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x74, 0x72, 0x61, 0x6e, |
| 2852 |
0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x13, 0x70, |
| 2853 |
0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, |
| 2854 |
0x6f, 0x6e, 0x1a, 0x43, 0x0a, 0x08, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x37, |
| 2855 |
0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 2856 |
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 2857 |
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, |
| 2858 |
0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x32, |
| 2859 |
0xe1, 0x0d, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0xc0, 0x01, |
| 2860 |
0x0a, 0x06, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 2861 |
0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, |
| 2862 |
0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, |
| 2863 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, |
| 2864 |
0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| 2865 |
0x65, 0x22, 0x6d, 0xda, 0x41, 0x1c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, |
| 2866 |
0x2c, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2c, 0x6b, 0x65, |
| 2867 |
0x79, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a, 0x01, 0x2a, 0x22, 0x20, 0x2f, 0x76, 0x31, |
| 2868 |
0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, |
| 2869 |
0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x8a, 0xd3, 0xe4, |
| 2870 |
0x93, 0x02, 0x1d, 0x12, 0x0c, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, |
| 2871 |
0x64, 0x12, 0x0d, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, |
| 2872 |
0x12, 0xa9, 0x01, 0x0a, 0x08, 0x52, 0x75, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x24, 0x2e, |
| 2873 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, |
| 2874 |
0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, |
| 2875 |
0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, |
| 2876 |
0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x51, 0x75, 0x65, |
| 2877 |
0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0x82, 0xd3, 0xe4, 0x93, |
| 2878 |
0x02, 0x27, 0x3a, 0x01, 0x2a, 0x22, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, |
| 2879 |
0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, |
| 2880 |
0x3a, 0x72, 0x75, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x8a, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, |
| 2881 |
0x0c, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x0d, 0x0a, |
| 2882 |
0x0b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x12, 0xd5, 0x01, 0x0a, |
| 2883 |
0x13, 0x52, 0x75, 0x6e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, |
| 2884 |
0x75, 0x65, 0x72, 0x79, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, |
| 2885 |
0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x41, 0x67, |
| 2886 |
0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, |
| 2887 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, |
| 2888 |
0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x41, |
| 2889 |
0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, |
| 2890 |
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x3a, |
| 2891 |
0x01, 0x2a, 0x22, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, |
| 2892 |
0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x72, 0x75, |
| 2893 |
0x6e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, |
| 2894 |
0x79, 0x8a, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x0c, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, |
| 2895 |
0x63, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x0d, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, |
| 2896 |
0x65, 0x5f, 0x69, 0x64, 0x12, 0xd6, 0x01, 0x0a, 0x10, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x72, |
| 2897 |
0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 2898 |
0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, |
| 2899 |
0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 2900 |
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 2901 |
0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, |
| 2902 |
0x67, 0x69, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, |
| 2903 |
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x65, 0xda, 0x41, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, |
| 2904 |
0x63, 0x74, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x3a, 0x01, 0x2a, 0x22, 0x2a, |
| 2905 |
0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, |
| 2906 |
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, |
| 2907 |
0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x8a, 0xd3, 0xe4, 0x93, 0x02, 0x1d, |
| 2908 |
0x12, 0x0c, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x0d, |
| 2909 |
0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x12, 0xe6, 0x01, |
| 2910 |
0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 2911 |
0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, |
| 2912 |
0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, |
| 2913 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, |
| 2914 |
0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| 2915 |
0x65, 0x22, 0x92, 0x01, 0xda, 0x41, 0x25, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, |
| 2916 |
0x64, 0x2c, 0x6d, 0x6f, 0x64, 0x65, 0x2c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, |
| 2917 |
0x6f, 0x6e, 0x2c, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0xda, 0x41, 0x19, 0x70, |
| 2918 |
0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x2c, 0x6d, 0x6f, 0x64, 0x65, 0x2c, 0x6d, |
| 2919 |
0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a, 0x01, |
| 2920 |
0x2a, 0x22, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, |
| 2921 |
0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x63, 0x6f, 0x6d, |
| 2922 |
0x6d, 0x69, 0x74, 0x8a, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x0c, 0x0a, 0x0a, 0x70, 0x72, 0x6f, |
| 2923 |
0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x0d, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x62, |
| 2924 |
0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x12, 0xc2, 0x01, 0x0a, 0x08, 0x52, 0x6f, 0x6c, 0x6c, 0x62, |
| 2925 |
0x61, 0x63, 0x6b, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, |
| 2926 |
0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, |
| 2927 |
0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 2928 |
0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, |
| 2929 |
0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
| 2930 |
0x22, 0x69, 0xda, 0x41, 0x16, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x2c, |
| 2931 |
0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x82, 0xd3, 0xe4, 0x93, 0x02, |
| 2932 |
0x27, 0x3a, 0x01, 0x2a, 0x22, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, |
| 2933 |
0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x3a, |
| 2934 |
0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x8a, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x0c, |
| 2935 |
0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x0d, 0x0a, 0x0b, |
| 2936 |
0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x12, 0xc7, 0x01, 0x0a, 0x0b, |
| 2937 |
0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x49, 0x64, 0x73, 0x12, 0x27, 0x2e, 0x67, 0x6f, |
| 2938 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, |
| 2939 |
0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x49, 0x64, 0x73, 0x52, 0x65, 0x71, |
| 2940 |
0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, |
| 2941 |
0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, |
| 2942 |
0x61, 0x74, 0x65, 0x49, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x65, |
| 2943 |
0xda, 0x41, 0x0f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x2c, 0x6b, 0x65, |
| 2944 |
0x79, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x01, 0x2a, 0x22, 0x25, 0x2f, 0x76, 0x31, |
| 2945 |
0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, |
| 2946 |
0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x49, |
| 2947 |
0x64, 0x73, 0x8a, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x0c, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, |
| 2948 |
0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x0d, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, |
| 2949 |
0x73, 0x65, 0x5f, 0x69, 0x64, 0x12, 0xc3, 0x01, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, |
| 2950 |
0x65, 0x49, 0x64, 0x73, 0x12, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, |
| 2951 |
0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, |
| 2952 |
0x76, 0x65, 0x49, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, |
| 2953 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, |
| 2954 |
0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x49, 0x64, 0x73, 0x52, 0x65, 0x73, |
| 2955 |
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x64, 0xda, 0x41, 0x0f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, |
| 2956 |
0x74, 0x5f, 0x69, 0x64, 0x2c, 0x6b, 0x65, 0x79, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, |
| 2957 |
0x01, 0x2a, 0x22, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, |
| 2958 |
0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x72, 0x65, |
| 2959 |
0x73, 0x65, 0x72, 0x76, 0x65, 0x49, 0x64, 0x73, 0x8a, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x0c, |
| 2960 |
0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x0d, 0x0a, 0x0b, |
| 2961 |
0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x1a, 0x76, 0xca, 0x41, 0x18, |
| 2962 |
0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 2963 |
0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x58, 0x68, 0x74, 0x74, 0x70, 0x73, |
| 2964 |
0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, |
| 2965 |
0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 2966 |
0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, |
| 2967 |
0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 2968 |
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, |
| 2969 |
0x6f, 0x72, 0x65, 0x42, 0xbf, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 2970 |
0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x42, |
| 2971 |
0x0e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, |
| 2972 |
0x01, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 2973 |
0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, |
| 2974 |
0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, |
| 2975 |
0x70, 0x62, 0x3b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x70, 0x62, 0xaa, 0x02, |
| 2976 |
0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x61, |
| 2977 |
0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19, 0x47, 0x6f, 0x6f, |
| 2978 |
0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x61, 0x74, 0x61, 0x73, 0x74, |
| 2979 |
0x6f, 0x72, 0x65, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, |
| 2980 |
0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x44, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, |
| 2981 |
0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 2982 |
} |
| 2983 |
|
| 2984 |
var ( |
| 2985 |
file_google_datastore_v1_datastore_proto_rawDescOnce sync.Once |
| 2986 |
file_google_datastore_v1_datastore_proto_rawDescData = file_google_datastore_v1_datastore_proto_rawDesc |
| 2987 |
) |
| 2988 |
|
| 2989 |
func file_google_datastore_v1_datastore_proto_rawDescGZIP() []byte { |
| 2990 |
file_google_datastore_v1_datastore_proto_rawDescOnce.Do(func() { |
| 2991 |
file_google_datastore_v1_datastore_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_datastore_v1_datastore_proto_rawDescData) |
| 2992 |
}) |
| 2993 |
return file_google_datastore_v1_datastore_proto_rawDescData |
| 2994 |
} |
| 2995 |
|
| 2996 |
var file_google_datastore_v1_datastore_proto_enumTypes = make([]protoimpl.EnumInfo, 4) |
| 2997 |
var file_google_datastore_v1_datastore_proto_msgTypes = make([]protoimpl.MessageInfo, 24) |
| 2998 |
var file_google_datastore_v1_datastore_proto_goTypes = []any{ |
| 2999 |
(CommitRequest_Mode)(0), // 0: google.datastore.v1.CommitRequest.Mode |
| 3000 |
(Mutation_ConflictResolutionStrategy)(0), // 1: google.datastore.v1.Mutation.ConflictResolutionStrategy |
| 3001 |
(PropertyTransform_ServerValue)(0), // 2: google.datastore.v1.PropertyTransform.ServerValue |
| 3002 |
(ReadOptions_ReadConsistency)(0), // 3: google.datastore.v1.ReadOptions.ReadConsistency |
| 3003 |
(*LookupRequest)(nil), // 4: google.datastore.v1.LookupRequest |
| 3004 |
(*LookupResponse)(nil), // 5: google.datastore.v1.LookupResponse |
| 3005 |
(*RunQueryRequest)(nil), // 6: google.datastore.v1.RunQueryRequest |
| 3006 |
(*RunQueryResponse)(nil), // 7: google.datastore.v1.RunQueryResponse |
| 3007 |
(*RunAggregationQueryRequest)(nil), // 8: google.datastore.v1.RunAggregationQueryRequest |
| 3008 |
(*RunAggregationQueryResponse)(nil), // 9: google.datastore.v1.RunAggregationQueryResponse |
| 3009 |
(*BeginTransactionRequest)(nil), // 10: google.datastore.v1.BeginTransactionRequest |
| 3010 |
(*BeginTransactionResponse)(nil), // 11: google.datastore.v1.BeginTransactionResponse |
| 3011 |
(*RollbackRequest)(nil), // 12: google.datastore.v1.RollbackRequest |
| 3012 |
(*RollbackResponse)(nil), // 13: google.datastore.v1.RollbackResponse |
| 3013 |
(*CommitRequest)(nil), // 14: google.datastore.v1.CommitRequest |
| 3014 |
(*CommitResponse)(nil), // 15: google.datastore.v1.CommitResponse |
| 3015 |
(*AllocateIdsRequest)(nil), // 16: google.datastore.v1.AllocateIdsRequest |
| 3016 |
(*AllocateIdsResponse)(nil), // 17: google.datastore.v1.AllocateIdsResponse |
| 3017 |
(*ReserveIdsRequest)(nil), // 18: google.datastore.v1.ReserveIdsRequest |
| 3018 |
(*ReserveIdsResponse)(nil), // 19: google.datastore.v1.ReserveIdsResponse |
| 3019 |
(*Mutation)(nil), // 20: google.datastore.v1.Mutation |
| 3020 |
(*PropertyTransform)(nil), // 21: google.datastore.v1.PropertyTransform |
| 3021 |
(*MutationResult)(nil), // 22: google.datastore.v1.MutationResult |
| 3022 |
(*PropertyMask)(nil), // 23: google.datastore.v1.PropertyMask |
| 3023 |
(*ReadOptions)(nil), // 24: google.datastore.v1.ReadOptions |
| 3024 |
(*TransactionOptions)(nil), // 25: google.datastore.v1.TransactionOptions |
| 3025 |
(*TransactionOptions_ReadWrite)(nil), // 26: google.datastore.v1.TransactionOptions.ReadWrite |
| 3026 |
(*TransactionOptions_ReadOnly)(nil), // 27: google.datastore.v1.TransactionOptions.ReadOnly |
| 3027 |
(*Key)(nil), // 28: google.datastore.v1.Key |
| 3028 |
(*EntityResult)(nil), // 29: google.datastore.v1.EntityResult |
| 3029 |
(*timestamppb.Timestamp)(nil), // 30: google.protobuf.Timestamp |
| 3030 |
(*PartitionId)(nil), // 31: google.datastore.v1.PartitionId |
| 3031 |
(*Query)(nil), // 32: google.datastore.v1.Query |
| 3032 |
(*GqlQuery)(nil), // 33: google.datastore.v1.GqlQuery |
| 3033 |
(*ExplainOptions)(nil), // 34: google.datastore.v1.ExplainOptions |
| 3034 |
(*QueryResultBatch)(nil), // 35: google.datastore.v1.QueryResultBatch |
| 3035 |
(*ExplainMetrics)(nil), // 36: google.datastore.v1.ExplainMetrics |
| 3036 |
(*AggregationQuery)(nil), // 37: google.datastore.v1.AggregationQuery |
| 3037 |
(*AggregationResultBatch)(nil), // 38: google.datastore.v1.AggregationResultBatch |
| 3038 |
(*Entity)(nil), // 39: google.datastore.v1.Entity |
| 3039 |
(*Value)(nil), // 40: google.datastore.v1.Value |
| 3040 |
(*ArrayValue)(nil), // 41: google.datastore.v1.ArrayValue |
| 3041 |
} |
| 3042 |
var file_google_datastore_v1_datastore_proto_depIdxs = []int32{ |
| 3043 |
24, // 0: google.datastore.v1.LookupRequest.read_options:type_name -> google.datastore.v1.ReadOptions |
| 3044 |
28, // 1: google.datastore.v1.LookupRequest.keys:type_name -> google.datastore.v1.Key |
| 3045 |
23, // 2: google.datastore.v1.LookupRequest.property_mask:type_name -> google.datastore.v1.PropertyMask |
| 3046 |
29, // 3: google.datastore.v1.LookupResponse.found:type_name -> google.datastore.v1.EntityResult |
| 3047 |
29, // 4: google.datastore.v1.LookupResponse.missing:type_name -> google.datastore.v1.EntityResult |
| 3048 |
28, // 5: google.datastore.v1.LookupResponse.deferred:type_name -> google.datastore.v1.Key |
| 3049 |
30, // 6: google.datastore.v1.LookupResponse.read_time:type_name -> google.protobuf.Timestamp |
| 3050 |
31, // 7: google.datastore.v1.RunQueryRequest.partition_id:type_name -> google.datastore.v1.PartitionId |
| 3051 |
24, // 8: google.datastore.v1.RunQueryRequest.read_options:type_name -> google.datastore.v1.ReadOptions |
| 3052 |
32, // 9: google.datastore.v1.RunQueryRequest.query:type_name -> google.datastore.v1.Query |
| 3053 |
33, // 10: google.datastore.v1.RunQueryRequest.gql_query:type_name -> google.datastore.v1.GqlQuery |
| 3054 |
23, // 11: google.datastore.v1.RunQueryRequest.property_mask:type_name -> google.datastore.v1.PropertyMask |
| 3055 |
34, // 12: google.datastore.v1.RunQueryRequest.explain_options:type_name -> google.datastore.v1.ExplainOptions |
| 3056 |
35, // 13: google.datastore.v1.RunQueryResponse.batch:type_name -> google.datastore.v1.QueryResultBatch |
| 3057 |
32, // 14: google.datastore.v1.RunQueryResponse.query:type_name -> google.datastore.v1.Query |
| 3058 |
36, // 15: google.datastore.v1.RunQueryResponse.explain_metrics:type_name -> google.datastore.v1.ExplainMetrics |
| 3059 |
31, // 16: google.datastore.v1.RunAggregationQueryRequest.partition_id:type_name -> google.datastore.v1.PartitionId |
| 3060 |
24, // 17: google.datastore.v1.RunAggregationQueryRequest.read_options:type_name -> google.datastore.v1.ReadOptions |
| 3061 |
37, // 18: google.datastore.v1.RunAggregationQueryRequest.aggregation_query:type_name -> google.datastore.v1.AggregationQuery |
| 3062 |
33, // 19: google.datastore.v1.RunAggregationQueryRequest.gql_query:type_name -> google.datastore.v1.GqlQuery |
| 3063 |
34, // 20: google.datastore.v1.RunAggregationQueryRequest.explain_options:type_name -> google.datastore.v1.ExplainOptions |
| 3064 |
38, // 21: google.datastore.v1.RunAggregationQueryResponse.batch:type_name -> google.datastore.v1.AggregationResultBatch |
| 3065 |
37, // 22: google.datastore.v1.RunAggregationQueryResponse.query:type_name -> google.datastore.v1.AggregationQuery |
| 3066 |
36, // 23: google.datastore.v1.RunAggregationQueryResponse.explain_metrics:type_name -> google.datastore.v1.ExplainMetrics |
| 3067 |
25, // 24: google.datastore.v1.BeginTransactionRequest.transaction_options:type_name -> google.datastore.v1.TransactionOptions |
| 3068 |
0, // 25: google.datastore.v1.CommitRequest.mode:type_name -> google.datastore.v1.CommitRequest.Mode |
| 3069 |
25, // 26: google.datastore.v1.CommitRequest.single_use_transaction:type_name -> google.datastore.v1.TransactionOptions |
| 3070 |
20, // 27: google.datastore.v1.CommitRequest.mutations:type_name -> google.datastore.v1.Mutation |
| 3071 |
22, // 28: google.datastore.v1.CommitResponse.mutation_results:type_name -> google.datastore.v1.MutationResult |
| 3072 |
30, // 29: google.datastore.v1.CommitResponse.commit_time:type_name -> google.protobuf.Timestamp |
| 3073 |
28, // 30: google.datastore.v1.AllocateIdsRequest.keys:type_name -> google.datastore.v1.Key |
| 3074 |
28, // 31: google.datastore.v1.AllocateIdsResponse.keys:type_name -> google.datastore.v1.Key |
| 3075 |
28, // 32: google.datastore.v1.ReserveIdsRequest.keys:type_name -> google.datastore.v1.Key |
| 3076 |
39, // 33: google.datastore.v1.Mutation.insert:type_name -> google.datastore.v1.Entity |
| 3077 |
39, // 34: google.datastore.v1.Mutation.update:type_name -> google.datastore.v1.Entity |
| 3078 |
39, // 35: google.datastore.v1.Mutation.upsert:type_name -> google.datastore.v1.Entity |
| 3079 |
28, // 36: google.datastore.v1.Mutation.delete:type_name -> google.datastore.v1.Key |
| 3080 |
30, // 37: google.datastore.v1.Mutation.update_time:type_name -> google.protobuf.Timestamp |
| 3081 |
1, // 38: google.datastore.v1.Mutation.conflict_resolution_strategy:type_name -> google.datastore.v1.Mutation.ConflictResolutionStrategy |
| 3082 |
23, // 39: google.datastore.v1.Mutation.property_mask:type_name -> google.datastore.v1.PropertyMask |
| 3083 |
21, // 40: google.datastore.v1.Mutation.property_transforms:type_name -> google.datastore.v1.PropertyTransform |
| 3084 |
2, // 41: google.datastore.v1.PropertyTransform.set_to_server_value:type_name -> google.datastore.v1.PropertyTransform.ServerValue |
| 3085 |
40, // 42: google.datastore.v1.PropertyTransform.increment:type_name -> google.datastore.v1.Value |
| 3086 |
40, // 43: google.datastore.v1.PropertyTransform.maximum:type_name -> google.datastore.v1.Value |
| 3087 |
40, // 44: google.datastore.v1.PropertyTransform.minimum:type_name -> google.datastore.v1.Value |
| 3088 |
41, // 45: google.datastore.v1.PropertyTransform.append_missing_elements:type_name -> google.datastore.v1.ArrayValue |
| 3089 |
41, // 46: google.datastore.v1.PropertyTransform.remove_all_from_array:type_name -> google.datastore.v1.ArrayValue |
| 3090 |
28, // 47: google.datastore.v1.MutationResult.key:type_name -> google.datastore.v1.Key |
| 3091 |
30, // 48: google.datastore.v1.MutationResult.create_time:type_name -> google.protobuf.Timestamp |
| 3092 |
30, // 49: google.datastore.v1.MutationResult.update_time:type_name -> google.protobuf.Timestamp |
| 3093 |
40, // 50: google.datastore.v1.MutationResult.transform_results:type_name -> google.datastore.v1.Value |
| 3094 |
3, // 51: google.datastore.v1.ReadOptions.read_consistency:type_name -> google.datastore.v1.ReadOptions.ReadConsistency |
| 3095 |
25, // 52: google.datastore.v1.ReadOptions.new_transaction:type_name -> google.datastore.v1.TransactionOptions |
| 3096 |
30, // 53: google.datastore.v1.ReadOptions.read_time:type_name -> google.protobuf.Timestamp |
| 3097 |
26, // 54: google.datastore.v1.TransactionOptions.read_write:type_name -> google.datastore.v1.TransactionOptions.ReadWrite |
| 3098 |
27, // 55: google.datastore.v1.TransactionOptions.read_only:type_name -> google.datastore.v1.TransactionOptions.ReadOnly |
| 3099 |
30, // 56: google.datastore.v1.TransactionOptions.ReadOnly.read_time:type_name -> google.protobuf.Timestamp |
| 3100 |
4, // 57: google.datastore.v1.Datastore.Lookup:input_type -> google.datastore.v1.LookupRequest |
| 3101 |
6, // 58: google.datastore.v1.Datastore.RunQuery:input_type -> google.datastore.v1.RunQueryRequest |
| 3102 |
8, // 59: google.datastore.v1.Datastore.RunAggregationQuery:input_type -> google.datastore.v1.RunAggregationQueryRequest |
| 3103 |
10, // 60: google.datastore.v1.Datastore.BeginTransaction:input_type -> google.datastore.v1.BeginTransactionRequest |
| 3104 |
14, // 61: google.datastore.v1.Datastore.Commit:input_type -> google.datastore.v1.CommitRequest |
| 3105 |
12, // 62: google.datastore.v1.Datastore.Rollback:input_type -> google.datastore.v1.RollbackRequest |
| 3106 |
16, // 63: google.datastore.v1.Datastore.AllocateIds:input_type -> google.datastore.v1.AllocateIdsRequest |
| 3107 |
18, // 64: google.datastore.v1.Datastore.ReserveIds:input_type -> google.datastore.v1.ReserveIdsRequest |
| 3108 |
5, // 65: google.datastore.v1.Datastore.Lookup:output_type -> google.datastore.v1.LookupResponse |
| 3109 |
7, // 66: google.datastore.v1.Datastore.RunQuery:output_type -> google.datastore.v1.RunQueryResponse |
| 3110 |
9, // 67: google.datastore.v1.Datastore.RunAggregationQuery:output_type -> google.datastore.v1.RunAggregationQueryResponse |
| 3111 |
11, // 68: google.datastore.v1.Datastore.BeginTransaction:output_type -> google.datastore.v1.BeginTransactionResponse |
| 3112 |
15, // 69: google.datastore.v1.Datastore.Commit:output_type -> google.datastore.v1.CommitResponse |
| 3113 |
13, // 70: google.datastore.v1.Datastore.Rollback:output_type -> google.datastore.v1.RollbackResponse |
| 3114 |
17, // 71: google.datastore.v1.Datastore.AllocateIds:output_type -> google.datastore.v1.AllocateIdsResponse |
| 3115 |
19, // 72: google.datastore.v1.Datastore.ReserveIds:output_type -> google.datastore.v1.ReserveIdsResponse |
| 3116 |
65, // [65:73] is the sub-list for method output_type |
| 3117 |
57, // [57:65] is the sub-list for method input_type |
| 3118 |
57, // [57:57] is the sub-list for extension type_name |
| 3119 |
57, // [57:57] is the sub-list for extension extendee |
| 3120 |
0, // [0:57] is the sub-list for field type_name |
| 3121 |
} |
| 3122 |
|
| 3123 |
func init() { file_google_datastore_v1_datastore_proto_init() } |
| 3124 |
func file_google_datastore_v1_datastore_proto_init() { |
| 3125 |
if File_google_datastore_v1_datastore_proto != nil { |
| 3126 |
return |
| 3127 |
} |
| 3128 |
file_google_datastore_v1_aggregation_result_proto_init() |
| 3129 |
file_google_datastore_v1_entity_proto_init() |
| 3130 |
file_google_datastore_v1_query_proto_init() |
| 3131 |
file_google_datastore_v1_query_profile_proto_init() |
| 3132 |
file_google_datastore_v1_datastore_proto_msgTypes[2].OneofWrappers = []any{ |
| 3133 |
(*RunQueryRequest_Query)(nil), |
| 3134 |
(*RunQueryRequest_GqlQuery)(nil), |
| 3135 |
} |
| 3136 |
file_google_datastore_v1_datastore_proto_msgTypes[4].OneofWrappers = []any{ |
| 3137 |
(*RunAggregationQueryRequest_AggregationQuery)(nil), |
| 3138 |
(*RunAggregationQueryRequest_GqlQuery)(nil), |
| 3139 |
} |
| 3140 |
file_google_datastore_v1_datastore_proto_msgTypes[10].OneofWrappers = []any{ |
| 3141 |
(*CommitRequest_Transaction)(nil), |
| 3142 |
(*CommitRequest_SingleUseTransaction)(nil), |
| 3143 |
} |
| 3144 |
file_google_datastore_v1_datastore_proto_msgTypes[16].OneofWrappers = []any{ |
| 3145 |
(*Mutation_Insert)(nil), |
| 3146 |
(*Mutation_Update)(nil), |
| 3147 |
(*Mutation_Upsert)(nil), |
| 3148 |
(*Mutation_Delete)(nil), |
| 3149 |
(*Mutation_BaseVersion)(nil), |
| 3150 |
(*Mutation_UpdateTime)(nil), |
| 3151 |
} |
| 3152 |
file_google_datastore_v1_datastore_proto_msgTypes[17].OneofWrappers = []any{ |
| 3153 |
(*PropertyTransform_SetToServerValue)(nil), |
| 3154 |
(*PropertyTransform_Increment)(nil), |
| 3155 |
(*PropertyTransform_Maximum)(nil), |
| 3156 |
(*PropertyTransform_Minimum)(nil), |
| 3157 |
(*PropertyTransform_AppendMissingElements)(nil), |
| 3158 |
(*PropertyTransform_RemoveAllFromArray)(nil), |
| 3159 |
} |
| 3160 |
file_google_datastore_v1_datastore_proto_msgTypes[20].OneofWrappers = []any{ |
| 3161 |
(*ReadOptions_ReadConsistency_)(nil), |
| 3162 |
(*ReadOptions_Transaction)(nil), |
| 3163 |
(*ReadOptions_NewTransaction)(nil), |
| 3164 |
(*ReadOptions_ReadTime)(nil), |
| 3165 |
} |
| 3166 |
file_google_datastore_v1_datastore_proto_msgTypes[21].OneofWrappers = []any{ |
| 3167 |
(*TransactionOptions_ReadWrite_)(nil), |
| 3168 |
(*TransactionOptions_ReadOnly_)(nil), |
| 3169 |
} |
| 3170 |
type x struct{} |
| 3171 |
out := protoimpl.TypeBuilder{ |
| 3172 |
File: protoimpl.DescBuilder{ |
| 3173 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 3174 |
RawDescriptor: file_google_datastore_v1_datastore_proto_rawDesc, |
| 3175 |
NumEnums: 4, |
| 3176 |
NumMessages: 24, |
| 3177 |
NumExtensions: 0, |
| 3178 |
NumServices: 1, |
| 3179 |
}, |
| 3180 |
GoTypes: file_google_datastore_v1_datastore_proto_goTypes, |
| 3181 |
DependencyIndexes: file_google_datastore_v1_datastore_proto_depIdxs, |
| 3182 |
EnumInfos: file_google_datastore_v1_datastore_proto_enumTypes, |
| 3183 |
MessageInfos: file_google_datastore_v1_datastore_proto_msgTypes, |
| 3184 |
}.Build() |
| 3185 |
File_google_datastore_v1_datastore_proto = out.File |
| 3186 |
file_google_datastore_v1_datastore_proto_rawDesc = nil |
| 3187 |
file_google_datastore_v1_datastore_proto_goTypes = nil |
| 3188 |
file_google_datastore_v1_datastore_proto_depIdxs = nil |
| 3189 |
} |
| 3190 |
|
| 3191 |
// Reference imports to suppress errors if they are not otherwise used. |
| 3192 |
var _ context.Context |
| 3193 |
var _ grpc.ClientConnInterface |
| 3194 |
|
| 3195 |
// This is a compile-time assertion to ensure that this generated file |
| 3196 |
// is compatible with the grpc package it is being compiled against. |
| 3197 |
const _ = grpc.SupportPackageIsVersion6 |
| 3198 |
|
| 3199 |
// DatastoreClient is the client API for Datastore service. |
| 3200 |
// |
| 3201 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 3202 |
type DatastoreClient interface { |
| 3203 |
// Looks up entities by key. |
| 3204 |
Lookup(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error) |
| 3205 |
// Queries for entities. |
| 3206 |
RunQuery(ctx context.Context, in *RunQueryRequest, opts ...grpc.CallOption) (*RunQueryResponse, error) |
| 3207 |
// Runs an aggregation query. |
| 3208 |
RunAggregationQuery(ctx context.Context, in *RunAggregationQueryRequest, opts ...grpc.CallOption) (*RunAggregationQueryResponse, error) |
| 3209 |
// Begins a new transaction. |
| 3210 |
BeginTransaction(ctx context.Context, in *BeginTransactionRequest, opts ...grpc.CallOption) (*BeginTransactionResponse, error) |
| 3211 |
// Commits a transaction, optionally creating, deleting or modifying some |
| 3212 |
// entities. |
| 3213 |
Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) |
| 3214 |
// Rolls back a transaction. |
| 3215 |
Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*RollbackResponse, error) |
| 3216 |
// Allocates IDs for the given keys, which is useful for referencing an entity |
| 3217 |
// before it is inserted. |
| 3218 |
AllocateIds(ctx context.Context, in *AllocateIdsRequest, opts ...grpc.CallOption) (*AllocateIdsResponse, error) |
| 3219 |
// Prevents the supplied keys' IDs from being auto-allocated by Cloud |
| 3220 |
// Datastore. |
| 3221 |
ReserveIds(ctx context.Context, in *ReserveIdsRequest, opts ...grpc.CallOption) (*ReserveIdsResponse, error) |
| 3222 |
} |
| 3223 |
|
| 3224 |
type datastoreClient struct { |
| 3225 |
cc grpc.ClientConnInterface |
| 3226 |
} |
| 3227 |
|
| 3228 |
func NewDatastoreClient(cc grpc.ClientConnInterface) DatastoreClient { |
| 3229 |
return &datastoreClient{cc} |
| 3230 |
} |
| 3231 |
|
| 3232 |
func (c *datastoreClient) Lookup(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error) { |
| 3233 |
out := new(LookupResponse) |
| 3234 |
err := c.cc.Invoke(ctx, "/google.datastore.v1.Datastore/Lookup", in, out, opts...) |
| 3235 |
if err != nil { |
| 3236 |
return nil, err |
| 3237 |
} |
| 3238 |
return out, nil |
| 3239 |
} |
| 3240 |
|
| 3241 |
func (c *datastoreClient) RunQuery(ctx context.Context, in *RunQueryRequest, opts ...grpc.CallOption) (*RunQueryResponse, error) { |
| 3242 |
out := new(RunQueryResponse) |
| 3243 |
err := c.cc.Invoke(ctx, "/google.datastore.v1.Datastore/RunQuery", in, out, opts...) |
| 3244 |
if err != nil { |
| 3245 |
return nil, err |
| 3246 |
} |
| 3247 |
return out, nil |
| 3248 |
} |
| 3249 |
|
| 3250 |
func (c *datastoreClient) RunAggregationQuery(ctx context.Context, in *RunAggregationQueryRequest, opts ...grpc.CallOption) (*RunAggregationQueryResponse, error) { |
| 3251 |
out := new(RunAggregationQueryResponse) |
| 3252 |
err := c.cc.Invoke(ctx, "/google.datastore.v1.Datastore/RunAggregationQuery", in, out, opts...) |
| 3253 |
if err != nil { |
| 3254 |
return nil, err |
| 3255 |
} |
| 3256 |
return out, nil |
| 3257 |
} |
| 3258 |
|
| 3259 |
func (c *datastoreClient) BeginTransaction(ctx context.Context, in *BeginTransactionRequest, opts ...grpc.CallOption) (*BeginTransactionResponse, error) { |
| 3260 |
out := new(BeginTransactionResponse) |
| 3261 |
err := c.cc.Invoke(ctx, "/google.datastore.v1.Datastore/BeginTransaction", in, out, opts...) |
| 3262 |
if err != nil { |
| 3263 |
return nil, err |
| 3264 |
} |
| 3265 |
return out, nil |
| 3266 |
} |
| 3267 |
|
| 3268 |
func (c *datastoreClient) Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) { |
| 3269 |
out := new(CommitResponse) |
| 3270 |
err := c.cc.Invoke(ctx, "/google.datastore.v1.Datastore/Commit", in, out, opts...) |
| 3271 |
if err != nil { |
| 3272 |
return nil, err |
| 3273 |
} |
| 3274 |
return out, nil |
| 3275 |
} |
| 3276 |
|
| 3277 |
func (c *datastoreClient) Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*RollbackResponse, error) { |
| 3278 |
out := new(RollbackResponse) |
| 3279 |
err := c.cc.Invoke(ctx, "/google.datastore.v1.Datastore/Rollback", in, out, opts...) |
| 3280 |
if err != nil { |
| 3281 |
return nil, err |
| 3282 |
} |
| 3283 |
return out, nil |
| 3284 |
} |
| 3285 |
|
| 3286 |
func (c *datastoreClient) AllocateIds(ctx context.Context, in *AllocateIdsRequest, opts ...grpc.CallOption) (*AllocateIdsResponse, error) { |
| 3287 |
out := new(AllocateIdsResponse) |
| 3288 |
err := c.cc.Invoke(ctx, "/google.datastore.v1.Datastore/AllocateIds", in, out, opts...) |
| 3289 |
if err != nil { |
| 3290 |
return nil, err |
| 3291 |
} |
| 3292 |
return out, nil |
| 3293 |
} |
| 3294 |
|
| 3295 |
func (c *datastoreClient) ReserveIds(ctx context.Context, in *ReserveIdsRequest, opts ...grpc.CallOption) (*ReserveIdsResponse, error) { |
| 3296 |
out := new(ReserveIdsResponse) |
| 3297 |
err := c.cc.Invoke(ctx, "/google.datastore.v1.Datastore/ReserveIds", in, out, opts...) |
| 3298 |
if err != nil { |
| 3299 |
return nil, err |
| 3300 |
} |
| 3301 |
return out, nil |
| 3302 |
} |
| 3303 |
|
| 3304 |
// DatastoreServer is the server API for Datastore service. |
| 3305 |
type DatastoreServer interface { |
| 3306 |
// Looks up entities by key. |
| 3307 |
Lookup(context.Context, *LookupRequest) (*LookupResponse, error) |
| 3308 |
// Queries for entities. |
| 3309 |
RunQuery(context.Context, *RunQueryRequest) (*RunQueryResponse, error) |
| 3310 |
// Runs an aggregation query. |
| 3311 |
RunAggregationQuery(context.Context, *RunAggregationQueryRequest) (*RunAggregationQueryResponse, error) |
| 3312 |
// Begins a new transaction. |
| 3313 |
BeginTransaction(context.Context, *BeginTransactionRequest) (*BeginTransactionResponse, error) |
| 3314 |
// Commits a transaction, optionally creating, deleting or modifying some |
| 3315 |
// entities. |
| 3316 |
Commit(context.Context, *CommitRequest) (*CommitResponse, error) |
| 3317 |
// Rolls back a transaction. |
| 3318 |
Rollback(context.Context, *RollbackRequest) (*RollbackResponse, error) |
| 3319 |
// Allocates IDs for the given keys, which is useful for referencing an entity |
| 3320 |
// before it is inserted. |
| 3321 |
AllocateIds(context.Context, *AllocateIdsRequest) (*AllocateIdsResponse, error) |
| 3322 |
// Prevents the supplied keys' IDs from being auto-allocated by Cloud |
| 3323 |
// Datastore. |
| 3324 |
ReserveIds(context.Context, *ReserveIdsRequest) (*ReserveIdsResponse, error) |
| 3325 |
} |
| 3326 |
|
| 3327 |
// UnimplementedDatastoreServer can be embedded to have forward compatible implementations. |
| 3328 |
type UnimplementedDatastoreServer struct { |
| 3329 |
} |
| 3330 |
|
| 3331 |
func (*UnimplementedDatastoreServer) Lookup(context.Context, *LookupRequest) (*LookupResponse, error) { |
| 3332 |
return nil, status.Errorf(codes.Unimplemented, "method Lookup not implemented") |
| 3333 |
} |
| 3334 |
func (*UnimplementedDatastoreServer) RunQuery(context.Context, *RunQueryRequest) (*RunQueryResponse, error) { |
| 3335 |
return nil, status.Errorf(codes.Unimplemented, "method RunQuery not implemented") |
| 3336 |
} |
| 3337 |
func (*UnimplementedDatastoreServer) RunAggregationQuery(context.Context, *RunAggregationQueryRequest) (*RunAggregationQueryResponse, error) { |
| 3338 |
return nil, status.Errorf(codes.Unimplemented, "method RunAggregationQuery not implemented") |
| 3339 |
} |
| 3340 |
func (*UnimplementedDatastoreServer) BeginTransaction(context.Context, *BeginTransactionRequest) (*BeginTransactionResponse, error) { |
| 3341 |
return nil, status.Errorf(codes.Unimplemented, "method BeginTransaction not implemented") |
| 3342 |
} |
| 3343 |
func (*UnimplementedDatastoreServer) Commit(context.Context, *CommitRequest) (*CommitResponse, error) { |
| 3344 |
return nil, status.Errorf(codes.Unimplemented, "method Commit not implemented") |
| 3345 |
} |
| 3346 |
func (*UnimplementedDatastoreServer) Rollback(context.Context, *RollbackRequest) (*RollbackResponse, error) { |
| 3347 |
return nil, status.Errorf(codes.Unimplemented, "method Rollback not implemented") |
| 3348 |
} |
| 3349 |
func (*UnimplementedDatastoreServer) AllocateIds(context.Context, *AllocateIdsRequest) (*AllocateIdsResponse, error) { |
| 3350 |
return nil, status.Errorf(codes.Unimplemented, "method AllocateIds not implemented") |
| 3351 |
} |
| 3352 |
func (*UnimplementedDatastoreServer) ReserveIds(context.Context, *ReserveIdsRequest) (*ReserveIdsResponse, error) { |
| 3353 |
return nil, status.Errorf(codes.Unimplemented, "method ReserveIds not implemented") |
| 3354 |
} |
| 3355 |
|
| 3356 |
func RegisterDatastoreServer(s *grpc.Server, srv DatastoreServer) { |
| 3357 |
s.RegisterService(&_Datastore_serviceDesc, srv) |
| 3358 |
} |
| 3359 |
|
| 3360 |
func _Datastore_Lookup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3361 |
in := new(LookupRequest) |
| 3362 |
if err := dec(in); err != nil { |
| 3363 |
return nil, err |
| 3364 |
} |
| 3365 |
if interceptor == nil { |
| 3366 |
return srv.(DatastoreServer).Lookup(ctx, in) |
| 3367 |
} |
| 3368 |
info := &grpc.UnaryServerInfo{ |
| 3369 |
Server: srv, |
| 3370 |
FullMethod: "/google.datastore.v1.Datastore/Lookup", |
| 3371 |
} |
| 3372 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3373 |
return srv.(DatastoreServer).Lookup(ctx, req.(*LookupRequest)) |
| 3374 |
} |
| 3375 |
return interceptor(ctx, in, info, handler) |
| 3376 |
} |
| 3377 |
|
| 3378 |
func _Datastore_RunQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3379 |
in := new(RunQueryRequest) |
| 3380 |
if err := dec(in); err != nil { |
| 3381 |
return nil, err |
| 3382 |
} |
| 3383 |
if interceptor == nil { |
| 3384 |
return srv.(DatastoreServer).RunQuery(ctx, in) |
| 3385 |
} |
| 3386 |
info := &grpc.UnaryServerInfo{ |
| 3387 |
Server: srv, |
| 3388 |
FullMethod: "/google.datastore.v1.Datastore/RunQuery", |
| 3389 |
} |
| 3390 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3391 |
return srv.(DatastoreServer).RunQuery(ctx, req.(*RunQueryRequest)) |
| 3392 |
} |
| 3393 |
return interceptor(ctx, in, info, handler) |
| 3394 |
} |
| 3395 |
|
| 3396 |
func _Datastore_RunAggregationQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3397 |
in := new(RunAggregationQueryRequest) |
| 3398 |
if err := dec(in); err != nil { |
| 3399 |
return nil, err |
| 3400 |
} |
| 3401 |
if interceptor == nil { |
| 3402 |
return srv.(DatastoreServer).RunAggregationQuery(ctx, in) |
| 3403 |
} |
| 3404 |
info := &grpc.UnaryServerInfo{ |
| 3405 |
Server: srv, |
| 3406 |
FullMethod: "/google.datastore.v1.Datastore/RunAggregationQuery", |
| 3407 |
} |
| 3408 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3409 |
return srv.(DatastoreServer).RunAggregationQuery(ctx, req.(*RunAggregationQueryRequest)) |
| 3410 |
} |
| 3411 |
return interceptor(ctx, in, info, handler) |
| 3412 |
} |
| 3413 |
|
| 3414 |
func _Datastore_BeginTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3415 |
in := new(BeginTransactionRequest) |
| 3416 |
if err := dec(in); err != nil { |
| 3417 |
return nil, err |
| 3418 |
} |
| 3419 |
if interceptor == nil { |
| 3420 |
return srv.(DatastoreServer).BeginTransaction(ctx, in) |
| 3421 |
} |
| 3422 |
info := &grpc.UnaryServerInfo{ |
| 3423 |
Server: srv, |
| 3424 |
FullMethod: "/google.datastore.v1.Datastore/BeginTransaction", |
| 3425 |
} |
| 3426 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3427 |
return srv.(DatastoreServer).BeginTransaction(ctx, req.(*BeginTransactionRequest)) |
| 3428 |
} |
| 3429 |
return interceptor(ctx, in, info, handler) |
| 3430 |
} |
| 3431 |
|
| 3432 |
func _Datastore_Commit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3433 |
in := new(CommitRequest) |
| 3434 |
if err := dec(in); err != nil { |
| 3435 |
return nil, err |
| 3436 |
} |
| 3437 |
if interceptor == nil { |
| 3438 |
return srv.(DatastoreServer).Commit(ctx, in) |
| 3439 |
} |
| 3440 |
info := &grpc.UnaryServerInfo{ |
| 3441 |
Server: srv, |
| 3442 |
FullMethod: "/google.datastore.v1.Datastore/Commit", |
| 3443 |
} |
| 3444 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3445 |
return srv.(DatastoreServer).Commit(ctx, req.(*CommitRequest)) |
| 3446 |
} |
| 3447 |
return interceptor(ctx, in, info, handler) |
| 3448 |
} |
| 3449 |
|
| 3450 |
func _Datastore_Rollback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3451 |
in := new(RollbackRequest) |
| 3452 |
if err := dec(in); err != nil { |
| 3453 |
return nil, err |
| 3454 |
} |
| 3455 |
if interceptor == nil { |
| 3456 |
return srv.(DatastoreServer).Rollback(ctx, in) |
| 3457 |
} |
| 3458 |
info := &grpc.UnaryServerInfo{ |
| 3459 |
Server: srv, |
| 3460 |
FullMethod: "/google.datastore.v1.Datastore/Rollback", |
| 3461 |
} |
| 3462 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3463 |
return srv.(DatastoreServer).Rollback(ctx, req.(*RollbackRequest)) |
| 3464 |
} |
| 3465 |
return interceptor(ctx, in, info, handler) |
| 3466 |
} |
| 3467 |
|
| 3468 |
func _Datastore_AllocateIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3469 |
in := new(AllocateIdsRequest) |
| 3470 |
if err := dec(in); err != nil { |
| 3471 |
return nil, err |
| 3472 |
} |
| 3473 |
if interceptor == nil { |
| 3474 |
return srv.(DatastoreServer).AllocateIds(ctx, in) |
| 3475 |
} |
| 3476 |
info := &grpc.UnaryServerInfo{ |
| 3477 |
Server: srv, |
| 3478 |
FullMethod: "/google.datastore.v1.Datastore/AllocateIds", |
| 3479 |
} |
| 3480 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3481 |
return srv.(DatastoreServer).AllocateIds(ctx, req.(*AllocateIdsRequest)) |
| 3482 |
} |
| 3483 |
return interceptor(ctx, in, info, handler) |
| 3484 |
} |
| 3485 |
|
| 3486 |
func _Datastore_ReserveIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3487 |
in := new(ReserveIdsRequest) |
| 3488 |
if err := dec(in); err != nil { |
| 3489 |
return nil, err |
| 3490 |
} |
| 3491 |
if interceptor == nil { |
| 3492 |
return srv.(DatastoreServer).ReserveIds(ctx, in) |
| 3493 |
} |
| 3494 |
info := &grpc.UnaryServerInfo{ |
| 3495 |
Server: srv, |
| 3496 |
FullMethod: "/google.datastore.v1.Datastore/ReserveIds", |
| 3497 |
} |
| 3498 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3499 |
return srv.(DatastoreServer).ReserveIds(ctx, req.(*ReserveIdsRequest)) |
| 3500 |
} |
| 3501 |
return interceptor(ctx, in, info, handler) |
| 3502 |
} |
| 3503 |
|
| 3504 |
var _Datastore_serviceDesc = grpc.ServiceDesc{ |
| 3505 |
ServiceName: "google.datastore.v1.Datastore", |
| 3506 |
HandlerType: (*DatastoreServer)(nil), |
| 3507 |
Methods: []grpc.MethodDesc{ |
| 3508 |
{ |
| 3509 |
MethodName: "Lookup", |
| 3510 |
Handler: _Datastore_Lookup_Handler, |
| 3511 |
}, |
| 3512 |
{ |
| 3513 |
MethodName: "RunQuery", |
| 3514 |
Handler: _Datastore_RunQuery_Handler, |
| 3515 |
}, |
| 3516 |
{ |
| 3517 |
MethodName: "RunAggregationQuery", |
| 3518 |
Handler: _Datastore_RunAggregationQuery_Handler, |
| 3519 |
}, |
| 3520 |
{ |
| 3521 |
MethodName: "BeginTransaction", |
| 3522 |
Handler: _Datastore_BeginTransaction_Handler, |
| 3523 |
}, |
| 3524 |
{ |
| 3525 |
MethodName: "Commit", |
| 3526 |
Handler: _Datastore_Commit_Handler, |
| 3527 |
}, |
| 3528 |
{ |
| 3529 |
MethodName: "Rollback", |
| 3530 |
Handler: _Datastore_Rollback_Handler, |
| 3531 |
}, |
| 3532 |
{ |
| 3533 |
MethodName: "AllocateIds", |
| 3534 |
Handler: _Datastore_AllocateIds_Handler, |
| 3535 |
}, |
| 3536 |
{ |
| 3537 |
MethodName: "ReserveIds", |
| 3538 |
Handler: _Datastore_ReserveIds_Handler, |
| 3539 |
}, |
| 3540 |
}, |
| 3541 |
Streams: []grpc.StreamDesc{}, |
| 3542 |
Metadata: "google/datastore/v1/datastore.proto", |
| 3543 |
} |