@bandprotocol/bandchain.js
Version:
Library for interacting with BandChain in browser and Node.js environments
1,536 lines (1,479 loc) • 170 kB
JavaScript
// source: oracle/v1/query.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('return this')()
var gogoproto_gogo_pb = require('../../gogoproto/gogo_pb.js')
goog.object.extend(proto, gogoproto_gogo_pb)
var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js')
goog.object.extend(proto, google_protobuf_any_pb)
var google_api_annotations_pb = require('../../google/api/annotations_pb.js')
goog.object.extend(proto, google_api_annotations_pb)
var oracle_v1_oracle_pb = require('../../oracle/v1/oracle_pb.js')
goog.object.extend(proto, oracle_v1_oracle_pb)
var cosmos_base_v1beta1_coin_pb = require('../../cosmos/base/v1beta1/coin_pb.js')
goog.object.extend(proto, cosmos_base_v1beta1_coin_pb)
var cosmos_proto_cosmos_pb = require('../../cosmos_proto/cosmos_pb.js')
goog.object.extend(proto, cosmos_proto_cosmos_pb)
goog.exportSymbol('proto.oracle.v1.QueryActiveValidatorsRequest', null, global)
goog.exportSymbol('proto.oracle.v1.QueryActiveValidatorsResponse', null, global)
goog.exportSymbol('proto.oracle.v1.QueryCountsRequest', null, global)
goog.exportSymbol('proto.oracle.v1.QueryCountsResponse', null, global)
goog.exportSymbol('proto.oracle.v1.QueryDataRequest', null, global)
goog.exportSymbol('proto.oracle.v1.QueryDataResponse', null, global)
goog.exportSymbol('proto.oracle.v1.QueryDataSourceRequest', null, global)
goog.exportSymbol('proto.oracle.v1.QueryDataSourceResponse', null, global)
goog.exportSymbol('proto.oracle.v1.QueryIsReporterRequest', null, global)
goog.exportSymbol('proto.oracle.v1.QueryIsReporterResponse', null, global)
goog.exportSymbol('proto.oracle.v1.QueryOracleScriptRequest', null, global)
goog.exportSymbol('proto.oracle.v1.QueryOracleScriptResponse', null, global)
goog.exportSymbol('proto.oracle.v1.QueryParamsRequest', null, global)
goog.exportSymbol('proto.oracle.v1.QueryParamsResponse', null, global)
goog.exportSymbol('proto.oracle.v1.QueryPendingRequestsRequest', null, global)
goog.exportSymbol('proto.oracle.v1.QueryPendingRequestsResponse', null, global)
goog.exportSymbol('proto.oracle.v1.QueryReportersRequest', null, global)
goog.exportSymbol('proto.oracle.v1.QueryReportersResponse', null, global)
goog.exportSymbol('proto.oracle.v1.QueryRequestPriceRequest', null, global)
goog.exportSymbol('proto.oracle.v1.QueryRequestPriceResponse', null, global)
goog.exportSymbol('proto.oracle.v1.QueryRequestRequest', null, global)
goog.exportSymbol('proto.oracle.v1.QueryRequestResponse', null, global)
goog.exportSymbol('proto.oracle.v1.QueryRequestSearchRequest', null, global)
goog.exportSymbol('proto.oracle.v1.QueryRequestSearchResponse', null, global)
goog.exportSymbol(
'proto.oracle.v1.QueryRequestVerificationRequest',
null,
global,
)
goog.exportSymbol(
'proto.oracle.v1.QueryRequestVerificationResponse',
null,
global,
)
goog.exportSymbol('proto.oracle.v1.QueryValidatorRequest', null, global)
goog.exportSymbol('proto.oracle.v1.QueryValidatorResponse', 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.oracle.v1.QueryCountsRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryCountsRequest, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryCountsRequest.displayName =
'proto.oracle.v1.QueryCountsRequest'
}
/**
* 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.oracle.v1.QueryCountsResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryCountsResponse, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryCountsResponse.displayName =
'proto.oracle.v1.QueryCountsResponse'
}
/**
* 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.oracle.v1.QueryDataRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryDataRequest, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryDataRequest.displayName =
'proto.oracle.v1.QueryDataRequest'
}
/**
* 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.oracle.v1.QueryDataResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryDataResponse, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryDataResponse.displayName =
'proto.oracle.v1.QueryDataResponse'
}
/**
* 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.oracle.v1.QueryDataSourceRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryDataSourceRequest, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryDataSourceRequest.displayName =
'proto.oracle.v1.QueryDataSourceRequest'
}
/**
* 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.oracle.v1.QueryDataSourceResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryDataSourceResponse, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryDataSourceResponse.displayName =
'proto.oracle.v1.QueryDataSourceResponse'
}
/**
* 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.oracle.v1.QueryOracleScriptRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryOracleScriptRequest, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryOracleScriptRequest.displayName =
'proto.oracle.v1.QueryOracleScriptRequest'
}
/**
* 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.oracle.v1.QueryOracleScriptResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryOracleScriptResponse, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryOracleScriptResponse.displayName =
'proto.oracle.v1.QueryOracleScriptResponse'
}
/**
* 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.oracle.v1.QueryRequestRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryRequestRequest, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryRequestRequest.displayName =
'proto.oracle.v1.QueryRequestRequest'
}
/**
* 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.oracle.v1.QueryRequestResponse = function (opt_data) {
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.oracle.v1.QueryRequestResponse.repeatedFields_,
null,
)
}
goog.inherits(proto.oracle.v1.QueryRequestResponse, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryRequestResponse.displayName =
'proto.oracle.v1.QueryRequestResponse'
}
/**
* 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.oracle.v1.QueryPendingRequestsRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryPendingRequestsRequest, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryPendingRequestsRequest.displayName =
'proto.oracle.v1.QueryPendingRequestsRequest'
}
/**
* 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.oracle.v1.QueryPendingRequestsResponse = function (opt_data) {
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.oracle.v1.QueryPendingRequestsResponse.repeatedFields_,
null,
)
}
goog.inherits(proto.oracle.v1.QueryPendingRequestsResponse, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryPendingRequestsResponse.displayName =
'proto.oracle.v1.QueryPendingRequestsResponse'
}
/**
* 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.oracle.v1.QueryParamsRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryParamsRequest, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryParamsRequest.displayName =
'proto.oracle.v1.QueryParamsRequest'
}
/**
* 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.oracle.v1.QueryParamsResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryParamsResponse, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryParamsResponse.displayName =
'proto.oracle.v1.QueryParamsResponse'
}
/**
* 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.oracle.v1.QueryValidatorRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryValidatorRequest, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryValidatorRequest.displayName =
'proto.oracle.v1.QueryValidatorRequest'
}
/**
* 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.oracle.v1.QueryValidatorResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryValidatorResponse, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryValidatorResponse.displayName =
'proto.oracle.v1.QueryValidatorResponse'
}
/**
* 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.oracle.v1.QueryIsReporterRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryIsReporterRequest, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryIsReporterRequest.displayName =
'proto.oracle.v1.QueryIsReporterRequest'
}
/**
* 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.oracle.v1.QueryIsReporterResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryIsReporterResponse, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryIsReporterResponse.displayName =
'proto.oracle.v1.QueryIsReporterResponse'
}
/**
* 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.oracle.v1.QueryReportersRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryReportersRequest, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryReportersRequest.displayName =
'proto.oracle.v1.QueryReportersRequest'
}
/**
* 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.oracle.v1.QueryReportersResponse = function (opt_data) {
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.oracle.v1.QueryReportersResponse.repeatedFields_,
null,
)
}
goog.inherits(proto.oracle.v1.QueryReportersResponse, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryReportersResponse.displayName =
'proto.oracle.v1.QueryReportersResponse'
}
/**
* 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.oracle.v1.QueryActiveValidatorsRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryActiveValidatorsRequest, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryActiveValidatorsRequest.displayName =
'proto.oracle.v1.QueryActiveValidatorsRequest'
}
/**
* 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.oracle.v1.QueryActiveValidatorsResponse = function (opt_data) {
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.oracle.v1.QueryActiveValidatorsResponse.repeatedFields_,
null,
)
}
goog.inherits(proto.oracle.v1.QueryActiveValidatorsResponse, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryActiveValidatorsResponse.displayName =
'proto.oracle.v1.QueryActiveValidatorsResponse'
}
/**
* 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.oracle.v1.QueryRequestSearchRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryRequestSearchRequest, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryRequestSearchRequest.displayName =
'proto.oracle.v1.QueryRequestSearchRequest'
}
/**
* 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.oracle.v1.QueryRequestSearchResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryRequestSearchResponse, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryRequestSearchResponse.displayName =
'proto.oracle.v1.QueryRequestSearchResponse'
}
/**
* 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.oracle.v1.QueryRequestPriceRequest = function (opt_data) {
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.oracle.v1.QueryRequestPriceRequest.repeatedFields_,
null,
)
}
goog.inherits(proto.oracle.v1.QueryRequestPriceRequest, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryRequestPriceRequest.displayName =
'proto.oracle.v1.QueryRequestPriceRequest'
}
/**
* 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.oracle.v1.QueryRequestPriceResponse = function (opt_data) {
jspb.Message.initialize(
this,
opt_data,
0,
-1,
proto.oracle.v1.QueryRequestPriceResponse.repeatedFields_,
null,
)
}
goog.inherits(proto.oracle.v1.QueryRequestPriceResponse, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryRequestPriceResponse.displayName =
'proto.oracle.v1.QueryRequestPriceResponse'
}
/**
* 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.oracle.v1.QueryRequestVerificationRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryRequestVerificationRequest, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryRequestVerificationRequest.displayName =
'proto.oracle.v1.QueryRequestVerificationRequest'
}
/**
* 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.oracle.v1.QueryRequestVerificationResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null)
}
goog.inherits(proto.oracle.v1.QueryRequestVerificationResponse, jspb.Message)
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.oracle.v1.QueryRequestVerificationResponse.displayName =
'proto.oracle.v1.QueryRequestVerificationResponse'
}
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.oracle.v1.QueryCountsRequest.prototype.toObject = function (
opt_includeInstance,
) {
return proto.oracle.v1.QueryCountsRequest.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.oracle.v1.QueryCountsRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.oracle.v1.QueryCountsRequest.toObject = function (
includeInstance,
msg,
) {
var f,
obj = {}
if (includeInstance) {
obj.$jspbMessageInstance = msg
}
return obj
}
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.oracle.v1.QueryCountsRequest}
*/
proto.oracle.v1.QueryCountsRequest.deserializeBinary = function (bytes) {
var reader = new jspb.BinaryReader(bytes)
var msg = new proto.oracle.v1.QueryCountsRequest()
return proto.oracle.v1.QueryCountsRequest.deserializeBinaryFromReader(
msg,
reader,
)
}
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.oracle.v1.QueryCountsRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.oracle.v1.QueryCountsRequest}
*/
proto.oracle.v1.QueryCountsRequest.deserializeBinaryFromReader = function (
msg,
reader,
) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break
}
var field = reader.getFieldNumber()
switch (field) {
default:
reader.skipField()
break
}
}
return msg
}
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.oracle.v1.QueryCountsRequest.prototype.serializeBinary = function () {
var writer = new jspb.BinaryWriter()
proto.oracle.v1.QueryCountsRequest.serializeBinaryToWriter(this, writer)
return writer.getResultBuffer()
}
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.oracle.v1.QueryCountsRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.oracle.v1.QueryCountsRequest.serializeBinaryToWriter = function (
message,
writer,
) {
var f = undefined
}
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.oracle.v1.QueryCountsResponse.prototype.toObject = function (
opt_includeInstance,
) {
return proto.oracle.v1.QueryCountsResponse.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.oracle.v1.QueryCountsResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.oracle.v1.QueryCountsResponse.toObject = function (
includeInstance,
msg,
) {
var f,
obj = {
dataSourceCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
oracleScriptCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
requestCount: jspb.Message.getFieldWithDefault(msg, 3, 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.oracle.v1.QueryCountsResponse}
*/
proto.oracle.v1.QueryCountsResponse.deserializeBinary = function (bytes) {
var reader = new jspb.BinaryReader(bytes)
var msg = new proto.oracle.v1.QueryCountsResponse()
return proto.oracle.v1.QueryCountsResponse.deserializeBinaryFromReader(
msg,
reader,
)
}
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.oracle.v1.QueryCountsResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.oracle.v1.QueryCountsResponse}
*/
proto.oracle.v1.QueryCountsResponse.deserializeBinaryFromReader = function (
msg,
reader,
) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break
}
var field = reader.getFieldNumber()
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readUint64())
msg.setDataSourceCount(value)
break
case 2:
var value = /** @type {number} */ (reader.readUint64())
msg.setOracleScriptCount(value)
break
case 3:
var value = /** @type {number} */ (reader.readUint64())
msg.setRequestCount(value)
break
default:
reader.skipField()
break
}
}
return msg
}
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.oracle.v1.QueryCountsResponse.prototype.serializeBinary = function () {
var writer = new jspb.BinaryWriter()
proto.oracle.v1.QueryCountsResponse.serializeBinaryToWriter(this, writer)
return writer.getResultBuffer()
}
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.oracle.v1.QueryCountsResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.oracle.v1.QueryCountsResponse.serializeBinaryToWriter = function (
message,
writer,
) {
var f = undefined
f = message.getDataSourceCount()
if (f !== 0) {
writer.writeUint64(1, f)
}
f = message.getOracleScriptCount()
if (f !== 0) {
writer.writeUint64(2, f)
}
f = message.getRequestCount()
if (f !== 0) {
writer.writeUint64(3, f)
}
}
/**
* optional uint64 data_source_count = 1;
* @return {number}
*/
proto.oracle.v1.QueryCountsResponse.prototype.getDataSourceCount = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0))
}
/**
* @param {number} value
* @return {!proto.oracle.v1.QueryCountsResponse} returns this
*/
proto.oracle.v1.QueryCountsResponse.prototype.setDataSourceCount = function (
value,
) {
return jspb.Message.setProto3IntField(this, 1, value)
}
/**
* optional uint64 oracle_script_count = 2;
* @return {number}
*/
proto.oracle.v1.QueryCountsResponse.prototype.getOracleScriptCount =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0))
}
/**
* @param {number} value
* @return {!proto.oracle.v1.QueryCountsResponse} returns this
*/
proto.oracle.v1.QueryCountsResponse.prototype.setOracleScriptCount = function (
value,
) {
return jspb.Message.setProto3IntField(this, 2, value)
}
/**
* optional uint64 request_count = 3;
* @return {number}
*/
proto.oracle.v1.QueryCountsResponse.prototype.getRequestCount = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0))
}
/**
* @param {number} value
* @return {!proto.oracle.v1.QueryCountsResponse} returns this
*/
proto.oracle.v1.QueryCountsResponse.prototype.setRequestCount = function (
value,
) {
return jspb.Message.setProto3IntField(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.oracle.v1.QueryDataRequest.prototype.toObject = function (
opt_includeInstance,
) {
return proto.oracle.v1.QueryDataRequest.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.oracle.v1.QueryDataRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.oracle.v1.QueryDataRequest.toObject = function (includeInstance, msg) {
var f,
obj = {
dataHash: 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.oracle.v1.QueryDataRequest}
*/
proto.oracle.v1.QueryDataRequest.deserializeBinary = function (bytes) {
var reader = new jspb.BinaryReader(bytes)
var msg = new proto.oracle.v1.QueryDataRequest()
return proto.oracle.v1.QueryDataRequest.deserializeBinaryFromReader(
msg,
reader,
)
}
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.oracle.v1.QueryDataRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.oracle.v1.QueryDataRequest}
*/
proto.oracle.v1.QueryDataRequest.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.setDataHash(value)
break
default:
reader.skipField()
break
}
}
return msg
}
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.oracle.v1.QueryDataRequest.prototype.serializeBinary = function () {
var writer = new jspb.BinaryWriter()
proto.oracle.v1.QueryDataRequest.serializeBinaryToWriter(this, writer)
return writer.getResultBuffer()
}
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.oracle.v1.QueryDataRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.oracle.v1.QueryDataRequest.serializeBinaryToWriter = function (
message,
writer,
) {
var f = undefined
f = message.getDataHash()
if (f.length > 0) {
writer.writeString(1, f)
}
}
/**
* optional string data_hash = 1;
* @return {string}
*/
proto.oracle.v1.QueryDataRequest.prototype.getDataHash = function () {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''))
}
/**
* @param {string} value
* @return {!proto.oracle.v1.QueryDataRequest} returns this
*/
proto.oracle.v1.QueryDataRequest.prototype.setDataHash = function (value) {
return jspb.Message.setProto3StringField(this, 1, 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.oracle.v1.QueryDataResponse.prototype.toObject = function (
opt_includeInstance,
) {
return proto.oracle.v1.QueryDataResponse.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.oracle.v1.QueryDataResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.oracle.v1.QueryDataResponse.toObject = function (includeInstance, msg) {
var f,
obj = {
data: msg.getData_asB64(),
}
if (includeInstance) {
obj.$jspbMessageInstance = msg
}
return obj
}
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.oracle.v1.QueryDataResponse}
*/
proto.oracle.v1.QueryDataResponse.deserializeBinary = function (bytes) {
var reader = new jspb.BinaryReader(bytes)
var msg = new proto.oracle.v1.QueryDataResponse()
return proto.oracle.v1.QueryDataResponse.deserializeBinaryFromReader(
msg,
reader,
)
}
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.oracle.v1.QueryDataResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.oracle.v1.QueryDataResponse}
*/
proto.oracle.v1.QueryDataResponse.deserializeBinaryFromReader = function (
msg,
reader,
) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break
}
var field = reader.getFieldNumber()
switch (field) {
case 1:
var value = /** @type {!Uint8Array} */ (reader.readBytes())
msg.setData(value)
break
default:
reader.skipField()
break
}
}
return msg
}
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.oracle.v1.QueryDataResponse.prototype.serializeBinary = function () {
var writer = new jspb.BinaryWriter()
proto.oracle.v1.QueryDataResponse.serializeBinaryToWriter(this, writer)
return writer.getResultBuffer()
}
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.oracle.v1.QueryDataResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.oracle.v1.QueryDataResponse.serializeBinaryToWriter = function (
message,
writer,
) {
var f = undefined
f = message.getData_asU8()
if (f.length > 0) {
writer.writeBytes(1, f)
}
}
/**
* optional bytes data = 1;
* @return {!(string|Uint8Array)}
*/
proto.oracle.v1.QueryDataResponse.prototype.getData = function () {
return /** @type {!(string|Uint8Array)} */ (
jspb.Message.getFieldWithDefault(this, 1, '')
)
}
/**
* optional bytes data = 1;
* This is a type-conversion wrapper around `getData()`
* @return {string}
*/
proto.oracle.v1.QueryDataResponse.prototype.getData_asB64 = function () {
return /** @type {string} */ (jspb.Message.bytesAsB64(this.getData()))
}
/**
* optional bytes data = 1;
* Note that Uint8Array is not supported on all browsers.
* @see http://caniuse.com/Uint8Array
* This is a type-conversion wrapper around `getData()`
* @return {!Uint8Array}
*/
proto.oracle.v1.QueryDataResponse.prototype.getData_asU8 = function () {
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(this.getData()))
}
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.oracle.v1.QueryDataResponse} returns this
*/
proto.oracle.v1.QueryDataResponse.prototype.setData = function (value) {
return jspb.Message.setProto3BytesField(this, 1, 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.oracle.v1.QueryDataSourceRequest.prototype.toObject = function (
opt_includeInstance,
) {
return proto.oracle.v1.QueryDataSourceRequest.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.oracle.v1.QueryDataSourceRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.oracle.v1.QueryDataSourceRequest.toObject = function (
includeInstance,
msg,
) {
var f,
obj = {
dataSourceId: jspb.Message.getFieldWithDefault(msg, 1, 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.oracle.v1.QueryDataSourceRequest}
*/
proto.oracle.v1.QueryDataSourceRequest.deserializeBinary = function (bytes) {
var reader = new jspb.BinaryReader(bytes)
var msg = new proto.oracle.v1.QueryDataSourceRequest()
return proto.oracle.v1.QueryDataSourceRequest.deserializeBinaryFromReader(
msg,
reader,
)
}
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.oracle.v1.QueryDataSourceRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.oracle.v1.QueryDataSourceRequest}
*/
proto.oracle.v1.QueryDataSourceRequest.deserializeBinaryFromReader = function (
msg,
reader,
) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break
}
var field = reader.getFieldNumber()
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readUint64())
msg.setDataSourceId(value)
break
default:
reader.skipField()
break
}
}
return msg
}
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.oracle.v1.QueryDataSourceRequest.prototype.serializeBinary = function () {
var writer = new jspb.BinaryWriter()
proto.oracle.v1.QueryDataSourceRequest.serializeBinaryToWriter(this, writer)
return writer.getResultBuffer()
}
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.oracle.v1.QueryDataSourceRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.oracle.v1.QueryDataSourceRequest.serializeBinaryToWriter = function (
message,
writer,
) {
var f = undefined
f = message.getDataSourceId()
if (f !== 0) {
writer.writeUint64(1, f)
}
}
/**
* optional uint64 data_source_id = 1;
* @return {number}
*/
proto.oracle.v1.QueryDataSourceRequest.prototype.getDataSourceId = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0))
}
/**
* @param {number} value
* @return {!proto.oracle.v1.QueryDataSourceRequest} returns this
*/
proto.oracle.v1.QueryDataSourceRequest.prototype.setDataSourceId = function (
value,
) {
return jspb.Message.setProto3IntField(this, 1, 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.oracle.v1.QueryDataSourceResponse.prototype.toObject = function (
opt_includeInstance,
) {
return proto.oracle.v1.QueryDataSourceResponse.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.oracle.v1.QueryDataSourceResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.oracle.v1.QueryDataSourceResponse.toObject = function (
includeInstance,
msg,
) {
var f,
obj = {
dataSource:
(f = msg.getDataSource()) &&
oracle_v1_oracle_pb.DataSource.toObject(includeInstance, f),
}
if (includeInstance) {
obj.$jspbMessageInstance = msg
}
return obj
}
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.oracle.v1.QueryDataSourceResponse}
*/
proto.oracle.v1.QueryDataSourceResponse.deserializeBinary = function (bytes) {
var reader = new jspb.BinaryReader(bytes)
var msg = new proto.oracle.v1.QueryDataSourceResponse()
return proto.oracle.v1.QueryDataSourceResponse.deserializeBinaryFromReader(
msg,
reader,
)
}
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.oracle.v1.QueryDataSourceResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.oracle.v1.QueryDataSourceResponse}
*/
proto.oracle.v1.QueryDataSourceResponse.deserializeBinaryFromReader = function (
msg,
reader,
) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break
}
var field = reader.getFieldNumber()
switch (field) {
case 1:
var value = new oracle_v1_oracle_pb.DataSource()
reader.readMessage(
value,
oracle_v1_oracle_pb.DataSource.deserializeBinaryFromReader,
)
msg.setDataSource(value)
break
default:
reader.skipField()
break
}
}
return msg
}
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!U