@dashevo/dapi-grpc 4.2.0-dev.10 → 4.2.0-dev.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build.rs +5 -2
- package/clients/drive/v0/nodejs/drive_pbjs.js +2112 -123
- package/clients/platform/v0/nodejs/platform_pbjs.js +2112 -123
- package/clients/platform/v0/nodejs/platform_protoc.js +2107 -67
- package/clients/platform/v0/web/platform_pb.d.ts +268 -0
- package/clients/platform/v0/web/platform_pb.js +2107 -67
- package/clients/platform/v0/web/platform_pb_service.d.ts +38 -0
- package/clients/platform/v0/web/platform_pb_service.js +80 -0
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +77 -0
|
@@ -138,6 +138,19 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractResponse', nul
|
|
|
138
138
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractResponse.GetDataContractResponseV0', null, { proto });
|
|
139
139
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractResponse.GetDataContractResponseV0.ResultCase', null, { proto });
|
|
140
140
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractResponse.VersionCase', null, { proto });
|
|
141
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest', null, { proto });
|
|
142
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0', null, { proto });
|
|
143
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.StartCase', null, { proto });
|
|
144
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.VersionCase', null, { proto });
|
|
145
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest', null, { proto });
|
|
146
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0', null, { proto });
|
|
147
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.VersionCase', null, { proto });
|
|
148
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse', null, { proto });
|
|
149
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry', null, { proto });
|
|
150
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions', null, { proto });
|
|
151
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0', null, { proto });
|
|
152
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.ResultCase', null, { proto });
|
|
153
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.VersionCase', null, { proto });
|
|
141
154
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsRequest', null, { proto });
|
|
142
155
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0', null, { proto });
|
|
143
156
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsRequest.VersionCase', null, { proto });
|
|
@@ -1912,6 +1925,132 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1912
1925
|
*/
|
|
1913
1926
|
proto.org.dash.platform.dapi.v0.GetDataContractResponse.GetDataContractResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractResponse.GetDataContractResponseV0';
|
|
1914
1927
|
}
|
|
1928
|
+
/**
|
|
1929
|
+
* Generated by JsPbCodeGenerator.
|
|
1930
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1931
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1932
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1933
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1934
|
+
* valid.
|
|
1935
|
+
* @extends {jspb.Message}
|
|
1936
|
+
* @constructor
|
|
1937
|
+
*/
|
|
1938
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest = function(opt_data) {
|
|
1939
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.oneofGroups_);
|
|
1940
|
+
};
|
|
1941
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest, jspb.Message);
|
|
1942
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1943
|
+
/**
|
|
1944
|
+
* @public
|
|
1945
|
+
* @override
|
|
1946
|
+
*/
|
|
1947
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest';
|
|
1948
|
+
}
|
|
1949
|
+
/**
|
|
1950
|
+
* Generated by JsPbCodeGenerator.
|
|
1951
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1952
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1953
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1954
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1955
|
+
* valid.
|
|
1956
|
+
* @extends {jspb.Message}
|
|
1957
|
+
* @constructor
|
|
1958
|
+
*/
|
|
1959
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0 = function(opt_data) {
|
|
1960
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.repeatedFields_, null);
|
|
1961
|
+
};
|
|
1962
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0, jspb.Message);
|
|
1963
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1964
|
+
/**
|
|
1965
|
+
* @public
|
|
1966
|
+
* @override
|
|
1967
|
+
*/
|
|
1968
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0';
|
|
1969
|
+
}
|
|
1970
|
+
/**
|
|
1971
|
+
* Generated by JsPbCodeGenerator.
|
|
1972
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1973
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1974
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1975
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1976
|
+
* valid.
|
|
1977
|
+
* @extends {jspb.Message}
|
|
1978
|
+
* @constructor
|
|
1979
|
+
*/
|
|
1980
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse = function(opt_data) {
|
|
1981
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.oneofGroups_);
|
|
1982
|
+
};
|
|
1983
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse, jspb.Message);
|
|
1984
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1985
|
+
/**
|
|
1986
|
+
* @public
|
|
1987
|
+
* @override
|
|
1988
|
+
*/
|
|
1989
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse';
|
|
1990
|
+
}
|
|
1991
|
+
/**
|
|
1992
|
+
* Generated by JsPbCodeGenerator.
|
|
1993
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1994
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1995
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1996
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1997
|
+
* valid.
|
|
1998
|
+
* @extends {jspb.Message}
|
|
1999
|
+
* @constructor
|
|
2000
|
+
*/
|
|
2001
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry = function(opt_data) {
|
|
2002
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2003
|
+
};
|
|
2004
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry, jspb.Message);
|
|
2005
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2006
|
+
/**
|
|
2007
|
+
* @public
|
|
2008
|
+
* @override
|
|
2009
|
+
*/
|
|
2010
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry';
|
|
2011
|
+
}
|
|
2012
|
+
/**
|
|
2013
|
+
* Generated by JsPbCodeGenerator.
|
|
2014
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2015
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2016
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2017
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2018
|
+
* valid.
|
|
2019
|
+
* @extends {jspb.Message}
|
|
2020
|
+
* @constructor
|
|
2021
|
+
*/
|
|
2022
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions = function(opt_data) {
|
|
2023
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.repeatedFields_, null);
|
|
2024
|
+
};
|
|
2025
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions, jspb.Message);
|
|
2026
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2027
|
+
/**
|
|
2028
|
+
* @public
|
|
2029
|
+
* @override
|
|
2030
|
+
*/
|
|
2031
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions';
|
|
2032
|
+
}
|
|
2033
|
+
/**
|
|
2034
|
+
* Generated by JsPbCodeGenerator.
|
|
2035
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2036
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2037
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2038
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2039
|
+
* valid.
|
|
2040
|
+
* @extends {jspb.Message}
|
|
2041
|
+
* @constructor
|
|
2042
|
+
*/
|
|
2043
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0 = function(opt_data) {
|
|
2044
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.oneofGroups_);
|
|
2045
|
+
};
|
|
2046
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0, jspb.Message);
|
|
2047
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2048
|
+
/**
|
|
2049
|
+
* @public
|
|
2050
|
+
* @override
|
|
2051
|
+
*/
|
|
2052
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0';
|
|
2053
|
+
}
|
|
1915
2054
|
/**
|
|
1916
2055
|
* Generated by JsPbCodeGenerator.
|
|
1917
2056
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1954,6 +2093,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1954
2093
|
*/
|
|
1955
2094
|
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0';
|
|
1956
2095
|
}
|
|
2096
|
+
/**
|
|
2097
|
+
* Generated by JsPbCodeGenerator.
|
|
2098
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2099
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2100
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2101
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2102
|
+
* valid.
|
|
2103
|
+
* @extends {jspb.Message}
|
|
2104
|
+
* @constructor
|
|
2105
|
+
*/
|
|
2106
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest = function(opt_data) {
|
|
2107
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.oneofGroups_);
|
|
2108
|
+
};
|
|
2109
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest, jspb.Message);
|
|
2110
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2111
|
+
/**
|
|
2112
|
+
* @public
|
|
2113
|
+
* @override
|
|
2114
|
+
*/
|
|
2115
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest';
|
|
2116
|
+
}
|
|
2117
|
+
/**
|
|
2118
|
+
* Generated by JsPbCodeGenerator.
|
|
2119
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2120
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2121
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2122
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2123
|
+
* valid.
|
|
2124
|
+
* @extends {jspb.Message}
|
|
2125
|
+
* @constructor
|
|
2126
|
+
*/
|
|
2127
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0 = function(opt_data) {
|
|
2128
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.oneofGroups_);
|
|
2129
|
+
};
|
|
2130
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0, jspb.Message);
|
|
2131
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2132
|
+
/**
|
|
2133
|
+
* @public
|
|
2134
|
+
* @override
|
|
2135
|
+
*/
|
|
2136
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0';
|
|
2137
|
+
}
|
|
1957
2138
|
/**
|
|
1958
2139
|
* Generated by JsPbCodeGenerator.
|
|
1959
2140
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -21912,21 +22093,21 @@ proto.org.dash.platform.dapi.v0.GetDataContractResponse.prototype.hasV0 = functi
|
|
|
21912
22093
|
* @private {!Array<!Array<number>>}
|
|
21913
22094
|
* @const
|
|
21914
22095
|
*/
|
|
21915
|
-
proto.org.dash.platform.dapi.v0.
|
|
22096
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.oneofGroups_ = [[1]];
|
|
21916
22097
|
|
|
21917
22098
|
/**
|
|
21918
22099
|
* @enum {number}
|
|
21919
22100
|
*/
|
|
21920
|
-
proto.org.dash.platform.dapi.v0.
|
|
22101
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.VersionCase = {
|
|
21921
22102
|
VERSION_NOT_SET: 0,
|
|
21922
22103
|
V0: 1
|
|
21923
22104
|
};
|
|
21924
22105
|
|
|
21925
22106
|
/**
|
|
21926
|
-
* @return {proto.org.dash.platform.dapi.v0.
|
|
22107
|
+
* @return {proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.VersionCase}
|
|
21927
22108
|
*/
|
|
21928
|
-
proto.org.dash.platform.dapi.v0.
|
|
21929
|
-
return /** @type {proto.org.dash.platform.dapi.v0.
|
|
22109
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.prototype.getVersionCase = function() {
|
|
22110
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.oneofGroups_[0]));
|
|
21930
22111
|
};
|
|
21931
22112
|
|
|
21932
22113
|
|
|
@@ -21944,8 +22125,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21944
22125
|
* http://goto/soy-param-migration
|
|
21945
22126
|
* @return {!Object}
|
|
21946
22127
|
*/
|
|
21947
|
-
proto.org.dash.platform.dapi.v0.
|
|
21948
|
-
return proto.org.dash.platform.dapi.v0.
|
|
22128
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22129
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.toObject(opt_includeInstance, this);
|
|
21949
22130
|
};
|
|
21950
22131
|
|
|
21951
22132
|
|
|
@@ -21954,13 +22135,13 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.prototype.toObject = fun
|
|
|
21954
22135
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21955
22136
|
* the JSPB instance for transitional soy proto support:
|
|
21956
22137
|
* http://goto/soy-param-migration
|
|
21957
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
22138
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest} msg The msg instance to transform.
|
|
21958
22139
|
* @return {!Object}
|
|
21959
22140
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21960
22141
|
*/
|
|
21961
|
-
proto.org.dash.platform.dapi.v0.
|
|
22142
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.toObject = function(includeInstance, msg) {
|
|
21962
22143
|
var f, obj = {
|
|
21963
|
-
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.
|
|
22144
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.toObject(includeInstance, f)
|
|
21964
22145
|
};
|
|
21965
22146
|
|
|
21966
22147
|
if (includeInstance) {
|
|
@@ -21974,23 +22155,23 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.toObject = function(incl
|
|
|
21974
22155
|
/**
|
|
21975
22156
|
* Deserializes binary data (in protobuf wire format).
|
|
21976
22157
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21977
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
22158
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest}
|
|
21978
22159
|
*/
|
|
21979
|
-
proto.org.dash.platform.dapi.v0.
|
|
22160
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.deserializeBinary = function(bytes) {
|
|
21980
22161
|
var reader = new jspb.BinaryReader(bytes);
|
|
21981
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
21982
|
-
return proto.org.dash.platform.dapi.v0.
|
|
22162
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest;
|
|
22163
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.deserializeBinaryFromReader(msg, reader);
|
|
21983
22164
|
};
|
|
21984
22165
|
|
|
21985
22166
|
|
|
21986
22167
|
/**
|
|
21987
22168
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21988
22169
|
* given reader into the given message object.
|
|
21989
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
22170
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest} msg The message object to deserialize into.
|
|
21990
22171
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21991
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
22172
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest}
|
|
21992
22173
|
*/
|
|
21993
|
-
proto.org.dash.platform.dapi.v0.
|
|
22174
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21994
22175
|
while (reader.nextField()) {
|
|
21995
22176
|
if (reader.isEndGroup()) {
|
|
21996
22177
|
break;
|
|
@@ -21998,8 +22179,8 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.deserializeBinaryFromRea
|
|
|
21998
22179
|
var field = reader.getFieldNumber();
|
|
21999
22180
|
switch (field) {
|
|
22000
22181
|
case 1:
|
|
22001
|
-
var value = new proto.org.dash.platform.dapi.v0.
|
|
22002
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.
|
|
22182
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0;
|
|
22183
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.deserializeBinaryFromReader);
|
|
22003
22184
|
msg.setV0(value);
|
|
22004
22185
|
break;
|
|
22005
22186
|
default:
|
|
@@ -22015,9 +22196,9 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.deserializeBinaryFromRea
|
|
|
22015
22196
|
* Serializes the message to binary data (in protobuf wire format).
|
|
22016
22197
|
* @return {!Uint8Array}
|
|
22017
22198
|
*/
|
|
22018
|
-
proto.org.dash.platform.dapi.v0.
|
|
22199
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.prototype.serializeBinary = function() {
|
|
22019
22200
|
var writer = new jspb.BinaryWriter();
|
|
22020
|
-
proto.org.dash.platform.dapi.v0.
|
|
22201
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.serializeBinaryToWriter(this, writer);
|
|
22021
22202
|
return writer.getResultBuffer();
|
|
22022
22203
|
};
|
|
22023
22204
|
|
|
@@ -22025,18 +22206,18 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.prototype.serializeBinar
|
|
|
22025
22206
|
/**
|
|
22026
22207
|
* Serializes the given message to binary data (in protobuf wire
|
|
22027
22208
|
* format), writing to the given BinaryWriter.
|
|
22028
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
22209
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest} message
|
|
22029
22210
|
* @param {!jspb.BinaryWriter} writer
|
|
22030
22211
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22031
22212
|
*/
|
|
22032
|
-
proto.org.dash.platform.dapi.v0.
|
|
22213
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
22033
22214
|
var f = undefined;
|
|
22034
22215
|
f = message.getV0();
|
|
22035
22216
|
if (f != null) {
|
|
22036
22217
|
writer.writeMessage(
|
|
22037
22218
|
1,
|
|
22038
22219
|
f,
|
|
22039
|
-
proto.org.dash.platform.dapi.v0.
|
|
22220
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.serializeBinaryToWriter
|
|
22040
22221
|
);
|
|
22041
22222
|
}
|
|
22042
22223
|
};
|
|
@@ -22048,7 +22229,7 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.serializeBinaryToWriter
|
|
|
22048
22229
|
* @private {!Array<number>}
|
|
22049
22230
|
* @const
|
|
22050
22231
|
*/
|
|
22051
|
-
proto.org.dash.platform.dapi.v0.
|
|
22232
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.repeatedFields_ = [1];
|
|
22052
22233
|
|
|
22053
22234
|
|
|
22054
22235
|
|
|
@@ -22065,8 +22246,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
22065
22246
|
* http://goto/soy-param-migration
|
|
22066
22247
|
* @return {!Object}
|
|
22067
22248
|
*/
|
|
22068
|
-
proto.org.dash.platform.dapi.v0.
|
|
22069
|
-
return proto.org.dash.platform.dapi.v0.
|
|
22249
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
22250
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.toObject(opt_includeInstance, this);
|
|
22070
22251
|
};
|
|
22071
22252
|
|
|
22072
22253
|
|
|
@@ -22075,14 +22256,15 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV
|
|
|
22075
22256
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22076
22257
|
* the JSPB instance for transitional soy proto support:
|
|
22077
22258
|
* http://goto/soy-param-migration
|
|
22078
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
22259
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0} msg The msg instance to transform.
|
|
22079
22260
|
* @return {!Object}
|
|
22080
22261
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22081
22262
|
*/
|
|
22082
|
-
proto.org.dash.platform.dapi.v0.
|
|
22263
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.toObject = function(includeInstance, msg) {
|
|
22083
22264
|
var f, obj = {
|
|
22084
22265
|
idsList: msg.getIdsList_asB64(),
|
|
22085
|
-
|
|
22266
|
+
includeContracts: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
22267
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
22086
22268
|
};
|
|
22087
22269
|
|
|
22088
22270
|
if (includeInstance) {
|
|
@@ -22096,23 +22278,23 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV
|
|
|
22096
22278
|
/**
|
|
22097
22279
|
* Deserializes binary data (in protobuf wire format).
|
|
22098
22280
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22099
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
22281
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0}
|
|
22100
22282
|
*/
|
|
22101
|
-
proto.org.dash.platform.dapi.v0.
|
|
22283
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.deserializeBinary = function(bytes) {
|
|
22102
22284
|
var reader = new jspb.BinaryReader(bytes);
|
|
22103
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
22104
|
-
return proto.org.dash.platform.dapi.v0.
|
|
22285
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0;
|
|
22286
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
22105
22287
|
};
|
|
22106
22288
|
|
|
22107
22289
|
|
|
22108
22290
|
/**
|
|
22109
22291
|
* Deserializes binary data (in protobuf wire format) from the
|
|
22110
22292
|
* given reader into the given message object.
|
|
22111
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
22293
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0} msg The message object to deserialize into.
|
|
22112
22294
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22113
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
22295
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0}
|
|
22114
22296
|
*/
|
|
22115
|
-
proto.org.dash.platform.dapi.v0.
|
|
22297
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
22116
22298
|
while (reader.nextField()) {
|
|
22117
22299
|
if (reader.isEndGroup()) {
|
|
22118
22300
|
break;
|
|
@@ -22124,6 +22306,10 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV
|
|
|
22124
22306
|
msg.addIds(value);
|
|
22125
22307
|
break;
|
|
22126
22308
|
case 2:
|
|
22309
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
22310
|
+
msg.setIncludeContracts(value);
|
|
22311
|
+
break;
|
|
22312
|
+
case 3:
|
|
22127
22313
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
22128
22314
|
msg.setProve(value);
|
|
22129
22315
|
break;
|
|
@@ -22140,9 +22326,9 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV
|
|
|
22140
22326
|
* Serializes the message to binary data (in protobuf wire format).
|
|
22141
22327
|
* @return {!Uint8Array}
|
|
22142
22328
|
*/
|
|
22143
|
-
proto.org.dash.platform.dapi.v0.
|
|
22329
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.prototype.serializeBinary = function() {
|
|
22144
22330
|
var writer = new jspb.BinaryWriter();
|
|
22145
|
-
proto.org.dash.platform.dapi.v0.
|
|
22331
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.serializeBinaryToWriter(this, writer);
|
|
22146
22332
|
return writer.getResultBuffer();
|
|
22147
22333
|
};
|
|
22148
22334
|
|
|
@@ -22150,11 +22336,11 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV
|
|
|
22150
22336
|
/**
|
|
22151
22337
|
* Serializes the given message to binary data (in protobuf wire
|
|
22152
22338
|
* format), writing to the given BinaryWriter.
|
|
22153
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
22339
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0} message
|
|
22154
22340
|
* @param {!jspb.BinaryWriter} writer
|
|
22155
22341
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22156
22342
|
*/
|
|
22157
|
-
proto.org.dash.platform.dapi.v0.
|
|
22343
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
22158
22344
|
var f = undefined;
|
|
22159
22345
|
f = message.getIdsList_asU8();
|
|
22160
22346
|
if (f.length > 0) {
|
|
@@ -22163,13 +22349,20 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV
|
|
|
22163
22349
|
f
|
|
22164
22350
|
);
|
|
22165
22351
|
}
|
|
22166
|
-
f = message.
|
|
22352
|
+
f = message.getIncludeContracts();
|
|
22167
22353
|
if (f) {
|
|
22168
22354
|
writer.writeBool(
|
|
22169
22355
|
2,
|
|
22170
22356
|
f
|
|
22171
22357
|
);
|
|
22172
22358
|
}
|
|
22359
|
+
f = message.getProve();
|
|
22360
|
+
if (f) {
|
|
22361
|
+
writer.writeBool(
|
|
22362
|
+
3,
|
|
22363
|
+
f
|
|
22364
|
+
);
|
|
22365
|
+
}
|
|
22173
22366
|
};
|
|
22174
22367
|
|
|
22175
22368
|
|
|
@@ -22177,7 +22370,7 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV
|
|
|
22177
22370
|
* repeated bytes ids = 1;
|
|
22178
22371
|
* @return {!Array<string>}
|
|
22179
22372
|
*/
|
|
22180
|
-
proto.org.dash.platform.dapi.v0.
|
|
22373
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.prototype.getIdsList = function() {
|
|
22181
22374
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
22182
22375
|
};
|
|
22183
22376
|
|
|
@@ -22187,7 +22380,7 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV
|
|
|
22187
22380
|
* This is a type-conversion wrapper around `getIdsList()`
|
|
22188
22381
|
* @return {!Array<string>}
|
|
22189
22382
|
*/
|
|
22190
|
-
proto.org.dash.platform.dapi.v0.
|
|
22383
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.prototype.getIdsList_asB64 = function() {
|
|
22191
22384
|
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
22192
22385
|
this.getIdsList()));
|
|
22193
22386
|
};
|
|
@@ -22200,7 +22393,7 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV
|
|
|
22200
22393
|
* This is a type-conversion wrapper around `getIdsList()`
|
|
22201
22394
|
* @return {!Array<!Uint8Array>}
|
|
22202
22395
|
*/
|
|
22203
|
-
proto.org.dash.platform.dapi.v0.
|
|
22396
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.prototype.getIdsList_asU8 = function() {
|
|
22204
22397
|
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
22205
22398
|
this.getIdsList()));
|
|
22206
22399
|
};
|
|
@@ -22208,9 +22401,9 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV
|
|
|
22208
22401
|
|
|
22209
22402
|
/**
|
|
22210
22403
|
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
22211
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
22404
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0} returns this
|
|
22212
22405
|
*/
|
|
22213
|
-
proto.org.dash.platform.dapi.v0.
|
|
22406
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.prototype.setIdsList = function(value) {
|
|
22214
22407
|
return jspb.Message.setField(this, 1, value || []);
|
|
22215
22408
|
};
|
|
22216
22409
|
|
|
@@ -22218,64 +22411,82 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV
|
|
|
22218
22411
|
/**
|
|
22219
22412
|
* @param {!(string|Uint8Array)} value
|
|
22220
22413
|
* @param {number=} opt_index
|
|
22221
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
22414
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0} returns this
|
|
22222
22415
|
*/
|
|
22223
|
-
proto.org.dash.platform.dapi.v0.
|
|
22416
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.prototype.addIds = function(value, opt_index) {
|
|
22224
22417
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
22225
22418
|
};
|
|
22226
22419
|
|
|
22227
22420
|
|
|
22228
22421
|
/**
|
|
22229
22422
|
* Clears the list making it empty but non-null.
|
|
22230
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
22423
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0} returns this
|
|
22231
22424
|
*/
|
|
22232
|
-
proto.org.dash.platform.dapi.v0.
|
|
22425
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.prototype.clearIdsList = function() {
|
|
22233
22426
|
return this.setIdsList([]);
|
|
22234
22427
|
};
|
|
22235
22428
|
|
|
22236
22429
|
|
|
22237
22430
|
/**
|
|
22238
|
-
* optional bool
|
|
22431
|
+
* optional bool include_contracts = 2;
|
|
22239
22432
|
* @return {boolean}
|
|
22240
22433
|
*/
|
|
22241
|
-
proto.org.dash.platform.dapi.v0.
|
|
22434
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.prototype.getIncludeContracts = function() {
|
|
22242
22435
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
22243
22436
|
};
|
|
22244
22437
|
|
|
22245
22438
|
|
|
22246
22439
|
/**
|
|
22247
22440
|
* @param {boolean} value
|
|
22248
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
22441
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0} returns this
|
|
22249
22442
|
*/
|
|
22250
|
-
proto.org.dash.platform.dapi.v0.
|
|
22443
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.prototype.setIncludeContracts = function(value) {
|
|
22251
22444
|
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
22252
22445
|
};
|
|
22253
22446
|
|
|
22254
22447
|
|
|
22255
22448
|
/**
|
|
22256
|
-
* optional
|
|
22257
|
-
* @return {
|
|
22449
|
+
* optional bool prove = 3;
|
|
22450
|
+
* @return {boolean}
|
|
22258
22451
|
*/
|
|
22259
|
-
proto.org.dash.platform.dapi.v0.
|
|
22260
|
-
return /** @type{
|
|
22261
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0, 1));
|
|
22452
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.prototype.getProve = function() {
|
|
22453
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
22262
22454
|
};
|
|
22263
22455
|
|
|
22264
22456
|
|
|
22265
22457
|
/**
|
|
22266
|
-
* @param {
|
|
22267
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
22458
|
+
* @param {boolean} value
|
|
22459
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0} returns this
|
|
22460
|
+
*/
|
|
22461
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0.prototype.setProve = function(value) {
|
|
22462
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
22463
|
+
};
|
|
22464
|
+
|
|
22465
|
+
|
|
22466
|
+
/**
|
|
22467
|
+
* optional GetDataContractsLatestVersionsRequestV0 v0 = 1;
|
|
22468
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0}
|
|
22469
|
+
*/
|
|
22470
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.prototype.getV0 = function() {
|
|
22471
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0} */ (
|
|
22472
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0, 1));
|
|
22473
|
+
};
|
|
22474
|
+
|
|
22475
|
+
|
|
22476
|
+
/**
|
|
22477
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.GetDataContractsLatestVersionsRequestV0|undefined} value
|
|
22478
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest} returns this
|
|
22268
22479
|
*/
|
|
22269
|
-
proto.org.dash.platform.dapi.v0.
|
|
22270
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.
|
|
22480
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.prototype.setV0 = function(value) {
|
|
22481
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.oneofGroups_[0], value);
|
|
22271
22482
|
};
|
|
22272
22483
|
|
|
22273
22484
|
|
|
22274
22485
|
/**
|
|
22275
22486
|
* Clears the message field making it undefined.
|
|
22276
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
22487
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest} returns this
|
|
22277
22488
|
*/
|
|
22278
|
-
proto.org.dash.platform.dapi.v0.
|
|
22489
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.prototype.clearV0 = function() {
|
|
22279
22490
|
return this.setV0(undefined);
|
|
22280
22491
|
};
|
|
22281
22492
|
|
|
@@ -22284,7 +22495,1836 @@ proto.org.dash.platform.dapi.v0.GetDataContractsRequest.prototype.clearV0 = func
|
|
|
22284
22495
|
* Returns whether this field is set.
|
|
22285
22496
|
* @return {boolean}
|
|
22286
22497
|
*/
|
|
22287
|
-
proto.org.dash.platform.dapi.v0.
|
|
22498
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsRequest.prototype.hasV0 = function() {
|
|
22499
|
+
return jspb.Message.getField(this, 1) != null;
|
|
22500
|
+
};
|
|
22501
|
+
|
|
22502
|
+
|
|
22503
|
+
|
|
22504
|
+
/**
|
|
22505
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
22506
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
22507
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
22508
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
22509
|
+
* @private {!Array<!Array<number>>}
|
|
22510
|
+
* @const
|
|
22511
|
+
*/
|
|
22512
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.oneofGroups_ = [[1]];
|
|
22513
|
+
|
|
22514
|
+
/**
|
|
22515
|
+
* @enum {number}
|
|
22516
|
+
*/
|
|
22517
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.VersionCase = {
|
|
22518
|
+
VERSION_NOT_SET: 0,
|
|
22519
|
+
V0: 1
|
|
22520
|
+
};
|
|
22521
|
+
|
|
22522
|
+
/**
|
|
22523
|
+
* @return {proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.VersionCase}
|
|
22524
|
+
*/
|
|
22525
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.prototype.getVersionCase = function() {
|
|
22526
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.oneofGroups_[0]));
|
|
22527
|
+
};
|
|
22528
|
+
|
|
22529
|
+
|
|
22530
|
+
|
|
22531
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22532
|
+
/**
|
|
22533
|
+
* Creates an object representation of this proto.
|
|
22534
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22535
|
+
* Optional fields that are not set will be set to undefined.
|
|
22536
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22537
|
+
* For the list of reserved names please see:
|
|
22538
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22539
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22540
|
+
* JSPB instance for transitional soy proto support:
|
|
22541
|
+
* http://goto/soy-param-migration
|
|
22542
|
+
* @return {!Object}
|
|
22543
|
+
*/
|
|
22544
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
22545
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.toObject(opt_includeInstance, this);
|
|
22546
|
+
};
|
|
22547
|
+
|
|
22548
|
+
|
|
22549
|
+
/**
|
|
22550
|
+
* Static version of the {@see toObject} method.
|
|
22551
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22552
|
+
* the JSPB instance for transitional soy proto support:
|
|
22553
|
+
* http://goto/soy-param-migration
|
|
22554
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse} msg The msg instance to transform.
|
|
22555
|
+
* @return {!Object}
|
|
22556
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22557
|
+
*/
|
|
22558
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.toObject = function(includeInstance, msg) {
|
|
22559
|
+
var f, obj = {
|
|
22560
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.toObject(includeInstance, f)
|
|
22561
|
+
};
|
|
22562
|
+
|
|
22563
|
+
if (includeInstance) {
|
|
22564
|
+
obj.$jspbMessageInstance = msg;
|
|
22565
|
+
}
|
|
22566
|
+
return obj;
|
|
22567
|
+
};
|
|
22568
|
+
}
|
|
22569
|
+
|
|
22570
|
+
|
|
22571
|
+
/**
|
|
22572
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22573
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22574
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse}
|
|
22575
|
+
*/
|
|
22576
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.deserializeBinary = function(bytes) {
|
|
22577
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22578
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse;
|
|
22579
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.deserializeBinaryFromReader(msg, reader);
|
|
22580
|
+
};
|
|
22581
|
+
|
|
22582
|
+
|
|
22583
|
+
/**
|
|
22584
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22585
|
+
* given reader into the given message object.
|
|
22586
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse} msg The message object to deserialize into.
|
|
22587
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22588
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse}
|
|
22589
|
+
*/
|
|
22590
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
22591
|
+
while (reader.nextField()) {
|
|
22592
|
+
if (reader.isEndGroup()) {
|
|
22593
|
+
break;
|
|
22594
|
+
}
|
|
22595
|
+
var field = reader.getFieldNumber();
|
|
22596
|
+
switch (field) {
|
|
22597
|
+
case 1:
|
|
22598
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0;
|
|
22599
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.deserializeBinaryFromReader);
|
|
22600
|
+
msg.setV0(value);
|
|
22601
|
+
break;
|
|
22602
|
+
default:
|
|
22603
|
+
reader.skipField();
|
|
22604
|
+
break;
|
|
22605
|
+
}
|
|
22606
|
+
}
|
|
22607
|
+
return msg;
|
|
22608
|
+
};
|
|
22609
|
+
|
|
22610
|
+
|
|
22611
|
+
/**
|
|
22612
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22613
|
+
* @return {!Uint8Array}
|
|
22614
|
+
*/
|
|
22615
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.prototype.serializeBinary = function() {
|
|
22616
|
+
var writer = new jspb.BinaryWriter();
|
|
22617
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.serializeBinaryToWriter(this, writer);
|
|
22618
|
+
return writer.getResultBuffer();
|
|
22619
|
+
};
|
|
22620
|
+
|
|
22621
|
+
|
|
22622
|
+
/**
|
|
22623
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22624
|
+
* format), writing to the given BinaryWriter.
|
|
22625
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse} message
|
|
22626
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22627
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22628
|
+
*/
|
|
22629
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
22630
|
+
var f = undefined;
|
|
22631
|
+
f = message.getV0();
|
|
22632
|
+
if (f != null) {
|
|
22633
|
+
writer.writeMessage(
|
|
22634
|
+
1,
|
|
22635
|
+
f,
|
|
22636
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.serializeBinaryToWriter
|
|
22637
|
+
);
|
|
22638
|
+
}
|
|
22639
|
+
};
|
|
22640
|
+
|
|
22641
|
+
|
|
22642
|
+
|
|
22643
|
+
|
|
22644
|
+
|
|
22645
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22646
|
+
/**
|
|
22647
|
+
* Creates an object representation of this proto.
|
|
22648
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22649
|
+
* Optional fields that are not set will be set to undefined.
|
|
22650
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22651
|
+
* For the list of reserved names please see:
|
|
22652
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22653
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22654
|
+
* JSPB instance for transitional soy proto support:
|
|
22655
|
+
* http://goto/soy-param-migration
|
|
22656
|
+
* @return {!Object}
|
|
22657
|
+
*/
|
|
22658
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.prototype.toObject = function(opt_includeInstance) {
|
|
22659
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.toObject(opt_includeInstance, this);
|
|
22660
|
+
};
|
|
22661
|
+
|
|
22662
|
+
|
|
22663
|
+
/**
|
|
22664
|
+
* Static version of the {@see toObject} method.
|
|
22665
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22666
|
+
* the JSPB instance for transitional soy proto support:
|
|
22667
|
+
* http://goto/soy-param-migration
|
|
22668
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry} msg The msg instance to transform.
|
|
22669
|
+
* @return {!Object}
|
|
22670
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22671
|
+
*/
|
|
22672
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.toObject = function(includeInstance, msg) {
|
|
22673
|
+
var f, obj = {
|
|
22674
|
+
identifier: msg.getIdentifier_asB64(),
|
|
22675
|
+
version: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22676
|
+
dataContract: msg.getDataContract_asB64()
|
|
22677
|
+
};
|
|
22678
|
+
|
|
22679
|
+
if (includeInstance) {
|
|
22680
|
+
obj.$jspbMessageInstance = msg;
|
|
22681
|
+
}
|
|
22682
|
+
return obj;
|
|
22683
|
+
};
|
|
22684
|
+
}
|
|
22685
|
+
|
|
22686
|
+
|
|
22687
|
+
/**
|
|
22688
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22689
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22690
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry}
|
|
22691
|
+
*/
|
|
22692
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.deserializeBinary = function(bytes) {
|
|
22693
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22694
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry;
|
|
22695
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.deserializeBinaryFromReader(msg, reader);
|
|
22696
|
+
};
|
|
22697
|
+
|
|
22698
|
+
|
|
22699
|
+
/**
|
|
22700
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22701
|
+
* given reader into the given message object.
|
|
22702
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry} msg The message object to deserialize into.
|
|
22703
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22704
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry}
|
|
22705
|
+
*/
|
|
22706
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.deserializeBinaryFromReader = function(msg, reader) {
|
|
22707
|
+
while (reader.nextField()) {
|
|
22708
|
+
if (reader.isEndGroup()) {
|
|
22709
|
+
break;
|
|
22710
|
+
}
|
|
22711
|
+
var field = reader.getFieldNumber();
|
|
22712
|
+
switch (field) {
|
|
22713
|
+
case 1:
|
|
22714
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
22715
|
+
msg.setIdentifier(value);
|
|
22716
|
+
break;
|
|
22717
|
+
case 2:
|
|
22718
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
22719
|
+
msg.setVersion(value);
|
|
22720
|
+
break;
|
|
22721
|
+
case 3:
|
|
22722
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
22723
|
+
msg.setDataContract(value);
|
|
22724
|
+
break;
|
|
22725
|
+
default:
|
|
22726
|
+
reader.skipField();
|
|
22727
|
+
break;
|
|
22728
|
+
}
|
|
22729
|
+
}
|
|
22730
|
+
return msg;
|
|
22731
|
+
};
|
|
22732
|
+
|
|
22733
|
+
|
|
22734
|
+
/**
|
|
22735
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22736
|
+
* @return {!Uint8Array}
|
|
22737
|
+
*/
|
|
22738
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.prototype.serializeBinary = function() {
|
|
22739
|
+
var writer = new jspb.BinaryWriter();
|
|
22740
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.serializeBinaryToWriter(this, writer);
|
|
22741
|
+
return writer.getResultBuffer();
|
|
22742
|
+
};
|
|
22743
|
+
|
|
22744
|
+
|
|
22745
|
+
/**
|
|
22746
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22747
|
+
* format), writing to the given BinaryWriter.
|
|
22748
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry} message
|
|
22749
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22750
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22751
|
+
*/
|
|
22752
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.serializeBinaryToWriter = function(message, writer) {
|
|
22753
|
+
var f = undefined;
|
|
22754
|
+
f = message.getIdentifier_asU8();
|
|
22755
|
+
if (f.length > 0) {
|
|
22756
|
+
writer.writeBytes(
|
|
22757
|
+
1,
|
|
22758
|
+
f
|
|
22759
|
+
);
|
|
22760
|
+
}
|
|
22761
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
22762
|
+
if (f != null) {
|
|
22763
|
+
writer.writeUint32(
|
|
22764
|
+
2,
|
|
22765
|
+
f
|
|
22766
|
+
);
|
|
22767
|
+
}
|
|
22768
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 3));
|
|
22769
|
+
if (f != null) {
|
|
22770
|
+
writer.writeBytes(
|
|
22771
|
+
3,
|
|
22772
|
+
f
|
|
22773
|
+
);
|
|
22774
|
+
}
|
|
22775
|
+
};
|
|
22776
|
+
|
|
22777
|
+
|
|
22778
|
+
/**
|
|
22779
|
+
* optional bytes identifier = 1;
|
|
22780
|
+
* @return {string}
|
|
22781
|
+
*/
|
|
22782
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.prototype.getIdentifier = function() {
|
|
22783
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
22784
|
+
};
|
|
22785
|
+
|
|
22786
|
+
|
|
22787
|
+
/**
|
|
22788
|
+
* optional bytes identifier = 1;
|
|
22789
|
+
* This is a type-conversion wrapper around `getIdentifier()`
|
|
22790
|
+
* @return {string}
|
|
22791
|
+
*/
|
|
22792
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.prototype.getIdentifier_asB64 = function() {
|
|
22793
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
22794
|
+
this.getIdentifier()));
|
|
22795
|
+
};
|
|
22796
|
+
|
|
22797
|
+
|
|
22798
|
+
/**
|
|
22799
|
+
* optional bytes identifier = 1;
|
|
22800
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
22801
|
+
* @see http://caniuse.com/Uint8Array
|
|
22802
|
+
* This is a type-conversion wrapper around `getIdentifier()`
|
|
22803
|
+
* @return {!Uint8Array}
|
|
22804
|
+
*/
|
|
22805
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.prototype.getIdentifier_asU8 = function() {
|
|
22806
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
22807
|
+
this.getIdentifier()));
|
|
22808
|
+
};
|
|
22809
|
+
|
|
22810
|
+
|
|
22811
|
+
/**
|
|
22812
|
+
* @param {!(string|Uint8Array)} value
|
|
22813
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry} returns this
|
|
22814
|
+
*/
|
|
22815
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.prototype.setIdentifier = function(value) {
|
|
22816
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
22817
|
+
};
|
|
22818
|
+
|
|
22819
|
+
|
|
22820
|
+
/**
|
|
22821
|
+
* optional uint32 version = 2;
|
|
22822
|
+
* @return {number}
|
|
22823
|
+
*/
|
|
22824
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.prototype.getVersion = function() {
|
|
22825
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22826
|
+
};
|
|
22827
|
+
|
|
22828
|
+
|
|
22829
|
+
/**
|
|
22830
|
+
* @param {number} value
|
|
22831
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry} returns this
|
|
22832
|
+
*/
|
|
22833
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.prototype.setVersion = function(value) {
|
|
22834
|
+
return jspb.Message.setField(this, 2, value);
|
|
22835
|
+
};
|
|
22836
|
+
|
|
22837
|
+
|
|
22838
|
+
/**
|
|
22839
|
+
* Clears the field making it undefined.
|
|
22840
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry} returns this
|
|
22841
|
+
*/
|
|
22842
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.prototype.clearVersion = function() {
|
|
22843
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
22844
|
+
};
|
|
22845
|
+
|
|
22846
|
+
|
|
22847
|
+
/**
|
|
22848
|
+
* Returns whether this field is set.
|
|
22849
|
+
* @return {boolean}
|
|
22850
|
+
*/
|
|
22851
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.prototype.hasVersion = function() {
|
|
22852
|
+
return jspb.Message.getField(this, 2) != null;
|
|
22853
|
+
};
|
|
22854
|
+
|
|
22855
|
+
|
|
22856
|
+
/**
|
|
22857
|
+
* optional bytes data_contract = 3;
|
|
22858
|
+
* @return {string}
|
|
22859
|
+
*/
|
|
22860
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.prototype.getDataContract = function() {
|
|
22861
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
22862
|
+
};
|
|
22863
|
+
|
|
22864
|
+
|
|
22865
|
+
/**
|
|
22866
|
+
* optional bytes data_contract = 3;
|
|
22867
|
+
* This is a type-conversion wrapper around `getDataContract()`
|
|
22868
|
+
* @return {string}
|
|
22869
|
+
*/
|
|
22870
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.prototype.getDataContract_asB64 = function() {
|
|
22871
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
22872
|
+
this.getDataContract()));
|
|
22873
|
+
};
|
|
22874
|
+
|
|
22875
|
+
|
|
22876
|
+
/**
|
|
22877
|
+
* optional bytes data_contract = 3;
|
|
22878
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
22879
|
+
* @see http://caniuse.com/Uint8Array
|
|
22880
|
+
* This is a type-conversion wrapper around `getDataContract()`
|
|
22881
|
+
* @return {!Uint8Array}
|
|
22882
|
+
*/
|
|
22883
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.prototype.getDataContract_asU8 = function() {
|
|
22884
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
22885
|
+
this.getDataContract()));
|
|
22886
|
+
};
|
|
22887
|
+
|
|
22888
|
+
|
|
22889
|
+
/**
|
|
22890
|
+
* @param {!(string|Uint8Array)} value
|
|
22891
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry} returns this
|
|
22892
|
+
*/
|
|
22893
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.prototype.setDataContract = function(value) {
|
|
22894
|
+
return jspb.Message.setField(this, 3, value);
|
|
22895
|
+
};
|
|
22896
|
+
|
|
22897
|
+
|
|
22898
|
+
/**
|
|
22899
|
+
* Clears the field making it undefined.
|
|
22900
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry} returns this
|
|
22901
|
+
*/
|
|
22902
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.prototype.clearDataContract = function() {
|
|
22903
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
22904
|
+
};
|
|
22905
|
+
|
|
22906
|
+
|
|
22907
|
+
/**
|
|
22908
|
+
* Returns whether this field is set.
|
|
22909
|
+
* @return {boolean}
|
|
22910
|
+
*/
|
|
22911
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.prototype.hasDataContract = function() {
|
|
22912
|
+
return jspb.Message.getField(this, 3) != null;
|
|
22913
|
+
};
|
|
22914
|
+
|
|
22915
|
+
|
|
22916
|
+
|
|
22917
|
+
/**
|
|
22918
|
+
* List of repeated fields within this message type.
|
|
22919
|
+
* @private {!Array<number>}
|
|
22920
|
+
* @const
|
|
22921
|
+
*/
|
|
22922
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.repeatedFields_ = [1];
|
|
22923
|
+
|
|
22924
|
+
|
|
22925
|
+
|
|
22926
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22927
|
+
/**
|
|
22928
|
+
* Creates an object representation of this proto.
|
|
22929
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22930
|
+
* Optional fields that are not set will be set to undefined.
|
|
22931
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22932
|
+
* For the list of reserved names please see:
|
|
22933
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22934
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22935
|
+
* JSPB instance for transitional soy proto support:
|
|
22936
|
+
* http://goto/soy-param-migration
|
|
22937
|
+
* @return {!Object}
|
|
22938
|
+
*/
|
|
22939
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.prototype.toObject = function(opt_includeInstance) {
|
|
22940
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.toObject(opt_includeInstance, this);
|
|
22941
|
+
};
|
|
22942
|
+
|
|
22943
|
+
|
|
22944
|
+
/**
|
|
22945
|
+
* Static version of the {@see toObject} method.
|
|
22946
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22947
|
+
* the JSPB instance for transitional soy proto support:
|
|
22948
|
+
* http://goto/soy-param-migration
|
|
22949
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions} msg The msg instance to transform.
|
|
22950
|
+
* @return {!Object}
|
|
22951
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22952
|
+
*/
|
|
22953
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.toObject = function(includeInstance, msg) {
|
|
22954
|
+
var f, obj = {
|
|
22955
|
+
entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
|
|
22956
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.toObject, includeInstance)
|
|
22957
|
+
};
|
|
22958
|
+
|
|
22959
|
+
if (includeInstance) {
|
|
22960
|
+
obj.$jspbMessageInstance = msg;
|
|
22961
|
+
}
|
|
22962
|
+
return obj;
|
|
22963
|
+
};
|
|
22964
|
+
}
|
|
22965
|
+
|
|
22966
|
+
|
|
22967
|
+
/**
|
|
22968
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22969
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22970
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions}
|
|
22971
|
+
*/
|
|
22972
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.deserializeBinary = function(bytes) {
|
|
22973
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22974
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions;
|
|
22975
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.deserializeBinaryFromReader(msg, reader);
|
|
22976
|
+
};
|
|
22977
|
+
|
|
22978
|
+
|
|
22979
|
+
/**
|
|
22980
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22981
|
+
* given reader into the given message object.
|
|
22982
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions} msg The message object to deserialize into.
|
|
22983
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22984
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions}
|
|
22985
|
+
*/
|
|
22986
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.deserializeBinaryFromReader = function(msg, reader) {
|
|
22987
|
+
while (reader.nextField()) {
|
|
22988
|
+
if (reader.isEndGroup()) {
|
|
22989
|
+
break;
|
|
22990
|
+
}
|
|
22991
|
+
var field = reader.getFieldNumber();
|
|
22992
|
+
switch (field) {
|
|
22993
|
+
case 1:
|
|
22994
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry;
|
|
22995
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.deserializeBinaryFromReader);
|
|
22996
|
+
msg.addEntries(value);
|
|
22997
|
+
break;
|
|
22998
|
+
default:
|
|
22999
|
+
reader.skipField();
|
|
23000
|
+
break;
|
|
23001
|
+
}
|
|
23002
|
+
}
|
|
23003
|
+
return msg;
|
|
23004
|
+
};
|
|
23005
|
+
|
|
23006
|
+
|
|
23007
|
+
/**
|
|
23008
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23009
|
+
* @return {!Uint8Array}
|
|
23010
|
+
*/
|
|
23011
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.prototype.serializeBinary = function() {
|
|
23012
|
+
var writer = new jspb.BinaryWriter();
|
|
23013
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.serializeBinaryToWriter(this, writer);
|
|
23014
|
+
return writer.getResultBuffer();
|
|
23015
|
+
};
|
|
23016
|
+
|
|
23017
|
+
|
|
23018
|
+
/**
|
|
23019
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23020
|
+
* format), writing to the given BinaryWriter.
|
|
23021
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions} message
|
|
23022
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23023
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23024
|
+
*/
|
|
23025
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.serializeBinaryToWriter = function(message, writer) {
|
|
23026
|
+
var f = undefined;
|
|
23027
|
+
f = message.getEntriesList();
|
|
23028
|
+
if (f.length > 0) {
|
|
23029
|
+
writer.writeRepeatedMessage(
|
|
23030
|
+
1,
|
|
23031
|
+
f,
|
|
23032
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry.serializeBinaryToWriter
|
|
23033
|
+
);
|
|
23034
|
+
}
|
|
23035
|
+
};
|
|
23036
|
+
|
|
23037
|
+
|
|
23038
|
+
/**
|
|
23039
|
+
* repeated DataContractLatestVersionEntry entries = 1;
|
|
23040
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry>}
|
|
23041
|
+
*/
|
|
23042
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.prototype.getEntriesList = function() {
|
|
23043
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry>} */ (
|
|
23044
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry, 1));
|
|
23045
|
+
};
|
|
23046
|
+
|
|
23047
|
+
|
|
23048
|
+
/**
|
|
23049
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry>} value
|
|
23050
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions} returns this
|
|
23051
|
+
*/
|
|
23052
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.prototype.setEntriesList = function(value) {
|
|
23053
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
23054
|
+
};
|
|
23055
|
+
|
|
23056
|
+
|
|
23057
|
+
/**
|
|
23058
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry=} opt_value
|
|
23059
|
+
* @param {number=} opt_index
|
|
23060
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry}
|
|
23061
|
+
*/
|
|
23062
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.prototype.addEntries = function(opt_value, opt_index) {
|
|
23063
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractLatestVersionEntry, opt_index);
|
|
23064
|
+
};
|
|
23065
|
+
|
|
23066
|
+
|
|
23067
|
+
/**
|
|
23068
|
+
* Clears the list making it empty but non-null.
|
|
23069
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions} returns this
|
|
23070
|
+
*/
|
|
23071
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.prototype.clearEntriesList = function() {
|
|
23072
|
+
return this.setEntriesList([]);
|
|
23073
|
+
};
|
|
23074
|
+
|
|
23075
|
+
|
|
23076
|
+
|
|
23077
|
+
/**
|
|
23078
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
23079
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
23080
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
23081
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
23082
|
+
* @private {!Array<!Array<number>>}
|
|
23083
|
+
* @const
|
|
23084
|
+
*/
|
|
23085
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.oneofGroups_ = [[1,2]];
|
|
23086
|
+
|
|
23087
|
+
/**
|
|
23088
|
+
* @enum {number}
|
|
23089
|
+
*/
|
|
23090
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.ResultCase = {
|
|
23091
|
+
RESULT_NOT_SET: 0,
|
|
23092
|
+
DATA_CONTRACTS_LATEST_VERSIONS: 1,
|
|
23093
|
+
PROOF: 2
|
|
23094
|
+
};
|
|
23095
|
+
|
|
23096
|
+
/**
|
|
23097
|
+
* @return {proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.ResultCase}
|
|
23098
|
+
*/
|
|
23099
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.prototype.getResultCase = function() {
|
|
23100
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.oneofGroups_[0]));
|
|
23101
|
+
};
|
|
23102
|
+
|
|
23103
|
+
|
|
23104
|
+
|
|
23105
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23106
|
+
/**
|
|
23107
|
+
* Creates an object representation of this proto.
|
|
23108
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23109
|
+
* Optional fields that are not set will be set to undefined.
|
|
23110
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23111
|
+
* For the list of reserved names please see:
|
|
23112
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23113
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23114
|
+
* JSPB instance for transitional soy proto support:
|
|
23115
|
+
* http://goto/soy-param-migration
|
|
23116
|
+
* @return {!Object}
|
|
23117
|
+
*/
|
|
23118
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.prototype.toObject = function(opt_includeInstance) {
|
|
23119
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.toObject(opt_includeInstance, this);
|
|
23120
|
+
};
|
|
23121
|
+
|
|
23122
|
+
|
|
23123
|
+
/**
|
|
23124
|
+
* Static version of the {@see toObject} method.
|
|
23125
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23126
|
+
* the JSPB instance for transitional soy proto support:
|
|
23127
|
+
* http://goto/soy-param-migration
|
|
23128
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0} msg The msg instance to transform.
|
|
23129
|
+
* @return {!Object}
|
|
23130
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23131
|
+
*/
|
|
23132
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.toObject = function(includeInstance, msg) {
|
|
23133
|
+
var f, obj = {
|
|
23134
|
+
dataContractsLatestVersions: (f = msg.getDataContractsLatestVersions()) && proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.toObject(includeInstance, f),
|
|
23135
|
+
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
23136
|
+
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
23137
|
+
};
|
|
23138
|
+
|
|
23139
|
+
if (includeInstance) {
|
|
23140
|
+
obj.$jspbMessageInstance = msg;
|
|
23141
|
+
}
|
|
23142
|
+
return obj;
|
|
23143
|
+
};
|
|
23144
|
+
}
|
|
23145
|
+
|
|
23146
|
+
|
|
23147
|
+
/**
|
|
23148
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23149
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23150
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0}
|
|
23151
|
+
*/
|
|
23152
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.deserializeBinary = function(bytes) {
|
|
23153
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23154
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0;
|
|
23155
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.deserializeBinaryFromReader(msg, reader);
|
|
23156
|
+
};
|
|
23157
|
+
|
|
23158
|
+
|
|
23159
|
+
/**
|
|
23160
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23161
|
+
* given reader into the given message object.
|
|
23162
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0} msg The message object to deserialize into.
|
|
23163
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23164
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0}
|
|
23165
|
+
*/
|
|
23166
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
23167
|
+
while (reader.nextField()) {
|
|
23168
|
+
if (reader.isEndGroup()) {
|
|
23169
|
+
break;
|
|
23170
|
+
}
|
|
23171
|
+
var field = reader.getFieldNumber();
|
|
23172
|
+
switch (field) {
|
|
23173
|
+
case 1:
|
|
23174
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions;
|
|
23175
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.deserializeBinaryFromReader);
|
|
23176
|
+
msg.setDataContractsLatestVersions(value);
|
|
23177
|
+
break;
|
|
23178
|
+
case 2:
|
|
23179
|
+
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
23180
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
23181
|
+
msg.setProof(value);
|
|
23182
|
+
break;
|
|
23183
|
+
case 3:
|
|
23184
|
+
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
23185
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
23186
|
+
msg.setMetadata(value);
|
|
23187
|
+
break;
|
|
23188
|
+
default:
|
|
23189
|
+
reader.skipField();
|
|
23190
|
+
break;
|
|
23191
|
+
}
|
|
23192
|
+
}
|
|
23193
|
+
return msg;
|
|
23194
|
+
};
|
|
23195
|
+
|
|
23196
|
+
|
|
23197
|
+
/**
|
|
23198
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23199
|
+
* @return {!Uint8Array}
|
|
23200
|
+
*/
|
|
23201
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.prototype.serializeBinary = function() {
|
|
23202
|
+
var writer = new jspb.BinaryWriter();
|
|
23203
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.serializeBinaryToWriter(this, writer);
|
|
23204
|
+
return writer.getResultBuffer();
|
|
23205
|
+
};
|
|
23206
|
+
|
|
23207
|
+
|
|
23208
|
+
/**
|
|
23209
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23210
|
+
* format), writing to the given BinaryWriter.
|
|
23211
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0} message
|
|
23212
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23213
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23214
|
+
*/
|
|
23215
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.serializeBinaryToWriter = function(message, writer) {
|
|
23216
|
+
var f = undefined;
|
|
23217
|
+
f = message.getDataContractsLatestVersions();
|
|
23218
|
+
if (f != null) {
|
|
23219
|
+
writer.writeMessage(
|
|
23220
|
+
1,
|
|
23221
|
+
f,
|
|
23222
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions.serializeBinaryToWriter
|
|
23223
|
+
);
|
|
23224
|
+
}
|
|
23225
|
+
f = message.getProof();
|
|
23226
|
+
if (f != null) {
|
|
23227
|
+
writer.writeMessage(
|
|
23228
|
+
2,
|
|
23229
|
+
f,
|
|
23230
|
+
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
23231
|
+
);
|
|
23232
|
+
}
|
|
23233
|
+
f = message.getMetadata();
|
|
23234
|
+
if (f != null) {
|
|
23235
|
+
writer.writeMessage(
|
|
23236
|
+
3,
|
|
23237
|
+
f,
|
|
23238
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
23239
|
+
);
|
|
23240
|
+
}
|
|
23241
|
+
};
|
|
23242
|
+
|
|
23243
|
+
|
|
23244
|
+
/**
|
|
23245
|
+
* optional DataContractsLatestVersions data_contracts_latest_versions = 1;
|
|
23246
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions}
|
|
23247
|
+
*/
|
|
23248
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.prototype.getDataContractsLatestVersions = function() {
|
|
23249
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions} */ (
|
|
23250
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions, 1));
|
|
23251
|
+
};
|
|
23252
|
+
|
|
23253
|
+
|
|
23254
|
+
/**
|
|
23255
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.DataContractsLatestVersions|undefined} value
|
|
23256
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0} returns this
|
|
23257
|
+
*/
|
|
23258
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.prototype.setDataContractsLatestVersions = function(value) {
|
|
23259
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.oneofGroups_[0], value);
|
|
23260
|
+
};
|
|
23261
|
+
|
|
23262
|
+
|
|
23263
|
+
/**
|
|
23264
|
+
* Clears the message field making it undefined.
|
|
23265
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0} returns this
|
|
23266
|
+
*/
|
|
23267
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.prototype.clearDataContractsLatestVersions = function() {
|
|
23268
|
+
return this.setDataContractsLatestVersions(undefined);
|
|
23269
|
+
};
|
|
23270
|
+
|
|
23271
|
+
|
|
23272
|
+
/**
|
|
23273
|
+
* Returns whether this field is set.
|
|
23274
|
+
* @return {boolean}
|
|
23275
|
+
*/
|
|
23276
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.prototype.hasDataContractsLatestVersions = function() {
|
|
23277
|
+
return jspb.Message.getField(this, 1) != null;
|
|
23278
|
+
};
|
|
23279
|
+
|
|
23280
|
+
|
|
23281
|
+
/**
|
|
23282
|
+
* optional Proof proof = 2;
|
|
23283
|
+
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
23284
|
+
*/
|
|
23285
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.prototype.getProof = function() {
|
|
23286
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
23287
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
23288
|
+
};
|
|
23289
|
+
|
|
23290
|
+
|
|
23291
|
+
/**
|
|
23292
|
+
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
23293
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0} returns this
|
|
23294
|
+
*/
|
|
23295
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.prototype.setProof = function(value) {
|
|
23296
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.oneofGroups_[0], value);
|
|
23297
|
+
};
|
|
23298
|
+
|
|
23299
|
+
|
|
23300
|
+
/**
|
|
23301
|
+
* Clears the message field making it undefined.
|
|
23302
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0} returns this
|
|
23303
|
+
*/
|
|
23304
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.prototype.clearProof = function() {
|
|
23305
|
+
return this.setProof(undefined);
|
|
23306
|
+
};
|
|
23307
|
+
|
|
23308
|
+
|
|
23309
|
+
/**
|
|
23310
|
+
* Returns whether this field is set.
|
|
23311
|
+
* @return {boolean}
|
|
23312
|
+
*/
|
|
23313
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.prototype.hasProof = function() {
|
|
23314
|
+
return jspb.Message.getField(this, 2) != null;
|
|
23315
|
+
};
|
|
23316
|
+
|
|
23317
|
+
|
|
23318
|
+
/**
|
|
23319
|
+
* optional ResponseMetadata metadata = 3;
|
|
23320
|
+
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
23321
|
+
*/
|
|
23322
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.prototype.getMetadata = function() {
|
|
23323
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
23324
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
23325
|
+
};
|
|
23326
|
+
|
|
23327
|
+
|
|
23328
|
+
/**
|
|
23329
|
+
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
|
|
23330
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0} returns this
|
|
23331
|
+
*/
|
|
23332
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.prototype.setMetadata = function(value) {
|
|
23333
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
23334
|
+
};
|
|
23335
|
+
|
|
23336
|
+
|
|
23337
|
+
/**
|
|
23338
|
+
* Clears the message field making it undefined.
|
|
23339
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0} returns this
|
|
23340
|
+
*/
|
|
23341
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.prototype.clearMetadata = function() {
|
|
23342
|
+
return this.setMetadata(undefined);
|
|
23343
|
+
};
|
|
23344
|
+
|
|
23345
|
+
|
|
23346
|
+
/**
|
|
23347
|
+
* Returns whether this field is set.
|
|
23348
|
+
* @return {boolean}
|
|
23349
|
+
*/
|
|
23350
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0.prototype.hasMetadata = function() {
|
|
23351
|
+
return jspb.Message.getField(this, 3) != null;
|
|
23352
|
+
};
|
|
23353
|
+
|
|
23354
|
+
|
|
23355
|
+
/**
|
|
23356
|
+
* optional GetDataContractsLatestVersionsResponseV0 v0 = 1;
|
|
23357
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0}
|
|
23358
|
+
*/
|
|
23359
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.prototype.getV0 = function() {
|
|
23360
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0} */ (
|
|
23361
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0, 1));
|
|
23362
|
+
};
|
|
23363
|
+
|
|
23364
|
+
|
|
23365
|
+
/**
|
|
23366
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.GetDataContractsLatestVersionsResponseV0|undefined} value
|
|
23367
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse} returns this
|
|
23368
|
+
*/
|
|
23369
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.prototype.setV0 = function(value) {
|
|
23370
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.oneofGroups_[0], value);
|
|
23371
|
+
};
|
|
23372
|
+
|
|
23373
|
+
|
|
23374
|
+
/**
|
|
23375
|
+
* Clears the message field making it undefined.
|
|
23376
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse} returns this
|
|
23377
|
+
*/
|
|
23378
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.prototype.clearV0 = function() {
|
|
23379
|
+
return this.setV0(undefined);
|
|
23380
|
+
};
|
|
23381
|
+
|
|
23382
|
+
|
|
23383
|
+
/**
|
|
23384
|
+
* Returns whether this field is set.
|
|
23385
|
+
* @return {boolean}
|
|
23386
|
+
*/
|
|
23387
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsLatestVersionsResponse.prototype.hasV0 = function() {
|
|
23388
|
+
return jspb.Message.getField(this, 1) != null;
|
|
23389
|
+
};
|
|
23390
|
+
|
|
23391
|
+
|
|
23392
|
+
|
|
23393
|
+
/**
|
|
23394
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
23395
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
23396
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
23397
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
23398
|
+
* @private {!Array<!Array<number>>}
|
|
23399
|
+
* @const
|
|
23400
|
+
*/
|
|
23401
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.oneofGroups_ = [[1]];
|
|
23402
|
+
|
|
23403
|
+
/**
|
|
23404
|
+
* @enum {number}
|
|
23405
|
+
*/
|
|
23406
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.VersionCase = {
|
|
23407
|
+
VERSION_NOT_SET: 0,
|
|
23408
|
+
V0: 1
|
|
23409
|
+
};
|
|
23410
|
+
|
|
23411
|
+
/**
|
|
23412
|
+
* @return {proto.org.dash.platform.dapi.v0.GetDataContractsRequest.VersionCase}
|
|
23413
|
+
*/
|
|
23414
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.prototype.getVersionCase = function() {
|
|
23415
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetDataContractsRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDataContractsRequest.oneofGroups_[0]));
|
|
23416
|
+
};
|
|
23417
|
+
|
|
23418
|
+
|
|
23419
|
+
|
|
23420
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23421
|
+
/**
|
|
23422
|
+
* Creates an object representation of this proto.
|
|
23423
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23424
|
+
* Optional fields that are not set will be set to undefined.
|
|
23425
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23426
|
+
* For the list of reserved names please see:
|
|
23427
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23428
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23429
|
+
* JSPB instance for transitional soy proto support:
|
|
23430
|
+
* http://goto/soy-param-migration
|
|
23431
|
+
* @return {!Object}
|
|
23432
|
+
*/
|
|
23433
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
23434
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsRequest.toObject(opt_includeInstance, this);
|
|
23435
|
+
};
|
|
23436
|
+
|
|
23437
|
+
|
|
23438
|
+
/**
|
|
23439
|
+
* Static version of the {@see toObject} method.
|
|
23440
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23441
|
+
* the JSPB instance for transitional soy proto support:
|
|
23442
|
+
* http://goto/soy-param-migration
|
|
23443
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsRequest} msg The msg instance to transform.
|
|
23444
|
+
* @return {!Object}
|
|
23445
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23446
|
+
*/
|
|
23447
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.toObject = function(includeInstance, msg) {
|
|
23448
|
+
var f, obj = {
|
|
23449
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.toObject(includeInstance, f)
|
|
23450
|
+
};
|
|
23451
|
+
|
|
23452
|
+
if (includeInstance) {
|
|
23453
|
+
obj.$jspbMessageInstance = msg;
|
|
23454
|
+
}
|
|
23455
|
+
return obj;
|
|
23456
|
+
};
|
|
23457
|
+
}
|
|
23458
|
+
|
|
23459
|
+
|
|
23460
|
+
/**
|
|
23461
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23462
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23463
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsRequest}
|
|
23464
|
+
*/
|
|
23465
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.deserializeBinary = function(bytes) {
|
|
23466
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23467
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDataContractsRequest;
|
|
23468
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsRequest.deserializeBinaryFromReader(msg, reader);
|
|
23469
|
+
};
|
|
23470
|
+
|
|
23471
|
+
|
|
23472
|
+
/**
|
|
23473
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23474
|
+
* given reader into the given message object.
|
|
23475
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsRequest} msg The message object to deserialize into.
|
|
23476
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23477
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsRequest}
|
|
23478
|
+
*/
|
|
23479
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
23480
|
+
while (reader.nextField()) {
|
|
23481
|
+
if (reader.isEndGroup()) {
|
|
23482
|
+
break;
|
|
23483
|
+
}
|
|
23484
|
+
var field = reader.getFieldNumber();
|
|
23485
|
+
switch (field) {
|
|
23486
|
+
case 1:
|
|
23487
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0;
|
|
23488
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.deserializeBinaryFromReader);
|
|
23489
|
+
msg.setV0(value);
|
|
23490
|
+
break;
|
|
23491
|
+
default:
|
|
23492
|
+
reader.skipField();
|
|
23493
|
+
break;
|
|
23494
|
+
}
|
|
23495
|
+
}
|
|
23496
|
+
return msg;
|
|
23497
|
+
};
|
|
23498
|
+
|
|
23499
|
+
|
|
23500
|
+
/**
|
|
23501
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23502
|
+
* @return {!Uint8Array}
|
|
23503
|
+
*/
|
|
23504
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.prototype.serializeBinary = function() {
|
|
23505
|
+
var writer = new jspb.BinaryWriter();
|
|
23506
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.serializeBinaryToWriter(this, writer);
|
|
23507
|
+
return writer.getResultBuffer();
|
|
23508
|
+
};
|
|
23509
|
+
|
|
23510
|
+
|
|
23511
|
+
/**
|
|
23512
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23513
|
+
* format), writing to the given BinaryWriter.
|
|
23514
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsRequest} message
|
|
23515
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23516
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23517
|
+
*/
|
|
23518
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
23519
|
+
var f = undefined;
|
|
23520
|
+
f = message.getV0();
|
|
23521
|
+
if (f != null) {
|
|
23522
|
+
writer.writeMessage(
|
|
23523
|
+
1,
|
|
23524
|
+
f,
|
|
23525
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.serializeBinaryToWriter
|
|
23526
|
+
);
|
|
23527
|
+
}
|
|
23528
|
+
};
|
|
23529
|
+
|
|
23530
|
+
|
|
23531
|
+
|
|
23532
|
+
/**
|
|
23533
|
+
* List of repeated fields within this message type.
|
|
23534
|
+
* @private {!Array<number>}
|
|
23535
|
+
* @const
|
|
23536
|
+
*/
|
|
23537
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.repeatedFields_ = [1];
|
|
23538
|
+
|
|
23539
|
+
|
|
23540
|
+
|
|
23541
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23542
|
+
/**
|
|
23543
|
+
* Creates an object representation of this proto.
|
|
23544
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23545
|
+
* Optional fields that are not set will be set to undefined.
|
|
23546
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23547
|
+
* For the list of reserved names please see:
|
|
23548
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23549
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23550
|
+
* JSPB instance for transitional soy proto support:
|
|
23551
|
+
* http://goto/soy-param-migration
|
|
23552
|
+
* @return {!Object}
|
|
23553
|
+
*/
|
|
23554
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
23555
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.toObject(opt_includeInstance, this);
|
|
23556
|
+
};
|
|
23557
|
+
|
|
23558
|
+
|
|
23559
|
+
/**
|
|
23560
|
+
* Static version of the {@see toObject} method.
|
|
23561
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23562
|
+
* the JSPB instance for transitional soy proto support:
|
|
23563
|
+
* http://goto/soy-param-migration
|
|
23564
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0} msg The msg instance to transform.
|
|
23565
|
+
* @return {!Object}
|
|
23566
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23567
|
+
*/
|
|
23568
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.toObject = function(includeInstance, msg) {
|
|
23569
|
+
var f, obj = {
|
|
23570
|
+
idsList: msg.getIdsList_asB64(),
|
|
23571
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
23572
|
+
};
|
|
23573
|
+
|
|
23574
|
+
if (includeInstance) {
|
|
23575
|
+
obj.$jspbMessageInstance = msg;
|
|
23576
|
+
}
|
|
23577
|
+
return obj;
|
|
23578
|
+
};
|
|
23579
|
+
}
|
|
23580
|
+
|
|
23581
|
+
|
|
23582
|
+
/**
|
|
23583
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23584
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23585
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0}
|
|
23586
|
+
*/
|
|
23587
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.deserializeBinary = function(bytes) {
|
|
23588
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23589
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0;
|
|
23590
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
23591
|
+
};
|
|
23592
|
+
|
|
23593
|
+
|
|
23594
|
+
/**
|
|
23595
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23596
|
+
* given reader into the given message object.
|
|
23597
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0} msg The message object to deserialize into.
|
|
23598
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23599
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0}
|
|
23600
|
+
*/
|
|
23601
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
23602
|
+
while (reader.nextField()) {
|
|
23603
|
+
if (reader.isEndGroup()) {
|
|
23604
|
+
break;
|
|
23605
|
+
}
|
|
23606
|
+
var field = reader.getFieldNumber();
|
|
23607
|
+
switch (field) {
|
|
23608
|
+
case 1:
|
|
23609
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
23610
|
+
msg.addIds(value);
|
|
23611
|
+
break;
|
|
23612
|
+
case 2:
|
|
23613
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
23614
|
+
msg.setProve(value);
|
|
23615
|
+
break;
|
|
23616
|
+
default:
|
|
23617
|
+
reader.skipField();
|
|
23618
|
+
break;
|
|
23619
|
+
}
|
|
23620
|
+
}
|
|
23621
|
+
return msg;
|
|
23622
|
+
};
|
|
23623
|
+
|
|
23624
|
+
|
|
23625
|
+
/**
|
|
23626
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23627
|
+
* @return {!Uint8Array}
|
|
23628
|
+
*/
|
|
23629
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.prototype.serializeBinary = function() {
|
|
23630
|
+
var writer = new jspb.BinaryWriter();
|
|
23631
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.serializeBinaryToWriter(this, writer);
|
|
23632
|
+
return writer.getResultBuffer();
|
|
23633
|
+
};
|
|
23634
|
+
|
|
23635
|
+
|
|
23636
|
+
/**
|
|
23637
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23638
|
+
* format), writing to the given BinaryWriter.
|
|
23639
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0} message
|
|
23640
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23641
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23642
|
+
*/
|
|
23643
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
23644
|
+
var f = undefined;
|
|
23645
|
+
f = message.getIdsList_asU8();
|
|
23646
|
+
if (f.length > 0) {
|
|
23647
|
+
writer.writeRepeatedBytes(
|
|
23648
|
+
1,
|
|
23649
|
+
f
|
|
23650
|
+
);
|
|
23651
|
+
}
|
|
23652
|
+
f = message.getProve();
|
|
23653
|
+
if (f) {
|
|
23654
|
+
writer.writeBool(
|
|
23655
|
+
2,
|
|
23656
|
+
f
|
|
23657
|
+
);
|
|
23658
|
+
}
|
|
23659
|
+
};
|
|
23660
|
+
|
|
23661
|
+
|
|
23662
|
+
/**
|
|
23663
|
+
* repeated bytes ids = 1;
|
|
23664
|
+
* @return {!Array<string>}
|
|
23665
|
+
*/
|
|
23666
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.prototype.getIdsList = function() {
|
|
23667
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
23668
|
+
};
|
|
23669
|
+
|
|
23670
|
+
|
|
23671
|
+
/**
|
|
23672
|
+
* repeated bytes ids = 1;
|
|
23673
|
+
* This is a type-conversion wrapper around `getIdsList()`
|
|
23674
|
+
* @return {!Array<string>}
|
|
23675
|
+
*/
|
|
23676
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.prototype.getIdsList_asB64 = function() {
|
|
23677
|
+
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
23678
|
+
this.getIdsList()));
|
|
23679
|
+
};
|
|
23680
|
+
|
|
23681
|
+
|
|
23682
|
+
/**
|
|
23683
|
+
* repeated bytes ids = 1;
|
|
23684
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
23685
|
+
* @see http://caniuse.com/Uint8Array
|
|
23686
|
+
* This is a type-conversion wrapper around `getIdsList()`
|
|
23687
|
+
* @return {!Array<!Uint8Array>}
|
|
23688
|
+
*/
|
|
23689
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.prototype.getIdsList_asU8 = function() {
|
|
23690
|
+
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
23691
|
+
this.getIdsList()));
|
|
23692
|
+
};
|
|
23693
|
+
|
|
23694
|
+
|
|
23695
|
+
/**
|
|
23696
|
+
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
23697
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0} returns this
|
|
23698
|
+
*/
|
|
23699
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.prototype.setIdsList = function(value) {
|
|
23700
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
23701
|
+
};
|
|
23702
|
+
|
|
23703
|
+
|
|
23704
|
+
/**
|
|
23705
|
+
* @param {!(string|Uint8Array)} value
|
|
23706
|
+
* @param {number=} opt_index
|
|
23707
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0} returns this
|
|
23708
|
+
*/
|
|
23709
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.prototype.addIds = function(value, opt_index) {
|
|
23710
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
23711
|
+
};
|
|
23712
|
+
|
|
23713
|
+
|
|
23714
|
+
/**
|
|
23715
|
+
* Clears the list making it empty but non-null.
|
|
23716
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0} returns this
|
|
23717
|
+
*/
|
|
23718
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.prototype.clearIdsList = function() {
|
|
23719
|
+
return this.setIdsList([]);
|
|
23720
|
+
};
|
|
23721
|
+
|
|
23722
|
+
|
|
23723
|
+
/**
|
|
23724
|
+
* optional bool prove = 2;
|
|
23725
|
+
* @return {boolean}
|
|
23726
|
+
*/
|
|
23727
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.prototype.getProve = function() {
|
|
23728
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
23729
|
+
};
|
|
23730
|
+
|
|
23731
|
+
|
|
23732
|
+
/**
|
|
23733
|
+
* @param {boolean} value
|
|
23734
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0} returns this
|
|
23735
|
+
*/
|
|
23736
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0.prototype.setProve = function(value) {
|
|
23737
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
23738
|
+
};
|
|
23739
|
+
|
|
23740
|
+
|
|
23741
|
+
/**
|
|
23742
|
+
* optional GetDataContractsRequestV0 v0 = 1;
|
|
23743
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0}
|
|
23744
|
+
*/
|
|
23745
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.prototype.getV0 = function() {
|
|
23746
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0} */ (
|
|
23747
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0, 1));
|
|
23748
|
+
};
|
|
23749
|
+
|
|
23750
|
+
|
|
23751
|
+
/**
|
|
23752
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0|undefined} value
|
|
23753
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsRequest} returns this
|
|
23754
|
+
*/
|
|
23755
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.prototype.setV0 = function(value) {
|
|
23756
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDataContractsRequest.oneofGroups_[0], value);
|
|
23757
|
+
};
|
|
23758
|
+
|
|
23759
|
+
|
|
23760
|
+
/**
|
|
23761
|
+
* Clears the message field making it undefined.
|
|
23762
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsRequest} returns this
|
|
23763
|
+
*/
|
|
23764
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.prototype.clearV0 = function() {
|
|
23765
|
+
return this.setV0(undefined);
|
|
23766
|
+
};
|
|
23767
|
+
|
|
23768
|
+
|
|
23769
|
+
/**
|
|
23770
|
+
* Returns whether this field is set.
|
|
23771
|
+
* @return {boolean}
|
|
23772
|
+
*/
|
|
23773
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsRequest.prototype.hasV0 = function() {
|
|
23774
|
+
return jspb.Message.getField(this, 1) != null;
|
|
23775
|
+
};
|
|
23776
|
+
|
|
23777
|
+
|
|
23778
|
+
|
|
23779
|
+
/**
|
|
23780
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
23781
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
23782
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
23783
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
23784
|
+
* @private {!Array<!Array<number>>}
|
|
23785
|
+
* @const
|
|
23786
|
+
*/
|
|
23787
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.oneofGroups_ = [[1]];
|
|
23788
|
+
|
|
23789
|
+
/**
|
|
23790
|
+
* @enum {number}
|
|
23791
|
+
*/
|
|
23792
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.VersionCase = {
|
|
23793
|
+
VERSION_NOT_SET: 0,
|
|
23794
|
+
V0: 1
|
|
23795
|
+
};
|
|
23796
|
+
|
|
23797
|
+
/**
|
|
23798
|
+
* @return {proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.VersionCase}
|
|
23799
|
+
*/
|
|
23800
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.prototype.getVersionCase = function() {
|
|
23801
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.oneofGroups_[0]));
|
|
23802
|
+
};
|
|
23803
|
+
|
|
23804
|
+
|
|
23805
|
+
|
|
23806
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23807
|
+
/**
|
|
23808
|
+
* Creates an object representation of this proto.
|
|
23809
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23810
|
+
* Optional fields that are not set will be set to undefined.
|
|
23811
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23812
|
+
* For the list of reserved names please see:
|
|
23813
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23814
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23815
|
+
* JSPB instance for transitional soy proto support:
|
|
23816
|
+
* http://goto/soy-param-migration
|
|
23817
|
+
* @return {!Object}
|
|
23818
|
+
*/
|
|
23819
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
23820
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.toObject(opt_includeInstance, this);
|
|
23821
|
+
};
|
|
23822
|
+
|
|
23823
|
+
|
|
23824
|
+
/**
|
|
23825
|
+
* Static version of the {@see toObject} method.
|
|
23826
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23827
|
+
* the JSPB instance for transitional soy proto support:
|
|
23828
|
+
* http://goto/soy-param-migration
|
|
23829
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest} msg The msg instance to transform.
|
|
23830
|
+
* @return {!Object}
|
|
23831
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23832
|
+
*/
|
|
23833
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.toObject = function(includeInstance, msg) {
|
|
23834
|
+
var f, obj = {
|
|
23835
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.toObject(includeInstance, f)
|
|
23836
|
+
};
|
|
23837
|
+
|
|
23838
|
+
if (includeInstance) {
|
|
23839
|
+
obj.$jspbMessageInstance = msg;
|
|
23840
|
+
}
|
|
23841
|
+
return obj;
|
|
23842
|
+
};
|
|
23843
|
+
}
|
|
23844
|
+
|
|
23845
|
+
|
|
23846
|
+
/**
|
|
23847
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23848
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23849
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest}
|
|
23850
|
+
*/
|
|
23851
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.deserializeBinary = function(bytes) {
|
|
23852
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23853
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest;
|
|
23854
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.deserializeBinaryFromReader(msg, reader);
|
|
23855
|
+
};
|
|
23856
|
+
|
|
23857
|
+
|
|
23858
|
+
/**
|
|
23859
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23860
|
+
* given reader into the given message object.
|
|
23861
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest} msg The message object to deserialize into.
|
|
23862
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23863
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest}
|
|
23864
|
+
*/
|
|
23865
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
23866
|
+
while (reader.nextField()) {
|
|
23867
|
+
if (reader.isEndGroup()) {
|
|
23868
|
+
break;
|
|
23869
|
+
}
|
|
23870
|
+
var field = reader.getFieldNumber();
|
|
23871
|
+
switch (field) {
|
|
23872
|
+
case 1:
|
|
23873
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0;
|
|
23874
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.deserializeBinaryFromReader);
|
|
23875
|
+
msg.setV0(value);
|
|
23876
|
+
break;
|
|
23877
|
+
default:
|
|
23878
|
+
reader.skipField();
|
|
23879
|
+
break;
|
|
23880
|
+
}
|
|
23881
|
+
}
|
|
23882
|
+
return msg;
|
|
23883
|
+
};
|
|
23884
|
+
|
|
23885
|
+
|
|
23886
|
+
/**
|
|
23887
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23888
|
+
* @return {!Uint8Array}
|
|
23889
|
+
*/
|
|
23890
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.prototype.serializeBinary = function() {
|
|
23891
|
+
var writer = new jspb.BinaryWriter();
|
|
23892
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.serializeBinaryToWriter(this, writer);
|
|
23893
|
+
return writer.getResultBuffer();
|
|
23894
|
+
};
|
|
23895
|
+
|
|
23896
|
+
|
|
23897
|
+
/**
|
|
23898
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23899
|
+
* format), writing to the given BinaryWriter.
|
|
23900
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest} message
|
|
23901
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23902
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23903
|
+
*/
|
|
23904
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
23905
|
+
var f = undefined;
|
|
23906
|
+
f = message.getV0();
|
|
23907
|
+
if (f != null) {
|
|
23908
|
+
writer.writeMessage(
|
|
23909
|
+
1,
|
|
23910
|
+
f,
|
|
23911
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.serializeBinaryToWriter
|
|
23912
|
+
);
|
|
23913
|
+
}
|
|
23914
|
+
};
|
|
23915
|
+
|
|
23916
|
+
|
|
23917
|
+
|
|
23918
|
+
/**
|
|
23919
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
23920
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
23921
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
23922
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
23923
|
+
* @private {!Array<!Array<number>>}
|
|
23924
|
+
* @const
|
|
23925
|
+
*/
|
|
23926
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.oneofGroups_ = [[2,3]];
|
|
23927
|
+
|
|
23928
|
+
/**
|
|
23929
|
+
* @enum {number}
|
|
23930
|
+
*/
|
|
23931
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.StartCase = {
|
|
23932
|
+
START_NOT_SET: 0,
|
|
23933
|
+
START_AFTER: 2,
|
|
23934
|
+
START_AT: 3
|
|
23935
|
+
};
|
|
23936
|
+
|
|
23937
|
+
/**
|
|
23938
|
+
* @return {proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.StartCase}
|
|
23939
|
+
*/
|
|
23940
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.getStartCase = function() {
|
|
23941
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.StartCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.oneofGroups_[0]));
|
|
23942
|
+
};
|
|
23943
|
+
|
|
23944
|
+
|
|
23945
|
+
|
|
23946
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23947
|
+
/**
|
|
23948
|
+
* Creates an object representation of this proto.
|
|
23949
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23950
|
+
* Optional fields that are not set will be set to undefined.
|
|
23951
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23952
|
+
* For the list of reserved names please see:
|
|
23953
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23954
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23955
|
+
* JSPB instance for transitional soy proto support:
|
|
23956
|
+
* http://goto/soy-param-migration
|
|
23957
|
+
* @return {!Object}
|
|
23958
|
+
*/
|
|
23959
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
23960
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.toObject(opt_includeInstance, this);
|
|
23961
|
+
};
|
|
23962
|
+
|
|
23963
|
+
|
|
23964
|
+
/**
|
|
23965
|
+
* Static version of the {@see toObject} method.
|
|
23966
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23967
|
+
* the JSPB instance for transitional soy proto support:
|
|
23968
|
+
* http://goto/soy-param-migration
|
|
23969
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0} msg The msg instance to transform.
|
|
23970
|
+
* @return {!Object}
|
|
23971
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23972
|
+
*/
|
|
23973
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.toObject = function(includeInstance, msg) {
|
|
23974
|
+
var f, obj = {
|
|
23975
|
+
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
23976
|
+
startAfter: msg.getStartAfter_asB64(),
|
|
23977
|
+
startAt: msg.getStartAt_asB64(),
|
|
23978
|
+
idsOnly: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
23979
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
23980
|
+
};
|
|
23981
|
+
|
|
23982
|
+
if (includeInstance) {
|
|
23983
|
+
obj.$jspbMessageInstance = msg;
|
|
23984
|
+
}
|
|
23985
|
+
return obj;
|
|
23986
|
+
};
|
|
23987
|
+
}
|
|
23988
|
+
|
|
23989
|
+
|
|
23990
|
+
/**
|
|
23991
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23992
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23993
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0}
|
|
23994
|
+
*/
|
|
23995
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.deserializeBinary = function(bytes) {
|
|
23996
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23997
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0;
|
|
23998
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
23999
|
+
};
|
|
24000
|
+
|
|
24001
|
+
|
|
24002
|
+
/**
|
|
24003
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
24004
|
+
* given reader into the given message object.
|
|
24005
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0} msg The message object to deserialize into.
|
|
24006
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
24007
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0}
|
|
24008
|
+
*/
|
|
24009
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
24010
|
+
while (reader.nextField()) {
|
|
24011
|
+
if (reader.isEndGroup()) {
|
|
24012
|
+
break;
|
|
24013
|
+
}
|
|
24014
|
+
var field = reader.getFieldNumber();
|
|
24015
|
+
switch (field) {
|
|
24016
|
+
case 1:
|
|
24017
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
24018
|
+
msg.setLimit(value);
|
|
24019
|
+
break;
|
|
24020
|
+
case 2:
|
|
24021
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
24022
|
+
msg.setStartAfter(value);
|
|
24023
|
+
break;
|
|
24024
|
+
case 3:
|
|
24025
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
24026
|
+
msg.setStartAt(value);
|
|
24027
|
+
break;
|
|
24028
|
+
case 4:
|
|
24029
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
24030
|
+
msg.setIdsOnly(value);
|
|
24031
|
+
break;
|
|
24032
|
+
case 5:
|
|
24033
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
24034
|
+
msg.setProve(value);
|
|
24035
|
+
break;
|
|
24036
|
+
default:
|
|
24037
|
+
reader.skipField();
|
|
24038
|
+
break;
|
|
24039
|
+
}
|
|
24040
|
+
}
|
|
24041
|
+
return msg;
|
|
24042
|
+
};
|
|
24043
|
+
|
|
24044
|
+
|
|
24045
|
+
/**
|
|
24046
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
24047
|
+
* @return {!Uint8Array}
|
|
24048
|
+
*/
|
|
24049
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.serializeBinary = function() {
|
|
24050
|
+
var writer = new jspb.BinaryWriter();
|
|
24051
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.serializeBinaryToWriter(this, writer);
|
|
24052
|
+
return writer.getResultBuffer();
|
|
24053
|
+
};
|
|
24054
|
+
|
|
24055
|
+
|
|
24056
|
+
/**
|
|
24057
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
24058
|
+
* format), writing to the given BinaryWriter.
|
|
24059
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0} message
|
|
24060
|
+
* @param {!jspb.BinaryWriter} writer
|
|
24061
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24062
|
+
*/
|
|
24063
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
24064
|
+
var f = undefined;
|
|
24065
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
24066
|
+
if (f != null) {
|
|
24067
|
+
writer.writeUint32(
|
|
24068
|
+
1,
|
|
24069
|
+
f
|
|
24070
|
+
);
|
|
24071
|
+
}
|
|
24072
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2));
|
|
24073
|
+
if (f != null) {
|
|
24074
|
+
writer.writeBytes(
|
|
24075
|
+
2,
|
|
24076
|
+
f
|
|
24077
|
+
);
|
|
24078
|
+
}
|
|
24079
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 3));
|
|
24080
|
+
if (f != null) {
|
|
24081
|
+
writer.writeBytes(
|
|
24082
|
+
3,
|
|
24083
|
+
f
|
|
24084
|
+
);
|
|
24085
|
+
}
|
|
24086
|
+
f = message.getIdsOnly();
|
|
24087
|
+
if (f) {
|
|
24088
|
+
writer.writeBool(
|
|
24089
|
+
4,
|
|
24090
|
+
f
|
|
24091
|
+
);
|
|
24092
|
+
}
|
|
24093
|
+
f = message.getProve();
|
|
24094
|
+
if (f) {
|
|
24095
|
+
writer.writeBool(
|
|
24096
|
+
5,
|
|
24097
|
+
f
|
|
24098
|
+
);
|
|
24099
|
+
}
|
|
24100
|
+
};
|
|
24101
|
+
|
|
24102
|
+
|
|
24103
|
+
/**
|
|
24104
|
+
* optional uint32 limit = 1;
|
|
24105
|
+
* @return {number}
|
|
24106
|
+
*/
|
|
24107
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.getLimit = function() {
|
|
24108
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
24109
|
+
};
|
|
24110
|
+
|
|
24111
|
+
|
|
24112
|
+
/**
|
|
24113
|
+
* @param {number} value
|
|
24114
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0} returns this
|
|
24115
|
+
*/
|
|
24116
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.setLimit = function(value) {
|
|
24117
|
+
return jspb.Message.setField(this, 1, value);
|
|
24118
|
+
};
|
|
24119
|
+
|
|
24120
|
+
|
|
24121
|
+
/**
|
|
24122
|
+
* Clears the field making it undefined.
|
|
24123
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0} returns this
|
|
24124
|
+
*/
|
|
24125
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.clearLimit = function() {
|
|
24126
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
24127
|
+
};
|
|
24128
|
+
|
|
24129
|
+
|
|
24130
|
+
/**
|
|
24131
|
+
* Returns whether this field is set.
|
|
24132
|
+
* @return {boolean}
|
|
24133
|
+
*/
|
|
24134
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.hasLimit = function() {
|
|
24135
|
+
return jspb.Message.getField(this, 1) != null;
|
|
24136
|
+
};
|
|
24137
|
+
|
|
24138
|
+
|
|
24139
|
+
/**
|
|
24140
|
+
* optional bytes start_after = 2;
|
|
24141
|
+
* @return {string}
|
|
24142
|
+
*/
|
|
24143
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.getStartAfter = function() {
|
|
24144
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
24145
|
+
};
|
|
24146
|
+
|
|
24147
|
+
|
|
24148
|
+
/**
|
|
24149
|
+
* optional bytes start_after = 2;
|
|
24150
|
+
* This is a type-conversion wrapper around `getStartAfter()`
|
|
24151
|
+
* @return {string}
|
|
24152
|
+
*/
|
|
24153
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.getStartAfter_asB64 = function() {
|
|
24154
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
24155
|
+
this.getStartAfter()));
|
|
24156
|
+
};
|
|
24157
|
+
|
|
24158
|
+
|
|
24159
|
+
/**
|
|
24160
|
+
* optional bytes start_after = 2;
|
|
24161
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
24162
|
+
* @see http://caniuse.com/Uint8Array
|
|
24163
|
+
* This is a type-conversion wrapper around `getStartAfter()`
|
|
24164
|
+
* @return {!Uint8Array}
|
|
24165
|
+
*/
|
|
24166
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.getStartAfter_asU8 = function() {
|
|
24167
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
24168
|
+
this.getStartAfter()));
|
|
24169
|
+
};
|
|
24170
|
+
|
|
24171
|
+
|
|
24172
|
+
/**
|
|
24173
|
+
* @param {!(string|Uint8Array)} value
|
|
24174
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0} returns this
|
|
24175
|
+
*/
|
|
24176
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.setStartAfter = function(value) {
|
|
24177
|
+
return jspb.Message.setOneofField(this, 2, proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.oneofGroups_[0], value);
|
|
24178
|
+
};
|
|
24179
|
+
|
|
24180
|
+
|
|
24181
|
+
/**
|
|
24182
|
+
* Clears the field making it undefined.
|
|
24183
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0} returns this
|
|
24184
|
+
*/
|
|
24185
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.clearStartAfter = function() {
|
|
24186
|
+
return jspb.Message.setOneofField(this, 2, proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.oneofGroups_[0], undefined);
|
|
24187
|
+
};
|
|
24188
|
+
|
|
24189
|
+
|
|
24190
|
+
/**
|
|
24191
|
+
* Returns whether this field is set.
|
|
24192
|
+
* @return {boolean}
|
|
24193
|
+
*/
|
|
24194
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.hasStartAfter = function() {
|
|
24195
|
+
return jspb.Message.getField(this, 2) != null;
|
|
24196
|
+
};
|
|
24197
|
+
|
|
24198
|
+
|
|
24199
|
+
/**
|
|
24200
|
+
* optional bytes start_at = 3;
|
|
24201
|
+
* @return {string}
|
|
24202
|
+
*/
|
|
24203
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.getStartAt = function() {
|
|
24204
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
24205
|
+
};
|
|
24206
|
+
|
|
24207
|
+
|
|
24208
|
+
/**
|
|
24209
|
+
* optional bytes start_at = 3;
|
|
24210
|
+
* This is a type-conversion wrapper around `getStartAt()`
|
|
24211
|
+
* @return {string}
|
|
24212
|
+
*/
|
|
24213
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.getStartAt_asB64 = function() {
|
|
24214
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
24215
|
+
this.getStartAt()));
|
|
24216
|
+
};
|
|
24217
|
+
|
|
24218
|
+
|
|
24219
|
+
/**
|
|
24220
|
+
* optional bytes start_at = 3;
|
|
24221
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
24222
|
+
* @see http://caniuse.com/Uint8Array
|
|
24223
|
+
* This is a type-conversion wrapper around `getStartAt()`
|
|
24224
|
+
* @return {!Uint8Array}
|
|
24225
|
+
*/
|
|
24226
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.getStartAt_asU8 = function() {
|
|
24227
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
24228
|
+
this.getStartAt()));
|
|
24229
|
+
};
|
|
24230
|
+
|
|
24231
|
+
|
|
24232
|
+
/**
|
|
24233
|
+
* @param {!(string|Uint8Array)} value
|
|
24234
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0} returns this
|
|
24235
|
+
*/
|
|
24236
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.setStartAt = function(value) {
|
|
24237
|
+
return jspb.Message.setOneofField(this, 3, proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.oneofGroups_[0], value);
|
|
24238
|
+
};
|
|
24239
|
+
|
|
24240
|
+
|
|
24241
|
+
/**
|
|
24242
|
+
* Clears the field making it undefined.
|
|
24243
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0} returns this
|
|
24244
|
+
*/
|
|
24245
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.clearStartAt = function() {
|
|
24246
|
+
return jspb.Message.setOneofField(this, 3, proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.oneofGroups_[0], undefined);
|
|
24247
|
+
};
|
|
24248
|
+
|
|
24249
|
+
|
|
24250
|
+
/**
|
|
24251
|
+
* Returns whether this field is set.
|
|
24252
|
+
* @return {boolean}
|
|
24253
|
+
*/
|
|
24254
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.hasStartAt = function() {
|
|
24255
|
+
return jspb.Message.getField(this, 3) != null;
|
|
24256
|
+
};
|
|
24257
|
+
|
|
24258
|
+
|
|
24259
|
+
/**
|
|
24260
|
+
* optional bool ids_only = 4;
|
|
24261
|
+
* @return {boolean}
|
|
24262
|
+
*/
|
|
24263
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.getIdsOnly = function() {
|
|
24264
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
24265
|
+
};
|
|
24266
|
+
|
|
24267
|
+
|
|
24268
|
+
/**
|
|
24269
|
+
* @param {boolean} value
|
|
24270
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0} returns this
|
|
24271
|
+
*/
|
|
24272
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.setIdsOnly = function(value) {
|
|
24273
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
24274
|
+
};
|
|
24275
|
+
|
|
24276
|
+
|
|
24277
|
+
/**
|
|
24278
|
+
* optional bool prove = 5;
|
|
24279
|
+
* @return {boolean}
|
|
24280
|
+
*/
|
|
24281
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.getProve = function() {
|
|
24282
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
24283
|
+
};
|
|
24284
|
+
|
|
24285
|
+
|
|
24286
|
+
/**
|
|
24287
|
+
* @param {boolean} value
|
|
24288
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0} returns this
|
|
24289
|
+
*/
|
|
24290
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0.prototype.setProve = function(value) {
|
|
24291
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
24292
|
+
};
|
|
24293
|
+
|
|
24294
|
+
|
|
24295
|
+
/**
|
|
24296
|
+
* optional GetDataContractsByRangeRequestV0 v0 = 1;
|
|
24297
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0}
|
|
24298
|
+
*/
|
|
24299
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.prototype.getV0 = function() {
|
|
24300
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0} */ (
|
|
24301
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0, 1));
|
|
24302
|
+
};
|
|
24303
|
+
|
|
24304
|
+
|
|
24305
|
+
/**
|
|
24306
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.GetDataContractsByRangeRequestV0|undefined} value
|
|
24307
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest} returns this
|
|
24308
|
+
*/
|
|
24309
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.prototype.setV0 = function(value) {
|
|
24310
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.oneofGroups_[0], value);
|
|
24311
|
+
};
|
|
24312
|
+
|
|
24313
|
+
|
|
24314
|
+
/**
|
|
24315
|
+
* Clears the message field making it undefined.
|
|
24316
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest} returns this
|
|
24317
|
+
*/
|
|
24318
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.prototype.clearV0 = function() {
|
|
24319
|
+
return this.setV0(undefined);
|
|
24320
|
+
};
|
|
24321
|
+
|
|
24322
|
+
|
|
24323
|
+
/**
|
|
24324
|
+
* Returns whether this field is set.
|
|
24325
|
+
* @return {boolean}
|
|
24326
|
+
*/
|
|
24327
|
+
proto.org.dash.platform.dapi.v0.GetDataContractsByRangeRequest.prototype.hasV0 = function() {
|
|
22288
24328
|
return jspb.Message.getField(this, 1) != null;
|
|
22289
24329
|
};
|
|
22290
24330
|
|