| 1 |
// Copyright 2024 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.26.0 |
| 18 |
// protoc v4.24.4 |
| 19 |
// source: google/datastore/admin/v1beta1/datastore_admin.proto |
| 20 |
|
| 21 |
package admin |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
reflect "reflect" |
| 26 |
sync "sync" |
| 27 |
|
| 28 |
longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" |
| 29 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 30 |
grpc "google.golang.org/grpc" |
| 31 |
codes "google.golang.org/grpc/codes" |
| 32 |
status "google.golang.org/grpc/status" |
| 33 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 34 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 35 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 36 |
) |
| 37 |
|
| 38 |
const ( |
| 39 |
// Verify that this generated code is sufficiently up-to-date. |
| 40 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 41 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 42 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 43 |
) |
| 44 |
|
| 45 |
// Operation types. |
| 46 |
type OperationType int32 |
| 47 |
|
| 48 |
const ( |
| 49 |
// Unspecified. |
| 50 |
OperationType_OPERATION_TYPE_UNSPECIFIED OperationType = 0 |
| 51 |
// ExportEntities. |
| 52 |
OperationType_EXPORT_ENTITIES OperationType = 1 |
| 53 |
// ImportEntities. |
| 54 |
OperationType_IMPORT_ENTITIES OperationType = 2 |
| 55 |
) |
| 56 |
|
| 57 |
// Enum value maps for OperationType. |
| 58 |
var ( |
| 59 |
OperationType_name = map[int32]string{ |
| 60 |
0: "OPERATION_TYPE_UNSPECIFIED", |
| 61 |
1: "EXPORT_ENTITIES", |
| 62 |
2: "IMPORT_ENTITIES", |
| 63 |
} |
| 64 |
OperationType_value = map[string]int32{ |
| 65 |
"OPERATION_TYPE_UNSPECIFIED": 0, |
| 66 |
"EXPORT_ENTITIES": 1, |
| 67 |
"IMPORT_ENTITIES": 2, |
| 68 |
} |
| 69 |
) |
| 70 |
|
| 71 |
func (x OperationType) Enum() *OperationType { |
| 72 |
p := new(OperationType) |
| 73 |
*p = x |
| 74 |
return p |
| 75 |
} |
| 76 |
|
| 77 |
func (x OperationType) String() string { |
| 78 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 79 |
} |
| 80 |
|
| 81 |
func (OperationType) Descriptor() protoreflect.EnumDescriptor { |
| 82 |
return file_google_datastore_admin_v1beta1_datastore_admin_proto_enumTypes[0].Descriptor() |
| 83 |
} |
| 84 |
|
| 85 |
func (OperationType) Type() protoreflect.EnumType { |
| 86 |
return &file_google_datastore_admin_v1beta1_datastore_admin_proto_enumTypes[0] |
| 87 |
} |
| 88 |
|
| 89 |
func (x OperationType) Number() protoreflect.EnumNumber { |
| 90 |
return protoreflect.EnumNumber(x) |
| 91 |
} |
| 92 |
|
| 93 |
// Deprecated: Use OperationType.Descriptor instead. |
| 94 |
func (OperationType) EnumDescriptor() ([]byte, []int) { |
| 95 |
return file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescGZIP(), []int{0} |
| 96 |
} |
| 97 |
|
| 98 |
// The various possible states for an ongoing Operation. |
| 99 |
type CommonMetadata_State int32 |
| 100 |
|
| 101 |
const ( |
| 102 |
// Unspecified. |
| 103 |
CommonMetadata_STATE_UNSPECIFIED CommonMetadata_State = 0 |
| 104 |
// Request is being prepared for processing. |
| 105 |
CommonMetadata_INITIALIZING CommonMetadata_State = 1 |
| 106 |
// Request is actively being processed. |
| 107 |
CommonMetadata_PROCESSING CommonMetadata_State = 2 |
| 108 |
// Request is in the process of being cancelled after user called |
| 109 |
// google.longrunning.Operations.CancelOperation on the operation. |
| 110 |
CommonMetadata_CANCELLING CommonMetadata_State = 3 |
| 111 |
// Request has been processed and is in its finalization stage. |
| 112 |
CommonMetadata_FINALIZING CommonMetadata_State = 4 |
| 113 |
// Request has completed successfully. |
| 114 |
CommonMetadata_SUCCESSFUL CommonMetadata_State = 5 |
| 115 |
// Request has finished being processed, but encountered an error. |
| 116 |
CommonMetadata_FAILED CommonMetadata_State = 6 |
| 117 |
// Request has finished being cancelled after user called |
| 118 |
// google.longrunning.Operations.CancelOperation. |
| 119 |
CommonMetadata_CANCELLED CommonMetadata_State = 7 |
| 120 |
) |
| 121 |
|
| 122 |
// Enum value maps for CommonMetadata_State. |
| 123 |
var ( |
| 124 |
CommonMetadata_State_name = map[int32]string{ |
| 125 |
0: "STATE_UNSPECIFIED", |
| 126 |
1: "INITIALIZING", |
| 127 |
2: "PROCESSING", |
| 128 |
3: "CANCELLING", |
| 129 |
4: "FINALIZING", |
| 130 |
5: "SUCCESSFUL", |
| 131 |
6: "FAILED", |
| 132 |
7: "CANCELLED", |
| 133 |
} |
| 134 |
CommonMetadata_State_value = map[string]int32{ |
| 135 |
"STATE_UNSPECIFIED": 0, |
| 136 |
"INITIALIZING": 1, |
| 137 |
"PROCESSING": 2, |
| 138 |
"CANCELLING": 3, |
| 139 |
"FINALIZING": 4, |
| 140 |
"SUCCESSFUL": 5, |
| 141 |
"FAILED": 6, |
| 142 |
"CANCELLED": 7, |
| 143 |
} |
| 144 |
) |
| 145 |
|
| 146 |
func (x CommonMetadata_State) Enum() *CommonMetadata_State { |
| 147 |
p := new(CommonMetadata_State) |
| 148 |
*p = x |
| 149 |
return p |
| 150 |
} |
| 151 |
|
| 152 |
func (x CommonMetadata_State) String() string { |
| 153 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 154 |
} |
| 155 |
|
| 156 |
func (CommonMetadata_State) Descriptor() protoreflect.EnumDescriptor { |
| 157 |
return file_google_datastore_admin_v1beta1_datastore_admin_proto_enumTypes[1].Descriptor() |
| 158 |
} |
| 159 |
|
| 160 |
func (CommonMetadata_State) Type() protoreflect.EnumType { |
| 161 |
return &file_google_datastore_admin_v1beta1_datastore_admin_proto_enumTypes[1] |
| 162 |
} |
| 163 |
|
| 164 |
func (x CommonMetadata_State) Number() protoreflect.EnumNumber { |
| 165 |
return protoreflect.EnumNumber(x) |
| 166 |
} |
| 167 |
|
| 168 |
// Deprecated: Use CommonMetadata_State.Descriptor instead. |
| 169 |
func (CommonMetadata_State) EnumDescriptor() ([]byte, []int) { |
| 170 |
return file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescGZIP(), []int{0, 0} |
| 171 |
} |
| 172 |
|
| 173 |
// Metadata common to all Datastore Admin operations. |
| 174 |
type CommonMetadata struct { |
| 175 |
state protoimpl.MessageState |
| 176 |
sizeCache protoimpl.SizeCache |
| 177 |
unknownFields protoimpl.UnknownFields |
| 178 |
|
| 179 |
// The time that work began on the operation. |
| 180 |
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` |
| 181 |
// The time the operation ended, either successfully or otherwise. |
| 182 |
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` |
| 183 |
// The type of the operation. Can be used as a filter in |
| 184 |
// ListOperationsRequest. |
| 185 |
OperationType OperationType `protobuf:"varint,3,opt,name=operation_type,json=operationType,proto3,enum=google.datastore.admin.v1beta1.OperationType" json:"operation_type,omitempty"` |
| 186 |
// The client-assigned labels which were provided when the operation was |
| 187 |
// created. May also include additional labels. |
| 188 |
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 189 |
// The current state of the Operation. |
| 190 |
State CommonMetadata_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.datastore.admin.v1beta1.CommonMetadata_State" json:"state,omitempty"` |
| 191 |
} |
| 192 |
|
| 193 |
func (x *CommonMetadata) Reset() { |
| 194 |
*x = CommonMetadata{} |
| 195 |
if protoimpl.UnsafeEnabled { |
| 196 |
mi := &file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[0] |
| 197 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 198 |
ms.StoreMessageInfo(mi) |
| 199 |
} |
| 200 |
} |
| 201 |
|
| 202 |
func (x *CommonMetadata) String() string { |
| 203 |
return protoimpl.X.MessageStringOf(x) |
| 204 |
} |
| 205 |
|
| 206 |
func (*CommonMetadata) ProtoMessage() {} |
| 207 |
|
| 208 |
func (x *CommonMetadata) ProtoReflect() protoreflect.Message { |
| 209 |
mi := &file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[0] |
| 210 |
if protoimpl.UnsafeEnabled && x != nil { |
| 211 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 212 |
if ms.LoadMessageInfo() == nil { |
| 213 |
ms.StoreMessageInfo(mi) |
| 214 |
} |
| 215 |
return ms |
| 216 |
} |
| 217 |
return mi.MessageOf(x) |
| 218 |
} |
| 219 |
|
| 220 |
// Deprecated: Use CommonMetadata.ProtoReflect.Descriptor instead. |
| 221 |
func (*CommonMetadata) Descriptor() ([]byte, []int) { |
| 222 |
return file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescGZIP(), []int{0} |
| 223 |
} |
| 224 |
|
| 225 |
func (x *CommonMetadata) GetStartTime() *timestamppb.Timestamp { |
| 226 |
if x != nil { |
| 227 |
return x.StartTime |
| 228 |
} |
| 229 |
return nil |
| 230 |
} |
| 231 |
|
| 232 |
func (x *CommonMetadata) GetEndTime() *timestamppb.Timestamp { |
| 233 |
if x != nil { |
| 234 |
return x.EndTime |
| 235 |
} |
| 236 |
return nil |
| 237 |
} |
| 238 |
|
| 239 |
func (x *CommonMetadata) GetOperationType() OperationType { |
| 240 |
if x != nil { |
| 241 |
return x.OperationType |
| 242 |
} |
| 243 |
return OperationType_OPERATION_TYPE_UNSPECIFIED |
| 244 |
} |
| 245 |
|
| 246 |
func (x *CommonMetadata) GetLabels() map[string]string { |
| 247 |
if x != nil { |
| 248 |
return x.Labels |
| 249 |
} |
| 250 |
return nil |
| 251 |
} |
| 252 |
|
| 253 |
func (x *CommonMetadata) GetState() CommonMetadata_State { |
| 254 |
if x != nil { |
| 255 |
return x.State |
| 256 |
} |
| 257 |
return CommonMetadata_STATE_UNSPECIFIED |
| 258 |
} |
| 259 |
|
| 260 |
// Measures the progress of a particular metric. |
| 261 |
type Progress struct { |
| 262 |
state protoimpl.MessageState |
| 263 |
sizeCache protoimpl.SizeCache |
| 264 |
unknownFields protoimpl.UnknownFields |
| 265 |
|
| 266 |
// The amount of work that has been completed. Note that this may be greater |
| 267 |
// than work_estimated. |
| 268 |
WorkCompleted int64 `protobuf:"varint,1,opt,name=work_completed,json=workCompleted,proto3" json:"work_completed,omitempty"` |
| 269 |
// An estimate of how much work needs to be performed. May be zero if the |
| 270 |
// work estimate is unavailable. |
| 271 |
WorkEstimated int64 `protobuf:"varint,2,opt,name=work_estimated,json=workEstimated,proto3" json:"work_estimated,omitempty"` |
| 272 |
} |
| 273 |
|
| 274 |
func (x *Progress) Reset() { |
| 275 |
*x = Progress{} |
| 276 |
if protoimpl.UnsafeEnabled { |
| 277 |
mi := &file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[1] |
| 278 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 279 |
ms.StoreMessageInfo(mi) |
| 280 |
} |
| 281 |
} |
| 282 |
|
| 283 |
func (x *Progress) String() string { |
| 284 |
return protoimpl.X.MessageStringOf(x) |
| 285 |
} |
| 286 |
|
| 287 |
func (*Progress) ProtoMessage() {} |
| 288 |
|
| 289 |
func (x *Progress) ProtoReflect() protoreflect.Message { |
| 290 |
mi := &file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[1] |
| 291 |
if protoimpl.UnsafeEnabled && x != nil { |
| 292 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 293 |
if ms.LoadMessageInfo() == nil { |
| 294 |
ms.StoreMessageInfo(mi) |
| 295 |
} |
| 296 |
return ms |
| 297 |
} |
| 298 |
return mi.MessageOf(x) |
| 299 |
} |
| 300 |
|
| 301 |
// Deprecated: Use Progress.ProtoReflect.Descriptor instead. |
| 302 |
func (*Progress) Descriptor() ([]byte, []int) { |
| 303 |
return file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescGZIP(), []int{1} |
| 304 |
} |
| 305 |
|
| 306 |
func (x *Progress) GetWorkCompleted() int64 { |
| 307 |
if x != nil { |
| 308 |
return x.WorkCompleted |
| 309 |
} |
| 310 |
return 0 |
| 311 |
} |
| 312 |
|
| 313 |
func (x *Progress) GetWorkEstimated() int64 { |
| 314 |
if x != nil { |
| 315 |
return x.WorkEstimated |
| 316 |
} |
| 317 |
return 0 |
| 318 |
} |
| 319 |
|
| 320 |
// The request for |
| 321 |
// [google.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities]. |
| 322 |
type ExportEntitiesRequest struct { |
| 323 |
state protoimpl.MessageState |
| 324 |
sizeCache protoimpl.SizeCache |
| 325 |
unknownFields protoimpl.UnknownFields |
| 326 |
|
| 327 |
// Project ID against which to make the request. |
| 328 |
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| 329 |
// Client-assigned labels. |
| 330 |
Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 331 |
// Description of what data from the project is included in the export. |
| 332 |
EntityFilter *EntityFilter `protobuf:"bytes,3,opt,name=entity_filter,json=entityFilter,proto3" json:"entity_filter,omitempty"` |
| 333 |
// Location for the export metadata and data files. |
| 334 |
// |
| 335 |
// The full resource URL of the external storage location. Currently, only |
| 336 |
// Google Cloud Storage is supported. So output_url_prefix should be of the |
| 337 |
// form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the |
| 338 |
// name of the Cloud Storage bucket and `NAMESPACE_PATH` is an optional Cloud |
| 339 |
// Storage namespace path (this is not a Cloud Datastore namespace). For more |
| 340 |
// information about Cloud Storage namespace paths, see |
| 341 |
// [Object name |
| 342 |
// considerations](https://cloud.google.com/storage/docs/naming#object-considerations). |
| 343 |
// |
| 344 |
// The resulting files will be nested deeper than the specified URL prefix. |
| 345 |
// The final output URL will be provided in the |
| 346 |
// [google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url][google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url] |
| 347 |
// field. That value should be used for subsequent ImportEntities operations. |
| 348 |
// |
| 349 |
// By nesting the data files deeper, the same Cloud Storage bucket can be used |
| 350 |
// in multiple ExportEntities operations without conflict. |
| 351 |
OutputUrlPrefix string `protobuf:"bytes,4,opt,name=output_url_prefix,json=outputUrlPrefix,proto3" json:"output_url_prefix,omitempty"` |
| 352 |
} |
| 353 |
|
| 354 |
func (x *ExportEntitiesRequest) Reset() { |
| 355 |
*x = ExportEntitiesRequest{} |
| 356 |
if protoimpl.UnsafeEnabled { |
| 357 |
mi := &file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[2] |
| 358 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 359 |
ms.StoreMessageInfo(mi) |
| 360 |
} |
| 361 |
} |
| 362 |
|
| 363 |
func (x *ExportEntitiesRequest) String() string { |
| 364 |
return protoimpl.X.MessageStringOf(x) |
| 365 |
} |
| 366 |
|
| 367 |
func (*ExportEntitiesRequest) ProtoMessage() {} |
| 368 |
|
| 369 |
func (x *ExportEntitiesRequest) ProtoReflect() protoreflect.Message { |
| 370 |
mi := &file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[2] |
| 371 |
if protoimpl.UnsafeEnabled && x != nil { |
| 372 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 373 |
if ms.LoadMessageInfo() == nil { |
| 374 |
ms.StoreMessageInfo(mi) |
| 375 |
} |
| 376 |
return ms |
| 377 |
} |
| 378 |
return mi.MessageOf(x) |
| 379 |
} |
| 380 |
|
| 381 |
// Deprecated: Use ExportEntitiesRequest.ProtoReflect.Descriptor instead. |
| 382 |
func (*ExportEntitiesRequest) Descriptor() ([]byte, []int) { |
| 383 |
return file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescGZIP(), []int{2} |
| 384 |
} |
| 385 |
|
| 386 |
func (x *ExportEntitiesRequest) GetProjectId() string { |
| 387 |
if x != nil { |
| 388 |
return x.ProjectId |
| 389 |
} |
| 390 |
return "" |
| 391 |
} |
| 392 |
|
| 393 |
func (x *ExportEntitiesRequest) GetLabels() map[string]string { |
| 394 |
if x != nil { |
| 395 |
return x.Labels |
| 396 |
} |
| 397 |
return nil |
| 398 |
} |
| 399 |
|
| 400 |
func (x *ExportEntitiesRequest) GetEntityFilter() *EntityFilter { |
| 401 |
if x != nil { |
| 402 |
return x.EntityFilter |
| 403 |
} |
| 404 |
return nil |
| 405 |
} |
| 406 |
|
| 407 |
func (x *ExportEntitiesRequest) GetOutputUrlPrefix() string { |
| 408 |
if x != nil { |
| 409 |
return x.OutputUrlPrefix |
| 410 |
} |
| 411 |
return "" |
| 412 |
} |
| 413 |
|
| 414 |
// The request for |
| 415 |
// [google.datastore.admin.v1beta1.DatastoreAdmin.ImportEntities][google.datastore.admin.v1beta1.DatastoreAdmin.ImportEntities]. |
| 416 |
type ImportEntitiesRequest struct { |
| 417 |
state protoimpl.MessageState |
| 418 |
sizeCache protoimpl.SizeCache |
| 419 |
unknownFields protoimpl.UnknownFields |
| 420 |
|
| 421 |
// Project ID against which to make the request. |
| 422 |
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| 423 |
// Client-assigned labels. |
| 424 |
Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 425 |
// The full resource URL of the external storage location. Currently, only |
| 426 |
// Google Cloud Storage is supported. So input_url should be of the form: |
| 427 |
// `gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where |
| 428 |
// `BUCKET_NAME` is the name of the Cloud Storage bucket, `NAMESPACE_PATH` is |
| 429 |
// an optional Cloud Storage namespace path (this is not a Cloud Datastore |
| 430 |
// namespace), and `OVERALL_EXPORT_METADATA_FILE` is the metadata file written |
| 431 |
// by the ExportEntities operation. For more information about Cloud Storage |
| 432 |
// namespace paths, see |
| 433 |
// [Object name |
| 434 |
// considerations](https://cloud.google.com/storage/docs/naming#object-considerations). |
| 435 |
// |
| 436 |
// For more information, see |
| 437 |
// [google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url][google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url]. |
| 438 |
InputUrl string `protobuf:"bytes,3,opt,name=input_url,json=inputUrl,proto3" json:"input_url,omitempty"` |
| 439 |
// Optionally specify which kinds/namespaces are to be imported. If provided, |
| 440 |
// the list must be a subset of the EntityFilter used in creating the export, |
| 441 |
// otherwise a FAILED_PRECONDITION error will be returned. If no filter is |
| 442 |
// specified then all entities from the export are imported. |
| 443 |
EntityFilter *EntityFilter `protobuf:"bytes,4,opt,name=entity_filter,json=entityFilter,proto3" json:"entity_filter,omitempty"` |
| 444 |
} |
| 445 |
|
| 446 |
func (x *ImportEntitiesRequest) Reset() { |
| 447 |
*x = ImportEntitiesRequest{} |
| 448 |
if protoimpl.UnsafeEnabled { |
| 449 |
mi := &file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[3] |
| 450 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 451 |
ms.StoreMessageInfo(mi) |
| 452 |
} |
| 453 |
} |
| 454 |
|
| 455 |
func (x *ImportEntitiesRequest) String() string { |
| 456 |
return protoimpl.X.MessageStringOf(x) |
| 457 |
} |
| 458 |
|
| 459 |
func (*ImportEntitiesRequest) ProtoMessage() {} |
| 460 |
|
| 461 |
func (x *ImportEntitiesRequest) ProtoReflect() protoreflect.Message { |
| 462 |
mi := &file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[3] |
| 463 |
if protoimpl.UnsafeEnabled && x != nil { |
| 464 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 465 |
if ms.LoadMessageInfo() == nil { |
| 466 |
ms.StoreMessageInfo(mi) |
| 467 |
} |
| 468 |
return ms |
| 469 |
} |
| 470 |
return mi.MessageOf(x) |
| 471 |
} |
| 472 |
|
| 473 |
// Deprecated: Use ImportEntitiesRequest.ProtoReflect.Descriptor instead. |
| 474 |
func (*ImportEntitiesRequest) Descriptor() ([]byte, []int) { |
| 475 |
return file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescGZIP(), []int{3} |
| 476 |
} |
| 477 |
|
| 478 |
func (x *ImportEntitiesRequest) GetProjectId() string { |
| 479 |
if x != nil { |
| 480 |
return x.ProjectId |
| 481 |
} |
| 482 |
return "" |
| 483 |
} |
| 484 |
|
| 485 |
func (x *ImportEntitiesRequest) GetLabels() map[string]string { |
| 486 |
if x != nil { |
| 487 |
return x.Labels |
| 488 |
} |
| 489 |
return nil |
| 490 |
} |
| 491 |
|
| 492 |
func (x *ImportEntitiesRequest) GetInputUrl() string { |
| 493 |
if x != nil { |
| 494 |
return x.InputUrl |
| 495 |
} |
| 496 |
return "" |
| 497 |
} |
| 498 |
|
| 499 |
func (x *ImportEntitiesRequest) GetEntityFilter() *EntityFilter { |
| 500 |
if x != nil { |
| 501 |
return x.EntityFilter |
| 502 |
} |
| 503 |
return nil |
| 504 |
} |
| 505 |
|
| 506 |
// The response for |
| 507 |
// [google.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities]. |
| 508 |
type ExportEntitiesResponse struct { |
| 509 |
state protoimpl.MessageState |
| 510 |
sizeCache protoimpl.SizeCache |
| 511 |
unknownFields protoimpl.UnknownFields |
| 512 |
|
| 513 |
// Location of the output metadata file. This can be used to begin an import |
| 514 |
// into Cloud Datastore (this project or another project). See |
| 515 |
// [google.datastore.admin.v1beta1.ImportEntitiesRequest.input_url][google.datastore.admin.v1beta1.ImportEntitiesRequest.input_url]. |
| 516 |
// Only present if the operation completed successfully. |
| 517 |
OutputUrl string `protobuf:"bytes,1,opt,name=output_url,json=outputUrl,proto3" json:"output_url,omitempty"` |
| 518 |
} |
| 519 |
|
| 520 |
func (x *ExportEntitiesResponse) Reset() { |
| 521 |
*x = ExportEntitiesResponse{} |
| 522 |
if protoimpl.UnsafeEnabled { |
| 523 |
mi := &file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[4] |
| 524 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 525 |
ms.StoreMessageInfo(mi) |
| 526 |
} |
| 527 |
} |
| 528 |
|
| 529 |
func (x *ExportEntitiesResponse) String() string { |
| 530 |
return protoimpl.X.MessageStringOf(x) |
| 531 |
} |
| 532 |
|
| 533 |
func (*ExportEntitiesResponse) ProtoMessage() {} |
| 534 |
|
| 535 |
func (x *ExportEntitiesResponse) ProtoReflect() protoreflect.Message { |
| 536 |
mi := &file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[4] |
| 537 |
if protoimpl.UnsafeEnabled && x != nil { |
| 538 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 539 |
if ms.LoadMessageInfo() == nil { |
| 540 |
ms.StoreMessageInfo(mi) |
| 541 |
} |
| 542 |
return ms |
| 543 |
} |
| 544 |
return mi.MessageOf(x) |
| 545 |
} |
| 546 |
|
| 547 |
// Deprecated: Use ExportEntitiesResponse.ProtoReflect.Descriptor instead. |
| 548 |
func (*ExportEntitiesResponse) Descriptor() ([]byte, []int) { |
| 549 |
return file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescGZIP(), []int{4} |
| 550 |
} |
| 551 |
|
| 552 |
func (x *ExportEntitiesResponse) GetOutputUrl() string { |
| 553 |
if x != nil { |
| 554 |
return x.OutputUrl |
| 555 |
} |
| 556 |
return "" |
| 557 |
} |
| 558 |
|
| 559 |
// Metadata for ExportEntities operations. |
| 560 |
type ExportEntitiesMetadata struct { |
| 561 |
state protoimpl.MessageState |
| 562 |
sizeCache protoimpl.SizeCache |
| 563 |
unknownFields protoimpl.UnknownFields |
| 564 |
|
| 565 |
// Metadata common to all Datastore Admin operations. |
| 566 |
Common *CommonMetadata `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` |
| 567 |
// An estimate of the number of entities processed. |
| 568 |
ProgressEntities *Progress `protobuf:"bytes,2,opt,name=progress_entities,json=progressEntities,proto3" json:"progress_entities,omitempty"` |
| 569 |
// An estimate of the number of bytes processed. |
| 570 |
ProgressBytes *Progress `protobuf:"bytes,3,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"` |
| 571 |
// Description of which entities are being exported. |
| 572 |
EntityFilter *EntityFilter `protobuf:"bytes,4,opt,name=entity_filter,json=entityFilter,proto3" json:"entity_filter,omitempty"` |
| 573 |
// Location for the export metadata and data files. This will be the same |
| 574 |
// value as the |
| 575 |
// [google.datastore.admin.v1beta1.ExportEntitiesRequest.output_url_prefix][google.datastore.admin.v1beta1.ExportEntitiesRequest.output_url_prefix] |
| 576 |
// field. The final output location is provided in |
| 577 |
// [google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url][google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url]. |
| 578 |
OutputUrlPrefix string `protobuf:"bytes,5,opt,name=output_url_prefix,json=outputUrlPrefix,proto3" json:"output_url_prefix,omitempty"` |
| 579 |
} |
| 580 |
|
| 581 |
func (x *ExportEntitiesMetadata) Reset() { |
| 582 |
*x = ExportEntitiesMetadata{} |
| 583 |
if protoimpl.UnsafeEnabled { |
| 584 |
mi := &file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[5] |
| 585 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 586 |
ms.StoreMessageInfo(mi) |
| 587 |
} |
| 588 |
} |
| 589 |
|
| 590 |
func (x *ExportEntitiesMetadata) String() string { |
| 591 |
return protoimpl.X.MessageStringOf(x) |
| 592 |
} |
| 593 |
|
| 594 |
func (*ExportEntitiesMetadata) ProtoMessage() {} |
| 595 |
|
| 596 |
func (x *ExportEntitiesMetadata) ProtoReflect() protoreflect.Message { |
| 597 |
mi := &file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[5] |
| 598 |
if protoimpl.UnsafeEnabled && x != nil { |
| 599 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 600 |
if ms.LoadMessageInfo() == nil { |
| 601 |
ms.StoreMessageInfo(mi) |
| 602 |
} |
| 603 |
return ms |
| 604 |
} |
| 605 |
return mi.MessageOf(x) |
| 606 |
} |
| 607 |
|
| 608 |
// Deprecated: Use ExportEntitiesMetadata.ProtoReflect.Descriptor instead. |
| 609 |
func (*ExportEntitiesMetadata) Descriptor() ([]byte, []int) { |
| 610 |
return file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescGZIP(), []int{5} |
| 611 |
} |
| 612 |
|
| 613 |
func (x *ExportEntitiesMetadata) GetCommon() *CommonMetadata { |
| 614 |
if x != nil { |
| 615 |
return x.Common |
| 616 |
} |
| 617 |
return nil |
| 618 |
} |
| 619 |
|
| 620 |
func (x *ExportEntitiesMetadata) GetProgressEntities() *Progress { |
| 621 |
if x != nil { |
| 622 |
return x.ProgressEntities |
| 623 |
} |
| 624 |
return nil |
| 625 |
} |
| 626 |
|
| 627 |
func (x *ExportEntitiesMetadata) GetProgressBytes() *Progress { |
| 628 |
if x != nil { |
| 629 |
return x.ProgressBytes |
| 630 |
} |
| 631 |
return nil |
| 632 |
} |
| 633 |
|
| 634 |
func (x *ExportEntitiesMetadata) GetEntityFilter() *EntityFilter { |
| 635 |
if x != nil { |
| 636 |
return x.EntityFilter |
| 637 |
} |
| 638 |
return nil |
| 639 |
} |
| 640 |
|
| 641 |
func (x *ExportEntitiesMetadata) GetOutputUrlPrefix() string { |
| 642 |
if x != nil { |
| 643 |
return x.OutputUrlPrefix |
| 644 |
} |
| 645 |
return "" |
| 646 |
} |
| 647 |
|
| 648 |
// Metadata for ImportEntities operations. |
| 649 |
type ImportEntitiesMetadata struct { |
| 650 |
state protoimpl.MessageState |
| 651 |
sizeCache protoimpl.SizeCache |
| 652 |
unknownFields protoimpl.UnknownFields |
| 653 |
|
| 654 |
// Metadata common to all Datastore Admin operations. |
| 655 |
Common *CommonMetadata `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` |
| 656 |
// An estimate of the number of entities processed. |
| 657 |
ProgressEntities *Progress `protobuf:"bytes,2,opt,name=progress_entities,json=progressEntities,proto3" json:"progress_entities,omitempty"` |
| 658 |
// An estimate of the number of bytes processed. |
| 659 |
ProgressBytes *Progress `protobuf:"bytes,3,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"` |
| 660 |
// Description of which entities are being imported. |
| 661 |
EntityFilter *EntityFilter `protobuf:"bytes,4,opt,name=entity_filter,json=entityFilter,proto3" json:"entity_filter,omitempty"` |
| 662 |
// The location of the import metadata file. This will be the same value as |
| 663 |
// the |
| 664 |
// [google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url][google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url] |
| 665 |
// field. |
| 666 |
InputUrl string `protobuf:"bytes,5,opt,name=input_url,json=inputUrl,proto3" json:"input_url,omitempty"` |
| 667 |
} |
| 668 |
|
| 669 |
func (x *ImportEntitiesMetadata) Reset() { |
| 670 |
*x = ImportEntitiesMetadata{} |
| 671 |
if protoimpl.UnsafeEnabled { |
| 672 |
mi := &file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[6] |
| 673 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 674 |
ms.StoreMessageInfo(mi) |
| 675 |
} |
| 676 |
} |
| 677 |
|
| 678 |
func (x *ImportEntitiesMetadata) String() string { |
| 679 |
return protoimpl.X.MessageStringOf(x) |
| 680 |
} |
| 681 |
|
| 682 |
func (*ImportEntitiesMetadata) ProtoMessage() {} |
| 683 |
|
| 684 |
func (x *ImportEntitiesMetadata) ProtoReflect() protoreflect.Message { |
| 685 |
mi := &file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[6] |
| 686 |
if protoimpl.UnsafeEnabled && x != nil { |
| 687 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 688 |
if ms.LoadMessageInfo() == nil { |
| 689 |
ms.StoreMessageInfo(mi) |
| 690 |
} |
| 691 |
return ms |
| 692 |
} |
| 693 |
return mi.MessageOf(x) |
| 694 |
} |
| 695 |
|
| 696 |
// Deprecated: Use ImportEntitiesMetadata.ProtoReflect.Descriptor instead. |
| 697 |
func (*ImportEntitiesMetadata) Descriptor() ([]byte, []int) { |
| 698 |
return file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescGZIP(), []int{6} |
| 699 |
} |
| 700 |
|
| 701 |
func (x *ImportEntitiesMetadata) GetCommon() *CommonMetadata { |
| 702 |
if x != nil { |
| 703 |
return x.Common |
| 704 |
} |
| 705 |
return nil |
| 706 |
} |
| 707 |
|
| 708 |
func (x *ImportEntitiesMetadata) GetProgressEntities() *Progress { |
| 709 |
if x != nil { |
| 710 |
return x.ProgressEntities |
| 711 |
} |
| 712 |
return nil |
| 713 |
} |
| 714 |
|
| 715 |
func (x *ImportEntitiesMetadata) GetProgressBytes() *Progress { |
| 716 |
if x != nil { |
| 717 |
return x.ProgressBytes |
| 718 |
} |
| 719 |
return nil |
| 720 |
} |
| 721 |
|
| 722 |
func (x *ImportEntitiesMetadata) GetEntityFilter() *EntityFilter { |
| 723 |
if x != nil { |
| 724 |
return x.EntityFilter |
| 725 |
} |
| 726 |
return nil |
| 727 |
} |
| 728 |
|
| 729 |
func (x *ImportEntitiesMetadata) GetInputUrl() string { |
| 730 |
if x != nil { |
| 731 |
return x.InputUrl |
| 732 |
} |
| 733 |
return "" |
| 734 |
} |
| 735 |
|
| 736 |
// Identifies a subset of entities in a project. This is specified as |
| 737 |
// combinations of kinds and namespaces (either or both of which may be all, as |
| 738 |
// described in the following examples). |
| 739 |
// Example usage: |
| 740 |
// |
| 741 |
// Entire project: |
| 742 |
// |
| 743 |
// kinds=[], namespace_ids=[] |
| 744 |
// |
| 745 |
// Kinds Foo and Bar in all namespaces: |
| 746 |
// |
| 747 |
// kinds=['Foo', 'Bar'], namespace_ids=[] |
| 748 |
// |
| 749 |
// Kinds Foo and Bar only in the default namespace: |
| 750 |
// |
| 751 |
// kinds=['Foo', 'Bar'], namespace_ids=[''] |
| 752 |
// |
| 753 |
// Kinds Foo and Bar in both the default and Baz namespaces: |
| 754 |
// |
| 755 |
// kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] |
| 756 |
// |
| 757 |
// The entire Baz namespace: |
| 758 |
// |
| 759 |
// kinds=[], namespace_ids=['Baz'] |
| 760 |
type EntityFilter struct { |
| 761 |
state protoimpl.MessageState |
| 762 |
sizeCache protoimpl.SizeCache |
| 763 |
unknownFields protoimpl.UnknownFields |
| 764 |
|
| 765 |
// If empty, then this represents all kinds. |
| 766 |
Kinds []string `protobuf:"bytes,1,rep,name=kinds,proto3" json:"kinds,omitempty"` |
| 767 |
// An empty list represents all namespaces. This is the preferred |
| 768 |
// usage for projects that don't use namespaces. |
| 769 |
// |
| 770 |
// An empty string element represents the default namespace. This should be |
| 771 |
// used if the project has data in non-default namespaces, but doesn't want to |
| 772 |
// include them. |
| 773 |
// Each namespace in this list must be unique. |
| 774 |
NamespaceIds []string `protobuf:"bytes,2,rep,name=namespace_ids,json=namespaceIds,proto3" json:"namespace_ids,omitempty"` |
| 775 |
} |
| 776 |
|
| 777 |
func (x *EntityFilter) Reset() { |
| 778 |
*x = EntityFilter{} |
| 779 |
if protoimpl.UnsafeEnabled { |
| 780 |
mi := &file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[7] |
| 781 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 782 |
ms.StoreMessageInfo(mi) |
| 783 |
} |
| 784 |
} |
| 785 |
|
| 786 |
func (x *EntityFilter) String() string { |
| 787 |
return protoimpl.X.MessageStringOf(x) |
| 788 |
} |
| 789 |
|
| 790 |
func (*EntityFilter) ProtoMessage() {} |
| 791 |
|
| 792 |
func (x *EntityFilter) ProtoReflect() protoreflect.Message { |
| 793 |
mi := &file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[7] |
| 794 |
if protoimpl.UnsafeEnabled && x != nil { |
| 795 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 796 |
if ms.LoadMessageInfo() == nil { |
| 797 |
ms.StoreMessageInfo(mi) |
| 798 |
} |
| 799 |
return ms |
| 800 |
} |
| 801 |
return mi.MessageOf(x) |
| 802 |
} |
| 803 |
|
| 804 |
// Deprecated: Use EntityFilter.ProtoReflect.Descriptor instead. |
| 805 |
func (*EntityFilter) Descriptor() ([]byte, []int) { |
| 806 |
return file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescGZIP(), []int{7} |
| 807 |
} |
| 808 |
|
| 809 |
func (x *EntityFilter) GetKinds() []string { |
| 810 |
if x != nil { |
| 811 |
return x.Kinds |
| 812 |
} |
| 813 |
return nil |
| 814 |
} |
| 815 |
|
| 816 |
func (x *EntityFilter) GetNamespaceIds() []string { |
| 817 |
if x != nil { |
| 818 |
return x.NamespaceIds |
| 819 |
} |
| 820 |
return nil |
| 821 |
} |
| 822 |
|
| 823 |
var File_google_datastore_admin_v1beta1_datastore_admin_proto protoreflect.FileDescriptor |
| 824 |
|
| 825 |
var file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDesc = []byte{ |
| 826 |
0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, |
| 827 |
0x72, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, |
| 828 |
0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, |
| 829 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, |
| 830 |
0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, |
| 831 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, |
| 832 |
0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, |
| 833 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, |
| 834 |
0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, |
| 835 |
0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 836 |
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, |
| 837 |
0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc1, 0x04, 0x0a, 0x0e, 0x43, |
| 838 |
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x39, 0x0a, |
| 839 |
0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 840 |
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 841 |
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, |
| 842 |
0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, |
| 843 |
0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, |
| 844 |
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, |
| 845 |
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, |
| 846 |
0x54, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, |
| 847 |
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 848 |
0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, |
| 849 |
0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, |
| 850 |
0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, |
| 851 |
0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x52, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, |
| 852 |
0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, |
| 853 |
0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, |
| 854 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4d, 0x65, 0x74, |
| 855 |
0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, |
| 856 |
0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x4a, 0x0a, 0x05, 0x73, 0x74, 0x61, |
| 857 |
0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 858 |
0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, |
| 859 |
0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, |
| 860 |
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, |
| 861 |
0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, |
| 862 |
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 863 |
0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, |
| 864 |
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, |
| 865 |
0x22, 0x8b, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, |
| 866 |
0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, |
| 867 |
0x00, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x49, 0x4e, |
| 868 |
0x47, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x49, 0x4e, |
| 869 |
0x47, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x49, 0x4e, |
| 870 |
0x47, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x49, 0x4e, 0x41, 0x4c, 0x49, 0x5a, 0x49, 0x4e, |
| 871 |
0x47, 0x10, 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x46, 0x55, |
| 872 |
0x4c, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x06, 0x12, |
| 873 |
0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x07, 0x22, 0x58, |
| 874 |
0x0a, 0x08, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x77, 0x6f, |
| 875 |
0x72, 0x6b, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, |
| 876 |
0x28, 0x03, 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, |
| 877 |
0x64, 0x12, 0x25, 0x0a, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x65, 0x73, 0x74, 0x69, 0x6d, 0x61, |
| 878 |
0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x45, |
| 879 |
0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x64, 0x22, 0xcb, 0x02, 0x0a, 0x15, 0x45, 0x78, 0x70, |
| 880 |
0x6f, 0x72, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 881 |
0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, |
| 882 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, |
| 883 |
0x64, 0x12, 0x59, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, |
| 884 |
0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, |
| 885 |
0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, |
| 886 |
0x61, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, |
| 887 |
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, |
| 888 |
0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x51, 0x0a, 0x0d, |
| 889 |
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, |
| 890 |
0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, |
| 891 |
0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, |
| 892 |
0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, |
| 893 |
0x72, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, |
| 894 |
0x2a, 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x5f, 0x70, 0x72, |
| 895 |
0x65, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x75, 0x74, 0x70, |
| 896 |
0x75, 0x74, 0x55, 0x72, 0x6c, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, |
| 897 |
0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, |
| 898 |
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, |
| 899 |
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, |
| 900 |
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xbc, 0x02, 0x0a, 0x15, 0x49, 0x6d, 0x70, 0x6f, 0x72, |
| 901 |
0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 902 |
0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, |
| 903 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, |
| 904 |
0x59, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 905 |
0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, |
| 906 |
0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, |
| 907 |
0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, |
| 908 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, |
| 909 |
0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, |
| 910 |
0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, |
| 911 |
0x6e, 0x70, 0x75, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x51, 0x0a, 0x0d, 0x65, 0x6e, 0x74, 0x69, 0x74, |
| 912 |
0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, |
| 913 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, |
| 914 |
0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, |
| 915 |
0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0c, 0x65, 0x6e, |
| 916 |
0x74, 0x69, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, |
| 917 |
0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, |
| 918 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, |
| 919 |
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, |
| 920 |
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x37, 0x0a, 0x16, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x45, |
| 921 |
0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, |
| 922 |
0x1d, 0x0a, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, |
| 923 |
0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x55, 0x72, 0x6c, 0x22, 0x87, |
| 924 |
0x03, 0x0a, 0x16, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, |
| 925 |
0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x46, 0x0a, 0x06, 0x63, 0x6f, 0x6d, |
| 926 |
0x6d, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 927 |
0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, |
| 928 |
0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, |
| 929 |
0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, |
| 930 |
0x6e, 0x12, 0x55, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x65, 0x6e, |
| 931 |
0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, |
| 932 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, |
| 933 |
0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, |
| 934 |
0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, |
| 935 |
0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x67, |
| 936 |
0x72, 0x65, 0x73, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, |
| 937 |
0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, |
| 938 |
0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 939 |
0x31, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x67, |
| 940 |
0x72, 0x65, 0x73, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x0d, 0x65, 0x6e, 0x74, |
| 941 |
0x69, 0x74, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, |
| 942 |
0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, |
| 943 |
0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 944 |
0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0c, |
| 945 |
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x11, |
| 946 |
0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, |
| 947 |
0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x55, |
| 948 |
0x72, 0x6c, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0xf8, 0x02, 0x0a, 0x16, 0x49, 0x6d, 0x70, |
| 949 |
0x6f, 0x72, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, |
| 950 |
0x61, 0x74, 0x61, 0x12, 0x46, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x18, 0x01, 0x20, |
| 951 |
0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, |
| 952 |
0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, |
| 953 |
0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, |
| 954 |
0x61, 0x74, 0x61, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x12, 0x55, 0x0a, 0x11, 0x70, |
| 955 |
0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, |
| 956 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 957 |
0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, |
| 958 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, |
| 959 |
0x52, 0x10, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, |
| 960 |
0x65, 0x73, 0x12, 0x4f, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x62, |
| 961 |
0x79, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, |
| 962 |
0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, |
| 963 |
0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x67, |
| 964 |
0x72, 0x65, 0x73, 0x73, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, |
| 965 |
0x74, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x0d, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x66, 0x69, |
| 966 |
0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, |
| 967 |
0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, |
| 968 |
0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, |
| 969 |
0x74, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, |
| 970 |
0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, |
| 971 |
0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x70, 0x75, 0x74, |
| 972 |
0x55, 0x72, 0x6c, 0x22, 0x49, 0x0a, 0x0c, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x69, 0x6c, |
| 973 |
0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6b, 0x69, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, |
| 974 |
0x28, 0x09, 0x52, 0x05, 0x6b, 0x69, 0x6e, 0x64, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6e, 0x61, 0x6d, |
| 975 |
0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, |
| 976 |
0x52, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x73, 0x2a, 0x59, |
| 977 |
0x0a, 0x0d, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, |
| 978 |
0x1e, 0x0a, 0x1a, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, |
| 979 |
0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, |
| 980 |
0x13, 0x0a, 0x0f, 0x45, 0x58, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x49, |
| 981 |
0x45, 0x53, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x45, |
| 982 |
0x4e, 0x54, 0x49, 0x54, 0x49, 0x45, 0x53, 0x10, 0x02, 0x32, 0xc6, 0x02, 0x0a, 0x0e, 0x44, 0x61, |
| 983 |
0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x98, 0x01, 0x0a, |
| 984 |
0x0e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, |
| 985 |
0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, |
| 986 |
0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, |
| 987 |
0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, |
| 988 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 989 |
0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, |
| 990 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x22, 0x25, 0x2f, |
| 991 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, |
| 992 |
0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x65, 0x78, |
| 993 |
0x70, 0x6f, 0x72, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x98, 0x01, 0x0a, 0x0e, 0x49, 0x6d, 0x70, 0x6f, |
| 994 |
0x72, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x35, 0x2e, 0x67, 0x6f, 0x6f, |
| 995 |
0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, |
| 996 |
0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6d, 0x70, 0x6f, |
| 997 |
0x72, 0x74, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 998 |
0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, |
| 999 |
0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 1000 |
0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x22, 0x25, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, |
| 1001 |
0x61, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, |
| 1002 |
0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x3a, |
| 1003 |
0x01, 0x2a, 0x42, 0xd2, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1004 |
0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, |
| 1005 |
0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x13, 0x44, 0x61, 0x74, 0x61, 0x73, |
| 1006 |
0x74, 0x6f, 0x72, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, |
| 1007 |
0x5a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, |
| 1008 |
0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, |
| 1009 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, |
| 1010 |
0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, |
| 1011 |
0x61, 0x64, 0x6d, 0x69, 0x6e, 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, |
| 1012 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x41, |
| 1013 |
0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x28, 0x47, |
| 1014 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x44, 0x61, |
| 1015 |
0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x3a, 0x3a, |
| 1016 |
0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 1017 |
} |
| 1018 |
|
| 1019 |
var ( |
| 1020 |
file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescOnce sync.Once |
| 1021 |
file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescData = file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDesc |
| 1022 |
) |
| 1023 |
|
| 1024 |
func file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescGZIP() []byte { |
| 1025 |
file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescOnce.Do(func() { |
| 1026 |
file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescData) |
| 1027 |
}) |
| 1028 |
return file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDescData |
| 1029 |
} |
| 1030 |
|
| 1031 |
var file_google_datastore_admin_v1beta1_datastore_admin_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| 1032 |
var file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes = make([]protoimpl.MessageInfo, 11) |
| 1033 |
var file_google_datastore_admin_v1beta1_datastore_admin_proto_goTypes = []interface{}{ |
| 1034 |
(OperationType)(0), // 0: google.datastore.admin.v1beta1.OperationType |
| 1035 |
(CommonMetadata_State)(0), // 1: google.datastore.admin.v1beta1.CommonMetadata.State |
| 1036 |
(*CommonMetadata)(nil), // 2: google.datastore.admin.v1beta1.CommonMetadata |
| 1037 |
(*Progress)(nil), // 3: google.datastore.admin.v1beta1.Progress |
| 1038 |
(*ExportEntitiesRequest)(nil), // 4: google.datastore.admin.v1beta1.ExportEntitiesRequest |
| 1039 |
(*ImportEntitiesRequest)(nil), // 5: google.datastore.admin.v1beta1.ImportEntitiesRequest |
| 1040 |
(*ExportEntitiesResponse)(nil), // 6: google.datastore.admin.v1beta1.ExportEntitiesResponse |
| 1041 |
(*ExportEntitiesMetadata)(nil), // 7: google.datastore.admin.v1beta1.ExportEntitiesMetadata |
| 1042 |
(*ImportEntitiesMetadata)(nil), // 8: google.datastore.admin.v1beta1.ImportEntitiesMetadata |
| 1043 |
(*EntityFilter)(nil), // 9: google.datastore.admin.v1beta1.EntityFilter |
| 1044 |
nil, // 10: google.datastore.admin.v1beta1.CommonMetadata.LabelsEntry |
| 1045 |
nil, // 11: google.datastore.admin.v1beta1.ExportEntitiesRequest.LabelsEntry |
| 1046 |
nil, // 12: google.datastore.admin.v1beta1.ImportEntitiesRequest.LabelsEntry |
| 1047 |
(*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp |
| 1048 |
(*longrunningpb.Operation)(nil), // 14: google.longrunning.Operation |
| 1049 |
} |
| 1050 |
var file_google_datastore_admin_v1beta1_datastore_admin_proto_depIdxs = []int32{ |
| 1051 |
13, // 0: google.datastore.admin.v1beta1.CommonMetadata.start_time:type_name -> google.protobuf.Timestamp |
| 1052 |
13, // 1: google.datastore.admin.v1beta1.CommonMetadata.end_time:type_name -> google.protobuf.Timestamp |
| 1053 |
0, // 2: google.datastore.admin.v1beta1.CommonMetadata.operation_type:type_name -> google.datastore.admin.v1beta1.OperationType |
| 1054 |
10, // 3: google.datastore.admin.v1beta1.CommonMetadata.labels:type_name -> google.datastore.admin.v1beta1.CommonMetadata.LabelsEntry |
| 1055 |
1, // 4: google.datastore.admin.v1beta1.CommonMetadata.state:type_name -> google.datastore.admin.v1beta1.CommonMetadata.State |
| 1056 |
11, // 5: google.datastore.admin.v1beta1.ExportEntitiesRequest.labels:type_name -> google.datastore.admin.v1beta1.ExportEntitiesRequest.LabelsEntry |
| 1057 |
9, // 6: google.datastore.admin.v1beta1.ExportEntitiesRequest.entity_filter:type_name -> google.datastore.admin.v1beta1.EntityFilter |
| 1058 |
12, // 7: google.datastore.admin.v1beta1.ImportEntitiesRequest.labels:type_name -> google.datastore.admin.v1beta1.ImportEntitiesRequest.LabelsEntry |
| 1059 |
9, // 8: google.datastore.admin.v1beta1.ImportEntitiesRequest.entity_filter:type_name -> google.datastore.admin.v1beta1.EntityFilter |
| 1060 |
2, // 9: google.datastore.admin.v1beta1.ExportEntitiesMetadata.common:type_name -> google.datastore.admin.v1beta1.CommonMetadata |
| 1061 |
3, // 10: google.datastore.admin.v1beta1.ExportEntitiesMetadata.progress_entities:type_name -> google.datastore.admin.v1beta1.Progress |
| 1062 |
3, // 11: google.datastore.admin.v1beta1.ExportEntitiesMetadata.progress_bytes:type_name -> google.datastore.admin.v1beta1.Progress |
| 1063 |
9, // 12: google.datastore.admin.v1beta1.ExportEntitiesMetadata.entity_filter:type_name -> google.datastore.admin.v1beta1.EntityFilter |
| 1064 |
2, // 13: google.datastore.admin.v1beta1.ImportEntitiesMetadata.common:type_name -> google.datastore.admin.v1beta1.CommonMetadata |
| 1065 |
3, // 14: google.datastore.admin.v1beta1.ImportEntitiesMetadata.progress_entities:type_name -> google.datastore.admin.v1beta1.Progress |
| 1066 |
3, // 15: google.datastore.admin.v1beta1.ImportEntitiesMetadata.progress_bytes:type_name -> google.datastore.admin.v1beta1.Progress |
| 1067 |
9, // 16: google.datastore.admin.v1beta1.ImportEntitiesMetadata.entity_filter:type_name -> google.datastore.admin.v1beta1.EntityFilter |
| 1068 |
4, // 17: google.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities:input_type -> google.datastore.admin.v1beta1.ExportEntitiesRequest |
| 1069 |
5, // 18: google.datastore.admin.v1beta1.DatastoreAdmin.ImportEntities:input_type -> google.datastore.admin.v1beta1.ImportEntitiesRequest |
| 1070 |
14, // 19: google.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities:output_type -> google.longrunning.Operation |
| 1071 |
14, // 20: google.datastore.admin.v1beta1.DatastoreAdmin.ImportEntities:output_type -> google.longrunning.Operation |
| 1072 |
19, // [19:21] is the sub-list for method output_type |
| 1073 |
17, // [17:19] is the sub-list for method input_type |
| 1074 |
17, // [17:17] is the sub-list for extension type_name |
| 1075 |
17, // [17:17] is the sub-list for extension extendee |
| 1076 |
0, // [0:17] is the sub-list for field type_name |
| 1077 |
} |
| 1078 |
|
| 1079 |
func init() { file_google_datastore_admin_v1beta1_datastore_admin_proto_init() } |
| 1080 |
func file_google_datastore_admin_v1beta1_datastore_admin_proto_init() { |
| 1081 |
if File_google_datastore_admin_v1beta1_datastore_admin_proto != nil { |
| 1082 |
return |
| 1083 |
} |
| 1084 |
if !protoimpl.UnsafeEnabled { |
| 1085 |
file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 1086 |
switch v := v.(*CommonMetadata); i { |
| 1087 |
case 0: |
| 1088 |
return &v.state |
| 1089 |
case 1: |
| 1090 |
return &v.sizeCache |
| 1091 |
case 2: |
| 1092 |
return &v.unknownFields |
| 1093 |
default: |
| 1094 |
return nil |
| 1095 |
} |
| 1096 |
} |
| 1097 |
file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 1098 |
switch v := v.(*Progress); i { |
| 1099 |
case 0: |
| 1100 |
return &v.state |
| 1101 |
case 1: |
| 1102 |
return &v.sizeCache |
| 1103 |
case 2: |
| 1104 |
return &v.unknownFields |
| 1105 |
default: |
| 1106 |
return nil |
| 1107 |
} |
| 1108 |
} |
| 1109 |
file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 1110 |
switch v := v.(*ExportEntitiesRequest); i { |
| 1111 |
case 0: |
| 1112 |
return &v.state |
| 1113 |
case 1: |
| 1114 |
return &v.sizeCache |
| 1115 |
case 2: |
| 1116 |
return &v.unknownFields |
| 1117 |
default: |
| 1118 |
return nil |
| 1119 |
} |
| 1120 |
} |
| 1121 |
file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 1122 |
switch v := v.(*ImportEntitiesRequest); i { |
| 1123 |
case 0: |
| 1124 |
return &v.state |
| 1125 |
case 1: |
| 1126 |
return &v.sizeCache |
| 1127 |
case 2: |
| 1128 |
return &v.unknownFields |
| 1129 |
default: |
| 1130 |
return nil |
| 1131 |
} |
| 1132 |
} |
| 1133 |
file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 1134 |
switch v := v.(*ExportEntitiesResponse); i { |
| 1135 |
case 0: |
| 1136 |
return &v.state |
| 1137 |
case 1: |
| 1138 |
return &v.sizeCache |
| 1139 |
case 2: |
| 1140 |
return &v.unknownFields |
| 1141 |
default: |
| 1142 |
return nil |
| 1143 |
} |
| 1144 |
} |
| 1145 |
file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 1146 |
switch v := v.(*ExportEntitiesMetadata); i { |
| 1147 |
case 0: |
| 1148 |
return &v.state |
| 1149 |
case 1: |
| 1150 |
return &v.sizeCache |
| 1151 |
case 2: |
| 1152 |
return &v.unknownFields |
| 1153 |
default: |
| 1154 |
return nil |
| 1155 |
} |
| 1156 |
} |
| 1157 |
file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 1158 |
switch v := v.(*ImportEntitiesMetadata); i { |
| 1159 |
case 0: |
| 1160 |
return &v.state |
| 1161 |
case 1: |
| 1162 |
return &v.sizeCache |
| 1163 |
case 2: |
| 1164 |
return &v.unknownFields |
| 1165 |
default: |
| 1166 |
return nil |
| 1167 |
} |
| 1168 |
} |
| 1169 |
file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 1170 |
switch v := v.(*EntityFilter); i { |
| 1171 |
case 0: |
| 1172 |
return &v.state |
| 1173 |
case 1: |
| 1174 |
return &v.sizeCache |
| 1175 |
case 2: |
| 1176 |
return &v.unknownFields |
| 1177 |
default: |
| 1178 |
return nil |
| 1179 |
} |
| 1180 |
} |
| 1181 |
} |
| 1182 |
type x struct{} |
| 1183 |
out := protoimpl.TypeBuilder{ |
| 1184 |
File: protoimpl.DescBuilder{ |
| 1185 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1186 |
RawDescriptor: file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDesc, |
| 1187 |
NumEnums: 2, |
| 1188 |
NumMessages: 11, |
| 1189 |
NumExtensions: 0, |
| 1190 |
NumServices: 1, |
| 1191 |
}, |
| 1192 |
GoTypes: file_google_datastore_admin_v1beta1_datastore_admin_proto_goTypes, |
| 1193 |
DependencyIndexes: file_google_datastore_admin_v1beta1_datastore_admin_proto_depIdxs, |
| 1194 |
EnumInfos: file_google_datastore_admin_v1beta1_datastore_admin_proto_enumTypes, |
| 1195 |
MessageInfos: file_google_datastore_admin_v1beta1_datastore_admin_proto_msgTypes, |
| 1196 |
}.Build() |
| 1197 |
File_google_datastore_admin_v1beta1_datastore_admin_proto = out.File |
| 1198 |
file_google_datastore_admin_v1beta1_datastore_admin_proto_rawDesc = nil |
| 1199 |
file_google_datastore_admin_v1beta1_datastore_admin_proto_goTypes = nil |
| 1200 |
file_google_datastore_admin_v1beta1_datastore_admin_proto_depIdxs = nil |
| 1201 |
} |
| 1202 |
|
| 1203 |
// Reference imports to suppress errors if they are not otherwise used. |
| 1204 |
var _ context.Context |
| 1205 |
var _ grpc.ClientConnInterface |
| 1206 |
|
| 1207 |
// This is a compile-time assertion to ensure that this generated file |
| 1208 |
// is compatible with the grpc package it is being compiled against. |
| 1209 |
const _ = grpc.SupportPackageIsVersion6 |
| 1210 |
|
| 1211 |
// DatastoreAdminClient is the client API for DatastoreAdmin service. |
| 1212 |
// |
| 1213 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 1214 |
type DatastoreAdminClient interface { |
| 1215 |
// Exports a copy of all or a subset of entities from Google Cloud Datastore |
| 1216 |
// to another storage system, such as Google Cloud Storage. Recent updates to |
| 1217 |
// entities may not be reflected in the export. The export occurs in the |
| 1218 |
// background and its progress can be monitored and managed via the |
| 1219 |
// Operation resource that is created. The output of an export may only be |
| 1220 |
// used once the associated operation is done. If an export operation is |
| 1221 |
// cancelled before completion it may leave partial data behind in Google |
| 1222 |
// Cloud Storage. |
| 1223 |
ExportEntities(ctx context.Context, in *ExportEntitiesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 1224 |
// Imports entities into Google Cloud Datastore. Existing entities with the |
| 1225 |
// same key are overwritten. The import occurs in the background and its |
| 1226 |
// progress can be monitored and managed via the Operation resource that is |
| 1227 |
// created. If an ImportEntities operation is cancelled, it is possible |
| 1228 |
// that a subset of the data has already been imported to Cloud Datastore. |
| 1229 |
ImportEntities(ctx context.Context, in *ImportEntitiesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 1230 |
} |
| 1231 |
|
| 1232 |
type datastoreAdminClient struct { |
| 1233 |
cc grpc.ClientConnInterface |
| 1234 |
} |
| 1235 |
|
| 1236 |
func NewDatastoreAdminClient(cc grpc.ClientConnInterface) DatastoreAdminClient { |
| 1237 |
return &datastoreAdminClient{cc} |
| 1238 |
} |
| 1239 |
|
| 1240 |
func (c *datastoreAdminClient) ExportEntities(ctx context.Context, in *ExportEntitiesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 1241 |
out := new(longrunningpb.Operation) |
| 1242 |
err := c.cc.Invoke(ctx, "/google.datastore.admin.v1beta1.DatastoreAdmin/ExportEntities", in, out, opts...) |
| 1243 |
if err != nil { |
| 1244 |
return nil, err |
| 1245 |
} |
| 1246 |
return out, nil |
| 1247 |
} |
| 1248 |
|
| 1249 |
func (c *datastoreAdminClient) ImportEntities(ctx context.Context, in *ImportEntitiesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 1250 |
out := new(longrunningpb.Operation) |
| 1251 |
err := c.cc.Invoke(ctx, "/google.datastore.admin.v1beta1.DatastoreAdmin/ImportEntities", in, out, opts...) |
| 1252 |
if err != nil { |
| 1253 |
return nil, err |
| 1254 |
} |
| 1255 |
return out, nil |
| 1256 |
} |
| 1257 |
|
| 1258 |
// DatastoreAdminServer is the server API for DatastoreAdmin service. |
| 1259 |
type DatastoreAdminServer interface { |
| 1260 |
// Exports a copy of all or a subset of entities from Google Cloud Datastore |
| 1261 |
// to another storage system, such as Google Cloud Storage. Recent updates to |
| 1262 |
// entities may not be reflected in the export. The export occurs in the |
| 1263 |
// background and its progress can be monitored and managed via the |
| 1264 |
// Operation resource that is created. The output of an export may only be |
| 1265 |
// used once the associated operation is done. If an export operation is |
| 1266 |
// cancelled before completion it may leave partial data behind in Google |
| 1267 |
// Cloud Storage. |
| 1268 |
ExportEntities(context.Context, *ExportEntitiesRequest) (*longrunningpb.Operation, error) |
| 1269 |
// Imports entities into Google Cloud Datastore. Existing entities with the |
| 1270 |
// same key are overwritten. The import occurs in the background and its |
| 1271 |
// progress can be monitored and managed via the Operation resource that is |
| 1272 |
// created. If an ImportEntities operation is cancelled, it is possible |
| 1273 |
// that a subset of the data has already been imported to Cloud Datastore. |
| 1274 |
ImportEntities(context.Context, *ImportEntitiesRequest) (*longrunningpb.Operation, error) |
| 1275 |
} |
| 1276 |
|
| 1277 |
// UnimplementedDatastoreAdminServer can be embedded to have forward compatible implementations. |
| 1278 |
type UnimplementedDatastoreAdminServer struct { |
| 1279 |
} |
| 1280 |
|
| 1281 |
func (*UnimplementedDatastoreAdminServer) ExportEntities(context.Context, *ExportEntitiesRequest) (*longrunningpb.Operation, error) { |
| 1282 |
return nil, status.Errorf(codes.Unimplemented, "method ExportEntities not implemented") |
| 1283 |
} |
| 1284 |
func (*UnimplementedDatastoreAdminServer) ImportEntities(context.Context, *ImportEntitiesRequest) (*longrunningpb.Operation, error) { |
| 1285 |
return nil, status.Errorf(codes.Unimplemented, "method ImportEntities not implemented") |
| 1286 |
} |
| 1287 |
|
| 1288 |
func RegisterDatastoreAdminServer(s *grpc.Server, srv DatastoreAdminServer) { |
| 1289 |
s.RegisterService(&_DatastoreAdmin_serviceDesc, srv) |
| 1290 |
} |
| 1291 |
|
| 1292 |
func _DatastoreAdmin_ExportEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1293 |
in := new(ExportEntitiesRequest) |
| 1294 |
if err := dec(in); err != nil { |
| 1295 |
return nil, err |
| 1296 |
} |
| 1297 |
if interceptor == nil { |
| 1298 |
return srv.(DatastoreAdminServer).ExportEntities(ctx, in) |
| 1299 |
} |
| 1300 |
info := &grpc.UnaryServerInfo{ |
| 1301 |
Server: srv, |
| 1302 |
FullMethod: "/google.datastore.admin.v1beta1.DatastoreAdmin/ExportEntities", |
| 1303 |
} |
| 1304 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1305 |
return srv.(DatastoreAdminServer).ExportEntities(ctx, req.(*ExportEntitiesRequest)) |
| 1306 |
} |
| 1307 |
return interceptor(ctx, in, info, handler) |
| 1308 |
} |
| 1309 |
|
| 1310 |
func _DatastoreAdmin_ImportEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1311 |
in := new(ImportEntitiesRequest) |
| 1312 |
if err := dec(in); err != nil { |
| 1313 |
return nil, err |
| 1314 |
} |
| 1315 |
if interceptor == nil { |
| 1316 |
return srv.(DatastoreAdminServer).ImportEntities(ctx, in) |
| 1317 |
} |
| 1318 |
info := &grpc.UnaryServerInfo{ |
| 1319 |
Server: srv, |
| 1320 |
FullMethod: "/google.datastore.admin.v1beta1.DatastoreAdmin/ImportEntities", |
| 1321 |
} |
| 1322 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1323 |
return srv.(DatastoreAdminServer).ImportEntities(ctx, req.(*ImportEntitiesRequest)) |
| 1324 |
} |
| 1325 |
return interceptor(ctx, in, info, handler) |
| 1326 |
} |
| 1327 |
|
| 1328 |
var _DatastoreAdmin_serviceDesc = grpc.ServiceDesc{ |
| 1329 |
ServiceName: "google.datastore.admin.v1beta1.DatastoreAdmin", |
| 1330 |
HandlerType: (*DatastoreAdminServer)(nil), |
| 1331 |
Methods: []grpc.MethodDesc{ |
| 1332 |
{ |
| 1333 |
MethodName: "ExportEntities", |
| 1334 |
Handler: _DatastoreAdmin_ExportEntities_Handler, |
| 1335 |
}, |
| 1336 |
{ |
| 1337 |
MethodName: "ImportEntities", |
| 1338 |
Handler: _DatastoreAdmin_ImportEntities_Handler, |
| 1339 |
}, |
| 1340 |
}, |
| 1341 |
Streams: []grpc.StreamDesc{}, |
| 1342 |
Metadata: "google/datastore/admin/v1beta1/datastore_admin.proto", |
| 1343 |
} |