@ondewo/csi-client-nodejs
Version:
ONDEWO Communication System Integration (CSI) Client library for Nodejs
1,423 lines (1,225 loc) • 47.4 kB
JavaScript
// source: google/cloud/runtimeconfig/v1beta1/resources.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require('google-protobuf');
var goog = jspb;
var global = (function() {
if (this) { return this; }
if (typeof window !== 'undefined') { return window; }
if (typeof global !== 'undefined') { return global; }
if (typeof self !== 'undefined') { return self; }
return Function('return this')();
}.call(null));
var google_api_annotations_pb = require('../../../../google/api/annotations_pb.js');
goog.object.extend(proto, google_api_annotations_pb);
var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js');
goog.object.extend(proto, google_protobuf_duration_pb);
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
goog.object.extend(proto, google_protobuf_timestamp_pb);
var google_rpc_status_pb = require('../../../../google/rpc/status_pb.js');
goog.object.extend(proto, google_rpc_status_pb);
goog.exportSymbol('proto.google.cloud.runtimeconfig.v1beta1.EndCondition', null, global);
goog.exportSymbol('proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality', null, global);
goog.exportSymbol('proto.google.cloud.runtimeconfig.v1beta1.EndCondition.ConditionCase', null, global);
goog.exportSymbol('proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig', null, global);
goog.exportSymbol('proto.google.cloud.runtimeconfig.v1beta1.Variable', null, global);
goog.exportSymbol('proto.google.cloud.runtimeconfig.v1beta1.Variable.ContentsCase', null, global);
goog.exportSymbol('proto.google.cloud.runtimeconfig.v1beta1.VariableState', null, global);
goog.exportSymbol('proto.google.cloud.runtimeconfig.v1beta1.Waiter', null, global);
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig.displayName = 'proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.google.cloud.runtimeconfig.v1beta1.Variable.oneofGroups_);
};
goog.inherits(proto.google.cloud.runtimeconfig.v1beta1.Variable, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.displayName = 'proto.google.cloud.runtimeconfig.v1beta1.Variable';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.google.cloud.runtimeconfig.v1beta1.EndCondition.oneofGroups_);
};
goog.inherits(proto.google.cloud.runtimeconfig.v1beta1.EndCondition, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.displayName = 'proto.google.cloud.runtimeconfig.v1beta1.EndCondition';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.displayName = 'proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.cloud.runtimeconfig.v1beta1.Waiter, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.displayName = 'proto.google.cloud.runtimeconfig.v1beta1.Waiter';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig.prototype.toObject = function(opt_includeInstance) {
return proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
description: jspb.Message.getFieldWithDefault(msg, 2, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig}
*/
proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig;
return proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig}
*/
proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setDescription(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getDescription();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
};
/**
* optional string name = 1;
* @return {string}
*/
proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string description = 2;
* @return {string}
*/
proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig.prototype.getDescription = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.RuntimeConfig.prototype.setDescription = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.oneofGroups_ = [[2,5]];
/**
* @enum {number}
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.ContentsCase = {
CONTENTS_NOT_SET: 0,
VALUE: 2,
TEXT: 5
};
/**
* @return {proto.google.cloud.runtimeconfig.v1beta1.Variable.ContentsCase}
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.getContentsCase = function() {
return /** @type {proto.google.cloud.runtimeconfig.v1beta1.Variable.ContentsCase} */(jspb.Message.computeOneofCase(this, proto.google.cloud.runtimeconfig.v1beta1.Variable.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.toObject = function(opt_includeInstance) {
return proto.google.cloud.runtimeconfig.v1beta1.Variable.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.google.cloud.runtimeconfig.v1beta1.Variable} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
value: msg.getValue_asB64(),
text: jspb.Message.getFieldWithDefault(msg, 5, ""),
updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
state: jspb.Message.getFieldWithDefault(msg, 4, 0)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Variable}
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.google.cloud.runtimeconfig.v1beta1.Variable;
return proto.google.cloud.runtimeconfig.v1beta1.Variable.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.google.cloud.runtimeconfig.v1beta1.Variable} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Variable}
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 2:
var value = /** @type {!Uint8Array} */ (reader.readBytes());
msg.setValue(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setText(value);
break;
case 3:
var value = new google_protobuf_timestamp_pb.Timestamp;
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
msg.setUpdateTime(value);
break;
case 4:
var value = /** @type {!proto.google.cloud.runtimeconfig.v1beta1.VariableState} */ (reader.readEnum());
msg.setState(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.google.cloud.runtimeconfig.v1beta1.Variable.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.google.cloud.runtimeconfig.v1beta1.Variable} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeBytes(
2,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 5));
if (f != null) {
writer.writeString(
5,
f
);
}
f = message.getUpdateTime();
if (f != null) {
writer.writeMessage(
3,
f,
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
);
}
f = message.getState();
if (f !== 0.0) {
writer.writeEnum(
4,
f
);
}
};
/**
* optional string name = 1;
* @return {string}
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Variable} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional bytes value = 2;
* @return {!(string|Uint8Array)}
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.getValue = function() {
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* optional bytes value = 2;
* This is a type-conversion wrapper around `getValue()`
* @return {string}
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.getValue_asB64 = function() {
return /** @type {string} */ (jspb.Message.bytesAsB64(
this.getValue()));
};
/**
* optional bytes value = 2;
* Note that Uint8Array is not supported on all browsers.
* @see http://caniuse.com/Uint8Array
* This is a type-conversion wrapper around `getValue()`
* @return {!Uint8Array}
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.getValue_asU8 = function() {
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
this.getValue()));
};
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Variable} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.setValue = function(value) {
return jspb.Message.setOneofField(this, 2, proto.google.cloud.runtimeconfig.v1beta1.Variable.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Variable} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.clearValue = function() {
return jspb.Message.setOneofField(this, 2, proto.google.cloud.runtimeconfig.v1beta1.Variable.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.hasValue = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional string text = 5;
* @return {string}
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.getText = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Variable} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.setText = function(value) {
return jspb.Message.setOneofField(this, 5, proto.google.cloud.runtimeconfig.v1beta1.Variable.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Variable} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.clearText = function() {
return jspb.Message.setOneofField(this, 5, proto.google.cloud.runtimeconfig.v1beta1.Variable.oneofGroups_[0], undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.hasText = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional google.protobuf.Timestamp update_time = 3;
* @return {?proto.google.protobuf.Timestamp}
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.getUpdateTime = function() {
return /** @type{?proto.google.protobuf.Timestamp} */ (
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
};
/**
* @param {?proto.google.protobuf.Timestamp|undefined} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Variable} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.setUpdateTime = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Variable} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.clearUpdateTime = function() {
return this.setUpdateTime(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.hasUpdateTime = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional VariableState state = 4;
* @return {!proto.google.cloud.runtimeconfig.v1beta1.VariableState}
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.getState = function() {
return /** @type {!proto.google.cloud.runtimeconfig.v1beta1.VariableState} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
};
/**
* @param {!proto.google.cloud.runtimeconfig.v1beta1.VariableState} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Variable} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Variable.prototype.setState = function(value) {
return jspb.Message.setProto3EnumField(this, 4, value);
};
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.oneofGroups_ = [[1]];
/**
* @enum {number}
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.ConditionCase = {
CONDITION_NOT_SET: 0,
CARDINALITY: 1
};
/**
* @return {proto.google.cloud.runtimeconfig.v1beta1.EndCondition.ConditionCase}
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.prototype.getConditionCase = function() {
return /** @type {proto.google.cloud.runtimeconfig.v1beta1.EndCondition.ConditionCase} */(jspb.Message.computeOneofCase(this, proto.google.cloud.runtimeconfig.v1beta1.EndCondition.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.prototype.toObject = function(opt_includeInstance) {
return proto.google.cloud.runtimeconfig.v1beta1.EndCondition.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.google.cloud.runtimeconfig.v1beta1.EndCondition} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.toObject = function(includeInstance, msg) {
var f, obj = {
cardinality: (f = msg.getCardinality()) && proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.EndCondition}
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.google.cloud.runtimeconfig.v1beta1.EndCondition;
return proto.google.cloud.runtimeconfig.v1beta1.EndCondition.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.google.cloud.runtimeconfig.v1beta1.EndCondition} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.EndCondition}
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality;
reader.readMessage(value,proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.deserializeBinaryFromReader);
msg.setCardinality(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.google.cloud.runtimeconfig.v1beta1.EndCondition} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getCardinality();
if (f != null) {
writer.writeMessage(
1,
f,
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.serializeBinaryToWriter
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.prototype.toObject = function(opt_includeInstance) {
return proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.toObject = function(includeInstance, msg) {
var f, obj = {
path: jspb.Message.getFieldWithDefault(msg, 1, ""),
number: jspb.Message.getFieldWithDefault(msg, 2, 0)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality}
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality;
return proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality}
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setPath(value);
break;
case 2:
var value = /** @type {number} */ (reader.readInt32());
msg.setNumber(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getPath();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getNumber();
if (f !== 0) {
writer.writeInt32(
2,
f
);
}
};
/**
* optional string path = 1;
* @return {string}
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.prototype.getPath = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.prototype.setPath = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional int32 number = 2;
* @return {number}
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.prototype.getNumber = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality.prototype.setNumber = function(value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
/**
* optional Cardinality cardinality = 1;
* @return {?proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality}
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.prototype.getCardinality = function() {
return /** @type{?proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality} */ (
jspb.Message.getWrapperField(this, proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality, 1));
};
/**
* @param {?proto.google.cloud.runtimeconfig.v1beta1.EndCondition.Cardinality|undefined} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.EndCondition} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.prototype.setCardinality = function(value) {
return jspb.Message.setOneofWrapperField(this, 1, proto.google.cloud.runtimeconfig.v1beta1.EndCondition.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.EndCondition} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.prototype.clearCardinality = function() {
return this.setCardinality(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.prototype.hasCardinality = function() {
return jspb.Message.getField(this, 1) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.toObject = function(opt_includeInstance) {
return proto.google.cloud.runtimeconfig.v1beta1.Waiter.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.google.cloud.runtimeconfig.v1beta1.Waiter} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
timeout: (f = msg.getTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f),
failure: (f = msg.getFailure()) && proto.google.cloud.runtimeconfig.v1beta1.EndCondition.toObject(includeInstance, f),
success: (f = msg.getSuccess()) && proto.google.cloud.runtimeconfig.v1beta1.EndCondition.toObject(includeInstance, f),
createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
done: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Waiter}
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.google.cloud.runtimeconfig.v1beta1.Waiter;
return proto.google.cloud.runtimeconfig.v1beta1.Waiter.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.google.cloud.runtimeconfig.v1beta1.Waiter} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Waiter}
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 2:
var value = new google_protobuf_duration_pb.Duration;
reader.readMessage(value,google_protobuf_duration_pb.Duration.deserializeBinaryFromReader);
msg.setTimeout(value);
break;
case 3:
var value = new proto.google.cloud.runtimeconfig.v1beta1.EndCondition;
reader.readMessage(value,proto.google.cloud.runtimeconfig.v1beta1.EndCondition.deserializeBinaryFromReader);
msg.setFailure(value);
break;
case 4:
var value = new proto.google.cloud.runtimeconfig.v1beta1.EndCondition;
reader.readMessage(value,proto.google.cloud.runtimeconfig.v1beta1.EndCondition.deserializeBinaryFromReader);
msg.setSuccess(value);
break;
case 5:
var value = new google_protobuf_timestamp_pb.Timestamp;
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
msg.setCreateTime(value);
break;
case 6:
var value = /** @type {boolean} */ (reader.readBool());
msg.setDone(value);
break;
case 7:
var value = new google_rpc_status_pb.Status;
reader.readMessage(value,google_rpc_status_pb.Status.deserializeBinaryFromReader);
msg.setError(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.google.cloud.runtimeconfig.v1beta1.Waiter.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.google.cloud.runtimeconfig.v1beta1.Waiter} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getTimeout();
if (f != null) {
writer.writeMessage(
2,
f,
google_protobuf_duration_pb.Duration.serializeBinaryToWriter
);
}
f = message.getFailure();
if (f != null) {
writer.writeMessage(
3,
f,
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.serializeBinaryToWriter
);
}
f = message.getSuccess();
if (f != null) {
writer.writeMessage(
4,
f,
proto.google.cloud.runtimeconfig.v1beta1.EndCondition.serializeBinaryToWriter
);
}
f = message.getCreateTime();
if (f != null) {
writer.writeMessage(
5,
f,
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
);
}
f = message.getDone();
if (f) {
writer.writeBool(
6,
f
);
}
f = message.getError();
if (f != null) {
writer.writeMessage(
7,
f,
google_rpc_status_pb.Status.serializeBinaryToWriter
);
}
};
/**
* optional string name = 1;
* @return {string}
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Waiter} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional google.protobuf.Duration timeout = 2;
* @return {?proto.google.protobuf.Duration}
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.getTimeout = function() {
return /** @type{?proto.google.protobuf.Duration} */ (
jspb.Message.getWrapperField(this, google_protobuf_duration_pb.Duration, 2));
};
/**
* @param {?proto.google.protobuf.Duration|undefined} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Waiter} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.setTimeout = function(value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Waiter} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.clearTimeout = function() {
return this.setTimeout(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.hasTimeout = function() {
return jspb.Message.getField(this, 2) != null;
};
/**
* optional EndCondition failure = 3;
* @return {?proto.google.cloud.runtimeconfig.v1beta1.EndCondition}
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.getFailure = function() {
return /** @type{?proto.google.cloud.runtimeconfig.v1beta1.EndCondition} */ (
jspb.Message.getWrapperField(this, proto.google.cloud.runtimeconfig.v1beta1.EndCondition, 3));
};
/**
* @param {?proto.google.cloud.runtimeconfig.v1beta1.EndCondition|undefined} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Waiter} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.setFailure = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Waiter} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.clearFailure = function() {
return this.setFailure(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.hasFailure = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional EndCondition success = 4;
* @return {?proto.google.cloud.runtimeconfig.v1beta1.EndCondition}
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.getSuccess = function() {
return /** @type{?proto.google.cloud.runtimeconfig.v1beta1.EndCondition} */ (
jspb.Message.getWrapperField(this, proto.google.cloud.runtimeconfig.v1beta1.EndCondition, 4));
};
/**
* @param {?proto.google.cloud.runtimeconfig.v1beta1.EndCondition|undefined} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Waiter} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.setSuccess = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Waiter} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.clearSuccess = function() {
return this.setSuccess(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.hasSuccess = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional google.protobuf.Timestamp create_time = 5;
* @return {?proto.google.protobuf.Timestamp}
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.getCreateTime = function() {
return /** @type{?proto.google.protobuf.Timestamp} */ (
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
};
/**
* @param {?proto.google.protobuf.Timestamp|undefined} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Waiter} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.setCreateTime = function(value) {
return jspb.Message.setWrapperField(this, 5, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Waiter} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.clearCreateTime = function() {
return this.setCreateTime(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.hasCreateTime = function() {
return jspb.Message.getField(this, 5) != null;
};
/**
* optional bool done = 6;
* @return {boolean}
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.getDone = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
};
/**
* @param {boolean} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Waiter} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.setDone = function(value) {
return jspb.Message.setProto3BooleanField(this, 6, value);
};
/**
* optional google.rpc.Status error = 7;
* @return {?proto.google.rpc.Status}
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.getError = function() {
return /** @type{?proto.google.rpc.Status} */ (
jspb.Message.getWrapperField(this, google_rpc_status_pb.Status, 7));
};
/**
* @param {?proto.google.rpc.Status|undefined} value
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Waiter} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.setError = function(value) {
return jspb.Message.setWrapperField(this, 7, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.google.cloud.runtimeconfig.v1beta1.Waiter} returns this
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.clearError = function() {
return this.setError(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.cloud.runtimeconfig.v1beta1.Waiter.prototype.hasError = function() {
return jspb.Message.getField(this, 7) != null;
};
/**
* @enum {number}
*/
proto.google.cloud.runtimeconfig.v1beta1.VariableState = {
VARIABLE_STATE_UNSPECIFIED: 0,
UPDATED: 1,
DELETED: 2
};
goog.object.extend(exports, proto.google.cloud.runtimeconfig.v1beta1);