@ondewo/csi-client-nodejs
Version:
ONDEWO Communication System Integration (CSI) Client library for Nodejs
1,645 lines (1,480 loc) • 136 kB
JavaScript
// source: ondewo/nlu/ccai_project.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_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
goog.object.extend(proto, google_protobuf_field_mask_pb);
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
goog.object.extend(proto, google_protobuf_struct_pb);
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
goog.object.extend(proto, google_protobuf_timestamp_pb);
var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js');
goog.object.extend(proto, ondewo_nlu_common_pb);
goog.exportSymbol('proto.ondewo.nlu.CcaiProject', null, global);
goog.exportSymbol('proto.ondewo.nlu.CcaiProjectSorting', null, global);
goog.exportSymbol('proto.ondewo.nlu.CcaiProjectSorting.CcaiProjectSortingField', null, global);
goog.exportSymbol('proto.ondewo.nlu.CcaiProjectStatus', null, global);
goog.exportSymbol('proto.ondewo.nlu.CcaiProjectView', null, global);
goog.exportSymbol('proto.ondewo.nlu.CcaiService', null, global);
goog.exportSymbol('proto.ondewo.nlu.CcaiServiceFilter', null, global);
goog.exportSymbol('proto.ondewo.nlu.CcaiServiceList', null, global);
goog.exportSymbol('proto.ondewo.nlu.CcaiServiceProvider', null, global);
goog.exportSymbol('proto.ondewo.nlu.CcaiServiceType', null, global);
goog.exportSymbol('proto.ondewo.nlu.CreateCcaiProjectRequest', null, global);
goog.exportSymbol('proto.ondewo.nlu.CreateCcaiProjectResponse', null, global);
goog.exportSymbol('proto.ondewo.nlu.DeleteCcaiProjectRequest', null, global);
goog.exportSymbol('proto.ondewo.nlu.DeleteCcaiProjectResponse', null, global);
goog.exportSymbol('proto.ondewo.nlu.GetCcaiProjectRequest', null, global);
goog.exportSymbol('proto.ondewo.nlu.GetCcaiServiceRequest', null, global);
goog.exportSymbol('proto.ondewo.nlu.ListCcaiProjectsRequest', null, global);
goog.exportSymbol('proto.ondewo.nlu.ListCcaiProjectsResponse', null, global);
goog.exportSymbol('proto.ondewo.nlu.UpdateCcaiProjectRequest', null, global);
goog.exportSymbol('proto.ondewo.nlu.UpdateCcaiProjectResponse', 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.ondewo.nlu.CcaiProject = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ondewo.nlu.CcaiProject, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ondewo.nlu.CcaiProject.displayName = 'proto.ondewo.nlu.CcaiProject';
}
/**
* 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.ondewo.nlu.CcaiServiceList = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.CcaiServiceList.repeatedFields_, null);
};
goog.inherits(proto.ondewo.nlu.CcaiServiceList, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ondewo.nlu.CcaiServiceList.displayName = 'proto.ondewo.nlu.CcaiServiceList';
}
/**
* 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.ondewo.nlu.CcaiService = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ondewo.nlu.CcaiService, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ondewo.nlu.CcaiService.displayName = 'proto.ondewo.nlu.CcaiService';
}
/**
* 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.ondewo.nlu.CreateCcaiProjectRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ondewo.nlu.CreateCcaiProjectRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ondewo.nlu.CreateCcaiProjectRequest.displayName = 'proto.ondewo.nlu.CreateCcaiProjectRequest';
}
/**
* 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.ondewo.nlu.CreateCcaiProjectResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ondewo.nlu.CreateCcaiProjectResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ondewo.nlu.CreateCcaiProjectResponse.displayName = 'proto.ondewo.nlu.CreateCcaiProjectResponse';
}
/**
* 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.ondewo.nlu.GetCcaiProjectRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ondewo.nlu.GetCcaiProjectRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ondewo.nlu.GetCcaiProjectRequest.displayName = 'proto.ondewo.nlu.GetCcaiProjectRequest';
}
/**
* 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.ondewo.nlu.GetCcaiServiceRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ondewo.nlu.GetCcaiServiceRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ondewo.nlu.GetCcaiServiceRequest.displayName = 'proto.ondewo.nlu.GetCcaiServiceRequest';
}
/**
* 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.ondewo.nlu.ListCcaiProjectsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ondewo.nlu.ListCcaiProjectsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ondewo.nlu.ListCcaiProjectsRequest.displayName = 'proto.ondewo.nlu.ListCcaiProjectsRequest';
}
/**
* 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.ondewo.nlu.ListCcaiProjectsResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.ListCcaiProjectsResponse.repeatedFields_, null);
};
goog.inherits(proto.ondewo.nlu.ListCcaiProjectsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ondewo.nlu.ListCcaiProjectsResponse.displayName = 'proto.ondewo.nlu.ListCcaiProjectsResponse';
}
/**
* 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.ondewo.nlu.CcaiProjectSorting = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ondewo.nlu.CcaiProjectSorting, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ondewo.nlu.CcaiProjectSorting.displayName = 'proto.ondewo.nlu.CcaiProjectSorting';
}
/**
* 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.ondewo.nlu.CcaiServiceFilter = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.CcaiServiceFilter.repeatedFields_, null);
};
goog.inherits(proto.ondewo.nlu.CcaiServiceFilter, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ondewo.nlu.CcaiServiceFilter.displayName = 'proto.ondewo.nlu.CcaiServiceFilter';
}
/**
* 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.ondewo.nlu.UpdateCcaiProjectRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ondewo.nlu.UpdateCcaiProjectRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ondewo.nlu.UpdateCcaiProjectRequest.displayName = 'proto.ondewo.nlu.UpdateCcaiProjectRequest';
}
/**
* 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.ondewo.nlu.UpdateCcaiProjectResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ondewo.nlu.UpdateCcaiProjectResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ondewo.nlu.UpdateCcaiProjectResponse.displayName = 'proto.ondewo.nlu.UpdateCcaiProjectResponse';
}
/**
* 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.ondewo.nlu.DeleteCcaiProjectRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ondewo.nlu.DeleteCcaiProjectRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ondewo.nlu.DeleteCcaiProjectRequest.displayName = 'proto.ondewo.nlu.DeleteCcaiProjectRequest';
}
/**
* 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.ondewo.nlu.DeleteCcaiProjectResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ondewo.nlu.DeleteCcaiProjectResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ondewo.nlu.DeleteCcaiProjectResponse.displayName = 'proto.ondewo.nlu.DeleteCcaiProjectResponse';
}
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.ondewo.nlu.CcaiProject.prototype.toObject = function(opt_includeInstance) {
return proto.ondewo.nlu.CcaiProject.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.ondewo.nlu.CcaiProject} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ondewo.nlu.CcaiProject.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
ownerName: jspb.Message.getFieldWithDefault(msg, 3, ""),
ccaiServicesMapMap: (f = msg.getCcaiServicesMapMap()) ? f.toObject(includeInstance, proto.ondewo.nlu.CcaiServiceList.toObject) : [],
ccaiProjectStatus: jspb.Message.getFieldWithDefault(msg, 5, 0),
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
nluProjectName: jspb.Message.getFieldWithDefault(msg, 10, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ondewo.nlu.CcaiProject}
*/
proto.ondewo.nlu.CcaiProject.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ondewo.nlu.CcaiProject;
return proto.ondewo.nlu.CcaiProject.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ondewo.nlu.CcaiProject} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ondewo.nlu.CcaiProject}
*/
proto.ondewo.nlu.CcaiProject.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.setOwnerName(value);
break;
case 4:
var value = msg.getCcaiServicesMapMap();
reader.readMessage(value, function(message, reader) {
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ondewo.nlu.CcaiServiceList.deserializeBinaryFromReader, "", new proto.ondewo.nlu.CcaiServiceList());
});
break;
case 5:
var value = /** @type {!proto.ondewo.nlu.CcaiProjectStatus} */ (reader.readEnum());
msg.setCcaiProjectStatus(value);
break;
case 6:
var value = new google_protobuf_timestamp_pb.Timestamp;
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
msg.setCreatedAt(value);
break;
case 7:
var value = new google_protobuf_timestamp_pb.Timestamp;
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
msg.setModifiedAt(value);
break;
case 8:
var value = /** @type {string} */ (reader.readString());
msg.setCreatedBy(value);
break;
case 9:
var value = /** @type {string} */ (reader.readString());
msg.setModifiedBy(value);
break;
case 10:
var value = /** @type {string} */ (reader.readString());
msg.setNluProjectName(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ondewo.nlu.CcaiProject.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ondewo.nlu.CcaiProject.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ondewo.nlu.CcaiProject} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ondewo.nlu.CcaiProject.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.getOwnerName();
if (f.length > 0) {
writer.writeString(
3,
f
);
}
f = message.getCcaiServicesMapMap(true);
if (f && f.getLength() > 0) {
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ondewo.nlu.CcaiServiceList.serializeBinaryToWriter);
}
f = message.getCcaiProjectStatus();
if (f !== 0.0) {
writer.writeEnum(
5,
f
);
}
f = message.getCreatedAt();
if (f != null) {
writer.writeMessage(
6,
f,
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
);
}
f = message.getModifiedAt();
if (f != null) {
writer.writeMessage(
7,
f,
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
);
}
f = message.getCreatedBy();
if (f.length > 0) {
writer.writeString(
8,
f
);
}
f = message.getModifiedBy();
if (f.length > 0) {
writer.writeString(
9,
f
);
}
f = message.getNluProjectName();
if (f.length > 0) {
writer.writeString(
10,
f
);
}
};
/**
* optional string name = 1;
* @return {string}
*/
proto.ondewo.nlu.CcaiProject.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiProject} returns this
*/
proto.ondewo.nlu.CcaiProject.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string display_name = 2;
* @return {string}
*/
proto.ondewo.nlu.CcaiProject.prototype.getDisplayName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiProject} returns this
*/
proto.ondewo.nlu.CcaiProject.prototype.setDisplayName = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional string owner_name = 3;
* @return {string}
*/
proto.ondewo.nlu.CcaiProject.prototype.getOwnerName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiProject} returns this
*/
proto.ondewo.nlu.CcaiProject.prototype.setOwnerName = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* map<string, CcaiServiceList> ccai_services_map = 4;
* @param {boolean=} opt_noLazyCreate Do not create the map if
* empty, instead returning `undefined`
* @return {!jspb.Map<string,!proto.ondewo.nlu.CcaiServiceList>}
*/
proto.ondewo.nlu.CcaiProject.prototype.getCcaiServicesMapMap = function(opt_noLazyCreate) {
return /** @type {!jspb.Map<string,!proto.ondewo.nlu.CcaiServiceList>} */ (
jspb.Message.getMapField(this, 4, opt_noLazyCreate,
proto.ondewo.nlu.CcaiServiceList));
};
/**
* Clears values from the map. The map will be non-null.
* @return {!proto.ondewo.nlu.CcaiProject} returns this
*/
proto.ondewo.nlu.CcaiProject.prototype.clearCcaiServicesMapMap = function() {
this.getCcaiServicesMapMap().clear();
return this;};
/**
* optional CcaiProjectStatus ccai_project_status = 5;
* @return {!proto.ondewo.nlu.CcaiProjectStatus}
*/
proto.ondewo.nlu.CcaiProject.prototype.getCcaiProjectStatus = function() {
return /** @type {!proto.ondewo.nlu.CcaiProjectStatus} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};
/**
* @param {!proto.ondewo.nlu.CcaiProjectStatus} value
* @return {!proto.ondewo.nlu.CcaiProject} returns this
*/
proto.ondewo.nlu.CcaiProject.prototype.setCcaiProjectStatus = function(value) {
return jspb.Message.setProto3EnumField(this, 5, value);
};
/**
* optional google.protobuf.Timestamp created_at = 6;
* @return {?proto.google.protobuf.Timestamp}
*/
proto.ondewo.nlu.CcaiProject.prototype.getCreatedAt = 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.ondewo.nlu.CcaiProject} returns this
*/
proto.ondewo.nlu.CcaiProject.prototype.setCreatedAt = function(value) {
return jspb.Message.setWrapperField(this, 6, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ondewo.nlu.CcaiProject} returns this
*/
proto.ondewo.nlu.CcaiProject.prototype.clearCreatedAt = function() {
return this.setCreatedAt(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ondewo.nlu.CcaiProject.prototype.hasCreatedAt = function() {
return jspb.Message.getField(this, 6) != null;
};
/**
* optional google.protobuf.Timestamp modified_at = 7;
* @return {?proto.google.protobuf.Timestamp}
*/
proto.ondewo.nlu.CcaiProject.prototype.getModifiedAt = function() {
return /** @type{?proto.google.protobuf.Timestamp} */ (
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
};
/**
* @param {?proto.google.protobuf.Timestamp|undefined} value
* @return {!proto.ondewo.nlu.CcaiProject} returns this
*/
proto.ondewo.nlu.CcaiProject.prototype.setModifiedAt = function(value) {
return jspb.Message.setWrapperField(this, 7, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ondewo.nlu.CcaiProject} returns this
*/
proto.ondewo.nlu.CcaiProject.prototype.clearModifiedAt = function() {
return this.setModifiedAt(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.ondewo.nlu.CcaiProject.prototype.hasModifiedAt = function() {
return jspb.Message.getField(this, 7) != null;
};
/**
* optional string created_by = 8;
* @return {string}
*/
proto.ondewo.nlu.CcaiProject.prototype.getCreatedBy = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiProject} returns this
*/
proto.ondewo.nlu.CcaiProject.prototype.setCreatedBy = function(value) {
return jspb.Message.setProto3StringField(this, 8, value);
};
/**
* optional string modified_by = 9;
* @return {string}
*/
proto.ondewo.nlu.CcaiProject.prototype.getModifiedBy = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiProject} returns this
*/
proto.ondewo.nlu.CcaiProject.prototype.setModifiedBy = function(value) {
return jspb.Message.setProto3StringField(this, 9, value);
};
/**
* optional string nlu_project_name = 10;
* @return {string}
*/
proto.ondewo.nlu.CcaiProject.prototype.getNluProjectName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiProject} returns this
*/
proto.ondewo.nlu.CcaiProject.prototype.setNluProjectName = function(value) {
return jspb.Message.setProto3StringField(this, 10, value);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.ondewo.nlu.CcaiServiceList.repeatedFields_ = [1];
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.ondewo.nlu.CcaiServiceList.prototype.toObject = function(opt_includeInstance) {
return proto.ondewo.nlu.CcaiServiceList.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.ondewo.nlu.CcaiServiceList} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ondewo.nlu.CcaiServiceList.toObject = function(includeInstance, msg) {
var f, obj = {
ccaiServicesList: jspb.Message.toObjectList(msg.getCcaiServicesList(),
proto.ondewo.nlu.CcaiService.toObject, includeInstance)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ondewo.nlu.CcaiServiceList}
*/
proto.ondewo.nlu.CcaiServiceList.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ondewo.nlu.CcaiServiceList;
return proto.ondewo.nlu.CcaiServiceList.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ondewo.nlu.CcaiServiceList} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ondewo.nlu.CcaiServiceList}
*/
proto.ondewo.nlu.CcaiServiceList.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new proto.ondewo.nlu.CcaiService;
reader.readMessage(value,proto.ondewo.nlu.CcaiService.deserializeBinaryFromReader);
msg.addCcaiServices(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ondewo.nlu.CcaiServiceList.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ondewo.nlu.CcaiServiceList.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ondewo.nlu.CcaiServiceList} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ondewo.nlu.CcaiServiceList.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getCcaiServicesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
proto.ondewo.nlu.CcaiService.serializeBinaryToWriter
);
}
};
/**
* repeated CcaiService ccai_services = 1;
* @return {!Array<!proto.ondewo.nlu.CcaiService>}
*/
proto.ondewo.nlu.CcaiServiceList.prototype.getCcaiServicesList = function() {
return /** @type{!Array<!proto.ondewo.nlu.CcaiService>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.CcaiService, 1));
};
/**
* @param {!Array<!proto.ondewo.nlu.CcaiService>} value
* @return {!proto.ondewo.nlu.CcaiServiceList} returns this
*/
proto.ondewo.nlu.CcaiServiceList.prototype.setCcaiServicesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
* @param {!proto.ondewo.nlu.CcaiService=} opt_value
* @param {number=} opt_index
* @return {!proto.ondewo.nlu.CcaiService}
*/
proto.ondewo.nlu.CcaiServiceList.prototype.addCcaiServices = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ondewo.nlu.CcaiService, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.ondewo.nlu.CcaiServiceList} returns this
*/
proto.ondewo.nlu.CcaiServiceList.prototype.clearCcaiServicesList = function() {
return this.setCcaiServicesList([]);
};
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.ondewo.nlu.CcaiService.prototype.toObject = function(opt_includeInstance) {
return proto.ondewo.nlu.CcaiService.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.ondewo.nlu.CcaiService} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ondewo.nlu.CcaiService.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
grpcHost: jspb.Message.getFieldWithDefault(msg, 4, ""),
grpcPort: jspb.Message.getFieldWithDefault(msg, 5, 0),
webgrpcHost: jspb.Message.getFieldWithDefault(msg, 6, ""),
webgrpcPort: jspb.Message.getFieldWithDefault(msg, 7, 0),
grpcCert: jspb.Message.getFieldWithDefault(msg, 8, ""),
host: jspb.Message.getFieldWithDefault(msg, 9, ""),
port: jspb.Message.getFieldWithDefault(msg, 10, 0),
port2: jspb.Message.getFieldWithDefault(msg, 11, 0),
httpBasicAuthToken: jspb.Message.getFieldWithDefault(msg, 12, ""),
accountName: jspb.Message.getFieldWithDefault(msg, 13, ""),
accountPassword: jspb.Message.getFieldWithDefault(msg, 14, ""),
apiKey: jspb.Message.getFieldWithDefault(msg, 15, ""),
ccaiServiceType: jspb.Message.getFieldWithDefault(msg, 16, 0),
ccaiProjectName: jspb.Message.getFieldWithDefault(msg, 17, ""),
ccaiServiceConfig: (f = msg.getCcaiServiceConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
createdBy: jspb.Message.getFieldWithDefault(msg, 21, ""),
modifiedBy: jspb.Message.getFieldWithDefault(msg, 22, ""),
headers: (f = msg.getHeaders()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
ccaiServiceProvider: jspb.Message.getFieldWithDefault(msg, 24, 0),
serviceHierarchy: jspb.Message.getFieldWithDefault(msg, 25, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.ondewo.nlu.CcaiService}
*/
proto.ondewo.nlu.CcaiService.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.ondewo.nlu.CcaiService;
return proto.ondewo.nlu.CcaiService.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.ondewo.nlu.CcaiService} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.ondewo.nlu.CcaiService}
*/
proto.ondewo.nlu.CcaiService.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.setLanguageCode(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setGrpcHost(value);
break;
case 5:
var value = /** @type {number} */ (reader.readInt32());
msg.setGrpcPort(value);
break;
case 6:
var value = /** @type {string} */ (reader.readString());
msg.setWebgrpcHost(value);
break;
case 7:
var value = /** @type {number} */ (reader.readInt32());
msg.setWebgrpcPort(value);
break;
case 8:
var value = /** @type {string} */ (reader.readString());
msg.setGrpcCert(value);
break;
case 9:
var value = /** @type {string} */ (reader.readString());
msg.setHost(value);
break;
case 10:
var value = /** @type {number} */ (reader.readInt32());
msg.setPort(value);
break;
case 11:
var value = /** @type {number} */ (reader.readInt32());
msg.setPort2(value);
break;
case 12:
var value = /** @type {string} */ (reader.readString());
msg.setHttpBasicAuthToken(value);
break;
case 13:
var value = /** @type {string} */ (reader.readString());
msg.setAccountName(value);
break;
case 14:
var value = /** @type {string} */ (reader.readString());
msg.setAccountPassword(value);
break;
case 15:
var value = /** @type {string} */ (reader.readString());
msg.setApiKey(value);
break;
case 16:
var value = /** @type {!proto.ondewo.nlu.CcaiServiceType} */ (reader.readEnum());
msg.setCcaiServiceType(value);
break;
case 17:
var value = /** @type {string} */ (reader.readString());
msg.setCcaiProjectName(value);
break;
case 18:
var value = new google_protobuf_struct_pb.Struct;
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
msg.setCcaiServiceConfig(value);
break;
case 19:
var value = new google_protobuf_timestamp_pb.Timestamp;
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
msg.setCreatedAt(value);
break;
case 20:
var value = new google_protobuf_timestamp_pb.Timestamp;
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
msg.setModifiedAt(value);
break;
case 21:
var value = /** @type {string} */ (reader.readString());
msg.setCreatedBy(value);
break;
case 22:
var value = /** @type {string} */ (reader.readString());
msg.setModifiedBy(value);
break;
case 23:
var value = new google_protobuf_struct_pb.Struct;
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
msg.setHeaders(value);
break;
case 24:
var value = /** @type {!proto.ondewo.nlu.CcaiServiceProvider} */ (reader.readEnum());
msg.setCcaiServiceProvider(value);
break;
case 25:
var value = /** @type {string} */ (reader.readString());
msg.setServiceHierarchy(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.ondewo.nlu.CcaiService.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.ondewo.nlu.CcaiService.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.ondewo.nlu.CcaiService} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.ondewo.nlu.CcaiService.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.getLanguageCode();
if (f.length > 0) {
writer.writeString(
3,
f
);
}
f = message.getGrpcHost();
if (f.length > 0) {
writer.writeString(
4,
f
);
}
f = message.getGrpcPort();
if (f !== 0) {
writer.writeInt32(
5,
f
);
}
f = message.getWebgrpcHost();
if (f.length > 0) {
writer.writeString(
6,
f
);
}
f = message.getWebgrpcPort();
if (f !== 0) {
writer.writeInt32(
7,
f
);
}
f = message.getGrpcCert();
if (f.length > 0) {
writer.writeString(
8,
f
);
}
f = message.getHost();
if (f.length > 0) {
writer.writeString(
9,
f
);
}
f = message.getPort();
if (f !== 0) {
writer.writeInt32(
10,
f
);
}
f = message.getPort2();
if (f !== 0) {
writer.writeInt32(
11,
f
);
}
f = message.getHttpBasicAuthToken();
if (f.length > 0) {
writer.writeString(
12,
f
);
}
f = message.getAccountName();
if (f.length > 0) {
writer.writeString(
13,
f
);
}
f = message.getAccountPassword();
if (f.length > 0) {
writer.writeString(
14,
f
);
}
f = message.getApiKey();
if (f.length > 0) {
writer.writeString(
15,
f
);
}
f = message.getCcaiServiceType();
if (f !== 0.0) {
writer.writeEnum(
16,
f
);
}
f = message.getCcaiProjectName();
if (f.length > 0) {
writer.writeString(
17,
f
);
}
f = message.getCcaiServiceConfig();
if (f != null) {
writer.writeMessage(
18,
f,
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
);
}
f = message.getCreatedAt();
if (f != null) {
writer.writeMessage(
19,
f,
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
);
}
f = message.getModifiedAt();
if (f != null) {
writer.writeMessage(
20,
f,
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
);
}
f = message.getCreatedBy();
if (f.length > 0) {
writer.writeString(
21,
f
);
}
f = message.getModifiedBy();
if (f.length > 0) {
writer.writeString(
22,
f
);
}
f = message.getHeaders();
if (f != null) {
writer.writeMessage(
23,
f,
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
);
}
f = /** @type {!proto.ondewo.nlu.CcaiServiceProvider} */ (jspb.Message.getField(message, 24));
if (f != null) {
writer.writeEnum(
24,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 25));
if (f != null) {
writer.writeString(
25,
f
);
}
};
/**
* optional string name = 1;
* @return {string}
*/
proto.ondewo.nlu.CcaiService.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiService} returns this
*/
proto.ondewo.nlu.CcaiService.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string display_name = 2;
* @return {string}
*/
proto.ondewo.nlu.CcaiService.prototype.getDisplayName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiService} returns this
*/
proto.ondewo.nlu.CcaiService.prototype.setDisplayName = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional string language_code = 3;
* @return {string}
*/
proto.ondewo.nlu.CcaiService.prototype.getLanguageCode = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiService} returns this
*/
proto.ondewo.nlu.CcaiService.prototype.setLanguageCode = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* optional string grpc_host = 4;
* @return {string}
*/
proto.ondewo.nlu.CcaiService.prototype.getGrpcHost = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiService} returns this
*/
proto.ondewo.nlu.CcaiService.prototype.setGrpcHost = function(value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
/**
* optional int32 grpc_port = 5;
* @return {number}
*/
proto.ondewo.nlu.CcaiService.prototype.getGrpcPort = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};
/**
* @param {number} value
* @return {!proto.ondewo.nlu.CcaiService} returns this
*/
proto.ondewo.nlu.CcaiService.prototype.setGrpcPort = function(value) {
return jspb.Message.setProto3IntField(this, 5, value);
};
/**
* optional string webgrpc_host = 6;
* @return {string}
*/
proto.ondewo.nlu.CcaiService.prototype.getWebgrpcHost = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiService} returns this
*/
proto.ondewo.nlu.CcaiService.prototype.setWebgrpcHost = function(value) {
return jspb.Message.setProto3StringField(this, 6, value);
};
/**
* optional int32 webgrpc_port = 7;
* @return {number}
*/
proto.ondewo.nlu.CcaiService.prototype.getWebgrpcPort = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
};
/**
* @param {number} value
* @return {!proto.ondewo.nlu.CcaiService} returns this
*/
proto.ondewo.nlu.CcaiService.prototype.setWebgrpcPort = function(value) {
return jspb.Message.setProto3IntField(this, 7, value);
};
/**
* optional string grpc_cert = 8;
* @return {string}
*/
proto.ondewo.nlu.CcaiService.prototype.getGrpcCert = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiService} returns this
*/
proto.ondewo.nlu.CcaiService.prototype.setGrpcCert = function(value) {
return jspb.Message.setProto3StringField(this, 8, value);
};
/**
* optional string host = 9;
* @return {string}
*/
proto.ondewo.nlu.CcaiService.prototype.getHost = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiService} returns this
*/
proto.ondewo.nlu.CcaiService.prototype.setHost = function(value) {
return jspb.Message.setProto3StringField(this, 9, value);
};
/**
* optional int32 port = 10;
* @return {number}
*/
proto.ondewo.nlu.CcaiService.prototype.getPort = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
};
/**
* @param {number} value
* @return {!proto.ondewo.nlu.CcaiService} returns this
*/
proto.ondewo.nlu.CcaiService.prototype.setPort = function(value) {
return jspb.Message.setProto3IntField(this, 10, value);
};
/**
* optional int32 port2 = 11;
* @return {number}
*/
proto.ondewo.nlu.CcaiService.prototype.getPort2 = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
};
/**
* @param {number} value
* @return {!proto.ondewo.nlu.CcaiService} returns this
*/
proto.ondewo.nlu.CcaiService.prototype.setPort2 = function(value) {
return jspb.Message.setProto3IntField(this, 11, value);
};
/**
* optional string http_basic_auth_token = 12;
* @return {string}
*/
proto.ondewo.nlu.CcaiService.prototype.getHttpBasicAuthToken = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiService} returns this
*/
proto.ondewo.nlu.CcaiService.prototype.setHttpBasicAuthToken = function(value) {
return jspb.Message.setProto3StringField(this, 12, value);
};
/**
* optional string account_name = 13;
* @return {string}
*/
proto.ondewo.nlu.CcaiService.prototype.getAccountName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiService} returns this
*/
proto.ondewo.nlu.CcaiService.prototype.setAccountName = function(value) {
return jspb.Message.setProto3StringField(this, 13, value);
};
/**
* optional string account_password = 14;
* @return {string}
*/
proto.ondewo.nlu.CcaiService.prototype.getAccountPassword = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiService} returns this
*/
proto.ondewo.nlu.CcaiService.prototype.setAccountPassword = function(value) {
return jspb.Message.setProto3StringField(this, 14, value);
};
/**
* optional string api_key = 15;
* @return {string}
*/
proto.ondewo.nlu.CcaiService.prototype.getApiKey = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
};
/**
* @param {string} value
* @return {!proto.ondewo.nlu.CcaiService} returns this
*/
proto.ondewo.nlu.