@ondewo/csi-client-nodejs
Version:
ONDEWO Communication System Integration (CSI) Client library for Nodejs
1,618 lines (1,411 loc) • 82.4 kB
JavaScript
// source: google/cloud/support/common.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_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
goog.object.extend(proto, google_protobuf_timestamp_pb);
goog.exportSymbol('proto.google.cloud.support.common.Case', null, global);
goog.exportSymbol('proto.google.cloud.support.common.Case.Priority', null, global);
goog.exportSymbol('proto.google.cloud.support.common.Case.State', null, global);
goog.exportSymbol('proto.google.cloud.support.common.Comment', null, global);
goog.exportSymbol('proto.google.cloud.support.common.CustomerIssue', null, global);
goog.exportSymbol('proto.google.cloud.support.common.CustomerIssue.IssueState', null, global);
goog.exportSymbol('proto.google.cloud.support.common.IssueTaxonomy', null, global);
goog.exportSymbol('proto.google.cloud.support.common.IssueTaxonomy.Category', null, global);
goog.exportSymbol('proto.google.cloud.support.common.IssueTaxonomy.Component', null, global);
goog.exportSymbol('proto.google.cloud.support.common.SupportAccount', null, global);
goog.exportSymbol('proto.google.cloud.support.common.SupportAccount.PricingModel', null, global);
goog.exportSymbol('proto.google.cloud.support.common.SupportAccount.State', null, global);
goog.exportSymbol('proto.google.cloud.support.common.SupportRole', null, global);
goog.exportSymbol('proto.google.cloud.support.common.SupportRole.Role', 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.support.common.SupportAccount = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.cloud.support.common.SupportAccount, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.cloud.support.common.SupportAccount.displayName = 'proto.google.cloud.support.common.SupportAccount';
}
/**
* 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.support.common.Case = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.cloud.support.common.Case.repeatedFields_, null);
};
goog.inherits(proto.google.cloud.support.common.Case, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.cloud.support.common.Case.displayName = 'proto.google.cloud.support.common.Case';
}
/**
* 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.support.common.CustomerIssue = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.cloud.support.common.CustomerIssue, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.cloud.support.common.CustomerIssue.displayName = 'proto.google.cloud.support.common.CustomerIssue';
}
/**
* 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.support.common.SupportRole = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.cloud.support.common.SupportRole, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.cloud.support.common.SupportRole.displayName = 'proto.google.cloud.support.common.SupportRole';
}
/**
* 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.support.common.Comment = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.cloud.support.common.Comment, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.cloud.support.common.Comment.displayName = 'proto.google.cloud.support.common.Comment';
}
/**
* 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.support.common.IssueTaxonomy = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.cloud.support.common.IssueTaxonomy, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.cloud.support.common.IssueTaxonomy.displayName = 'proto.google.cloud.support.common.IssueTaxonomy';
}
/**
* 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.support.common.IssueTaxonomy.Component = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.cloud.support.common.IssueTaxonomy.Component.repeatedFields_, null);
};
goog.inherits(proto.google.cloud.support.common.IssueTaxonomy.Component, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.cloud.support.common.IssueTaxonomy.Component.displayName = 'proto.google.cloud.support.common.IssueTaxonomy.Component';
}
/**
* 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.support.common.IssueTaxonomy.Category = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.google.cloud.support.common.IssueTaxonomy.Category, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.google.cloud.support.common.IssueTaxonomy.Category.displayName = 'proto.google.cloud.support.common.IssueTaxonomy.Category';
}
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.support.common.SupportAccount.prototype.toObject = function(opt_includeInstance) {
return proto.google.cloud.support.common.SupportAccount.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.support.common.SupportAccount} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.cloud.support.common.SupportAccount.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
accountId: jspb.Message.getFieldWithDefault(msg, 2, ""),
cloudResource: jspb.Message.getFieldWithDefault(msg, 3, ""),
displayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
state: jspb.Message.getFieldWithDefault(msg, 5, 0),
createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
billingAccountName: jspb.Message.getFieldWithDefault(msg, 7, ""),
unifyAccountId: jspb.Message.getFieldWithDefault(msg, 8, ""),
pricingModel: jspb.Message.getFieldWithDefault(msg, 9, 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.support.common.SupportAccount}
*/
proto.google.cloud.support.common.SupportAccount.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.google.cloud.support.common.SupportAccount;
return proto.google.cloud.support.common.SupportAccount.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.google.cloud.support.common.SupportAccount} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.google.cloud.support.common.SupportAccount}
*/
proto.google.cloud.support.common.SupportAccount.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.setAccountId(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setCloudResource(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setDisplayName(value);
break;
case 5:
var value = /** @type {!proto.google.cloud.support.common.SupportAccount.State} */ (reader.readEnum());
msg.setState(value);
break;
case 6:
var value = new google_protobuf_timestamp_pb.Timestamp;
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
msg.setCreateTime(value);
break;
case 7:
var value = /** @type {string} */ (reader.readString());
msg.setBillingAccountName(value);
break;
case 8:
var value = /** @type {string} */ (reader.readString());
msg.setUnifyAccountId(value);
break;
case 9:
var value = /** @type {!proto.google.cloud.support.common.SupportAccount.PricingModel} */ (reader.readEnum());
msg.setPricingModel(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.google.cloud.support.common.SupportAccount.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.google.cloud.support.common.SupportAccount.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.support.common.SupportAccount} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.cloud.support.common.SupportAccount.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getAccountId();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
f = message.getCloudResource();
if (f.length > 0) {
writer.writeString(
3,
f
);
}
f = message.getDisplayName();
if (f.length > 0) {
writer.writeString(
4,
f
);
}
f = message.getState();
if (f !== 0.0) {
writer.writeEnum(
5,
f
);
}
f = message.getCreateTime();
if (f != null) {
writer.writeMessage(
6,
f,
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
);
}
f = message.getBillingAccountName();
if (f.length > 0) {
writer.writeString(
7,
f
);
}
f = message.getUnifyAccountId();
if (f.length > 0) {
writer.writeString(
8,
f
);
}
f = message.getPricingModel();
if (f !== 0.0) {
writer.writeEnum(
9,
f
);
}
};
/**
* @enum {number}
*/
proto.google.cloud.support.common.SupportAccount.State = {
STATE_UNSPECIFIED: 0,
ACTIVE: 1,
PENDING: 2,
PENDING_DELETION: 3
};
/**
* @enum {number}
*/
proto.google.cloud.support.common.SupportAccount.PricingModel = {
PRICING_MODEL_UNKNOWN: 0,
PACKAGES: 1,
USER_ROLES: 2
};
/**
* optional string name = 1;
* @return {string}
*/
proto.google.cloud.support.common.SupportAccount.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.support.common.SupportAccount} returns this
*/
proto.google.cloud.support.common.SupportAccount.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string account_id = 2;
* @return {string}
*/
proto.google.cloud.support.common.SupportAccount.prototype.getAccountId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.support.common.SupportAccount} returns this
*/
proto.google.cloud.support.common.SupportAccount.prototype.setAccountId = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional string cloud_resource = 3;
* @return {string}
*/
proto.google.cloud.support.common.SupportAccount.prototype.getCloudResource = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.support.common.SupportAccount} returns this
*/
proto.google.cloud.support.common.SupportAccount.prototype.setCloudResource = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* optional string display_name = 4;
* @return {string}
*/
proto.google.cloud.support.common.SupportAccount.prototype.getDisplayName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.support.common.SupportAccount} returns this
*/
proto.google.cloud.support.common.SupportAccount.prototype.setDisplayName = function(value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
/**
* optional State state = 5;
* @return {!proto.google.cloud.support.common.SupportAccount.State}
*/
proto.google.cloud.support.common.SupportAccount.prototype.getState = function() {
return /** @type {!proto.google.cloud.support.common.SupportAccount.State} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};
/**
* @param {!proto.google.cloud.support.common.SupportAccount.State} value
* @return {!proto.google.cloud.support.common.SupportAccount} returns this
*/
proto.google.cloud.support.common.SupportAccount.prototype.setState = function(value) {
return jspb.Message.setProto3EnumField(this, 5, value);
};
/**
* optional google.protobuf.Timestamp create_time = 6;
* @return {?proto.google.protobuf.Timestamp}
*/
proto.google.cloud.support.common.SupportAccount.prototype.getCreateTime = function() {
return /** @type{?proto.google.protobuf.Timestamp} */ (
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
};
/**
* @param {?proto.google.protobuf.Timestamp|undefined} value
* @return {!proto.google.cloud.support.common.SupportAccount} returns this
*/
proto.google.cloud.support.common.SupportAccount.prototype.setCreateTime = function(value) {
return jspb.Message.setWrapperField(this, 6, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.google.cloud.support.common.SupportAccount} returns this
*/
proto.google.cloud.support.common.SupportAccount.prototype.clearCreateTime = function() {
return this.setCreateTime(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.cloud.support.common.SupportAccount.prototype.hasCreateTime = function() {
return jspb.Message.getField(this, 6) != null;
};
/**
* optional string billing_account_name = 7;
* @return {string}
*/
proto.google.cloud.support.common.SupportAccount.prototype.getBillingAccountName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.support.common.SupportAccount} returns this
*/
proto.google.cloud.support.common.SupportAccount.prototype.setBillingAccountName = function(value) {
return jspb.Message.setProto3StringField(this, 7, value);
};
/**
* optional string unify_account_id = 8;
* @return {string}
*/
proto.google.cloud.support.common.SupportAccount.prototype.getUnifyAccountId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.support.common.SupportAccount} returns this
*/
proto.google.cloud.support.common.SupportAccount.prototype.setUnifyAccountId = function(value) {
return jspb.Message.setProto3StringField(this, 8, value);
};
/**
* optional PricingModel pricing_model = 9;
* @return {!proto.google.cloud.support.common.SupportAccount.PricingModel}
*/
proto.google.cloud.support.common.SupportAccount.prototype.getPricingModel = function() {
return /** @type {!proto.google.cloud.support.common.SupportAccount.PricingModel} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
};
/**
* @param {!proto.google.cloud.support.common.SupportAccount.PricingModel} value
* @return {!proto.google.cloud.support.common.SupportAccount} returns this
*/
proto.google.cloud.support.common.SupportAccount.prototype.setPricingModel = function(value) {
return jspb.Message.setProto3EnumField(this, 9, value);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.google.cloud.support.common.Case.repeatedFields_ = [7,10];
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.support.common.Case.prototype.toObject = function(opt_includeInstance) {
return proto.google.cloud.support.common.Case.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.support.common.Case} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.cloud.support.common.Case.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
component: jspb.Message.getFieldWithDefault(msg, 4, ""),
subcomponent: jspb.Message.getFieldWithDefault(msg, 5, ""),
clientTimezone: jspb.Message.getFieldWithDefault(msg, 6, ""),
ccAddressesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
projectId: jspb.Message.getFieldWithDefault(msg, 8, ""),
issuesList: jspb.Message.toObjectList(msg.getIssuesList(),
proto.google.cloud.support.common.CustomerIssue.toObject, includeInstance),
priority: jspb.Message.getFieldWithDefault(msg, 11, 0),
state: jspb.Message.getFieldWithDefault(msg, 12, 0),
createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
creatorEmail: jspb.Message.getFieldWithDefault(msg, 15, ""),
category: jspb.Message.getFieldWithDefault(msg, 16, "")
};
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.support.common.Case}
*/
proto.google.cloud.support.common.Case.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.google.cloud.support.common.Case;
return proto.google.cloud.support.common.Case.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.google.cloud.support.common.Case} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.google.cloud.support.common.Case}
*/
proto.google.cloud.support.common.Case.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.setDisplayName(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setDescription(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setComponent(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setSubcomponent(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setClientTimezone(value);
break;
case 7:
var value = /** @type {string} */ (reader.readString());
msg.addCcAddresses(value);
break;
case 8:
var value = /** @type {string} */ (reader.readString());
msg.setProjectId(value);
break;
case 10:
var value = new proto.google.cloud.support.common.CustomerIssue;
reader.readMessage(value,proto.google.cloud.support.common.CustomerIssue.deserializeBinaryFromReader);
msg.addIssues(value);
break;
case 11:
var value = /** @type {!proto.google.cloud.support.common.Case.Priority} */ (reader.readEnum());
msg.setPriority(value);
break;
case 12:
var value = /** @type {!proto.google.cloud.support.common.Case.State} */ (reader.readEnum());
msg.setState(value);
break;
case 13:
var value = new google_protobuf_timestamp_pb.Timestamp;
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
msg.setCreateTime(value);
break;
case 14:
var value = new google_protobuf_timestamp_pb.Timestamp;
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
msg.setUpdateTime(value);
break;
case 15:
var value = /** @type {string} */ (reader.readString());
msg.setCreatorEmail(value);
break;
case 16:
var value = /** @type {string} */ (reader.readString());
msg.setCategory(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.google.cloud.support.common.Case.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.google.cloud.support.common.Case.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.support.common.Case} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.cloud.support.common.Case.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getDisplayName();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
f = message.getDescription();
if (f.length > 0) {
writer.writeString(
3,
f
);
}
f = message.getComponent();
if (f.length > 0) {
writer.writeString(
4,
f
);
}
f = message.getSubcomponent();
if (f.length > 0) {
writer.writeString(
5,
f
);
}
f = message.getClientTimezone();
if (f.length > 0) {
writer.writeString(
6,
f
);
}
f = message.getCcAddressesList();
if (f.length > 0) {
writer.writeRepeatedString(
7,
f
);
}
f = message.getProjectId();
if (f.length > 0) {
writer.writeString(
8,
f
);
}
f = message.getIssuesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
10,
f,
proto.google.cloud.support.common.CustomerIssue.serializeBinaryToWriter
);
}
f = message.getPriority();
if (f !== 0.0) {
writer.writeEnum(
11,
f
);
}
f = message.getState();
if (f !== 0.0) {
writer.writeEnum(
12,
f
);
}
f = message.getCreateTime();
if (f != null) {
writer.writeMessage(
13,
f,
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
);
}
f = message.getUpdateTime();
if (f != null) {
writer.writeMessage(
14,
f,
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
);
}
f = message.getCreatorEmail();
if (f.length > 0) {
writer.writeString(
15,
f
);
}
f = message.getCategory();
if (f.length > 0) {
writer.writeString(
16,
f
);
}
};
/**
* @enum {number}
*/
proto.google.cloud.support.common.Case.Priority = {
PRIORITY_UNSPECIFIED: 0,
P0: 1,
P1: 2,
P2: 3,
P3: 4,
P4: 5
};
/**
* @enum {number}
*/
proto.google.cloud.support.common.Case.State = {
STATE_UNSPECIFIED: 0,
NEW: 1,
ASSIGNED: 2,
IN_PROGRESS_GOOGLE_SUPPORT: 3,
IN_PROGRESS_GOOGLE_ENG: 4,
IN_PROGRESS_KNOWN_ISSUE: 5,
WAITING_FOR_CUSTOMER_RESPONSE: 6,
SOLUTION_OFFERED: 7,
CLOSED: 8
};
/**
* optional string name = 1;
* @return {string}
*/
proto.google.cloud.support.common.Case.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string display_name = 2;
* @return {string}
*/
proto.google.cloud.support.common.Case.prototype.getDisplayName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.setDisplayName = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional string description = 3;
* @return {string}
*/
proto.google.cloud.support.common.Case.prototype.getDescription = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.setDescription = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* optional string component = 4;
* @return {string}
*/
proto.google.cloud.support.common.Case.prototype.getComponent = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.setComponent = function(value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
/**
* optional string subcomponent = 5;
* @return {string}
*/
proto.google.cloud.support.common.Case.prototype.getSubcomponent = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.setSubcomponent = function(value) {
return jspb.Message.setProto3StringField(this, 5, value);
};
/**
* optional string client_timezone = 6;
* @return {string}
*/
proto.google.cloud.support.common.Case.prototype.getClientTimezone = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.setClientTimezone = function(value) {
return jspb.Message.setProto3StringField(this, 6, value);
};
/**
* repeated string cc_addresses = 7;
* @return {!Array<string>}
*/
proto.google.cloud.support.common.Case.prototype.getCcAddressesList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
};
/**
* @param {!Array<string>} value
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.setCcAddressesList = function(value) {
return jspb.Message.setField(this, 7, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.addCcAddresses = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.clearCcAddressesList = function() {
return this.setCcAddressesList([]);
};
/**
* optional string project_id = 8;
* @return {string}
*/
proto.google.cloud.support.common.Case.prototype.getProjectId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.setProjectId = function(value) {
return jspb.Message.setProto3StringField(this, 8, value);
};
/**
* repeated CustomerIssue issues = 10;
* @return {!Array<!proto.google.cloud.support.common.CustomerIssue>}
*/
proto.google.cloud.support.common.Case.prototype.getIssuesList = function() {
return /** @type{!Array<!proto.google.cloud.support.common.CustomerIssue>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.google.cloud.support.common.CustomerIssue, 10));
};
/**
* @param {!Array<!proto.google.cloud.support.common.CustomerIssue>} value
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.setIssuesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 10, value);
};
/**
* @param {!proto.google.cloud.support.common.CustomerIssue=} opt_value
* @param {number=} opt_index
* @return {!proto.google.cloud.support.common.CustomerIssue}
*/
proto.google.cloud.support.common.Case.prototype.addIssues = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.google.cloud.support.common.CustomerIssue, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.clearIssuesList = function() {
return this.setIssuesList([]);
};
/**
* optional Priority priority = 11;
* @return {!proto.google.cloud.support.common.Case.Priority}
*/
proto.google.cloud.support.common.Case.prototype.getPriority = function() {
return /** @type {!proto.google.cloud.support.common.Case.Priority} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
};
/**
* @param {!proto.google.cloud.support.common.Case.Priority} value
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.setPriority = function(value) {
return jspb.Message.setProto3EnumField(this, 11, value);
};
/**
* optional State state = 12;
* @return {!proto.google.cloud.support.common.Case.State}
*/
proto.google.cloud.support.common.Case.prototype.getState = function() {
return /** @type {!proto.google.cloud.support.common.Case.State} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
};
/**
* @param {!proto.google.cloud.support.common.Case.State} value
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.setState = function(value) {
return jspb.Message.setProto3EnumField(this, 12, value);
};
/**
* optional google.protobuf.Timestamp create_time = 13;
* @return {?proto.google.protobuf.Timestamp}
*/
proto.google.cloud.support.common.Case.prototype.getCreateTime = function() {
return /** @type{?proto.google.protobuf.Timestamp} */ (
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 13));
};
/**
* @param {?proto.google.protobuf.Timestamp|undefined} value
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.setCreateTime = function(value) {
return jspb.Message.setWrapperField(this, 13, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.clearCreateTime = function() {
return this.setCreateTime(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.cloud.support.common.Case.prototype.hasCreateTime = function() {
return jspb.Message.getField(this, 13) != null;
};
/**
* optional google.protobuf.Timestamp update_time = 14;
* @return {?proto.google.protobuf.Timestamp}
*/
proto.google.cloud.support.common.Case.prototype.getUpdateTime = function() {
return /** @type{?proto.google.protobuf.Timestamp} */ (
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 14));
};
/**
* @param {?proto.google.protobuf.Timestamp|undefined} value
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.setUpdateTime = function(value) {
return jspb.Message.setWrapperField(this, 14, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.clearUpdateTime = function() {
return this.setUpdateTime(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.cloud.support.common.Case.prototype.hasUpdateTime = function() {
return jspb.Message.getField(this, 14) != null;
};
/**
* optional string creator_email = 15;
* @return {string}
*/
proto.google.cloud.support.common.Case.prototype.getCreatorEmail = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.setCreatorEmail = function(value) {
return jspb.Message.setProto3StringField(this, 15, value);
};
/**
* optional string category = 16;
* @return {string}
*/
proto.google.cloud.support.common.Case.prototype.getCategory = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.support.common.Case} returns this
*/
proto.google.cloud.support.common.Case.prototype.setCategory = function(value) {
return jspb.Message.setProto3StringField(this, 16, value);
};
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.support.common.CustomerIssue.prototype.toObject = function(opt_includeInstance) {
return proto.google.cloud.support.common.CustomerIssue.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.support.common.CustomerIssue} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.cloud.support.common.CustomerIssue.toObject = function(includeInstance, msg) {
var f, obj = {
issueId: jspb.Message.getFieldWithDefault(msg, 1, ""),
state: jspb.Message.getFieldWithDefault(msg, 2, 0),
createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
resolveTime: (f = msg.getResolveTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.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.support.common.CustomerIssue}
*/
proto.google.cloud.support.common.CustomerIssue.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.google.cloud.support.common.CustomerIssue;
return proto.google.cloud.support.common.CustomerIssue.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.google.cloud.support.common.CustomerIssue} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.google.cloud.support.common.CustomerIssue}
*/
proto.google.cloud.support.common.CustomerIssue.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.setIssueId(value);
break;
case 2:
var value = /** @type {!proto.google.cloud.support.common.CustomerIssue.IssueState} */ (reader.readEnum());
msg.setState(value);
break;
case 3:
var value = new google_protobuf_timestamp_pb.Timestamp;
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
msg.setCreateTime(value);
break;
case 4:
var value = new google_protobuf_timestamp_pb.Timestamp;
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
msg.setResolveTime(value);
break;
case 5:
var value = new google_protobuf_timestamp_pb.Timestamp;
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
msg.setUpdateTime(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.google.cloud.support.common.CustomerIssue.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.google.cloud.support.common.CustomerIssue.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.support.common.CustomerIssue} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.google.cloud.support.common.CustomerIssue.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getIssueId();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getState();
if (f !== 0.0) {
writer.writeEnum(
2,
f
);
}
f = message.getCreateTime();
if (f != null) {
writer.writeMessage(
3,
f,
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
);
}
f = message.getResolveTime();
if (f != null) {
writer.writeMessage(
4,
f,
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
);
}
f = message.getUpdateTime();
if (f != null) {
writer.writeMessage(
5,
f,
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
);
}
};
/**
* @enum {number}
*/
proto.google.cloud.support.common.CustomerIssue.IssueState = {
ISSUE_STATE_UNSPECIFIED: 0,
OPEN: 1,
IN_PROGRESS: 2,
FIXED: 3,
WONT_FIX: 4,
VERIFIED: 5
};
/**
* optional string issue_id = 1;
* @return {string}
*/
proto.google.cloud.support.common.CustomerIssue.prototype.getIssueId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.google.cloud.support.common.CustomerIssue} returns this
*/
proto.google.cloud.support.common.CustomerIssue.prototype.setIssueId = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional IssueState state = 2;
* @return {!proto.google.cloud.support.common.CustomerIssue.IssueState}
*/
proto.google.cloud.support.common.CustomerIssue.prototype.getState = function() {
return /** @type {!proto.google.cloud.support.common.CustomerIssue.IssueState} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {!proto.google.cloud.support.common.CustomerIssue.IssueState} value
* @return {!proto.google.cloud.support.common.CustomerIssue} returns this
*/
proto.google.cloud.support.common.CustomerIssue.prototype.setState = function(value) {
return jspb.Message.setProto3EnumField(this, 2, value);
};
/**
* optional google.protobuf.Timestamp create_time = 3;
* @return {?proto.google.protobuf.Timestamp}
*/
proto.google.cloud.support.common.CustomerIssue.prototype.getCreateTime = 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.support.common.CustomerIssue} returns this
*/
proto.google.cloud.support.common.CustomerIssue.prototype.setCreateTime = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.google.cloud.support.common.CustomerIssue} returns this
*/
proto.google.cloud.support.common.CustomerIssue.prototype.clearCreateTime = function() {
return this.setCreateTime(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.cloud.support.common.CustomerIssue.prototype.hasCreateTime = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
* optional google.protobuf.Timestamp resolve_time = 4;
* @return {?proto.google.protobuf.Timestamp}
*/
proto.google.cloud.support.common.CustomerIssue.prototype.getResolveTime = function() {
return /** @type{?proto.google.protobuf.Timestamp} */ (
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
};
/**
* @param {?proto.google.protobuf.Timestamp|undefined} value
* @return {!proto.google.cloud.support.common.CustomerIssue} returns this
*/
proto.google.cloud.support.common.CustomerIssue.prototype.setResolveTime = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.google.cloud.support.common.CustomerIssue} returns this
*/
proto.google.cloud.support.common.CustomerIssue.prototype.clearResolveTime = function() {
return this.setResolveTime(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.cloud.support.common.CustomerIssue.prototype.hasResolveTime = function() {
return jspb.Message.getField(this, 4) != null;
};
/**
* optional google.protobuf.Timestamp update_time = 5;
* @return {?proto.google.protobuf.Timestamp}
*/
proto.google.cloud.support.common.CustomerIssue.prototype.getUpdateTime = 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.support.common.CustomerIssue} returns this
*/
proto.google.cloud.support.common.CustomerIssue.prototype.setUpdateTime = function(value) {
return jspb.Message.setWrapperField(this, 5, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.google.cloud.support.common.CustomerIssue} returns this
*/
proto.google.cloud.support.common.CustomerIssue.prototype.clearUpdateTime = function() {
return this.setUpdateTime(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.google.cloud.support.common.CustomerIssue.prototype.hasUpdateTime = function() {
return jspb.Message.getField(this, 5) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this p