@emeraldpay/api
Version:
Common code for Emerald gRPC APIs
1,595 lines (1,405 loc) • 79.1 kB
JavaScript
// source: sierra.message.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));
goog.exportSymbol('proto.emerald.sierra.message.CreateProjectRequest', null, global);
goog.exportSymbol('proto.emerald.sierra.message.CreateProjectResponse', null, global);
goog.exportSymbol('proto.emerald.sierra.message.GetOrgRequest', null, global);
goog.exportSymbol('proto.emerald.sierra.message.GetRequestCountRequest', null, global);
goog.exportSymbol('proto.emerald.sierra.message.GetTokenStatRequest', null, global);
goog.exportSymbol('proto.emerald.sierra.message.Granularity', null, global);
goog.exportSymbol('proto.emerald.sierra.message.GroupBy', null, global);
goog.exportSymbol('proto.emerald.sierra.message.GroupRequestCount', null, global);
goog.exportSymbol('proto.emerald.sierra.message.GroupRequestCount.GroupCase', null, global);
goog.exportSymbol('proto.emerald.sierra.message.ListProjectsRequest', null, global);
goog.exportSymbol('proto.emerald.sierra.message.Org', null, global);
goog.exportSymbol('proto.emerald.sierra.message.Project', null, global);
goog.exportSymbol('proto.emerald.sierra.message.RequestCount', null, global);
goog.exportSymbol('proto.emerald.sierra.message.TokenStat', 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.emerald.sierra.message.Project = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.emerald.sierra.message.Project, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.emerald.sierra.message.Project.displayName = 'proto.emerald.sierra.message.Project';
}
/**
* 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.emerald.sierra.message.Org = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.emerald.sierra.message.Org, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.emerald.sierra.message.Org.displayName = 'proto.emerald.sierra.message.Org';
}
/**
* 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.emerald.sierra.message.CreateProjectRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.emerald.sierra.message.CreateProjectRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.emerald.sierra.message.CreateProjectRequest.displayName = 'proto.emerald.sierra.message.CreateProjectRequest';
}
/**
* 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.emerald.sierra.message.CreateProjectResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.emerald.sierra.message.CreateProjectResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.emerald.sierra.message.CreateProjectResponse.displayName = 'proto.emerald.sierra.message.CreateProjectResponse';
}
/**
* 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.emerald.sierra.message.ListProjectsRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.emerald.sierra.message.ListProjectsRequest.repeatedFields_, null);
};
goog.inherits(proto.emerald.sierra.message.ListProjectsRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.emerald.sierra.message.ListProjectsRequest.displayName = 'proto.emerald.sierra.message.ListProjectsRequest';
}
/**
* 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.emerald.sierra.message.GetOrgRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.emerald.sierra.message.GetOrgRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.emerald.sierra.message.GetOrgRequest.displayName = 'proto.emerald.sierra.message.GetOrgRequest';
}
/**
* 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.emerald.sierra.message.GetRequestCountRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.emerald.sierra.message.GetRequestCountRequest.repeatedFields_, null);
};
goog.inherits(proto.emerald.sierra.message.GetRequestCountRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.emerald.sierra.message.GetRequestCountRequest.displayName = 'proto.emerald.sierra.message.GetRequestCountRequest';
}
/**
* 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.emerald.sierra.message.RequestCount = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.emerald.sierra.message.RequestCount, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.emerald.sierra.message.RequestCount.displayName = 'proto.emerald.sierra.message.RequestCount';
}
/**
* 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.emerald.sierra.message.GroupRequestCount = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.emerald.sierra.message.GroupRequestCount.repeatedFields_, proto.emerald.sierra.message.GroupRequestCount.oneofGroups_);
};
goog.inherits(proto.emerald.sierra.message.GroupRequestCount, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.emerald.sierra.message.GroupRequestCount.displayName = 'proto.emerald.sierra.message.GroupRequestCount';
}
/**
* 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.emerald.sierra.message.GetTokenStatRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.emerald.sierra.message.GetTokenStatRequest.repeatedFields_, null);
};
goog.inherits(proto.emerald.sierra.message.GetTokenStatRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.emerald.sierra.message.GetTokenStatRequest.displayName = 'proto.emerald.sierra.message.GetTokenStatRequest';
}
/**
* 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.emerald.sierra.message.TokenStat = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.emerald.sierra.message.TokenStat, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.emerald.sierra.message.TokenStat.displayName = 'proto.emerald.sierra.message.TokenStat';
}
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.emerald.sierra.message.Project.prototype.toObject = function(opt_includeInstance) {
return proto.emerald.sierra.message.Project.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.emerald.sierra.message.Project} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.emerald.sierra.message.Project.toObject = function(includeInstance, msg) {
var f, obj = {
orgId: jspb.Message.getFieldWithDefault(msg, 1, ""),
projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
createdAt: jspb.Message.getFieldWithDefault(msg, 5, 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.emerald.sierra.message.Project}
*/
proto.emerald.sierra.message.Project.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.emerald.sierra.message.Project;
return proto.emerald.sierra.message.Project.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.emerald.sierra.message.Project} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.emerald.sierra.message.Project}
*/
proto.emerald.sierra.message.Project.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.setOrgId(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setProjectId(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setDescription(value);
break;
case 5:
var value = /** @type {number} */ (reader.readUint64());
msg.setCreatedAt(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.emerald.sierra.message.Project.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.emerald.sierra.message.Project.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.emerald.sierra.message.Project} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.emerald.sierra.message.Project.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getOrgId();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getProjectId();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
f = message.getName();
if (f.length > 0) {
writer.writeString(
3,
f
);
}
f = message.getDescription();
if (f.length > 0) {
writer.writeString(
4,
f
);
}
f = message.getCreatedAt();
if (f !== 0) {
writer.writeUint64(
5,
f
);
}
};
/**
* optional string org_id = 1;
* @return {string}
*/
proto.emerald.sierra.message.Project.prototype.getOrgId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.emerald.sierra.message.Project} returns this
*/
proto.emerald.sierra.message.Project.prototype.setOrgId = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string project_id = 2;
* @return {string}
*/
proto.emerald.sierra.message.Project.prototype.getProjectId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.emerald.sierra.message.Project} returns this
*/
proto.emerald.sierra.message.Project.prototype.setProjectId = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional string name = 3;
* @return {string}
*/
proto.emerald.sierra.message.Project.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.emerald.sierra.message.Project} returns this
*/
proto.emerald.sierra.message.Project.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* optional string description = 4;
* @return {string}
*/
proto.emerald.sierra.message.Project.prototype.getDescription = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.emerald.sierra.message.Project} returns this
*/
proto.emerald.sierra.message.Project.prototype.setDescription = function(value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
/**
* optional uint64 created_at = 5;
* @return {number}
*/
proto.emerald.sierra.message.Project.prototype.getCreatedAt = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};
/**
* @param {number} value
* @return {!proto.emerald.sierra.message.Project} returns this
*/
proto.emerald.sierra.message.Project.prototype.setCreatedAt = function(value) {
return jspb.Message.setProto3IntField(this, 5, 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.emerald.sierra.message.Org.prototype.toObject = function(opt_includeInstance) {
return proto.emerald.sierra.message.Org.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.emerald.sierra.message.Org} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.emerald.sierra.message.Org.toObject = function(includeInstance, msg) {
var f, obj = {
orgId: jspb.Message.getFieldWithDefault(msg, 1, ""),
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
createdAt: jspb.Message.getFieldWithDefault(msg, 5, 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.emerald.sierra.message.Org}
*/
proto.emerald.sierra.message.Org.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.emerald.sierra.message.Org;
return proto.emerald.sierra.message.Org.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.emerald.sierra.message.Org} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.emerald.sierra.message.Org}
*/
proto.emerald.sierra.message.Org.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.setOrgId(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.setDescription(value);
break;
case 5:
var value = /** @type {number} */ (reader.readUint64());
msg.setCreatedAt(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.emerald.sierra.message.Org.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.emerald.sierra.message.Org.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.emerald.sierra.message.Org} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.emerald.sierra.message.Org.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getOrgId();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getName();
if (f.length > 0) {
writer.writeString(
3,
f
);
}
f = message.getDescription();
if (f.length > 0) {
writer.writeString(
4,
f
);
}
f = message.getCreatedAt();
if (f !== 0) {
writer.writeUint64(
5,
f
);
}
};
/**
* optional string org_id = 1;
* @return {string}
*/
proto.emerald.sierra.message.Org.prototype.getOrgId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.emerald.sierra.message.Org} returns this
*/
proto.emerald.sierra.message.Org.prototype.setOrgId = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string name = 3;
* @return {string}
*/
proto.emerald.sierra.message.Org.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.emerald.sierra.message.Org} returns this
*/
proto.emerald.sierra.message.Org.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* optional string description = 4;
* @return {string}
*/
proto.emerald.sierra.message.Org.prototype.getDescription = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
};
/**
* @param {string} value
* @return {!proto.emerald.sierra.message.Org} returns this
*/
proto.emerald.sierra.message.Org.prototype.setDescription = function(value) {
return jspb.Message.setProto3StringField(this, 4, value);
};
/**
* optional uint64 created_at = 5;
* @return {number}
*/
proto.emerald.sierra.message.Org.prototype.getCreatedAt = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
};
/**
* @param {number} value
* @return {!proto.emerald.sierra.message.Org} returns this
*/
proto.emerald.sierra.message.Org.prototype.setCreatedAt = function(value) {
return jspb.Message.setProto3IntField(this, 5, 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.emerald.sierra.message.CreateProjectRequest.prototype.toObject = function(opt_includeInstance) {
return proto.emerald.sierra.message.CreateProjectRequest.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.emerald.sierra.message.CreateProjectRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.emerald.sierra.message.CreateProjectRequest.toObject = function(includeInstance, msg) {
var f, obj = {
orgId: jspb.Message.getFieldWithDefault(msg, 1, ""),
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
description: jspb.Message.getFieldWithDefault(msg, 3, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.emerald.sierra.message.CreateProjectRequest}
*/
proto.emerald.sierra.message.CreateProjectRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.emerald.sierra.message.CreateProjectRequest;
return proto.emerald.sierra.message.CreateProjectRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.emerald.sierra.message.CreateProjectRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.emerald.sierra.message.CreateProjectRequest}
*/
proto.emerald.sierra.message.CreateProjectRequest.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.setOrgId(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setDescription(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.emerald.sierra.message.CreateProjectRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.emerald.sierra.message.CreateProjectRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.emerald.sierra.message.CreateProjectRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.emerald.sierra.message.CreateProjectRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getOrgId();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getName();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
f = message.getDescription();
if (f.length > 0) {
writer.writeString(
3,
f
);
}
};
/**
* optional string org_id = 1;
* @return {string}
*/
proto.emerald.sierra.message.CreateProjectRequest.prototype.getOrgId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.emerald.sierra.message.CreateProjectRequest} returns this
*/
proto.emerald.sierra.message.CreateProjectRequest.prototype.setOrgId = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string name = 2;
* @return {string}
*/
proto.emerald.sierra.message.CreateProjectRequest.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.emerald.sierra.message.CreateProjectRequest} returns this
*/
proto.emerald.sierra.message.CreateProjectRequest.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional string description = 3;
* @return {string}
*/
proto.emerald.sierra.message.CreateProjectRequest.prototype.getDescription = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.emerald.sierra.message.CreateProjectRequest} returns this
*/
proto.emerald.sierra.message.CreateProjectRequest.prototype.setDescription = function(value) {
return jspb.Message.setProto3StringField(this, 3, 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.emerald.sierra.message.CreateProjectResponse.prototype.toObject = function(opt_includeInstance) {
return proto.emerald.sierra.message.CreateProjectResponse.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.emerald.sierra.message.CreateProjectResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.emerald.sierra.message.CreateProjectResponse.toObject = function(includeInstance, msg) {
var f, obj = {
projectId: jspb.Message.getFieldWithDefault(msg, 1, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.emerald.sierra.message.CreateProjectResponse}
*/
proto.emerald.sierra.message.CreateProjectResponse.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.emerald.sierra.message.CreateProjectResponse;
return proto.emerald.sierra.message.CreateProjectResponse.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.emerald.sierra.message.CreateProjectResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.emerald.sierra.message.CreateProjectResponse}
*/
proto.emerald.sierra.message.CreateProjectResponse.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.setProjectId(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.emerald.sierra.message.CreateProjectResponse.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.emerald.sierra.message.CreateProjectResponse.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.emerald.sierra.message.CreateProjectResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.emerald.sierra.message.CreateProjectResponse.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getProjectId();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
};
/**
* optional string project_id = 1;
* @return {string}
*/
proto.emerald.sierra.message.CreateProjectResponse.prototype.getProjectId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.emerald.sierra.message.CreateProjectResponse} returns this
*/
proto.emerald.sierra.message.CreateProjectResponse.prototype.setProjectId = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.emerald.sierra.message.ListProjectsRequest.repeatedFields_ = [2];
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.emerald.sierra.message.ListProjectsRequest.prototype.toObject = function(opt_includeInstance) {
return proto.emerald.sierra.message.ListProjectsRequest.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.emerald.sierra.message.ListProjectsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.emerald.sierra.message.ListProjectsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
orgId: jspb.Message.getFieldWithDefault(msg, 1, ""),
projectIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : 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.emerald.sierra.message.ListProjectsRequest}
*/
proto.emerald.sierra.message.ListProjectsRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.emerald.sierra.message.ListProjectsRequest;
return proto.emerald.sierra.message.ListProjectsRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.emerald.sierra.message.ListProjectsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.emerald.sierra.message.ListProjectsRequest}
*/
proto.emerald.sierra.message.ListProjectsRequest.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.setOrgId(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.addProjectIds(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.emerald.sierra.message.ListProjectsRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.emerald.sierra.message.ListProjectsRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.emerald.sierra.message.ListProjectsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.emerald.sierra.message.ListProjectsRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getOrgId();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getProjectIdsList();
if (f.length > 0) {
writer.writeRepeatedString(
2,
f
);
}
};
/**
* optional string org_id = 1;
* @return {string}
*/
proto.emerald.sierra.message.ListProjectsRequest.prototype.getOrgId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.emerald.sierra.message.ListProjectsRequest} returns this
*/
proto.emerald.sierra.message.ListProjectsRequest.prototype.setOrgId = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* repeated string project_ids = 2;
* @return {!Array<string>}
*/
proto.emerald.sierra.message.ListProjectsRequest.prototype.getProjectIdsList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
};
/**
* @param {!Array<string>} value
* @return {!proto.emerald.sierra.message.ListProjectsRequest} returns this
*/
proto.emerald.sierra.message.ListProjectsRequest.prototype.setProjectIdsList = function(value) {
return jspb.Message.setField(this, 2, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.emerald.sierra.message.ListProjectsRequest} returns this
*/
proto.emerald.sierra.message.ListProjectsRequest.prototype.addProjectIds = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.emerald.sierra.message.ListProjectsRequest} returns this
*/
proto.emerald.sierra.message.ListProjectsRequest.prototype.clearProjectIdsList = function() {
return this.setProjectIdsList([]);
};
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.emerald.sierra.message.GetOrgRequest.prototype.toObject = function(opt_includeInstance) {
return proto.emerald.sierra.message.GetOrgRequest.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.emerald.sierra.message.GetOrgRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.emerald.sierra.message.GetOrgRequest.toObject = function(includeInstance, msg) {
var f, obj = {
orgId: jspb.Message.getFieldWithDefault(msg, 1, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.emerald.sierra.message.GetOrgRequest}
*/
proto.emerald.sierra.message.GetOrgRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.emerald.sierra.message.GetOrgRequest;
return proto.emerald.sierra.message.GetOrgRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.emerald.sierra.message.GetOrgRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.emerald.sierra.message.GetOrgRequest}
*/
proto.emerald.sierra.message.GetOrgRequest.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.setOrgId(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.emerald.sierra.message.GetOrgRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.emerald.sierra.message.GetOrgRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.emerald.sierra.message.GetOrgRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.emerald.sierra.message.GetOrgRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getOrgId();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
};
/**
* optional string org_id = 1;
* @return {string}
*/
proto.emerald.sierra.message.GetOrgRequest.prototype.getOrgId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.emerald.sierra.message.GetOrgRequest} returns this
*/
proto.emerald.sierra.message.GetOrgRequest.prototype.setOrgId = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.emerald.sierra.message.GetRequestCountRequest.repeatedFields_ = [4,5];
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.emerald.sierra.message.GetRequestCountRequest.prototype.toObject = function(opt_includeInstance) {
return proto.emerald.sierra.message.GetRequestCountRequest.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.emerald.sierra.message.GetRequestCountRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.emerald.sierra.message.GetRequestCountRequest.toObject = function(includeInstance, msg) {
var f, obj = {
orgId: jspb.Message.getFieldWithDefault(msg, 1, ""),
timestampFrom: jspb.Message.getFieldWithDefault(msg, 2, 0),
timestampTo: jspb.Message.getFieldWithDefault(msg, 3, 0),
servicesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
projectIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
granularity: jspb.Message.getFieldWithDefault(msg, 6, 0),
groupBy: jspb.Message.getFieldWithDefault(msg, 7, 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.emerald.sierra.message.GetRequestCountRequest}
*/
proto.emerald.sierra.message.GetRequestCountRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.emerald.sierra.message.GetRequestCountRequest;
return proto.emerald.sierra.message.GetRequestCountRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.emerald.sierra.message.GetRequestCountRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.emerald.sierra.message.GetRequestCountRequest}
*/
proto.emerald.sierra.message.GetRequestCountRequest.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.setOrgId(value);
break;
case 2:
var value = /** @type {number} */ (reader.readUint64());
msg.setTimestampFrom(value);
break;
case 3:
var value = /** @type {number} */ (reader.readUint64());
msg.setTimestampTo(value);
break;
case 4:
var value = /** @type {string} */ (reader.readString());
msg.addServices(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.addProjectIds(value);
break;
case 6:
var value = /** @type {!proto.emerald.sierra.message.Granularity} */ (reader.readEnum());
msg.setGranularity(value);
break;
case 7:
var value = /** @type {!proto.emerald.sierra.message.GroupBy} */ (reader.readEnum());
msg.setGroupBy(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.emerald.sierra.message.GetRequestCountRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.emerald.sierra.message.GetRequestCountRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.emerald.sierra.message.GetRequestCountRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.emerald.sierra.message.GetRequestCountRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getOrgId();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getTimestampFrom();
if (f !== 0) {
writer.writeUint64(
2,
f
);
}
f = message.getTimestampTo();
if (f !== 0) {
writer.writeUint64(
3,
f
);
}
f = message.getServicesList();
if (f.length > 0) {
writer.writeRepeatedString(
4,
f
);
}
f = message.getProjectIdsList();
if (f.length > 0) {
writer.writeRepeatedString(
5,
f
);
}
f = message.getGranularity();
if (f !== 0.0) {
writer.writeEnum(
6,
f
);
}
f = message.getGroupBy();
if (f !== 0.0) {
writer.writeEnum(
7,
f
);
}
};
/**
* optional string org_id = 1;
* @return {string}
*/
proto.emerald.sierra.message.GetRequestCountRequest.prototype.getOrgId = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.emerald.sierra.message.GetRequestCountRequest} returns this
*/
proto.emerald.sierra.message.GetRequestCountRequest.prototype.setOrgId = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional uint64 timestamp_from = 2;
* @return {number}
*/
proto.emerald.sierra.message.GetRequestCountRequest.prototype.getTimestampFrom = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.emerald.sierra.m