@google-cloud/spanner 7.13.0 → 7.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -0
- package/README.md +14 -2
- package/build/protos/google/spanner/admin/database/v1/backup.proto +9 -2
- package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +203 -62
- package/build/protos/protos.d.ts +338 -144
- package/build/protos/protos.js +864 -339
- package/build/protos/protos.json +83 -1
- package/build/src/batch-transaction.d.ts +1 -0
- package/build/src/batch-transaction.js +90 -50
- package/build/src/database.d.ts +5 -2
- package/build/src/database.js +430 -235
- package/build/src/index.d.ts +5 -0
- package/build/src/index.js +4 -0
- package/build/src/instance.d.ts +2 -0
- package/build/src/instance.js +6 -1
- package/build/src/instrument.d.ts +84 -0
- package/build/src/instrument.js +213 -0
- package/build/src/session-pool.d.ts +2 -0
- package/build/src/session-pool.js +61 -23
- package/build/src/session.js +1 -7
- package/build/src/table.d.ts +3 -0
- package/build/src/table.js +34 -14
- package/build/src/transaction.d.ts +3 -0
- package/build/src/transaction.js +411 -194
- package/build/src/v1/database_admin_client.d.ts +9 -0
- package/build/src/v1/database_admin_client.js +6 -0
- package/build/src/v1/instance_admin_client.d.ts +141 -43
- package/build/src/v1/instance_admin_client.js +44 -4
- package/build/src/v1/instance_admin_client_config.json +4 -0
- package/package.json +13 -4
package/build/protos/protos.js
CHANGED
|
@@ -34225,6 +34225,39 @@
|
|
|
34225
34225
|
* @variation 2
|
|
34226
34226
|
*/
|
|
34227
34227
|
|
|
34228
|
+
/**
|
|
34229
|
+
* Callback as used by {@link google.spanner.admin.instance.v1.InstanceAdmin|moveInstance}.
|
|
34230
|
+
* @memberof google.spanner.admin.instance.v1.InstanceAdmin
|
|
34231
|
+
* @typedef MoveInstanceCallback
|
|
34232
|
+
* @type {function}
|
|
34233
|
+
* @param {Error|null} error Error, if any
|
|
34234
|
+
* @param {google.longrunning.Operation} [response] Operation
|
|
34235
|
+
*/
|
|
34236
|
+
|
|
34237
|
+
/**
|
|
34238
|
+
* Calls MoveInstance.
|
|
34239
|
+
* @function moveInstance
|
|
34240
|
+
* @memberof google.spanner.admin.instance.v1.InstanceAdmin
|
|
34241
|
+
* @instance
|
|
34242
|
+
* @param {google.spanner.admin.instance.v1.IMoveInstanceRequest} request MoveInstanceRequest message or plain object
|
|
34243
|
+
* @param {google.spanner.admin.instance.v1.InstanceAdmin.MoveInstanceCallback} callback Node-style callback called with the error, if any, and Operation
|
|
34244
|
+
* @returns {undefined}
|
|
34245
|
+
* @variation 1
|
|
34246
|
+
*/
|
|
34247
|
+
Object.defineProperty(InstanceAdmin.prototype.moveInstance = function moveInstance(request, callback) {
|
|
34248
|
+
return this.rpcCall(moveInstance, $root.google.spanner.admin.instance.v1.MoveInstanceRequest, $root.google.longrunning.Operation, request, callback);
|
|
34249
|
+
}, "name", { value: "MoveInstance" });
|
|
34250
|
+
|
|
34251
|
+
/**
|
|
34252
|
+
* Calls MoveInstance.
|
|
34253
|
+
* @function moveInstance
|
|
34254
|
+
* @memberof google.spanner.admin.instance.v1.InstanceAdmin
|
|
34255
|
+
* @instance
|
|
34256
|
+
* @param {google.spanner.admin.instance.v1.IMoveInstanceRequest} request MoveInstanceRequest message or plain object
|
|
34257
|
+
* @returns {Promise<google.longrunning.Operation>} Promise
|
|
34258
|
+
* @variation 2
|
|
34259
|
+
*/
|
|
34260
|
+
|
|
34228
34261
|
return InstanceAdmin;
|
|
34229
34262
|
})();
|
|
34230
34263
|
|
|
@@ -35933,6 +35966,7 @@
|
|
|
35933
35966
|
* @property {Array.<string>|null} [endpointUris] Instance endpointUris
|
|
35934
35967
|
* @property {google.protobuf.ITimestamp|null} [createTime] Instance createTime
|
|
35935
35968
|
* @property {google.protobuf.ITimestamp|null} [updateTime] Instance updateTime
|
|
35969
|
+
* @property {google.spanner.admin.instance.v1.Instance.Edition|null} [edition] Instance edition
|
|
35936
35970
|
*/
|
|
35937
35971
|
|
|
35938
35972
|
/**
|
|
@@ -36040,6 +36074,14 @@
|
|
|
36040
36074
|
*/
|
|
36041
36075
|
Instance.prototype.updateTime = null;
|
|
36042
36076
|
|
|
36077
|
+
/**
|
|
36078
|
+
* Instance edition.
|
|
36079
|
+
* @member {google.spanner.admin.instance.v1.Instance.Edition} edition
|
|
36080
|
+
* @memberof google.spanner.admin.instance.v1.Instance
|
|
36081
|
+
* @instance
|
|
36082
|
+
*/
|
|
36083
|
+
Instance.prototype.edition = 0;
|
|
36084
|
+
|
|
36043
36085
|
/**
|
|
36044
36086
|
* Creates a new Instance instance using the specified properties.
|
|
36045
36087
|
* @function create
|
|
@@ -36088,6 +36130,8 @@
|
|
|
36088
36130
|
$root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
|
|
36089
36131
|
if (message.autoscalingConfig != null && Object.hasOwnProperty.call(message, "autoscalingConfig"))
|
|
36090
36132
|
$root.google.spanner.admin.instance.v1.AutoscalingConfig.encode(message.autoscalingConfig, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
36133
|
+
if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
|
|
36134
|
+
writer.uint32(/* id 20, wireType 0 =*/160).int32(message.edition);
|
|
36091
36135
|
return writer;
|
|
36092
36136
|
};
|
|
36093
36137
|
|
|
@@ -36187,6 +36231,10 @@
|
|
|
36187
36231
|
message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
|
|
36188
36232
|
break;
|
|
36189
36233
|
}
|
|
36234
|
+
case 20: {
|
|
36235
|
+
message.edition = reader.int32();
|
|
36236
|
+
break;
|
|
36237
|
+
}
|
|
36190
36238
|
default:
|
|
36191
36239
|
reader.skipType(tag & 7);
|
|
36192
36240
|
break;
|
|
@@ -36276,6 +36324,16 @@
|
|
|
36276
36324
|
if (error)
|
|
36277
36325
|
return "updateTime." + error;
|
|
36278
36326
|
}
|
|
36327
|
+
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
36328
|
+
switch (message.edition) {
|
|
36329
|
+
default:
|
|
36330
|
+
return "edition: enum value expected";
|
|
36331
|
+
case 0:
|
|
36332
|
+
case 1:
|
|
36333
|
+
case 2:
|
|
36334
|
+
case 3:
|
|
36335
|
+
break;
|
|
36336
|
+
}
|
|
36279
36337
|
return null;
|
|
36280
36338
|
};
|
|
36281
36339
|
|
|
@@ -36350,6 +36408,30 @@
|
|
|
36350
36408
|
throw TypeError(".google.spanner.admin.instance.v1.Instance.updateTime: object expected");
|
|
36351
36409
|
message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
|
|
36352
36410
|
}
|
|
36411
|
+
switch (object.edition) {
|
|
36412
|
+
default:
|
|
36413
|
+
if (typeof object.edition === "number") {
|
|
36414
|
+
message.edition = object.edition;
|
|
36415
|
+
break;
|
|
36416
|
+
}
|
|
36417
|
+
break;
|
|
36418
|
+
case "EDITION_UNSPECIFIED":
|
|
36419
|
+
case 0:
|
|
36420
|
+
message.edition = 0;
|
|
36421
|
+
break;
|
|
36422
|
+
case "STANDARD":
|
|
36423
|
+
case 1:
|
|
36424
|
+
message.edition = 1;
|
|
36425
|
+
break;
|
|
36426
|
+
case "ENTERPRISE":
|
|
36427
|
+
case 2:
|
|
36428
|
+
message.edition = 2;
|
|
36429
|
+
break;
|
|
36430
|
+
case "ENTERPRISE_PLUS":
|
|
36431
|
+
case 3:
|
|
36432
|
+
message.edition = 3;
|
|
36433
|
+
break;
|
|
36434
|
+
}
|
|
36353
36435
|
return message;
|
|
36354
36436
|
};
|
|
36355
36437
|
|
|
@@ -36380,6 +36462,7 @@
|
|
|
36380
36462
|
object.createTime = null;
|
|
36381
36463
|
object.updateTime = null;
|
|
36382
36464
|
object.autoscalingConfig = null;
|
|
36465
|
+
object.edition = options.enums === String ? "EDITION_UNSPECIFIED" : 0;
|
|
36383
36466
|
}
|
|
36384
36467
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
36385
36468
|
object.name = message.name;
|
|
@@ -36410,6 +36493,8 @@
|
|
|
36410
36493
|
object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options);
|
|
36411
36494
|
if (message.autoscalingConfig != null && message.hasOwnProperty("autoscalingConfig"))
|
|
36412
36495
|
object.autoscalingConfig = $root.google.spanner.admin.instance.v1.AutoscalingConfig.toObject(message.autoscalingConfig, options);
|
|
36496
|
+
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
36497
|
+
object.edition = options.enums === String ? $root.google.spanner.admin.instance.v1.Instance.Edition[message.edition] === undefined ? message.edition : $root.google.spanner.admin.instance.v1.Instance.Edition[message.edition] : message.edition;
|
|
36413
36498
|
return object;
|
|
36414
36499
|
};
|
|
36415
36500
|
|
|
@@ -36455,6 +36540,24 @@
|
|
|
36455
36540
|
return values;
|
|
36456
36541
|
})();
|
|
36457
36542
|
|
|
36543
|
+
/**
|
|
36544
|
+
* Edition enum.
|
|
36545
|
+
* @name google.spanner.admin.instance.v1.Instance.Edition
|
|
36546
|
+
* @enum {number}
|
|
36547
|
+
* @property {number} EDITION_UNSPECIFIED=0 EDITION_UNSPECIFIED value
|
|
36548
|
+
* @property {number} STANDARD=1 STANDARD value
|
|
36549
|
+
* @property {number} ENTERPRISE=2 ENTERPRISE value
|
|
36550
|
+
* @property {number} ENTERPRISE_PLUS=3 ENTERPRISE_PLUS value
|
|
36551
|
+
*/
|
|
36552
|
+
Instance.Edition = (function() {
|
|
36553
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
36554
|
+
values[valuesById[0] = "EDITION_UNSPECIFIED"] = 0;
|
|
36555
|
+
values[valuesById[1] = "STANDARD"] = 1;
|
|
36556
|
+
values[valuesById[2] = "ENTERPRISE"] = 2;
|
|
36557
|
+
values[valuesById[3] = "ENTERPRISE_PLUS"] = 3;
|
|
36558
|
+
return values;
|
|
36559
|
+
})();
|
|
36560
|
+
|
|
36458
36561
|
return Instance;
|
|
36459
36562
|
})();
|
|
36460
36563
|
|
|
@@ -44306,98 +44409,760 @@
|
|
|
44306
44409
|
/**
|
|
44307
44410
|
* Creates a ListInstancePartitionOperationsResponse message from a plain object. Also converts values to their respective internal types.
|
|
44308
44411
|
* @function fromObject
|
|
44309
|
-
* @memberof google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse
|
|
44412
|
+
* @memberof google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse
|
|
44413
|
+
* @static
|
|
44414
|
+
* @param {Object.<string,*>} object Plain object
|
|
44415
|
+
* @returns {google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse} ListInstancePartitionOperationsResponse
|
|
44416
|
+
*/
|
|
44417
|
+
ListInstancePartitionOperationsResponse.fromObject = function fromObject(object) {
|
|
44418
|
+
if (object instanceof $root.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse)
|
|
44419
|
+
return object;
|
|
44420
|
+
var message = new $root.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse();
|
|
44421
|
+
if (object.operations) {
|
|
44422
|
+
if (!Array.isArray(object.operations))
|
|
44423
|
+
throw TypeError(".google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.operations: array expected");
|
|
44424
|
+
message.operations = [];
|
|
44425
|
+
for (var i = 0; i < object.operations.length; ++i) {
|
|
44426
|
+
if (typeof object.operations[i] !== "object")
|
|
44427
|
+
throw TypeError(".google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.operations: object expected");
|
|
44428
|
+
message.operations[i] = $root.google.longrunning.Operation.fromObject(object.operations[i]);
|
|
44429
|
+
}
|
|
44430
|
+
}
|
|
44431
|
+
if (object.nextPageToken != null)
|
|
44432
|
+
message.nextPageToken = String(object.nextPageToken);
|
|
44433
|
+
if (object.unreachableInstancePartitions) {
|
|
44434
|
+
if (!Array.isArray(object.unreachableInstancePartitions))
|
|
44435
|
+
throw TypeError(".google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.unreachableInstancePartitions: array expected");
|
|
44436
|
+
message.unreachableInstancePartitions = [];
|
|
44437
|
+
for (var i = 0; i < object.unreachableInstancePartitions.length; ++i)
|
|
44438
|
+
message.unreachableInstancePartitions[i] = String(object.unreachableInstancePartitions[i]);
|
|
44439
|
+
}
|
|
44440
|
+
return message;
|
|
44441
|
+
};
|
|
44442
|
+
|
|
44443
|
+
/**
|
|
44444
|
+
* Creates a plain object from a ListInstancePartitionOperationsResponse message. Also converts values to other types if specified.
|
|
44445
|
+
* @function toObject
|
|
44446
|
+
* @memberof google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse
|
|
44447
|
+
* @static
|
|
44448
|
+
* @param {google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse} message ListInstancePartitionOperationsResponse
|
|
44449
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
44450
|
+
* @returns {Object.<string,*>} Plain object
|
|
44451
|
+
*/
|
|
44452
|
+
ListInstancePartitionOperationsResponse.toObject = function toObject(message, options) {
|
|
44453
|
+
if (!options)
|
|
44454
|
+
options = {};
|
|
44455
|
+
var object = {};
|
|
44456
|
+
if (options.arrays || options.defaults) {
|
|
44457
|
+
object.operations = [];
|
|
44458
|
+
object.unreachableInstancePartitions = [];
|
|
44459
|
+
}
|
|
44460
|
+
if (options.defaults)
|
|
44461
|
+
object.nextPageToken = "";
|
|
44462
|
+
if (message.operations && message.operations.length) {
|
|
44463
|
+
object.operations = [];
|
|
44464
|
+
for (var j = 0; j < message.operations.length; ++j)
|
|
44465
|
+
object.operations[j] = $root.google.longrunning.Operation.toObject(message.operations[j], options);
|
|
44466
|
+
}
|
|
44467
|
+
if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
|
|
44468
|
+
object.nextPageToken = message.nextPageToken;
|
|
44469
|
+
if (message.unreachableInstancePartitions && message.unreachableInstancePartitions.length) {
|
|
44470
|
+
object.unreachableInstancePartitions = [];
|
|
44471
|
+
for (var j = 0; j < message.unreachableInstancePartitions.length; ++j)
|
|
44472
|
+
object.unreachableInstancePartitions[j] = message.unreachableInstancePartitions[j];
|
|
44473
|
+
}
|
|
44474
|
+
return object;
|
|
44475
|
+
};
|
|
44476
|
+
|
|
44477
|
+
/**
|
|
44478
|
+
* Converts this ListInstancePartitionOperationsResponse to JSON.
|
|
44479
|
+
* @function toJSON
|
|
44480
|
+
* @memberof google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse
|
|
44481
|
+
* @instance
|
|
44482
|
+
* @returns {Object.<string,*>} JSON object
|
|
44483
|
+
*/
|
|
44484
|
+
ListInstancePartitionOperationsResponse.prototype.toJSON = function toJSON() {
|
|
44485
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
44486
|
+
};
|
|
44487
|
+
|
|
44488
|
+
/**
|
|
44489
|
+
* Gets the default type url for ListInstancePartitionOperationsResponse
|
|
44490
|
+
* @function getTypeUrl
|
|
44491
|
+
* @memberof google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse
|
|
44492
|
+
* @static
|
|
44493
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
44494
|
+
* @returns {string} The default type url
|
|
44495
|
+
*/
|
|
44496
|
+
ListInstancePartitionOperationsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
44497
|
+
if (typeUrlPrefix === undefined) {
|
|
44498
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
44499
|
+
}
|
|
44500
|
+
return typeUrlPrefix + "/google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse";
|
|
44501
|
+
};
|
|
44502
|
+
|
|
44503
|
+
return ListInstancePartitionOperationsResponse;
|
|
44504
|
+
})();
|
|
44505
|
+
|
|
44506
|
+
v1.MoveInstanceRequest = (function() {
|
|
44507
|
+
|
|
44508
|
+
/**
|
|
44509
|
+
* Properties of a MoveInstanceRequest.
|
|
44510
|
+
* @memberof google.spanner.admin.instance.v1
|
|
44511
|
+
* @interface IMoveInstanceRequest
|
|
44512
|
+
* @property {string|null} [name] MoveInstanceRequest name
|
|
44513
|
+
* @property {string|null} [targetConfig] MoveInstanceRequest targetConfig
|
|
44514
|
+
*/
|
|
44515
|
+
|
|
44516
|
+
/**
|
|
44517
|
+
* Constructs a new MoveInstanceRequest.
|
|
44518
|
+
* @memberof google.spanner.admin.instance.v1
|
|
44519
|
+
* @classdesc Represents a MoveInstanceRequest.
|
|
44520
|
+
* @implements IMoveInstanceRequest
|
|
44521
|
+
* @constructor
|
|
44522
|
+
* @param {google.spanner.admin.instance.v1.IMoveInstanceRequest=} [properties] Properties to set
|
|
44523
|
+
*/
|
|
44524
|
+
function MoveInstanceRequest(properties) {
|
|
44525
|
+
if (properties)
|
|
44526
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
44527
|
+
if (properties[keys[i]] != null)
|
|
44528
|
+
this[keys[i]] = properties[keys[i]];
|
|
44529
|
+
}
|
|
44530
|
+
|
|
44531
|
+
/**
|
|
44532
|
+
* MoveInstanceRequest name.
|
|
44533
|
+
* @member {string} name
|
|
44534
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceRequest
|
|
44535
|
+
* @instance
|
|
44536
|
+
*/
|
|
44537
|
+
MoveInstanceRequest.prototype.name = "";
|
|
44538
|
+
|
|
44539
|
+
/**
|
|
44540
|
+
* MoveInstanceRequest targetConfig.
|
|
44541
|
+
* @member {string} targetConfig
|
|
44542
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceRequest
|
|
44543
|
+
* @instance
|
|
44544
|
+
*/
|
|
44545
|
+
MoveInstanceRequest.prototype.targetConfig = "";
|
|
44546
|
+
|
|
44547
|
+
/**
|
|
44548
|
+
* Creates a new MoveInstanceRequest instance using the specified properties.
|
|
44549
|
+
* @function create
|
|
44550
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceRequest
|
|
44551
|
+
* @static
|
|
44552
|
+
* @param {google.spanner.admin.instance.v1.IMoveInstanceRequest=} [properties] Properties to set
|
|
44553
|
+
* @returns {google.spanner.admin.instance.v1.MoveInstanceRequest} MoveInstanceRequest instance
|
|
44554
|
+
*/
|
|
44555
|
+
MoveInstanceRequest.create = function create(properties) {
|
|
44556
|
+
return new MoveInstanceRequest(properties);
|
|
44557
|
+
};
|
|
44558
|
+
|
|
44559
|
+
/**
|
|
44560
|
+
* Encodes the specified MoveInstanceRequest message. Does not implicitly {@link google.spanner.admin.instance.v1.MoveInstanceRequest.verify|verify} messages.
|
|
44561
|
+
* @function encode
|
|
44562
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceRequest
|
|
44563
|
+
* @static
|
|
44564
|
+
* @param {google.spanner.admin.instance.v1.IMoveInstanceRequest} message MoveInstanceRequest message or plain object to encode
|
|
44565
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
44566
|
+
* @returns {$protobuf.Writer} Writer
|
|
44567
|
+
*/
|
|
44568
|
+
MoveInstanceRequest.encode = function encode(message, writer) {
|
|
44569
|
+
if (!writer)
|
|
44570
|
+
writer = $Writer.create();
|
|
44571
|
+
if (message.name != null && Object.hasOwnProperty.call(message, "name"))
|
|
44572
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
|
|
44573
|
+
if (message.targetConfig != null && Object.hasOwnProperty.call(message, "targetConfig"))
|
|
44574
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.targetConfig);
|
|
44575
|
+
return writer;
|
|
44576
|
+
};
|
|
44577
|
+
|
|
44578
|
+
/**
|
|
44579
|
+
* Encodes the specified MoveInstanceRequest message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.MoveInstanceRequest.verify|verify} messages.
|
|
44580
|
+
* @function encodeDelimited
|
|
44581
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceRequest
|
|
44582
|
+
* @static
|
|
44583
|
+
* @param {google.spanner.admin.instance.v1.IMoveInstanceRequest} message MoveInstanceRequest message or plain object to encode
|
|
44584
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
44585
|
+
* @returns {$protobuf.Writer} Writer
|
|
44586
|
+
*/
|
|
44587
|
+
MoveInstanceRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
44588
|
+
return this.encode(message, writer).ldelim();
|
|
44589
|
+
};
|
|
44590
|
+
|
|
44591
|
+
/**
|
|
44592
|
+
* Decodes a MoveInstanceRequest message from the specified reader or buffer.
|
|
44593
|
+
* @function decode
|
|
44594
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceRequest
|
|
44595
|
+
* @static
|
|
44596
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
44597
|
+
* @param {number} [length] Message length if known beforehand
|
|
44598
|
+
* @returns {google.spanner.admin.instance.v1.MoveInstanceRequest} MoveInstanceRequest
|
|
44599
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
44600
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
44601
|
+
*/
|
|
44602
|
+
MoveInstanceRequest.decode = function decode(reader, length) {
|
|
44603
|
+
if (!(reader instanceof $Reader))
|
|
44604
|
+
reader = $Reader.create(reader);
|
|
44605
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.spanner.admin.instance.v1.MoveInstanceRequest();
|
|
44606
|
+
while (reader.pos < end) {
|
|
44607
|
+
var tag = reader.uint32();
|
|
44608
|
+
switch (tag >>> 3) {
|
|
44609
|
+
case 1: {
|
|
44610
|
+
message.name = reader.string();
|
|
44611
|
+
break;
|
|
44612
|
+
}
|
|
44613
|
+
case 2: {
|
|
44614
|
+
message.targetConfig = reader.string();
|
|
44615
|
+
break;
|
|
44616
|
+
}
|
|
44617
|
+
default:
|
|
44618
|
+
reader.skipType(tag & 7);
|
|
44619
|
+
break;
|
|
44620
|
+
}
|
|
44621
|
+
}
|
|
44622
|
+
return message;
|
|
44623
|
+
};
|
|
44624
|
+
|
|
44625
|
+
/**
|
|
44626
|
+
* Decodes a MoveInstanceRequest message from the specified reader or buffer, length delimited.
|
|
44627
|
+
* @function decodeDelimited
|
|
44628
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceRequest
|
|
44629
|
+
* @static
|
|
44630
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
44631
|
+
* @returns {google.spanner.admin.instance.v1.MoveInstanceRequest} MoveInstanceRequest
|
|
44632
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
44633
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
44634
|
+
*/
|
|
44635
|
+
MoveInstanceRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
44636
|
+
if (!(reader instanceof $Reader))
|
|
44637
|
+
reader = new $Reader(reader);
|
|
44638
|
+
return this.decode(reader, reader.uint32());
|
|
44639
|
+
};
|
|
44640
|
+
|
|
44641
|
+
/**
|
|
44642
|
+
* Verifies a MoveInstanceRequest message.
|
|
44643
|
+
* @function verify
|
|
44644
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceRequest
|
|
44645
|
+
* @static
|
|
44646
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
44647
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
44648
|
+
*/
|
|
44649
|
+
MoveInstanceRequest.verify = function verify(message) {
|
|
44650
|
+
if (typeof message !== "object" || message === null)
|
|
44651
|
+
return "object expected";
|
|
44652
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
44653
|
+
if (!$util.isString(message.name))
|
|
44654
|
+
return "name: string expected";
|
|
44655
|
+
if (message.targetConfig != null && message.hasOwnProperty("targetConfig"))
|
|
44656
|
+
if (!$util.isString(message.targetConfig))
|
|
44657
|
+
return "targetConfig: string expected";
|
|
44658
|
+
return null;
|
|
44659
|
+
};
|
|
44660
|
+
|
|
44661
|
+
/**
|
|
44662
|
+
* Creates a MoveInstanceRequest message from a plain object. Also converts values to their respective internal types.
|
|
44663
|
+
* @function fromObject
|
|
44664
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceRequest
|
|
44665
|
+
* @static
|
|
44666
|
+
* @param {Object.<string,*>} object Plain object
|
|
44667
|
+
* @returns {google.spanner.admin.instance.v1.MoveInstanceRequest} MoveInstanceRequest
|
|
44668
|
+
*/
|
|
44669
|
+
MoveInstanceRequest.fromObject = function fromObject(object) {
|
|
44670
|
+
if (object instanceof $root.google.spanner.admin.instance.v1.MoveInstanceRequest)
|
|
44671
|
+
return object;
|
|
44672
|
+
var message = new $root.google.spanner.admin.instance.v1.MoveInstanceRequest();
|
|
44673
|
+
if (object.name != null)
|
|
44674
|
+
message.name = String(object.name);
|
|
44675
|
+
if (object.targetConfig != null)
|
|
44676
|
+
message.targetConfig = String(object.targetConfig);
|
|
44677
|
+
return message;
|
|
44678
|
+
};
|
|
44679
|
+
|
|
44680
|
+
/**
|
|
44681
|
+
* Creates a plain object from a MoveInstanceRequest message. Also converts values to other types if specified.
|
|
44682
|
+
* @function toObject
|
|
44683
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceRequest
|
|
44684
|
+
* @static
|
|
44685
|
+
* @param {google.spanner.admin.instance.v1.MoveInstanceRequest} message MoveInstanceRequest
|
|
44686
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
44687
|
+
* @returns {Object.<string,*>} Plain object
|
|
44688
|
+
*/
|
|
44689
|
+
MoveInstanceRequest.toObject = function toObject(message, options) {
|
|
44690
|
+
if (!options)
|
|
44691
|
+
options = {};
|
|
44692
|
+
var object = {};
|
|
44693
|
+
if (options.defaults) {
|
|
44694
|
+
object.name = "";
|
|
44695
|
+
object.targetConfig = "";
|
|
44696
|
+
}
|
|
44697
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
44698
|
+
object.name = message.name;
|
|
44699
|
+
if (message.targetConfig != null && message.hasOwnProperty("targetConfig"))
|
|
44700
|
+
object.targetConfig = message.targetConfig;
|
|
44701
|
+
return object;
|
|
44702
|
+
};
|
|
44703
|
+
|
|
44704
|
+
/**
|
|
44705
|
+
* Converts this MoveInstanceRequest to JSON.
|
|
44706
|
+
* @function toJSON
|
|
44707
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceRequest
|
|
44708
|
+
* @instance
|
|
44709
|
+
* @returns {Object.<string,*>} JSON object
|
|
44710
|
+
*/
|
|
44711
|
+
MoveInstanceRequest.prototype.toJSON = function toJSON() {
|
|
44712
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
44713
|
+
};
|
|
44714
|
+
|
|
44715
|
+
/**
|
|
44716
|
+
* Gets the default type url for MoveInstanceRequest
|
|
44717
|
+
* @function getTypeUrl
|
|
44718
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceRequest
|
|
44719
|
+
* @static
|
|
44720
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
44721
|
+
* @returns {string} The default type url
|
|
44722
|
+
*/
|
|
44723
|
+
MoveInstanceRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
44724
|
+
if (typeUrlPrefix === undefined) {
|
|
44725
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
44726
|
+
}
|
|
44727
|
+
return typeUrlPrefix + "/google.spanner.admin.instance.v1.MoveInstanceRequest";
|
|
44728
|
+
};
|
|
44729
|
+
|
|
44730
|
+
return MoveInstanceRequest;
|
|
44731
|
+
})();
|
|
44732
|
+
|
|
44733
|
+
v1.MoveInstanceResponse = (function() {
|
|
44734
|
+
|
|
44735
|
+
/**
|
|
44736
|
+
* Properties of a MoveInstanceResponse.
|
|
44737
|
+
* @memberof google.spanner.admin.instance.v1
|
|
44738
|
+
* @interface IMoveInstanceResponse
|
|
44739
|
+
*/
|
|
44740
|
+
|
|
44741
|
+
/**
|
|
44742
|
+
* Constructs a new MoveInstanceResponse.
|
|
44743
|
+
* @memberof google.spanner.admin.instance.v1
|
|
44744
|
+
* @classdesc Represents a MoveInstanceResponse.
|
|
44745
|
+
* @implements IMoveInstanceResponse
|
|
44746
|
+
* @constructor
|
|
44747
|
+
* @param {google.spanner.admin.instance.v1.IMoveInstanceResponse=} [properties] Properties to set
|
|
44748
|
+
*/
|
|
44749
|
+
function MoveInstanceResponse(properties) {
|
|
44750
|
+
if (properties)
|
|
44751
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
44752
|
+
if (properties[keys[i]] != null)
|
|
44753
|
+
this[keys[i]] = properties[keys[i]];
|
|
44754
|
+
}
|
|
44755
|
+
|
|
44756
|
+
/**
|
|
44757
|
+
* Creates a new MoveInstanceResponse instance using the specified properties.
|
|
44758
|
+
* @function create
|
|
44759
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceResponse
|
|
44760
|
+
* @static
|
|
44761
|
+
* @param {google.spanner.admin.instance.v1.IMoveInstanceResponse=} [properties] Properties to set
|
|
44762
|
+
* @returns {google.spanner.admin.instance.v1.MoveInstanceResponse} MoveInstanceResponse instance
|
|
44763
|
+
*/
|
|
44764
|
+
MoveInstanceResponse.create = function create(properties) {
|
|
44765
|
+
return new MoveInstanceResponse(properties);
|
|
44766
|
+
};
|
|
44767
|
+
|
|
44768
|
+
/**
|
|
44769
|
+
* Encodes the specified MoveInstanceResponse message. Does not implicitly {@link google.spanner.admin.instance.v1.MoveInstanceResponse.verify|verify} messages.
|
|
44770
|
+
* @function encode
|
|
44771
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceResponse
|
|
44772
|
+
* @static
|
|
44773
|
+
* @param {google.spanner.admin.instance.v1.IMoveInstanceResponse} message MoveInstanceResponse message or plain object to encode
|
|
44774
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
44775
|
+
* @returns {$protobuf.Writer} Writer
|
|
44776
|
+
*/
|
|
44777
|
+
MoveInstanceResponse.encode = function encode(message, writer) {
|
|
44778
|
+
if (!writer)
|
|
44779
|
+
writer = $Writer.create();
|
|
44780
|
+
return writer;
|
|
44781
|
+
};
|
|
44782
|
+
|
|
44783
|
+
/**
|
|
44784
|
+
* Encodes the specified MoveInstanceResponse message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.MoveInstanceResponse.verify|verify} messages.
|
|
44785
|
+
* @function encodeDelimited
|
|
44786
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceResponse
|
|
44787
|
+
* @static
|
|
44788
|
+
* @param {google.spanner.admin.instance.v1.IMoveInstanceResponse} message MoveInstanceResponse message or plain object to encode
|
|
44789
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
44790
|
+
* @returns {$protobuf.Writer} Writer
|
|
44791
|
+
*/
|
|
44792
|
+
MoveInstanceResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
44793
|
+
return this.encode(message, writer).ldelim();
|
|
44794
|
+
};
|
|
44795
|
+
|
|
44796
|
+
/**
|
|
44797
|
+
* Decodes a MoveInstanceResponse message from the specified reader or buffer.
|
|
44798
|
+
* @function decode
|
|
44799
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceResponse
|
|
44800
|
+
* @static
|
|
44801
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
44802
|
+
* @param {number} [length] Message length if known beforehand
|
|
44803
|
+
* @returns {google.spanner.admin.instance.v1.MoveInstanceResponse} MoveInstanceResponse
|
|
44804
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
44805
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
44806
|
+
*/
|
|
44807
|
+
MoveInstanceResponse.decode = function decode(reader, length) {
|
|
44808
|
+
if (!(reader instanceof $Reader))
|
|
44809
|
+
reader = $Reader.create(reader);
|
|
44810
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.spanner.admin.instance.v1.MoveInstanceResponse();
|
|
44811
|
+
while (reader.pos < end) {
|
|
44812
|
+
var tag = reader.uint32();
|
|
44813
|
+
switch (tag >>> 3) {
|
|
44814
|
+
default:
|
|
44815
|
+
reader.skipType(tag & 7);
|
|
44816
|
+
break;
|
|
44817
|
+
}
|
|
44818
|
+
}
|
|
44819
|
+
return message;
|
|
44820
|
+
};
|
|
44821
|
+
|
|
44822
|
+
/**
|
|
44823
|
+
* Decodes a MoveInstanceResponse message from the specified reader or buffer, length delimited.
|
|
44824
|
+
* @function decodeDelimited
|
|
44825
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceResponse
|
|
44826
|
+
* @static
|
|
44827
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
44828
|
+
* @returns {google.spanner.admin.instance.v1.MoveInstanceResponse} MoveInstanceResponse
|
|
44829
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
44830
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
44831
|
+
*/
|
|
44832
|
+
MoveInstanceResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
44833
|
+
if (!(reader instanceof $Reader))
|
|
44834
|
+
reader = new $Reader(reader);
|
|
44835
|
+
return this.decode(reader, reader.uint32());
|
|
44836
|
+
};
|
|
44837
|
+
|
|
44838
|
+
/**
|
|
44839
|
+
* Verifies a MoveInstanceResponse message.
|
|
44840
|
+
* @function verify
|
|
44841
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceResponse
|
|
44842
|
+
* @static
|
|
44843
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
44844
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
44845
|
+
*/
|
|
44846
|
+
MoveInstanceResponse.verify = function verify(message) {
|
|
44847
|
+
if (typeof message !== "object" || message === null)
|
|
44848
|
+
return "object expected";
|
|
44849
|
+
return null;
|
|
44850
|
+
};
|
|
44851
|
+
|
|
44852
|
+
/**
|
|
44853
|
+
* Creates a MoveInstanceResponse message from a plain object. Also converts values to their respective internal types.
|
|
44854
|
+
* @function fromObject
|
|
44855
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceResponse
|
|
44856
|
+
* @static
|
|
44857
|
+
* @param {Object.<string,*>} object Plain object
|
|
44858
|
+
* @returns {google.spanner.admin.instance.v1.MoveInstanceResponse} MoveInstanceResponse
|
|
44859
|
+
*/
|
|
44860
|
+
MoveInstanceResponse.fromObject = function fromObject(object) {
|
|
44861
|
+
if (object instanceof $root.google.spanner.admin.instance.v1.MoveInstanceResponse)
|
|
44862
|
+
return object;
|
|
44863
|
+
return new $root.google.spanner.admin.instance.v1.MoveInstanceResponse();
|
|
44864
|
+
};
|
|
44865
|
+
|
|
44866
|
+
/**
|
|
44867
|
+
* Creates a plain object from a MoveInstanceResponse message. Also converts values to other types if specified.
|
|
44868
|
+
* @function toObject
|
|
44869
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceResponse
|
|
44870
|
+
* @static
|
|
44871
|
+
* @param {google.spanner.admin.instance.v1.MoveInstanceResponse} message MoveInstanceResponse
|
|
44872
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
44873
|
+
* @returns {Object.<string,*>} Plain object
|
|
44874
|
+
*/
|
|
44875
|
+
MoveInstanceResponse.toObject = function toObject() {
|
|
44876
|
+
return {};
|
|
44877
|
+
};
|
|
44878
|
+
|
|
44879
|
+
/**
|
|
44880
|
+
* Converts this MoveInstanceResponse to JSON.
|
|
44881
|
+
* @function toJSON
|
|
44882
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceResponse
|
|
44883
|
+
* @instance
|
|
44884
|
+
* @returns {Object.<string,*>} JSON object
|
|
44885
|
+
*/
|
|
44886
|
+
MoveInstanceResponse.prototype.toJSON = function toJSON() {
|
|
44887
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
44888
|
+
};
|
|
44889
|
+
|
|
44890
|
+
/**
|
|
44891
|
+
* Gets the default type url for MoveInstanceResponse
|
|
44892
|
+
* @function getTypeUrl
|
|
44893
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceResponse
|
|
44894
|
+
* @static
|
|
44895
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
44896
|
+
* @returns {string} The default type url
|
|
44897
|
+
*/
|
|
44898
|
+
MoveInstanceResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
44899
|
+
if (typeUrlPrefix === undefined) {
|
|
44900
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
44901
|
+
}
|
|
44902
|
+
return typeUrlPrefix + "/google.spanner.admin.instance.v1.MoveInstanceResponse";
|
|
44903
|
+
};
|
|
44904
|
+
|
|
44905
|
+
return MoveInstanceResponse;
|
|
44906
|
+
})();
|
|
44907
|
+
|
|
44908
|
+
v1.MoveInstanceMetadata = (function() {
|
|
44909
|
+
|
|
44910
|
+
/**
|
|
44911
|
+
* Properties of a MoveInstanceMetadata.
|
|
44912
|
+
* @memberof google.spanner.admin.instance.v1
|
|
44913
|
+
* @interface IMoveInstanceMetadata
|
|
44914
|
+
* @property {string|null} [targetConfig] MoveInstanceMetadata targetConfig
|
|
44915
|
+
* @property {google.spanner.admin.instance.v1.IOperationProgress|null} [progress] MoveInstanceMetadata progress
|
|
44916
|
+
* @property {google.protobuf.ITimestamp|null} [cancelTime] MoveInstanceMetadata cancelTime
|
|
44917
|
+
*/
|
|
44918
|
+
|
|
44919
|
+
/**
|
|
44920
|
+
* Constructs a new MoveInstanceMetadata.
|
|
44921
|
+
* @memberof google.spanner.admin.instance.v1
|
|
44922
|
+
* @classdesc Represents a MoveInstanceMetadata.
|
|
44923
|
+
* @implements IMoveInstanceMetadata
|
|
44924
|
+
* @constructor
|
|
44925
|
+
* @param {google.spanner.admin.instance.v1.IMoveInstanceMetadata=} [properties] Properties to set
|
|
44926
|
+
*/
|
|
44927
|
+
function MoveInstanceMetadata(properties) {
|
|
44928
|
+
if (properties)
|
|
44929
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
44930
|
+
if (properties[keys[i]] != null)
|
|
44931
|
+
this[keys[i]] = properties[keys[i]];
|
|
44932
|
+
}
|
|
44933
|
+
|
|
44934
|
+
/**
|
|
44935
|
+
* MoveInstanceMetadata targetConfig.
|
|
44936
|
+
* @member {string} targetConfig
|
|
44937
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceMetadata
|
|
44938
|
+
* @instance
|
|
44939
|
+
*/
|
|
44940
|
+
MoveInstanceMetadata.prototype.targetConfig = "";
|
|
44941
|
+
|
|
44942
|
+
/**
|
|
44943
|
+
* MoveInstanceMetadata progress.
|
|
44944
|
+
* @member {google.spanner.admin.instance.v1.IOperationProgress|null|undefined} progress
|
|
44945
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceMetadata
|
|
44946
|
+
* @instance
|
|
44947
|
+
*/
|
|
44948
|
+
MoveInstanceMetadata.prototype.progress = null;
|
|
44949
|
+
|
|
44950
|
+
/**
|
|
44951
|
+
* MoveInstanceMetadata cancelTime.
|
|
44952
|
+
* @member {google.protobuf.ITimestamp|null|undefined} cancelTime
|
|
44953
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceMetadata
|
|
44954
|
+
* @instance
|
|
44955
|
+
*/
|
|
44956
|
+
MoveInstanceMetadata.prototype.cancelTime = null;
|
|
44957
|
+
|
|
44958
|
+
/**
|
|
44959
|
+
* Creates a new MoveInstanceMetadata instance using the specified properties.
|
|
44960
|
+
* @function create
|
|
44961
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceMetadata
|
|
44962
|
+
* @static
|
|
44963
|
+
* @param {google.spanner.admin.instance.v1.IMoveInstanceMetadata=} [properties] Properties to set
|
|
44964
|
+
* @returns {google.spanner.admin.instance.v1.MoveInstanceMetadata} MoveInstanceMetadata instance
|
|
44965
|
+
*/
|
|
44966
|
+
MoveInstanceMetadata.create = function create(properties) {
|
|
44967
|
+
return new MoveInstanceMetadata(properties);
|
|
44968
|
+
};
|
|
44969
|
+
|
|
44970
|
+
/**
|
|
44971
|
+
* Encodes the specified MoveInstanceMetadata message. Does not implicitly {@link google.spanner.admin.instance.v1.MoveInstanceMetadata.verify|verify} messages.
|
|
44972
|
+
* @function encode
|
|
44973
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceMetadata
|
|
44974
|
+
* @static
|
|
44975
|
+
* @param {google.spanner.admin.instance.v1.IMoveInstanceMetadata} message MoveInstanceMetadata message or plain object to encode
|
|
44976
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
44977
|
+
* @returns {$protobuf.Writer} Writer
|
|
44978
|
+
*/
|
|
44979
|
+
MoveInstanceMetadata.encode = function encode(message, writer) {
|
|
44980
|
+
if (!writer)
|
|
44981
|
+
writer = $Writer.create();
|
|
44982
|
+
if (message.targetConfig != null && Object.hasOwnProperty.call(message, "targetConfig"))
|
|
44983
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.targetConfig);
|
|
44984
|
+
if (message.progress != null && Object.hasOwnProperty.call(message, "progress"))
|
|
44985
|
+
$root.google.spanner.admin.instance.v1.OperationProgress.encode(message.progress, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
44986
|
+
if (message.cancelTime != null && Object.hasOwnProperty.call(message, "cancelTime"))
|
|
44987
|
+
$root.google.protobuf.Timestamp.encode(message.cancelTime, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
44988
|
+
return writer;
|
|
44989
|
+
};
|
|
44990
|
+
|
|
44991
|
+
/**
|
|
44992
|
+
* Encodes the specified MoveInstanceMetadata message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.MoveInstanceMetadata.verify|verify} messages.
|
|
44993
|
+
* @function encodeDelimited
|
|
44994
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceMetadata
|
|
44995
|
+
* @static
|
|
44996
|
+
* @param {google.spanner.admin.instance.v1.IMoveInstanceMetadata} message MoveInstanceMetadata message or plain object to encode
|
|
44997
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
44998
|
+
* @returns {$protobuf.Writer} Writer
|
|
44999
|
+
*/
|
|
45000
|
+
MoveInstanceMetadata.encodeDelimited = function encodeDelimited(message, writer) {
|
|
45001
|
+
return this.encode(message, writer).ldelim();
|
|
45002
|
+
};
|
|
45003
|
+
|
|
45004
|
+
/**
|
|
45005
|
+
* Decodes a MoveInstanceMetadata message from the specified reader or buffer.
|
|
45006
|
+
* @function decode
|
|
45007
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceMetadata
|
|
45008
|
+
* @static
|
|
45009
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
45010
|
+
* @param {number} [length] Message length if known beforehand
|
|
45011
|
+
* @returns {google.spanner.admin.instance.v1.MoveInstanceMetadata} MoveInstanceMetadata
|
|
45012
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
45013
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
45014
|
+
*/
|
|
45015
|
+
MoveInstanceMetadata.decode = function decode(reader, length) {
|
|
45016
|
+
if (!(reader instanceof $Reader))
|
|
45017
|
+
reader = $Reader.create(reader);
|
|
45018
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.spanner.admin.instance.v1.MoveInstanceMetadata();
|
|
45019
|
+
while (reader.pos < end) {
|
|
45020
|
+
var tag = reader.uint32();
|
|
45021
|
+
switch (tag >>> 3) {
|
|
45022
|
+
case 1: {
|
|
45023
|
+
message.targetConfig = reader.string();
|
|
45024
|
+
break;
|
|
45025
|
+
}
|
|
45026
|
+
case 2: {
|
|
45027
|
+
message.progress = $root.google.spanner.admin.instance.v1.OperationProgress.decode(reader, reader.uint32());
|
|
45028
|
+
break;
|
|
45029
|
+
}
|
|
45030
|
+
case 3: {
|
|
45031
|
+
message.cancelTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
|
|
45032
|
+
break;
|
|
45033
|
+
}
|
|
45034
|
+
default:
|
|
45035
|
+
reader.skipType(tag & 7);
|
|
45036
|
+
break;
|
|
45037
|
+
}
|
|
45038
|
+
}
|
|
45039
|
+
return message;
|
|
45040
|
+
};
|
|
45041
|
+
|
|
45042
|
+
/**
|
|
45043
|
+
* Decodes a MoveInstanceMetadata message from the specified reader or buffer, length delimited.
|
|
45044
|
+
* @function decodeDelimited
|
|
45045
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceMetadata
|
|
45046
|
+
* @static
|
|
45047
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
45048
|
+
* @returns {google.spanner.admin.instance.v1.MoveInstanceMetadata} MoveInstanceMetadata
|
|
45049
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
45050
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
45051
|
+
*/
|
|
45052
|
+
MoveInstanceMetadata.decodeDelimited = function decodeDelimited(reader) {
|
|
45053
|
+
if (!(reader instanceof $Reader))
|
|
45054
|
+
reader = new $Reader(reader);
|
|
45055
|
+
return this.decode(reader, reader.uint32());
|
|
45056
|
+
};
|
|
45057
|
+
|
|
45058
|
+
/**
|
|
45059
|
+
* Verifies a MoveInstanceMetadata message.
|
|
45060
|
+
* @function verify
|
|
45061
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceMetadata
|
|
45062
|
+
* @static
|
|
45063
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
45064
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
45065
|
+
*/
|
|
45066
|
+
MoveInstanceMetadata.verify = function verify(message) {
|
|
45067
|
+
if (typeof message !== "object" || message === null)
|
|
45068
|
+
return "object expected";
|
|
45069
|
+
if (message.targetConfig != null && message.hasOwnProperty("targetConfig"))
|
|
45070
|
+
if (!$util.isString(message.targetConfig))
|
|
45071
|
+
return "targetConfig: string expected";
|
|
45072
|
+
if (message.progress != null && message.hasOwnProperty("progress")) {
|
|
45073
|
+
var error = $root.google.spanner.admin.instance.v1.OperationProgress.verify(message.progress);
|
|
45074
|
+
if (error)
|
|
45075
|
+
return "progress." + error;
|
|
45076
|
+
}
|
|
45077
|
+
if (message.cancelTime != null && message.hasOwnProperty("cancelTime")) {
|
|
45078
|
+
var error = $root.google.protobuf.Timestamp.verify(message.cancelTime);
|
|
45079
|
+
if (error)
|
|
45080
|
+
return "cancelTime." + error;
|
|
45081
|
+
}
|
|
45082
|
+
return null;
|
|
45083
|
+
};
|
|
45084
|
+
|
|
45085
|
+
/**
|
|
45086
|
+
* Creates a MoveInstanceMetadata message from a plain object. Also converts values to their respective internal types.
|
|
45087
|
+
* @function fromObject
|
|
45088
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceMetadata
|
|
44310
45089
|
* @static
|
|
44311
45090
|
* @param {Object.<string,*>} object Plain object
|
|
44312
|
-
* @returns {google.spanner.admin.instance.v1.
|
|
45091
|
+
* @returns {google.spanner.admin.instance.v1.MoveInstanceMetadata} MoveInstanceMetadata
|
|
44313
45092
|
*/
|
|
44314
|
-
|
|
44315
|
-
if (object instanceof $root.google.spanner.admin.instance.v1.
|
|
45093
|
+
MoveInstanceMetadata.fromObject = function fromObject(object) {
|
|
45094
|
+
if (object instanceof $root.google.spanner.admin.instance.v1.MoveInstanceMetadata)
|
|
44316
45095
|
return object;
|
|
44317
|
-
var message = new $root.google.spanner.admin.instance.v1.
|
|
44318
|
-
if (object.
|
|
44319
|
-
|
|
44320
|
-
|
|
44321
|
-
|
|
44322
|
-
|
|
44323
|
-
|
|
44324
|
-
throw TypeError(".google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.operations: object expected");
|
|
44325
|
-
message.operations[i] = $root.google.longrunning.Operation.fromObject(object.operations[i]);
|
|
44326
|
-
}
|
|
45096
|
+
var message = new $root.google.spanner.admin.instance.v1.MoveInstanceMetadata();
|
|
45097
|
+
if (object.targetConfig != null)
|
|
45098
|
+
message.targetConfig = String(object.targetConfig);
|
|
45099
|
+
if (object.progress != null) {
|
|
45100
|
+
if (typeof object.progress !== "object")
|
|
45101
|
+
throw TypeError(".google.spanner.admin.instance.v1.MoveInstanceMetadata.progress: object expected");
|
|
45102
|
+
message.progress = $root.google.spanner.admin.instance.v1.OperationProgress.fromObject(object.progress);
|
|
44327
45103
|
}
|
|
44328
|
-
if (object.
|
|
44329
|
-
|
|
44330
|
-
|
|
44331
|
-
|
|
44332
|
-
throw TypeError(".google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.unreachableInstancePartitions: array expected");
|
|
44333
|
-
message.unreachableInstancePartitions = [];
|
|
44334
|
-
for (var i = 0; i < object.unreachableInstancePartitions.length; ++i)
|
|
44335
|
-
message.unreachableInstancePartitions[i] = String(object.unreachableInstancePartitions[i]);
|
|
45104
|
+
if (object.cancelTime != null) {
|
|
45105
|
+
if (typeof object.cancelTime !== "object")
|
|
45106
|
+
throw TypeError(".google.spanner.admin.instance.v1.MoveInstanceMetadata.cancelTime: object expected");
|
|
45107
|
+
message.cancelTime = $root.google.protobuf.Timestamp.fromObject(object.cancelTime);
|
|
44336
45108
|
}
|
|
44337
45109
|
return message;
|
|
44338
45110
|
};
|
|
44339
45111
|
|
|
44340
45112
|
/**
|
|
44341
|
-
* Creates a plain object from a
|
|
45113
|
+
* Creates a plain object from a MoveInstanceMetadata message. Also converts values to other types if specified.
|
|
44342
45114
|
* @function toObject
|
|
44343
|
-
* @memberof google.spanner.admin.instance.v1.
|
|
45115
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceMetadata
|
|
44344
45116
|
* @static
|
|
44345
|
-
* @param {google.spanner.admin.instance.v1.
|
|
45117
|
+
* @param {google.spanner.admin.instance.v1.MoveInstanceMetadata} message MoveInstanceMetadata
|
|
44346
45118
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
44347
45119
|
* @returns {Object.<string,*>} Plain object
|
|
44348
45120
|
*/
|
|
44349
|
-
|
|
45121
|
+
MoveInstanceMetadata.toObject = function toObject(message, options) {
|
|
44350
45122
|
if (!options)
|
|
44351
45123
|
options = {};
|
|
44352
45124
|
var object = {};
|
|
44353
|
-
if (options.
|
|
44354
|
-
object.
|
|
44355
|
-
object.
|
|
44356
|
-
|
|
44357
|
-
if (options.defaults)
|
|
44358
|
-
object.nextPageToken = "";
|
|
44359
|
-
if (message.operations && message.operations.length) {
|
|
44360
|
-
object.operations = [];
|
|
44361
|
-
for (var j = 0; j < message.operations.length; ++j)
|
|
44362
|
-
object.operations[j] = $root.google.longrunning.Operation.toObject(message.operations[j], options);
|
|
44363
|
-
}
|
|
44364
|
-
if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
|
|
44365
|
-
object.nextPageToken = message.nextPageToken;
|
|
44366
|
-
if (message.unreachableInstancePartitions && message.unreachableInstancePartitions.length) {
|
|
44367
|
-
object.unreachableInstancePartitions = [];
|
|
44368
|
-
for (var j = 0; j < message.unreachableInstancePartitions.length; ++j)
|
|
44369
|
-
object.unreachableInstancePartitions[j] = message.unreachableInstancePartitions[j];
|
|
45125
|
+
if (options.defaults) {
|
|
45126
|
+
object.targetConfig = "";
|
|
45127
|
+
object.progress = null;
|
|
45128
|
+
object.cancelTime = null;
|
|
44370
45129
|
}
|
|
45130
|
+
if (message.targetConfig != null && message.hasOwnProperty("targetConfig"))
|
|
45131
|
+
object.targetConfig = message.targetConfig;
|
|
45132
|
+
if (message.progress != null && message.hasOwnProperty("progress"))
|
|
45133
|
+
object.progress = $root.google.spanner.admin.instance.v1.OperationProgress.toObject(message.progress, options);
|
|
45134
|
+
if (message.cancelTime != null && message.hasOwnProperty("cancelTime"))
|
|
45135
|
+
object.cancelTime = $root.google.protobuf.Timestamp.toObject(message.cancelTime, options);
|
|
44371
45136
|
return object;
|
|
44372
45137
|
};
|
|
44373
45138
|
|
|
44374
45139
|
/**
|
|
44375
|
-
* Converts this
|
|
45140
|
+
* Converts this MoveInstanceMetadata to JSON.
|
|
44376
45141
|
* @function toJSON
|
|
44377
|
-
* @memberof google.spanner.admin.instance.v1.
|
|
45142
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceMetadata
|
|
44378
45143
|
* @instance
|
|
44379
45144
|
* @returns {Object.<string,*>} JSON object
|
|
44380
45145
|
*/
|
|
44381
|
-
|
|
45146
|
+
MoveInstanceMetadata.prototype.toJSON = function toJSON() {
|
|
44382
45147
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
44383
45148
|
};
|
|
44384
45149
|
|
|
44385
45150
|
/**
|
|
44386
|
-
* Gets the default type url for
|
|
45151
|
+
* Gets the default type url for MoveInstanceMetadata
|
|
44387
45152
|
* @function getTypeUrl
|
|
44388
|
-
* @memberof google.spanner.admin.instance.v1.
|
|
45153
|
+
* @memberof google.spanner.admin.instance.v1.MoveInstanceMetadata
|
|
44389
45154
|
* @static
|
|
44390
45155
|
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
44391
45156
|
* @returns {string} The default type url
|
|
44392
45157
|
*/
|
|
44393
|
-
|
|
45158
|
+
MoveInstanceMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
44394
45159
|
if (typeUrlPrefix === undefined) {
|
|
44395
45160
|
typeUrlPrefix = "type.googleapis.com";
|
|
44396
45161
|
}
|
|
44397
|
-
return typeUrlPrefix + "/google.spanner.admin.instance.v1.
|
|
45162
|
+
return typeUrlPrefix + "/google.spanner.admin.instance.v1.MoveInstanceMetadata";
|
|
44398
45163
|
};
|
|
44399
45164
|
|
|
44400
|
-
return
|
|
45165
|
+
return MoveInstanceMetadata;
|
|
44401
45166
|
})();
|
|
44402
45167
|
|
|
44403
45168
|
return v1;
|
|
@@ -45871,12 +46636,7 @@
|
|
|
45871
46636
|
// OneOf field names bound to virtual getters and setters
|
|
45872
46637
|
var $oneOfFields;
|
|
45873
46638
|
|
|
45874
|
-
|
|
45875
|
-
* ReadAction _index.
|
|
45876
|
-
* @member {"index"|undefined} _index
|
|
45877
|
-
* @memberof google.spanner.executor.v1.ReadAction
|
|
45878
|
-
* @instance
|
|
45879
|
-
*/
|
|
46639
|
+
// Virtual OneOf for proto3 optional field
|
|
45880
46640
|
Object.defineProperty(ReadAction.prototype, "_index", {
|
|
45881
46641
|
get: $util.oneOfGetter($oneOfFields = ["index"]),
|
|
45882
46642
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -46688,12 +47448,7 @@
|
|
|
46688
47448
|
// OneOf field names bound to virtual getters and setters
|
|
46689
47449
|
var $oneOfFields;
|
|
46690
47450
|
|
|
46691
|
-
|
|
46692
|
-
* DmlAction _autocommitIfSupported.
|
|
46693
|
-
* @member {"autocommitIfSupported"|undefined} _autocommitIfSupported
|
|
46694
|
-
* @memberof google.spanner.executor.v1.DmlAction
|
|
46695
|
-
* @instance
|
|
46696
|
-
*/
|
|
47451
|
+
// Virtual OneOf for proto3 optional field
|
|
46697
47452
|
Object.defineProperty(DmlAction.prototype, "_autocommitIfSupported", {
|
|
46698
47453
|
get: $util.oneOfGetter($oneOfFields = ["autocommitIfSupported"]),
|
|
46699
47454
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -47263,12 +48018,7 @@
|
|
|
47263
48018
|
set: $util.oneOfSetter($oneOfFields)
|
|
47264
48019
|
});
|
|
47265
48020
|
|
|
47266
|
-
|
|
47267
|
-
* Value _arrayType.
|
|
47268
|
-
* @member {"arrayType"|undefined} _arrayType
|
|
47269
|
-
* @memberof google.spanner.executor.v1.Value
|
|
47270
|
-
* @instance
|
|
47271
|
-
*/
|
|
48021
|
+
// Virtual OneOf for proto3 optional field
|
|
47272
48022
|
Object.defineProperty(Value.prototype, "_arrayType", {
|
|
47273
48023
|
get: $util.oneOfGetter($oneOfFields = ["arrayType"]),
|
|
47274
48024
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -47757,12 +48507,7 @@
|
|
|
47757
48507
|
// OneOf field names bound to virtual getters and setters
|
|
47758
48508
|
var $oneOfFields;
|
|
47759
48509
|
|
|
47760
|
-
|
|
47761
|
-
* KeyRange _type.
|
|
47762
|
-
* @member {"type"|undefined} _type
|
|
47763
|
-
* @memberof google.spanner.executor.v1.KeyRange
|
|
47764
|
-
* @instance
|
|
47765
|
-
*/
|
|
48510
|
+
// Virtual OneOf for proto3 optional field
|
|
47766
48511
|
Object.defineProperty(KeyRange.prototype, "_type", {
|
|
47767
48512
|
get: $util.oneOfGetter($oneOfFields = ["type"]),
|
|
47768
48513
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -49990,12 +50735,7 @@
|
|
|
49990
50735
|
// OneOf field names bound to virtual getters and setters
|
|
49991
50736
|
var $oneOfFields;
|
|
49992
50737
|
|
|
49993
|
-
|
|
49994
|
-
* PartitionedUpdateAction _options.
|
|
49995
|
-
* @member {"options"|undefined} _options
|
|
49996
|
-
* @memberof google.spanner.executor.v1.PartitionedUpdateAction
|
|
49997
|
-
* @instance
|
|
49998
|
-
*/
|
|
50738
|
+
// Virtual OneOf for proto3 optional field
|
|
49999
50739
|
Object.defineProperty(PartitionedUpdateAction.prototype, "_options", {
|
|
50000
50740
|
get: $util.oneOfGetter($oneOfFields = ["options"]),
|
|
50001
50741
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -50243,23 +50983,13 @@
|
|
|
50243
50983
|
// OneOf field names bound to virtual getters and setters
|
|
50244
50984
|
var $oneOfFields;
|
|
50245
50985
|
|
|
50246
|
-
|
|
50247
|
-
* ExecutePartitionedUpdateOptions _rpcPriority.
|
|
50248
|
-
* @member {"rpcPriority"|undefined} _rpcPriority
|
|
50249
|
-
* @memberof google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions
|
|
50250
|
-
* @instance
|
|
50251
|
-
*/
|
|
50986
|
+
// Virtual OneOf for proto3 optional field
|
|
50252
50987
|
Object.defineProperty(ExecutePartitionedUpdateOptions.prototype, "_rpcPriority", {
|
|
50253
50988
|
get: $util.oneOfGetter($oneOfFields = ["rpcPriority"]),
|
|
50254
50989
|
set: $util.oneOfSetter($oneOfFields)
|
|
50255
50990
|
});
|
|
50256
50991
|
|
|
50257
|
-
|
|
50258
|
-
* ExecutePartitionedUpdateOptions _tag.
|
|
50259
|
-
* @member {"tag"|undefined} _tag
|
|
50260
|
-
* @memberof google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions
|
|
50261
|
-
* @instance
|
|
50262
|
-
*/
|
|
50992
|
+
// Virtual OneOf for proto3 optional field
|
|
50263
50993
|
Object.defineProperty(ExecutePartitionedUpdateOptions.prototype, "_tag", {
|
|
50264
50994
|
get: $util.oneOfGetter($oneOfFields = ["tag"]),
|
|
50265
50995
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -50553,23 +51283,13 @@
|
|
|
50553
51283
|
// OneOf field names bound to virtual getters and setters
|
|
50554
51284
|
var $oneOfFields;
|
|
50555
51285
|
|
|
50556
|
-
|
|
50557
|
-
* StartTransactionAction _concurrency.
|
|
50558
|
-
* @member {"concurrency"|undefined} _concurrency
|
|
50559
|
-
* @memberof google.spanner.executor.v1.StartTransactionAction
|
|
50560
|
-
* @instance
|
|
50561
|
-
*/
|
|
51286
|
+
// Virtual OneOf for proto3 optional field
|
|
50562
51287
|
Object.defineProperty(StartTransactionAction.prototype, "_concurrency", {
|
|
50563
51288
|
get: $util.oneOfGetter($oneOfFields = ["concurrency"]),
|
|
50564
51289
|
set: $util.oneOfSetter($oneOfFields)
|
|
50565
51290
|
});
|
|
50566
51291
|
|
|
50567
|
-
|
|
50568
|
-
* StartTransactionAction _executionOptions.
|
|
50569
|
-
* @member {"executionOptions"|undefined} _executionOptions
|
|
50570
|
-
* @memberof google.spanner.executor.v1.StartTransactionAction
|
|
50571
|
-
* @instance
|
|
50572
|
-
*/
|
|
51292
|
+
// Virtual OneOf for proto3 optional field
|
|
50573
51293
|
Object.defineProperty(StartTransactionAction.prototype, "_executionOptions", {
|
|
50574
51294
|
get: $util.oneOfGetter($oneOfFields = ["executionOptions"]),
|
|
50575
51295
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -53802,12 +54522,7 @@
|
|
|
53802
54522
|
// OneOf field names bound to virtual getters and setters
|
|
53803
54523
|
var $oneOfFields;
|
|
53804
54524
|
|
|
53805
|
-
|
|
53806
|
-
* UpdateUserInstanceConfigAction _displayName.
|
|
53807
|
-
* @member {"displayName"|undefined} _displayName
|
|
53808
|
-
* @memberof google.spanner.executor.v1.UpdateUserInstanceConfigAction
|
|
53809
|
-
* @instance
|
|
53810
|
-
*/
|
|
54525
|
+
// Virtual OneOf for proto3 optional field
|
|
53811
54526
|
Object.defineProperty(UpdateUserInstanceConfigAction.prototype, "_displayName", {
|
|
53812
54527
|
get: $util.oneOfGetter($oneOfFields = ["displayName"]),
|
|
53813
54528
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -54574,23 +55289,13 @@
|
|
|
54574
55289
|
// OneOf field names bound to virtual getters and setters
|
|
54575
55290
|
var $oneOfFields;
|
|
54576
55291
|
|
|
54577
|
-
|
|
54578
|
-
* ListCloudInstanceConfigsAction _pageSize.
|
|
54579
|
-
* @member {"pageSize"|undefined} _pageSize
|
|
54580
|
-
* @memberof google.spanner.executor.v1.ListCloudInstanceConfigsAction
|
|
54581
|
-
* @instance
|
|
54582
|
-
*/
|
|
55292
|
+
// Virtual OneOf for proto3 optional field
|
|
54583
55293
|
Object.defineProperty(ListCloudInstanceConfigsAction.prototype, "_pageSize", {
|
|
54584
55294
|
get: $util.oneOfGetter($oneOfFields = ["pageSize"]),
|
|
54585
55295
|
set: $util.oneOfSetter($oneOfFields)
|
|
54586
55296
|
});
|
|
54587
55297
|
|
|
54588
|
-
|
|
54589
|
-
* ListCloudInstanceConfigsAction _pageToken.
|
|
54590
|
-
* @member {"pageToken"|undefined} _pageToken
|
|
54591
|
-
* @memberof google.spanner.executor.v1.ListCloudInstanceConfigsAction
|
|
54592
|
-
* @instance
|
|
54593
|
-
*/
|
|
55298
|
+
// Virtual OneOf for proto3 optional field
|
|
54594
55299
|
Object.defineProperty(ListCloudInstanceConfigsAction.prototype, "_pageToken", {
|
|
54595
55300
|
get: $util.oneOfGetter($oneOfFields = ["pageToken"]),
|
|
54596
55301
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -54894,34 +55599,19 @@
|
|
|
54894
55599
|
// OneOf field names bound to virtual getters and setters
|
|
54895
55600
|
var $oneOfFields;
|
|
54896
55601
|
|
|
54897
|
-
|
|
54898
|
-
* CreateCloudInstanceAction _nodeCount.
|
|
54899
|
-
* @member {"nodeCount"|undefined} _nodeCount
|
|
54900
|
-
* @memberof google.spanner.executor.v1.CreateCloudInstanceAction
|
|
54901
|
-
* @instance
|
|
54902
|
-
*/
|
|
55602
|
+
// Virtual OneOf for proto3 optional field
|
|
54903
55603
|
Object.defineProperty(CreateCloudInstanceAction.prototype, "_nodeCount", {
|
|
54904
55604
|
get: $util.oneOfGetter($oneOfFields = ["nodeCount"]),
|
|
54905
55605
|
set: $util.oneOfSetter($oneOfFields)
|
|
54906
55606
|
});
|
|
54907
55607
|
|
|
54908
|
-
|
|
54909
|
-
* CreateCloudInstanceAction _processingUnits.
|
|
54910
|
-
* @member {"processingUnits"|undefined} _processingUnits
|
|
54911
|
-
* @memberof google.spanner.executor.v1.CreateCloudInstanceAction
|
|
54912
|
-
* @instance
|
|
54913
|
-
*/
|
|
55608
|
+
// Virtual OneOf for proto3 optional field
|
|
54914
55609
|
Object.defineProperty(CreateCloudInstanceAction.prototype, "_processingUnits", {
|
|
54915
55610
|
get: $util.oneOfGetter($oneOfFields = ["processingUnits"]),
|
|
54916
55611
|
set: $util.oneOfSetter($oneOfFields)
|
|
54917
55612
|
});
|
|
54918
55613
|
|
|
54919
|
-
|
|
54920
|
-
* CreateCloudInstanceAction _autoscalingConfig.
|
|
54921
|
-
* @member {"autoscalingConfig"|undefined} _autoscalingConfig
|
|
54922
|
-
* @memberof google.spanner.executor.v1.CreateCloudInstanceAction
|
|
54923
|
-
* @instance
|
|
54924
|
-
*/
|
|
55614
|
+
// Virtual OneOf for proto3 optional field
|
|
54925
55615
|
Object.defineProperty(CreateCloudInstanceAction.prototype, "_autoscalingConfig", {
|
|
54926
55616
|
get: $util.oneOfGetter($oneOfFields = ["autoscalingConfig"]),
|
|
54927
55617
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -55327,45 +56017,25 @@
|
|
|
55327
56017
|
// OneOf field names bound to virtual getters and setters
|
|
55328
56018
|
var $oneOfFields;
|
|
55329
56019
|
|
|
55330
|
-
|
|
55331
|
-
* UpdateCloudInstanceAction _displayName.
|
|
55332
|
-
* @member {"displayName"|undefined} _displayName
|
|
55333
|
-
* @memberof google.spanner.executor.v1.UpdateCloudInstanceAction
|
|
55334
|
-
* @instance
|
|
55335
|
-
*/
|
|
56020
|
+
// Virtual OneOf for proto3 optional field
|
|
55336
56021
|
Object.defineProperty(UpdateCloudInstanceAction.prototype, "_displayName", {
|
|
55337
56022
|
get: $util.oneOfGetter($oneOfFields = ["displayName"]),
|
|
55338
56023
|
set: $util.oneOfSetter($oneOfFields)
|
|
55339
56024
|
});
|
|
55340
56025
|
|
|
55341
|
-
|
|
55342
|
-
* UpdateCloudInstanceAction _nodeCount.
|
|
55343
|
-
* @member {"nodeCount"|undefined} _nodeCount
|
|
55344
|
-
* @memberof google.spanner.executor.v1.UpdateCloudInstanceAction
|
|
55345
|
-
* @instance
|
|
55346
|
-
*/
|
|
56026
|
+
// Virtual OneOf for proto3 optional field
|
|
55347
56027
|
Object.defineProperty(UpdateCloudInstanceAction.prototype, "_nodeCount", {
|
|
55348
56028
|
get: $util.oneOfGetter($oneOfFields = ["nodeCount"]),
|
|
55349
56029
|
set: $util.oneOfSetter($oneOfFields)
|
|
55350
56030
|
});
|
|
55351
56031
|
|
|
55352
|
-
|
|
55353
|
-
* UpdateCloudInstanceAction _processingUnits.
|
|
55354
|
-
* @member {"processingUnits"|undefined} _processingUnits
|
|
55355
|
-
* @memberof google.spanner.executor.v1.UpdateCloudInstanceAction
|
|
55356
|
-
* @instance
|
|
55357
|
-
*/
|
|
56032
|
+
// Virtual OneOf for proto3 optional field
|
|
55358
56033
|
Object.defineProperty(UpdateCloudInstanceAction.prototype, "_processingUnits", {
|
|
55359
56034
|
get: $util.oneOfGetter($oneOfFields = ["processingUnits"]),
|
|
55360
56035
|
set: $util.oneOfSetter($oneOfFields)
|
|
55361
56036
|
});
|
|
55362
56037
|
|
|
55363
|
-
|
|
55364
|
-
* UpdateCloudInstanceAction _autoscalingConfig.
|
|
55365
|
-
* @member {"autoscalingConfig"|undefined} _autoscalingConfig
|
|
55366
|
-
* @memberof google.spanner.executor.v1.UpdateCloudInstanceAction
|
|
55367
|
-
* @instance
|
|
55368
|
-
*/
|
|
56038
|
+
// Virtual OneOf for proto3 optional field
|
|
55369
56039
|
Object.defineProperty(UpdateCloudInstanceAction.prototype, "_autoscalingConfig", {
|
|
55370
56040
|
get: $util.oneOfGetter($oneOfFields = ["autoscalingConfig"]),
|
|
55371
56041
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -56002,23 +56672,13 @@
|
|
|
56002
56672
|
// OneOf field names bound to virtual getters and setters
|
|
56003
56673
|
var $oneOfFields;
|
|
56004
56674
|
|
|
56005
|
-
|
|
56006
|
-
* CreateCloudDatabaseAction _dialect.
|
|
56007
|
-
* @member {"dialect"|undefined} _dialect
|
|
56008
|
-
* @memberof google.spanner.executor.v1.CreateCloudDatabaseAction
|
|
56009
|
-
* @instance
|
|
56010
|
-
*/
|
|
56675
|
+
// Virtual OneOf for proto3 optional field
|
|
56011
56676
|
Object.defineProperty(CreateCloudDatabaseAction.prototype, "_dialect", {
|
|
56012
56677
|
get: $util.oneOfGetter($oneOfFields = ["dialect"]),
|
|
56013
56678
|
set: $util.oneOfSetter($oneOfFields)
|
|
56014
56679
|
});
|
|
56015
56680
|
|
|
56016
|
-
|
|
56017
|
-
* CreateCloudDatabaseAction _protoDescriptors.
|
|
56018
|
-
* @member {"protoDescriptors"|undefined} _protoDescriptors
|
|
56019
|
-
* @memberof google.spanner.executor.v1.CreateCloudDatabaseAction
|
|
56020
|
-
* @instance
|
|
56021
|
-
*/
|
|
56681
|
+
// Virtual OneOf for proto3 optional field
|
|
56022
56682
|
Object.defineProperty(CreateCloudDatabaseAction.prototype, "_protoDescriptors", {
|
|
56023
56683
|
get: $util.oneOfGetter($oneOfFields = ["protoDescriptors"]),
|
|
56024
56684
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -56394,12 +57054,7 @@
|
|
|
56394
57054
|
// OneOf field names bound to virtual getters and setters
|
|
56395
57055
|
var $oneOfFields;
|
|
56396
57056
|
|
|
56397
|
-
|
|
56398
|
-
* UpdateCloudDatabaseDdlAction _protoDescriptors.
|
|
56399
|
-
* @member {"protoDescriptors"|undefined} _protoDescriptors
|
|
56400
|
-
* @memberof google.spanner.executor.v1.UpdateCloudDatabaseDdlAction
|
|
56401
|
-
* @instance
|
|
56402
|
-
*/
|
|
57057
|
+
// Virtual OneOf for proto3 optional field
|
|
56403
57058
|
Object.defineProperty(UpdateCloudDatabaseDdlAction.prototype, "_protoDescriptors", {
|
|
56404
57059
|
get: $util.oneOfGetter($oneOfFields = ["protoDescriptors"]),
|
|
56405
57060
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -57239,12 +57894,7 @@
|
|
|
57239
57894
|
// OneOf field names bound to virtual getters and setters
|
|
57240
57895
|
var $oneOfFields;
|
|
57241
57896
|
|
|
57242
|
-
|
|
57243
|
-
* ChangeQuorumCloudDatabaseAction _databaseUri.
|
|
57244
|
-
* @member {"databaseUri"|undefined} _databaseUri
|
|
57245
|
-
* @memberof google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction
|
|
57246
|
-
* @instance
|
|
57247
|
-
*/
|
|
57897
|
+
// Virtual OneOf for proto3 optional field
|
|
57248
57898
|
Object.defineProperty(ChangeQuorumCloudDatabaseAction.prototype, "_databaseUri", {
|
|
57249
57899
|
get: $util.oneOfGetter($oneOfFields = ["databaseUri"]),
|
|
57250
57900
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -57790,34 +58440,19 @@
|
|
|
57790
58440
|
// OneOf field names bound to virtual getters and setters
|
|
57791
58441
|
var $oneOfFields;
|
|
57792
58442
|
|
|
57793
|
-
|
|
57794
|
-
* ListCloudInstancesAction _filter.
|
|
57795
|
-
* @member {"filter"|undefined} _filter
|
|
57796
|
-
* @memberof google.spanner.executor.v1.ListCloudInstancesAction
|
|
57797
|
-
* @instance
|
|
57798
|
-
*/
|
|
58443
|
+
// Virtual OneOf for proto3 optional field
|
|
57799
58444
|
Object.defineProperty(ListCloudInstancesAction.prototype, "_filter", {
|
|
57800
58445
|
get: $util.oneOfGetter($oneOfFields = ["filter"]),
|
|
57801
58446
|
set: $util.oneOfSetter($oneOfFields)
|
|
57802
58447
|
});
|
|
57803
58448
|
|
|
57804
|
-
|
|
57805
|
-
* ListCloudInstancesAction _pageSize.
|
|
57806
|
-
* @member {"pageSize"|undefined} _pageSize
|
|
57807
|
-
* @memberof google.spanner.executor.v1.ListCloudInstancesAction
|
|
57808
|
-
* @instance
|
|
57809
|
-
*/
|
|
58449
|
+
// Virtual OneOf for proto3 optional field
|
|
57810
58450
|
Object.defineProperty(ListCloudInstancesAction.prototype, "_pageSize", {
|
|
57811
58451
|
get: $util.oneOfGetter($oneOfFields = ["pageSize"]),
|
|
57812
58452
|
set: $util.oneOfSetter($oneOfFields)
|
|
57813
58453
|
});
|
|
57814
58454
|
|
|
57815
|
-
|
|
57816
|
-
* ListCloudInstancesAction _pageToken.
|
|
57817
|
-
* @member {"pageToken"|undefined} _pageToken
|
|
57818
|
-
* @memberof google.spanner.executor.v1.ListCloudInstancesAction
|
|
57819
|
-
* @instance
|
|
57820
|
-
*/
|
|
58455
|
+
// Virtual OneOf for proto3 optional field
|
|
57821
58456
|
Object.defineProperty(ListCloudInstancesAction.prototype, "_pageToken", {
|
|
57822
58457
|
get: $util.oneOfGetter($oneOfFields = ["pageToken"]),
|
|
57823
58458
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -59235,12 +59870,7 @@
|
|
|
59235
59870
|
// OneOf field names bound to virtual getters and setters
|
|
59236
59871
|
var $oneOfFields;
|
|
59237
59872
|
|
|
59238
|
-
|
|
59239
|
-
* CreateCloudBackupAction _versionTime.
|
|
59240
|
-
* @member {"versionTime"|undefined} _versionTime
|
|
59241
|
-
* @memberof google.spanner.executor.v1.CreateCloudBackupAction
|
|
59242
|
-
* @instance
|
|
59243
|
-
*/
|
|
59873
|
+
// Virtual OneOf for proto3 optional field
|
|
59244
59874
|
Object.defineProperty(CreateCloudBackupAction.prototype, "_versionTime", {
|
|
59245
59875
|
get: $util.oneOfGetter($oneOfFields = ["versionTime"]),
|
|
59246
59876
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -62376,23 +63006,13 @@
|
|
|
62376
63006
|
// OneOf field names bound to virtual getters and setters
|
|
62377
63007
|
var $oneOfFields;
|
|
62378
63008
|
|
|
62379
|
-
|
|
62380
|
-
* GenerateDbPartitionsForReadAction _desiredBytesPerPartition.
|
|
62381
|
-
* @member {"desiredBytesPerPartition"|undefined} _desiredBytesPerPartition
|
|
62382
|
-
* @memberof google.spanner.executor.v1.GenerateDbPartitionsForReadAction
|
|
62383
|
-
* @instance
|
|
62384
|
-
*/
|
|
63009
|
+
// Virtual OneOf for proto3 optional field
|
|
62385
63010
|
Object.defineProperty(GenerateDbPartitionsForReadAction.prototype, "_desiredBytesPerPartition", {
|
|
62386
63011
|
get: $util.oneOfGetter($oneOfFields = ["desiredBytesPerPartition"]),
|
|
62387
63012
|
set: $util.oneOfSetter($oneOfFields)
|
|
62388
63013
|
});
|
|
62389
63014
|
|
|
62390
|
-
|
|
62391
|
-
* GenerateDbPartitionsForReadAction _maxPartitionCount.
|
|
62392
|
-
* @member {"maxPartitionCount"|undefined} _maxPartitionCount
|
|
62393
|
-
* @memberof google.spanner.executor.v1.GenerateDbPartitionsForReadAction
|
|
62394
|
-
* @instance
|
|
62395
|
-
*/
|
|
63015
|
+
// Virtual OneOf for proto3 optional field
|
|
62396
63016
|
Object.defineProperty(GenerateDbPartitionsForReadAction.prototype, "_maxPartitionCount", {
|
|
62397
63017
|
get: $util.oneOfGetter($oneOfFields = ["maxPartitionCount"]),
|
|
62398
63018
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -62710,12 +63330,7 @@
|
|
|
62710
63330
|
// OneOf field names bound to virtual getters and setters
|
|
62711
63331
|
var $oneOfFields;
|
|
62712
63332
|
|
|
62713
|
-
|
|
62714
|
-
* GenerateDbPartitionsForQueryAction _desiredBytesPerPartition.
|
|
62715
|
-
* @member {"desiredBytesPerPartition"|undefined} _desiredBytesPerPartition
|
|
62716
|
-
* @memberof google.spanner.executor.v1.GenerateDbPartitionsForQueryAction
|
|
62717
|
-
* @instance
|
|
62718
|
-
*/
|
|
63333
|
+
// Virtual OneOf for proto3 optional field
|
|
62719
63334
|
Object.defineProperty(GenerateDbPartitionsForQueryAction.prototype, "_desiredBytesPerPartition", {
|
|
62720
63335
|
get: $util.oneOfGetter($oneOfFields = ["desiredBytesPerPartition"]),
|
|
62721
63336
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -62988,23 +63603,13 @@
|
|
|
62988
63603
|
// OneOf field names bound to virtual getters and setters
|
|
62989
63604
|
var $oneOfFields;
|
|
62990
63605
|
|
|
62991
|
-
|
|
62992
|
-
* BatchPartition _table.
|
|
62993
|
-
* @member {"table"|undefined} _table
|
|
62994
|
-
* @memberof google.spanner.executor.v1.BatchPartition
|
|
62995
|
-
* @instance
|
|
62996
|
-
*/
|
|
63606
|
+
// Virtual OneOf for proto3 optional field
|
|
62997
63607
|
Object.defineProperty(BatchPartition.prototype, "_table", {
|
|
62998
63608
|
get: $util.oneOfGetter($oneOfFields = ["table"]),
|
|
62999
63609
|
set: $util.oneOfSetter($oneOfFields)
|
|
63000
63610
|
});
|
|
63001
63611
|
|
|
63002
|
-
|
|
63003
|
-
* BatchPartition _index.
|
|
63004
|
-
* @member {"index"|undefined} _index
|
|
63005
|
-
* @memberof google.spanner.executor.v1.BatchPartition
|
|
63006
|
-
* @instance
|
|
63007
|
-
*/
|
|
63612
|
+
// Virtual OneOf for proto3 optional field
|
|
63008
63613
|
Object.defineProperty(BatchPartition.prototype, "_index", {
|
|
63009
63614
|
get: $util.oneOfGetter($oneOfFields = ["index"]),
|
|
63010
63615
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -63558,56 +64163,31 @@
|
|
|
63558
64163
|
// OneOf field names bound to virtual getters and setters
|
|
63559
64164
|
var $oneOfFields;
|
|
63560
64165
|
|
|
63561
|
-
|
|
63562
|
-
* ExecuteChangeStreamQuery _endTime.
|
|
63563
|
-
* @member {"endTime"|undefined} _endTime
|
|
63564
|
-
* @memberof google.spanner.executor.v1.ExecuteChangeStreamQuery
|
|
63565
|
-
* @instance
|
|
63566
|
-
*/
|
|
64166
|
+
// Virtual OneOf for proto3 optional field
|
|
63567
64167
|
Object.defineProperty(ExecuteChangeStreamQuery.prototype, "_endTime", {
|
|
63568
64168
|
get: $util.oneOfGetter($oneOfFields = ["endTime"]),
|
|
63569
64169
|
set: $util.oneOfSetter($oneOfFields)
|
|
63570
64170
|
});
|
|
63571
64171
|
|
|
63572
|
-
|
|
63573
|
-
* ExecuteChangeStreamQuery _partitionToken.
|
|
63574
|
-
* @member {"partitionToken"|undefined} _partitionToken
|
|
63575
|
-
* @memberof google.spanner.executor.v1.ExecuteChangeStreamQuery
|
|
63576
|
-
* @instance
|
|
63577
|
-
*/
|
|
64172
|
+
// Virtual OneOf for proto3 optional field
|
|
63578
64173
|
Object.defineProperty(ExecuteChangeStreamQuery.prototype, "_partitionToken", {
|
|
63579
64174
|
get: $util.oneOfGetter($oneOfFields = ["partitionToken"]),
|
|
63580
64175
|
set: $util.oneOfSetter($oneOfFields)
|
|
63581
64176
|
});
|
|
63582
64177
|
|
|
63583
|
-
|
|
63584
|
-
* ExecuteChangeStreamQuery _heartbeatMilliseconds.
|
|
63585
|
-
* @member {"heartbeatMilliseconds"|undefined} _heartbeatMilliseconds
|
|
63586
|
-
* @memberof google.spanner.executor.v1.ExecuteChangeStreamQuery
|
|
63587
|
-
* @instance
|
|
63588
|
-
*/
|
|
64178
|
+
// Virtual OneOf for proto3 optional field
|
|
63589
64179
|
Object.defineProperty(ExecuteChangeStreamQuery.prototype, "_heartbeatMilliseconds", {
|
|
63590
64180
|
get: $util.oneOfGetter($oneOfFields = ["heartbeatMilliseconds"]),
|
|
63591
64181
|
set: $util.oneOfSetter($oneOfFields)
|
|
63592
64182
|
});
|
|
63593
64183
|
|
|
63594
|
-
|
|
63595
|
-
* ExecuteChangeStreamQuery _deadlineSeconds.
|
|
63596
|
-
* @member {"deadlineSeconds"|undefined} _deadlineSeconds
|
|
63597
|
-
* @memberof google.spanner.executor.v1.ExecuteChangeStreamQuery
|
|
63598
|
-
* @instance
|
|
63599
|
-
*/
|
|
64184
|
+
// Virtual OneOf for proto3 optional field
|
|
63600
64185
|
Object.defineProperty(ExecuteChangeStreamQuery.prototype, "_deadlineSeconds", {
|
|
63601
64186
|
get: $util.oneOfGetter($oneOfFields = ["deadlineSeconds"]),
|
|
63602
64187
|
set: $util.oneOfSetter($oneOfFields)
|
|
63603
64188
|
});
|
|
63604
64189
|
|
|
63605
|
-
|
|
63606
|
-
* ExecuteChangeStreamQuery _cloudDatabaseRole.
|
|
63607
|
-
* @member {"cloudDatabaseRole"|undefined} _cloudDatabaseRole
|
|
63608
|
-
* @memberof google.spanner.executor.v1.ExecuteChangeStreamQuery
|
|
63609
|
-
* @instance
|
|
63610
|
-
*/
|
|
64190
|
+
// Virtual OneOf for proto3 optional field
|
|
63611
64191
|
Object.defineProperty(ExecuteChangeStreamQuery.prototype, "_cloudDatabaseRole", {
|
|
63612
64192
|
get: $util.oneOfGetter($oneOfFields = ["cloudDatabaseRole"]),
|
|
63613
64193
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -64060,78 +64640,43 @@
|
|
|
64060
64640
|
// OneOf field names bound to virtual getters and setters
|
|
64061
64641
|
var $oneOfFields;
|
|
64062
64642
|
|
|
64063
|
-
|
|
64064
|
-
* SpannerActionOutcome _status.
|
|
64065
|
-
* @member {"status"|undefined} _status
|
|
64066
|
-
* @memberof google.spanner.executor.v1.SpannerActionOutcome
|
|
64067
|
-
* @instance
|
|
64068
|
-
*/
|
|
64643
|
+
// Virtual OneOf for proto3 optional field
|
|
64069
64644
|
Object.defineProperty(SpannerActionOutcome.prototype, "_status", {
|
|
64070
64645
|
get: $util.oneOfGetter($oneOfFields = ["status"]),
|
|
64071
64646
|
set: $util.oneOfSetter($oneOfFields)
|
|
64072
64647
|
});
|
|
64073
64648
|
|
|
64074
|
-
|
|
64075
|
-
* SpannerActionOutcome _commitTime.
|
|
64076
|
-
* @member {"commitTime"|undefined} _commitTime
|
|
64077
|
-
* @memberof google.spanner.executor.v1.SpannerActionOutcome
|
|
64078
|
-
* @instance
|
|
64079
|
-
*/
|
|
64649
|
+
// Virtual OneOf for proto3 optional field
|
|
64080
64650
|
Object.defineProperty(SpannerActionOutcome.prototype, "_commitTime", {
|
|
64081
64651
|
get: $util.oneOfGetter($oneOfFields = ["commitTime"]),
|
|
64082
64652
|
set: $util.oneOfSetter($oneOfFields)
|
|
64083
64653
|
});
|
|
64084
64654
|
|
|
64085
|
-
|
|
64086
|
-
* SpannerActionOutcome _readResult.
|
|
64087
|
-
* @member {"readResult"|undefined} _readResult
|
|
64088
|
-
* @memberof google.spanner.executor.v1.SpannerActionOutcome
|
|
64089
|
-
* @instance
|
|
64090
|
-
*/
|
|
64655
|
+
// Virtual OneOf for proto3 optional field
|
|
64091
64656
|
Object.defineProperty(SpannerActionOutcome.prototype, "_readResult", {
|
|
64092
64657
|
get: $util.oneOfGetter($oneOfFields = ["readResult"]),
|
|
64093
64658
|
set: $util.oneOfSetter($oneOfFields)
|
|
64094
64659
|
});
|
|
64095
64660
|
|
|
64096
|
-
|
|
64097
|
-
* SpannerActionOutcome _queryResult.
|
|
64098
|
-
* @member {"queryResult"|undefined} _queryResult
|
|
64099
|
-
* @memberof google.spanner.executor.v1.SpannerActionOutcome
|
|
64100
|
-
* @instance
|
|
64101
|
-
*/
|
|
64661
|
+
// Virtual OneOf for proto3 optional field
|
|
64102
64662
|
Object.defineProperty(SpannerActionOutcome.prototype, "_queryResult", {
|
|
64103
64663
|
get: $util.oneOfGetter($oneOfFields = ["queryResult"]),
|
|
64104
64664
|
set: $util.oneOfSetter($oneOfFields)
|
|
64105
64665
|
});
|
|
64106
64666
|
|
|
64107
|
-
|
|
64108
|
-
* SpannerActionOutcome _transactionRestarted.
|
|
64109
|
-
* @member {"transactionRestarted"|undefined} _transactionRestarted
|
|
64110
|
-
* @memberof google.spanner.executor.v1.SpannerActionOutcome
|
|
64111
|
-
* @instance
|
|
64112
|
-
*/
|
|
64667
|
+
// Virtual OneOf for proto3 optional field
|
|
64113
64668
|
Object.defineProperty(SpannerActionOutcome.prototype, "_transactionRestarted", {
|
|
64114
64669
|
get: $util.oneOfGetter($oneOfFields = ["transactionRestarted"]),
|
|
64115
64670
|
set: $util.oneOfSetter($oneOfFields)
|
|
64116
64671
|
});
|
|
64117
64672
|
|
|
64118
|
-
|
|
64119
|
-
* SpannerActionOutcome _batchTxnId.
|
|
64120
|
-
* @member {"batchTxnId"|undefined} _batchTxnId
|
|
64121
|
-
* @memberof google.spanner.executor.v1.SpannerActionOutcome
|
|
64122
|
-
* @instance
|
|
64123
|
-
*/
|
|
64673
|
+
// Virtual OneOf for proto3 optional field
|
|
64124
64674
|
Object.defineProperty(SpannerActionOutcome.prototype, "_batchTxnId", {
|
|
64125
64675
|
get: $util.oneOfGetter($oneOfFields = ["batchTxnId"]),
|
|
64126
64676
|
set: $util.oneOfSetter($oneOfFields)
|
|
64127
64677
|
});
|
|
64128
64678
|
|
|
64129
|
-
|
|
64130
|
-
* SpannerActionOutcome _adminResult.
|
|
64131
|
-
* @member {"adminResult"|undefined} _adminResult
|
|
64132
|
-
* @memberof google.spanner.executor.v1.SpannerActionOutcome
|
|
64133
|
-
* @instance
|
|
64134
|
-
*/
|
|
64679
|
+
// Virtual OneOf for proto3 optional field
|
|
64135
64680
|
Object.defineProperty(SpannerActionOutcome.prototype, "_adminResult", {
|
|
64136
64681
|
get: $util.oneOfGetter($oneOfFields = ["adminResult"]),
|
|
64137
64682
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -66438,34 +66983,19 @@
|
|
|
66438
66983
|
// OneOf field names bound to virtual getters and setters
|
|
66439
66984
|
var $oneOfFields;
|
|
66440
66985
|
|
|
66441
|
-
|
|
66442
|
-
* ReadResult _index.
|
|
66443
|
-
* @member {"index"|undefined} _index
|
|
66444
|
-
* @memberof google.spanner.executor.v1.ReadResult
|
|
66445
|
-
* @instance
|
|
66446
|
-
*/
|
|
66986
|
+
// Virtual OneOf for proto3 optional field
|
|
66447
66987
|
Object.defineProperty(ReadResult.prototype, "_index", {
|
|
66448
66988
|
get: $util.oneOfGetter($oneOfFields = ["index"]),
|
|
66449
66989
|
set: $util.oneOfSetter($oneOfFields)
|
|
66450
66990
|
});
|
|
66451
66991
|
|
|
66452
|
-
|
|
66453
|
-
* ReadResult _requestIndex.
|
|
66454
|
-
* @member {"requestIndex"|undefined} _requestIndex
|
|
66455
|
-
* @memberof google.spanner.executor.v1.ReadResult
|
|
66456
|
-
* @instance
|
|
66457
|
-
*/
|
|
66992
|
+
// Virtual OneOf for proto3 optional field
|
|
66458
66993
|
Object.defineProperty(ReadResult.prototype, "_requestIndex", {
|
|
66459
66994
|
get: $util.oneOfGetter($oneOfFields = ["requestIndex"]),
|
|
66460
66995
|
set: $util.oneOfSetter($oneOfFields)
|
|
66461
66996
|
});
|
|
66462
66997
|
|
|
66463
|
-
|
|
66464
|
-
* ReadResult _rowType.
|
|
66465
|
-
* @member {"rowType"|undefined} _rowType
|
|
66466
|
-
* @memberof google.spanner.executor.v1.ReadResult
|
|
66467
|
-
* @instance
|
|
66468
|
-
*/
|
|
66998
|
+
// Virtual OneOf for proto3 optional field
|
|
66469
66999
|
Object.defineProperty(ReadResult.prototype, "_rowType", {
|
|
66470
67000
|
get: $util.oneOfGetter($oneOfFields = ["rowType"]),
|
|
66471
67001
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -66783,12 +67313,7 @@
|
|
|
66783
67313
|
// OneOf field names bound to virtual getters and setters
|
|
66784
67314
|
var $oneOfFields;
|
|
66785
67315
|
|
|
66786
|
-
|
|
66787
|
-
* QueryResult _rowType.
|
|
66788
|
-
* @member {"rowType"|undefined} _rowType
|
|
66789
|
-
* @memberof google.spanner.executor.v1.QueryResult
|
|
66790
|
-
* @instance
|
|
66791
|
-
*/
|
|
67316
|
+
// Virtual OneOf for proto3 optional field
|
|
66792
67317
|
Object.defineProperty(QueryResult.prototype, "_rowType", {
|
|
66793
67318
|
get: $util.oneOfGetter($oneOfFields = ["rowType"]),
|
|
66794
67319
|
set: $util.oneOfSetter($oneOfFields)
|