responseObserver) {
- io.grpc.stub.ClientCalls.asyncUnaryCall(
- getChannel().newCall(getGetDocumentsCountMethod(), getCallOptions()), request, responseObserver);
- }
-
- /**
+ *
+ * `getDocumentsCount` removed in v1: callers express counts via
+ * `getDocuments` with `version.v1.select = COUNT` (optionally
+ * with `group_by`). See `GetDocumentsRequestV1` for the unified
+ * SQL-shaped surface. The v0-count endpoint shipped briefly in
+ * #3623 and never had stable callers; v1 supersedes it entirely.
+ *
*/
public void getIdentityByPublicKeyHash(org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityByPublicKeyHashRequest request,
io.grpc.stub.StreamObserver responseObserver) {
@@ -3588,13 +3549,13 @@ public org.dash.platform.dapi.v0.PlatformOuterClass.GetDocumentsResponse getDocu
}
/**
- */
- public org.dash.platform.dapi.v0.PlatformOuterClass.GetDocumentsCountResponse getDocumentsCount(org.dash.platform.dapi.v0.PlatformOuterClass.GetDocumentsCountRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
- getChannel(), getGetDocumentsCountMethod(), getCallOptions(), request);
- }
-
- /**
+ *
+ * `getDocumentsCount` removed in v1: callers express counts via
+ * `getDocuments` with `version.v1.select = COUNT` (optionally
+ * with `group_by`). See `GetDocumentsRequestV1` for the unified
+ * SQL-shaped surface. The v0-count endpoint shipped briefly in
+ * #3623 and never had stable callers; v1 supersedes it entirely.
+ *
*/
public org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityByPublicKeyHashResponse getIdentityByPublicKeyHash(org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityByPublicKeyHashRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
@@ -4080,14 +4041,13 @@ public com.google.common.util.concurrent.ListenableFuture getDocumentsCount(
- org.dash.platform.dapi.v0.PlatformOuterClass.GetDocumentsCountRequest request) {
- return io.grpc.stub.ClientCalls.futureUnaryCall(
- getChannel().newCall(getGetDocumentsCountMethod(), getCallOptions()), request);
- }
-
- /**
+ *
+ * `getDocumentsCount` removed in v1: callers express counts via
+ * `getDocuments` with `version.v1.select = COUNT` (optionally
+ * with `group_by`). See `GetDocumentsRequestV1` for the unified
+ * SQL-shaped surface. The v0-count endpoint shipped briefly in
+ * #3623 and never had stable callers; v1 supersedes it entirely.
+ *
*/
public com.google.common.util.concurrent.ListenableFuture getIdentityByPublicKeyHash(
org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityByPublicKeyHashRequest request) {
@@ -4497,54 +4457,53 @@ public com.google.common.util.concurrent.ListenableFuture implements
io.grpc.stub.ServerCalls.UnaryMethod,
@@ -4623,10 +4582,6 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv
serviceImpl.getDocuments((org.dash.platform.dapi.v0.PlatformOuterClass.GetDocumentsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
- case METHODID_GET_DOCUMENTS_COUNT:
- serviceImpl.getDocumentsCount((org.dash.platform.dapi.v0.PlatformOuterClass.GetDocumentsCountRequest) request,
- (io.grpc.stub.StreamObserver) responseObserver);
- break;
case METHODID_GET_IDENTITY_BY_PUBLIC_KEY_HASH:
serviceImpl.getIdentityByPublicKeyHash((org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityByPublicKeyHashRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
@@ -4891,7 +4846,6 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
.addMethod(getGetDataContractHistoryMethod())
.addMethod(getGetDataContractsMethod())
.addMethod(getGetDocumentsMethod())
- .addMethod(getGetDocumentsCountMethod())
.addMethod(getGetIdentityByPublicKeyHashMethod())
.addMethod(getGetIdentityByNonUniquePublicKeyHashMethod())
.addMethod(getWaitForStateTransitionResultMethod())
diff --git a/packages/dapi-grpc/clients/platform/v0/nodejs/platform_pbjs.js b/packages/dapi-grpc/clients/platform/v0/nodejs/platform_pbjs.js
index f4ef49f1d2b..d3559ff1efb 100644
--- a/packages/dapi-grpc/clients/platform/v0/nodejs/platform_pbjs.js
+++ b/packages/dapi-grpc/clients/platform/v0/nodejs/platform_pbjs.js
@@ -581,39 +581,6 @@ $root.org = (function() {
* @variation 2
*/
- /**
- * Callback as used by {@link org.dash.platform.dapi.v0.Platform#getDocumentsCount}.
- * @memberof org.dash.platform.dapi.v0.Platform
- * @typedef getDocumentsCountCallback
- * @type {function}
- * @param {Error|null} error Error, if any
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse} [response] GetDocumentsCountResponse
- */
-
- /**
- * Calls getDocumentsCount.
- * @function getDocumentsCount
- * @memberof org.dash.platform.dapi.v0.Platform
- * @instance
- * @param {org.dash.platform.dapi.v0.IGetDocumentsCountRequest} request GetDocumentsCountRequest message or plain object
- * @param {org.dash.platform.dapi.v0.Platform.getDocumentsCountCallback} callback Node-style callback called with the error, if any, and GetDocumentsCountResponse
- * @returns {undefined}
- * @variation 1
- */
- Object.defineProperty(Platform.prototype.getDocumentsCount = function getDocumentsCount(request, callback) {
- return this.rpcCall(getDocumentsCount, $root.org.dash.platform.dapi.v0.GetDocumentsCountRequest, $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse, request, callback);
- }, "name", { value: "getDocumentsCount" });
-
- /**
- * Calls getDocumentsCount.
- * @function getDocumentsCount
- * @memberof org.dash.platform.dapi.v0.Platform
- * @instance
- * @param {org.dash.platform.dapi.v0.IGetDocumentsCountRequest} request GetDocumentsCountRequest message or plain object
- * @returns {Promise} Promise
- * @variation 2
- */
-
/**
* Callback as used by {@link org.dash.platform.dapi.v0.Platform#getIdentityByPublicKeyHash}.
* @memberof org.dash.platform.dapi.v0.Platform
@@ -19380,6 +19347,7 @@ $root.org = (function() {
* @memberof org.dash.platform.dapi.v0
* @interface IGetDocumentsRequest
* @property {org.dash.platform.dapi.v0.GetDocumentsRequest.IGetDocumentsRequestV0|null} [v0] GetDocumentsRequest v0
+ * @property {org.dash.platform.dapi.v0.GetDocumentsRequest.IGetDocumentsRequestV1|null} [v1] GetDocumentsRequest v1
*/
/**
@@ -19405,17 +19373,25 @@ $root.org = (function() {
*/
GetDocumentsRequest.prototype.v0 = null;
+ /**
+ * GetDocumentsRequest v1.
+ * @member {org.dash.platform.dapi.v0.GetDocumentsRequest.IGetDocumentsRequestV1|null|undefined} v1
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest
+ * @instance
+ */
+ GetDocumentsRequest.prototype.v1 = null;
+
// OneOf field names bound to virtual getters and setters
var $oneOfFields;
/**
* GetDocumentsRequest version.
- * @member {"v0"|undefined} version
+ * @member {"v0"|"v1"|undefined} version
* @memberof org.dash.platform.dapi.v0.GetDocumentsRequest
* @instance
*/
Object.defineProperty(GetDocumentsRequest.prototype, "version", {
- get: $util.oneOfGetter($oneOfFields = ["v0"]),
+ get: $util.oneOfGetter($oneOfFields = ["v0", "v1"]),
set: $util.oneOfSetter($oneOfFields)
});
@@ -19445,6 +19421,8 @@ $root.org = (function() {
writer = $Writer.create();
if (message.v0 != null && Object.hasOwnProperty.call(message, "v0"))
$root.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.v1 != null && Object.hasOwnProperty.call(message, "v1"))
+ $root.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.encode(message.v1, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
return writer;
};
@@ -19482,6 +19460,9 @@ $root.org = (function() {
case 1:
message.v0 = $root.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.decode(reader, reader.uint32());
break;
+ case 2:
+ message.v1 = $root.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.decode(reader, reader.uint32());
+ break;
default:
reader.skipType(tag & 7);
break;
@@ -19526,6 +19507,16 @@ $root.org = (function() {
return "v0." + error;
}
}
+ if (message.v1 != null && message.hasOwnProperty("v1")) {
+ if (properties.version === 1)
+ return "version: multiple values";
+ properties.version = 1;
+ {
+ var error = $root.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.verify(message.v1);
+ if (error)
+ return "v1." + error;
+ }
+ }
return null;
};
@@ -19546,6 +19537,11 @@ $root.org = (function() {
throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsRequest.v0: object expected");
message.v0 = $root.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.fromObject(object.v0);
}
+ if (object.v1 != null) {
+ if (typeof object.v1 !== "object")
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsRequest.v1: object expected");
+ message.v1 = $root.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.fromObject(object.v1);
+ }
return message;
};
@@ -19567,6 +19563,11 @@ $root.org = (function() {
if (options.oneofs)
object.version = "v0";
}
+ if (message.v1 != null && message.hasOwnProperty("v1")) {
+ object.v1 = $root.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.toObject(message.v1, options);
+ if (options.oneofs)
+ object.version = "v1";
+ }
return object;
};
@@ -19981,353 +19982,258 @@ $root.org = (function() {
return GetDocumentsRequestV0;
})();
- return GetDocumentsRequest;
- })();
+ GetDocumentsRequest.GetDocumentsRequestV1 = (function() {
- v0.GetDocumentsResponse = (function() {
+ /**
+ * Properties of a GetDocumentsRequestV1.
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest
+ * @interface IGetDocumentsRequestV1
+ * @property {Uint8Array|null} [dataContractId] GetDocumentsRequestV1 dataContractId
+ * @property {string|null} [documentType] GetDocumentsRequestV1 documentType
+ * @property {Uint8Array|null} [where] GetDocumentsRequestV1 where
+ * @property {Uint8Array|null} [orderBy] GetDocumentsRequestV1 orderBy
+ * @property {number|null} [limit] GetDocumentsRequestV1 limit
+ * @property {Uint8Array|null} [startAfter] GetDocumentsRequestV1 startAfter
+ * @property {Uint8Array|null} [startAt] GetDocumentsRequestV1 startAt
+ * @property {boolean|null} [prove] GetDocumentsRequestV1 prove
+ * @property {org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select|null} [select] GetDocumentsRequestV1 select
+ * @property {Array.|null} [groupBy] GetDocumentsRequestV1 groupBy
+ * @property {Uint8Array|null} [having] GetDocumentsRequestV1 having
+ */
+
+ /**
+ * Constructs a new GetDocumentsRequestV1.
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest
+ * @classdesc Represents a GetDocumentsRequestV1.
+ * @implements IGetDocumentsRequestV1
+ * @constructor
+ * @param {org.dash.platform.dapi.v0.GetDocumentsRequest.IGetDocumentsRequestV1=} [properties] Properties to set
+ */
+ function GetDocumentsRequestV1(properties) {
+ this.groupBy = [];
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
- /**
- * Properties of a GetDocumentsResponse.
- * @memberof org.dash.platform.dapi.v0
- * @interface IGetDocumentsResponse
- * @property {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV0|null} [v0] GetDocumentsResponse v0
- */
+ /**
+ * GetDocumentsRequestV1 dataContractId.
+ * @member {Uint8Array} dataContractId
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
+ * @instance
+ */
+ GetDocumentsRequestV1.prototype.dataContractId = $util.newBuffer([]);
- /**
- * Constructs a new GetDocumentsResponse.
- * @memberof org.dash.platform.dapi.v0
- * @classdesc Represents a GetDocumentsResponse.
- * @implements IGetDocumentsResponse
- * @constructor
- * @param {org.dash.platform.dapi.v0.IGetDocumentsResponse=} [properties] Properties to set
- */
- function GetDocumentsResponse(properties) {
- if (properties)
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
- if (properties[keys[i]] != null)
- this[keys[i]] = properties[keys[i]];
- }
+ /**
+ * GetDocumentsRequestV1 documentType.
+ * @member {string} documentType
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
+ * @instance
+ */
+ GetDocumentsRequestV1.prototype.documentType = "";
- /**
- * GetDocumentsResponse v0.
- * @member {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV0|null|undefined} v0
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
- * @instance
- */
- GetDocumentsResponse.prototype.v0 = null;
+ /**
+ * GetDocumentsRequestV1 where.
+ * @member {Uint8Array} where
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
+ * @instance
+ */
+ GetDocumentsRequestV1.prototype.where = $util.newBuffer([]);
- // OneOf field names bound to virtual getters and setters
- var $oneOfFields;
+ /**
+ * GetDocumentsRequestV1 orderBy.
+ * @member {Uint8Array} orderBy
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
+ * @instance
+ */
+ GetDocumentsRequestV1.prototype.orderBy = $util.newBuffer([]);
- /**
- * GetDocumentsResponse version.
- * @member {"v0"|undefined} version
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
- * @instance
- */
- Object.defineProperty(GetDocumentsResponse.prototype, "version", {
- get: $util.oneOfGetter($oneOfFields = ["v0"]),
- set: $util.oneOfSetter($oneOfFields)
- });
+ /**
+ * GetDocumentsRequestV1 limit.
+ * @member {number} limit
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
+ * @instance
+ */
+ GetDocumentsRequestV1.prototype.limit = 0;
- /**
- * Creates a new GetDocumentsResponse instance using the specified properties.
- * @function create
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
- * @static
- * @param {org.dash.platform.dapi.v0.IGetDocumentsResponse=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse} GetDocumentsResponse instance
- */
- GetDocumentsResponse.create = function create(properties) {
- return new GetDocumentsResponse(properties);
- };
+ /**
+ * GetDocumentsRequestV1 startAfter.
+ * @member {Uint8Array} startAfter
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
+ * @instance
+ */
+ GetDocumentsRequestV1.prototype.startAfter = $util.newBuffer([]);
- /**
- * Encodes the specified GetDocumentsResponse message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.verify|verify} messages.
- * @function encode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
- * @static
- * @param {org.dash.platform.dapi.v0.IGetDocumentsResponse} message GetDocumentsResponse message or plain object to encode
- * @param {$protobuf.Writer} [writer] Writer to encode to
- * @returns {$protobuf.Writer} Writer
- */
- GetDocumentsResponse.encode = function encode(message, writer) {
- if (!writer)
- writer = $Writer.create();
- if (message.v0 != null && Object.hasOwnProperty.call(message, "v0"))
- $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
- return writer;
- };
+ /**
+ * GetDocumentsRequestV1 startAt.
+ * @member {Uint8Array} startAt
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
+ * @instance
+ */
+ GetDocumentsRequestV1.prototype.startAt = $util.newBuffer([]);
- /**
- * Encodes the specified GetDocumentsResponse message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.verify|verify} messages.
- * @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
- * @static
- * @param {org.dash.platform.dapi.v0.IGetDocumentsResponse} message GetDocumentsResponse message or plain object to encode
- * @param {$protobuf.Writer} [writer] Writer to encode to
- * @returns {$protobuf.Writer} Writer
- */
- GetDocumentsResponse.encodeDelimited = function encodeDelimited(message, writer) {
- return this.encode(message, writer).ldelim();
- };
+ /**
+ * GetDocumentsRequestV1 prove.
+ * @member {boolean} prove
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
+ * @instance
+ */
+ GetDocumentsRequestV1.prototype.prove = false;
- /**
- * Decodes a GetDocumentsResponse message from the specified reader or buffer.
- * @function decode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
- * @static
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse} GetDocumentsResponse
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- GetDocumentsResponse.decode = function decode(reader, length) {
- if (!(reader instanceof $Reader))
- reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse();
- while (reader.pos < end) {
- var tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- message.v0 = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.decode(reader, reader.uint32());
- break;
- default:
- reader.skipType(tag & 7);
- break;
- }
- }
- return message;
- };
+ /**
+ * GetDocumentsRequestV1 select.
+ * @member {org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select} select
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
+ * @instance
+ */
+ GetDocumentsRequestV1.prototype.select = 0;
- /**
- * Decodes a GetDocumentsResponse message from the specified reader or buffer, length delimited.
- * @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
- * @static
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse} GetDocumentsResponse
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- GetDocumentsResponse.decodeDelimited = function decodeDelimited(reader) {
- if (!(reader instanceof $Reader))
- reader = new $Reader(reader);
- return this.decode(reader, reader.uint32());
- };
+ /**
+ * GetDocumentsRequestV1 groupBy.
+ * @member {Array.} groupBy
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
+ * @instance
+ */
+ GetDocumentsRequestV1.prototype.groupBy = $util.emptyArray;
- /**
- * Verifies a GetDocumentsResponse message.
- * @function verify
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
- * @static
- * @param {Object.} message Plain object to verify
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
- */
- GetDocumentsResponse.verify = function verify(message) {
- if (typeof message !== "object" || message === null)
- return "object expected";
- var properties = {};
- if (message.v0 != null && message.hasOwnProperty("v0")) {
- properties.version = 1;
- {
- var error = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.verify(message.v0);
- if (error)
- return "v0." + error;
- }
- }
- return null;
- };
+ /**
+ * GetDocumentsRequestV1 having.
+ * @member {Uint8Array} having
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
+ * @instance
+ */
+ GetDocumentsRequestV1.prototype.having = $util.newBuffer([]);
- /**
- * Creates a GetDocumentsResponse message from a plain object. Also converts values to their respective internal types.
- * @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
- * @static
- * @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse} GetDocumentsResponse
- */
- GetDocumentsResponse.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsResponse)
- return object;
- var message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse();
- if (object.v0 != null) {
- if (typeof object.v0 !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.v0: object expected");
- message.v0 = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.fromObject(object.v0);
- }
- return message;
- };
-
- /**
- * Creates a plain object from a GetDocumentsResponse message. Also converts values to other types if specified.
- * @function toObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
- * @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsResponse} message GetDocumentsResponse
- * @param {$protobuf.IConversionOptions} [options] Conversion options
- * @returns {Object.} Plain object
- */
- GetDocumentsResponse.toObject = function toObject(message, options) {
- if (!options)
- options = {};
- var object = {};
- if (message.v0 != null && message.hasOwnProperty("v0")) {
- object.v0 = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.toObject(message.v0, options);
- if (options.oneofs)
- object.version = "v0";
- }
- return object;
- };
-
- /**
- * Converts this GetDocumentsResponse to JSON.
- * @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
- * @instance
- * @returns {Object.} JSON object
- */
- GetDocumentsResponse.prototype.toJSON = function toJSON() {
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
- };
-
- GetDocumentsResponse.GetDocumentsResponseV0 = (function() {
-
- /**
- * Properties of a GetDocumentsResponseV0.
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
- * @interface IGetDocumentsResponseV0
- * @property {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.IDocuments|null} [documents] GetDocumentsResponseV0 documents
- * @property {org.dash.platform.dapi.v0.IProof|null} [proof] GetDocumentsResponseV0 proof
- * @property {org.dash.platform.dapi.v0.IResponseMetadata|null} [metadata] GetDocumentsResponseV0 metadata
- */
-
- /**
- * Constructs a new GetDocumentsResponseV0.
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
- * @classdesc Represents a GetDocumentsResponseV0.
- * @implements IGetDocumentsResponseV0
- * @constructor
- * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV0=} [properties] Properties to set
- */
- function GetDocumentsResponseV0(properties) {
- if (properties)
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
- if (properties[keys[i]] != null)
- this[keys[i]] = properties[keys[i]];
- }
-
- /**
- * GetDocumentsResponseV0 documents.
- * @member {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.IDocuments|null|undefined} documents
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
- * @instance
- */
- GetDocumentsResponseV0.prototype.documents = null;
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
/**
- * GetDocumentsResponseV0 proof.
- * @member {org.dash.platform.dapi.v0.IProof|null|undefined} proof
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
- * @instance
- */
- GetDocumentsResponseV0.prototype.proof = null;
-
- /**
- * GetDocumentsResponseV0 metadata.
- * @member {org.dash.platform.dapi.v0.IResponseMetadata|null|undefined} metadata
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
- * @instance
- */
- GetDocumentsResponseV0.prototype.metadata = null;
-
- // OneOf field names bound to virtual getters and setters
- var $oneOfFields;
-
- /**
- * GetDocumentsResponseV0 result.
- * @member {"documents"|"proof"|undefined} result
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
+ * GetDocumentsRequestV1 start.
+ * @member {"startAfter"|"startAt"|undefined} start
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
* @instance
*/
- Object.defineProperty(GetDocumentsResponseV0.prototype, "result", {
- get: $util.oneOfGetter($oneOfFields = ["documents", "proof"]),
+ Object.defineProperty(GetDocumentsRequestV1.prototype, "start", {
+ get: $util.oneOfGetter($oneOfFields = ["startAfter", "startAt"]),
set: $util.oneOfSetter($oneOfFields)
});
/**
- * Creates a new GetDocumentsResponseV0 instance using the specified properties.
+ * Creates a new GetDocumentsRequestV1 instance using the specified properties.
* @function create
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV0=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} GetDocumentsResponseV0 instance
+ * @param {org.dash.platform.dapi.v0.GetDocumentsRequest.IGetDocumentsRequestV1=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} GetDocumentsRequestV1 instance
*/
- GetDocumentsResponseV0.create = function create(properties) {
- return new GetDocumentsResponseV0(properties);
+ GetDocumentsRequestV1.create = function create(properties) {
+ return new GetDocumentsRequestV1(properties);
};
/**
- * Encodes the specified GetDocumentsResponseV0 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.verify|verify} messages.
+ * Encodes the specified GetDocumentsRequestV1 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.verify|verify} messages.
* @function encode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV0} message GetDocumentsResponseV0 message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetDocumentsRequest.IGetDocumentsRequestV1} message GetDocumentsRequestV1 message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetDocumentsResponseV0.encode = function encode(message, writer) {
+ GetDocumentsRequestV1.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.documents != null && Object.hasOwnProperty.call(message, "documents"))
- $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.encode(message.documents, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
- if (message.proof != null && Object.hasOwnProperty.call(message, "proof"))
- $root.org.dash.platform.dapi.v0.Proof.encode(message.proof, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
- if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata"))
- $root.org.dash.platform.dapi.v0.ResponseMetadata.encode(message.metadata, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.dataContractId != null && Object.hasOwnProperty.call(message, "dataContractId"))
+ writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.dataContractId);
+ if (message.documentType != null && Object.hasOwnProperty.call(message, "documentType"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.documentType);
+ if (message.where != null && Object.hasOwnProperty.call(message, "where"))
+ writer.uint32(/* id 3, wireType 2 =*/26).bytes(message.where);
+ if (message.orderBy != null && Object.hasOwnProperty.call(message, "orderBy"))
+ writer.uint32(/* id 4, wireType 2 =*/34).bytes(message.orderBy);
+ if (message.limit != null && Object.hasOwnProperty.call(message, "limit"))
+ writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.limit);
+ if (message.startAfter != null && Object.hasOwnProperty.call(message, "startAfter"))
+ writer.uint32(/* id 6, wireType 2 =*/50).bytes(message.startAfter);
+ if (message.startAt != null && Object.hasOwnProperty.call(message, "startAt"))
+ writer.uint32(/* id 7, wireType 2 =*/58).bytes(message.startAt);
+ if (message.prove != null && Object.hasOwnProperty.call(message, "prove"))
+ writer.uint32(/* id 8, wireType 0 =*/64).bool(message.prove);
+ if (message.select != null && Object.hasOwnProperty.call(message, "select"))
+ writer.uint32(/* id 9, wireType 0 =*/72).int32(message.select);
+ if (message.groupBy != null && message.groupBy.length)
+ for (var i = 0; i < message.groupBy.length; ++i)
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.groupBy[i]);
+ if (message.having != null && Object.hasOwnProperty.call(message, "having"))
+ writer.uint32(/* id 11, wireType 2 =*/90).bytes(message.having);
return writer;
};
/**
- * Encodes the specified GetDocumentsResponseV0 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.verify|verify} messages.
+ * Encodes the specified GetDocumentsRequestV1 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.verify|verify} messages.
* @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV0} message GetDocumentsResponseV0 message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetDocumentsRequest.IGetDocumentsRequestV1} message GetDocumentsRequestV1 message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetDocumentsResponseV0.encodeDelimited = function encodeDelimited(message, writer) {
+ GetDocumentsRequestV1.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a GetDocumentsResponseV0 message from the specified reader or buffer.
+ * Decodes a GetDocumentsRequestV1 message from the specified reader or buffer.
* @function decode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} GetDocumentsResponseV0
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} GetDocumentsRequestV1
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetDocumentsResponseV0.decode = function decode(reader, length) {
+ GetDocumentsRequestV1.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
case 1:
- message.documents = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.decode(reader, reader.uint32());
+ message.dataContractId = reader.bytes();
break;
case 2:
- message.proof = $root.org.dash.platform.dapi.v0.Proof.decode(reader, reader.uint32());
+ message.documentType = reader.string();
break;
case 3:
- message.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.decode(reader, reader.uint32());
+ message.where = reader.bytes();
+ break;
+ case 4:
+ message.orderBy = reader.bytes();
+ break;
+ case 5:
+ message.limit = reader.uint32();
+ break;
+ case 6:
+ message.startAfter = reader.bytes();
+ break;
+ case 7:
+ message.startAt = reader.bytes();
+ break;
+ case 8:
+ message.prove = reader.bool();
+ break;
+ case 9:
+ message.select = reader.int32();
+ break;
+ case 10:
+ if (!(message.groupBy && message.groupBy.length))
+ message.groupBy = [];
+ message.groupBy.push(reader.string());
+ break;
+ case 11:
+ message.having = reader.bytes();
break;
default:
reader.skipType(tag & 7);
@@ -20338,450 +20244,388 @@ $root.org = (function() {
};
/**
- * Decodes a GetDocumentsResponseV0 message from the specified reader or buffer, length delimited.
+ * Decodes a GetDocumentsRequestV1 message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} GetDocumentsResponseV0
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} GetDocumentsRequestV1
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetDocumentsResponseV0.decodeDelimited = function decodeDelimited(reader) {
+ GetDocumentsRequestV1.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a GetDocumentsResponseV0 message.
+ * Verifies a GetDocumentsRequestV1 message.
* @function verify
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- GetDocumentsResponseV0.verify = function verify(message) {
+ GetDocumentsRequestV1.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
var properties = {};
- if (message.documents != null && message.hasOwnProperty("documents")) {
- properties.result = 1;
- {
- var error = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.verify(message.documents);
- if (error)
- return "documents." + error;
- }
+ if (message.dataContractId != null && message.hasOwnProperty("dataContractId"))
+ if (!(message.dataContractId && typeof message.dataContractId.length === "number" || $util.isString(message.dataContractId)))
+ return "dataContractId: buffer expected";
+ if (message.documentType != null && message.hasOwnProperty("documentType"))
+ if (!$util.isString(message.documentType))
+ return "documentType: string expected";
+ if (message.where != null && message.hasOwnProperty("where"))
+ if (!(message.where && typeof message.where.length === "number" || $util.isString(message.where)))
+ return "where: buffer expected";
+ if (message.orderBy != null && message.hasOwnProperty("orderBy"))
+ if (!(message.orderBy && typeof message.orderBy.length === "number" || $util.isString(message.orderBy)))
+ return "orderBy: buffer expected";
+ if (message.limit != null && message.hasOwnProperty("limit"))
+ if (!$util.isInteger(message.limit))
+ return "limit: integer expected";
+ if (message.startAfter != null && message.hasOwnProperty("startAfter")) {
+ properties.start = 1;
+ if (!(message.startAfter && typeof message.startAfter.length === "number" || $util.isString(message.startAfter)))
+ return "startAfter: buffer expected";
}
- if (message.proof != null && message.hasOwnProperty("proof")) {
- if (properties.result === 1)
- return "result: multiple values";
- properties.result = 1;
- {
- var error = $root.org.dash.platform.dapi.v0.Proof.verify(message.proof);
- if (error)
- return "proof." + error;
- }
+ if (message.startAt != null && message.hasOwnProperty("startAt")) {
+ if (properties.start === 1)
+ return "start: multiple values";
+ properties.start = 1;
+ if (!(message.startAt && typeof message.startAt.length === "number" || $util.isString(message.startAt)))
+ return "startAt: buffer expected";
}
- if (message.metadata != null && message.hasOwnProperty("metadata")) {
- var error = $root.org.dash.platform.dapi.v0.ResponseMetadata.verify(message.metadata);
- if (error)
- return "metadata." + error;
+ if (message.prove != null && message.hasOwnProperty("prove"))
+ if (typeof message.prove !== "boolean")
+ return "prove: boolean expected";
+ if (message.select != null && message.hasOwnProperty("select"))
+ switch (message.select) {
+ default:
+ return "select: enum value expected";
+ case 0:
+ case 1:
+ break;
+ }
+ if (message.groupBy != null && message.hasOwnProperty("groupBy")) {
+ if (!Array.isArray(message.groupBy))
+ return "groupBy: array expected";
+ for (var i = 0; i < message.groupBy.length; ++i)
+ if (!$util.isString(message.groupBy[i]))
+ return "groupBy: string[] expected";
}
+ if (message.having != null && message.hasOwnProperty("having"))
+ if (!(message.having && typeof message.having.length === "number" || $util.isString(message.having)))
+ return "having: buffer expected";
return null;
};
/**
- * Creates a GetDocumentsResponseV0 message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetDocumentsRequestV1 message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
* @static
* @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} GetDocumentsResponseV0
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} GetDocumentsRequestV1
*/
- GetDocumentsResponseV0.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0)
+ GetDocumentsRequestV1.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1)
return object;
- var message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0();
- if (object.documents != null) {
- if (typeof object.documents !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.documents: object expected");
- message.documents = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.fromObject(object.documents);
- }
- if (object.proof != null) {
- if (typeof object.proof !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.proof: object expected");
- message.proof = $root.org.dash.platform.dapi.v0.Proof.fromObject(object.proof);
- }
- if (object.metadata != null) {
- if (typeof object.metadata !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.metadata: object expected");
- message.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.fromObject(object.metadata);
- }
- return message;
- };
-
- /**
- * Creates a plain object from a GetDocumentsResponseV0 message. Also converts values to other types if specified.
- * @function toObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
- * @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} message GetDocumentsResponseV0
- * @param {$protobuf.IConversionOptions} [options] Conversion options
- * @returns {Object.} Plain object
- */
- GetDocumentsResponseV0.toObject = function toObject(message, options) {
- if (!options)
- options = {};
- var object = {};
- if (options.defaults)
- object.metadata = null;
- if (message.documents != null && message.hasOwnProperty("documents")) {
- object.documents = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.toObject(message.documents, options);
+ var message = new $root.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1();
+ if (object.dataContractId != null)
+ if (typeof object.dataContractId === "string")
+ $util.base64.decode(object.dataContractId, message.dataContractId = $util.newBuffer($util.base64.length(object.dataContractId)), 0);
+ else if (object.dataContractId.length >= 0)
+ message.dataContractId = object.dataContractId;
+ if (object.documentType != null)
+ message.documentType = String(object.documentType);
+ if (object.where != null)
+ if (typeof object.where === "string")
+ $util.base64.decode(object.where, message.where = $util.newBuffer($util.base64.length(object.where)), 0);
+ else if (object.where.length >= 0)
+ message.where = object.where;
+ if (object.orderBy != null)
+ if (typeof object.orderBy === "string")
+ $util.base64.decode(object.orderBy, message.orderBy = $util.newBuffer($util.base64.length(object.orderBy)), 0);
+ else if (object.orderBy.length >= 0)
+ message.orderBy = object.orderBy;
+ if (object.limit != null)
+ message.limit = object.limit >>> 0;
+ if (object.startAfter != null)
+ if (typeof object.startAfter === "string")
+ $util.base64.decode(object.startAfter, message.startAfter = $util.newBuffer($util.base64.length(object.startAfter)), 0);
+ else if (object.startAfter.length >= 0)
+ message.startAfter = object.startAfter;
+ if (object.startAt != null)
+ if (typeof object.startAt === "string")
+ $util.base64.decode(object.startAt, message.startAt = $util.newBuffer($util.base64.length(object.startAt)), 0);
+ else if (object.startAt.length >= 0)
+ message.startAt = object.startAt;
+ if (object.prove != null)
+ message.prove = Boolean(object.prove);
+ switch (object.select) {
+ case "DOCUMENTS":
+ case 0:
+ message.select = 0;
+ break;
+ case "COUNT":
+ case 1:
+ message.select = 1;
+ break;
+ }
+ if (object.groupBy) {
+ if (!Array.isArray(object.groupBy))
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.groupBy: array expected");
+ message.groupBy = [];
+ for (var i = 0; i < object.groupBy.length; ++i)
+ message.groupBy[i] = String(object.groupBy[i]);
+ }
+ if (object.having != null)
+ if (typeof object.having === "string")
+ $util.base64.decode(object.having, message.having = $util.newBuffer($util.base64.length(object.having)), 0);
+ else if (object.having.length >= 0)
+ message.having = object.having;
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetDocumentsRequestV1 message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} message GetDocumentsRequestV1
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetDocumentsRequestV1.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.groupBy = [];
+ if (options.defaults) {
+ if (options.bytes === String)
+ object.dataContractId = "";
+ else {
+ object.dataContractId = [];
+ if (options.bytes !== Array)
+ object.dataContractId = $util.newBuffer(object.dataContractId);
+ }
+ object.documentType = "";
+ if (options.bytes === String)
+ object.where = "";
+ else {
+ object.where = [];
+ if (options.bytes !== Array)
+ object.where = $util.newBuffer(object.where);
+ }
+ if (options.bytes === String)
+ object.orderBy = "";
+ else {
+ object.orderBy = [];
+ if (options.bytes !== Array)
+ object.orderBy = $util.newBuffer(object.orderBy);
+ }
+ object.limit = 0;
+ object.prove = false;
+ object.select = options.enums === String ? "DOCUMENTS" : 0;
+ if (options.bytes === String)
+ object.having = "";
+ else {
+ object.having = [];
+ if (options.bytes !== Array)
+ object.having = $util.newBuffer(object.having);
+ }
+ }
+ if (message.dataContractId != null && message.hasOwnProperty("dataContractId"))
+ object.dataContractId = options.bytes === String ? $util.base64.encode(message.dataContractId, 0, message.dataContractId.length) : options.bytes === Array ? Array.prototype.slice.call(message.dataContractId) : message.dataContractId;
+ if (message.documentType != null && message.hasOwnProperty("documentType"))
+ object.documentType = message.documentType;
+ if (message.where != null && message.hasOwnProperty("where"))
+ object.where = options.bytes === String ? $util.base64.encode(message.where, 0, message.where.length) : options.bytes === Array ? Array.prototype.slice.call(message.where) : message.where;
+ if (message.orderBy != null && message.hasOwnProperty("orderBy"))
+ object.orderBy = options.bytes === String ? $util.base64.encode(message.orderBy, 0, message.orderBy.length) : options.bytes === Array ? Array.prototype.slice.call(message.orderBy) : message.orderBy;
+ if (message.limit != null && message.hasOwnProperty("limit"))
+ object.limit = message.limit;
+ if (message.startAfter != null && message.hasOwnProperty("startAfter")) {
+ object.startAfter = options.bytes === String ? $util.base64.encode(message.startAfter, 0, message.startAfter.length) : options.bytes === Array ? Array.prototype.slice.call(message.startAfter) : message.startAfter;
if (options.oneofs)
- object.result = "documents";
+ object.start = "startAfter";
}
- if (message.proof != null && message.hasOwnProperty("proof")) {
- object.proof = $root.org.dash.platform.dapi.v0.Proof.toObject(message.proof, options);
+ if (message.startAt != null && message.hasOwnProperty("startAt")) {
+ object.startAt = options.bytes === String ? $util.base64.encode(message.startAt, 0, message.startAt.length) : options.bytes === Array ? Array.prototype.slice.call(message.startAt) : message.startAt;
if (options.oneofs)
- object.result = "proof";
+ object.start = "startAt";
}
- if (message.metadata != null && message.hasOwnProperty("metadata"))
- object.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.toObject(message.metadata, options);
+ if (message.prove != null && message.hasOwnProperty("prove"))
+ object.prove = message.prove;
+ if (message.select != null && message.hasOwnProperty("select"))
+ object.select = options.enums === String ? $root.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select[message.select] : message.select;
+ if (message.groupBy && message.groupBy.length) {
+ object.groupBy = [];
+ for (var j = 0; j < message.groupBy.length; ++j)
+ object.groupBy[j] = message.groupBy[j];
+ }
+ if (message.having != null && message.hasOwnProperty("having"))
+ object.having = options.bytes === String ? $util.base64.encode(message.having, 0, message.having.length) : options.bytes === Array ? Array.prototype.slice.call(message.having) : message.having;
return object;
};
/**
- * Converts this GetDocumentsResponseV0 to JSON.
+ * Converts this GetDocumentsRequestV1 to JSON.
* @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1
* @instance
* @returns {Object.} JSON object
*/
- GetDocumentsResponseV0.prototype.toJSON = function toJSON() {
+ GetDocumentsRequestV1.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
- GetDocumentsResponseV0.Documents = (function() {
+ /**
+ * Select enum.
+ * @name org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select
+ * @enum {number}
+ * @property {number} DOCUMENTS=0 DOCUMENTS value
+ * @property {number} COUNT=1 COUNT value
+ */
+ GetDocumentsRequestV1.Select = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "DOCUMENTS"] = 0;
+ values[valuesById[1] = "COUNT"] = 1;
+ return values;
+ })();
- /**
- * Properties of a Documents.
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
- * @interface IDocuments
- * @property {Array.|null} [documents] Documents documents
- */
+ return GetDocumentsRequestV1;
+ })();
- /**
- * Constructs a new Documents.
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
- * @classdesc Represents a Documents.
- * @implements IDocuments
- * @constructor
- * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.IDocuments=} [properties] Properties to set
- */
- function Documents(properties) {
- this.documents = [];
- if (properties)
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
- if (properties[keys[i]] != null)
- this[keys[i]] = properties[keys[i]];
- }
+ return GetDocumentsRequest;
+ })();
- /**
- * Documents documents.
- * @member {Array.} documents
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
- * @instance
- */
- Documents.prototype.documents = $util.emptyArray;
+ v0.GetDocumentsResponse = (function() {
- /**
- * Creates a new Documents instance using the specified properties.
- * @function create
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
- * @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.IDocuments=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} Documents instance
- */
- Documents.create = function create(properties) {
- return new Documents(properties);
- };
+ /**
+ * Properties of a GetDocumentsResponse.
+ * @memberof org.dash.platform.dapi.v0
+ * @interface IGetDocumentsResponse
+ * @property {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV0|null} [v0] GetDocumentsResponse v0
+ * @property {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV1|null} [v1] GetDocumentsResponse v1
+ */
- /**
- * Encodes the specified Documents message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.verify|verify} messages.
- * @function encode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
- * @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.IDocuments} message Documents message or plain object to encode
- * @param {$protobuf.Writer} [writer] Writer to encode to
- * @returns {$protobuf.Writer} Writer
- */
- Documents.encode = function encode(message, writer) {
- if (!writer)
- writer = $Writer.create();
- if (message.documents != null && message.documents.length)
- for (var i = 0; i < message.documents.length; ++i)
- writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.documents[i]);
- return writer;
- };
+ /**
+ * Constructs a new GetDocumentsResponse.
+ * @memberof org.dash.platform.dapi.v0
+ * @classdesc Represents a GetDocumentsResponse.
+ * @implements IGetDocumentsResponse
+ * @constructor
+ * @param {org.dash.platform.dapi.v0.IGetDocumentsResponse=} [properties] Properties to set
+ */
+ function GetDocumentsResponse(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
- /**
- * Encodes the specified Documents message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.verify|verify} messages.
- * @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
- * @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.IDocuments} message Documents message or plain object to encode
- * @param {$protobuf.Writer} [writer] Writer to encode to
- * @returns {$protobuf.Writer} Writer
- */
- Documents.encodeDelimited = function encodeDelimited(message, writer) {
- return this.encode(message, writer).ldelim();
- };
+ /**
+ * GetDocumentsResponse v0.
+ * @member {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV0|null|undefined} v0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
+ * @instance
+ */
+ GetDocumentsResponse.prototype.v0 = null;
- /**
- * Decodes a Documents message from the specified reader or buffer.
- * @function decode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
- * @static
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} Documents
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- Documents.decode = function decode(reader, length) {
- if (!(reader instanceof $Reader))
- reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents();
- while (reader.pos < end) {
- var tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- if (!(message.documents && message.documents.length))
- message.documents = [];
- message.documents.push(reader.bytes());
- break;
- default:
- reader.skipType(tag & 7);
- break;
- }
- }
- return message;
- };
-
- /**
- * Decodes a Documents message from the specified reader or buffer, length delimited.
- * @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
- * @static
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} Documents
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- Documents.decodeDelimited = function decodeDelimited(reader) {
- if (!(reader instanceof $Reader))
- reader = new $Reader(reader);
- return this.decode(reader, reader.uint32());
- };
-
- /**
- * Verifies a Documents message.
- * @function verify
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
- * @static
- * @param {Object.} message Plain object to verify
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
- */
- Documents.verify = function verify(message) {
- if (typeof message !== "object" || message === null)
- return "object expected";
- if (message.documents != null && message.hasOwnProperty("documents")) {
- if (!Array.isArray(message.documents))
- return "documents: array expected";
- for (var i = 0; i < message.documents.length; ++i)
- if (!(message.documents[i] && typeof message.documents[i].length === "number" || $util.isString(message.documents[i])))
- return "documents: buffer[] expected";
- }
- return null;
- };
-
- /**
- * Creates a Documents message from a plain object. Also converts values to their respective internal types.
- * @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
- * @static
- * @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} Documents
- */
- Documents.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents)
- return object;
- var message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents();
- if (object.documents) {
- if (!Array.isArray(object.documents))
- throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.documents: array expected");
- message.documents = [];
- for (var i = 0; i < object.documents.length; ++i)
- if (typeof object.documents[i] === "string")
- $util.base64.decode(object.documents[i], message.documents[i] = $util.newBuffer($util.base64.length(object.documents[i])), 0);
- else if (object.documents[i].length >= 0)
- message.documents[i] = object.documents[i];
- }
- return message;
- };
-
- /**
- * Creates a plain object from a Documents message. Also converts values to other types if specified.
- * @function toObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
- * @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} message Documents
- * @param {$protobuf.IConversionOptions} [options] Conversion options
- * @returns {Object.} Plain object
- */
- Documents.toObject = function toObject(message, options) {
- if (!options)
- options = {};
- var object = {};
- if (options.arrays || options.defaults)
- object.documents = [];
- if (message.documents && message.documents.length) {
- object.documents = [];
- for (var j = 0; j < message.documents.length; ++j)
- object.documents[j] = options.bytes === String ? $util.base64.encode(message.documents[j], 0, message.documents[j].length) : options.bytes === Array ? Array.prototype.slice.call(message.documents[j]) : message.documents[j];
- }
- return object;
- };
-
- /**
- * Converts this Documents to JSON.
- * @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
- * @instance
- * @returns {Object.} JSON object
- */
- Documents.prototype.toJSON = function toJSON() {
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
- };
-
- return Documents;
- })();
-
- return GetDocumentsResponseV0;
- })();
-
- return GetDocumentsResponse;
- })();
-
- v0.GetDocumentsCountRequest = (function() {
-
- /**
- * Properties of a GetDocumentsCountRequest.
- * @memberof org.dash.platform.dapi.v0
- * @interface IGetDocumentsCountRequest
- * @property {org.dash.platform.dapi.v0.GetDocumentsCountRequest.IGetDocumentsCountRequestV0|null} [v0] GetDocumentsCountRequest v0
- */
-
- /**
- * Constructs a new GetDocumentsCountRequest.
- * @memberof org.dash.platform.dapi.v0
- * @classdesc Represents a GetDocumentsCountRequest.
- * @implements IGetDocumentsCountRequest
- * @constructor
- * @param {org.dash.platform.dapi.v0.IGetDocumentsCountRequest=} [properties] Properties to set
- */
- function GetDocumentsCountRequest(properties) {
- if (properties)
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
- if (properties[keys[i]] != null)
- this[keys[i]] = properties[keys[i]];
- }
-
- /**
- * GetDocumentsCountRequest v0.
- * @member {org.dash.platform.dapi.v0.GetDocumentsCountRequest.IGetDocumentsCountRequestV0|null|undefined} v0
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest
- * @instance
- */
- GetDocumentsCountRequest.prototype.v0 = null;
+ /**
+ * GetDocumentsResponse v1.
+ * @member {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV1|null|undefined} v1
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
+ * @instance
+ */
+ GetDocumentsResponse.prototype.v1 = null;
// OneOf field names bound to virtual getters and setters
var $oneOfFields;
/**
- * GetDocumentsCountRequest version.
- * @member {"v0"|undefined} version
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest
+ * GetDocumentsResponse version.
+ * @member {"v0"|"v1"|undefined} version
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
* @instance
*/
- Object.defineProperty(GetDocumentsCountRequest.prototype, "version", {
- get: $util.oneOfGetter($oneOfFields = ["v0"]),
+ Object.defineProperty(GetDocumentsResponse.prototype, "version", {
+ get: $util.oneOfGetter($oneOfFields = ["v0", "v1"]),
set: $util.oneOfSetter($oneOfFields)
});
/**
- * Creates a new GetDocumentsCountRequest instance using the specified properties.
+ * Creates a new GetDocumentsResponse instance using the specified properties.
* @function create
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
* @static
- * @param {org.dash.platform.dapi.v0.IGetDocumentsCountRequest=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountRequest} GetDocumentsCountRequest instance
+ * @param {org.dash.platform.dapi.v0.IGetDocumentsResponse=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse} GetDocumentsResponse instance
*/
- GetDocumentsCountRequest.create = function create(properties) {
- return new GetDocumentsCountRequest(properties);
+ GetDocumentsResponse.create = function create(properties) {
+ return new GetDocumentsResponse(properties);
};
/**
- * Encodes the specified GetDocumentsCountRequest message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsCountRequest.verify|verify} messages.
+ * Encodes the specified GetDocumentsResponse message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.verify|verify} messages.
* @function encode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
* @static
- * @param {org.dash.platform.dapi.v0.IGetDocumentsCountRequest} message GetDocumentsCountRequest message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.IGetDocumentsResponse} message GetDocumentsResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetDocumentsCountRequest.encode = function encode(message, writer) {
+ GetDocumentsResponse.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
if (message.v0 != null && Object.hasOwnProperty.call(message, "v0"))
- $root.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.v1 != null && Object.hasOwnProperty.call(message, "v1"))
+ $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.encode(message.v1, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
return writer;
};
/**
- * Encodes the specified GetDocumentsCountRequest message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsCountRequest.verify|verify} messages.
+ * Encodes the specified GetDocumentsResponse message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.verify|verify} messages.
* @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
* @static
- * @param {org.dash.platform.dapi.v0.IGetDocumentsCountRequest} message GetDocumentsCountRequest message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.IGetDocumentsResponse} message GetDocumentsResponse message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetDocumentsCountRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ GetDocumentsResponse.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a GetDocumentsCountRequest message from the specified reader or buffer.
+ * Decodes a GetDocumentsResponse message from the specified reader or buffer.
* @function decode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountRequest} GetDocumentsCountRequest
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse} GetDocumentsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetDocumentsCountRequest.decode = function decode(reader, length) {
+ GetDocumentsResponse.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsCountRequest();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
case 1:
- message.v0 = $root.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.decode(reader, reader.uint32());
+ message.v0 = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.decode(reader, reader.uint32());
+ break;
+ case 2:
+ message.v1 = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
@@ -20792,120 +20636,136 @@ $root.org = (function() {
};
/**
- * Decodes a GetDocumentsCountRequest message from the specified reader or buffer, length delimited.
+ * Decodes a GetDocumentsResponse message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountRequest} GetDocumentsCountRequest
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse} GetDocumentsResponse
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetDocumentsCountRequest.decodeDelimited = function decodeDelimited(reader) {
+ GetDocumentsResponse.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a GetDocumentsCountRequest message.
+ * Verifies a GetDocumentsResponse message.
* @function verify
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- GetDocumentsCountRequest.verify = function verify(message) {
+ GetDocumentsResponse.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
var properties = {};
if (message.v0 != null && message.hasOwnProperty("v0")) {
properties.version = 1;
{
- var error = $root.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.verify(message.v0);
+ var error = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.verify(message.v0);
if (error)
return "v0." + error;
}
}
+ if (message.v1 != null && message.hasOwnProperty("v1")) {
+ if (properties.version === 1)
+ return "version: multiple values";
+ properties.version = 1;
+ {
+ var error = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.verify(message.v1);
+ if (error)
+ return "v1." + error;
+ }
+ }
return null;
};
/**
- * Creates a GetDocumentsCountRequest message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetDocumentsResponse message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
* @static
* @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountRequest} GetDocumentsCountRequest
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse} GetDocumentsResponse
*/
- GetDocumentsCountRequest.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsCountRequest)
+ GetDocumentsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsResponse)
return object;
- var message = new $root.org.dash.platform.dapi.v0.GetDocumentsCountRequest();
+ var message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse();
if (object.v0 != null) {
if (typeof object.v0 !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsCountRequest.v0: object expected");
- message.v0 = $root.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.fromObject(object.v0);
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.v0: object expected");
+ message.v0 = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.fromObject(object.v0);
+ }
+ if (object.v1 != null) {
+ if (typeof object.v1 !== "object")
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.v1: object expected");
+ message.v1 = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.fromObject(object.v1);
}
return message;
};
/**
- * Creates a plain object from a GetDocumentsCountRequest message. Also converts values to other types if specified.
+ * Creates a plain object from a GetDocumentsResponse message. Also converts values to other types if specified.
* @function toObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountRequest} message GetDocumentsCountRequest
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse} message GetDocumentsResponse
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- GetDocumentsCountRequest.toObject = function toObject(message, options) {
+ GetDocumentsResponse.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
if (message.v0 != null && message.hasOwnProperty("v0")) {
- object.v0 = $root.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.toObject(message.v0, options);
+ object.v0 = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.toObject(message.v0, options);
if (options.oneofs)
object.version = "v0";
}
+ if (message.v1 != null && message.hasOwnProperty("v1")) {
+ object.v1 = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.toObject(message.v1, options);
+ if (options.oneofs)
+ object.version = "v1";
+ }
return object;
};
/**
- * Converts this GetDocumentsCountRequest to JSON.
+ * Converts this GetDocumentsResponse to JSON.
* @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
* @instance
* @returns {Object.} JSON object
*/
- GetDocumentsCountRequest.prototype.toJSON = function toJSON() {
+ GetDocumentsResponse.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
- GetDocumentsCountRequest.GetDocumentsCountRequestV0 = (function() {
+ GetDocumentsResponse.GetDocumentsResponseV0 = (function() {
/**
- * Properties of a GetDocumentsCountRequestV0.
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest
- * @interface IGetDocumentsCountRequestV0
- * @property {Uint8Array|null} [dataContractId] GetDocumentsCountRequestV0 dataContractId
- * @property {string|null} [documentType] GetDocumentsCountRequestV0 documentType
- * @property {Uint8Array|null} [where] GetDocumentsCountRequestV0 where
- * @property {boolean|null} [returnDistinctCountsInRange] GetDocumentsCountRequestV0 returnDistinctCountsInRange
- * @property {Uint8Array|null} [orderBy] GetDocumentsCountRequestV0 orderBy
- * @property {number|null} [limit] GetDocumentsCountRequestV0 limit
- * @property {boolean|null} [prove] GetDocumentsCountRequestV0 prove
+ * Properties of a GetDocumentsResponseV0.
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
+ * @interface IGetDocumentsResponseV0
+ * @property {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.IDocuments|null} [documents] GetDocumentsResponseV0 documents
+ * @property {org.dash.platform.dapi.v0.IProof|null} [proof] GetDocumentsResponseV0 proof
+ * @property {org.dash.platform.dapi.v0.IResponseMetadata|null} [metadata] GetDocumentsResponseV0 metadata
*/
/**
- * Constructs a new GetDocumentsCountRequestV0.
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest
- * @classdesc Represents a GetDocumentsCountRequestV0.
- * @implements IGetDocumentsCountRequestV0
+ * Constructs a new GetDocumentsResponseV0.
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
+ * @classdesc Represents a GetDocumentsResponseV0.
+ * @implements IGetDocumentsResponseV0
* @constructor
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountRequest.IGetDocumentsCountRequestV0=} [properties] Properties to set
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV0=} [properties] Properties to set
*/
- function GetDocumentsCountRequestV0(properties) {
+ function GetDocumentsResponseV0(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -20913,153 +20773,115 @@ $root.org = (function() {
}
/**
- * GetDocumentsCountRequestV0 dataContractId.
- * @member {Uint8Array} dataContractId
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0
- * @instance
- */
- GetDocumentsCountRequestV0.prototype.dataContractId = $util.newBuffer([]);
-
- /**
- * GetDocumentsCountRequestV0 documentType.
- * @member {string} documentType
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0
- * @instance
- */
- GetDocumentsCountRequestV0.prototype.documentType = "";
-
- /**
- * GetDocumentsCountRequestV0 where.
- * @member {Uint8Array} where
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0
+ * GetDocumentsResponseV0 documents.
+ * @member {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.IDocuments|null|undefined} documents
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
* @instance
*/
- GetDocumentsCountRequestV0.prototype.where = $util.newBuffer([]);
+ GetDocumentsResponseV0.prototype.documents = null;
/**
- * GetDocumentsCountRequestV0 returnDistinctCountsInRange.
- * @member {boolean} returnDistinctCountsInRange
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0
+ * GetDocumentsResponseV0 proof.
+ * @member {org.dash.platform.dapi.v0.IProof|null|undefined} proof
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
* @instance
*/
- GetDocumentsCountRequestV0.prototype.returnDistinctCountsInRange = false;
+ GetDocumentsResponseV0.prototype.proof = null;
/**
- * GetDocumentsCountRequestV0 orderBy.
- * @member {Uint8Array} orderBy
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0
+ * GetDocumentsResponseV0 metadata.
+ * @member {org.dash.platform.dapi.v0.IResponseMetadata|null|undefined} metadata
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
* @instance
*/
- GetDocumentsCountRequestV0.prototype.orderBy = $util.newBuffer([]);
+ GetDocumentsResponseV0.prototype.metadata = null;
- /**
- * GetDocumentsCountRequestV0 limit.
- * @member {number} limit
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0
- * @instance
- */
- GetDocumentsCountRequestV0.prototype.limit = 0;
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
/**
- * GetDocumentsCountRequestV0 prove.
- * @member {boolean} prove
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0
+ * GetDocumentsResponseV0 result.
+ * @member {"documents"|"proof"|undefined} result
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
* @instance
*/
- GetDocumentsCountRequestV0.prototype.prove = false;
+ Object.defineProperty(GetDocumentsResponseV0.prototype, "result", {
+ get: $util.oneOfGetter($oneOfFields = ["documents", "proof"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
/**
- * Creates a new GetDocumentsCountRequestV0 instance using the specified properties.
+ * Creates a new GetDocumentsResponseV0 instance using the specified properties.
* @function create
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountRequest.IGetDocumentsCountRequestV0=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} GetDocumentsCountRequestV0 instance
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV0=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} GetDocumentsResponseV0 instance
*/
- GetDocumentsCountRequestV0.create = function create(properties) {
- return new GetDocumentsCountRequestV0(properties);
+ GetDocumentsResponseV0.create = function create(properties) {
+ return new GetDocumentsResponseV0(properties);
};
/**
- * Encodes the specified GetDocumentsCountRequestV0 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.verify|verify} messages.
+ * Encodes the specified GetDocumentsResponseV0 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.verify|verify} messages.
* @function encode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountRequest.IGetDocumentsCountRequestV0} message GetDocumentsCountRequestV0 message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV0} message GetDocumentsResponseV0 message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetDocumentsCountRequestV0.encode = function encode(message, writer) {
+ GetDocumentsResponseV0.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.dataContractId != null && Object.hasOwnProperty.call(message, "dataContractId"))
- writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.dataContractId);
- if (message.documentType != null && Object.hasOwnProperty.call(message, "documentType"))
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.documentType);
- if (message.where != null && Object.hasOwnProperty.call(message, "where"))
- writer.uint32(/* id 3, wireType 2 =*/26).bytes(message.where);
- if (message.returnDistinctCountsInRange != null && Object.hasOwnProperty.call(message, "returnDistinctCountsInRange"))
- writer.uint32(/* id 4, wireType 0 =*/32).bool(message.returnDistinctCountsInRange);
- if (message.orderBy != null && Object.hasOwnProperty.call(message, "orderBy"))
- writer.uint32(/* id 5, wireType 2 =*/42).bytes(message.orderBy);
- if (message.limit != null && Object.hasOwnProperty.call(message, "limit"))
- writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.limit);
- if (message.prove != null && Object.hasOwnProperty.call(message, "prove"))
- writer.uint32(/* id 7, wireType 0 =*/56).bool(message.prove);
+ if (message.documents != null && Object.hasOwnProperty.call(message, "documents"))
+ $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.encode(message.documents, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.proof != null && Object.hasOwnProperty.call(message, "proof"))
+ $root.org.dash.platform.dapi.v0.Proof.encode(message.proof, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata"))
+ $root.org.dash.platform.dapi.v0.ResponseMetadata.encode(message.metadata, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
return writer;
};
/**
- * Encodes the specified GetDocumentsCountRequestV0 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.verify|verify} messages.
+ * Encodes the specified GetDocumentsResponseV0 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.verify|verify} messages.
* @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountRequest.IGetDocumentsCountRequestV0} message GetDocumentsCountRequestV0 message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV0} message GetDocumentsResponseV0 message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetDocumentsCountRequestV0.encodeDelimited = function encodeDelimited(message, writer) {
+ GetDocumentsResponseV0.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a GetDocumentsCountRequestV0 message from the specified reader or buffer.
+ * Decodes a GetDocumentsResponseV0 message from the specified reader or buffer.
* @function decode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} GetDocumentsCountRequestV0
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} GetDocumentsResponseV0
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetDocumentsCountRequestV0.decode = function decode(reader, length) {
+ GetDocumentsResponseV0.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
case 1:
- message.dataContractId = reader.bytes();
+ message.documents = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.decode(reader, reader.uint32());
break;
case 2:
- message.documentType = reader.string();
+ message.proof = $root.org.dash.platform.dapi.v0.Proof.decode(reader, reader.uint32());
break;
case 3:
- message.where = reader.bytes();
- break;
- case 4:
- message.returnDistinctCountsInRange = reader.bool();
- break;
- case 5:
- message.orderBy = reader.bytes();
- break;
- case 6:
- message.limit = reader.uint32();
- break;
- case 7:
- message.prove = reader.bool();
+ message.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
@@ -21070,396 +20892,359 @@ $root.org = (function() {
};
/**
- * Decodes a GetDocumentsCountRequestV0 message from the specified reader or buffer, length delimited.
+ * Decodes a GetDocumentsResponseV0 message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} GetDocumentsCountRequestV0
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} GetDocumentsResponseV0
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetDocumentsCountRequestV0.decodeDelimited = function decodeDelimited(reader) {
+ GetDocumentsResponseV0.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a GetDocumentsCountRequestV0 message.
+ * Verifies a GetDocumentsResponseV0 message.
* @function verify
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- GetDocumentsCountRequestV0.verify = function verify(message) {
+ GetDocumentsResponseV0.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
- if (message.dataContractId != null && message.hasOwnProperty("dataContractId"))
- if (!(message.dataContractId && typeof message.dataContractId.length === "number" || $util.isString(message.dataContractId)))
- return "dataContractId: buffer expected";
- if (message.documentType != null && message.hasOwnProperty("documentType"))
- if (!$util.isString(message.documentType))
- return "documentType: string expected";
- if (message.where != null && message.hasOwnProperty("where"))
- if (!(message.where && typeof message.where.length === "number" || $util.isString(message.where)))
- return "where: buffer expected";
- if (message.returnDistinctCountsInRange != null && message.hasOwnProperty("returnDistinctCountsInRange"))
- if (typeof message.returnDistinctCountsInRange !== "boolean")
- return "returnDistinctCountsInRange: boolean expected";
- if (message.orderBy != null && message.hasOwnProperty("orderBy"))
- if (!(message.orderBy && typeof message.orderBy.length === "number" || $util.isString(message.orderBy)))
- return "orderBy: buffer expected";
- if (message.limit != null && message.hasOwnProperty("limit"))
- if (!$util.isInteger(message.limit))
- return "limit: integer expected";
- if (message.prove != null && message.hasOwnProperty("prove"))
- if (typeof message.prove !== "boolean")
- return "prove: boolean expected";
+ var properties = {};
+ if (message.documents != null && message.hasOwnProperty("documents")) {
+ properties.result = 1;
+ {
+ var error = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.verify(message.documents);
+ if (error)
+ return "documents." + error;
+ }
+ }
+ if (message.proof != null && message.hasOwnProperty("proof")) {
+ if (properties.result === 1)
+ return "result: multiple values";
+ properties.result = 1;
+ {
+ var error = $root.org.dash.platform.dapi.v0.Proof.verify(message.proof);
+ if (error)
+ return "proof." + error;
+ }
+ }
+ if (message.metadata != null && message.hasOwnProperty("metadata")) {
+ var error = $root.org.dash.platform.dapi.v0.ResponseMetadata.verify(message.metadata);
+ if (error)
+ return "metadata." + error;
+ }
return null;
};
/**
- * Creates a GetDocumentsCountRequestV0 message from a plain object. Also converts values to their respective internal types.
+ * Creates a GetDocumentsResponseV0 message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
* @static
* @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} GetDocumentsCountRequestV0
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} GetDocumentsResponseV0
*/
- GetDocumentsCountRequestV0.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0)
+ GetDocumentsResponseV0.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0)
return object;
- var message = new $root.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0();
- if (object.dataContractId != null)
- if (typeof object.dataContractId === "string")
- $util.base64.decode(object.dataContractId, message.dataContractId = $util.newBuffer($util.base64.length(object.dataContractId)), 0);
- else if (object.dataContractId.length >= 0)
- message.dataContractId = object.dataContractId;
- if (object.documentType != null)
- message.documentType = String(object.documentType);
- if (object.where != null)
- if (typeof object.where === "string")
- $util.base64.decode(object.where, message.where = $util.newBuffer($util.base64.length(object.where)), 0);
- else if (object.where.length >= 0)
- message.where = object.where;
- if (object.returnDistinctCountsInRange != null)
- message.returnDistinctCountsInRange = Boolean(object.returnDistinctCountsInRange);
- if (object.orderBy != null)
- if (typeof object.orderBy === "string")
- $util.base64.decode(object.orderBy, message.orderBy = $util.newBuffer($util.base64.length(object.orderBy)), 0);
- else if (object.orderBy.length >= 0)
- message.orderBy = object.orderBy;
- if (object.limit != null)
- message.limit = object.limit >>> 0;
- if (object.prove != null)
- message.prove = Boolean(object.prove);
+ var message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0();
+ if (object.documents != null) {
+ if (typeof object.documents !== "object")
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.documents: object expected");
+ message.documents = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.fromObject(object.documents);
+ }
+ if (object.proof != null) {
+ if (typeof object.proof !== "object")
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.proof: object expected");
+ message.proof = $root.org.dash.platform.dapi.v0.Proof.fromObject(object.proof);
+ }
+ if (object.metadata != null) {
+ if (typeof object.metadata !== "object")
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.metadata: object expected");
+ message.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.fromObject(object.metadata);
+ }
return message;
};
/**
- * Creates a plain object from a GetDocumentsCountRequestV0 message. Also converts values to other types if specified.
+ * Creates a plain object from a GetDocumentsResponseV0 message. Also converts values to other types if specified.
* @function toObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} message GetDocumentsCountRequestV0
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} message GetDocumentsResponseV0
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
- GetDocumentsCountRequestV0.toObject = function toObject(message, options) {
+ GetDocumentsResponseV0.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
- if (options.defaults) {
- if (options.bytes === String)
- object.dataContractId = "";
- else {
- object.dataContractId = [];
- if (options.bytes !== Array)
- object.dataContractId = $util.newBuffer(object.dataContractId);
- }
- object.documentType = "";
- if (options.bytes === String)
- object.where = "";
- else {
- object.where = [];
- if (options.bytes !== Array)
- object.where = $util.newBuffer(object.where);
- }
- object.returnDistinctCountsInRange = false;
- if (options.bytes === String)
- object.orderBy = "";
- else {
- object.orderBy = [];
- if (options.bytes !== Array)
- object.orderBy = $util.newBuffer(object.orderBy);
- }
- object.limit = 0;
- object.prove = false;
+ if (options.defaults)
+ object.metadata = null;
+ if (message.documents != null && message.hasOwnProperty("documents")) {
+ object.documents = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.toObject(message.documents, options);
+ if (options.oneofs)
+ object.result = "documents";
}
- if (message.dataContractId != null && message.hasOwnProperty("dataContractId"))
- object.dataContractId = options.bytes === String ? $util.base64.encode(message.dataContractId, 0, message.dataContractId.length) : options.bytes === Array ? Array.prototype.slice.call(message.dataContractId) : message.dataContractId;
- if (message.documentType != null && message.hasOwnProperty("documentType"))
- object.documentType = message.documentType;
- if (message.where != null && message.hasOwnProperty("where"))
- object.where = options.bytes === String ? $util.base64.encode(message.where, 0, message.where.length) : options.bytes === Array ? Array.prototype.slice.call(message.where) : message.where;
- if (message.returnDistinctCountsInRange != null && message.hasOwnProperty("returnDistinctCountsInRange"))
- object.returnDistinctCountsInRange = message.returnDistinctCountsInRange;
- if (message.orderBy != null && message.hasOwnProperty("orderBy"))
- object.orderBy = options.bytes === String ? $util.base64.encode(message.orderBy, 0, message.orderBy.length) : options.bytes === Array ? Array.prototype.slice.call(message.orderBy) : message.orderBy;
- if (message.limit != null && message.hasOwnProperty("limit"))
- object.limit = message.limit;
- if (message.prove != null && message.hasOwnProperty("prove"))
- object.prove = message.prove;
+ if (message.proof != null && message.hasOwnProperty("proof")) {
+ object.proof = $root.org.dash.platform.dapi.v0.Proof.toObject(message.proof, options);
+ if (options.oneofs)
+ object.result = "proof";
+ }
+ if (message.metadata != null && message.hasOwnProperty("metadata"))
+ object.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.toObject(message.metadata, options);
return object;
};
/**
- * Converts this GetDocumentsCountRequestV0 to JSON.
+ * Converts this GetDocumentsResponseV0 to JSON.
* @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
* @instance
* @returns {Object.} JSON object
*/
- GetDocumentsCountRequestV0.prototype.toJSON = function toJSON() {
+ GetDocumentsResponseV0.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
- return GetDocumentsCountRequestV0;
- })();
-
- return GetDocumentsCountRequest;
- })();
-
- v0.GetDocumentsCountResponse = (function() {
+ GetDocumentsResponseV0.Documents = (function() {
- /**
- * Properties of a GetDocumentsCountResponse.
- * @memberof org.dash.platform.dapi.v0
- * @interface IGetDocumentsCountResponse
- * @property {org.dash.platform.dapi.v0.GetDocumentsCountResponse.IGetDocumentsCountResponseV0|null} [v0] GetDocumentsCountResponse v0
- */
+ /**
+ * Properties of a Documents.
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
+ * @interface IDocuments
+ * @property {Array.|null} [documents] Documents documents
+ */
- /**
- * Constructs a new GetDocumentsCountResponse.
- * @memberof org.dash.platform.dapi.v0
- * @classdesc Represents a GetDocumentsCountResponse.
- * @implements IGetDocumentsCountResponse
- * @constructor
- * @param {org.dash.platform.dapi.v0.IGetDocumentsCountResponse=} [properties] Properties to set
- */
- function GetDocumentsCountResponse(properties) {
- if (properties)
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
- if (properties[keys[i]] != null)
- this[keys[i]] = properties[keys[i]];
- }
+ /**
+ * Constructs a new Documents.
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0
+ * @classdesc Represents a Documents.
+ * @implements IDocuments
+ * @constructor
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.IDocuments=} [properties] Properties to set
+ */
+ function Documents(properties) {
+ this.documents = [];
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
- /**
- * GetDocumentsCountResponse v0.
- * @member {org.dash.platform.dapi.v0.GetDocumentsCountResponse.IGetDocumentsCountResponseV0|null|undefined} v0
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse
- * @instance
- */
- GetDocumentsCountResponse.prototype.v0 = null;
+ /**
+ * Documents documents.
+ * @member {Array.} documents
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
+ * @instance
+ */
+ Documents.prototype.documents = $util.emptyArray;
- // OneOf field names bound to virtual getters and setters
- var $oneOfFields;
+ /**
+ * Creates a new Documents instance using the specified properties.
+ * @function create
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.IDocuments=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} Documents instance
+ */
+ Documents.create = function create(properties) {
+ return new Documents(properties);
+ };
- /**
- * GetDocumentsCountResponse version.
- * @member {"v0"|undefined} version
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse
- * @instance
- */
- Object.defineProperty(GetDocumentsCountResponse.prototype, "version", {
- get: $util.oneOfGetter($oneOfFields = ["v0"]),
- set: $util.oneOfSetter($oneOfFields)
- });
+ /**
+ * Encodes the specified Documents message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.verify|verify} messages.
+ * @function encode
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.IDocuments} message Documents message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Documents.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.documents != null && message.documents.length)
+ for (var i = 0; i < message.documents.length; ++i)
+ writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.documents[i]);
+ return writer;
+ };
- /**
- * Creates a new GetDocumentsCountResponse instance using the specified properties.
- * @function create
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse
- * @static
- * @param {org.dash.platform.dapi.v0.IGetDocumentsCountResponse=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse} GetDocumentsCountResponse instance
- */
- GetDocumentsCountResponse.create = function create(properties) {
- return new GetDocumentsCountResponse(properties);
- };
+ /**
+ * Encodes the specified Documents message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.IDocuments} message Documents message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Documents.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
- /**
- * Encodes the specified GetDocumentsCountResponse message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsCountResponse.verify|verify} messages.
- * @function encode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse
- * @static
- * @param {org.dash.platform.dapi.v0.IGetDocumentsCountResponse} message GetDocumentsCountResponse message or plain object to encode
- * @param {$protobuf.Writer} [writer] Writer to encode to
- * @returns {$protobuf.Writer} Writer
- */
- GetDocumentsCountResponse.encode = function encode(message, writer) {
- if (!writer)
- writer = $Writer.create();
- if (message.v0 != null && Object.hasOwnProperty.call(message, "v0"))
- $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
- return writer;
- };
+ /**
+ * Decodes a Documents message from the specified reader or buffer.
+ * @function decode
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} Documents
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Documents.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (!(message.documents && message.documents.length))
+ message.documents = [];
+ message.documents.push(reader.bytes());
+ break;
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
- /**
- * Encodes the specified GetDocumentsCountResponse message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsCountResponse.verify|verify} messages.
- * @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse
- * @static
- * @param {org.dash.platform.dapi.v0.IGetDocumentsCountResponse} message GetDocumentsCountResponse message or plain object to encode
- * @param {$protobuf.Writer} [writer] Writer to encode to
- * @returns {$protobuf.Writer} Writer
- */
- GetDocumentsCountResponse.encodeDelimited = function encodeDelimited(message, writer) {
- return this.encode(message, writer).ldelim();
- };
+ /**
+ * Decodes a Documents message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} Documents
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Documents.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
- /**
- * Decodes a GetDocumentsCountResponse message from the specified reader or buffer.
- * @function decode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse
- * @static
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse} GetDocumentsCountResponse
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- GetDocumentsCountResponse.decode = function decode(reader, length) {
- if (!(reader instanceof $Reader))
- reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse();
- while (reader.pos < end) {
- var tag = reader.uint32();
- switch (tag >>> 3) {
- case 1:
- message.v0 = $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.decode(reader, reader.uint32());
- break;
- default:
- reader.skipType(tag & 7);
- break;
- }
- }
- return message;
- };
+ /**
+ * Verifies a Documents message.
+ * @function verify
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Documents.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.documents != null && message.hasOwnProperty("documents")) {
+ if (!Array.isArray(message.documents))
+ return "documents: array expected";
+ for (var i = 0; i < message.documents.length; ++i)
+ if (!(message.documents[i] && typeof message.documents[i].length === "number" || $util.isString(message.documents[i])))
+ return "documents: buffer[] expected";
+ }
+ return null;
+ };
- /**
- * Decodes a GetDocumentsCountResponse message from the specified reader or buffer, length delimited.
- * @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse
- * @static
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse} GetDocumentsCountResponse
- * @throws {Error} If the payload is not a reader or valid buffer
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
- */
- GetDocumentsCountResponse.decodeDelimited = function decodeDelimited(reader) {
- if (!(reader instanceof $Reader))
- reader = new $Reader(reader);
- return this.decode(reader, reader.uint32());
- };
+ /**
+ * Creates a Documents message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} Documents
+ */
+ Documents.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents)
+ return object;
+ var message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents();
+ if (object.documents) {
+ if (!Array.isArray(object.documents))
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.documents: array expected");
+ message.documents = [];
+ for (var i = 0; i < object.documents.length; ++i)
+ if (typeof object.documents[i] === "string")
+ $util.base64.decode(object.documents[i], message.documents[i] = $util.newBuffer($util.base64.length(object.documents[i])), 0);
+ else if (object.documents[i].length >= 0)
+ message.documents[i] = object.documents[i];
+ }
+ return message;
+ };
- /**
- * Verifies a GetDocumentsCountResponse message.
- * @function verify
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse
- * @static
- * @param {Object.} message Plain object to verify
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
- */
- GetDocumentsCountResponse.verify = function verify(message) {
- if (typeof message !== "object" || message === null)
- return "object expected";
- var properties = {};
- if (message.v0 != null && message.hasOwnProperty("v0")) {
- properties.version = 1;
- {
- var error = $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.verify(message.v0);
- if (error)
- return "v0." + error;
- }
- }
- return null;
- };
+ /**
+ * Creates a plain object from a Documents message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} message Documents
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Documents.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.documents = [];
+ if (message.documents && message.documents.length) {
+ object.documents = [];
+ for (var j = 0; j < message.documents.length; ++j)
+ object.documents[j] = options.bytes === String ? $util.base64.encode(message.documents[j], 0, message.documents[j].length) : options.bytes === Array ? Array.prototype.slice.call(message.documents[j]) : message.documents[j];
+ }
+ return object;
+ };
- /**
- * Creates a GetDocumentsCountResponse message from a plain object. Also converts values to their respective internal types.
- * @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse
- * @static
- * @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse} GetDocumentsCountResponse
- */
- GetDocumentsCountResponse.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse)
- return object;
- var message = new $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse();
- if (object.v0 != null) {
- if (typeof object.v0 !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsCountResponse.v0: object expected");
- message.v0 = $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.fromObject(object.v0);
- }
- return message;
- };
+ /**
+ * Converts this Documents to JSON.
+ * @function toJSON
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Documents.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
- /**
- * Creates a plain object from a GetDocumentsCountResponse message. Also converts values to other types if specified.
- * @function toObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse
- * @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse} message GetDocumentsCountResponse
- * @param {$protobuf.IConversionOptions} [options] Conversion options
- * @returns {Object.} Plain object
- */
- GetDocumentsCountResponse.toObject = function toObject(message, options) {
- if (!options)
- options = {};
- var object = {};
- if (message.v0 != null && message.hasOwnProperty("v0")) {
- object.v0 = $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.toObject(message.v0, options);
- if (options.oneofs)
- object.version = "v0";
- }
- return object;
- };
+ return Documents;
+ })();
- /**
- * Converts this GetDocumentsCountResponse to JSON.
- * @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse
- * @instance
- * @returns {Object.} JSON object
- */
- GetDocumentsCountResponse.prototype.toJSON = function toJSON() {
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
- };
+ return GetDocumentsResponseV0;
+ })();
- GetDocumentsCountResponse.GetDocumentsCountResponseV0 = (function() {
+ GetDocumentsResponse.GetDocumentsResponseV1 = (function() {
/**
- * Properties of a GetDocumentsCountResponseV0.
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse
- * @interface IGetDocumentsCountResponseV0
- * @property {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ICountResults|null} [counts] GetDocumentsCountResponseV0 counts
- * @property {org.dash.platform.dapi.v0.IProof|null} [proof] GetDocumentsCountResponseV0 proof
- * @property {org.dash.platform.dapi.v0.IResponseMetadata|null} [metadata] GetDocumentsCountResponseV0 metadata
+ * Properties of a GetDocumentsResponseV1.
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
+ * @interface IGetDocumentsResponseV1
+ * @property {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.IResultData|null} [data] GetDocumentsResponseV1 data
+ * @property {org.dash.platform.dapi.v0.IProof|null} [proof] GetDocumentsResponseV1 proof
+ * @property {org.dash.platform.dapi.v0.IResponseMetadata|null} [metadata] GetDocumentsResponseV1 metadata
*/
/**
- * Constructs a new GetDocumentsCountResponseV0.
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse
- * @classdesc Represents a GetDocumentsCountResponseV0.
- * @implements IGetDocumentsCountResponseV0
+ * Constructs a new GetDocumentsResponseV1.
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse
+ * @classdesc Represents a GetDocumentsResponseV1.
+ * @implements IGetDocumentsResponseV1
* @constructor
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.IGetDocumentsCountResponseV0=} [properties] Properties to set
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV1=} [properties] Properties to set
*/
- function GetDocumentsCountResponseV0(properties) {
+ function GetDocumentsResponseV1(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
@@ -21467,69 +21252,69 @@ $root.org = (function() {
}
/**
- * GetDocumentsCountResponseV0 counts.
- * @member {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ICountResults|null|undefined} counts
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
+ * GetDocumentsResponseV1 data.
+ * @member {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.IResultData|null|undefined} data
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
* @instance
*/
- GetDocumentsCountResponseV0.prototype.counts = null;
+ GetDocumentsResponseV1.prototype.data = null;
/**
- * GetDocumentsCountResponseV0 proof.
+ * GetDocumentsResponseV1 proof.
* @member {org.dash.platform.dapi.v0.IProof|null|undefined} proof
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
* @instance
*/
- GetDocumentsCountResponseV0.prototype.proof = null;
+ GetDocumentsResponseV1.prototype.proof = null;
/**
- * GetDocumentsCountResponseV0 metadata.
+ * GetDocumentsResponseV1 metadata.
* @member {org.dash.platform.dapi.v0.IResponseMetadata|null|undefined} metadata
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
* @instance
*/
- GetDocumentsCountResponseV0.prototype.metadata = null;
+ GetDocumentsResponseV1.prototype.metadata = null;
// OneOf field names bound to virtual getters and setters
var $oneOfFields;
/**
- * GetDocumentsCountResponseV0 result.
- * @member {"counts"|"proof"|undefined} result
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
+ * GetDocumentsResponseV1 result.
+ * @member {"data"|"proof"|undefined} result
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
* @instance
*/
- Object.defineProperty(GetDocumentsCountResponseV0.prototype, "result", {
- get: $util.oneOfGetter($oneOfFields = ["counts", "proof"]),
+ Object.defineProperty(GetDocumentsResponseV1.prototype, "result", {
+ get: $util.oneOfGetter($oneOfFields = ["data", "proof"]),
set: $util.oneOfSetter($oneOfFields)
});
/**
- * Creates a new GetDocumentsCountResponseV0 instance using the specified properties.
+ * Creates a new GetDocumentsResponseV1 instance using the specified properties.
* @function create
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.IGetDocumentsCountResponseV0=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} GetDocumentsCountResponseV0 instance
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV1=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} GetDocumentsResponseV1 instance
*/
- GetDocumentsCountResponseV0.create = function create(properties) {
- return new GetDocumentsCountResponseV0(properties);
+ GetDocumentsResponseV1.create = function create(properties) {
+ return new GetDocumentsResponseV1(properties);
};
/**
- * Encodes the specified GetDocumentsCountResponseV0 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.verify|verify} messages.
+ * Encodes the specified GetDocumentsResponseV1 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.verify|verify} messages.
* @function encode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.IGetDocumentsCountResponseV0} message GetDocumentsCountResponseV0 message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV1} message GetDocumentsResponseV1 message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetDocumentsCountResponseV0.encode = function encode(message, writer) {
+ GetDocumentsResponseV1.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
- if (message.counts != null && Object.hasOwnProperty.call(message, "counts"))
- $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.encode(message.counts, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.data != null && Object.hasOwnProperty.call(message, "data"))
+ $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.encode(message.data, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
if (message.proof != null && Object.hasOwnProperty.call(message, "proof"))
$root.org.dash.platform.dapi.v0.Proof.encode(message.proof, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata"))
@@ -21538,38 +21323,38 @@ $root.org = (function() {
};
/**
- * Encodes the specified GetDocumentsCountResponseV0 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.verify|verify} messages.
+ * Encodes the specified GetDocumentsResponseV1 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.verify|verify} messages.
* @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.IGetDocumentsCountResponseV0} message GetDocumentsCountResponseV0 message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.IGetDocumentsResponseV1} message GetDocumentsResponseV1 message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
- GetDocumentsCountResponseV0.encodeDelimited = function encodeDelimited(message, writer) {
+ GetDocumentsResponseV1.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
- * Decodes a GetDocumentsCountResponseV0 message from the specified reader or buffer.
+ * Decodes a GetDocumentsResponseV1 message from the specified reader or buffer.
* @function decode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} GetDocumentsCountResponseV0
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} GetDocumentsResponseV1
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetDocumentsCountResponseV0.decode = function decode(reader, length) {
+ GetDocumentsResponseV1.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
case 1:
- message.counts = $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.decode(reader, reader.uint32());
+ message.data = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.decode(reader, reader.uint32());
break;
case 2:
message.proof = $root.org.dash.platform.dapi.v0.Proof.decode(reader, reader.uint32());
@@ -21586,39 +21371,39 @@ $root.org = (function() {
};
/**
- * Decodes a GetDocumentsCountResponseV0 message from the specified reader or buffer, length delimited.
+ * Decodes a GetDocumentsResponseV1 message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} GetDocumentsCountResponseV0
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} GetDocumentsResponseV1
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
- GetDocumentsCountResponseV0.decodeDelimited = function decodeDelimited(reader) {
+ GetDocumentsResponseV1.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
- * Verifies a GetDocumentsCountResponseV0 message.
+ * Verifies a GetDocumentsResponseV1 message.
* @function verify
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
- GetDocumentsCountResponseV0.verify = function verify(message) {
+ GetDocumentsResponseV1.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
var properties = {};
- if (message.counts != null && message.hasOwnProperty("counts")) {
+ if (message.data != null && message.hasOwnProperty("data")) {
properties.result = 1;
{
- var error = $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.verify(message.counts);
+ var error = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.verify(message.data);
if (error)
- return "counts." + error;
+ return "data." + error;
}
}
if (message.proof != null && message.hasOwnProperty("proof")) {
@@ -21630,91 +21415,297 @@ $root.org = (function() {
if (error)
return "proof." + error;
}
- }
- if (message.metadata != null && message.hasOwnProperty("metadata")) {
- var error = $root.org.dash.platform.dapi.v0.ResponseMetadata.verify(message.metadata);
- if (error)
- return "metadata." + error;
- }
- return null;
- };
+ }
+ if (message.metadata != null && message.hasOwnProperty("metadata")) {
+ var error = $root.org.dash.platform.dapi.v0.ResponseMetadata.verify(message.metadata);
+ if (error)
+ return "metadata." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a GetDocumentsResponseV1 message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} GetDocumentsResponseV1
+ */
+ GetDocumentsResponseV1.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1)
+ return object;
+ var message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1();
+ if (object.data != null) {
+ if (typeof object.data !== "object")
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.data: object expected");
+ message.data = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.fromObject(object.data);
+ }
+ if (object.proof != null) {
+ if (typeof object.proof !== "object")
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.proof: object expected");
+ message.proof = $root.org.dash.platform.dapi.v0.Proof.fromObject(object.proof);
+ }
+ if (object.metadata != null) {
+ if (typeof object.metadata !== "object")
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.metadata: object expected");
+ message.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.fromObject(object.metadata);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetDocumentsResponseV1 message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} message GetDocumentsResponseV1
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetDocumentsResponseV1.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.metadata = null;
+ if (message.data != null && message.hasOwnProperty("data")) {
+ object.data = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.toObject(message.data, options);
+ if (options.oneofs)
+ object.result = "data";
+ }
+ if (message.proof != null && message.hasOwnProperty("proof")) {
+ object.proof = $root.org.dash.platform.dapi.v0.Proof.toObject(message.proof, options);
+ if (options.oneofs)
+ object.result = "proof";
+ }
+ if (message.metadata != null && message.hasOwnProperty("metadata"))
+ object.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.toObject(message.metadata, options);
+ return object;
+ };
+
+ /**
+ * Converts this GetDocumentsResponseV1 to JSON.
+ * @function toJSON
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetDocumentsResponseV1.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ GetDocumentsResponseV1.Documents = (function() {
+
+ /**
+ * Properties of a Documents.
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
+ * @interface IDocuments
+ * @property {Array.|null} [documents] Documents documents
+ */
+
+ /**
+ * Constructs a new Documents.
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
+ * @classdesc Represents a Documents.
+ * @implements IDocuments
+ * @constructor
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.IDocuments=} [properties] Properties to set
+ */
+ function Documents(properties) {
+ this.documents = [];
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * Documents documents.
+ * @member {Array.} documents
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents
+ * @instance
+ */
+ Documents.prototype.documents = $util.emptyArray;
+
+ /**
+ * Creates a new Documents instance using the specified properties.
+ * @function create
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.IDocuments=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} Documents instance
+ */
+ Documents.create = function create(properties) {
+ return new Documents(properties);
+ };
+
+ /**
+ * Encodes the specified Documents message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.verify|verify} messages.
+ * @function encode
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.IDocuments} message Documents message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Documents.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.documents != null && message.documents.length)
+ for (var i = 0; i < message.documents.length; ++i)
+ writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.documents[i]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Documents message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.IDocuments} message Documents message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Documents.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Documents message from the specified reader or buffer.
+ * @function decode
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} Documents
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Documents.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (!(message.documents && message.documents.length))
+ message.documents = [];
+ message.documents.push(reader.bytes());
+ break;
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Documents message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} Documents
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Documents.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Documents message.
+ * @function verify
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Documents.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.documents != null && message.hasOwnProperty("documents")) {
+ if (!Array.isArray(message.documents))
+ return "documents: array expected";
+ for (var i = 0; i < message.documents.length; ++i)
+ if (!(message.documents[i] && typeof message.documents[i].length === "number" || $util.isString(message.documents[i])))
+ return "documents: buffer[] expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Documents message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} Documents
+ */
+ Documents.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents)
+ return object;
+ var message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents();
+ if (object.documents) {
+ if (!Array.isArray(object.documents))
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.documents: array expected");
+ message.documents = [];
+ for (var i = 0; i < object.documents.length; ++i)
+ if (typeof object.documents[i] === "string")
+ $util.base64.decode(object.documents[i], message.documents[i] = $util.newBuffer($util.base64.length(object.documents[i])), 0);
+ else if (object.documents[i].length >= 0)
+ message.documents[i] = object.documents[i];
+ }
+ return message;
+ };
- /**
- * Creates a GetDocumentsCountResponseV0 message from a plain object. Also converts values to their respective internal types.
- * @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
- * @static
- * @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} GetDocumentsCountResponseV0
- */
- GetDocumentsCountResponseV0.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0)
+ /**
+ * Creates a plain object from a Documents message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} message Documents
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Documents.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.documents = [];
+ if (message.documents && message.documents.length) {
+ object.documents = [];
+ for (var j = 0; j < message.documents.length; ++j)
+ object.documents[j] = options.bytes === String ? $util.base64.encode(message.documents[j], 0, message.documents[j].length) : options.bytes === Array ? Array.prototype.slice.call(message.documents[j]) : message.documents[j];
+ }
return object;
- var message = new $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0();
- if (object.counts != null) {
- if (typeof object.counts !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.counts: object expected");
- message.counts = $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.fromObject(object.counts);
- }
- if (object.proof != null) {
- if (typeof object.proof !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.proof: object expected");
- message.proof = $root.org.dash.platform.dapi.v0.Proof.fromObject(object.proof);
- }
- if (object.metadata != null) {
- if (typeof object.metadata !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.metadata: object expected");
- message.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.fromObject(object.metadata);
- }
- return message;
- };
+ };
- /**
- * Creates a plain object from a GetDocumentsCountResponseV0 message. Also converts values to other types if specified.
- * @function toObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
- * @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} message GetDocumentsCountResponseV0
- * @param {$protobuf.IConversionOptions} [options] Conversion options
- * @returns {Object.} Plain object
- */
- GetDocumentsCountResponseV0.toObject = function toObject(message, options) {
- if (!options)
- options = {};
- var object = {};
- if (options.defaults)
- object.metadata = null;
- if (message.counts != null && message.hasOwnProperty("counts")) {
- object.counts = $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.toObject(message.counts, options);
- if (options.oneofs)
- object.result = "counts";
- }
- if (message.proof != null && message.hasOwnProperty("proof")) {
- object.proof = $root.org.dash.platform.dapi.v0.Proof.toObject(message.proof, options);
- if (options.oneofs)
- object.result = "proof";
- }
- if (message.metadata != null && message.hasOwnProperty("metadata"))
- object.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.toObject(message.metadata, options);
- return object;
- };
+ /**
+ * Converts this Documents to JSON.
+ * @function toJSON
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Documents.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
- /**
- * Converts this GetDocumentsCountResponseV0 to JSON.
- * @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
- * @instance
- * @returns {Object.} JSON object
- */
- GetDocumentsCountResponseV0.prototype.toJSON = function toJSON() {
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
- };
+ return Documents;
+ })();
- GetDocumentsCountResponseV0.CountEntry = (function() {
+ GetDocumentsResponseV1.CountEntry = (function() {
/**
* Properties of a CountEntry.
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
* @interface ICountEntry
* @property {Uint8Array|null} [inKey] CountEntry inKey
* @property {Uint8Array|null} [key] CountEntry key
@@ -21723,11 +21714,11 @@ $root.org = (function() {
/**
* Constructs a new CountEntry.
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
* @classdesc Represents a CountEntry.
* @implements ICountEntry
* @constructor
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ICountEntry=} [properties] Properties to set
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ICountEntry=} [properties] Properties to set
*/
function CountEntry(properties) {
if (properties)
@@ -21739,7 +21730,7 @@ $root.org = (function() {
/**
* CountEntry inKey.
* @member {Uint8Array} inKey
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry
* @instance
*/
CountEntry.prototype.inKey = $util.newBuffer([]);
@@ -21747,7 +21738,7 @@ $root.org = (function() {
/**
* CountEntry key.
* @member {Uint8Array} key
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry
* @instance
*/
CountEntry.prototype.key = $util.newBuffer([]);
@@ -21755,7 +21746,7 @@ $root.org = (function() {
/**
* CountEntry count.
* @member {number|Long} count
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry
* @instance
*/
CountEntry.prototype.count = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
@@ -21763,21 +21754,21 @@ $root.org = (function() {
/**
* Creates a new CountEntry instance using the specified properties.
* @function create
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ICountEntry=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} CountEntry instance
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ICountEntry=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} CountEntry instance
*/
CountEntry.create = function create(properties) {
return new CountEntry(properties);
};
/**
- * Encodes the specified CountEntry message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.verify|verify} messages.
+ * Encodes the specified CountEntry message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.verify|verify} messages.
* @function encode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ICountEntry} message CountEntry message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ICountEntry} message CountEntry message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
@@ -21794,11 +21785,11 @@ $root.org = (function() {
};
/**
- * Encodes the specified CountEntry message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.verify|verify} messages.
+ * Encodes the specified CountEntry message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.verify|verify} messages.
* @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ICountEntry} message CountEntry message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ICountEntry} message CountEntry message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
@@ -21809,18 +21800,18 @@ $root.org = (function() {
/**
* Decodes a CountEntry message from the specified reader or buffer.
* @function decode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} CountEntry
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} CountEntry
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
CountEntry.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
@@ -21844,10 +21835,10 @@ $root.org = (function() {
/**
* Decodes a CountEntry message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} CountEntry
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} CountEntry
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
@@ -21860,7 +21851,7 @@ $root.org = (function() {
/**
* Verifies a CountEntry message.
* @function verify
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
@@ -21883,15 +21874,15 @@ $root.org = (function() {
/**
* Creates a CountEntry message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry
* @static
* @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} CountEntry
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} CountEntry
*/
CountEntry.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry)
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry)
return object;
- var message = new $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry();
+ var message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry();
if (object.inKey != null)
if (typeof object.inKey === "string")
$util.base64.decode(object.inKey, message.inKey = $util.newBuffer($util.base64.length(object.inKey)), 0);
@@ -21917,9 +21908,9 @@ $root.org = (function() {
/**
* Creates a plain object from a CountEntry message. Also converts values to other types if specified.
* @function toObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} message CountEntry
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} message CountEntry
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
@@ -21963,7 +21954,7 @@ $root.org = (function() {
/**
* Converts this CountEntry to JSON.
* @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry
* @instance
* @returns {Object.} JSON object
*/
@@ -21974,22 +21965,22 @@ $root.org = (function() {
return CountEntry;
})();
- GetDocumentsCountResponseV0.CountEntries = (function() {
+ GetDocumentsResponseV1.CountEntries = (function() {
/**
* Properties of a CountEntries.
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
* @interface ICountEntries
- * @property {Array.|null} [entries] CountEntries entries
+ * @property {Array.|null} [entries] CountEntries entries
*/
/**
* Constructs a new CountEntries.
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
* @classdesc Represents a CountEntries.
* @implements ICountEntries
* @constructor
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ICountEntries=} [properties] Properties to set
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ICountEntries=} [properties] Properties to set
*/
function CountEntries(properties) {
this.entries = [];
@@ -22001,8 +21992,8 @@ $root.org = (function() {
/**
* CountEntries entries.
- * @member {Array.} entries
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries
+ * @member {Array.} entries
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries
* @instance
*/
CountEntries.prototype.entries = $util.emptyArray;
@@ -22010,21 +22001,21 @@ $root.org = (function() {
/**
* Creates a new CountEntries instance using the specified properties.
* @function create
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ICountEntries=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} CountEntries instance
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ICountEntries=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} CountEntries instance
*/
CountEntries.create = function create(properties) {
return new CountEntries(properties);
};
/**
- * Encodes the specified CountEntries message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.verify|verify} messages.
+ * Encodes the specified CountEntries message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.verify|verify} messages.
* @function encode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ICountEntries} message CountEntries message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ICountEntries} message CountEntries message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
@@ -22033,16 +22024,16 @@ $root.org = (function() {
writer = $Writer.create();
if (message.entries != null && message.entries.length)
for (var i = 0; i < message.entries.length; ++i)
- $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.encode(message.entries[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.encode(message.entries[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
return writer;
};
/**
- * Encodes the specified CountEntries message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.verify|verify} messages.
+ * Encodes the specified CountEntries message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.verify|verify} messages.
* @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ICountEntries} message CountEntries message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ICountEntries} message CountEntries message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
@@ -22053,25 +22044,25 @@ $root.org = (function() {
/**
* Decodes a CountEntries message from the specified reader or buffer.
* @function decode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} CountEntries
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} CountEntries
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
CountEntries.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
case 1:
if (!(message.entries && message.entries.length))
message.entries = [];
- message.entries.push($root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.decode(reader, reader.uint32()));
+ message.entries.push($root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.decode(reader, reader.uint32()));
break;
default:
reader.skipType(tag & 7);
@@ -22084,10 +22075,10 @@ $root.org = (function() {
/**
* Decodes a CountEntries message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} CountEntries
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} CountEntries
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
@@ -22100,7 +22091,7 @@ $root.org = (function() {
/**
* Verifies a CountEntries message.
* @function verify
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
@@ -22112,7 +22103,7 @@ $root.org = (function() {
if (!Array.isArray(message.entries))
return "entries: array expected";
for (var i = 0; i < message.entries.length; ++i) {
- var error = $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.verify(message.entries[i]);
+ var error = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.verify(message.entries[i]);
if (error)
return "entries." + error;
}
@@ -22123,23 +22114,23 @@ $root.org = (function() {
/**
* Creates a CountEntries message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries
* @static
* @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} CountEntries
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} CountEntries
*/
CountEntries.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries)
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries)
return object;
- var message = new $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries();
+ var message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries();
if (object.entries) {
if (!Array.isArray(object.entries))
- throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.entries: array expected");
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.entries: array expected");
message.entries = [];
for (var i = 0; i < object.entries.length; ++i) {
if (typeof object.entries[i] !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.entries: object expected");
- message.entries[i] = $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.fromObject(object.entries[i]);
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.entries: object expected");
+ message.entries[i] = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.fromObject(object.entries[i]);
}
}
return message;
@@ -22148,9 +22139,9 @@ $root.org = (function() {
/**
* Creates a plain object from a CountEntries message. Also converts values to other types if specified.
* @function toObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} message CountEntries
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} message CountEntries
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
@@ -22163,7 +22154,7 @@ $root.org = (function() {
if (message.entries && message.entries.length) {
object.entries = [];
for (var j = 0; j < message.entries.length; ++j)
- object.entries[j] = $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.toObject(message.entries[j], options);
+ object.entries[j] = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.toObject(message.entries[j], options);
}
return object;
};
@@ -22171,7 +22162,7 @@ $root.org = (function() {
/**
* Converts this CountEntries to JSON.
* @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries
* @instance
* @returns {Object.} JSON object
*/
@@ -22182,23 +22173,23 @@ $root.org = (function() {
return CountEntries;
})();
- GetDocumentsCountResponseV0.CountResults = (function() {
+ GetDocumentsResponseV1.CountResults = (function() {
/**
* Properties of a CountResults.
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
* @interface ICountResults
* @property {number|Long|null} [aggregateCount] CountResults aggregateCount
- * @property {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ICountEntries|null} [entries] CountResults entries
+ * @property {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ICountEntries|null} [entries] CountResults entries
*/
/**
* Constructs a new CountResults.
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
* @classdesc Represents a CountResults.
* @implements ICountResults
* @constructor
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ICountResults=} [properties] Properties to set
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ICountResults=} [properties] Properties to set
*/
function CountResults(properties) {
if (properties)
@@ -22210,15 +22201,15 @@ $root.org = (function() {
/**
* CountResults aggregateCount.
* @member {number|Long} aggregateCount
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults
* @instance
*/
CountResults.prototype.aggregateCount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
/**
* CountResults entries.
- * @member {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ICountEntries|null|undefined} entries
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults
+ * @member {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ICountEntries|null|undefined} entries
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults
* @instance
*/
CountResults.prototype.entries = null;
@@ -22229,7 +22220,7 @@ $root.org = (function() {
/**
* CountResults variant.
* @member {"aggregateCount"|"entries"|undefined} variant
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults
* @instance
*/
Object.defineProperty(CountResults.prototype, "variant", {
@@ -22240,21 +22231,21 @@ $root.org = (function() {
/**
* Creates a new CountResults instance using the specified properties.
* @function create
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ICountResults=} [properties] Properties to set
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} CountResults instance
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ICountResults=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} CountResults instance
*/
CountResults.create = function create(properties) {
return new CountResults(properties);
};
/**
- * Encodes the specified CountResults message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.verify|verify} messages.
+ * Encodes the specified CountResults message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.verify|verify} messages.
* @function encode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ICountResults} message CountResults message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ICountResults} message CountResults message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
@@ -22264,16 +22255,16 @@ $root.org = (function() {
if (message.aggregateCount != null && Object.hasOwnProperty.call(message, "aggregateCount"))
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.aggregateCount);
if (message.entries != null && Object.hasOwnProperty.call(message, "entries"))
- $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.encode(message.entries, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.encode(message.entries, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
return writer;
};
/**
- * Encodes the specified CountResults message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.verify|verify} messages.
+ * Encodes the specified CountResults message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.verify|verify} messages.
* @function encodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ICountResults} message CountResults message or plain object to encode
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ICountResults} message CountResults message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
@@ -22284,18 +22275,18 @@ $root.org = (function() {
/**
* Decodes a CountResults message from the specified reader or buffer.
* @function decode
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} CountResults
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} CountResults
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
CountResults.decode = function decode(reader, length) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults();
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults();
while (reader.pos < end) {
var tag = reader.uint32();
switch (tag >>> 3) {
@@ -22303,7 +22294,7 @@ $root.org = (function() {
message.aggregateCount = reader.uint64();
break;
case 2:
- message.entries = $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.decode(reader, reader.uint32());
+ message.entries = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.decode(reader, reader.uint32());
break;
default:
reader.skipType(tag & 7);
@@ -22316,10 +22307,10 @@ $root.org = (function() {
/**
* Decodes a CountResults message from the specified reader or buffer, length delimited.
* @function decodeDelimited
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} CountResults
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} CountResults
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
@@ -22332,7 +22323,7 @@ $root.org = (function() {
/**
* Verifies a CountResults message.
* @function verify
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults
* @static
* @param {Object.} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
@@ -22351,7 +22342,7 @@ $root.org = (function() {
return "variant: multiple values";
properties.variant = 1;
{
- var error = $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.verify(message.entries);
+ var error = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.verify(message.entries);
if (error)
return "entries." + error;
}
@@ -22362,15 +22353,15 @@ $root.org = (function() {
/**
* Creates a CountResults message from a plain object. Also converts values to their respective internal types.
* @function fromObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults
* @static
* @param {Object.} object Plain object
- * @returns {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} CountResults
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} CountResults
*/
CountResults.fromObject = function fromObject(object) {
- if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults)
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults)
return object;
- var message = new $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults();
+ var message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults();
if (object.aggregateCount != null)
if ($util.Long)
(message.aggregateCount = $util.Long.fromValue(object.aggregateCount)).unsigned = true;
@@ -22382,8 +22373,8 @@ $root.org = (function() {
message.aggregateCount = new $util.LongBits(object.aggregateCount.low >>> 0, object.aggregateCount.high >>> 0).toNumber(true);
if (object.entries != null) {
if (typeof object.entries !== "object")
- throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.entries: object expected");
- message.entries = $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.fromObject(object.entries);
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.entries: object expected");
+ message.entries = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.fromObject(object.entries);
}
return message;
};
@@ -22391,9 +22382,9 @@ $root.org = (function() {
/**
* Creates a plain object from a CountResults message. Also converts values to other types if specified.
* @function toObject
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults
* @static
- * @param {org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} message CountResults
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} message CountResults
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.} Plain object
*/
@@ -22410,7 +22401,7 @@ $root.org = (function() {
object.variant = "aggregateCount";
}
if (message.entries != null && message.hasOwnProperty("entries")) {
- object.entries = $root.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.toObject(message.entries, options);
+ object.entries = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.toObject(message.entries, options);
if (options.oneofs)
object.variant = "entries";
}
@@ -22420,7 +22411,7 @@ $root.org = (function() {
/**
* Converts this CountResults to JSON.
* @function toJSON
- * @memberof org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults
* @instance
* @returns {Object.} JSON object
*/
@@ -22431,10 +22422,255 @@ $root.org = (function() {
return CountResults;
})();
- return GetDocumentsCountResponseV0;
+ GetDocumentsResponseV1.ResultData = (function() {
+
+ /**
+ * Properties of a ResultData.
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
+ * @interface IResultData
+ * @property {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.IDocuments|null} [documents] ResultData documents
+ * @property {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ICountResults|null} [counts] ResultData counts
+ */
+
+ /**
+ * Constructs a new ResultData.
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1
+ * @classdesc Represents a ResultData.
+ * @implements IResultData
+ * @constructor
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.IResultData=} [properties] Properties to set
+ */
+ function ResultData(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * ResultData documents.
+ * @member {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.IDocuments|null|undefined} documents
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData
+ * @instance
+ */
+ ResultData.prototype.documents = null;
+
+ /**
+ * ResultData counts.
+ * @member {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ICountResults|null|undefined} counts
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData
+ * @instance
+ */
+ ResultData.prototype.counts = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * ResultData variant.
+ * @member {"documents"|"counts"|undefined} variant
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData
+ * @instance
+ */
+ Object.defineProperty(ResultData.prototype, "variant", {
+ get: $util.oneOfGetter($oneOfFields = ["documents", "counts"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new ResultData instance using the specified properties.
+ * @function create
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.IResultData=} [properties] Properties to set
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} ResultData instance
+ */
+ ResultData.create = function create(properties) {
+ return new ResultData(properties);
+ };
+
+ /**
+ * Encodes the specified ResultData message. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.verify|verify} messages.
+ * @function encode
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.IResultData} message ResultData message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ResultData.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.documents != null && Object.hasOwnProperty.call(message, "documents"))
+ $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.encode(message.documents, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.counts != null && Object.hasOwnProperty.call(message, "counts"))
+ $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.encode(message.counts, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ResultData message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.IResultData} message ResultData message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ResultData.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ResultData message from the specified reader or buffer.
+ * @function decode
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} ResultData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ResultData.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ message.documents = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.decode(reader, reader.uint32());
+ break;
+ case 2:
+ message.counts = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.decode(reader, reader.uint32());
+ break;
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ResultData message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} ResultData
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ResultData.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ResultData message.
+ * @function verify
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ResultData.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.documents != null && message.hasOwnProperty("documents")) {
+ properties.variant = 1;
+ {
+ var error = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.verify(message.documents);
+ if (error)
+ return "documents." + error;
+ }
+ }
+ if (message.counts != null && message.hasOwnProperty("counts")) {
+ if (properties.variant === 1)
+ return "variant: multiple values";
+ properties.variant = 1;
+ {
+ var error = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.verify(message.counts);
+ if (error)
+ return "counts." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ResultData message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} ResultData
+ */
+ ResultData.fromObject = function fromObject(object) {
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData)
+ return object;
+ var message = new $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData();
+ if (object.documents != null) {
+ if (typeof object.documents !== "object")
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.documents: object expected");
+ message.documents = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.fromObject(object.documents);
+ }
+ if (object.counts != null) {
+ if (typeof object.counts !== "object")
+ throw TypeError(".org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.counts: object expected");
+ message.counts = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.fromObject(object.counts);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ResultData message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData
+ * @static
+ * @param {org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} message ResultData
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ResultData.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (message.documents != null && message.hasOwnProperty("documents")) {
+ object.documents = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.toObject(message.documents, options);
+ if (options.oneofs)
+ object.variant = "documents";
+ }
+ if (message.counts != null && message.hasOwnProperty("counts")) {
+ object.counts = $root.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.toObject(message.counts, options);
+ if (options.oneofs)
+ object.variant = "counts";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this ResultData to JSON.
+ * @function toJSON
+ * @memberof org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ResultData.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ return ResultData;
+ })();
+
+ return GetDocumentsResponseV1;
})();
- return GetDocumentsCountResponse;
+ return GetDocumentsResponse;
})();
v0.GetIdentityByPublicKeyHashRequest = (function() {
diff --git a/packages/dapi-grpc/clients/platform/v0/nodejs/platform_protoc.js b/packages/dapi-grpc/clients/platform/v0/nodejs/platform_protoc.js
index d70c2e95669..7e9deb3b0c3 100644
--- a/packages/dapi-grpc/clients/platform/v0/nodejs/platform_protoc.js
+++ b/packages/dapi-grpc/clients/platform/v0/nodejs/platform_protoc.js
@@ -150,25 +150,26 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsResponse.Data
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsResponse.GetDataContractsResponseV0', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsResponse.GetDataContractsResponseV0.ResultCase', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsResponse.VersionCase', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.VersionCase', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.VariantCase', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ResultCase', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.VersionCase', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.StartCase', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.StartCase', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.VersionCase', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.ResultCase', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.VariantCase', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultCase', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.VariantCase', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.VersionCase', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEpochsInfoRequest', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEpochsInfoRequest.GetEpochsInfoRequestV0', null, { proto });
@@ -2193,16 +2194,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1 = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.repeatedFields_, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.oneofGroups_);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse';
+ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2214,16 +2215,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0 = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2235,16 +2236,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.repeatedFields_, null);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0 = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2256,16 +2257,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.oneofGroups_);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.repeatedFields_, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2277,16 +2278,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0 = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1 = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.oneofGroups_);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2298,16 +2299,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.oneofGroups_);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.repeatedFields_, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2319,16 +2320,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0 = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.oneofGroups_);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2340,16 +2341,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.repeatedFields_, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2361,16 +2362,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.repeatedFields_, null);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.oneofGroups_);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2382,16 +2383,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.oneofGroups_);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData';
}
/**
* Generated by JsPbCodeGenerator.
@@ -24092,14 +24093,15 @@ proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.hasV0 =
* @private {!Array>}
* @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsRequest.oneofGroups_ = [[1]];
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.oneofGroups_ = [[1,2]];
/**
* @enum {number}
*/
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.VersionCase = {
VERSION_NOT_SET: 0,
- V0: 1
+ V0: 1,
+ V1: 2
};
/**
@@ -24140,7 +24142,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.toObject = functio
*/
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
- v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.toObject(includeInstance, f)
+ v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.toObject(includeInstance, f),
+ v1: (f = msg.getV1()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.toObject(includeInstance, f)
};
if (includeInstance) {
@@ -24182,6 +24185,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.deserializeBinaryFromReader
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.deserializeBinaryFromReader);
msg.setV0(value);
break;
+ case 2:
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.deserializeBinaryFromReader);
+ msg.setV1(value);
+ break;
default:
reader.skipField();
break;
@@ -24219,6 +24227,14 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.serializeBinaryToWriter = fu
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.serializeBinaryToWriter
);
}
+ f = message.getV1();
+ if (f != null) {
+ writer.writeMessage(
+ 2,
+ f,
+ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.serializeBinaryToWriter
+ );
+ }
};
@@ -24744,43 +24760,13 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.protot
};
-/**
- * optional GetDocumentsRequestV0 v0 = 1;
- * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getV0 = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0, 1));
-};
-
-
-/**
- * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
-*/
-proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.setV0 = function(value) {
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.oneofGroups_[0], value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.clearV0 = function() {
- return this.setV0(undefined);
-};
-
/**
- * Returns whether this field is set.
- * @return {boolean}
+ * List of repeated fields within this message type.
+ * @private {!Array}
+ * @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.hasV0 = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.repeatedFields_ = [10];
/**
* Oneof group definitions for this message. Each group defines the field
@@ -24790,21 +24776,22 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.hasV0 = function()
* @private {!Array>}
* @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_ = [[1]];
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.oneofGroups_ = [[6,7]];
/**
* @enum {number}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.VersionCase = {
- VERSION_NOT_SET: 0,
- V0: 1
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.StartCase = {
+ START_NOT_SET: 0,
+ START_AFTER: 6,
+ START_AT: 7
};
/**
- * @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.VersionCase}
+ * @return {proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.StartCase}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getVersionCase = function() {
- return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_[0]));
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getStartCase = function() {
+ return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.StartCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.oneofGroups_[0]));
};
@@ -24822,8 +24809,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.toObject(opt_includeInstance, this);
};
@@ -24832,13 +24819,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.toObject = functi
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.toObject = function(includeInstance, msg) {
var f, obj = {
- v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.toObject(includeInstance, f)
+ dataContractId: msg.getDataContractId_asB64(),
+ documentType: jspb.Message.getFieldWithDefault(msg, 2, ""),
+ where: msg.getWhere_asB64(),
+ orderBy: msg.getOrderBy_asB64(),
+ limit: jspb.Message.getFieldWithDefault(msg, 5, 0),
+ startAfter: msg.getStartAfter_asB64(),
+ startAt: msg.getStartAt_asB64(),
+ prove: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
+ select: jspb.Message.getFieldWithDefault(msg, 9, 0),
+ groupByList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
+ having: msg.getHaving_asB64()
};
if (includeInstance) {
@@ -24852,23 +24849,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.toObject = function(include
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse;
- return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -24876,9 +24873,48 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader
var field = reader.getFieldNumber();
switch (field) {
case 1:
- var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.deserializeBinaryFromReader);
- msg.setV0(value);
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.setDataContractId(value);
+ break;
+ case 2:
+ var value = /** @type {string} */ (reader.readString());
+ msg.setDocumentType(value);
+ break;
+ case 3:
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.setWhere(value);
+ break;
+ case 4:
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.setOrderBy(value);
+ break;
+ case 5:
+ var value = /** @type {number} */ (reader.readUint32());
+ msg.setLimit(value);
+ break;
+ case 6:
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.setStartAfter(value);
+ break;
+ case 7:
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.setStartAt(value);
+ break;
+ case 8:
+ var value = /** @type {boolean} */ (reader.readBool());
+ msg.setProve(value);
+ break;
+ case 9:
+ var value = /** @type {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select} */ (reader.readEnum());
+ msg.setSelect(value);
+ break;
+ case 10:
+ var value = /** @type {string} */ (reader.readString());
+ msg.addGroupBy(value);
+ break;
+ case 11:
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.setHaving(value);
break;
default:
reader.skipField();
@@ -24893,9 +24929,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsResponse.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -24903,396 +24939,540 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.serializeBinary =
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
- f = message.getV0();
- if (f != null) {
- writer.writeMessage(
+ f = message.getDataContractId_asU8();
+ if (f.length > 0) {
+ writer.writeBytes(
1,
- f,
- proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.serializeBinaryToWriter
+ f
+ );
+ }
+ f = message.getDocumentType();
+ if (f.length > 0) {
+ writer.writeString(
+ 2,
+ f
+ );
+ }
+ f = message.getWhere_asU8();
+ if (f.length > 0) {
+ writer.writeBytes(
+ 3,
+ f
+ );
+ }
+ f = message.getOrderBy_asU8();
+ if (f.length > 0) {
+ writer.writeBytes(
+ 4,
+ f
+ );
+ }
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
+ if (f != null) {
+ writer.writeUint32(
+ 5,
+ f
+ );
+ }
+ f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 6));
+ if (f != null) {
+ writer.writeBytes(
+ 6,
+ f
+ );
+ }
+ f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 7));
+ if (f != null) {
+ writer.writeBytes(
+ 7,
+ f
+ );
+ }
+ f = message.getProve();
+ if (f) {
+ writer.writeBool(
+ 8,
+ f
+ );
+ }
+ f = message.getSelect();
+ if (f !== 0.0) {
+ writer.writeEnum(
+ 9,
+ f
+ );
+ }
+ f = message.getGroupByList();
+ if (f.length > 0) {
+ writer.writeRepeatedString(
+ 10,
+ f
+ );
+ }
+ f = message.getHaving_asU8();
+ if (f.length > 0) {
+ writer.writeBytes(
+ 11,
+ f
);
}
};
-
/**
- * Oneof group definitions for this message. Each group defines the field
- * numbers belonging to that group. When of these fields' value is set, all
- * other fields in the group are cleared. During deserialization, if multiple
- * fields are encountered for a group, only the last value seen will be kept.
- * @private {!Array>}
- * @const
+ * @enum {number}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_ = [[1,2]];
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select = {
+ DOCUMENTS: 0,
+ COUNT: 1
+};
/**
- * @enum {number}
+ * optional bytes data_contract_id = 1;
+ * @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.ResultCase = {
- RESULT_NOT_SET: 0,
- DOCUMENTS: 1,
- PROOF: 2
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getDataContractId = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
+
/**
- * @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.ResultCase}
+ * optional bytes data_contract_id = 1;
+ * This is a type-conversion wrapper around `getDataContractId()`
+ * @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.getResultCase = function() {
- return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_[0]));
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getDataContractId_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getDataContractId()));
};
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
+ * optional bytes data_contract_id = 1;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getDataContractId()`
+ * @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getDataContractId_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getDataContractId()));
};
/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.toObject = function(includeInstance, msg) {
- var f, obj = {
- documents: (f = msg.getDocuments()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.toObject(includeInstance, f),
- proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
- metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
- };
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setDataContractId = function(value) {
+ return jspb.Message.setProto3BytesField(this, 1, value);
+};
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
+
+/**
+ * optional string document_type = 2;
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getDocumentType = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
-}
/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0}
+ * @param {string} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0;
- return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.deserializeBinaryFromReader(msg, reader);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setDocumentType = function(value) {
+ return jspb.Message.setProto3StringField(this, 2, value);
};
/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0}
+ * optional bytes where = 3;
+ * @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.deserializeBinaryFromReader);
- msg.setDocuments(value);
- break;
- case 2:
- var value = new proto.org.dash.platform.dapi.v0.Proof;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
- msg.setProof(value);
- break;
- case 3:
- var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
- msg.setMetadata(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getWhere = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
- * Serializes the message to binary data (in protobuf wire format).
+ * optional bytes where = 3;
+ * This is a type-conversion wrapper around `getWhere()`
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getWhere_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getWhere()));
+};
+
+
+/**
+ * optional bytes where = 3;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getWhere()`
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getWhere_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getWhere()));
};
/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getDocuments();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.serializeBinaryToWriter
- );
- }
- f = message.getProof();
- if (f != null) {
- writer.writeMessage(
- 2,
- f,
- proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
- );
- }
- f = message.getMetadata();
- if (f != null) {
- writer.writeMessage(
- 3,
- f,
- proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
- );
- }
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setWhere = function(value) {
+ return jspb.Message.setProto3BytesField(this, 3, value);
};
+/**
+ * optional bytes order_by = 4;
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getOrderBy = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
+};
+
/**
- * List of repeated fields within this message type.
- * @private {!Array}
- * @const
+ * optional bytes order_by = 4;
+ * This is a type-conversion wrapper around `getOrderBy()`
+ * @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.repeatedFields_ = [1];
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getOrderBy_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getOrderBy()));
+};
+/**
+ * optional bytes order_by = 4;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getOrderBy()`
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getOrderBy_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getOrderBy()));
+};
+
-if (jspb.Message.GENERATE_TO_OBJECT) {
/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setOrderBy = function(value) {
+ return jspb.Message.setProto3BytesField(this, 4, value);
};
/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
+ * optional uint32 limit = 5;
+ * @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.toObject = function(includeInstance, msg) {
- var f, obj = {
- documentsList: msg.getDocumentsList_asB64()
- };
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getLimit = function() {
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
+};
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
+
+/**
+ * @param {number} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setLimit = function(value) {
+ return jspb.Message.setField(this, 5, value);
+};
+
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.clearLimit = function() {
+ return jspb.Message.setField(this, 5, undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.hasLimit = function() {
+ return jspb.Message.getField(this, 5) != null;
+};
+
+
+/**
+ * optional bytes start_after = 6;
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getStartAfter = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
+};
+
+
+/**
+ * optional bytes start_after = 6;
+ * This is a type-conversion wrapper around `getStartAfter()`
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getStartAfter_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getStartAfter()));
+};
+
+
+/**
+ * optional bytes start_after = 6;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getStartAfter()`
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getStartAfter_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getStartAfter()));
+};
+
+
+/**
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setStartAfter = function(value) {
+ return jspb.Message.setOneofField(this, 6, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.oneofGroups_[0], value);
+};
+
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.clearStartAfter = function() {
+ return jspb.Message.setOneofField(this, 6, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.oneofGroups_[0], undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.hasStartAfter = function() {
+ return jspb.Message.getField(this, 6) != null;
+};
+
+
+/**
+ * optional bytes start_at = 7;
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getStartAt = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
+};
+
+
+/**
+ * optional bytes start_at = 7;
+ * This is a type-conversion wrapper around `getStartAt()`
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getStartAt_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getStartAt()));
+};
+
+
+/**
+ * optional bytes start_at = 7;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getStartAt()`
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getStartAt_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getStartAt()));
+};
+
+
+/**
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setStartAt = function(value) {
+ return jspb.Message.setOneofField(this, 7, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.oneofGroups_[0], value);
+};
+
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.clearStartAt = function() {
+ return jspb.Message.setOneofField(this, 7, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.oneofGroups_[0], undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.hasStartAt = function() {
+ return jspb.Message.getField(this, 7) != null;
+};
+
+
+/**
+ * optional bool prove = 8;
+ * @return {boolean}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getProve = function() {
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
+};
+
+
+/**
+ * @param {boolean} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setProve = function(value) {
+ return jspb.Message.setProto3BooleanField(this, 8, value);
};
-}
/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents}
+ * optional Select select = 9;
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents;
- return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.deserializeBinaryFromReader(msg, reader);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getSelect = function() {
+ return /** @type {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
};
/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents}
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
- msg.addDocuments(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setSelect = function(value) {
+ return jspb.Message.setProto3EnumField(this, 9, value);
};
/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
+ * repeated string group_by = 10;
+ * @return {!Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getGroupByList = function() {
+ return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10));
};
/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
+ * @param {!Array} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getDocumentsList_asU8();
- if (f.length > 0) {
- writer.writeRepeatedBytes(
- 1,
- f
- );
- }
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setGroupByList = function(value) {
+ return jspb.Message.setField(this, 10, value || []);
};
/**
- * repeated bytes documents = 1;
- * @return {!Array}
+ * @param {string} value
+ * @param {number=} opt_index
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.getDocumentsList = function() {
- return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1));
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.addGroupBy = function(value, opt_index) {
+ return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
};
/**
- * repeated bytes documents = 1;
- * This is a type-conversion wrapper around `getDocumentsList()`
- * @return {!Array}
+ * Clears the list making it empty but non-null.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.getDocumentsList_asB64 = function() {
- return /** @type {!Array} */ (jspb.Message.bytesListAsB64(
- this.getDocumentsList()));
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.clearGroupByList = function() {
+ return this.setGroupByList([]);
};
/**
- * repeated bytes documents = 1;
- * Note that Uint8Array is not supported on all browsers.
- * @see http://caniuse.com/Uint8Array
- * This is a type-conversion wrapper around `getDocumentsList()`
- * @return {!Array}
+ * optional bytes having = 11;
+ * @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.getDocumentsList_asU8 = function() {
- return /** @type {!Array} */ (jspb.Message.bytesListAsU8(
- this.getDocumentsList()));
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getHaving = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
};
/**
- * @param {!(Array|Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} returns this
+ * optional bytes having = 11;
+ * This is a type-conversion wrapper around `getHaving()`
+ * @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.setDocumentsList = function(value) {
- return jspb.Message.setField(this, 1, value || []);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getHaving_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getHaving()));
};
/**
- * @param {!(string|Uint8Array)} value
- * @param {number=} opt_index
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} returns this
+ * optional bytes having = 11;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getHaving()`
+ * @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.addDocuments = function(value, opt_index) {
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getHaving_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getHaving()));
};
/**
- * Clears the list making it empty but non-null.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} returns this
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.clearDocumentsList = function() {
- return this.setDocumentsList([]);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setHaving = function(value) {
+ return jspb.Message.setProto3BytesField(this, 11, value);
};
/**
- * optional Documents documents = 1;
- * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents}
+ * optional GetDocumentsRequestV0 v0 = 1;
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.getDocuments = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents, 1));
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getV0 = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0, 1));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.setDocuments = function(value) {
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_[0], value);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.setV0 = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.clearDocuments = function() {
- return this.setDocuments(undefined);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.clearV0 = function() {
+ return this.setV0(undefined);
};
@@ -25300,36 +25480,36 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prot
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.hasDocuments = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.hasV0 = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
- * optional Proof proof = 2;
- * @return {?proto.org.dash.platform.dapi.v0.Proof}
+ * optional GetDocumentsRequestV1 v1 = 2;
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.getProof = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getV1 = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1, 2));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.setProof = function(value) {
- return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_[0], value);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.setV1 = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.clearProof = function() {
- return this.setProof(undefined);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.clearV1 = function() {
+ return this.setV1(undefined);
};
@@ -25337,82 +25517,162 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prot
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.hasProof = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.hasV1 = function() {
return jspb.Message.getField(this, 2) != null;
};
+
/**
- * optional ResponseMetadata metadata = 3;
- * @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
+ * Oneof group definitions for this message. Each group defines the field
+ * numbers belonging to that group. When of these fields' value is set, all
+ * other fields in the group are cleared. During deserialization, if multiple
+ * fields are encountered for a group, only the last value seen will be kept.
+ * @private {!Array>}
+ * @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.getMetadata = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
-};
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_ = [[1,2]];
+/**
+ * @enum {number}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.VersionCase = {
+ VERSION_NOT_SET: 0,
+ V0: 1,
+ V1: 2
+};
/**
- * @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
-*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.setMetadata = function(value) {
- return jspb.Message.setWrapperField(this, 3, value);
+ * @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.VersionCase}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getVersionCase = function() {
+ return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_[0]));
};
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
/**
- * Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ * JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.clearMetadata = function() {
- return this.setMetadata(undefined);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.toObject(opt_includeInstance, this);
};
/**
- * Returns whether this field is set.
- * @return {boolean}
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ * the JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.hasMetadata = function() {
- return jspb.Message.getField(this, 3) != null;
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.toObject = function(includeInstance, msg) {
+ var f, obj = {
+ v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.toObject(includeInstance, f),
+ v1: (f = msg.getV1()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.toObject(includeInstance, f)
+ };
+
+ if (includeInstance) {
+ obj.$jspbMessageInstance = msg;
+ }
+ return obj;
};
+}
/**
- * optional GetDocumentsResponseV0 v0 = 1;
- * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0}
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getV0 = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0, 1));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinary = function(bytes) {
+ var reader = new jspb.BinaryReader(bytes);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
-*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.setV0 = function(value) {
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_[0], value);
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader = function(msg, reader) {
+ while (reader.nextField()) {
+ if (reader.isEndGroup()) {
+ break;
+ }
+ var field = reader.getFieldNumber();
+ switch (field) {
+ case 1:
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.deserializeBinaryFromReader);
+ msg.setV0(value);
+ break;
+ case 2:
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.deserializeBinaryFromReader);
+ msg.setV1(value);
+ break;
+ default:
+ reader.skipField();
+ break;
+ }
+ }
+ return msg;
};
/**
- * Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.clearV0 = function() {
- return this.setV0(undefined);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
};
/**
- * Returns whether this field is set.
- * @return {boolean}
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.hasV0 = function() {
- return jspb.Message.getField(this, 1) != null;
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
+ f = message.getV0();
+ if (f != null) {
+ writer.writeMessage(
+ 1,
+ f,
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.serializeBinaryToWriter
+ );
+ }
+ f = message.getV1();
+ if (f != null) {
+ writer.writeMessage(
+ 2,
+ f,
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.serializeBinaryToWriter
+ );
+ }
};
@@ -25425,21 +25685,22 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.hasV0 = function(
* @private {!Array>}
* @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.oneofGroups_ = [[1]];
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_ = [[1,2]];
/**
* @enum {number}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.VersionCase = {
- VERSION_NOT_SET: 0,
- V0: 1
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.ResultCase = {
+ RESULT_NOT_SET: 0,
+ DOCUMENTS: 1,
+ PROOF: 2
};
/**
- * @return {proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.VersionCase}
+ * @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.ResultCase}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.getVersionCase = function() {
- return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.oneofGroups_[0]));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.getResultCase = function() {
+ return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_[0]));
};
@@ -25457,8 +25718,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.toObject(opt_includeInstance, this);
};
@@ -25467,13 +25728,15 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.toObject = fu
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.toObject = function(includeInstance, msg) {
var f, obj = {
- v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.toObject(includeInstance, f)
+ documents: (f = msg.getDocuments()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.toObject(includeInstance, f),
+ proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
+ metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
};
if (includeInstance) {
@@ -25487,23 +25750,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.toObject = function(inc
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest;
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -25511,9 +25774,19 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.deserializeBinaryFromRe
var field = reader.getFieldNumber();
switch (field) {
case 1:
- var value = new proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.deserializeBinaryFromReader);
- msg.setV0(value);
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.deserializeBinaryFromReader);
+ msg.setDocuments(value);
+ break;
+ case 2:
+ var value = new proto.org.dash.platform.dapi.v0.Proof;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
+ msg.setProof(value);
+ break;
+ case 3:
+ var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
+ msg.setMetadata(value);
break;
default:
reader.skipField();
@@ -25528,9 +25801,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.deserializeBinaryFromRe
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -25538,24 +25811,47 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.serializeBina
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
- f = message.getV0();
+ f = message.getDocuments();
if (f != null) {
writer.writeMessage(
1,
f,
- proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.serializeBinaryToWriter
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.serializeBinaryToWriter
+ );
+ }
+ f = message.getProof();
+ if (f != null) {
+ writer.writeMessage(
+ 2,
+ f,
+ proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
+ );
+ }
+ f = message.getMetadata();
+ if (f != null) {
+ writer.writeMessage(
+ 3,
+ f,
+ proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
);
}
};
+/**
+ * List of repeated fields within this message type.
+ * @private {!Array}
+ * @const
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.repeatedFields_ = [1];
+
if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -25571,8 +25867,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.toObject(opt_includeInstance, this);
};
@@ -25581,19 +25877,13 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountReques
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.toObject = function(includeInstance, msg) {
var f, obj = {
- dataContractId: msg.getDataContractId_asB64(),
- documentType: jspb.Message.getFieldWithDefault(msg, 2, ""),
- where: msg.getWhere_asB64(),
- returnDistinctCountsInRange: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
- orderBy: msg.getOrderBy_asB64(),
- limit: jspb.Message.getFieldWithDefault(msg, 6, 0),
- prove: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
+ documentsList: msg.getDocumentsList_asB64()
};
if (includeInstance) {
@@ -25607,23 +25897,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountReques
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0;
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -25632,31 +25922,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountReques
switch (field) {
case 1:
var value = /** @type {!Uint8Array} */ (reader.readBytes());
- msg.setDataContractId(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setDocumentType(value);
- break;
- case 3:
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
- msg.setWhere(value);
- break;
- case 4:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setReturnDistinctCountsInRange(value);
- break;
- case 5:
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
- msg.setOrderBy(value);
- break;
- case 6:
- var value = /** @type {number} */ (reader.readUint32());
- msg.setLimit(value);
- break;
- case 7:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setProve(value);
+ msg.addDocuments(value);
break;
default:
reader.skipField();
@@ -25671,9 +25937,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountReques
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -25681,305 +25947,182 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountReques
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
- f = message.getDataContractId_asU8();
- if (f.length > 0) {
- writer.writeBytes(
- 1,
- f
- );
- }
- f = message.getDocumentType();
- if (f.length > 0) {
- writer.writeString(
- 2,
- f
- );
- }
- f = message.getWhere_asU8();
- if (f.length > 0) {
- writer.writeBytes(
- 3,
- f
- );
- }
- f = message.getReturnDistinctCountsInRange();
- if (f) {
- writer.writeBool(
- 4,
- f
- );
- }
- f = message.getOrderBy_asU8();
- if (f.length > 0) {
- writer.writeBytes(
- 5,
- f
- );
- }
- f = /** @type {number} */ (jspb.Message.getField(message, 6));
- if (f != null) {
- writer.writeUint32(
- 6,
- f
- );
- }
- f = message.getProve();
- if (f) {
- writer.writeBool(
- 7,
- f
- );
- }
-};
-
-
-/**
- * optional bytes data_contract_id = 1;
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getDataContractId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * optional bytes data_contract_id = 1;
- * This is a type-conversion wrapper around `getDataContractId()`
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getDataContractId_asB64 = function() {
- return /** @type {string} */ (jspb.Message.bytesAsB64(
- this.getDataContractId()));
-};
-
-
-/**
- * optional bytes data_contract_id = 1;
- * Note that Uint8Array is not supported on all browsers.
- * @see http://caniuse.com/Uint8Array
- * This is a type-conversion wrapper around `getDataContractId()`
- * @return {!Uint8Array}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getDataContractId_asU8 = function() {
- return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
- this.getDataContractId()));
-};
-
-
-/**
- * @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} returns this
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.setDataContractId = function(value) {
- return jspb.Message.setProto3BytesField(this, 1, value);
-};
-
-
-/**
- * optional string document_type = 2;
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getDocumentType = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} returns this
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.setDocumentType = function(value) {
- return jspb.Message.setProto3StringField(this, 2, value);
-};
-
-
-/**
- * optional bytes where = 3;
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getWhere = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
-};
-
-
-/**
- * optional bytes where = 3;
- * This is a type-conversion wrapper around `getWhere()`
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getWhere_asB64 = function() {
- return /** @type {string} */ (jspb.Message.bytesAsB64(
- this.getWhere()));
+ f = message.getDocumentsList_asU8();
+ if (f.length > 0) {
+ writer.writeRepeatedBytes(
+ 1,
+ f
+ );
+ }
};
/**
- * optional bytes where = 3;
- * Note that Uint8Array is not supported on all browsers.
- * @see http://caniuse.com/Uint8Array
- * This is a type-conversion wrapper around `getWhere()`
- * @return {!Uint8Array}
+ * repeated bytes documents = 1;
+ * @return {!Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getWhere_asU8 = function() {
- return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
- this.getWhere()));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.getDocumentsList = function() {
+ return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
- * @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} returns this
+ * repeated bytes documents = 1;
+ * This is a type-conversion wrapper around `getDocumentsList()`
+ * @return {!Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.setWhere = function(value) {
- return jspb.Message.setProto3BytesField(this, 3, value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.getDocumentsList_asB64 = function() {
+ return /** @type {!Array} */ (jspb.Message.bytesListAsB64(
+ this.getDocumentsList()));
};
/**
- * optional bool return_distinct_counts_in_range = 4;
- * @return {boolean}
+ * repeated bytes documents = 1;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getDocumentsList()`
+ * @return {!Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getReturnDistinctCountsInRange = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.getDocumentsList_asU8 = function() {
+ return /** @type {!Array} */ (jspb.Message.bytesListAsU8(
+ this.getDocumentsList()));
};
/**
- * @param {boolean} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} returns this
+ * @param {!(Array|Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.setReturnDistinctCountsInRange = function(value) {
- return jspb.Message.setProto3BooleanField(this, 4, value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.setDocumentsList = function(value) {
+ return jspb.Message.setField(this, 1, value || []);
};
/**
- * optional bytes order_by = 5;
- * @return {string}
+ * @param {!(string|Uint8Array)} value
+ * @param {number=} opt_index
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getOrderBy = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.addDocuments = function(value, opt_index) {
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
- * optional bytes order_by = 5;
- * This is a type-conversion wrapper around `getOrderBy()`
- * @return {string}
+ * Clears the list making it empty but non-null.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getOrderBy_asB64 = function() {
- return /** @type {string} */ (jspb.Message.bytesAsB64(
- this.getOrderBy()));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.clearDocumentsList = function() {
+ return this.setDocumentsList([]);
};
/**
- * optional bytes order_by = 5;
- * Note that Uint8Array is not supported on all browsers.
- * @see http://caniuse.com/Uint8Array
- * This is a type-conversion wrapper around `getOrderBy()`
- * @return {!Uint8Array}
+ * optional Documents documents = 1;
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getOrderBy_asU8 = function() {
- return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
- this.getOrderBy()));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.getDocuments = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents, 1));
};
/**
- * @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} returns this
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.setOrderBy = function(value) {
- return jspb.Message.setProto3BytesField(this, 5, value);
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
+*/
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.setDocuments = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_[0], value);
};
/**
- * optional uint32 limit = 6;
- * @return {number}
+ * Clears the message field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getLimit = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.clearDocuments = function() {
+ return this.setDocuments(undefined);
};
/**
- * @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} returns this
+ * Returns whether this field is set.
+ * @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.setLimit = function(value) {
- return jspb.Message.setField(this, 6, value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.hasDocuments = function() {
+ return jspb.Message.getField(this, 1) != null;
};
/**
- * Clears the field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} returns this
+ * optional Proof proof = 2;
+ * @return {?proto.org.dash.platform.dapi.v0.Proof}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.clearLimit = function() {
- return jspb.Message.setField(this, 6, undefined);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.getProof = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
};
/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.hasLimit = function() {
- return jspb.Message.getField(this, 6) != null;
+ * @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
+*/
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.setProof = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_[0], value);
};
/**
- * optional bool prove = 7;
- * @return {boolean}
+ * Clears the message field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getProve = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.clearProof = function() {
+ return this.setProof(undefined);
};
/**
- * @param {boolean} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} returns this
+ * Returns whether this field is set.
+ * @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.setProve = function(value) {
- return jspb.Message.setProto3BooleanField(this, 7, value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.hasProof = function() {
+ return jspb.Message.getField(this, 2) != null;
};
/**
- * optional GetDocumentsCountRequestV0 v0 = 1;
- * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0}
+ * optional ResponseMetadata metadata = 3;
+ * @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.getV0 = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0, 1));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.getMetadata = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.setV0 = function(value) {
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.oneofGroups_[0], value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.setMetadata = function(value) {
+ return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.clearV0 = function() {
- return this.setV0(undefined);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.clearMetadata = function() {
+ return this.setMetadata(undefined);
};
@@ -25987,8 +26130,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.clearV0 = fun
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.hasV0 = function() {
- return jspb.Message.getField(this, 1) != null;
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.hasMetadata = function() {
+ return jspb.Message.getField(this, 3) != null;
};
@@ -26001,21 +26144,22 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.hasV0 = funct
* @private {!Array>}
* @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.oneofGroups_ = [[1]];
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.oneofGroups_ = [[1,2]];
/**
* @enum {number}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.VersionCase = {
- VERSION_NOT_SET: 0,
- V0: 1
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultCase = {
+ RESULT_NOT_SET: 0,
+ DATA: 1,
+ PROOF: 2
};
/**
- * @return {proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.VersionCase}
+ * @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultCase}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.getVersionCase = function() {
- return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.oneofGroups_[0]));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.getResultCase = function() {
+ return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.oneofGroups_[0]));
};
@@ -26033,8 +26177,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.toObject(opt_includeInstance, this);
};
@@ -26043,13 +26187,15 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.toObject = f
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.toObject = function(includeInstance, msg) {
var f, obj = {
- v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.toObject(includeInstance, f)
+ data: (f = msg.getData()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.toObject(includeInstance, f),
+ proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
+ metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
};
if (includeInstance) {
@@ -26063,23 +26209,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.toObject = function(in
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse;
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -26087,9 +26233,19 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.deserializeBinaryFromR
var field = reader.getFieldNumber();
switch (field) {
case 1:
- var value = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.deserializeBinaryFromReader);
- msg.setV0(value);
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.deserializeBinaryFromReader);
+ msg.setData(value);
+ break;
+ case 2:
+ var value = new proto.org.dash.platform.dapi.v0.Proof;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
+ msg.setProof(value);
+ break;
+ case 3:
+ var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
+ msg.setMetadata(value);
break;
default:
reader.skipField();
@@ -26104,9 +26260,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.deserializeBinaryFromR
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -26114,18 +26270,34 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.serializeBin
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
- f = message.getV0();
+ f = message.getData();
if (f != null) {
writer.writeMessage(
1,
f,
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.serializeBinaryToWriter
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.serializeBinaryToWriter
+ );
+ }
+ f = message.getProof();
+ if (f != null) {
+ writer.writeMessage(
+ 2,
+ f,
+ proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
+ );
+ }
+ f = message.getMetadata();
+ if (f != null) {
+ writer.writeMessage(
+ 3,
+ f,
+ proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
);
}
};
@@ -26133,30 +26305,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.serializeBinaryToWrite
/**
- * Oneof group definitions for this message. Each group defines the field
- * numbers belonging to that group. When of these fields' value is set, all
- * other fields in the group are cleared. During deserialization, if multiple
- * fields are encountered for a group, only the last value seen will be kept.
- * @private {!Array>}
+ * List of repeated fields within this message type.
+ * @private {!Array}
* @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.oneofGroups_ = [[1,2]];
-
-/**
- * @enum {number}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ResultCase = {
- RESULT_NOT_SET: 0,
- COUNTS: 1,
- PROOF: 2
-};
-
-/**
- * @return {proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ResultCase}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.getResultCase = function() {
- return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.oneofGroups_[0]));
-};
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.repeatedFields_ = [1];
@@ -26173,8 +26326,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.toObject(opt_includeInstance, this);
};
@@ -26183,15 +26336,13 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.toObject = function(includeInstance, msg) {
var f, obj = {
- counts: (f = msg.getCounts()) && proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.toObject(includeInstance, f),
- proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
- metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
+ documentsList: msg.getDocumentsList_asB64()
};
if (includeInstance) {
@@ -26205,23 +26356,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0;
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -26229,19 +26380,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
var field = reader.getFieldNumber();
switch (field) {
case 1:
- var value = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.deserializeBinaryFromReader);
- msg.setCounts(value);
- break;
- case 2:
- var value = new proto.org.dash.platform.dapi.v0.Proof;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
- msg.setProof(value);
- break;
- case 3:
- var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
- msg.setMetadata(value);
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.addDocuments(value);
break;
default:
reader.skipField();
@@ -26253,49 +26393,93 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
+ f = message.getDocumentsList_asU8();
+ if (f.length > 0) {
+ writer.writeRepeatedBytes(
+ 1,
+ f
+ );
+ }
+};
+
+
+/**
+ * repeated bytes documents = 1;
+ * @return {!Array}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.prototype.getDocumentsList = function() {
+ return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1));
+};
+
+
+/**
+ * repeated bytes documents = 1;
+ * This is a type-conversion wrapper around `getDocumentsList()`
+ * @return {!Array}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.prototype.getDocumentsList_asB64 = function() {
+ return /** @type {!Array} */ (jspb.Message.bytesListAsB64(
+ this.getDocumentsList()));
+};
+
+
+/**
+ * repeated bytes documents = 1;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getDocumentsList()`
+ * @return {!Array}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.prototype.getDocumentsList_asU8 = function() {
+ return /** @type {!Array} */ (jspb.Message.bytesListAsU8(
+ this.getDocumentsList()));
+};
+
+
+/**
+ * @param {!(Array|Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.prototype.setDocumentsList = function(value) {
+ return jspb.Message.setField(this, 1, value || []);
+};
+
+
+/**
+ * @param {!(string|Uint8Array)} value
+ * @param {number=} opt_index
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.prototype.addDocuments = function(value, opt_index) {
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
+ * Clears the list making it empty but non-null.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getCounts();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.serializeBinaryToWriter
- );
- }
- f = message.getProof();
- if (f != null) {
- writer.writeMessage(
- 2,
- f,
- proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
- );
- }
- f = message.getMetadata();
- if (f != null) {
- writer.writeMessage(
- 3,
- f,
- proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
- );
- }
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.prototype.clearDocumentsList = function() {
+ return this.setDocumentsList([]);
};
@@ -26315,8 +26499,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.toObject(opt_includeInstance, this);
};
@@ -26325,11 +26509,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.toObject = function(includeInstance, msg) {
var f, obj = {
inKey: msg.getInKey_asB64(),
key: msg.getKey_asB64(),
@@ -26347,23 +26531,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry;
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -26395,9 +26579,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -26405,11 +26589,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 1));
if (f != null) {
@@ -26439,7 +26623,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* optional bytes in_key = 1;
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.getInKey = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.getInKey = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
@@ -26449,7 +26633,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* This is a type-conversion wrapper around `getInKey()`
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.getInKey_asB64 = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.getInKey_asB64 = function() {
return /** @type {string} */ (jspb.Message.bytesAsB64(
this.getInKey()));
};
@@ -26462,7 +26646,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* This is a type-conversion wrapper around `getInKey()`
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.getInKey_asU8 = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.getInKey_asU8 = function() {
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
this.getInKey()));
};
@@ -26470,18 +26654,18 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.setInKey = function(value) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.setInKey = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.clearInKey = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.clearInKey = function() {
return jspb.Message.setField(this, 1, undefined);
};
@@ -26490,7 +26674,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.hasInKey = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.hasInKey = function() {
return jspb.Message.getField(this, 1) != null;
};
@@ -26499,7 +26683,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* optional bytes key = 2;
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.getKey = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.getKey = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
@@ -26509,7 +26693,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* This is a type-conversion wrapper around `getKey()`
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.getKey_asB64 = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.getKey_asB64 = function() {
return /** @type {string} */ (jspb.Message.bytesAsB64(
this.getKey()));
};
@@ -26522,7 +26706,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* This is a type-conversion wrapper around `getKey()`
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.getKey_asU8 = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.getKey_asU8 = function() {
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
this.getKey()));
};
@@ -26530,9 +26714,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.setKey = function(value) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.setKey = function(value) {
return jspb.Message.setProto3BytesField(this, 2, value);
};
@@ -26541,16 +26725,16 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* optional uint64 count = 3;
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.getCount = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.getCount = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "0"));
};
/**
* @param {string} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.setCount = function(value) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.setCount = function(value) {
return jspb.Message.setProto3StringIntField(this, 3, value);
};
@@ -26561,7 +26745,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* @private {!Array}
* @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.repeatedFields_ = [1];
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.repeatedFields_ = [1];
@@ -26578,8 +26762,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.toObject(opt_includeInstance, this);
};
@@ -26588,14 +26772,14 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.toObject = function(includeInstance, msg) {
var f, obj = {
entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.toObject, includeInstance)
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.toObject, includeInstance)
};
if (includeInstance) {
@@ -26609,23 +26793,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries;
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -26633,8 +26817,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
var field = reader.getFieldNumber();
switch (field) {
case 1:
- var value = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.deserializeBinaryFromReader);
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.deserializeBinaryFromReader);
msg.addEntries(value);
break;
default:
@@ -26650,9 +26834,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -26660,18 +26844,18 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getEntriesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.serializeBinaryToWriter
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.serializeBinaryToWriter
);
}
};
@@ -26679,38 +26863,38 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* repeated CountEntry entries = 1;
- * @return {!Array}
+ * @return {!Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.prototype.getEntriesList = function() {
- return /** @type{!Array} */ (
- jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry, 1));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.prototype.getEntriesList = function() {
+ return /** @type{!Array} */ (
+ jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry, 1));
};
/**
- * @param {!Array} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} returns this
+ * @param {!Array} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.prototype.setEntriesList = function(value) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.prototype.setEntriesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry=} opt_value
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry=} opt_value
* @param {number=} opt_index
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.prototype.addEntries = function(opt_value, opt_index) {
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry, opt_index);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.prototype.addEntries = function(opt_value, opt_index) {
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry, opt_index);
};
/**
* Clears the list making it empty but non-null.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.prototype.clearEntriesList = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.prototype.clearEntriesList = function() {
return this.setEntriesList([]);
};
@@ -26724,22 +26908,22 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* @private {!Array>}
* @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.oneofGroups_ = [[1,2]];
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.oneofGroups_ = [[1,2]];
/**
* @enum {number}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.VariantCase = {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.VariantCase = {
VARIANT_NOT_SET: 0,
AGGREGATE_COUNT: 1,
ENTRIES: 2
};
/**
- * @return {proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.VariantCase}
+ * @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.VariantCase}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.getVariantCase = function() {
- return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.VariantCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.oneofGroups_[0]));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.getVariantCase = function() {
+ return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.VariantCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.oneofGroups_[0]));
};
@@ -26757,8 +26941,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.toObject(opt_includeInstance, this);
};
@@ -26767,14 +26951,14 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.toObject = function(includeInstance, msg) {
var f, obj = {
aggregateCount: jspb.Message.getFieldWithDefault(msg, 1, "0"),
- entries: (f = msg.getEntries()) && proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.toObject(includeInstance, f)
+ entries: (f = msg.getEntries()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.toObject(includeInstance, f)
};
if (includeInstance) {
@@ -26788,23 +26972,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults;
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -26816,8 +27000,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
msg.setAggregateCount(value);
break;
case 2:
- var value = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.deserializeBinaryFromReader);
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.deserializeBinaryFromReader);
msg.setEntries(value);
break;
default:
@@ -26833,9 +27017,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -26843,11 +27027,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
@@ -26861,7 +27045,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
writer.writeMessage(
2,
f,
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.serializeBinaryToWriter
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.serializeBinaryToWriter
);
}
};
@@ -26871,26 +27055,26 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* optional uint64 aggregate_count = 1;
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.getAggregateCount = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.getAggregateCount = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
};
/**
* @param {string} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.setAggregateCount = function(value) {
- return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.oneofGroups_[0], value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.setAggregateCount = function(value) {
+ return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.clearAggregateCount = function() {
- return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.oneofGroups_[0], undefined);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.clearAggregateCount = function() {
+ return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.oneofGroups_[0], undefined);
};
@@ -26898,35 +27082,35 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.hasAggregateCount = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.hasAggregateCount = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional CountEntries entries = 2;
- * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries}
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.getEntries = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries, 2));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.getEntries = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries, 2));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.setEntries = function(value) {
- return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.oneofGroups_[0], value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.setEntries = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.clearEntries = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.clearEntries = function() {
return this.setEntries(undefined);
};
@@ -26935,35 +27119,226 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.hasEntries = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.hasEntries = function() {
return jspb.Message.getField(this, 2) != null;
};
+
+/**
+ * Oneof group definitions for this message. Each group defines the field
+ * numbers belonging to that group. When of these fields' value is set, all
+ * other fields in the group are cleared. During deserialization, if multiple
+ * fields are encountered for a group, only the last value seen will be kept.
+ * @private {!Array>}
+ * @const
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_ = [[1,2]];
+
+/**
+ * @enum {number}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.VariantCase = {
+ VARIANT_NOT_SET: 0,
+ DOCUMENTS: 1,
+ COUNTS: 2
+};
+
+/**
+ * @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.VariantCase}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.getVariantCase = function() {
+ return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.VariantCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_[0]));
+};
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ * JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ * the JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.toObject = function(includeInstance, msg) {
+ var f, obj = {
+ documents: (f = msg.getDocuments()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.toObject(includeInstance, f),
+ counts: (f = msg.getCounts()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.toObject(includeInstance, f)
+ };
+
+ if (includeInstance) {
+ obj.$jspbMessageInstance = msg;
+ }
+ return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.deserializeBinary = function(bytes) {
+ var reader = new jspb.BinaryReader(bytes);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.deserializeBinaryFromReader = function(msg, reader) {
+ while (reader.nextField()) {
+ if (reader.isEndGroup()) {
+ break;
+ }
+ var field = reader.getFieldNumber();
+ switch (field) {
+ case 1:
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.deserializeBinaryFromReader);
+ msg.setDocuments(value);
+ break;
+ case 2:
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.deserializeBinaryFromReader);
+ msg.setCounts(value);
+ break;
+ default:
+ reader.skipField();
+ break;
+ }
+ }
+ return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
+ f = message.getDocuments();
+ if (f != null) {
+ writer.writeMessage(
+ 1,
+ f,
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.serializeBinaryToWriter
+ );
+ }
+ f = message.getCounts();
+ if (f != null) {
+ writer.writeMessage(
+ 2,
+ f,
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.serializeBinaryToWriter
+ );
+ }
+};
+
+
+/**
+ * optional Documents documents = 1;
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.getDocuments = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents, 1));
+};
+
+
+/**
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} returns this
+*/
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.setDocuments = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_[0], value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.clearDocuments = function() {
+ return this.setDocuments(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.hasDocuments = function() {
+ return jspb.Message.getField(this, 1) != null;
+};
+
+
/**
- * optional CountResults counts = 1;
- * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults}
+ * optional CountResults counts = 2;
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.getCounts = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults, 1));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.getCounts = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults, 2));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.setCounts = function(value) {
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.oneofGroups_[0], value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.setCounts = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.clearCounts = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.clearCounts = function() {
return this.setCounts(undefined);
};
@@ -26972,7 +27347,44 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.hasCounts = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.hasCounts = function() {
+ return jspb.Message.getField(this, 2) != null;
+};
+
+
+/**
+ * optional ResultData data = 1;
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.getData = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData, 1));
+};
+
+
+/**
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} returns this
+*/
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.setData = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.oneofGroups_[0], value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.clearData = function() {
+ return this.setData(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.hasData = function() {
return jspb.Message.getField(this, 1) != null;
};
@@ -26981,7 +27393,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* optional Proof proof = 2;
* @return {?proto.org.dash.platform.dapi.v0.Proof}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.getProof = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.getProof = function() {
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
};
@@ -26989,18 +27401,18 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.setProof = function(value) {
- return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.oneofGroups_[0], value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.setProof = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.clearProof = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.clearProof = function() {
return this.setProof(undefined);
};
@@ -27009,7 +27421,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.hasProof = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.hasProof = function() {
return jspb.Message.getField(this, 2) != null;
};
@@ -27018,7 +27430,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* optional ResponseMetadata metadata = 3;
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.getMetadata = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.getMetadata = function() {
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
};
@@ -27026,18 +27438,18 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.setMetadata = function(value) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.setMetadata = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.clearMetadata = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.clearMetadata = function() {
return this.setMetadata(undefined);
};
@@ -27046,35 +27458,35 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.hasMetadata = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.hasMetadata = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
- * optional GetDocumentsCountResponseV0 v0 = 1;
- * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0}
+ * optional GetDocumentsResponseV0 v0 = 1;
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.getV0 = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0, 1));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getV0 = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0, 1));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.setV0 = function(value) {
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.oneofGroups_[0], value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.setV0 = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.clearV0 = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.clearV0 = function() {
return this.setV0(undefined);
};
@@ -27083,11 +27495,48 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.clearV0 = fu
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.hasV0 = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.hasV0 = function() {
return jspb.Message.getField(this, 1) != null;
};
+/**
+ * optional GetDocumentsResponseV1 v1 = 2;
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getV1 = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1, 2));
+};
+
+
+/**
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
+*/
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.setV1 = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_[0], value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.clearV1 = function() {
+ return this.setV1(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.hasV1 = function() {
+ return jspb.Message.getField(this, 2) != null;
+};
+
+
/**
* Oneof group definitions for this message. Each group defines the field
diff --git a/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.h b/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.h
index e31d5f0735c..2e060899e81 100644
--- a/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.h
+++ b/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.h
@@ -90,14 +90,16 @@ CF_EXTERN_C_BEGIN
@class GetDataContractsResponse_DataContractEntry;
@class GetDataContractsResponse_DataContracts;
@class GetDataContractsResponse_GetDataContractsResponseV0;
-@class GetDocumentsCountRequest_GetDocumentsCountRequestV0;
-@class GetDocumentsCountResponse_GetDocumentsCountResponseV0;
-@class GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries;
-@class GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry;
-@class GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults;
@class GetDocumentsRequest_GetDocumentsRequestV0;
+@class GetDocumentsRequest_GetDocumentsRequestV1;
@class GetDocumentsResponse_GetDocumentsResponseV0;
@class GetDocumentsResponse_GetDocumentsResponseV0_Documents;
+@class GetDocumentsResponse_GetDocumentsResponseV1;
+@class GetDocumentsResponse_GetDocumentsResponseV1_CountEntries;
+@class GetDocumentsResponse_GetDocumentsResponseV1_CountEntry;
+@class GetDocumentsResponse_GetDocumentsResponseV1_CountResults;
+@class GetDocumentsResponse_GetDocumentsResponseV1_Documents;
+@class GetDocumentsResponse_GetDocumentsResponseV1_ResultData;
@class GetEpochsInfoRequest_GetEpochsInfoRequestV0;
@class GetEpochsInfoResponse_GetEpochsInfoResponseV0;
@class GetEpochsInfoResponse_GetEpochsInfoResponseV0_EpochInfo;
@@ -342,6 +344,37 @@ GPBEnumDescriptor *SecurityLevelMap_KeyKindRequestType_EnumDescriptor(void);
**/
BOOL SecurityLevelMap_KeyKindRequestType_IsValidValue(int32_t value);
+#pragma mark - Enum GetDocumentsRequest_GetDocumentsRequestV1_Select
+
+/**
+ * Projection over the matched row set. Determines whether the
+ * response carries documents or count results.
+ **/
+typedef GPB_ENUM(GetDocumentsRequest_GetDocumentsRequestV1_Select) {
+ /**
+ * Value used if any message's field encounters a value that is not defined
+ * by this enum. The message will also have C functions to get/set the rawValue
+ * of the field.
+ **/
+ GetDocumentsRequest_GetDocumentsRequestV1_Select_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
+ /** Return matched documents. `group_by` must be empty. */
+ GetDocumentsRequest_GetDocumentsRequestV1_Select_Documents = 0,
+
+ /**
+ * Return a count — single aggregate when `group_by` is empty,
+ * per-group entries when `group_by` names a field.
+ **/
+ GetDocumentsRequest_GetDocumentsRequestV1_Select_Count = 1,
+};
+
+GPBEnumDescriptor *GetDocumentsRequest_GetDocumentsRequestV1_Select_EnumDescriptor(void);
+
+/**
+ * Checks to see if the given value is defined by the enum or was not known at
+ * the time this source was generated.
+ **/
+BOOL GetDocumentsRequest_GetDocumentsRequestV1_Select_IsValidValue(int32_t value);
+
#pragma mark - Enum GetContestedResourceVoteStateRequest_GetContestedResourceVoteStateRequestV0_ResultType
typedef GPB_ENUM(GetContestedResourceVoteStateRequest_GetContestedResourceVoteStateRequestV0_ResultType) {
@@ -2257,11 +2290,13 @@ GPB_FINAL @interface GetDataContractHistoryResponse_GetDataContractHistoryRespon
typedef GPB_ENUM(GetDocumentsRequest_FieldNumber) {
GetDocumentsRequest_FieldNumber_V0 = 1,
+ GetDocumentsRequest_FieldNumber_V1 = 2,
};
typedef GPB_ENUM(GetDocumentsRequest_Version_OneOfCase) {
GetDocumentsRequest_Version_OneOfCase_GPBUnsetOneOfCase = 0,
GetDocumentsRequest_Version_OneOfCase_V0 = 1,
+ GetDocumentsRequest_Version_OneOfCase_V1 = 2,
};
GPB_FINAL @interface GetDocumentsRequest : GPBMessage
@@ -2270,6 +2305,8 @@ GPB_FINAL @interface GetDocumentsRequest : GPBMessage
@property(nonatomic, readwrite, strong, null_resettable) GetDocumentsRequest_GetDocumentsRequestV0 *v0;
+@property(nonatomic, readwrite, strong, null_resettable) GetDocumentsRequest_GetDocumentsRequestV1 *v1;
+
@end
/**
@@ -2332,15 +2369,197 @@ GPB_FINAL @interface GetDocumentsRequest_GetDocumentsRequestV0 : GPBMessage
**/
void GetDocumentsRequest_GetDocumentsRequestV0_ClearStartOneOfCase(GetDocumentsRequest_GetDocumentsRequestV0 *message);
+#pragma mark - GetDocumentsRequest_GetDocumentsRequestV1
+
+typedef GPB_ENUM(GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber) {
+ GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_DataContractId = 1,
+ GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_DocumentType = 2,
+ GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_Where = 3,
+ GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_OrderBy = 4,
+ GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_Limit = 5,
+ GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_StartAfter = 6,
+ GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_StartAt = 7,
+ GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_Prove = 8,
+ GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_Select = 9,
+ GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_GroupByArray = 10,
+ GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_Having = 11,
+};
+
+typedef GPB_ENUM(GetDocumentsRequest_GetDocumentsRequestV1_Start_OneOfCase) {
+ GetDocumentsRequest_GetDocumentsRequestV1_Start_OneOfCase_GPBUnsetOneOfCase = 0,
+ GetDocumentsRequest_GetDocumentsRequestV1_Start_OneOfCase_StartAfter = 6,
+ GetDocumentsRequest_GetDocumentsRequestV1_Start_OneOfCase_StartAt = 7,
+};
+
+/**
+ * SQL-shaped successor to v0 that unifies `getDocuments` and
+ * `getDocumentsCount` under a single request type with a typed
+ * `select` projection and optional `group_by` / `having` clauses.
+ *
+ * Mode is determined by `select` × `group_by` × `having`:
+ *
+ * * `select = DOCUMENTS, group_by = []`: return matched documents
+ * (identical semantics to v0).
+ * * `select = COUNT, group_by = []`: return a single aggregate
+ * count. With an `In` clause the server fans out per-In via
+ * `query_aggregate_count` and sums (O(|In| × log n), see
+ * `RangeNoProof`'s compound-summed path); with a range clause
+ * it uses `AggregateCountOnRange`.
+ * * `select = COUNT, group_by = []`: return per-group
+ * `CountEntry` rows. Only supported when the grouping field
+ * matches an `In`-constrained or range-constrained where clause;
+ * other shapes return `Unsupported` (see Phase 1 notes below).
+ *
+ * `having` is wire-reserved for Phase 2. Any non-empty `having`
+ * value returns `Unsupported("HAVING clause is not yet
+ * implemented")` regardless of `select` / `group_by`.
+ *
+ * **Phase 1 supported shapes** (everything else rejects with a
+ * typed `QuerySyntaxError::Unsupported` so callers can detect
+ * un-wired capabilities without parsing prose):
+ *
+ * select=DOCUMENTS, group_by=[]:
+ * any where shape v0 supports.
+ *
+ * select=COUNT, group_by=[]:
+ * - empty where → `documentsCountable: true` doctype.
+ * - `==` only → `countable: true` index covering the fields.
+ * - one `In` → `countable: true` index covering the fields
+ * (per-In aggregate fan-out).
+ * - one range → `rangeCountable: true` index.
+ * - one `In` + one range → `rangeCountable: true` compound
+ * index (per-In aggregate fan-out on no-proof; rejected on
+ * prove because the aggregate proof primitive can't fork).
+ *
+ * select=COUNT, group_by=[g]:
+ * - g is the In clause's field → `countable: true` index,
+ * grouped by g (PerInValue on no-proof, CountTree element
+ * proof per In branch on prove).
+ * - g is the range clause's field → `rangeCountable: true`
+ * index, grouped by g (RangeDistinct on no-proof, distinct
+ * range proof on prove).
+ *
+ * select=COUNT, group_by=[a, b]:
+ * - a is the In field AND b is the range field, in that order
+ * → existing compound distinct shape; entries carry both
+ * `in_key` (= a's value) and `key` (= b's value).
+ *
+ * **Phase 1 rejected shapes** (return `Unsupported`):
+ * - any non-empty `having` (always).
+ * - `select=DOCUMENTS` with non-empty `group_by`.
+ * - `select=COUNT` with `group_by` on a field that is not
+ * constrained by an `In` or range where clause.
+ * - `select=COUNT` with `group_by.len() > 2`.
+ * - `select=COUNT` with 2-field `group_by` that does not match
+ * the `(in_field, range_field)` shape above.
+ *
+ * **Zero-count entries on `In`-grouped queries**: when
+ * `select=COUNT, group_by=[in_field]` and an `In` value has no
+ * matching documents, v1 emits a `CountEntry { key: in_value,
+ * count: 0 }` for it — a deliberate divergence from SQL, which
+ * would skip empty groups. Callers can distinguish "no docs at
+ * this value" from "value filtered out" without re-querying.
+ * For range-grouped queries the existing walker only emits keys
+ * that exist in the index, which IS SQL-conformant; no change.
+ **/
+GPB_FINAL @interface GetDocumentsRequest_GetDocumentsRequestV1 : GPBMessage
+
+/** The data contract owning the documents */
+@property(nonatomic, readwrite, copy, null_resettable) NSData *dataContractId;
+
+/** Document type within the contract */
+@property(nonatomic, readwrite, copy, null_resettable) NSString *documentType;
+
+/** CBOR-encoded where clauses (same shape as v0) */
+@property(nonatomic, readwrite, copy, null_resettable) NSData *where;
+
+/** CBOR-encoded order_by clauses (same shape as v0) */
+@property(nonatomic, readwrite, copy, null_resettable) NSData *orderBy;
+
+/**
+ * Maximum number of rows to return.
+ * - `select=DOCUMENTS`: matched-document cap (same as v0).
+ * - `select=COUNT, group_by=[]`: ignored (aggregate is one row).
+ * - `select=COUNT, group_by=[…]`: entries cap. On prove paths
+ * this is validate-don't-clamp — `limit > max_query_limit`
+ * returns `InvalidLimit` rather than silent clamping (see
+ * `RangeDistinctProof`'s contract; unset falls back to the
+ * SDK-shared `DEFAULT_QUERY_LIMIT` compile-time constant so
+ * proof bytes are deterministic across operators).
+ **/
+@property(nonatomic, readwrite) uint32_t limit;
+
+@property(nonatomic, readwrite) BOOL hasLimit;
+/**
+ * Pagination cursor. Valid for `select=DOCUMENTS` and for
+ * `select=COUNT` with non-empty `group_by` (paginate entries by
+ * the grouping field's serialized key). Rejected on
+ * `select=COUNT, group_by=[]` — no concept of "start" for a
+ * single aggregate.
+ **/
+@property(nonatomic, readonly) GetDocumentsRequest_GetDocumentsRequestV1_Start_OneOfCase startOneOfCase;
+
+@property(nonatomic, readwrite, copy, null_resettable) NSData *startAfter;
+
+@property(nonatomic, readwrite, copy, null_resettable) NSData *startAt;
+
+/** Request a grovedb proof instead of raw rows */
+@property(nonatomic, readwrite) BOOL prove;
+
+/**
+ * SQL `SELECT` projection. Default `DOCUMENTS` keeps v0 semantics
+ * for callers that just want documents back.
+ **/
+@property(nonatomic, readwrite) GetDocumentsRequest_GetDocumentsRequestV1_Select select;
+
+/**
+ * SQL `GROUP BY` field names, in left-to-right order. Empty =
+ * no explicit grouping (aggregate for `select=COUNT`). See
+ * message-level docstring for the Phase 1 supported shapes.
+ **/
+@property(nonatomic, readwrite, strong, null_resettable) NSMutableArray *groupByArray;
+/** The number of items in @c groupByArray without causing the array to be created. */
+@property(nonatomic, readonly) NSUInteger groupByArray_Count;
+
+/**
+ * SQL `HAVING` clauses, CBOR-encoded the same way as `where`.
+ * **Phase 1: always rejected when non-empty** with
+ * `Unsupported("HAVING clause is not yet implemented")`.
+ * Reserved on the wire so future capability can land without
+ * another version bump.
+ **/
+@property(nonatomic, readwrite, copy, null_resettable) NSData *having;
+
+@end
+
+/**
+ * Fetches the raw value of a @c GetDocumentsRequest_GetDocumentsRequestV1's @c select property, even
+ * if the value was not defined by the enum at the time the code was generated.
+ **/
+int32_t GetDocumentsRequest_GetDocumentsRequestV1_Select_RawValue(GetDocumentsRequest_GetDocumentsRequestV1 *message);
+/**
+ * Sets the raw value of an @c GetDocumentsRequest_GetDocumentsRequestV1's @c select property, allowing
+ * it to be set to a value that was not defined by the enum at the time the code
+ * was generated.
+ **/
+void SetGetDocumentsRequest_GetDocumentsRequestV1_Select_RawValue(GetDocumentsRequest_GetDocumentsRequestV1 *message, int32_t value);
+
+/**
+ * Clears whatever value was set for the oneof 'start'.
+ **/
+void GetDocumentsRequest_GetDocumentsRequestV1_ClearStartOneOfCase(GetDocumentsRequest_GetDocumentsRequestV1 *message);
+
#pragma mark - GetDocumentsResponse
typedef GPB_ENUM(GetDocumentsResponse_FieldNumber) {
GetDocumentsResponse_FieldNumber_V0 = 1,
+ GetDocumentsResponse_FieldNumber_V1 = 2,
};
typedef GPB_ENUM(GetDocumentsResponse_Version_OneOfCase) {
GetDocumentsResponse_Version_OneOfCase_GPBUnsetOneOfCase = 0,
GetDocumentsResponse_Version_OneOfCase_V0 = 1,
+ GetDocumentsResponse_Version_OneOfCase_V1 = 2,
};
GPB_FINAL @interface GetDocumentsResponse : GPBMessage
@@ -2349,6 +2568,8 @@ GPB_FINAL @interface GetDocumentsResponse : GPBMessage
@property(nonatomic, readwrite, strong, null_resettable) GetDocumentsResponse_GetDocumentsResponseV0 *v0;
+@property(nonatomic, readwrite, strong, null_resettable) GetDocumentsResponse_GetDocumentsResponseV1 *v1;
+
@end
/**
@@ -2410,291 +2631,199 @@ GPB_FINAL @interface GetDocumentsResponse_GetDocumentsResponseV0_Documents : GPB
@end
-#pragma mark - GetDocumentsCountRequest
+#pragma mark - GetDocumentsResponse_GetDocumentsResponseV1
-typedef GPB_ENUM(GetDocumentsCountRequest_FieldNumber) {
- GetDocumentsCountRequest_FieldNumber_V0 = 1,
+typedef GPB_ENUM(GetDocumentsResponse_GetDocumentsResponseV1_FieldNumber) {
+ GetDocumentsResponse_GetDocumentsResponseV1_FieldNumber_Data_p = 1,
+ GetDocumentsResponse_GetDocumentsResponseV1_FieldNumber_Proof = 2,
+ GetDocumentsResponse_GetDocumentsResponseV1_FieldNumber_Metadata = 3,
};
-typedef GPB_ENUM(GetDocumentsCountRequest_Version_OneOfCase) {
- GetDocumentsCountRequest_Version_OneOfCase_GPBUnsetOneOfCase = 0,
- GetDocumentsCountRequest_Version_OneOfCase_V0 = 1,
+typedef GPB_ENUM(GetDocumentsResponse_GetDocumentsResponseV1_Result_OneOfCase) {
+ GetDocumentsResponse_GetDocumentsResponseV1_Result_OneOfCase_GPBUnsetOneOfCase = 0,
+ GetDocumentsResponse_GetDocumentsResponseV1_Result_OneOfCase_Data_p = 1,
+ GetDocumentsResponse_GetDocumentsResponseV1_Result_OneOfCase_Proof = 2,
};
/**
- * Unified count query.
+ * v1 response. Two-variant outer `oneof` mirrors every other
+ * `Get*Response`: a non-proof result at position 1, the proof at
+ * position 2. The non-proof result is itself a `oneof` because
+ * a single v1 request can produce either matched documents (for
+ * `select=DOCUMENTS`) or count results (for `select=COUNT`) —
+ * wrapping them in an inner `ResultData` keeps the outer shape
+ * canonical without flattening to a three-variant oneof.
*
- * Mode is determined by the where clauses encoded in `where` plus
- * the explicit `return_distinct_counts_in_range` flag. The wire
- * shape of the no-proof response makes the mode explicit via
- * `CountResults.variant`:
- * * No `In` clause and `return_distinct_counts_in_range` = false:
- * total count → `CountResults.aggregate_count` (single u64).
- * * Exactly one `In` clause (no range): per-`In`-value counts →
- * `CountResults.entries`, one `CountEntry` for each value in
- * the `In` array constrained by the other `==` clauses. At
- * most one `In` per request; multiple `In` clauses are an
- * InvalidArgument error.
- * * A range clause (`>`, `<`, `between*`, `startsWith`) and
- * `return_distinct_counts_in_range` = true: per-distinct-value
- * range histogram → `CountResults.entries`, one `CountEntry`
- * per distinct value within the range. Requires
- * `range_countable: true` on the index (see Indexes book
- * chapter). Also supports an `In` clause on a prefix property
- * of the index — in that case each entry carries BOTH the In
- * value (`CountEntry.in_key`) and the terminator value
- * (`CountEntry.key`). Cross-fork sums are NOT computed
- * server-side; callers reduce client-side if they want a flat
- * histogram (see book chapter "Range Modes").
- * * A range clause with `return_distinct_counts_in_range` = false:
- * total over range → `CountResults.aggregate_count`. Also
- * requires `range_countable: true`.
+ * Wire shape by `request.select` × `group_by` × `prove`:
+ * - `select=DOCUMENTS` (no prove) → `result.data.documents`.
+ * - `select=COUNT, group_by=[]` (no prove) → `result.data.counts.aggregate_count`.
+ * - `select=COUNT, group_by=[…]` (no prove) → `result.data.counts.entries`.
+ * - any select (prove) → `result.proof`.
*
- * When `prove = true`, the response is a grovedb proof instead of
- * a `CountResults` value; the client verifies and recovers the
- * same per-mode shape (single u64 for aggregate, per-key map for
- * distinct).
+ * `CountResults` / `CountEntry` / `CountEntries` are nested in
+ * `GetDocumentsResponseV1` rather than re-exported from a
+ * top-level message — the v0 `getDocumentsCount` endpoint that
+ * previously owned them has been removed in this version (it
+ * shipped briefly in #3623 and never had stable callers); v1 is
+ * the single home for the count wire types.
**/
-GPB_FINAL @interface GetDocumentsCountRequest : GPBMessage
+GPB_FINAL @interface GetDocumentsResponse_GetDocumentsResponseV1 : GPBMessage
-@property(nonatomic, readonly) GetDocumentsCountRequest_Version_OneOfCase versionOneOfCase;
+@property(nonatomic, readonly) GetDocumentsResponse_GetDocumentsResponseV1_Result_OneOfCase resultOneOfCase;
-@property(nonatomic, readwrite, strong, null_resettable) GetDocumentsCountRequest_GetDocumentsCountRequestV0 *v0;
+@property(nonatomic, readwrite, strong, null_resettable) GetDocumentsResponse_GetDocumentsResponseV1_ResultData *data_p;
-@end
-
-/**
- * Clears whatever value was set for the oneof 'version'.
- **/
-void GetDocumentsCountRequest_ClearVersionOneOfCase(GetDocumentsCountRequest *message);
-
-#pragma mark - GetDocumentsCountRequest_GetDocumentsCountRequestV0
-
-typedef GPB_ENUM(GetDocumentsCountRequest_GetDocumentsCountRequestV0_FieldNumber) {
- GetDocumentsCountRequest_GetDocumentsCountRequestV0_FieldNumber_DataContractId = 1,
- GetDocumentsCountRequest_GetDocumentsCountRequestV0_FieldNumber_DocumentType = 2,
- GetDocumentsCountRequest_GetDocumentsCountRequestV0_FieldNumber_Where = 3,
- GetDocumentsCountRequest_GetDocumentsCountRequestV0_FieldNumber_ReturnDistinctCountsInRange = 4,
- GetDocumentsCountRequest_GetDocumentsCountRequestV0_FieldNumber_OrderBy = 5,
- GetDocumentsCountRequest_GetDocumentsCountRequestV0_FieldNumber_Limit = 6,
- GetDocumentsCountRequest_GetDocumentsCountRequestV0_FieldNumber_Prove = 7,
-};
-
-GPB_FINAL @interface GetDocumentsCountRequest_GetDocumentsCountRequestV0 : GPBMessage
-
-@property(nonatomic, readwrite, copy, null_resettable) NSData *dataContractId;
-
-@property(nonatomic, readwrite, copy, null_resettable) NSString *documentType;
-
-/** CBOR-encoded where clauses */
-@property(nonatomic, readwrite, copy, null_resettable) NSData *where;
+@property(nonatomic, readwrite, strong, null_resettable) Proof *proof;
-/**
- * Default false (single sum). When true and a range clause is
- * present, return per-distinct-value entries within the range.
- **/
-@property(nonatomic, readwrite) BOOL returnDistinctCountsInRange;
+@property(nonatomic, readwrite, strong, null_resettable) ResponseMetadata *metadata;
+/** Test to see if @c metadata has been set. */
+@property(nonatomic, readwrite) BOOL hasMetadata;
-/**
- * CBOR-encoded order_by clauses. Same encoding as
- * `GetDocumentsRequestV0.order_by`. The first clause's direction
- * controls entry ordering in split-mode responses (per-`In`-value
- * or per-range-distinct-value). On the `RangeDistinctProof` prove
- * path the direction is part of the proof's path query, so the
- * SDK must reconstruct the same value — empty `order_by` defaults
- * to ascending on both sides for determinism. Ignored for
- * total-count responses and for the `PointLookupProof` path
- * (which sorts In keys lex-ascending unconditionally for prove/
- * no-proof parity).
- **/
-@property(nonatomic, readwrite, copy, null_resettable) NSData *orderBy;
+@end
/**
- * Maximum number of entries to return.
- * - **No-proof paths**: server clamps to its `max_query_limit`
- * config; unset → server default.
- * - **Prove paths** (`RangeDistinctProof`): validate-don't-clamp.
- * `limit > max_query_limit` returns `InvalidLimit` rather than
- * silently clamping, because silent clamping would invisibly
- * break verification (proof determinism requires the SDK to
- * reconstruct the same path query). Unset falls back to
- * `crate::config::DEFAULT_QUERY_LIMIT` (a compile-time constant
- * the SDK also reads) — explicitly NOT the operator-tunable
- * `default_query_limit`, so proof bytes are deterministic
- * across operators regardless of their runtime config.
- * Has no effect on total-count responses.
+ * Clears whatever value was set for the oneof 'result'.
**/
-@property(nonatomic, readwrite) uint32_t limit;
-
-@property(nonatomic, readwrite) BOOL hasLimit;
-@property(nonatomic, readwrite) BOOL prove;
-
-@end
-
-#pragma mark - GetDocumentsCountResponse
+void GetDocumentsResponse_GetDocumentsResponseV1_ClearResultOneOfCase(GetDocumentsResponse_GetDocumentsResponseV1 *message);
-typedef GPB_ENUM(GetDocumentsCountResponse_FieldNumber) {
- GetDocumentsCountResponse_FieldNumber_V0 = 1,
-};
+#pragma mark - GetDocumentsResponse_GetDocumentsResponseV1_Documents
-typedef GPB_ENUM(GetDocumentsCountResponse_Version_OneOfCase) {
- GetDocumentsCountResponse_Version_OneOfCase_GPBUnsetOneOfCase = 0,
- GetDocumentsCountResponse_Version_OneOfCase_V0 = 1,
+typedef GPB_ENUM(GetDocumentsResponse_GetDocumentsResponseV1_Documents_FieldNumber) {
+ GetDocumentsResponse_GetDocumentsResponseV1_Documents_FieldNumber_DocumentsArray = 1,
};
-GPB_FINAL @interface GetDocumentsCountResponse : GPBMessage
-
-@property(nonatomic, readonly) GetDocumentsCountResponse_Version_OneOfCase versionOneOfCase;
-
-@property(nonatomic, readwrite, strong, null_resettable) GetDocumentsCountResponse_GetDocumentsCountResponseV0 *v0;
-
-@end
-
/**
- * Clears whatever value was set for the oneof 'version'.
+ * Documents result variant — matches the v0 `Documents`
+ * message field-for-field (kept distinct so v1 doesn't reach
+ * into v0's namespace once v0 is eventually retired).
**/
-void GetDocumentsCountResponse_ClearVersionOneOfCase(GetDocumentsCountResponse *message);
-
-#pragma mark - GetDocumentsCountResponse_GetDocumentsCountResponseV0
+GPB_FINAL @interface GetDocumentsResponse_GetDocumentsResponseV1_Documents : GPBMessage
-typedef GPB_ENUM(GetDocumentsCountResponse_GetDocumentsCountResponseV0_FieldNumber) {
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_FieldNumber_Counts = 1,
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_FieldNumber_Proof = 2,
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_FieldNumber_Metadata = 3,
-};
-
-typedef GPB_ENUM(GetDocumentsCountResponse_GetDocumentsCountResponseV0_Result_OneOfCase) {
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_Result_OneOfCase_GPBUnsetOneOfCase = 0,
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_Result_OneOfCase_Counts = 1,
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_Result_OneOfCase_Proof = 2,
-};
-
-GPB_FINAL @interface GetDocumentsCountResponse_GetDocumentsCountResponseV0 : GPBMessage
-
-@property(nonatomic, readonly) GetDocumentsCountResponse_GetDocumentsCountResponseV0_Result_OneOfCase resultOneOfCase;
-
-@property(nonatomic, readwrite, strong, null_resettable) GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults *counts;
-
-@property(nonatomic, readwrite, strong, null_resettable) Proof *proof;
-
-@property(nonatomic, readwrite, strong, null_resettable) ResponseMetadata *metadata;
-/** Test to see if @c metadata has been set. */
-@property(nonatomic, readwrite) BOOL hasMetadata;
+@property(nonatomic, readwrite, strong, null_resettable) NSMutableArray *documentsArray;
+/** The number of items in @c documentsArray without causing the array to be created. */
+@property(nonatomic, readonly) NSUInteger documentsArray_Count;
@end
-/**
- * Clears whatever value was set for the oneof 'result'.
- **/
-void GetDocumentsCountResponse_GetDocumentsCountResponseV0_ClearResultOneOfCase(GetDocumentsCountResponse_GetDocumentsCountResponseV0 *message);
-
-#pragma mark - GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry
+#pragma mark - GetDocumentsResponse_GetDocumentsResponseV1_CountEntry
-typedef GPB_ENUM(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry_FieldNumber) {
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry_FieldNumber_InKey = 1,
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry_FieldNumber_Key = 2,
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry_FieldNumber_Count = 3,
+typedef GPB_ENUM(GetDocumentsResponse_GetDocumentsResponseV1_CountEntry_FieldNumber) {
+ GetDocumentsResponse_GetDocumentsResponseV1_CountEntry_FieldNumber_InKey = 1,
+ GetDocumentsResponse_GetDocumentsResponseV1_CountEntry_FieldNumber_Key = 2,
+ GetDocumentsResponse_GetDocumentsResponseV1_CountEntry_FieldNumber_Count = 3,
};
/**
- * A single per-key entry: the splitting key value and how many
- * documents match. Used by the `entries` variant of
- * `CountResults` for per-`In`-value and per-distinct-value-in-
- * range modes.
- *
- * For compound queries (an `In` clause on a prefix property of a
- * `range_countable` index plus a range clause on the terminator),
- * each entry carries BOTH the In-fork's prefix value
- * (`in_key`) and the terminator value (`key`). Cross-fork
- * aggregation is intentionally NOT done server-side — callers
- * get the unmerged per-(in_key, key) view and can sum
- * client-side if they want a flat histogram. See the book
- * chapter ("Range Modes") for rationale.
+ * A single per-key entry. Carries `in_key` for compound
+ * queries (`In` on a prefix property of a `range_countable`
+ * index plus a range clause on the terminator) where each
+ * entry is keyed by both the In-fork's prefix value (`in_key`)
+ * and the terminator value (`key`). Cross-fork aggregation is
+ * intentionally NOT done server-side — callers get the
+ * unmerged per-`(in_key, key)` view and can reduce client-side
+ * if they want a flat histogram.
**/
-GPB_FINAL @interface GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry : GPBMessage
+GPB_FINAL @interface GetDocumentsResponse_GetDocumentsResponseV1_CountEntry : GPBMessage
-/**
- * Serialized prefix key for compound queries — the In's value
- * for this fork. Absent for flat queries with no `In` on
- * prefix (in which case entries are keyed purely by `key`).
- **/
@property(nonatomic, readwrite, copy, null_resettable) NSData *inKey;
/** Test to see if @c inKey has been set. */
@property(nonatomic, readwrite) BOOL hasInKey;
-/**
- * Serialized terminator key (the range-property value for
- * distinct-range modes, or the `In` value for per-In-value
- * mode without a range clause).
- **/
@property(nonatomic, readwrite, copy, null_resettable) NSData *key;
/**
- * `jstype = JS_STRING` so JS/Web clients receive a string and don't
- * round counts > 2^53-1 to the nearest representable Number. Matches
- * the convention used elsewhere in this proto for `uint64` fields
- * that can exceed Number.MAX_SAFE_INTEGER.
+ * `jstype = JS_STRING` so JS/Web clients receive a string
+ * and don't round counts > 2^53−1 to the nearest
+ * representable Number.
**/
@property(nonatomic, readwrite) uint64_t count;
@end
-#pragma mark - GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries
+#pragma mark - GetDocumentsResponse_GetDocumentsResponseV1_CountEntries
-typedef GPB_ENUM(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries_FieldNumber) {
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries_FieldNumber_EntriesArray = 1,
+typedef GPB_ENUM(GetDocumentsResponse_GetDocumentsResponseV1_CountEntries_FieldNumber) {
+ GetDocumentsResponse_GetDocumentsResponseV1_CountEntries_FieldNumber_EntriesArray = 1,
};
-GPB_FINAL @interface GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries : GPBMessage
+GPB_FINAL @interface GetDocumentsResponse_GetDocumentsResponseV1_CountEntries : GPBMessage
-@property(nonatomic, readwrite, strong, null_resettable) NSMutableArray *entriesArray;
+@property(nonatomic, readwrite, strong, null_resettable) NSMutableArray *entriesArray;
/** The number of items in @c entriesArray without causing the array to be created. */
@property(nonatomic, readonly) NSUInteger entriesArray_Count;
@end
-#pragma mark - GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults
+#pragma mark - GetDocumentsResponse_GetDocumentsResponseV1_CountResults
-typedef GPB_ENUM(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults_FieldNumber) {
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults_FieldNumber_AggregateCount = 1,
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults_FieldNumber_Entries = 2,
+typedef GPB_ENUM(GetDocumentsResponse_GetDocumentsResponseV1_CountResults_FieldNumber) {
+ GetDocumentsResponse_GetDocumentsResponseV1_CountResults_FieldNumber_AggregateCount = 1,
+ GetDocumentsResponse_GetDocumentsResponseV1_CountResults_FieldNumber_Entries = 2,
};
-typedef GPB_ENUM(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults_Variant_OneOfCase) {
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults_Variant_OneOfCase_GPBUnsetOneOfCase = 0,
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults_Variant_OneOfCase_AggregateCount = 1,
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults_Variant_OneOfCase_Entries = 2,
+typedef GPB_ENUM(GetDocumentsResponse_GetDocumentsResponseV1_CountResults_Variant_OneOfCase) {
+ GetDocumentsResponse_GetDocumentsResponseV1_CountResults_Variant_OneOfCase_GPBUnsetOneOfCase = 0,
+ GetDocumentsResponse_GetDocumentsResponseV1_CountResults_Variant_OneOfCase_AggregateCount = 1,
+ GetDocumentsResponse_GetDocumentsResponseV1_CountResults_Variant_OneOfCase_Entries = 2,
};
/**
* Non-proof count result. Shape is mode-dependent and made
* explicit on the wire via the inner `variant` oneof:
- * * `aggregate_count`: total-count and range-without-distinct
- * modes — a single u64 with no per-key breakdown. Callers
- * read the total directly without scanning an entries list.
- * * `entries`: per-`In`-value and per-distinct-value-in-range
- * modes — one CountEntry per distinct value, in serialized-
- * key order subject to the first `order_by` clause's
- * direction and `limit`.
+ * * `aggregate_count`: `select=COUNT, group_by=[]` —
+ * single u64 with no per-key breakdown.
+ * * `entries`: `select=COUNT, group_by=[…]` — one
+ * CountEntry per distinct group, in serialized-key order
+ * (subject to the first `order_by` clause's direction and
+ * `limit`).
**/
-GPB_FINAL @interface GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults : GPBMessage
+GPB_FINAL @interface GetDocumentsResponse_GetDocumentsResponseV1_CountResults : GPBMessage
+
+@property(nonatomic, readonly) GetDocumentsResponse_GetDocumentsResponseV1_CountResults_Variant_OneOfCase variantOneOfCase;
+
+@property(nonatomic, readwrite) uint64_t aggregateCount;
+
+@property(nonatomic, readwrite, strong, null_resettable) GetDocumentsResponse_GetDocumentsResponseV1_CountEntries *entries;
-@property(nonatomic, readonly) GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults_Variant_OneOfCase variantOneOfCase;
+@end
/**
- * `jstype = JS_STRING` for the same reason as
- * `CountEntry.count` — JS Number rounds at 2^53−1.
+ * Clears whatever value was set for the oneof 'variant'.
**/
-@property(nonatomic, readwrite) uint64_t aggregateCount;
+void GetDocumentsResponse_GetDocumentsResponseV1_CountResults_ClearVariantOneOfCase(GetDocumentsResponse_GetDocumentsResponseV1_CountResults *message);
+
+#pragma mark - GetDocumentsResponse_GetDocumentsResponseV1_ResultData
+
+typedef GPB_ENUM(GetDocumentsResponse_GetDocumentsResponseV1_ResultData_FieldNumber) {
+ GetDocumentsResponse_GetDocumentsResponseV1_ResultData_FieldNumber_Documents = 1,
+ GetDocumentsResponse_GetDocumentsResponseV1_ResultData_FieldNumber_Counts = 2,
+};
+
+typedef GPB_ENUM(GetDocumentsResponse_GetDocumentsResponseV1_ResultData_Variant_OneOfCase) {
+ GetDocumentsResponse_GetDocumentsResponseV1_ResultData_Variant_OneOfCase_GPBUnsetOneOfCase = 0,
+ GetDocumentsResponse_GetDocumentsResponseV1_ResultData_Variant_OneOfCase_Documents = 1,
+ GetDocumentsResponse_GetDocumentsResponseV1_ResultData_Variant_OneOfCase_Counts = 2,
+};
+
+/**
+ * Non-proof result wrapper. The outer `oneof result` switches
+ * between this and `proof`; this inner oneof switches between
+ * the two non-proof shapes the v1 surface can return.
+ **/
+GPB_FINAL @interface GetDocumentsResponse_GetDocumentsResponseV1_ResultData : GPBMessage
+
+@property(nonatomic, readonly) GetDocumentsResponse_GetDocumentsResponseV1_ResultData_Variant_OneOfCase variantOneOfCase;
+
+@property(nonatomic, readwrite, strong, null_resettable) GetDocumentsResponse_GetDocumentsResponseV1_Documents *documents;
-@property(nonatomic, readwrite, strong, null_resettable) GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries *entries;
+@property(nonatomic, readwrite, strong, null_resettable) GetDocumentsResponse_GetDocumentsResponseV1_CountResults *counts;
@end
/**
* Clears whatever value was set for the oneof 'variant'.
**/
-void GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults_ClearVariantOneOfCase(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults *message);
+void GetDocumentsResponse_GetDocumentsResponseV1_ResultData_ClearVariantOneOfCase(GetDocumentsResponse_GetDocumentsResponseV1_ResultData *message);
#pragma mark - GetIdentityByPublicKeyHashRequest
diff --git a/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.m b/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.m
index c4e72e7c9ef..04fe7e93eb9 100644
--- a/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.m
+++ b/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbobjc.m
@@ -116,18 +116,18 @@
GPBObjCClassDeclaration(GetDataContractsResponse_DataContractEntry);
GPBObjCClassDeclaration(GetDataContractsResponse_DataContracts);
GPBObjCClassDeclaration(GetDataContractsResponse_GetDataContractsResponseV0);
-GPBObjCClassDeclaration(GetDocumentsCountRequest);
-GPBObjCClassDeclaration(GetDocumentsCountRequest_GetDocumentsCountRequestV0);
-GPBObjCClassDeclaration(GetDocumentsCountResponse);
-GPBObjCClassDeclaration(GetDocumentsCountResponse_GetDocumentsCountResponseV0);
-GPBObjCClassDeclaration(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries);
-GPBObjCClassDeclaration(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry);
-GPBObjCClassDeclaration(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults);
GPBObjCClassDeclaration(GetDocumentsRequest);
GPBObjCClassDeclaration(GetDocumentsRequest_GetDocumentsRequestV0);
+GPBObjCClassDeclaration(GetDocumentsRequest_GetDocumentsRequestV1);
GPBObjCClassDeclaration(GetDocumentsResponse);
GPBObjCClassDeclaration(GetDocumentsResponse_GetDocumentsResponseV0);
GPBObjCClassDeclaration(GetDocumentsResponse_GetDocumentsResponseV0_Documents);
+GPBObjCClassDeclaration(GetDocumentsResponse_GetDocumentsResponseV1);
+GPBObjCClassDeclaration(GetDocumentsResponse_GetDocumentsResponseV1_CountEntries);
+GPBObjCClassDeclaration(GetDocumentsResponse_GetDocumentsResponseV1_CountEntry);
+GPBObjCClassDeclaration(GetDocumentsResponse_GetDocumentsResponseV1_CountResults);
+GPBObjCClassDeclaration(GetDocumentsResponse_GetDocumentsResponseV1_Documents);
+GPBObjCClassDeclaration(GetDocumentsResponse_GetDocumentsResponseV1_ResultData);
GPBObjCClassDeclaration(GetEpochsInfoRequest);
GPBObjCClassDeclaration(GetEpochsInfoRequest_GetEpochsInfoRequestV0);
GPBObjCClassDeclaration(GetEpochsInfoResponse);
@@ -5078,10 +5078,12 @@ @implementation GetDocumentsRequest
@dynamic versionOneOfCase;
@dynamic v0;
+@dynamic v1;
typedef struct GetDocumentsRequest__storage_ {
uint32_t _has_storage_[2];
GetDocumentsRequest_GetDocumentsRequestV0 *v0;
+ GetDocumentsRequest_GetDocumentsRequestV1 *v1;
} GetDocumentsRequest__storage_;
// This method is threadsafe because it is initially called
@@ -5099,6 +5101,15 @@ + (GPBDescriptor *)descriptor {
.flags = GPBFieldOptional,
.dataType = GPBDataTypeMessage,
},
+ {
+ .name = "v1",
+ .dataTypeSpecific.clazz = GPBObjCClass(GetDocumentsRequest_GetDocumentsRequestV1),
+ .number = GetDocumentsRequest_FieldNumber_V1,
+ .hasIndex = -1,
+ .offset = (uint32_t)offsetof(GetDocumentsRequest__storage_, v1),
+ .flags = GPBFieldOptional,
+ .dataType = GPBDataTypeMessage,
+ },
};
GPBDescriptor *localDescriptor =
[GPBDescriptor allocDescriptorForClass:[GetDocumentsRequest class]
@@ -5263,16 +5274,232 @@ void GetDocumentsRequest_GetDocumentsRequestV0_ClearStartOneOfCase(GetDocumentsR
GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
GPBClearOneof(message, oneof);
}
+#pragma mark - GetDocumentsRequest_GetDocumentsRequestV1
+
+@implementation GetDocumentsRequest_GetDocumentsRequestV1
+
+@dynamic startOneOfCase;
+@dynamic dataContractId;
+@dynamic documentType;
+@dynamic where;
+@dynamic orderBy;
+@dynamic hasLimit, limit;
+@dynamic startAfter;
+@dynamic startAt;
+@dynamic prove;
+@dynamic select;
+@dynamic groupByArray, groupByArray_Count;
+@dynamic having;
+
+typedef struct GetDocumentsRequest_GetDocumentsRequestV1__storage_ {
+ uint32_t _has_storage_[2];
+ uint32_t limit;
+ GetDocumentsRequest_GetDocumentsRequestV1_Select select;
+ NSData *dataContractId;
+ NSString *documentType;
+ NSData *where;
+ NSData *orderBy;
+ NSData *startAfter;
+ NSData *startAt;
+ NSMutableArray *groupByArray;
+ NSData *having;
+} GetDocumentsRequest_GetDocumentsRequestV1__storage_;
+
+// This method is threadsafe because it is initially called
+// in +initialize for each subclass.
++ (GPBDescriptor *)descriptor {
+ static GPBDescriptor *descriptor = nil;
+ if (!descriptor) {
+ static GPBMessageFieldDescription fields[] = {
+ {
+ .name = "dataContractId",
+ .dataTypeSpecific.clazz = Nil,
+ .number = GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_DataContractId,
+ .hasIndex = 0,
+ .offset = (uint32_t)offsetof(GetDocumentsRequest_GetDocumentsRequestV1__storage_, dataContractId),
+ .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
+ .dataType = GPBDataTypeBytes,
+ },
+ {
+ .name = "documentType",
+ .dataTypeSpecific.clazz = Nil,
+ .number = GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_DocumentType,
+ .hasIndex = 1,
+ .offset = (uint32_t)offsetof(GetDocumentsRequest_GetDocumentsRequestV1__storage_, documentType),
+ .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
+ .dataType = GPBDataTypeString,
+ },
+ {
+ .name = "where",
+ .dataTypeSpecific.clazz = Nil,
+ .number = GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_Where,
+ .hasIndex = 2,
+ .offset = (uint32_t)offsetof(GetDocumentsRequest_GetDocumentsRequestV1__storage_, where),
+ .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
+ .dataType = GPBDataTypeBytes,
+ },
+ {
+ .name = "orderBy",
+ .dataTypeSpecific.clazz = Nil,
+ .number = GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_OrderBy,
+ .hasIndex = 3,
+ .offset = (uint32_t)offsetof(GetDocumentsRequest_GetDocumentsRequestV1__storage_, orderBy),
+ .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
+ .dataType = GPBDataTypeBytes,
+ },
+ {
+ .name = "limit",
+ .dataTypeSpecific.clazz = Nil,
+ .number = GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_Limit,
+ .hasIndex = 4,
+ .offset = (uint32_t)offsetof(GetDocumentsRequest_GetDocumentsRequestV1__storage_, limit),
+ .flags = GPBFieldOptional,
+ .dataType = GPBDataTypeUInt32,
+ },
+ {
+ .name = "startAfter",
+ .dataTypeSpecific.clazz = Nil,
+ .number = GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_StartAfter,
+ .hasIndex = -1,
+ .offset = (uint32_t)offsetof(GetDocumentsRequest_GetDocumentsRequestV1__storage_, startAfter),
+ .flags = GPBFieldOptional,
+ .dataType = GPBDataTypeBytes,
+ },
+ {
+ .name = "startAt",
+ .dataTypeSpecific.clazz = Nil,
+ .number = GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_StartAt,
+ .hasIndex = -1,
+ .offset = (uint32_t)offsetof(GetDocumentsRequest_GetDocumentsRequestV1__storage_, startAt),
+ .flags = GPBFieldOptional,
+ .dataType = GPBDataTypeBytes,
+ },
+ {
+ .name = "prove",
+ .dataTypeSpecific.clazz = Nil,
+ .number = GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_Prove,
+ .hasIndex = 5,
+ .offset = 6, // Stored in _has_storage_ to save space.
+ .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
+ .dataType = GPBDataTypeBool,
+ },
+ {
+ .name = "select",
+ .dataTypeSpecific.enumDescFunc = GetDocumentsRequest_GetDocumentsRequestV1_Select_EnumDescriptor,
+ .number = GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_Select,
+ .hasIndex = 7,
+ .offset = (uint32_t)offsetof(GetDocumentsRequest_GetDocumentsRequestV1__storage_, select),
+ .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldHasEnumDescriptor | GPBFieldClearHasIvarOnZero),
+ .dataType = GPBDataTypeEnum,
+ },
+ {
+ .name = "groupByArray",
+ .dataTypeSpecific.clazz = Nil,
+ .number = GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_GroupByArray,
+ .hasIndex = GPBNoHasBit,
+ .offset = (uint32_t)offsetof(GetDocumentsRequest_GetDocumentsRequestV1__storage_, groupByArray),
+ .flags = GPBFieldRepeated,
+ .dataType = GPBDataTypeString,
+ },
+ {
+ .name = "having",
+ .dataTypeSpecific.clazz = Nil,
+ .number = GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_Having,
+ .hasIndex = 8,
+ .offset = (uint32_t)offsetof(GetDocumentsRequest_GetDocumentsRequestV1__storage_, having),
+ .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
+ .dataType = GPBDataTypeBytes,
+ },
+ };
+ GPBDescriptor *localDescriptor =
+ [GPBDescriptor allocDescriptorForClass:[GetDocumentsRequest_GetDocumentsRequestV1 class]
+ rootClass:[PlatformRoot class]
+ file:PlatformRoot_FileDescriptor()
+ fields:fields
+ fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
+ storageSize:sizeof(GetDocumentsRequest_GetDocumentsRequestV1__storage_)
+ flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
+ static const char *oneofs[] = {
+ "start",
+ };
+ [localDescriptor setupOneofs:oneofs
+ count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
+ firstHasIndex:-1];
+ [localDescriptor setupContainingMessageClass:GPBObjCClass(GetDocumentsRequest)];
+ #if defined(DEBUG) && DEBUG
+ NSAssert(descriptor == nil, @"Startup recursed!");
+ #endif // DEBUG
+ descriptor = localDescriptor;
+ }
+ return descriptor;
+}
+
+@end
+
+int32_t GetDocumentsRequest_GetDocumentsRequestV1_Select_RawValue(GetDocumentsRequest_GetDocumentsRequestV1 *message) {
+ GPBDescriptor *descriptor = [GetDocumentsRequest_GetDocumentsRequestV1 descriptor];
+ GPBFieldDescriptor *field = [descriptor fieldWithNumber:GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_Select];
+ return GPBGetMessageRawEnumField(message, field);
+}
+
+void SetGetDocumentsRequest_GetDocumentsRequestV1_Select_RawValue(GetDocumentsRequest_GetDocumentsRequestV1 *message, int32_t value) {
+ GPBDescriptor *descriptor = [GetDocumentsRequest_GetDocumentsRequestV1 descriptor];
+ GPBFieldDescriptor *field = [descriptor fieldWithNumber:GetDocumentsRequest_GetDocumentsRequestV1_FieldNumber_Select];
+ GPBSetMessageRawEnumField(message, field, value);
+}
+
+void GetDocumentsRequest_GetDocumentsRequestV1_ClearStartOneOfCase(GetDocumentsRequest_GetDocumentsRequestV1 *message) {
+ GPBDescriptor *descriptor = [GetDocumentsRequest_GetDocumentsRequestV1 descriptor];
+ GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
+ GPBClearOneof(message, oneof);
+}
+#pragma mark - Enum GetDocumentsRequest_GetDocumentsRequestV1_Select
+
+GPBEnumDescriptor *GetDocumentsRequest_GetDocumentsRequestV1_Select_EnumDescriptor(void) {
+ static _Atomic(GPBEnumDescriptor*) descriptor = nil;
+ if (!descriptor) {
+ static const char *valueNames =
+ "Documents\000Count\000";
+ static const int32_t values[] = {
+ GetDocumentsRequest_GetDocumentsRequestV1_Select_Documents,
+ GetDocumentsRequest_GetDocumentsRequestV1_Select_Count,
+ };
+ GPBEnumDescriptor *worker =
+ [GPBEnumDescriptor allocDescriptorForName:GPBNSStringifySymbol(GetDocumentsRequest_GetDocumentsRequestV1_Select)
+ valueNames:valueNames
+ values:values
+ count:(uint32_t)(sizeof(values) / sizeof(int32_t))
+ enumVerifier:GetDocumentsRequest_GetDocumentsRequestV1_Select_IsValidValue];
+ GPBEnumDescriptor *expected = nil;
+ if (!atomic_compare_exchange_strong(&descriptor, &expected, worker)) {
+ [worker release];
+ }
+ }
+ return descriptor;
+}
+
+BOOL GetDocumentsRequest_GetDocumentsRequestV1_Select_IsValidValue(int32_t value__) {
+ switch (value__) {
+ case GetDocumentsRequest_GetDocumentsRequestV1_Select_Documents:
+ case GetDocumentsRequest_GetDocumentsRequestV1_Select_Count:
+ return YES;
+ default:
+ return NO;
+ }
+}
+
#pragma mark - GetDocumentsResponse
@implementation GetDocumentsResponse
@dynamic versionOneOfCase;
@dynamic v0;
+@dynamic v1;
typedef struct GetDocumentsResponse__storage_ {
uint32_t _has_storage_[2];
GetDocumentsResponse_GetDocumentsResponseV0 *v0;
+ GetDocumentsResponse_GetDocumentsResponseV1 *v1;
} GetDocumentsResponse__storage_;
// This method is threadsafe because it is initially called
@@ -5290,6 +5517,15 @@ + (GPBDescriptor *)descriptor {
.flags = GPBFieldOptional,
.dataType = GPBDataTypeMessage,
},
+ {
+ .name = "v1",
+ .dataTypeSpecific.clazz = GPBObjCClass(GetDocumentsResponse_GetDocumentsResponseV1),
+ .number = GetDocumentsResponse_FieldNumber_V1,
+ .hasIndex = -1,
+ .offset = (uint32_t)offsetof(GetDocumentsResponse__storage_, v1),
+ .flags = GPBFieldOptional,
+ .dataType = GPBDataTypeMessage,
+ },
};
GPBDescriptor *localDescriptor =
[GPBDescriptor allocDescriptorForClass:[GetDocumentsResponse class]
@@ -5446,17 +5682,21 @@ + (GPBDescriptor *)descriptor {
@end
-#pragma mark - GetDocumentsCountRequest
+#pragma mark - GetDocumentsResponse_GetDocumentsResponseV1
-@implementation GetDocumentsCountRequest
+@implementation GetDocumentsResponse_GetDocumentsResponseV1
-@dynamic versionOneOfCase;
-@dynamic v0;
+@dynamic resultOneOfCase;
+@dynamic data_p;
+@dynamic proof;
+@dynamic hasMetadata, metadata;
-typedef struct GetDocumentsCountRequest__storage_ {
+typedef struct GetDocumentsResponse_GetDocumentsResponseV1__storage_ {
uint32_t _has_storage_[2];
- GetDocumentsCountRequest_GetDocumentsCountRequestV0 *v0;
-} GetDocumentsCountRequest__storage_;
+ GetDocumentsResponse_GetDocumentsResponseV1_ResultData *data_p;
+ Proof *proof;
+ ResponseMetadata *metadata;
+} GetDocumentsResponse_GetDocumentsResponseV1__storage_;
// This method is threadsafe because it is initially called
// in +initialize for each subclass.
@@ -5465,196 +5705,48 @@ + (GPBDescriptor *)descriptor {
if (!descriptor) {
static GPBMessageFieldDescription fields[] = {
{
- .name = "v0",
- .dataTypeSpecific.clazz = GPBObjCClass(GetDocumentsCountRequest_GetDocumentsCountRequestV0),
- .number = GetDocumentsCountRequest_FieldNumber_V0,
+ .name = "data_p",
+ .dataTypeSpecific.clazz = GPBObjCClass(GetDocumentsResponse_GetDocumentsResponseV1_ResultData),
+ .number = GetDocumentsResponse_GetDocumentsResponseV1_FieldNumber_Data_p,
.hasIndex = -1,
- .offset = (uint32_t)offsetof(GetDocumentsCountRequest__storage_, v0),
+ .offset = (uint32_t)offsetof(GetDocumentsResponse_GetDocumentsResponseV1__storage_, data_p),
.flags = GPBFieldOptional,
.dataType = GPBDataTypeMessage,
},
- };
- GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetDocumentsCountRequest class]
- rootClass:[PlatformRoot class]
- file:PlatformRoot_FileDescriptor()
- fields:fields
- fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GetDocumentsCountRequest__storage_)
- flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- static const char *oneofs[] = {
- "version",
- };
- [localDescriptor setupOneofs:oneofs
- count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
- firstHasIndex:-1];
- #if defined(DEBUG) && DEBUG
- NSAssert(descriptor == nil, @"Startup recursed!");
- #endif // DEBUG
- descriptor = localDescriptor;
- }
- return descriptor;
-}
-
-@end
-
-void GetDocumentsCountRequest_ClearVersionOneOfCase(GetDocumentsCountRequest *message) {
- GPBDescriptor *descriptor = [GetDocumentsCountRequest descriptor];
- GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
- GPBClearOneof(message, oneof);
-}
-#pragma mark - GetDocumentsCountRequest_GetDocumentsCountRequestV0
-
-@implementation GetDocumentsCountRequest_GetDocumentsCountRequestV0
-
-@dynamic dataContractId;
-@dynamic documentType;
-@dynamic where;
-@dynamic returnDistinctCountsInRange;
-@dynamic orderBy;
-@dynamic hasLimit, limit;
-@dynamic prove;
-
-typedef struct GetDocumentsCountRequest_GetDocumentsCountRequestV0__storage_ {
- uint32_t _has_storage_[1];
- uint32_t limit;
- NSData *dataContractId;
- NSString *documentType;
- NSData *where;
- NSData *orderBy;
-} GetDocumentsCountRequest_GetDocumentsCountRequestV0__storage_;
-
-// This method is threadsafe because it is initially called
-// in +initialize for each subclass.
-+ (GPBDescriptor *)descriptor {
- static GPBDescriptor *descriptor = nil;
- if (!descriptor) {
- static GPBMessageFieldDescription fields[] = {
- {
- .name = "dataContractId",
- .dataTypeSpecific.clazz = Nil,
- .number = GetDocumentsCountRequest_GetDocumentsCountRequestV0_FieldNumber_DataContractId,
- .hasIndex = 0,
- .offset = (uint32_t)offsetof(GetDocumentsCountRequest_GetDocumentsCountRequestV0__storage_, dataContractId),
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeBytes,
- },
- {
- .name = "documentType",
- .dataTypeSpecific.clazz = Nil,
- .number = GetDocumentsCountRequest_GetDocumentsCountRequestV0_FieldNumber_DocumentType,
- .hasIndex = 1,
- .offset = (uint32_t)offsetof(GetDocumentsCountRequest_GetDocumentsCountRequestV0__storage_, documentType),
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeString,
- },
- {
- .name = "where",
- .dataTypeSpecific.clazz = Nil,
- .number = GetDocumentsCountRequest_GetDocumentsCountRequestV0_FieldNumber_Where,
- .hasIndex = 2,
- .offset = (uint32_t)offsetof(GetDocumentsCountRequest_GetDocumentsCountRequestV0__storage_, where),
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeBytes,
- },
{
- .name = "returnDistinctCountsInRange",
- .dataTypeSpecific.clazz = Nil,
- .number = GetDocumentsCountRequest_GetDocumentsCountRequestV0_FieldNumber_ReturnDistinctCountsInRange,
- .hasIndex = 3,
- .offset = 4, // Stored in _has_storage_ to save space.
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeBool,
- },
- {
- .name = "orderBy",
- .dataTypeSpecific.clazz = Nil,
- .number = GetDocumentsCountRequest_GetDocumentsCountRequestV0_FieldNumber_OrderBy,
- .hasIndex = 5,
- .offset = (uint32_t)offsetof(GetDocumentsCountRequest_GetDocumentsCountRequestV0__storage_, orderBy),
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeBytes,
- },
- {
- .name = "limit",
- .dataTypeSpecific.clazz = Nil,
- .number = GetDocumentsCountRequest_GetDocumentsCountRequestV0_FieldNumber_Limit,
- .hasIndex = 6,
- .offset = (uint32_t)offsetof(GetDocumentsCountRequest_GetDocumentsCountRequestV0__storage_, limit),
+ .name = "proof",
+ .dataTypeSpecific.clazz = GPBObjCClass(Proof),
+ .number = GetDocumentsResponse_GetDocumentsResponseV1_FieldNumber_Proof,
+ .hasIndex = -1,
+ .offset = (uint32_t)offsetof(GetDocumentsResponse_GetDocumentsResponseV1__storage_, proof),
.flags = GPBFieldOptional,
- .dataType = GPBDataTypeUInt32,
- },
- {
- .name = "prove",
- .dataTypeSpecific.clazz = Nil,
- .number = GetDocumentsCountRequest_GetDocumentsCountRequestV0_FieldNumber_Prove,
- .hasIndex = 7,
- .offset = 8, // Stored in _has_storage_ to save space.
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeBool,
+ .dataType = GPBDataTypeMessage,
},
- };
- GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetDocumentsCountRequest_GetDocumentsCountRequestV0 class]
- rootClass:[PlatformRoot class]
- file:PlatformRoot_FileDescriptor()
- fields:fields
- fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GetDocumentsCountRequest_GetDocumentsCountRequestV0__storage_)
- flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- [localDescriptor setupContainingMessageClass:GPBObjCClass(GetDocumentsCountRequest)];
- #if defined(DEBUG) && DEBUG
- NSAssert(descriptor == nil, @"Startup recursed!");
- #endif // DEBUG
- descriptor = localDescriptor;
- }
- return descriptor;
-}
-
-@end
-
-#pragma mark - GetDocumentsCountResponse
-
-@implementation GetDocumentsCountResponse
-
-@dynamic versionOneOfCase;
-@dynamic v0;
-
-typedef struct GetDocumentsCountResponse__storage_ {
- uint32_t _has_storage_[2];
- GetDocumentsCountResponse_GetDocumentsCountResponseV0 *v0;
-} GetDocumentsCountResponse__storage_;
-
-// This method is threadsafe because it is initially called
-// in +initialize for each subclass.
-+ (GPBDescriptor *)descriptor {
- static GPBDescriptor *descriptor = nil;
- if (!descriptor) {
- static GPBMessageFieldDescription fields[] = {
{
- .name = "v0",
- .dataTypeSpecific.clazz = GPBObjCClass(GetDocumentsCountResponse_GetDocumentsCountResponseV0),
- .number = GetDocumentsCountResponse_FieldNumber_V0,
- .hasIndex = -1,
- .offset = (uint32_t)offsetof(GetDocumentsCountResponse__storage_, v0),
+ .name = "metadata",
+ .dataTypeSpecific.clazz = GPBObjCClass(ResponseMetadata),
+ .number = GetDocumentsResponse_GetDocumentsResponseV1_FieldNumber_Metadata,
+ .hasIndex = 0,
+ .offset = (uint32_t)offsetof(GetDocumentsResponse_GetDocumentsResponseV1__storage_, metadata),
.flags = GPBFieldOptional,
.dataType = GPBDataTypeMessage,
},
};
GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetDocumentsCountResponse class]
+ [GPBDescriptor allocDescriptorForClass:[GetDocumentsResponse_GetDocumentsResponseV1 class]
rootClass:[PlatformRoot class]
file:PlatformRoot_FileDescriptor()
fields:fields
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GetDocumentsCountResponse__storage_)
+ storageSize:sizeof(GetDocumentsResponse_GetDocumentsResponseV1__storage_)
flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
static const char *oneofs[] = {
- "version",
+ "result",
};
[localDescriptor setupOneofs:oneofs
count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
firstHasIndex:-1];
+ [localDescriptor setupContainingMessageClass:GPBObjCClass(GetDocumentsResponse)];
#if defined(DEBUG) && DEBUG
NSAssert(descriptor == nil, @"Startup recursed!");
#endif // DEBUG
@@ -5665,26 +5757,21 @@ + (GPBDescriptor *)descriptor {
@end
-void GetDocumentsCountResponse_ClearVersionOneOfCase(GetDocumentsCountResponse *message) {
- GPBDescriptor *descriptor = [GetDocumentsCountResponse descriptor];
+void GetDocumentsResponse_GetDocumentsResponseV1_ClearResultOneOfCase(GetDocumentsResponse_GetDocumentsResponseV1 *message) {
+ GPBDescriptor *descriptor = [GetDocumentsResponse_GetDocumentsResponseV1 descriptor];
GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
GPBClearOneof(message, oneof);
}
-#pragma mark - GetDocumentsCountResponse_GetDocumentsCountResponseV0
+#pragma mark - GetDocumentsResponse_GetDocumentsResponseV1_Documents
-@implementation GetDocumentsCountResponse_GetDocumentsCountResponseV0
+@implementation GetDocumentsResponse_GetDocumentsResponseV1_Documents
-@dynamic resultOneOfCase;
-@dynamic counts;
-@dynamic proof;
-@dynamic hasMetadata, metadata;
+@dynamic documentsArray, documentsArray_Count;
-typedef struct GetDocumentsCountResponse_GetDocumentsCountResponseV0__storage_ {
- uint32_t _has_storage_[2];
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults *counts;
- Proof *proof;
- ResponseMetadata *metadata;
-} GetDocumentsCountResponse_GetDocumentsCountResponseV0__storage_;
+typedef struct GetDocumentsResponse_GetDocumentsResponseV1_Documents__storage_ {
+ uint32_t _has_storage_[1];
+ NSMutableArray *documentsArray;
+} GetDocumentsResponse_GetDocumentsResponseV1_Documents__storage_;
// This method is threadsafe because it is initially called
// in +initialize for each subclass.
@@ -5693,48 +5780,24 @@ + (GPBDescriptor *)descriptor {
if (!descriptor) {
static GPBMessageFieldDescription fields[] = {
{
- .name = "counts",
- .dataTypeSpecific.clazz = GPBObjCClass(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults),
- .number = GetDocumentsCountResponse_GetDocumentsCountResponseV0_FieldNumber_Counts,
- .hasIndex = -1,
- .offset = (uint32_t)offsetof(GetDocumentsCountResponse_GetDocumentsCountResponseV0__storage_, counts),
- .flags = GPBFieldOptional,
- .dataType = GPBDataTypeMessage,
- },
- {
- .name = "proof",
- .dataTypeSpecific.clazz = GPBObjCClass(Proof),
- .number = GetDocumentsCountResponse_GetDocumentsCountResponseV0_FieldNumber_Proof,
- .hasIndex = -1,
- .offset = (uint32_t)offsetof(GetDocumentsCountResponse_GetDocumentsCountResponseV0__storage_, proof),
- .flags = GPBFieldOptional,
- .dataType = GPBDataTypeMessage,
- },
- {
- .name = "metadata",
- .dataTypeSpecific.clazz = GPBObjCClass(ResponseMetadata),
- .number = GetDocumentsCountResponse_GetDocumentsCountResponseV0_FieldNumber_Metadata,
- .hasIndex = 0,
- .offset = (uint32_t)offsetof(GetDocumentsCountResponse_GetDocumentsCountResponseV0__storage_, metadata),
- .flags = GPBFieldOptional,
- .dataType = GPBDataTypeMessage,
+ .name = "documentsArray",
+ .dataTypeSpecific.clazz = Nil,
+ .number = GetDocumentsResponse_GetDocumentsResponseV1_Documents_FieldNumber_DocumentsArray,
+ .hasIndex = GPBNoHasBit,
+ .offset = (uint32_t)offsetof(GetDocumentsResponse_GetDocumentsResponseV1_Documents__storage_, documentsArray),
+ .flags = GPBFieldRepeated,
+ .dataType = GPBDataTypeBytes,
},
};
GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetDocumentsCountResponse_GetDocumentsCountResponseV0 class]
+ [GPBDescriptor allocDescriptorForClass:[GetDocumentsResponse_GetDocumentsResponseV1_Documents class]
rootClass:[PlatformRoot class]
file:PlatformRoot_FileDescriptor()
fields:fields
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GetDocumentsCountResponse_GetDocumentsCountResponseV0__storage_)
+ storageSize:sizeof(GetDocumentsResponse_GetDocumentsResponseV1_Documents__storage_)
flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- static const char *oneofs[] = {
- "result",
- };
- [localDescriptor setupOneofs:oneofs
- count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
- firstHasIndex:-1];
- [localDescriptor setupContainingMessageClass:GPBObjCClass(GetDocumentsCountResponse)];
+ [localDescriptor setupContainingMessageClass:GPBObjCClass(GetDocumentsResponse_GetDocumentsResponseV1)];
#if defined(DEBUG) && DEBUG
NSAssert(descriptor == nil, @"Startup recursed!");
#endif // DEBUG
@@ -5745,25 +5808,20 @@ + (GPBDescriptor *)descriptor {
@end
-void GetDocumentsCountResponse_GetDocumentsCountResponseV0_ClearResultOneOfCase(GetDocumentsCountResponse_GetDocumentsCountResponseV0 *message) {
- GPBDescriptor *descriptor = [GetDocumentsCountResponse_GetDocumentsCountResponseV0 descriptor];
- GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
- GPBClearOneof(message, oneof);
-}
-#pragma mark - GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry
+#pragma mark - GetDocumentsResponse_GetDocumentsResponseV1_CountEntry
-@implementation GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry
+@implementation GetDocumentsResponse_GetDocumentsResponseV1_CountEntry
@dynamic hasInKey, inKey;
@dynamic key;
@dynamic count;
-typedef struct GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry__storage_ {
+typedef struct GetDocumentsResponse_GetDocumentsResponseV1_CountEntry__storage_ {
uint32_t _has_storage_[1];
NSData *inKey;
NSData *key;
uint64_t count;
-} GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry__storage_;
+} GetDocumentsResponse_GetDocumentsResponseV1_CountEntry__storage_;
// This method is threadsafe because it is initially called
// in +initialize for each subclass.
@@ -5774,40 +5832,40 @@ + (GPBDescriptor *)descriptor {
{
.name = "inKey",
.dataTypeSpecific.clazz = Nil,
- .number = GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry_FieldNumber_InKey,
+ .number = GetDocumentsResponse_GetDocumentsResponseV1_CountEntry_FieldNumber_InKey,
.hasIndex = 0,
- .offset = (uint32_t)offsetof(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry__storage_, inKey),
+ .offset = (uint32_t)offsetof(GetDocumentsResponse_GetDocumentsResponseV1_CountEntry__storage_, inKey),
.flags = GPBFieldOptional,
.dataType = GPBDataTypeBytes,
},
{
.name = "key",
.dataTypeSpecific.clazz = Nil,
- .number = GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry_FieldNumber_Key,
+ .number = GetDocumentsResponse_GetDocumentsResponseV1_CountEntry_FieldNumber_Key,
.hasIndex = 1,
- .offset = (uint32_t)offsetof(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry__storage_, key),
+ .offset = (uint32_t)offsetof(GetDocumentsResponse_GetDocumentsResponseV1_CountEntry__storage_, key),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeBytes,
},
{
.name = "count",
.dataTypeSpecific.clazz = Nil,
- .number = GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry_FieldNumber_Count,
+ .number = GetDocumentsResponse_GetDocumentsResponseV1_CountEntry_FieldNumber_Count,
.hasIndex = 2,
- .offset = (uint32_t)offsetof(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry__storage_, count),
+ .offset = (uint32_t)offsetof(GetDocumentsResponse_GetDocumentsResponseV1_CountEntry__storage_, count),
.flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
.dataType = GPBDataTypeUInt64,
},
};
GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry class]
+ [GPBDescriptor allocDescriptorForClass:[GetDocumentsResponse_GetDocumentsResponseV1_CountEntry class]
rootClass:[PlatformRoot class]
file:PlatformRoot_FileDescriptor()
fields:fields
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry__storage_)
+ storageSize:sizeof(GetDocumentsResponse_GetDocumentsResponseV1_CountEntry__storage_)
flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- [localDescriptor setupContainingMessageClass:GPBObjCClass(GetDocumentsCountResponse_GetDocumentsCountResponseV0)];
+ [localDescriptor setupContainingMessageClass:GPBObjCClass(GetDocumentsResponse_GetDocumentsResponseV1)];
#if defined(DEBUG) && DEBUG
NSAssert(descriptor == nil, @"Startup recursed!");
#endif // DEBUG
@@ -5818,16 +5876,16 @@ + (GPBDescriptor *)descriptor {
@end
-#pragma mark - GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries
+#pragma mark - GetDocumentsResponse_GetDocumentsResponseV1_CountEntries
-@implementation GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries
+@implementation GetDocumentsResponse_GetDocumentsResponseV1_CountEntries
@dynamic entriesArray, entriesArray_Count;
-typedef struct GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries__storage_ {
+typedef struct GetDocumentsResponse_GetDocumentsResponseV1_CountEntries__storage_ {
uint32_t _has_storage_[1];
NSMutableArray *entriesArray;
-} GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries__storage_;
+} GetDocumentsResponse_GetDocumentsResponseV1_CountEntries__storage_;
// This method is threadsafe because it is initially called
// in +initialize for each subclass.
@@ -5837,23 +5895,23 @@ + (GPBDescriptor *)descriptor {
static GPBMessageFieldDescription fields[] = {
{
.name = "entriesArray",
- .dataTypeSpecific.clazz = GPBObjCClass(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntry),
- .number = GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries_FieldNumber_EntriesArray,
+ .dataTypeSpecific.clazz = GPBObjCClass(GetDocumentsResponse_GetDocumentsResponseV1_CountEntry),
+ .number = GetDocumentsResponse_GetDocumentsResponseV1_CountEntries_FieldNumber_EntriesArray,
.hasIndex = GPBNoHasBit,
- .offset = (uint32_t)offsetof(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries__storage_, entriesArray),
+ .offset = (uint32_t)offsetof(GetDocumentsResponse_GetDocumentsResponseV1_CountEntries__storage_, entriesArray),
.flags = GPBFieldRepeated,
.dataType = GPBDataTypeMessage,
},
};
GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries class]
+ [GPBDescriptor allocDescriptorForClass:[GetDocumentsResponse_GetDocumentsResponseV1_CountEntries class]
rootClass:[PlatformRoot class]
file:PlatformRoot_FileDescriptor()
fields:fields
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries__storage_)
+ storageSize:sizeof(GetDocumentsResponse_GetDocumentsResponseV1_CountEntries__storage_)
flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- [localDescriptor setupContainingMessageClass:GPBObjCClass(GetDocumentsCountResponse_GetDocumentsCountResponseV0)];
+ [localDescriptor setupContainingMessageClass:GPBObjCClass(GetDocumentsResponse_GetDocumentsResponseV1)];
#if defined(DEBUG) && DEBUG
NSAssert(descriptor == nil, @"Startup recursed!");
#endif // DEBUG
@@ -5864,19 +5922,19 @@ + (GPBDescriptor *)descriptor {
@end
-#pragma mark - GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults
+#pragma mark - GetDocumentsResponse_GetDocumentsResponseV1_CountResults
-@implementation GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults
+@implementation GetDocumentsResponse_GetDocumentsResponseV1_CountResults
@dynamic variantOneOfCase;
@dynamic aggregateCount;
@dynamic entries;
-typedef struct GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults__storage_ {
+typedef struct GetDocumentsResponse_GetDocumentsResponseV1_CountResults__storage_ {
uint32_t _has_storage_[2];
- GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries *entries;
+ GetDocumentsResponse_GetDocumentsResponseV1_CountEntries *entries;
uint64_t aggregateCount;
-} GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults__storage_;
+} GetDocumentsResponse_GetDocumentsResponseV1_CountResults__storage_;
// This method is threadsafe because it is initially called
// in +initialize for each subclass.
@@ -5887,29 +5945,98 @@ + (GPBDescriptor *)descriptor {
{
.name = "aggregateCount",
.dataTypeSpecific.clazz = Nil,
- .number = GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults_FieldNumber_AggregateCount,
+ .number = GetDocumentsResponse_GetDocumentsResponseV1_CountResults_FieldNumber_AggregateCount,
.hasIndex = -1,
- .offset = (uint32_t)offsetof(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults__storage_, aggregateCount),
+ .offset = (uint32_t)offsetof(GetDocumentsResponse_GetDocumentsResponseV1_CountResults__storage_, aggregateCount),
.flags = GPBFieldOptional,
.dataType = GPBDataTypeUInt64,
},
{
.name = "entries",
- .dataTypeSpecific.clazz = GPBObjCClass(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountEntries),
- .number = GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults_FieldNumber_Entries,
+ .dataTypeSpecific.clazz = GPBObjCClass(GetDocumentsResponse_GetDocumentsResponseV1_CountEntries),
+ .number = GetDocumentsResponse_GetDocumentsResponseV1_CountResults_FieldNumber_Entries,
+ .hasIndex = -1,
+ .offset = (uint32_t)offsetof(GetDocumentsResponse_GetDocumentsResponseV1_CountResults__storage_, entries),
+ .flags = GPBFieldOptional,
+ .dataType = GPBDataTypeMessage,
+ },
+ };
+ GPBDescriptor *localDescriptor =
+ [GPBDescriptor allocDescriptorForClass:[GetDocumentsResponse_GetDocumentsResponseV1_CountResults class]
+ rootClass:[PlatformRoot class]
+ file:PlatformRoot_FileDescriptor()
+ fields:fields
+ fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
+ storageSize:sizeof(GetDocumentsResponse_GetDocumentsResponseV1_CountResults__storage_)
+ flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
+ static const char *oneofs[] = {
+ "variant",
+ };
+ [localDescriptor setupOneofs:oneofs
+ count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
+ firstHasIndex:-1];
+ [localDescriptor setupContainingMessageClass:GPBObjCClass(GetDocumentsResponse_GetDocumentsResponseV1)];
+ #if defined(DEBUG) && DEBUG
+ NSAssert(descriptor == nil, @"Startup recursed!");
+ #endif // DEBUG
+ descriptor = localDescriptor;
+ }
+ return descriptor;
+}
+
+@end
+
+void GetDocumentsResponse_GetDocumentsResponseV1_CountResults_ClearVariantOneOfCase(GetDocumentsResponse_GetDocumentsResponseV1_CountResults *message) {
+ GPBDescriptor *descriptor = [GetDocumentsResponse_GetDocumentsResponseV1_CountResults descriptor];
+ GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
+ GPBClearOneof(message, oneof);
+}
+#pragma mark - GetDocumentsResponse_GetDocumentsResponseV1_ResultData
+
+@implementation GetDocumentsResponse_GetDocumentsResponseV1_ResultData
+
+@dynamic variantOneOfCase;
+@dynamic documents;
+@dynamic counts;
+
+typedef struct GetDocumentsResponse_GetDocumentsResponseV1_ResultData__storage_ {
+ uint32_t _has_storage_[2];
+ GetDocumentsResponse_GetDocumentsResponseV1_Documents *documents;
+ GetDocumentsResponse_GetDocumentsResponseV1_CountResults *counts;
+} GetDocumentsResponse_GetDocumentsResponseV1_ResultData__storage_;
+
+// This method is threadsafe because it is initially called
+// in +initialize for each subclass.
++ (GPBDescriptor *)descriptor {
+ static GPBDescriptor *descriptor = nil;
+ if (!descriptor) {
+ static GPBMessageFieldDescription fields[] = {
+ {
+ .name = "documents",
+ .dataTypeSpecific.clazz = GPBObjCClass(GetDocumentsResponse_GetDocumentsResponseV1_Documents),
+ .number = GetDocumentsResponse_GetDocumentsResponseV1_ResultData_FieldNumber_Documents,
+ .hasIndex = -1,
+ .offset = (uint32_t)offsetof(GetDocumentsResponse_GetDocumentsResponseV1_ResultData__storage_, documents),
+ .flags = GPBFieldOptional,
+ .dataType = GPBDataTypeMessage,
+ },
+ {
+ .name = "counts",
+ .dataTypeSpecific.clazz = GPBObjCClass(GetDocumentsResponse_GetDocumentsResponseV1_CountResults),
+ .number = GetDocumentsResponse_GetDocumentsResponseV1_ResultData_FieldNumber_Counts,
.hasIndex = -1,
- .offset = (uint32_t)offsetof(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults__storage_, entries),
+ .offset = (uint32_t)offsetof(GetDocumentsResponse_GetDocumentsResponseV1_ResultData__storage_, counts),
.flags = GPBFieldOptional,
.dataType = GPBDataTypeMessage,
},
};
GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults class]
+ [GPBDescriptor allocDescriptorForClass:[GetDocumentsResponse_GetDocumentsResponseV1_ResultData class]
rootClass:[PlatformRoot class]
file:PlatformRoot_FileDescriptor()
fields:fields
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults__storage_)
+ storageSize:sizeof(GetDocumentsResponse_GetDocumentsResponseV1_ResultData__storage_)
flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
static const char *oneofs[] = {
"variant",
@@ -5917,7 +6044,7 @@ + (GPBDescriptor *)descriptor {
[localDescriptor setupOneofs:oneofs
count:(uint32_t)(sizeof(oneofs) / sizeof(char*))
firstHasIndex:-1];
- [localDescriptor setupContainingMessageClass:GPBObjCClass(GetDocumentsCountResponse_GetDocumentsCountResponseV0)];
+ [localDescriptor setupContainingMessageClass:GPBObjCClass(GetDocumentsResponse_GetDocumentsResponseV1)];
#if defined(DEBUG) && DEBUG
NSAssert(descriptor == nil, @"Startup recursed!");
#endif // DEBUG
@@ -5928,8 +6055,8 @@ + (GPBDescriptor *)descriptor {
@end
-void GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults_ClearVariantOneOfCase(GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults *message) {
- GPBDescriptor *descriptor = [GetDocumentsCountResponse_GetDocumentsCountResponseV0_CountResults descriptor];
+void GetDocumentsResponse_GetDocumentsResponseV1_ResultData_ClearVariantOneOfCase(GetDocumentsResponse_GetDocumentsResponseV1_ResultData *message) {
+ GPBDescriptor *descriptor = [GetDocumentsResponse_GetDocumentsResponseV1_ResultData descriptor];
GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
GPBClearOneof(message, oneof);
}
diff --git a/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.h b/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.h
index 614772fb595..d1ea38a97c9 100644
--- a/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.h
+++ b/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.h
@@ -42,8 +42,6 @@
@class GetDataContractResponse;
@class GetDataContractsRequest;
@class GetDataContractsResponse;
-@class GetDocumentsCountRequest;
-@class GetDocumentsCountResponse;
@class GetDocumentsRequest;
@class GetDocumentsResponse;
@class GetEpochsInfoRequest;
@@ -232,12 +230,15 @@ NS_ASSUME_NONNULL_BEGIN
- (GRPCUnaryProtoCall *)getDocumentsWithMessage:(GetDocumentsRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;
-#pragma mark getDocumentsCount(GetDocumentsCountRequest) returns (GetDocumentsCountResponse)
-
-- (GRPCUnaryProtoCall *)getDocumentsCountWithMessage:(GetDocumentsCountRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;
-
#pragma mark getIdentityByPublicKeyHash(GetIdentityByPublicKeyHashRequest) returns (GetIdentityByPublicKeyHashResponse)
+/**
+ * `getDocumentsCount` removed in v1: callers express counts via
+ * `getDocuments` with `version.v1.select = COUNT` (optionally
+ * with `group_by`). See `GetDocumentsRequestV1` for the unified
+ * SQL-shaped surface. The v0-count endpoint shipped briefly in
+ * #3623 and never had stable callers; v1 supersedes it entirely.
+ */
- (GRPCUnaryProtoCall *)getIdentityByPublicKeyHashWithMessage:(GetIdentityByPublicKeyHashRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;
#pragma mark getIdentityByNonUniquePublicKeyHash(GetIdentityByNonUniquePublicKeyHashRequest) returns (GetIdentityByNonUniquePublicKeyHashResponse)
@@ -565,17 +566,28 @@ NS_ASSUME_NONNULL_BEGIN
- (GRPCProtoCall *)RPCTogetDocumentsWithRequest:(GetDocumentsRequest *)request handler:(void(^)(GetDocumentsResponse *_Nullable response, NSError *_Nullable error))handler;
-#pragma mark getDocumentsCount(GetDocumentsCountRequest) returns (GetDocumentsCountResponse)
-
-- (void)getDocumentsCountWithRequest:(GetDocumentsCountRequest *)request handler:(void(^)(GetDocumentsCountResponse *_Nullable response, NSError *_Nullable error))handler;
-
-- (GRPCProtoCall *)RPCTogetDocumentsCountWithRequest:(GetDocumentsCountRequest *)request handler:(void(^)(GetDocumentsCountResponse *_Nullable response, NSError *_Nullable error))handler;
-
-
#pragma mark getIdentityByPublicKeyHash(GetIdentityByPublicKeyHashRequest) returns (GetIdentityByPublicKeyHashResponse)
+/**
+ * `getDocumentsCount` removed in v1: callers express counts via
+ * `getDocuments` with `version.v1.select = COUNT` (optionally
+ * with `group_by`). See `GetDocumentsRequestV1` for the unified
+ * SQL-shaped surface. The v0-count endpoint shipped briefly in
+ * #3623 and never had stable callers; v1 supersedes it entirely.
+ *
+ * This method belongs to a set of APIs that have been deprecated. Using the v2 API is recommended.
+ */
- (void)getIdentityByPublicKeyHashWithRequest:(GetIdentityByPublicKeyHashRequest *)request handler:(void(^)(GetIdentityByPublicKeyHashResponse *_Nullable response, NSError *_Nullable error))handler;
+/**
+ * `getDocumentsCount` removed in v1: callers express counts via
+ * `getDocuments` with `version.v1.select = COUNT` (optionally
+ * with `group_by`). See `GetDocumentsRequestV1` for the unified
+ * SQL-shaped surface. The v0-count endpoint shipped briefly in
+ * #3623 and never had stable callers; v1 supersedes it entirely.
+ *
+ * This method belongs to a set of APIs that have been deprecated. Using the v2 API is recommended.
+ */
- (GRPCProtoCall *)RPCTogetIdentityByPublicKeyHashWithRequest:(GetIdentityByPublicKeyHashRequest *)request handler:(void(^)(GetIdentityByPublicKeyHashResponse *_Nullable response, NSError *_Nullable error))handler;
diff --git a/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.m b/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.m
index 95bfaa8245a..9869906e900 100644
--- a/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.m
+++ b/packages/dapi-grpc/clients/platform/v0/objective-c/Platform.pbrpc.m
@@ -383,38 +383,43 @@ - (GRPCUnaryProtoCall *)getDocumentsWithMessage:(GetDocumentsRequest *)message r
responseClass:[GetDocumentsResponse class]];
}
-#pragma mark getDocumentsCount(GetDocumentsCountRequest) returns (GetDocumentsCountResponse)
-
-- (void)getDocumentsCountWithRequest:(GetDocumentsCountRequest *)request handler:(void(^)(GetDocumentsCountResponse *_Nullable response, NSError *_Nullable error))handler{
- [[self RPCTogetDocumentsCountWithRequest:request handler:handler] start];
-}
-// Returns a not-yet-started RPC object.
-- (GRPCProtoCall *)RPCTogetDocumentsCountWithRequest:(GetDocumentsCountRequest *)request handler:(void(^)(GetDocumentsCountResponse *_Nullable response, NSError *_Nullable error))handler{
- return [self RPCToMethod:@"getDocumentsCount"
- requestsWriter:[GRXWriter writerWithValue:request]
- responseClass:[GetDocumentsCountResponse class]
- responsesWriteable:[GRXWriteable writeableWithSingleHandler:handler]];
-}
-- (GRPCUnaryProtoCall *)getDocumentsCountWithMessage:(GetDocumentsCountRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions {
- return [self RPCToMethod:@"getDocumentsCount"
- message:message
- responseHandler:handler
- callOptions:callOptions
- responseClass:[GetDocumentsCountResponse class]];
-}
-
#pragma mark getIdentityByPublicKeyHash(GetIdentityByPublicKeyHashRequest) returns (GetIdentityByPublicKeyHashResponse)
+/**
+ * `getDocumentsCount` removed in v1: callers express counts via
+ * `getDocuments` with `version.v1.select = COUNT` (optionally
+ * with `group_by`). See `GetDocumentsRequestV1` for the unified
+ * SQL-shaped surface. The v0-count endpoint shipped briefly in
+ * #3623 and never had stable callers; v1 supersedes it entirely.
+ *
+ * This method belongs to a set of APIs that have been deprecated. Using the v2 API is recommended.
+ */
- (void)getIdentityByPublicKeyHashWithRequest:(GetIdentityByPublicKeyHashRequest *)request handler:(void(^)(GetIdentityByPublicKeyHashResponse *_Nullable response, NSError *_Nullable error))handler{
[[self RPCTogetIdentityByPublicKeyHashWithRequest:request handler:handler] start];
}
// Returns a not-yet-started RPC object.
+/**
+ * `getDocumentsCount` removed in v1: callers express counts via
+ * `getDocuments` with `version.v1.select = COUNT` (optionally
+ * with `group_by`). See `GetDocumentsRequestV1` for the unified
+ * SQL-shaped surface. The v0-count endpoint shipped briefly in
+ * #3623 and never had stable callers; v1 supersedes it entirely.
+ *
+ * This method belongs to a set of APIs that have been deprecated. Using the v2 API is recommended.
+ */
- (GRPCProtoCall *)RPCTogetIdentityByPublicKeyHashWithRequest:(GetIdentityByPublicKeyHashRequest *)request handler:(void(^)(GetIdentityByPublicKeyHashResponse *_Nullable response, NSError *_Nullable error))handler{
return [self RPCToMethod:@"getIdentityByPublicKeyHash"
requestsWriter:[GRXWriter writerWithValue:request]
responseClass:[GetIdentityByPublicKeyHashResponse class]
responsesWriteable:[GRXWriteable writeableWithSingleHandler:handler]];
}
+/**
+ * `getDocumentsCount` removed in v1: callers express counts via
+ * `getDocuments` with `version.v1.select = COUNT` (optionally
+ * with `group_by`). See `GetDocumentsRequestV1` for the unified
+ * SQL-shaped surface. The v0-count endpoint shipped briefly in
+ * #3623 and never had stable callers; v1 supersedes it entirely.
+ */
- (GRPCUnaryProtoCall *)getIdentityByPublicKeyHashWithMessage:(GetIdentityByPublicKeyHashRequest *)message responseHandler:(id)handler callOptions:(GRPCCallOptions *_Nullable)callOptions {
return [self RPCToMethod:@"getIdentityByPublicKeyHash"
message:message
diff --git a/packages/dapi-grpc/clients/platform/v0/python/platform_pb2.py b/packages/dapi-grpc/clients/platform/v0/python/platform_pb2.py
index cc449f137d3..2d58d18e9fc 100644
--- a/packages/dapi-grpc/clients/platform/v0/python/platform_pb2.py
+++ b/packages/dapi-grpc/clients/platform/v0/python/platform_pb2.py
@@ -23,7 +23,7 @@
syntax='proto3',
serialized_options=None,
create_key=_descriptor._internal_create_key,
- serialized_pb=b'\n\x0eplatform.proto\x12\x19org.dash.platform.dapi.v0\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x81\x01\n\x05Proof\x12\x15\n\rgrovedb_proof\x18\x01 \x01(\x0c\x12\x13\n\x0bquorum_hash\x18\x02 \x01(\x0c\x12\x11\n\tsignature\x18\x03 \x01(\x0c\x12\r\n\x05round\x18\x04 \x01(\r\x12\x15\n\rblock_id_hash\x18\x05 \x01(\x0c\x12\x13\n\x0bquorum_type\x18\x06 \x01(\r\"\x98\x01\n\x10ResponseMetadata\x12\x12\n\x06height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12 \n\x18\x63ore_chain_locked_height\x18\x02 \x01(\r\x12\r\n\x05\x65poch\x18\x03 \x01(\r\x12\x13\n\x07time_ms\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x18\n\x10protocol_version\x18\x05 \x01(\r\x12\x10\n\x08\x63hain_id\x18\x06 \x01(\t\"L\n\x1dStateTransitionBroadcastError\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\";\n\x1f\x42roadcastStateTransitionRequest\x12\x18\n\x10state_transition\x18\x01 \x01(\x0c\"\"\n BroadcastStateTransitionResponse\"\xa4\x01\n\x12GetIdentityRequest\x12P\n\x02v0\x18\x01 \x01(\x0b\x32\x42.org.dash.platform.dapi.v0.GetIdentityRequest.GetIdentityRequestV0H\x00\x1a\x31\n\x14GetIdentityRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xc1\x01\n\x17GetIdentityNonceRequest\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0H\x00\x1a?\n\x19GetIdentityNonceRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xf6\x01\n\x1fGetIdentityContractNonceRequest\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0H\x00\x1a\\\n!GetIdentityContractNonceRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xc0\x01\n\x19GetIdentityBalanceRequest\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0H\x00\x1a\x38\n\x1bGetIdentityBalanceRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xec\x01\n$GetIdentityBalanceAndRevisionRequest\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0H\x00\x1a\x43\n&GetIdentityBalanceAndRevisionRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x9e\x02\n\x13GetIdentityResponse\x12R\n\x02v0\x18\x01 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0H\x00\x1a\xa7\x01\n\x15GetIdentityResponseV0\x12\x12\n\x08identity\x18\x01 \x01(\x0cH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xbc\x02\n\x18GetIdentityNonceResponse\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0H\x00\x1a\xb6\x01\n\x1aGetIdentityNonceResponseV0\x12\x1c\n\x0eidentity_nonce\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xe5\x02\n GetIdentityContractNonceResponse\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0H\x00\x1a\xc7\x01\n\"GetIdentityContractNonceResponseV0\x12%\n\x17identity_contract_nonce\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xbd\x02\n\x1aGetIdentityBalanceResponse\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.GetIdentityBalanceResponseV0H\x00\x1a\xb1\x01\n\x1cGetIdentityBalanceResponseV0\x12\x15\n\x07\x62\x61lance\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xb1\x04\n%GetIdentityBalanceAndRevisionResponse\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.GetIdentityBalanceAndRevisionResponseV0H\x00\x1a\x84\x03\n\'GetIdentityBalanceAndRevisionResponseV0\x12\x9b\x01\n\x14\x62\x61lance_and_revision\x18\x01 \x01(\x0b\x32{.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.GetIdentityBalanceAndRevisionResponseV0.BalanceAndRevisionH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a?\n\x12\x42\x61lanceAndRevision\x12\x13\n\x07\x62\x61lance\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x14\n\x08revision\x18\x02 \x01(\x04\x42\x02\x30\x01\x42\x08\n\x06resultB\t\n\x07version\"\xd1\x01\n\x0eKeyRequestType\x12\x36\n\x08\x61ll_keys\x18\x01 \x01(\x0b\x32\".org.dash.platform.dapi.v0.AllKeysH\x00\x12@\n\rspecific_keys\x18\x02 \x01(\x0b\x32\'.org.dash.platform.dapi.v0.SpecificKeysH\x00\x12:\n\nsearch_key\x18\x03 \x01(\x0b\x32$.org.dash.platform.dapi.v0.SearchKeyH\x00\x42\t\n\x07request\"\t\n\x07\x41llKeys\"\x1f\n\x0cSpecificKeys\x12\x0f\n\x07key_ids\x18\x01 \x03(\r\"\xb6\x01\n\tSearchKey\x12I\n\x0bpurpose_map\x18\x01 \x03(\x0b\x32\x34.org.dash.platform.dapi.v0.SearchKey.PurposeMapEntry\x1a^\n\x0fPurposeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.org.dash.platform.dapi.v0.SecurityLevelMap:\x02\x38\x01\"\xbf\x02\n\x10SecurityLevelMap\x12]\n\x12security_level_map\x18\x01 \x03(\x0b\x32\x41.org.dash.platform.dapi.v0.SecurityLevelMap.SecurityLevelMapEntry\x1aw\n\x15SecurityLevelMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12M\n\x05value\x18\x02 \x01(\x0e\x32>.org.dash.platform.dapi.v0.SecurityLevelMap.KeyKindRequestType:\x02\x38\x01\"S\n\x12KeyKindRequestType\x12\x1f\n\x1b\x43URRENT_KEY_OF_KIND_REQUEST\x10\x00\x12\x1c\n\x18\x41LL_KEYS_OF_KIND_REQUEST\x10\x01\"\xda\x02\n\x16GetIdentityKeysRequest\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetIdentityKeysRequest.GetIdentityKeysRequestV0H\x00\x1a\xda\x01\n\x18GetIdentityKeysRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12?\n\x0crequest_type\x18\x02 \x01(\x0b\x32).org.dash.platform.dapi.v0.KeyRequestType\x12+\n\x05limit\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12,\n\x06offset\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\t\n\x07version\"\x99\x03\n\x17GetIdentityKeysResponse\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetIdentityKeysResponse.GetIdentityKeysResponseV0H\x00\x1a\x96\x02\n\x19GetIdentityKeysResponseV0\x12\x61\n\x04keys\x18\x01 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetIdentityKeysResponse.GetIdentityKeysResponseV0.KeysH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1a\n\x04Keys\x12\x12\n\nkeys_bytes\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\xef\x02\n GetIdentitiesContractKeysRequest\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetIdentitiesContractKeysRequest.GetIdentitiesContractKeysRequestV0H\x00\x1a\xd1\x01\n\"GetIdentitiesContractKeysRequestV0\x12\x16\n\x0eidentities_ids\x18\x01 \x03(\x0c\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\x0c\x12\x1f\n\x12\x64ocument_type_name\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x37\n\x08purposes\x18\x04 \x03(\x0e\x32%.org.dash.platform.dapi.v0.KeyPurpose\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x15\n\x13_document_type_nameB\t\n\x07version\"\xdf\x06\n!GetIdentitiesContractKeysResponse\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0H\x00\x1a\xbe\x05\n#GetIdentitiesContractKeysResponseV0\x12\x8a\x01\n\x0fidentities_keys\x18\x01 \x01(\x0b\x32o.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentitiesKeysH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aY\n\x0bPurposeKeys\x12\x36\n\x07purpose\x18\x01 \x01(\x0e\x32%.org.dash.platform.dapi.v0.KeyPurpose\x12\x12\n\nkeys_bytes\x18\x02 \x03(\x0c\x1a\x9f\x01\n\x0cIdentityKeys\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12z\n\x04keys\x18\x02 \x03(\x0b\x32l.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.PurposeKeys\x1a\x90\x01\n\x0eIdentitiesKeys\x12~\n\x07\x65ntries\x18\x01 \x03(\x0b\x32m.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentityKeysB\x08\n\x06resultB\t\n\x07version\"\xa4\x02\n*GetEvonodesProposedEpochBlocksByIdsRequest\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0H\x00\x1ah\n,GetEvonodesProposedEpochBlocksByIdsRequestV0\x12\x12\n\x05\x65poch\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x0b\n\x03ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\x08\n\x06_epochB\t\n\x07version\"\x92\x06\n&GetEvonodesProposedEpochBlocksResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0H\x00\x1a\xe2\x04\n(GetEvonodesProposedEpochBlocksResponseV0\x12\xb1\x01\n#evonodes_proposed_block_counts_info\x18\x01 \x01(\x0b\x32\x81\x01.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0.EvonodesProposedBlocksH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a?\n\x15\x45vonodeProposedBlocks\x12\x13\n\x0bpro_tx_hash\x18\x01 \x01(\x0c\x12\x11\n\x05\x63ount\x18\x02 \x01(\x04\x42\x02\x30\x01\x1a\xc4\x01\n\x16\x45vonodesProposedBlocks\x12\xa9\x01\n\x1e\x65vonodes_proposed_block_counts\x18\x01 \x03(\x0b\x32\x80\x01.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0.EvonodeProposedBlocksB\x08\n\x06resultB\t\n\x07version\"\xf2\x02\n,GetEvonodesProposedEpochBlocksByRangeRequest\x12\x84\x01\n\x02v0\x18\x01 \x01(\x0b\x32v.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0H\x00\x1a\xaf\x01\n.GetEvonodesProposedEpochBlocksByRangeRequestV0\x12\x12\n\x05\x65poch\x18\x01 \x01(\rH\x01\x88\x01\x01\x12\x12\n\x05limit\x18\x02 \x01(\rH\x02\x88\x01\x01\x12\x15\n\x0bstart_after\x18\x03 \x01(\x0cH\x00\x12\x12\n\x08start_at\x18\x04 \x01(\x0cH\x00\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x07\n\x05startB\x08\n\x06_epochB\x08\n\x06_limitB\t\n\x07version\"\xcd\x01\n\x1cGetIdentitiesBalancesRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0H\x00\x1a<\n\x1eGetIdentitiesBalancesRequestV0\x12\x0b\n\x03ids\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x9f\x05\n\x1dGetIdentitiesBalancesResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0H\x00\x1a\x8a\x04\n\x1fGetIdentitiesBalancesResponseV0\x12\x8a\x01\n\x13identities_balances\x18\x01 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0.IdentitiesBalancesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aL\n\x0fIdentityBalance\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x18\n\x07\x62\x61lance\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x42\n\n\x08_balance\x1a\x8f\x01\n\x12IdentitiesBalances\x12y\n\x07\x65ntries\x18\x01 \x03(\x0b\x32h.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0.IdentityBalanceB\x08\n\x06resultB\t\n\x07version\"\xb4\x01\n\x16GetDataContractRequest\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetDataContractRequest.GetDataContractRequestV0H\x00\x1a\x35\n\x18GetDataContractRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xb3\x02\n\x17GetDataContractResponse\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetDataContractResponse.GetDataContractResponseV0H\x00\x1a\xb0\x01\n\x19GetDataContractResponseV0\x12\x17\n\rdata_contract\x18\x01 \x01(\x0cH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xb9\x01\n\x17GetDataContractsRequest\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0H\x00\x1a\x37\n\x19GetDataContractsRequestV0\x12\x0b\n\x03ids\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xcf\x04\n\x18GetDataContractsResponse\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetDataContractsResponse.GetDataContractsResponseV0H\x00\x1a[\n\x11\x44\x61taContractEntry\x12\x12\n\nidentifier\x18\x01 \x01(\x0c\x12\x32\n\rdata_contract\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.BytesValue\x1au\n\rDataContracts\x12\x64\n\x15\x64\x61ta_contract_entries\x18\x01 \x03(\x0b\x32\x45.org.dash.platform.dapi.v0.GetDataContractsResponse.DataContractEntry\x1a\xf5\x01\n\x1aGetDataContractsResponseV0\x12[\n\x0e\x64\x61ta_contracts\x18\x01 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetDataContractsResponse.DataContractsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc5\x02\n\x1dGetDataContractHistoryRequest\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.GetDataContractHistoryRequestV0H\x00\x1a\xb0\x01\n\x1fGetDataContractHistoryRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12+\n\x05limit\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12,\n\x06offset\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\x17\n\x0bstart_at_ms\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\t\n\x07version\"\xb2\x05\n\x1eGetDataContractHistoryResponse\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.GetDataContractHistoryResponseV0H\x00\x1a\x9a\x04\n GetDataContractHistoryResponseV0\x12\x8f\x01\n\x15\x64\x61ta_contract_history\x18\x01 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.GetDataContractHistoryResponseV0.DataContractHistoryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a;\n\x18\x44\x61taContractHistoryEntry\x12\x10\n\x04\x64\x61te\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05value\x18\x02 \x01(\x0c\x1a\xaa\x01\n\x13\x44\x61taContractHistory\x12\x92\x01\n\x15\x64\x61ta_contract_entries\x18\x01 \x03(\x0b\x32s.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.GetDataContractHistoryResponseV0.DataContractHistoryEntryB\x08\n\x06resultB\t\n\x07version\"\xb2\x02\n\x13GetDocumentsRequest\x12R\n\x02v0\x18\x01 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0H\x00\x1a\xbb\x01\n\x15GetDocumentsRequestV0\x12\x18\n\x10\x64\x61ta_contract_id\x18\x01 \x01(\x0c\x12\x15\n\rdocument_type\x18\x02 \x01(\t\x12\r\n\x05where\x18\x03 \x01(\x0c\x12\x10\n\x08order_by\x18\x04 \x01(\x0c\x12\r\n\x05limit\x18\x05 \x01(\r\x12\x15\n\x0bstart_after\x18\x06 \x01(\x0cH\x00\x12\x12\n\x08start_at\x18\x07 \x01(\x0cH\x00\x12\r\n\x05prove\x18\x08 \x01(\x08\x42\x07\n\x05startB\t\n\x07version\"\x95\x03\n\x14GetDocumentsResponse\x12T\n\x02v0\x18\x01 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0H\x00\x1a\x9b\x02\n\x16GetDocumentsResponseV0\x12\x65\n\tdocuments\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.DocumentsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1e\n\tDocuments\x12\x11\n\tdocuments\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\xca\x02\n\x18GetDocumentsCountRequest\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0H\x00\x1a\xc4\x01\n\x1aGetDocumentsCountRequestV0\x12\x18\n\x10\x64\x61ta_contract_id\x18\x01 \x01(\x0c\x12\x15\n\rdocument_type\x18\x02 \x01(\t\x12\r\n\x05where\x18\x03 \x01(\x0c\x12\'\n\x1freturn_distinct_counts_in_range\x18\x04 \x01(\x08\x12\x10\n\x08order_by\x18\x05 \x01(\x0c\x12\x12\n\x05limit\x18\x06 \x01(\rH\x00\x88\x01\x01\x12\r\n\x05prove\x18\x07 \x01(\x08\x42\x08\n\x06_limitB\t\n\x07version\"\x8c\x06\n\x19GetDocumentsCountResponse\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0H\x00\x1a\x83\x05\n\x1bGetDocumentsCountResponseV0\x12o\n\x06\x63ounts\x18\x01 \x01(\x0b\x32].org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResultsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aL\n\nCountEntry\x12\x13\n\x06in_key\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x0b\n\x03key\x18\x02 \x01(\x0c\x12\x11\n\x05\x63ount\x18\x03 \x01(\x04\x42\x02\x30\x01\x42\t\n\x07_in_key\x1a|\n\x0c\x43ountEntries\x12l\n\x07\x65ntries\x18\x01 \x03(\x0b\x32[.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry\x1a\xaa\x01\n\x0c\x43ountResults\x12\x1d\n\x0f\x61ggregate_count\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12p\n\x07\x65ntries\x18\x02 \x01(\x0b\x32].org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntriesH\x00\x42\t\n\x07variantB\x08\n\x06resultB\t\n\x07version\"\xed\x01\n!GetIdentityByPublicKeyHashRequest\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashRequest.GetIdentityByPublicKeyHashRequestV0H\x00\x1aM\n#GetIdentityByPublicKeyHashRequestV0\x12\x17\n\x0fpublic_key_hash\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xda\x02\n\"GetIdentityByPublicKeyHashResponse\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashResponse.GetIdentityByPublicKeyHashResponseV0H\x00\x1a\xb6\x01\n$GetIdentityByPublicKeyHashResponseV0\x12\x12\n\x08identity\x18\x01 \x01(\x0cH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xbd\x02\n*GetIdentityByNonUniquePublicKeyHashRequest\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0H\x00\x1a\x80\x01\n,GetIdentityByNonUniquePublicKeyHashRequestV0\x12\x17\n\x0fpublic_key_hash\x18\x01 \x01(\x0c\x12\x18\n\x0bstart_after\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\x0e\n\x0c_start_afterB\t\n\x07version\"\xd6\x06\n+GetIdentityByNonUniquePublicKeyHashResponse\x12\x82\x01\n\x02v0\x18\x01 \x01(\x0b\x32t.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0H\x00\x1a\x96\x05\n-GetIdentityByNonUniquePublicKeyHashResponseV0\x12\x9a\x01\n\x08identity\x18\x01 \x01(\x0b\x32\x85\x01.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityResponseH\x00\x12\x9d\x01\n\x05proof\x18\x02 \x01(\x0b\x32\x8b\x01.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponseH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x36\n\x10IdentityResponse\x12\x15\n\x08identity\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_identity\x1a\xa6\x01\n\x16IdentityProvedResponse\x12P\n&grovedb_identity_public_key_hash_proof\x18\x01 \x01(\x0b\x32 .org.dash.platform.dapi.v0.Proof\x12!\n\x14identity_proof_bytes\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x17\n\x15_identity_proof_bytesB\x08\n\x06resultB\t\n\x07version\"\xfb\x01\n#WaitForStateTransitionResultRequest\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest.WaitForStateTransitionResultRequestV0H\x00\x1aU\n%WaitForStateTransitionResultRequestV0\x12\x1d\n\x15state_transition_hash\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x99\x03\n$WaitForStateTransitionResultResponse\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0H\x00\x1a\xef\x01\n&WaitForStateTransitionResultResponseV0\x12I\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x38.org.dash.platform.dapi.v0.StateTransitionBroadcastErrorH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc4\x01\n\x19GetConsensusParamsRequest\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetConsensusParamsRequest.GetConsensusParamsRequestV0H\x00\x1a<\n\x1bGetConsensusParamsRequestV0\x12\x0e\n\x06height\x18\x01 \x01(\x05\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x9c\x04\n\x1aGetConsensusParamsResponse\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetConsensusParamsResponse.GetConsensusParamsResponseV0H\x00\x1aP\n\x14\x43onsensusParamsBlock\x12\x11\n\tmax_bytes\x18\x01 \x01(\t\x12\x0f\n\x07max_gas\x18\x02 \x01(\t\x12\x14\n\x0ctime_iota_ms\x18\x03 \x01(\t\x1a\x62\n\x17\x43onsensusParamsEvidence\x12\x1a\n\x12max_age_num_blocks\x18\x01 \x01(\t\x12\x18\n\x10max_age_duration\x18\x02 \x01(\t\x12\x11\n\tmax_bytes\x18\x03 \x01(\t\x1a\xda\x01\n\x1cGetConsensusParamsResponseV0\x12Y\n\x05\x62lock\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetConsensusParamsResponse.ConsensusParamsBlock\x12_\n\x08\x65vidence\x18\x02 \x01(\x0b\x32M.org.dash.platform.dapi.v0.GetConsensusParamsResponse.ConsensusParamsEvidenceB\t\n\x07version\"\xe4\x01\n%GetProtocolVersionUpgradeStateRequest\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0H\x00\x1a\x38\n\'GetProtocolVersionUpgradeStateRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x42\t\n\x07version\"\xb5\x05\n&GetProtocolVersionUpgradeStateResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0H\x00\x1a\x85\x04\n(GetProtocolVersionUpgradeStateResponseV0\x12\x87\x01\n\x08versions\x18\x01 \x01(\x0b\x32s.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x96\x01\n\x08Versions\x12\x89\x01\n\x08versions\x18\x01 \x03(\x0b\x32w.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry\x1a:\n\x0cVersionEntry\x12\x16\n\x0eversion_number\x18\x01 \x01(\r\x12\x12\n\nvote_count\x18\x02 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xa3\x02\n*GetProtocolVersionUpgradeVoteStatusRequest\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0H\x00\x1ag\n,GetProtocolVersionUpgradeVoteStatusRequestV0\x12\x19\n\x11start_pro_tx_hash\x18\x01 \x01(\x0c\x12\r\n\x05\x63ount\x18\x02 \x01(\r\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xef\x05\n+GetProtocolVersionUpgradeVoteStatusResponse\x12\x82\x01\n\x02v0\x18\x01 \x01(\x0b\x32t.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0H\x00\x1a\xaf\x04\n-GetProtocolVersionUpgradeVoteStatusResponseV0\x12\x98\x01\n\x08versions\x18\x01 \x01(\x0b\x32\x83\x01.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignalsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xaf\x01\n\x0eVersionSignals\x12\x9c\x01\n\x0fversion_signals\x18\x01 \x03(\x0b\x32\x82\x01.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal\x1a\x35\n\rVersionSignal\x12\x13\n\x0bpro_tx_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07version\x18\x02 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xf5\x01\n\x14GetEpochsInfoRequest\x12T\n\x02v0\x18\x01 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetEpochsInfoRequest.GetEpochsInfoRequestV0H\x00\x1a|\n\x16GetEpochsInfoRequestV0\x12\x31\n\x0bstart_epoch\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\r\n\x05\x63ount\x18\x02 \x01(\r\x12\x11\n\tascending\x18\x03 \x01(\x08\x12\r\n\x05prove\x18\x04 \x01(\x08\x42\t\n\x07version\"\x99\x05\n\x15GetEpochsInfoResponse\x12V\n\x02v0\x18\x01 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetEpochsInfoResponse.GetEpochsInfoResponseV0H\x00\x1a\x9c\x04\n\x17GetEpochsInfoResponseV0\x12\x65\n\x06\x65pochs\x18\x01 \x01(\x0b\x32S.org.dash.platform.dapi.v0.GetEpochsInfoResponse.GetEpochsInfoResponseV0.EpochInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1au\n\nEpochInfos\x12g\n\x0b\x65poch_infos\x18\x01 \x03(\x0b\x32R.org.dash.platform.dapi.v0.GetEpochsInfoResponse.GetEpochsInfoResponseV0.EpochInfo\x1a\xa6\x01\n\tEpochInfo\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x1e\n\x12\x66irst_block_height\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x1f\n\x17\x66irst_core_block_height\x18\x03 \x01(\r\x12\x16\n\nstart_time\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x16\n\x0e\x66\x65\x65_multiplier\x18\x05 \x01(\x01\x12\x18\n\x10protocol_version\x18\x06 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xbf\x02\n\x1dGetFinalizedEpochInfosRequest\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0H\x00\x1a\xaa\x01\n\x1fGetFinalizedEpochInfosRequestV0\x12\x19\n\x11start_epoch_index\x18\x01 \x01(\r\x12\"\n\x1astart_epoch_index_included\x18\x02 \x01(\x08\x12\x17\n\x0f\x65nd_epoch_index\x18\x03 \x01(\r\x12 \n\x18\x65nd_epoch_index_included\x18\x04 \x01(\x08\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\t\n\x07version\"\xbd\t\n\x1eGetFinalizedEpochInfosResponse\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0H\x00\x1a\xa5\x08\n GetFinalizedEpochInfosResponseV0\x12\x80\x01\n\x06\x65pochs\x18\x01 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xa4\x01\n\x13\x46inalizedEpochInfos\x12\x8c\x01\n\x15\x66inalized_epoch_infos\x18\x01 \x03(\x0b\x32m.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo\x1a\x9f\x04\n\x12\x46inalizedEpochInfo\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x1e\n\x12\x66irst_block_height\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x1f\n\x17\x66irst_core_block_height\x18\x03 \x01(\r\x12\x1c\n\x10\x66irst_block_time\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x16\n\x0e\x66\x65\x65_multiplier\x18\x05 \x01(\x01\x12\x18\n\x10protocol_version\x18\x06 \x01(\r\x12!\n\x15total_blocks_in_epoch\x18\x07 \x01(\x04\x42\x02\x30\x01\x12*\n\"next_epoch_start_core_block_height\x18\x08 \x01(\r\x12!\n\x15total_processing_fees\x18\t \x01(\x04\x42\x02\x30\x01\x12*\n\x1etotal_distributed_storage_fees\x18\n \x01(\x04\x42\x02\x30\x01\x12&\n\x1atotal_created_storage_fees\x18\x0b \x01(\x04\x42\x02\x30\x01\x12\x1e\n\x12\x63ore_block_rewards\x18\x0c \x01(\x04\x42\x02\x30\x01\x12\x81\x01\n\x0f\x62lock_proposers\x18\r \x03(\x0b\x32h.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer\x1a\x39\n\rBlockProposer\x12\x13\n\x0bproposer_id\x18\x01 \x01(\x0c\x12\x13\n\x0b\x62lock_count\x18\x02 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xde\x04\n\x1cGetContestedResourcesRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0H\x00\x1a\xcc\x03\n\x1eGetContestedResourcesRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x12\n\nindex_name\x18\x03 \x01(\t\x12\x1a\n\x12start_index_values\x18\x04 \x03(\x0c\x12\x18\n\x10\x65nd_index_values\x18\x05 \x03(\x0c\x12\x89\x01\n\x13start_at_value_info\x18\x06 \x01(\x0b\x32g.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfoH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x07 \x01(\rH\x01\x88\x01\x01\x12\x17\n\x0forder_ascending\x18\x08 \x01(\x08\x12\r\n\x05prove\x18\t \x01(\x08\x1a\x45\n\x10StartAtValueInfo\x12\x13\n\x0bstart_value\x18\x01 \x01(\x0c\x12\x1c\n\x14start_value_included\x18\x02 \x01(\x08\x42\x16\n\x14_start_at_value_infoB\x08\n\x06_countB\t\n\x07version\"\x88\x04\n\x1dGetContestedResourcesResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetContestedResourcesResponse.GetContestedResourcesResponseV0H\x00\x1a\xf3\x02\n\x1fGetContestedResourcesResponseV0\x12\x95\x01\n\x19\x63ontested_resource_values\x18\x01 \x01(\x0b\x32p.org.dash.platform.dapi.v0.GetContestedResourcesResponse.GetContestedResourcesResponseV0.ContestedResourceValuesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a<\n\x17\x43ontestedResourceValues\x12!\n\x19\x63ontested_resource_values\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\xd2\x05\n\x1cGetVotePollsByEndDateRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0H\x00\x1a\xc0\x04\n\x1eGetVotePollsByEndDateRequestV0\x12\x84\x01\n\x0fstart_time_info\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.StartAtTimeInfoH\x00\x88\x01\x01\x12\x80\x01\n\rend_time_info\x18\x02 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.EndAtTimeInfoH\x01\x88\x01\x01\x12\x12\n\x05limit\x18\x03 \x01(\rH\x02\x88\x01\x01\x12\x13\n\x06offset\x18\x04 \x01(\rH\x03\x88\x01\x01\x12\x11\n\tascending\x18\x05 \x01(\x08\x12\r\n\x05prove\x18\x06 \x01(\x08\x1aI\n\x0fStartAtTimeInfo\x12\x19\n\rstart_time_ms\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1b\n\x13start_time_included\x18\x02 \x01(\x08\x1a\x43\n\rEndAtTimeInfo\x12\x17\n\x0b\x65nd_time_ms\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11\x65nd_time_included\x18\x02 \x01(\x08\x42\x12\n\x10_start_time_infoB\x10\n\x0e_end_time_infoB\x08\n\x06_limitB\t\n\x07_offsetB\t\n\x07version\"\x83\x06\n\x1dGetVotePollsByEndDateResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0H\x00\x1a\xee\x04\n\x1fGetVotePollsByEndDateResponseV0\x12\x9c\x01\n\x18vote_polls_by_timestamps\x18\x01 \x01(\x0b\x32x.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestampsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aV\n\x1eSerializedVotePollsByTimestamp\x12\x15\n\ttimestamp\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1d\n\x15serialized_vote_polls\x18\x02 \x03(\x0c\x1a\xd7\x01\n\x1fSerializedVotePollsByTimestamps\x12\x99\x01\n\x18vote_polls_by_timestamps\x18\x01 \x03(\x0b\x32w.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamp\x12\x18\n\x10\x66inished_results\x18\x02 \x01(\x08\x42\x08\n\x06resultB\t\n\x07version\"\xff\x06\n$GetContestedResourceVoteStateRequest\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0H\x00\x1a\xd5\x05\n&GetContestedResourceVoteStateRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x12\n\nindex_name\x18\x03 \x01(\t\x12\x14\n\x0cindex_values\x18\x04 \x03(\x0c\x12\x86\x01\n\x0bresult_type\x18\x05 \x01(\x0e\x32q.org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.ResultType\x12\x36\n.allow_include_locked_and_abstaining_vote_tally\x18\x06 \x01(\x08\x12\xa3\x01\n\x18start_at_identifier_info\x18\x07 \x01(\x0b\x32|.org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.StartAtIdentifierInfoH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x08 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\t \x01(\x08\x1aT\n\x15StartAtIdentifierInfo\x12\x18\n\x10start_identifier\x18\x01 \x01(\x0c\x12!\n\x19start_identifier_included\x18\x02 \x01(\x08\"I\n\nResultType\x12\r\n\tDOCUMENTS\x10\x00\x12\x0e\n\nVOTE_TALLY\x10\x01\x12\x1c\n\x18\x44OCUMENTS_AND_VOTE_TALLY\x10\x02\x42\x1b\n\x19_start_at_identifier_infoB\x08\n\x06_countB\t\n\x07version\"\x94\x0c\n%GetContestedResourceVoteStateResponse\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0H\x00\x1a\xe7\n\n\'GetContestedResourceVoteStateResponseV0\x12\xae\x01\n\x1d\x63ontested_resource_contenders\x18\x01 \x01(\x0b\x32\x84\x01.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.ContestedResourceContendersH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xda\x03\n\x10\x46inishedVoteInfo\x12\xad\x01\n\x15\x66inished_vote_outcome\x18\x01 \x01(\x0e\x32\x8d\x01.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfo.FinishedVoteOutcome\x12\x1f\n\x12won_by_identity_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12$\n\x18\x66inished_at_block_height\x18\x03 \x01(\x04\x42\x02\x30\x01\x12%\n\x1d\x66inished_at_core_block_height\x18\x04 \x01(\r\x12%\n\x19\x66inished_at_block_time_ms\x18\x05 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11\x66inished_at_epoch\x18\x06 \x01(\r\"O\n\x13\x46inishedVoteOutcome\x12\x14\n\x10TOWARDS_IDENTITY\x10\x00\x12\n\n\x06LOCKED\x10\x01\x12\x16\n\x12NO_PREVIOUS_WINNER\x10\x02\x42\x15\n\x13_won_by_identity_id\x1a\xc4\x03\n\x1b\x43ontestedResourceContenders\x12\x86\x01\n\ncontenders\x18\x01 \x03(\x0b\x32r.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.Contender\x12\x1f\n\x12\x61\x62stain_vote_tally\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x1c\n\x0flock_vote_tally\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\x9a\x01\n\x12\x66inished_vote_info\x18\x04 \x01(\x0b\x32y.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfoH\x02\x88\x01\x01\x42\x15\n\x13_abstain_vote_tallyB\x12\n\x10_lock_vote_tallyB\x15\n\x13_finished_vote_info\x1ak\n\tContender\x12\x12\n\nidentifier\x18\x01 \x01(\x0c\x12\x17\n\nvote_count\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x15\n\x08\x64ocument\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x42\r\n\x0b_vote_countB\x0b\n\t_documentB\x08\n\x06resultB\t\n\x07version\"\xd5\x05\n,GetContestedResourceVotersForIdentityRequest\x12\x84\x01\n\x02v0\x18\x01 \x01(\x0b\x32v.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityRequest.GetContestedResourceVotersForIdentityRequestV0H\x00\x1a\x92\x04\n.GetContestedResourceVotersForIdentityRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x12\n\nindex_name\x18\x03 \x01(\t\x12\x14\n\x0cindex_values\x18\x04 \x03(\x0c\x12\x15\n\rcontestant_id\x18\x05 \x01(\x0c\x12\xb4\x01\n\x18start_at_identifier_info\x18\x06 \x01(\x0b\x32\x8c\x01.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityRequest.GetContestedResourceVotersForIdentityRequestV0.StartAtIdentifierInfoH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x07 \x01(\rH\x01\x88\x01\x01\x12\x17\n\x0forder_ascending\x18\x08 \x01(\x08\x12\r\n\x05prove\x18\t \x01(\x08\x1aT\n\x15StartAtIdentifierInfo\x12\x18\n\x10start_identifier\x18\x01 \x01(\x0c\x12!\n\x19start_identifier_included\x18\x02 \x01(\x08\x42\x1b\n\x19_start_at_identifier_infoB\x08\n\x06_countB\t\n\x07version\"\xf1\x04\n-GetContestedResourceVotersForIdentityResponse\x12\x86\x01\n\x02v0\x18\x01 \x01(\x0b\x32x.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityResponse.GetContestedResourceVotersForIdentityResponseV0H\x00\x1a\xab\x03\n/GetContestedResourceVotersForIdentityResponseV0\x12\xb6\x01\n\x19\x63ontested_resource_voters\x18\x01 \x01(\x0b\x32\x90\x01.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityResponse.GetContestedResourceVotersForIdentityResponseV0.ContestedResourceVotersH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x43\n\x17\x43ontestedResourceVoters\x12\x0e\n\x06voters\x18\x01 \x03(\x0c\x12\x18\n\x10\x66inished_results\x18\x02 \x01(\x08\x42\x08\n\x06resultB\t\n\x07version\"\xad\x05\n(GetContestedResourceIdentityVotesRequest\x12|\n\x02v0\x18\x01 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesRequest.GetContestedResourceIdentityVotesRequestV0H\x00\x1a\xf7\x03\n*GetContestedResourceIdentityVotesRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12+\n\x05limit\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12,\n\x06offset\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\x17\n\x0forder_ascending\x18\x04 \x01(\x08\x12\xae\x01\n\x1astart_at_vote_poll_id_info\x18\x05 \x01(\x0b\x32\x84\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesRequest.GetContestedResourceIdentityVotesRequestV0.StartAtVotePollIdInfoH\x00\x88\x01\x01\x12\r\n\x05prove\x18\x06 \x01(\x08\x1a\x61\n\x15StartAtVotePollIdInfo\x12 \n\x18start_at_poll_identifier\x18\x01 \x01(\x0c\x12&\n\x1estart_poll_identifier_included\x18\x02 \x01(\x08\x42\x1d\n\x1b_start_at_vote_poll_id_infoB\t\n\x07version\"\xc8\n\n)GetContestedResourceIdentityVotesResponse\x12~\n\x02v0\x18\x01 \x01(\x0b\x32p.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0H\x00\x1a\x8f\t\n+GetContestedResourceIdentityVotesResponseV0\x12\xa1\x01\n\x05votes\x18\x01 \x01(\x0b\x32\x8f\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVotesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xf7\x01\n\x1e\x43ontestedResourceIdentityVotes\x12\xba\x01\n!contested_resource_identity_votes\x18\x01 \x03(\x0b\x32\x8e\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVote\x12\x18\n\x10\x66inished_results\x18\x02 \x01(\x08\x1a\xad\x02\n\x12ResourceVoteChoice\x12\xad\x01\n\x10vote_choice_type\x18\x01 \x01(\x0e\x32\x92\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoice.VoteChoiceType\x12\x18\n\x0bidentity_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\"=\n\x0eVoteChoiceType\x12\x14\n\x10TOWARDS_IDENTITY\x10\x00\x12\x0b\n\x07\x41\x42STAIN\x10\x01\x12\x08\n\x04LOCK\x10\x02\x42\x0e\n\x0c_identity_id\x1a\x95\x02\n\x1d\x43ontestedResourceIdentityVote\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\'\n\x1fserialized_index_storage_values\x18\x03 \x03(\x0c\x12\x99\x01\n\x0bvote_choice\x18\x04 \x01(\x0b\x32\x83\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoiceB\x08\n\x06resultB\t\n\x07version\"\xf0\x01\n%GetPrefundedSpecializedBalanceRequest\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceRequest.GetPrefundedSpecializedBalanceRequestV0H\x00\x1a\x44\n\'GetPrefundedSpecializedBalanceRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xed\x02\n&GetPrefundedSpecializedBalanceResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceResponse.GetPrefundedSpecializedBalanceResponseV0H\x00\x1a\xbd\x01\n(GetPrefundedSpecializedBalanceResponseV0\x12\x15\n\x07\x62\x61lance\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xd0\x01\n GetTotalCreditsInPlatformRequest\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0H\x00\x1a\x33\n\"GetTotalCreditsInPlatformRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x42\t\n\x07version\"\xd9\x02\n!GetTotalCreditsInPlatformResponse\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0H\x00\x1a\xb8\x01\n#GetTotalCreditsInPlatformResponseV0\x12\x15\n\x07\x63redits\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc4\x01\n\x16GetPathElementsRequest\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetPathElementsRequest.GetPathElementsRequestV0H\x00\x1a\x45\n\x18GetPathElementsRequestV0\x12\x0c\n\x04path\x18\x01 \x03(\x0c\x12\x0c\n\x04keys\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xa3\x03\n\x17GetPathElementsResponse\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetPathElementsResponse.GetPathElementsResponseV0H\x00\x1a\xa0\x02\n\x19GetPathElementsResponseV0\x12i\n\x08\x65lements\x18\x01 \x01(\x0b\x32U.org.dash.platform.dapi.v0.GetPathElementsResponse.GetPathElementsResponseV0.ElementsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1c\n\x08\x45lements\x12\x10\n\x08\x65lements\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\x81\x01\n\x10GetStatusRequest\x12L\n\x02v0\x18\x01 \x01(\x0b\x32>.org.dash.platform.dapi.v0.GetStatusRequest.GetStatusRequestV0H\x00\x1a\x14\n\x12GetStatusRequestV0B\t\n\x07version\"\xe4\x10\n\x11GetStatusResponse\x12N\n\x02v0\x18\x01 \x01(\x0b\x32@.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0H\x00\x1a\xf3\x0f\n\x13GetStatusResponseV0\x12Y\n\x07version\x18\x01 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version\x12S\n\x04node\x18\x02 \x01(\x0b\x32\x45.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Node\x12U\n\x05\x63hain\x18\x03 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Chain\x12Y\n\x07network\x18\x04 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Network\x12^\n\nstate_sync\x18\x05 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.StateSync\x12S\n\x04time\x18\x06 \x01(\x0b\x32\x45.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Time\x1a\x82\x05\n\x07Version\x12\x63\n\x08software\x18\x01 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Software\x12\x63\n\x08protocol\x18\x02 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Protocol\x1a^\n\x08Software\x12\x0c\n\x04\x64\x61pi\x18\x01 \x01(\t\x12\x12\n\x05\x64rive\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\ntenderdash\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_driveB\r\n\x0b_tenderdash\x1a\xcc\x02\n\x08Protocol\x12p\n\ntenderdash\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Protocol.Tenderdash\x12\x66\n\x05\x64rive\x18\x02 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Protocol.Drive\x1a(\n\nTenderdash\x12\x0b\n\x03p2p\x18\x01 \x01(\r\x12\r\n\x05\x62lock\x18\x02 \x01(\r\x1a<\n\x05\x44rive\x12\x0e\n\x06latest\x18\x03 \x01(\r\x12\x0f\n\x07\x63urrent\x18\x04 \x01(\r\x12\x12\n\nnext_epoch\x18\x05 \x01(\r\x1a\x7f\n\x04Time\x12\x11\n\x05local\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x16\n\x05\x62lock\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x12\x18\n\x07genesis\x18\x03 \x01(\x04\x42\x02\x30\x01H\x01\x88\x01\x01\x12\x12\n\x05\x65poch\x18\x04 \x01(\rH\x02\x88\x01\x01\x42\x08\n\x06_blockB\n\n\x08_genesisB\x08\n\x06_epoch\x1a<\n\x04Node\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x18\n\x0bpro_tx_hash\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0e\n\x0c_pro_tx_hash\x1a\xb3\x02\n\x05\x43hain\x12\x13\n\x0b\x63\x61tching_up\x18\x01 \x01(\x08\x12\x19\n\x11latest_block_hash\x18\x02 \x01(\x0c\x12\x17\n\x0flatest_app_hash\x18\x03 \x01(\x0c\x12\x1f\n\x13latest_block_height\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x1b\n\x13\x65\x61rliest_block_hash\x18\x05 \x01(\x0c\x12\x19\n\x11\x65\x61rliest_app_hash\x18\x06 \x01(\x0c\x12!\n\x15\x65\x61rliest_block_height\x18\x07 \x01(\x04\x42\x02\x30\x01\x12!\n\x15max_peer_block_height\x18\t \x01(\x04\x42\x02\x30\x01\x12%\n\x18\x63ore_chain_locked_height\x18\n \x01(\rH\x00\x88\x01\x01\x42\x1b\n\x19_core_chain_locked_height\x1a\x43\n\x07Network\x12\x10\n\x08\x63hain_id\x18\x01 \x01(\t\x12\x13\n\x0bpeers_count\x18\x02 \x01(\r\x12\x11\n\tlistening\x18\x03 \x01(\x08\x1a\x85\x02\n\tStateSync\x12\x1d\n\x11total_synced_time\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0eremaining_time\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x17\n\x0ftotal_snapshots\x18\x03 \x01(\r\x12\"\n\x16\x63hunk_process_avg_time\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x1b\n\x0fsnapshot_height\x18\x05 \x01(\x04\x42\x02\x30\x01\x12!\n\x15snapshot_chunks_count\x18\x06 \x01(\x04\x42\x02\x30\x01\x12\x1d\n\x11\x62\x61\x63kfilled_blocks\x18\x07 \x01(\x04\x42\x02\x30\x01\x12!\n\x15\x62\x61\x63kfill_blocks_total\x18\x08 \x01(\x04\x42\x02\x30\x01\x42\t\n\x07version\"\xb1\x01\n\x1cGetCurrentQuorumsInfoRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0H\x00\x1a \n\x1eGetCurrentQuorumsInfoRequestV0B\t\n\x07version\"\xa1\x05\n\x1dGetCurrentQuorumsInfoResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0H\x00\x1a\x46\n\x0bValidatorV0\x12\x13\n\x0bpro_tx_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07node_ip\x18\x02 \x01(\t\x12\x11\n\tis_banned\x18\x03 \x01(\x08\x1a\xaf\x01\n\x0eValidatorSetV0\x12\x13\n\x0bquorum_hash\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ore_height\x18\x02 \x01(\r\x12U\n\x07members\x18\x03 \x03(\x0b\x32\x44.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0\x12\x1c\n\x14threshold_public_key\x18\x04 \x01(\x0c\x1a\x92\x02\n\x1fGetCurrentQuorumsInfoResponseV0\x12\x15\n\rquorum_hashes\x18\x01 \x03(\x0c\x12\x1b\n\x13\x63urrent_quorum_hash\x18\x02 \x01(\x0c\x12_\n\x0evalidator_sets\x18\x03 \x03(\x0b\x32G.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0\x12\x1b\n\x13last_block_proposer\x18\x04 \x01(\x0c\x12=\n\x08metadata\x18\x05 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\t\n\x07version\"\xf4\x01\n\x1fGetIdentityTokenBalancesRequest\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetIdentityTokenBalancesRequest.GetIdentityTokenBalancesRequestV0H\x00\x1aZ\n!GetIdentityTokenBalancesRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x11\n\ttoken_ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xad\x05\n GetIdentityTokenBalancesResponse\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0H\x00\x1a\x8f\x04\n\"GetIdentityTokenBalancesResponseV0\x12\x86\x01\n\x0etoken_balances\x18\x01 \x01(\x0b\x32l.org.dash.platform.dapi.v0.GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0.TokenBalancesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aG\n\x11TokenBalanceEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x14\n\x07\x62\x61lance\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_balance\x1a\x9a\x01\n\rTokenBalances\x12\x88\x01\n\x0etoken_balances\x18\x01 \x03(\x0b\x32p.org.dash.platform.dapi.v0.GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0.TokenBalanceEntryB\x08\n\x06resultB\t\n\x07version\"\xfc\x01\n!GetIdentitiesTokenBalancesRequest\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesRequest.GetIdentitiesTokenBalancesRequestV0H\x00\x1a\\\n#GetIdentitiesTokenBalancesRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x14\n\x0cidentity_ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xf2\x05\n\"GetIdentitiesTokenBalancesResponse\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0H\x00\x1a\xce\x04\n$GetIdentitiesTokenBalancesResponseV0\x12\x9b\x01\n\x17identity_token_balances\x18\x01 \x01(\x0b\x32x.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0.IdentityTokenBalancesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aR\n\x19IdentityTokenBalanceEntry\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x14\n\x07\x62\x61lance\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_balance\x1a\xb7\x01\n\x15IdentityTokenBalances\x12\x9d\x01\n\x17identity_token_balances\x18\x01 \x03(\x0b\x32|.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0.IdentityTokenBalanceEntryB\x08\n\x06resultB\t\n\x07version\"\xe8\x01\n\x1cGetIdentityTokenInfosRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetIdentityTokenInfosRequest.GetIdentityTokenInfosRequestV0H\x00\x1aW\n\x1eGetIdentityTokenInfosRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x11\n\ttoken_ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\x98\x06\n\x1dGetIdentityTokenInfosResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0H\x00\x1a\x83\x05\n\x1fGetIdentityTokenInfosResponseV0\x12z\n\x0btoken_infos\x18\x01 \x01(\x0b\x32\x63.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a(\n\x16TokenIdentityInfoEntry\x12\x0e\n\x06\x66rozen\x18\x01 \x01(\x08\x1a\xb0\x01\n\x0eTokenInfoEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x82\x01\n\x04info\x18\x02 \x01(\x0b\x32o.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenIdentityInfoEntryH\x00\x88\x01\x01\x42\x07\n\x05_info\x1a\x8a\x01\n\nTokenInfos\x12|\n\x0btoken_infos\x18\x01 \x03(\x0b\x32g.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenInfoEntryB\x08\n\x06resultB\t\n\x07version\"\xf0\x01\n\x1eGetIdentitiesTokenInfosRequest\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosRequest.GetIdentitiesTokenInfosRequestV0H\x00\x1aY\n GetIdentitiesTokenInfosRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x14\n\x0cidentity_ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xca\x06\n\x1fGetIdentitiesTokenInfosResponse\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0H\x00\x1a\xaf\x05\n!GetIdentitiesTokenInfosResponseV0\x12\x8f\x01\n\x14identity_token_infos\x18\x01 \x01(\x0b\x32o.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.IdentityTokenInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a(\n\x16TokenIdentityInfoEntry\x12\x0e\n\x06\x66rozen\x18\x01 \x01(\x08\x1a\xb7\x01\n\x0eTokenInfoEntry\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x86\x01\n\x04info\x18\x02 \x01(\x0b\x32s.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.TokenIdentityInfoEntryH\x00\x88\x01\x01\x42\x07\n\x05_info\x1a\x97\x01\n\x12IdentityTokenInfos\x12\x80\x01\n\x0btoken_infos\x18\x01 \x03(\x0b\x32k.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.TokenInfoEntryB\x08\n\x06resultB\t\n\x07version\"\xbf\x01\n\x17GetTokenStatusesRequest\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetTokenStatusesRequest.GetTokenStatusesRequestV0H\x00\x1a=\n\x19GetTokenStatusesRequestV0\x12\x11\n\ttoken_ids\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xe7\x04\n\x18GetTokenStatusesResponse\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetTokenStatusesResponse.GetTokenStatusesResponseV0H\x00\x1a\xe1\x03\n\x1aGetTokenStatusesResponseV0\x12v\n\x0etoken_statuses\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetTokenStatusesResponse.GetTokenStatusesResponseV0.TokenStatusesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x44\n\x10TokenStatusEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x13\n\x06paused\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\t\n\x07_paused\x1a\x88\x01\n\rTokenStatuses\x12w\n\x0etoken_statuses\x18\x01 \x03(\x0b\x32_.org.dash.platform.dapi.v0.GetTokenStatusesResponse.GetTokenStatusesResponseV0.TokenStatusEntryB\x08\n\x06resultB\t\n\x07version\"\xef\x01\n#GetTokenDirectPurchasePricesRequest\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0H\x00\x1aI\n%GetTokenDirectPurchasePricesRequestV0\x12\x11\n\ttoken_ids\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x8b\t\n$GetTokenDirectPurchasePricesResponse\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0H\x00\x1a\xe1\x07\n&GetTokenDirectPurchasePricesResponseV0\x12\xa9\x01\n\x1ctoken_direct_purchase_prices\x18\x01 \x01(\x0b\x32\x80\x01.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePricesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x33\n\x10PriceForQuantity\x12\x10\n\x08quantity\x18\x01 \x01(\x04\x12\r\n\x05price\x18\x02 \x01(\x04\x1a\xa7\x01\n\x0fPricingSchedule\x12\x93\x01\n\x12price_for_quantity\x18\x01 \x03(\x0b\x32w.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.PriceForQuantity\x1a\xe4\x01\n\x1dTokenDirectPurchasePriceEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x15\n\x0b\x66ixed_price\x18\x02 \x01(\x04H\x00\x12\x90\x01\n\x0evariable_price\x18\x03 \x01(\x0b\x32v.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.PricingScheduleH\x00\x42\x07\n\x05price\x1a\xc8\x01\n\x19TokenDirectPurchasePrices\x12\xaa\x01\n\x1btoken_direct_purchase_price\x18\x01 \x03(\x0b\x32\x84\x01.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntryB\x08\n\x06resultB\t\n\x07version\"\xce\x01\n\x1bGetTokenContractInfoRequest\x12\x62\n\x02v0\x18\x01 \x01(\x0b\x32T.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0H\x00\x1a@\n\x1dGetTokenContractInfoRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xfb\x03\n\x1cGetTokenContractInfoResponse\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0H\x00\x1a\xe9\x02\n\x1eGetTokenContractInfoResponseV0\x12|\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32l.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoDataH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aM\n\x15TokenContractInfoData\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17token_contract_position\x18\x02 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xef\x04\n)GetTokenPreProgrammedDistributionsRequest\x12~\n\x02v0\x18\x01 \x01(\x0b\x32p.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest.GetTokenPreProgrammedDistributionsRequestV0H\x00\x1a\xb6\x03\n+GetTokenPreProgrammedDistributionsRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x98\x01\n\rstart_at_info\x18\x02 \x01(\x0b\x32|.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest.GetTokenPreProgrammedDistributionsRequestV0.StartAtInfoH\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x04 \x01(\x08\x1a\x9a\x01\n\x0bStartAtInfo\x12\x15\n\rstart_time_ms\x18\x01 \x01(\x04\x12\x1c\n\x0fstart_recipient\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12%\n\x18start_recipient_included\x18\x03 \x01(\x08H\x01\x88\x01\x01\x42\x12\n\x10_start_recipientB\x1b\n\x19_start_recipient_includedB\x10\n\x0e_start_at_infoB\x08\n\x06_limitB\t\n\x07version\"\xec\x07\n*GetTokenPreProgrammedDistributionsResponse\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0H\x00\x1a\xaf\x06\n,GetTokenPreProgrammedDistributionsResponseV0\x12\xa5\x01\n\x13token_distributions\x18\x01 \x01(\x0b\x32\x85\x01.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenDistributionsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a>\n\x16TokenDistributionEntry\x12\x14\n\x0crecipient_id\x18\x01 \x01(\x0c\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x04\x1a\xd4\x01\n\x1bTokenTimedDistributionEntry\x12\x11\n\ttimestamp\x18\x01 \x01(\x04\x12\xa1\x01\n\rdistributions\x18\x02 \x03(\x0b\x32\x89\x01.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenDistributionEntry\x1a\xc3\x01\n\x12TokenDistributions\x12\xac\x01\n\x13token_distributions\x18\x01 \x03(\x0b\x32\x8e\x01.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenTimedDistributionEntryB\x08\n\x06resultB\t\n\x07version\"\x82\x04\n-GetTokenPerpetualDistributionLastClaimRequest\x12\x86\x01\n\x02v0\x18\x01 \x01(\x0b\x32x.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0H\x00\x1aI\n\x11\x43ontractTokenInfo\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17token_contract_position\x18\x02 \x01(\r\x1a\xf1\x01\n/GetTokenPerpetualDistributionLastClaimRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12v\n\rcontract_info\x18\x02 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfoH\x00\x88\x01\x01\x12\x13\n\x0bidentity_id\x18\x04 \x01(\x0c\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x10\n\x0e_contract_infoB\t\n\x07version\"\x93\x05\n.GetTokenPerpetualDistributionLastClaimResponse\x12\x88\x01\n\x02v0\x18\x01 \x01(\x0b\x32z.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0H\x00\x1a\xca\x03\n0GetTokenPerpetualDistributionLastClaimResponseV0\x12\x9f\x01\n\nlast_claim\x18\x01 \x01(\x0b\x32\x88\x01.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfoH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1ax\n\rLastClaimInfo\x12\x1a\n\x0ctimestamp_ms\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x1a\n\x0c\x62lock_height\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x12\x0f\n\x05\x65poch\x18\x03 \x01(\rH\x00\x12\x13\n\traw_bytes\x18\x04 \x01(\x0cH\x00\x42\t\n\x07paid_atB\x08\n\x06resultB\t\n\x07version\"\xca\x01\n\x1aGetTokenTotalSupplyRequest\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0H\x00\x1a?\n\x1cGetTokenTotalSupplyRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xaf\x04\n\x1bGetTokenTotalSupplyResponse\x12\x62\n\x02v0\x18\x01 \x01(\x0b\x32T.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0H\x00\x1a\xa0\x03\n\x1dGetTokenTotalSupplyResponseV0\x12\x88\x01\n\x12token_total_supply\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.TokenTotalSupplyEntryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1ax\n\x15TokenTotalSupplyEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x30\n(total_aggregated_amount_in_user_accounts\x18\x02 \x01(\x04\x12\x1b\n\x13total_system_amount\x18\x03 \x01(\x04\x42\x08\n\x06resultB\t\n\x07version\"\xd2\x01\n\x13GetGroupInfoRequest\x12R\n\x02v0\x18\x01 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetGroupInfoRequest.GetGroupInfoRequestV0H\x00\x1a\\\n\x15GetGroupInfoRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17group_contract_position\x18\x02 \x01(\r\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xd4\x05\n\x14GetGroupInfoResponse\x12T\n\x02v0\x18\x01 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetGroupInfoResponse.GetGroupInfoResponseV0H\x00\x1a\xda\x04\n\x16GetGroupInfoResponseV0\x12\x66\n\ngroup_info\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetGroupInfoResponse.GetGroupInfoResponseV0.GroupInfoH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x04 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x34\n\x10GroupMemberEntry\x12\x11\n\tmember_id\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x02 \x01(\r\x1a\x98\x01\n\x0eGroupInfoEntry\x12h\n\x07members\x18\x01 \x03(\x0b\x32W.org.dash.platform.dapi.v0.GetGroupInfoResponse.GetGroupInfoResponseV0.GroupMemberEntry\x12\x1c\n\x14group_required_power\x18\x02 \x01(\r\x1a\x8a\x01\n\tGroupInfo\x12n\n\ngroup_info\x18\x01 \x01(\x0b\x32U.org.dash.platform.dapi.v0.GetGroupInfoResponse.GetGroupInfoResponseV0.GroupInfoEntryH\x00\x88\x01\x01\x42\r\n\x0b_group_infoB\x08\n\x06resultB\t\n\x07version\"\xed\x03\n\x14GetGroupInfosRequest\x12T\n\x02v0\x18\x01 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetGroupInfosRequest.GetGroupInfosRequestV0H\x00\x1au\n\x1cStartAtGroupContractPosition\x12%\n\x1dstart_group_contract_position\x18\x01 \x01(\r\x12.\n&start_group_contract_position_included\x18\x02 \x01(\x08\x1a\xfc\x01\n\x16GetGroupInfosRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12{\n start_at_group_contract_position\x18\x02 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetGroupInfosRequest.StartAtGroupContractPositionH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x04 \x01(\x08\x42#\n!_start_at_group_contract_positionB\x08\n\x06_countB\t\n\x07version\"\xff\x05\n\x15GetGroupInfosResponse\x12V\n\x02v0\x18\x01 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetGroupInfosResponse.GetGroupInfosResponseV0H\x00\x1a\x82\x05\n\x17GetGroupInfosResponseV0\x12j\n\x0bgroup_infos\x18\x01 \x01(\x0b\x32S.org.dash.platform.dapi.v0.GetGroupInfosResponse.GetGroupInfosResponseV0.GroupInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x04 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x34\n\x10GroupMemberEntry\x12\x11\n\tmember_id\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x02 \x01(\r\x1a\xc3\x01\n\x16GroupPositionInfoEntry\x12\x1f\n\x17group_contract_position\x18\x01 \x01(\r\x12j\n\x07members\x18\x02 \x03(\x0b\x32Y.org.dash.platform.dapi.v0.GetGroupInfosResponse.GetGroupInfosResponseV0.GroupMemberEntry\x12\x1c\n\x14group_required_power\x18\x03 \x01(\r\x1a\x82\x01\n\nGroupInfos\x12t\n\x0bgroup_infos\x18\x01 \x03(\x0b\x32_.org.dash.platform.dapi.v0.GetGroupInfosResponse.GetGroupInfosResponseV0.GroupPositionInfoEntryB\x08\n\x06resultB\t\n\x07version\"\xbe\x04\n\x16GetGroupActionsRequest\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetGroupActionsRequest.GetGroupActionsRequestV0H\x00\x1aL\n\x0fStartAtActionId\x12\x17\n\x0fstart_action_id\x18\x01 \x01(\x0c\x12 \n\x18start_action_id_included\x18\x02 \x01(\x08\x1a\xc8\x02\n\x18GetGroupActionsRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17group_contract_position\x18\x02 \x01(\r\x12N\n\x06status\x18\x03 \x01(\x0e\x32>.org.dash.platform.dapi.v0.GetGroupActionsRequest.ActionStatus\x12\x62\n\x12start_at_action_id\x18\x04 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetGroupActionsRequest.StartAtActionIdH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x06 \x01(\x08\x42\x15\n\x13_start_at_action_idB\x08\n\x06_count\"&\n\x0c\x41\x63tionStatus\x12\n\n\x06\x41\x43TIVE\x10\x00\x12\n\n\x06\x43LOSED\x10\x01\x42\t\n\x07version\"\xd6\x1e\n\x17GetGroupActionsResponse\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0H\x00\x1a\xd3\x1d\n\x19GetGroupActionsResponseV0\x12r\n\rgroup_actions\x18\x01 \x01(\x0b\x32Y.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a[\n\tMintEvent\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x04\x12\x14\n\x0crecipient_id\x18\x02 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a[\n\tBurnEvent\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x04\x12\x14\n\x0c\x62urn_from_id\x18\x02 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1aJ\n\x0b\x46reezeEvent\x12\x11\n\tfrozen_id\x18\x01 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1aL\n\rUnfreezeEvent\x12\x11\n\tfrozen_id\x18\x01 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a\x66\n\x17\x44\x65stroyFrozenFundsEvent\x12\x11\n\tfrozen_id\x18\x01 \x01(\x0c\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x04\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a\x64\n\x13SharedEncryptedNote\x12\x18\n\x10sender_key_index\x18\x01 \x01(\r\x12\x1b\n\x13recipient_key_index\x18\x02 \x01(\r\x12\x16\n\x0e\x65ncrypted_data\x18\x03 \x01(\x0c\x1a{\n\x15PersonalEncryptedNote\x12!\n\x19root_encryption_key_index\x18\x01 \x01(\r\x12\'\n\x1f\x64\x65rivation_encryption_key_index\x18\x02 \x01(\r\x12\x16\n\x0e\x65ncrypted_data\x18\x03 \x01(\x0c\x1a\xe9\x01\n\x14\x45mergencyActionEvent\x12\x81\x01\n\x0b\x61\x63tion_type\x18\x01 \x01(\x0e\x32l.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.EmergencyActionEvent.ActionType\x12\x18\n\x0bpublic_note\x18\x02 \x01(\tH\x00\x88\x01\x01\"#\n\nActionType\x12\t\n\x05PAUSE\x10\x00\x12\n\n\x06RESUME\x10\x01\x42\x0e\n\x0c_public_note\x1a\x64\n\x16TokenConfigUpdateEvent\x12 \n\x18token_config_update_item\x18\x01 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a\xe6\x03\n\x1eUpdateDirectPurchasePriceEvent\x12\x15\n\x0b\x66ixed_price\x18\x01 \x01(\x04H\x00\x12\x95\x01\n\x0evariable_price\x18\x02 \x01(\x0b\x32{.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.PricingScheduleH\x00\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x01\x88\x01\x01\x1a\x33\n\x10PriceForQuantity\x12\x10\n\x08quantity\x18\x01 \x01(\x04\x12\r\n\x05price\x18\x02 \x01(\x04\x1a\xac\x01\n\x0fPricingSchedule\x12\x98\x01\n\x12price_for_quantity\x18\x01 \x03(\x0b\x32|.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.PriceForQuantityB\x07\n\x05priceB\x0e\n\x0c_public_note\x1a\xfc\x02\n\x10GroupActionEvent\x12n\n\x0btoken_event\x18\x01 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEventH\x00\x12t\n\x0e\x64ocument_event\x18\x02 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.DocumentEventH\x00\x12t\n\x0e\x63ontract_event\x18\x03 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.ContractEventH\x00\x42\x0c\n\nevent_type\x1a\x8b\x01\n\rDocumentEvent\x12r\n\x06\x63reate\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.DocumentCreateEventH\x00\x42\x06\n\x04type\x1a/\n\x13\x44ocumentCreateEvent\x12\x18\n\x10\x63reated_document\x18\x01 \x01(\x0c\x1a/\n\x13\x43ontractUpdateEvent\x12\x18\n\x10updated_contract\x18\x01 \x01(\x0c\x1a\x8b\x01\n\rContractEvent\x12r\n\x06update\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.ContractUpdateEventH\x00\x42\x06\n\x04type\x1a\xd1\x07\n\nTokenEvent\x12\x66\n\x04mint\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintEventH\x00\x12\x66\n\x04\x62urn\x18\x02 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEventH\x00\x12j\n\x06\x66reeze\x18\x03 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.FreezeEventH\x00\x12n\n\x08unfreeze\x18\x04 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UnfreezeEventH\x00\x12\x84\x01\n\x14\x64\x65stroy_frozen_funds\x18\x05 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.DestroyFrozenFundsEventH\x00\x12}\n\x10\x65mergency_action\x18\x06 \x01(\x0b\x32\x61.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.EmergencyActionEventH\x00\x12\x82\x01\n\x13token_config_update\x18\x07 \x01(\x0b\x32\x63.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenConfigUpdateEventH\x00\x12\x83\x01\n\x0cupdate_price\x18\x08 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEventH\x00\x42\x06\n\x04type\x1a\x93\x01\n\x10GroupActionEntry\x12\x11\n\taction_id\x18\x01 \x01(\x0c\x12l\n\x05\x65vent\x18\x02 \x01(\x0b\x32].org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionEvent\x1a\x84\x01\n\x0cGroupActions\x12t\n\rgroup_actions\x18\x01 \x03(\x0b\x32].org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionEntryB\x08\n\x06resultB\t\n\x07version\"\x88\x03\n\x1cGetGroupActionSignersRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetGroupActionSignersRequest.GetGroupActionSignersRequestV0H\x00\x1a\xce\x01\n\x1eGetGroupActionSignersRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17group_contract_position\x18\x02 \x01(\r\x12T\n\x06status\x18\x03 \x01(\x0e\x32\x44.org.dash.platform.dapi.v0.GetGroupActionSignersRequest.ActionStatus\x12\x11\n\taction_id\x18\x04 \x01(\x0c\x12\r\n\x05prove\x18\x05 \x01(\x08\"&\n\x0c\x41\x63tionStatus\x12\n\n\x06\x41\x43TIVE\x10\x00\x12\n\n\x06\x43LOSED\x10\x01\x42\t\n\x07version\"\x8b\x05\n\x1dGetGroupActionSignersResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetGroupActionSignersResponse.GetGroupActionSignersResponseV0H\x00\x1a\xf6\x03\n\x1fGetGroupActionSignersResponseV0\x12\x8b\x01\n\x14group_action_signers\x18\x01 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetGroupActionSignersResponse.GetGroupActionSignersResponseV0.GroupActionSignersH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x35\n\x11GroupActionSigner\x12\x11\n\tsigner_id\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x02 \x01(\r\x1a\x91\x01\n\x12GroupActionSigners\x12{\n\x07signers\x18\x01 \x03(\x0b\x32j.org.dash.platform.dapi.v0.GetGroupActionSignersResponse.GetGroupActionSignersResponseV0.GroupActionSignerB\x08\n\x06resultB\t\n\x07version\"\xb5\x01\n\x15GetAddressInfoRequest\x12V\n\x02v0\x18\x01 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0H\x00\x1a\x39\n\x17GetAddressInfoRequestV0\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x85\x01\n\x10\x41\x64\x64ressInfoEntry\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12J\n\x11\x62\x61lance_and_nonce\x18\x02 \x01(\x0b\x32*.org.dash.platform.dapi.v0.BalanceAndNonceH\x00\x88\x01\x01\x42\x14\n\x12_balance_and_nonce\"1\n\x0f\x42\x61lanceAndNonce\x12\x0f\n\x07\x62\x61lance\x18\x01 \x01(\x04\x12\r\n\x05nonce\x18\x02 \x01(\r\"_\n\x12\x41\x64\x64ressInfoEntries\x12I\n\x14\x61\x64\x64ress_info_entries\x18\x01 \x03(\x0b\x32+.org.dash.platform.dapi.v0.AddressInfoEntry\"m\n\x14\x41\x64\x64ressBalanceChange\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x19\n\x0bset_balance\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x12\x1c\n\x0e\x61\x64\x64_to_balance\x18\x03 \x01(\x04\x42\x02\x30\x01H\x00\x42\x0b\n\toperation\"x\n\x1a\x42lockAddressBalanceChanges\x12\x18\n\x0c\x62lock_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12@\n\x07\x63hanges\x18\x02 \x03(\x0b\x32/.org.dash.platform.dapi.v0.AddressBalanceChange\"k\n\x1b\x41\x64\x64ressBalanceUpdateEntries\x12L\n\rblock_changes\x18\x01 \x03(\x0b\x32\x35.org.dash.platform.dapi.v0.BlockAddressBalanceChanges\"\xe1\x02\n\x16GetAddressInfoResponse\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0H\x00\x1a\xe1\x01\n\x18GetAddressInfoResponseV0\x12I\n\x12\x61\x64\x64ress_info_entry\x18\x01 \x01(\x0b\x32+.org.dash.platform.dapi.v0.AddressInfoEntryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc3\x01\n\x18GetAddressesInfosRequest\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0H\x00\x1a>\n\x1aGetAddressesInfosRequestV0\x12\x11\n\taddresses\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xf1\x02\n\x19GetAddressesInfosResponse\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0H\x00\x1a\xe8\x01\n\x1bGetAddressesInfosResponseV0\x12M\n\x14\x61\x64\x64ress_info_entries\x18\x01 \x01(\x0b\x32-.org.dash.platform.dapi.v0.AddressInfoEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xb5\x01\n\x1dGetAddressesTrunkStateRequest\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0H\x00\x1a!\n\x1fGetAddressesTrunkStateRequestV0B\t\n\x07version\"\xaa\x02\n\x1eGetAddressesTrunkStateResponse\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0H\x00\x1a\x92\x01\n GetAddressesTrunkStateResponseV0\x12/\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.Proof\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\t\n\x07version\"\xf0\x01\n\x1eGetAddressesBranchStateRequest\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0H\x00\x1aY\n GetAddressesBranchStateRequestV0\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05\x64\x65pth\x18\x02 \x01(\r\x12\x19\n\x11\x63heckpoint_height\x18\x03 \x01(\x04\x42\t\n\x07version\"\xd1\x01\n\x1fGetAddressesBranchStateResponse\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0H\x00\x1a\x37\n!GetAddressesBranchStateResponseV0\x12\x12\n\nmerk_proof\x18\x02 \x01(\x0c\x42\t\n\x07version\"\x9e\x02\n%GetRecentAddressBalanceChangesRequest\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0H\x00\x1ar\n\'GetRecentAddressBalanceChangesRequestV0\x12\x18\n\x0cstart_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x02 \x01(\x08\x12\x1e\n\x16start_height_exclusive\x18\x03 \x01(\x08\x42\t\n\x07version\"\xb8\x03\n&GetRecentAddressBalanceChangesResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0H\x00\x1a\x88\x02\n(GetRecentAddressBalanceChangesResponseV0\x12`\n\x1e\x61\x64\x64ress_balance_update_entries\x18\x01 \x01(\x0b\x32\x36.org.dash.platform.dapi.v0.AddressBalanceUpdateEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"G\n\x16\x42lockHeightCreditEntry\x12\x18\n\x0c\x62lock_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x13\n\x07\x63redits\x18\x02 \x01(\x04\x42\x02\x30\x01\"\xb0\x01\n\x1d\x43ompactedAddressBalanceChange\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x19\n\x0bset_credits\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x12V\n\x19\x61\x64\x64_to_credits_operations\x18\x03 \x01(\x0b\x32\x31.org.dash.platform.dapi.v0.AddToCreditsOperationsH\x00\x42\x0b\n\toperation\"\\\n\x16\x41\x64\x64ToCreditsOperations\x12\x42\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x31.org.dash.platform.dapi.v0.BlockHeightCreditEntry\"\xae\x01\n#CompactedBlockAddressBalanceChanges\x12\x1e\n\x12start_block_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1c\n\x10\x65nd_block_height\x18\x02 \x01(\x04\x42\x02\x30\x01\x12I\n\x07\x63hanges\x18\x03 \x03(\x0b\x32\x38.org.dash.platform.dapi.v0.CompactedAddressBalanceChange\"\x87\x01\n$CompactedAddressBalanceUpdateEntries\x12_\n\x17\x63ompacted_block_changes\x18\x01 \x03(\x0b\x32>.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges\"\xa9\x02\n.GetRecentCompactedAddressBalanceChangesRequest\x12\x88\x01\n\x02v0\x18\x01 \x01(\x0b\x32z.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0H\x00\x1a\x61\n0GetRecentCompactedAddressBalanceChangesRequestV0\x12\x1e\n\x12start_block_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xf0\x03\n/GetRecentCompactedAddressBalanceChangesResponse\x12\x8a\x01\n\x02v0\x18\x01 \x01(\x0b\x32|.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0H\x00\x1a\xa4\x02\n1GetRecentCompactedAddressBalanceChangesResponseV0\x12s\n(compacted_address_balance_update_entries\x18\x01 \x01(\x0b\x32?.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xf4\x01\n GetShieldedEncryptedNotesRequest\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncryptedNotesRequestV0H\x00\x1aW\n\"GetShieldedEncryptedNotesRequestV0\x12\x13\n\x0bstart_index\x18\x01 \x01(\x04\x12\r\n\x05\x63ount\x18\x02 \x01(\r\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xac\x05\n!GetShieldedEncryptedNotesResponse\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0H\x00\x1a\x8b\x04\n#GetShieldedEncryptedNotesResponseV0\x12\x8a\x01\n\x0f\x65ncrypted_notes\x18\x01 \x01(\x0b\x32o.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNotesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aG\n\rEncryptedNote\x12\x11\n\tnullifier\x18\x01 \x01(\x0c\x12\x0b\n\x03\x63mx\x18\x02 \x01(\x0c\x12\x16\n\x0e\x65ncrypted_note\x18\x03 \x01(\x0c\x1a\x91\x01\n\x0e\x45ncryptedNotes\x12\x7f\n\x07\x65ntries\x18\x01 \x03(\x0b\x32n.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNoteB\x08\n\x06resultB\t\n\x07version\"\xb4\x01\n\x19GetShieldedAnchorsRequest\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0H\x00\x1a,\n\x1bGetShieldedAnchorsRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x42\t\n\x07version\"\xb1\x03\n\x1aGetShieldedAnchorsResponse\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetShieldedAnchorsResponse.GetShieldedAnchorsResponseV0H\x00\x1a\xa5\x02\n\x1cGetShieldedAnchorsResponseV0\x12m\n\x07\x61nchors\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetShieldedAnchorsResponse.GetShieldedAnchorsResponseV0.AnchorsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1a\n\x07\x41nchors\x12\x0f\n\x07\x61nchors\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\xd8\x01\n\"GetMostRecentShieldedAnchorRequest\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecentShieldedAnchorRequestV0H\x00\x1a\x35\n$GetMostRecentShieldedAnchorRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x42\t\n\x07version\"\xdc\x02\n#GetMostRecentShieldedAnchorResponse\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorResponse.GetMostRecentShieldedAnchorResponseV0H\x00\x1a\xb5\x01\n%GetMostRecentShieldedAnchorResponseV0\x12\x10\n\x06\x61nchor\x18\x01 \x01(\x0cH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xbc\x01\n\x1bGetShieldedPoolStateRequest\x12\x62\n\x02v0\x18\x01 \x01(\x0b\x32T.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolStateRequestV0H\x00\x1a.\n\x1dGetShieldedPoolStateRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x42\t\n\x07version\"\xcb\x02\n\x1cGetShieldedPoolStateResponse\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetShieldedPoolStateResponse.GetShieldedPoolStateResponseV0H\x00\x1a\xb9\x01\n\x1eGetShieldedPoolStateResponseV0\x12\x1b\n\rtotal_balance\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xd4\x01\n\x1cGetShieldedNullifiersRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifiersRequestV0H\x00\x1a\x43\n\x1eGetShieldedNullifiersRequestV0\x12\x12\n\nnullifiers\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x86\x05\n\x1dGetShieldedNullifiersResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0H\x00\x1a\xf1\x03\n\x1fGetShieldedNullifiersResponseV0\x12\x88\x01\n\x12nullifier_statuses\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0.NullifierStatusesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x36\n\x0fNullifierStatus\x12\x11\n\tnullifier\x18\x01 \x01(\x0c\x12\x10\n\x08is_spent\x18\x02 \x01(\x08\x1a\x8e\x01\n\x11NullifierStatuses\x12y\n\x07\x65ntries\x18\x01 \x03(\x0b\x32h.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0.NullifierStatusB\x08\n\x06resultB\t\n\x07version\"\xe5\x01\n\x1eGetNullifiersTrunkStateRequest\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0H\x00\x1aN\n GetNullifiersTrunkStateRequestV0\x12\x11\n\tpool_type\x18\x01 \x01(\r\x12\x17\n\x0fpool_identifier\x18\x02 \x01(\x0c\x42\t\n\x07version\"\xae\x02\n\x1fGetNullifiersTrunkStateResponse\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0H\x00\x1a\x93\x01\n!GetNullifiersTrunkStateResponseV0\x12/\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.Proof\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\t\n\x07version\"\xa1\x02\n\x1fGetNullifiersBranchStateRequest\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0H\x00\x1a\x86\x01\n!GetNullifiersBranchStateRequestV0\x12\x11\n\tpool_type\x18\x01 \x01(\r\x12\x17\n\x0fpool_identifier\x18\x02 \x01(\x0c\x12\x0b\n\x03key\x18\x03 \x01(\x0c\x12\r\n\x05\x64\x65pth\x18\x04 \x01(\r\x12\x19\n\x11\x63heckpoint_height\x18\x05 \x01(\x04\x42\t\n\x07version\"\xd5\x01\n GetNullifiersBranchStateResponse\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0H\x00\x1a\x38\n\"GetNullifiersBranchStateResponseV0\x12\x12\n\nmerk_proof\x18\x02 \x01(\x0c\x42\t\n\x07version\"E\n\x15\x42lockNullifierChanges\x12\x18\n\x0c\x62lock_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x12\n\nnullifiers\x18\x02 \x03(\x0c\"a\n\x16NullifierUpdateEntries\x12G\n\rblock_changes\x18\x01 \x03(\x0b\x32\x30.org.dash.platform.dapi.v0.BlockNullifierChanges\"\xea\x01\n GetRecentNullifierChangesRequest\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0H\x00\x1aM\n\"GetRecentNullifierChangesRequestV0\x12\x18\n\x0cstart_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x99\x03\n!GetRecentNullifierChangesResponse\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0H\x00\x1a\xf8\x01\n#GetRecentNullifierChangesResponseV0\x12U\n\x18nullifier_update_entries\x18\x01 \x01(\x0b\x32\x31.org.dash.platform.dapi.v0.NullifierUpdateEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"r\n\x1e\x43ompactedBlockNullifierChanges\x12\x1e\n\x12start_block_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1c\n\x10\x65nd_block_height\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x12\n\nnullifiers\x18\x03 \x03(\x0c\"}\n\x1f\x43ompactedNullifierUpdateEntries\x12Z\n\x17\x63ompacted_block_changes\x18\x01 \x03(\x0b\x32\x39.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges\"\x94\x02\n)GetRecentCompactedNullifierChangesRequest\x12~\n\x02v0\x18\x01 \x01(\x0b\x32p.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0H\x00\x1a\\\n+GetRecentCompactedNullifierChangesRequestV0\x12\x1e\n\x12start_block_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xd1\x03\n*GetRecentCompactedNullifierChangesResponse\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0H\x00\x1a\x94\x02\n,GetRecentCompactedNullifierChangesResponseV0\x12h\n\"compacted_nullifier_update_entries\x18\x01 \x01(\x0b\x32:.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version*Z\n\nKeyPurpose\x12\x12\n\x0e\x41UTHENTICATION\x10\x00\x12\x0e\n\nENCRYPTION\x10\x01\x12\x0e\n\nDECRYPTION\x10\x02\x12\x0c\n\x08TRANSFER\x10\x03\x12\n\n\x06VOTING\x10\x05\x32\xb3H\n\x08Platform\x12\x93\x01\n\x18\x62roadcastStateTransition\x12:.org.dash.platform.dapi.v0.BroadcastStateTransitionRequest\x1a;.org.dash.platform.dapi.v0.BroadcastStateTransitionResponse\x12l\n\x0bgetIdentity\x12-.org.dash.platform.dapi.v0.GetIdentityRequest\x1a..org.dash.platform.dapi.v0.GetIdentityResponse\x12x\n\x0fgetIdentityKeys\x12\x31.org.dash.platform.dapi.v0.GetIdentityKeysRequest\x1a\x32.org.dash.platform.dapi.v0.GetIdentityKeysResponse\x12\x96\x01\n\x19getIdentitiesContractKeys\x12;.org.dash.platform.dapi.v0.GetIdentitiesContractKeysRequest\x1a<.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse\x12{\n\x10getIdentityNonce\x12\x32.org.dash.platform.dapi.v0.GetIdentityNonceRequest\x1a\x33.org.dash.platform.dapi.v0.GetIdentityNonceResponse\x12\x93\x01\n\x18getIdentityContractNonce\x12:.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest\x1a;.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse\x12\x81\x01\n\x12getIdentityBalance\x12\x34.org.dash.platform.dapi.v0.GetIdentityBalanceRequest\x1a\x35.org.dash.platform.dapi.v0.GetIdentityBalanceResponse\x12\x8a\x01\n\x15getIdentitiesBalances\x12\x37.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest\x1a\x38.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse\x12\xa2\x01\n\x1dgetIdentityBalanceAndRevision\x12?.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest\x1a@.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse\x12\xaf\x01\n#getEvonodesProposedEpochBlocksByIds\x12\x45.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest\x1a\x41.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse\x12\xb3\x01\n%getEvonodesProposedEpochBlocksByRange\x12G.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest\x1a\x41.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse\x12x\n\x0fgetDataContract\x12\x31.org.dash.platform.dapi.v0.GetDataContractRequest\x1a\x32.org.dash.platform.dapi.v0.GetDataContractResponse\x12\x8d\x01\n\x16getDataContractHistory\x12\x38.org.dash.platform.dapi.v0.GetDataContractHistoryRequest\x1a\x39.org.dash.platform.dapi.v0.GetDataContractHistoryResponse\x12{\n\x10getDataContracts\x12\x32.org.dash.platform.dapi.v0.GetDataContractsRequest\x1a\x33.org.dash.platform.dapi.v0.GetDataContractsResponse\x12o\n\x0cgetDocuments\x12..org.dash.platform.dapi.v0.GetDocumentsRequest\x1a/.org.dash.platform.dapi.v0.GetDocumentsResponse\x12~\n\x11getDocumentsCount\x12\x33.org.dash.platform.dapi.v0.GetDocumentsCountRequest\x1a\x34.org.dash.platform.dapi.v0.GetDocumentsCountResponse\x12\x99\x01\n\x1agetIdentityByPublicKeyHash\x12<.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashRequest\x1a=.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashResponse\x12\xb4\x01\n#getIdentityByNonUniquePublicKeyHash\x12\x45.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest\x1a\x46.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse\x12\x9f\x01\n\x1cwaitForStateTransitionResult\x12>.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest\x1a?.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse\x12\x81\x01\n\x12getConsensusParams\x12\x34.org.dash.platform.dapi.v0.GetConsensusParamsRequest\x1a\x35.org.dash.platform.dapi.v0.GetConsensusParamsResponse\x12\xa5\x01\n\x1egetProtocolVersionUpgradeState\x12@.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest\x1a\x41.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse\x12\xb4\x01\n#getProtocolVersionUpgradeVoteStatus\x12\x45.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest\x1a\x46.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse\x12r\n\rgetEpochsInfo\x12/.org.dash.platform.dapi.v0.GetEpochsInfoRequest\x1a\x30.org.dash.platform.dapi.v0.GetEpochsInfoResponse\x12\x8d\x01\n\x16getFinalizedEpochInfos\x12\x38.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest\x1a\x39.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse\x12\x8a\x01\n\x15getContestedResources\x12\x37.org.dash.platform.dapi.v0.GetContestedResourcesRequest\x1a\x38.org.dash.platform.dapi.v0.GetContestedResourcesResponse\x12\xa2\x01\n\x1dgetContestedResourceVoteState\x12?.org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest\x1a@.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse\x12\xba\x01\n%getContestedResourceVotersForIdentity\x12G.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityRequest\x1aH.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityResponse\x12\xae\x01\n!getContestedResourceIdentityVotes\x12\x43.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesRequest\x1a\x44.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse\x12\x8a\x01\n\x15getVotePollsByEndDate\x12\x37.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest\x1a\x38.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse\x12\xa5\x01\n\x1egetPrefundedSpecializedBalance\x12@.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceRequest\x1a\x41.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceResponse\x12\x96\x01\n\x19getTotalCreditsInPlatform\x12;.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest\x1a<.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse\x12x\n\x0fgetPathElements\x12\x31.org.dash.platform.dapi.v0.GetPathElementsRequest\x1a\x32.org.dash.platform.dapi.v0.GetPathElementsResponse\x12\x66\n\tgetStatus\x12+.org.dash.platform.dapi.v0.GetStatusRequest\x1a,.org.dash.platform.dapi.v0.GetStatusResponse\x12\x8a\x01\n\x15getCurrentQuorumsInfo\x12\x37.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest\x1a\x38.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse\x12\x93\x01\n\x18getIdentityTokenBalances\x12:.org.dash.platform.dapi.v0.GetIdentityTokenBalancesRequest\x1a;.org.dash.platform.dapi.v0.GetIdentityTokenBalancesResponse\x12\x99\x01\n\x1agetIdentitiesTokenBalances\x12<.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesRequest\x1a=.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesResponse\x12\x8a\x01\n\x15getIdentityTokenInfos\x12\x37.org.dash.platform.dapi.v0.GetIdentityTokenInfosRequest\x1a\x38.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse\x12\x90\x01\n\x17getIdentitiesTokenInfos\x12\x39.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosRequest\x1a:.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse\x12{\n\x10getTokenStatuses\x12\x32.org.dash.platform.dapi.v0.GetTokenStatusesRequest\x1a\x33.org.dash.platform.dapi.v0.GetTokenStatusesResponse\x12\x9f\x01\n\x1cgetTokenDirectPurchasePrices\x12>.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest\x1a?.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse\x12\x87\x01\n\x14getTokenContractInfo\x12\x36.org.dash.platform.dapi.v0.GetTokenContractInfoRequest\x1a\x37.org.dash.platform.dapi.v0.GetTokenContractInfoResponse\x12\xb1\x01\n\"getTokenPreProgrammedDistributions\x12\x44.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest\x1a\x45.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse\x12\xbd\x01\n&getTokenPerpetualDistributionLastClaim\x12H.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest\x1aI.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse\x12\x84\x01\n\x13getTokenTotalSupply\x12\x35.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest\x1a\x36.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse\x12o\n\x0cgetGroupInfo\x12..org.dash.platform.dapi.v0.GetGroupInfoRequest\x1a/.org.dash.platform.dapi.v0.GetGroupInfoResponse\x12r\n\rgetGroupInfos\x12/.org.dash.platform.dapi.v0.GetGroupInfosRequest\x1a\x30.org.dash.platform.dapi.v0.GetGroupInfosResponse\x12x\n\x0fgetGroupActions\x12\x31.org.dash.platform.dapi.v0.GetGroupActionsRequest\x1a\x32.org.dash.platform.dapi.v0.GetGroupActionsResponse\x12\x8a\x01\n\x15getGroupActionSigners\x12\x37.org.dash.platform.dapi.v0.GetGroupActionSignersRequest\x1a\x38.org.dash.platform.dapi.v0.GetGroupActionSignersResponse\x12u\n\x0egetAddressInfo\x12\x30.org.dash.platform.dapi.v0.GetAddressInfoRequest\x1a\x31.org.dash.platform.dapi.v0.GetAddressInfoResponse\x12~\n\x11getAddressesInfos\x12\x33.org.dash.platform.dapi.v0.GetAddressesInfosRequest\x1a\x34.org.dash.platform.dapi.v0.GetAddressesInfosResponse\x12\x8d\x01\n\x16getAddressesTrunkState\x12\x38.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest\x1a\x39.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse\x12\x90\x01\n\x17getAddressesBranchState\x12\x39.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest\x1a:.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse\x12\xa5\x01\n\x1egetRecentAddressBalanceChanges\x12@.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest\x1a\x41.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse\x12\xc0\x01\n\'getRecentCompactedAddressBalanceChanges\x12I.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest\x1aJ.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse\x12\x96\x01\n\x19getShieldedEncryptedNotes\x12;.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest\x1a<.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse\x12\x81\x01\n\x12getShieldedAnchors\x12\x34.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest\x1a\x35.org.dash.platform.dapi.v0.GetShieldedAnchorsResponse\x12\x9c\x01\n\x1bgetMostRecentShieldedAnchor\x12=.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest\x1a>.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorResponse\x12\x87\x01\n\x14getShieldedPoolState\x12\x36.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest\x1a\x37.org.dash.platform.dapi.v0.GetShieldedPoolStateResponse\x12\x8a\x01\n\x15getShieldedNullifiers\x12\x37.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest\x1a\x38.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse\x12\x90\x01\n\x17getNullifiersTrunkState\x12\x39.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest\x1a:.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse\x12\x93\x01\n\x18getNullifiersBranchState\x12:.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest\x1a;.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse\x12\x96\x01\n\x19getRecentNullifierChanges\x12;.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest\x1a<.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse\x12\xb1\x01\n\"getRecentCompactedNullifierChanges\x12\x44.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest\x1a\x45.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponseb\x06proto3'
+ serialized_pb=b'\n\x0eplatform.proto\x12\x19org.dash.platform.dapi.v0\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x81\x01\n\x05Proof\x12\x15\n\rgrovedb_proof\x18\x01 \x01(\x0c\x12\x13\n\x0bquorum_hash\x18\x02 \x01(\x0c\x12\x11\n\tsignature\x18\x03 \x01(\x0c\x12\r\n\x05round\x18\x04 \x01(\r\x12\x15\n\rblock_id_hash\x18\x05 \x01(\x0c\x12\x13\n\x0bquorum_type\x18\x06 \x01(\r\"\x98\x01\n\x10ResponseMetadata\x12\x12\n\x06height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12 \n\x18\x63ore_chain_locked_height\x18\x02 \x01(\r\x12\r\n\x05\x65poch\x18\x03 \x01(\r\x12\x13\n\x07time_ms\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x18\n\x10protocol_version\x18\x05 \x01(\r\x12\x10\n\x08\x63hain_id\x18\x06 \x01(\t\"L\n\x1dStateTransitionBroadcastError\x12\x0c\n\x04\x63ode\x18\x01 \x01(\r\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\";\n\x1f\x42roadcastStateTransitionRequest\x12\x18\n\x10state_transition\x18\x01 \x01(\x0c\"\"\n BroadcastStateTransitionResponse\"\xa4\x01\n\x12GetIdentityRequest\x12P\n\x02v0\x18\x01 \x01(\x0b\x32\x42.org.dash.platform.dapi.v0.GetIdentityRequest.GetIdentityRequestV0H\x00\x1a\x31\n\x14GetIdentityRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xc1\x01\n\x17GetIdentityNonceRequest\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0H\x00\x1a?\n\x19GetIdentityNonceRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xf6\x01\n\x1fGetIdentityContractNonceRequest\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0H\x00\x1a\\\n!GetIdentityContractNonceRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xc0\x01\n\x19GetIdentityBalanceRequest\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0H\x00\x1a\x38\n\x1bGetIdentityBalanceRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xec\x01\n$GetIdentityBalanceAndRevisionRequest\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0H\x00\x1a\x43\n&GetIdentityBalanceAndRevisionRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x9e\x02\n\x13GetIdentityResponse\x12R\n\x02v0\x18\x01 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0H\x00\x1a\xa7\x01\n\x15GetIdentityResponseV0\x12\x12\n\x08identity\x18\x01 \x01(\x0cH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xbc\x02\n\x18GetIdentityNonceResponse\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0H\x00\x1a\xb6\x01\n\x1aGetIdentityNonceResponseV0\x12\x1c\n\x0eidentity_nonce\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xe5\x02\n GetIdentityContractNonceResponse\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0H\x00\x1a\xc7\x01\n\"GetIdentityContractNonceResponseV0\x12%\n\x17identity_contract_nonce\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xbd\x02\n\x1aGetIdentityBalanceResponse\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.GetIdentityBalanceResponseV0H\x00\x1a\xb1\x01\n\x1cGetIdentityBalanceResponseV0\x12\x15\n\x07\x62\x61lance\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xb1\x04\n%GetIdentityBalanceAndRevisionResponse\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.GetIdentityBalanceAndRevisionResponseV0H\x00\x1a\x84\x03\n\'GetIdentityBalanceAndRevisionResponseV0\x12\x9b\x01\n\x14\x62\x61lance_and_revision\x18\x01 \x01(\x0b\x32{.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.GetIdentityBalanceAndRevisionResponseV0.BalanceAndRevisionH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a?\n\x12\x42\x61lanceAndRevision\x12\x13\n\x07\x62\x61lance\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x14\n\x08revision\x18\x02 \x01(\x04\x42\x02\x30\x01\x42\x08\n\x06resultB\t\n\x07version\"\xd1\x01\n\x0eKeyRequestType\x12\x36\n\x08\x61ll_keys\x18\x01 \x01(\x0b\x32\".org.dash.platform.dapi.v0.AllKeysH\x00\x12@\n\rspecific_keys\x18\x02 \x01(\x0b\x32\'.org.dash.platform.dapi.v0.SpecificKeysH\x00\x12:\n\nsearch_key\x18\x03 \x01(\x0b\x32$.org.dash.platform.dapi.v0.SearchKeyH\x00\x42\t\n\x07request\"\t\n\x07\x41llKeys\"\x1f\n\x0cSpecificKeys\x12\x0f\n\x07key_ids\x18\x01 \x03(\r\"\xb6\x01\n\tSearchKey\x12I\n\x0bpurpose_map\x18\x01 \x03(\x0b\x32\x34.org.dash.platform.dapi.v0.SearchKey.PurposeMapEntry\x1a^\n\x0fPurposeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.org.dash.platform.dapi.v0.SecurityLevelMap:\x02\x38\x01\"\xbf\x02\n\x10SecurityLevelMap\x12]\n\x12security_level_map\x18\x01 \x03(\x0b\x32\x41.org.dash.platform.dapi.v0.SecurityLevelMap.SecurityLevelMapEntry\x1aw\n\x15SecurityLevelMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12M\n\x05value\x18\x02 \x01(\x0e\x32>.org.dash.platform.dapi.v0.SecurityLevelMap.KeyKindRequestType:\x02\x38\x01\"S\n\x12KeyKindRequestType\x12\x1f\n\x1b\x43URRENT_KEY_OF_KIND_REQUEST\x10\x00\x12\x1c\n\x18\x41LL_KEYS_OF_KIND_REQUEST\x10\x01\"\xda\x02\n\x16GetIdentityKeysRequest\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetIdentityKeysRequest.GetIdentityKeysRequestV0H\x00\x1a\xda\x01\n\x18GetIdentityKeysRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12?\n\x0crequest_type\x18\x02 \x01(\x0b\x32).org.dash.platform.dapi.v0.KeyRequestType\x12+\n\x05limit\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12,\n\x06offset\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\t\n\x07version\"\x99\x03\n\x17GetIdentityKeysResponse\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetIdentityKeysResponse.GetIdentityKeysResponseV0H\x00\x1a\x96\x02\n\x19GetIdentityKeysResponseV0\x12\x61\n\x04keys\x18\x01 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetIdentityKeysResponse.GetIdentityKeysResponseV0.KeysH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1a\n\x04Keys\x12\x12\n\nkeys_bytes\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\xef\x02\n GetIdentitiesContractKeysRequest\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetIdentitiesContractKeysRequest.GetIdentitiesContractKeysRequestV0H\x00\x1a\xd1\x01\n\"GetIdentitiesContractKeysRequestV0\x12\x16\n\x0eidentities_ids\x18\x01 \x03(\x0c\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\x0c\x12\x1f\n\x12\x64ocument_type_name\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x37\n\x08purposes\x18\x04 \x03(\x0e\x32%.org.dash.platform.dapi.v0.KeyPurpose\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x15\n\x13_document_type_nameB\t\n\x07version\"\xdf\x06\n!GetIdentitiesContractKeysResponse\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0H\x00\x1a\xbe\x05\n#GetIdentitiesContractKeysResponseV0\x12\x8a\x01\n\x0fidentities_keys\x18\x01 \x01(\x0b\x32o.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentitiesKeysH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aY\n\x0bPurposeKeys\x12\x36\n\x07purpose\x18\x01 \x01(\x0e\x32%.org.dash.platform.dapi.v0.KeyPurpose\x12\x12\n\nkeys_bytes\x18\x02 \x03(\x0c\x1a\x9f\x01\n\x0cIdentityKeys\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12z\n\x04keys\x18\x02 \x03(\x0b\x32l.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.PurposeKeys\x1a\x90\x01\n\x0eIdentitiesKeys\x12~\n\x07\x65ntries\x18\x01 \x03(\x0b\x32m.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentityKeysB\x08\n\x06resultB\t\n\x07version\"\xa4\x02\n*GetEvonodesProposedEpochBlocksByIdsRequest\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0H\x00\x1ah\n,GetEvonodesProposedEpochBlocksByIdsRequestV0\x12\x12\n\x05\x65poch\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x0b\n\x03ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\x08\n\x06_epochB\t\n\x07version\"\x92\x06\n&GetEvonodesProposedEpochBlocksResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0H\x00\x1a\xe2\x04\n(GetEvonodesProposedEpochBlocksResponseV0\x12\xb1\x01\n#evonodes_proposed_block_counts_info\x18\x01 \x01(\x0b\x32\x81\x01.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0.EvonodesProposedBlocksH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a?\n\x15\x45vonodeProposedBlocks\x12\x13\n\x0bpro_tx_hash\x18\x01 \x01(\x0c\x12\x11\n\x05\x63ount\x18\x02 \x01(\x04\x42\x02\x30\x01\x1a\xc4\x01\n\x16\x45vonodesProposedBlocks\x12\xa9\x01\n\x1e\x65vonodes_proposed_block_counts\x18\x01 \x03(\x0b\x32\x80\x01.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0.EvonodeProposedBlocksB\x08\n\x06resultB\t\n\x07version\"\xf2\x02\n,GetEvonodesProposedEpochBlocksByRangeRequest\x12\x84\x01\n\x02v0\x18\x01 \x01(\x0b\x32v.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0H\x00\x1a\xaf\x01\n.GetEvonodesProposedEpochBlocksByRangeRequestV0\x12\x12\n\x05\x65poch\x18\x01 \x01(\rH\x01\x88\x01\x01\x12\x12\n\x05limit\x18\x02 \x01(\rH\x02\x88\x01\x01\x12\x15\n\x0bstart_after\x18\x03 \x01(\x0cH\x00\x12\x12\n\x08start_at\x18\x04 \x01(\x0cH\x00\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x07\n\x05startB\x08\n\x06_epochB\x08\n\x06_limitB\t\n\x07version\"\xcd\x01\n\x1cGetIdentitiesBalancesRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0H\x00\x1a<\n\x1eGetIdentitiesBalancesRequestV0\x12\x0b\n\x03ids\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x9f\x05\n\x1dGetIdentitiesBalancesResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0H\x00\x1a\x8a\x04\n\x1fGetIdentitiesBalancesResponseV0\x12\x8a\x01\n\x13identities_balances\x18\x01 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0.IdentitiesBalancesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aL\n\x0fIdentityBalance\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x18\n\x07\x62\x61lance\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x42\n\n\x08_balance\x1a\x8f\x01\n\x12IdentitiesBalances\x12y\n\x07\x65ntries\x18\x01 \x03(\x0b\x32h.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0.IdentityBalanceB\x08\n\x06resultB\t\n\x07version\"\xb4\x01\n\x16GetDataContractRequest\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetDataContractRequest.GetDataContractRequestV0H\x00\x1a\x35\n\x18GetDataContractRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xb3\x02\n\x17GetDataContractResponse\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetDataContractResponse.GetDataContractResponseV0H\x00\x1a\xb0\x01\n\x19GetDataContractResponseV0\x12\x17\n\rdata_contract\x18\x01 \x01(\x0cH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xb9\x01\n\x17GetDataContractsRequest\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetDataContractsRequest.GetDataContractsRequestV0H\x00\x1a\x37\n\x19GetDataContractsRequestV0\x12\x0b\n\x03ids\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xcf\x04\n\x18GetDataContractsResponse\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetDataContractsResponse.GetDataContractsResponseV0H\x00\x1a[\n\x11\x44\x61taContractEntry\x12\x12\n\nidentifier\x18\x01 \x01(\x0c\x12\x32\n\rdata_contract\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.BytesValue\x1au\n\rDataContracts\x12\x64\n\x15\x64\x61ta_contract_entries\x18\x01 \x03(\x0b\x32\x45.org.dash.platform.dapi.v0.GetDataContractsResponse.DataContractEntry\x1a\xf5\x01\n\x1aGetDataContractsResponseV0\x12[\n\x0e\x64\x61ta_contracts\x18\x01 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetDataContractsResponse.DataContractsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc5\x02\n\x1dGetDataContractHistoryRequest\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.GetDataContractHistoryRequestV0H\x00\x1a\xb0\x01\n\x1fGetDataContractHistoryRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12+\n\x05limit\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12,\n\x06offset\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\x17\n\x0bstart_at_ms\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\t\n\x07version\"\xb2\x05\n\x1eGetDataContractHistoryResponse\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.GetDataContractHistoryResponseV0H\x00\x1a\x9a\x04\n GetDataContractHistoryResponseV0\x12\x8f\x01\n\x15\x64\x61ta_contract_history\x18\x01 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.GetDataContractHistoryResponseV0.DataContractHistoryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a;\n\x18\x44\x61taContractHistoryEntry\x12\x10\n\x04\x64\x61te\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05value\x18\x02 \x01(\x0c\x1a\xaa\x01\n\x13\x44\x61taContractHistory\x12\x92\x01\n\x15\x64\x61ta_contract_entries\x18\x01 \x03(\x0b\x32s.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.GetDataContractHistoryResponseV0.DataContractHistoryEntryB\x08\n\x06resultB\t\n\x07version\"\xf6\x05\n\x13GetDocumentsRequest\x12R\n\x02v0\x18\x01 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0H\x00\x12R\n\x02v1\x18\x02 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1H\x00\x1a\xbb\x01\n\x15GetDocumentsRequestV0\x12\x18\n\x10\x64\x61ta_contract_id\x18\x01 \x01(\x0c\x12\x15\n\rdocument_type\x18\x02 \x01(\t\x12\r\n\x05where\x18\x03 \x01(\x0c\x12\x10\n\x08order_by\x18\x04 \x01(\x0c\x12\r\n\x05limit\x18\x05 \x01(\r\x12\x15\n\x0bstart_after\x18\x06 \x01(\x0cH\x00\x12\x12\n\x08start_at\x18\x07 \x01(\x0cH\x00\x12\r\n\x05prove\x18\x08 \x01(\x08\x42\x07\n\x05start\x1a\xed\x02\n\x15GetDocumentsRequestV1\x12\x18\n\x10\x64\x61ta_contract_id\x18\x01 \x01(\x0c\x12\x15\n\rdocument_type\x18\x02 \x01(\t\x12\r\n\x05where\x18\x03 \x01(\x0c\x12\x10\n\x08order_by\x18\x04 \x01(\x0c\x12\x12\n\x05limit\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\x15\n\x0bstart_after\x18\x06 \x01(\x0cH\x00\x12\x12\n\x08start_at\x18\x07 \x01(\x0cH\x00\x12\r\n\x05prove\x18\x08 \x01(\x08\x12[\n\x06select\x18\t \x01(\x0e\x32K.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select\x12\x10\n\x08group_by\x18\n \x03(\t\x12\x0e\n\x06having\x18\x0b \x01(\x0c\"\"\n\x06Select\x12\r\n\tDOCUMENTS\x10\x00\x12\t\n\x05\x43OUNT\x10\x01\x42\x07\n\x05startB\x08\n\x06_limitB\t\n\x07version\"\xd2\n\n\x14GetDocumentsResponse\x12T\n\x02v0\x18\x01 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0H\x00\x12T\n\x02v1\x18\x02 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1H\x00\x1a\x9b\x02\n\x16GetDocumentsResponseV0\x12\x65\n\tdocuments\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.DocumentsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1e\n\tDocuments\x12\x11\n\tdocuments\x18\x01 \x03(\x0c\x42\x08\n\x06result\x1a\xe4\x06\n\x16GetDocumentsResponseV1\x12\x61\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultDataH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1e\n\tDocuments\x12\x11\n\tdocuments\x18\x01 \x03(\x0c\x1aL\n\nCountEntry\x12\x13\n\x06in_key\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x0b\n\x03key\x18\x02 \x01(\x0c\x12\x11\n\x05\x63ount\x18\x03 \x01(\x04\x42\x02\x30\x01\x42\t\n\x07_in_key\x1ar\n\x0c\x43ountEntries\x12\x62\n\x07\x65ntries\x18\x01 \x03(\x0b\x32Q.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry\x1a\xa0\x01\n\x0c\x43ountResults\x12\x1d\n\x0f\x61ggregate_count\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x66\n\x07\x65ntries\x18\x02 \x01(\x0b\x32S.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntriesH\x00\x42\t\n\x07variant\x1a\xe5\x01\n\nResultData\x12\x65\n\tdocuments\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.DocumentsH\x00\x12\x65\n\x06\x63ounts\x18\x02 \x01(\x0b\x32S.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResultsH\x00\x42\t\n\x07variantB\x08\n\x06resultB\t\n\x07version\"\xed\x01\n!GetIdentityByPublicKeyHashRequest\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashRequest.GetIdentityByPublicKeyHashRequestV0H\x00\x1aM\n#GetIdentityByPublicKeyHashRequestV0\x12\x17\n\x0fpublic_key_hash\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xda\x02\n\"GetIdentityByPublicKeyHashResponse\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashResponse.GetIdentityByPublicKeyHashResponseV0H\x00\x1a\xb6\x01\n$GetIdentityByPublicKeyHashResponseV0\x12\x12\n\x08identity\x18\x01 \x01(\x0cH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xbd\x02\n*GetIdentityByNonUniquePublicKeyHashRequest\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0H\x00\x1a\x80\x01\n,GetIdentityByNonUniquePublicKeyHashRequestV0\x12\x17\n\x0fpublic_key_hash\x18\x01 \x01(\x0c\x12\x18\n\x0bstart_after\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\x0e\n\x0c_start_afterB\t\n\x07version\"\xd6\x06\n+GetIdentityByNonUniquePublicKeyHashResponse\x12\x82\x01\n\x02v0\x18\x01 \x01(\x0b\x32t.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0H\x00\x1a\x96\x05\n-GetIdentityByNonUniquePublicKeyHashResponseV0\x12\x9a\x01\n\x08identity\x18\x01 \x01(\x0b\x32\x85\x01.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityResponseH\x00\x12\x9d\x01\n\x05proof\x18\x02 \x01(\x0b\x32\x8b\x01.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponseH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x36\n\x10IdentityResponse\x12\x15\n\x08identity\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_identity\x1a\xa6\x01\n\x16IdentityProvedResponse\x12P\n&grovedb_identity_public_key_hash_proof\x18\x01 \x01(\x0b\x32 .org.dash.platform.dapi.v0.Proof\x12!\n\x14identity_proof_bytes\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x17\n\x15_identity_proof_bytesB\x08\n\x06resultB\t\n\x07version\"\xfb\x01\n#WaitForStateTransitionResultRequest\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest.WaitForStateTransitionResultRequestV0H\x00\x1aU\n%WaitForStateTransitionResultRequestV0\x12\x1d\n\x15state_transition_hash\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x99\x03\n$WaitForStateTransitionResultResponse\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0H\x00\x1a\xef\x01\n&WaitForStateTransitionResultResponseV0\x12I\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x38.org.dash.platform.dapi.v0.StateTransitionBroadcastErrorH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc4\x01\n\x19GetConsensusParamsRequest\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetConsensusParamsRequest.GetConsensusParamsRequestV0H\x00\x1a<\n\x1bGetConsensusParamsRequestV0\x12\x0e\n\x06height\x18\x01 \x01(\x05\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x9c\x04\n\x1aGetConsensusParamsResponse\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetConsensusParamsResponse.GetConsensusParamsResponseV0H\x00\x1aP\n\x14\x43onsensusParamsBlock\x12\x11\n\tmax_bytes\x18\x01 \x01(\t\x12\x0f\n\x07max_gas\x18\x02 \x01(\t\x12\x14\n\x0ctime_iota_ms\x18\x03 \x01(\t\x1a\x62\n\x17\x43onsensusParamsEvidence\x12\x1a\n\x12max_age_num_blocks\x18\x01 \x01(\t\x12\x18\n\x10max_age_duration\x18\x02 \x01(\t\x12\x11\n\tmax_bytes\x18\x03 \x01(\t\x1a\xda\x01\n\x1cGetConsensusParamsResponseV0\x12Y\n\x05\x62lock\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetConsensusParamsResponse.ConsensusParamsBlock\x12_\n\x08\x65vidence\x18\x02 \x01(\x0b\x32M.org.dash.platform.dapi.v0.GetConsensusParamsResponse.ConsensusParamsEvidenceB\t\n\x07version\"\xe4\x01\n%GetProtocolVersionUpgradeStateRequest\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0H\x00\x1a\x38\n\'GetProtocolVersionUpgradeStateRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x42\t\n\x07version\"\xb5\x05\n&GetProtocolVersionUpgradeStateResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0H\x00\x1a\x85\x04\n(GetProtocolVersionUpgradeStateResponseV0\x12\x87\x01\n\x08versions\x18\x01 \x01(\x0b\x32s.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x96\x01\n\x08Versions\x12\x89\x01\n\x08versions\x18\x01 \x03(\x0b\x32w.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry\x1a:\n\x0cVersionEntry\x12\x16\n\x0eversion_number\x18\x01 \x01(\r\x12\x12\n\nvote_count\x18\x02 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xa3\x02\n*GetProtocolVersionUpgradeVoteStatusRequest\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0H\x00\x1ag\n,GetProtocolVersionUpgradeVoteStatusRequestV0\x12\x19\n\x11start_pro_tx_hash\x18\x01 \x01(\x0c\x12\r\n\x05\x63ount\x18\x02 \x01(\r\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xef\x05\n+GetProtocolVersionUpgradeVoteStatusResponse\x12\x82\x01\n\x02v0\x18\x01 \x01(\x0b\x32t.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0H\x00\x1a\xaf\x04\n-GetProtocolVersionUpgradeVoteStatusResponseV0\x12\x98\x01\n\x08versions\x18\x01 \x01(\x0b\x32\x83\x01.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignalsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xaf\x01\n\x0eVersionSignals\x12\x9c\x01\n\x0fversion_signals\x18\x01 \x03(\x0b\x32\x82\x01.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal\x1a\x35\n\rVersionSignal\x12\x13\n\x0bpro_tx_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07version\x18\x02 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xf5\x01\n\x14GetEpochsInfoRequest\x12T\n\x02v0\x18\x01 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetEpochsInfoRequest.GetEpochsInfoRequestV0H\x00\x1a|\n\x16GetEpochsInfoRequestV0\x12\x31\n\x0bstart_epoch\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\r\n\x05\x63ount\x18\x02 \x01(\r\x12\x11\n\tascending\x18\x03 \x01(\x08\x12\r\n\x05prove\x18\x04 \x01(\x08\x42\t\n\x07version\"\x99\x05\n\x15GetEpochsInfoResponse\x12V\n\x02v0\x18\x01 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetEpochsInfoResponse.GetEpochsInfoResponseV0H\x00\x1a\x9c\x04\n\x17GetEpochsInfoResponseV0\x12\x65\n\x06\x65pochs\x18\x01 \x01(\x0b\x32S.org.dash.platform.dapi.v0.GetEpochsInfoResponse.GetEpochsInfoResponseV0.EpochInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1au\n\nEpochInfos\x12g\n\x0b\x65poch_infos\x18\x01 \x03(\x0b\x32R.org.dash.platform.dapi.v0.GetEpochsInfoResponse.GetEpochsInfoResponseV0.EpochInfo\x1a\xa6\x01\n\tEpochInfo\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x1e\n\x12\x66irst_block_height\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x1f\n\x17\x66irst_core_block_height\x18\x03 \x01(\r\x12\x16\n\nstart_time\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x16\n\x0e\x66\x65\x65_multiplier\x18\x05 \x01(\x01\x12\x18\n\x10protocol_version\x18\x06 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xbf\x02\n\x1dGetFinalizedEpochInfosRequest\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0H\x00\x1a\xaa\x01\n\x1fGetFinalizedEpochInfosRequestV0\x12\x19\n\x11start_epoch_index\x18\x01 \x01(\r\x12\"\n\x1astart_epoch_index_included\x18\x02 \x01(\x08\x12\x17\n\x0f\x65nd_epoch_index\x18\x03 \x01(\r\x12 \n\x18\x65nd_epoch_index_included\x18\x04 \x01(\x08\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\t\n\x07version\"\xbd\t\n\x1eGetFinalizedEpochInfosResponse\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0H\x00\x1a\xa5\x08\n GetFinalizedEpochInfosResponseV0\x12\x80\x01\n\x06\x65pochs\x18\x01 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xa4\x01\n\x13\x46inalizedEpochInfos\x12\x8c\x01\n\x15\x66inalized_epoch_infos\x18\x01 \x03(\x0b\x32m.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo\x1a\x9f\x04\n\x12\x46inalizedEpochInfo\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x1e\n\x12\x66irst_block_height\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x1f\n\x17\x66irst_core_block_height\x18\x03 \x01(\r\x12\x1c\n\x10\x66irst_block_time\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x16\n\x0e\x66\x65\x65_multiplier\x18\x05 \x01(\x01\x12\x18\n\x10protocol_version\x18\x06 \x01(\r\x12!\n\x15total_blocks_in_epoch\x18\x07 \x01(\x04\x42\x02\x30\x01\x12*\n\"next_epoch_start_core_block_height\x18\x08 \x01(\r\x12!\n\x15total_processing_fees\x18\t \x01(\x04\x42\x02\x30\x01\x12*\n\x1etotal_distributed_storage_fees\x18\n \x01(\x04\x42\x02\x30\x01\x12&\n\x1atotal_created_storage_fees\x18\x0b \x01(\x04\x42\x02\x30\x01\x12\x1e\n\x12\x63ore_block_rewards\x18\x0c \x01(\x04\x42\x02\x30\x01\x12\x81\x01\n\x0f\x62lock_proposers\x18\r \x03(\x0b\x32h.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer\x1a\x39\n\rBlockProposer\x12\x13\n\x0bproposer_id\x18\x01 \x01(\x0c\x12\x13\n\x0b\x62lock_count\x18\x02 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xde\x04\n\x1cGetContestedResourcesRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0H\x00\x1a\xcc\x03\n\x1eGetContestedResourcesRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x12\n\nindex_name\x18\x03 \x01(\t\x12\x1a\n\x12start_index_values\x18\x04 \x03(\x0c\x12\x18\n\x10\x65nd_index_values\x18\x05 \x03(\x0c\x12\x89\x01\n\x13start_at_value_info\x18\x06 \x01(\x0b\x32g.org.dash.platform.dapi.v0.GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfoH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x07 \x01(\rH\x01\x88\x01\x01\x12\x17\n\x0forder_ascending\x18\x08 \x01(\x08\x12\r\n\x05prove\x18\t \x01(\x08\x1a\x45\n\x10StartAtValueInfo\x12\x13\n\x0bstart_value\x18\x01 \x01(\x0c\x12\x1c\n\x14start_value_included\x18\x02 \x01(\x08\x42\x16\n\x14_start_at_value_infoB\x08\n\x06_countB\t\n\x07version\"\x88\x04\n\x1dGetContestedResourcesResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetContestedResourcesResponse.GetContestedResourcesResponseV0H\x00\x1a\xf3\x02\n\x1fGetContestedResourcesResponseV0\x12\x95\x01\n\x19\x63ontested_resource_values\x18\x01 \x01(\x0b\x32p.org.dash.platform.dapi.v0.GetContestedResourcesResponse.GetContestedResourcesResponseV0.ContestedResourceValuesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a<\n\x17\x43ontestedResourceValues\x12!\n\x19\x63ontested_resource_values\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\xd2\x05\n\x1cGetVotePollsByEndDateRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0H\x00\x1a\xc0\x04\n\x1eGetVotePollsByEndDateRequestV0\x12\x84\x01\n\x0fstart_time_info\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.StartAtTimeInfoH\x00\x88\x01\x01\x12\x80\x01\n\rend_time_info\x18\x02 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.EndAtTimeInfoH\x01\x88\x01\x01\x12\x12\n\x05limit\x18\x03 \x01(\rH\x02\x88\x01\x01\x12\x13\n\x06offset\x18\x04 \x01(\rH\x03\x88\x01\x01\x12\x11\n\tascending\x18\x05 \x01(\x08\x12\r\n\x05prove\x18\x06 \x01(\x08\x1aI\n\x0fStartAtTimeInfo\x12\x19\n\rstart_time_ms\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1b\n\x13start_time_included\x18\x02 \x01(\x08\x1a\x43\n\rEndAtTimeInfo\x12\x17\n\x0b\x65nd_time_ms\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11\x65nd_time_included\x18\x02 \x01(\x08\x42\x12\n\x10_start_time_infoB\x10\n\x0e_end_time_infoB\x08\n\x06_limitB\t\n\x07_offsetB\t\n\x07version\"\x83\x06\n\x1dGetVotePollsByEndDateResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0H\x00\x1a\xee\x04\n\x1fGetVotePollsByEndDateResponseV0\x12\x9c\x01\n\x18vote_polls_by_timestamps\x18\x01 \x01(\x0b\x32x.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestampsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aV\n\x1eSerializedVotePollsByTimestamp\x12\x15\n\ttimestamp\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1d\n\x15serialized_vote_polls\x18\x02 \x03(\x0c\x1a\xd7\x01\n\x1fSerializedVotePollsByTimestamps\x12\x99\x01\n\x18vote_polls_by_timestamps\x18\x01 \x03(\x0b\x32w.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamp\x12\x18\n\x10\x66inished_results\x18\x02 \x01(\x08\x42\x08\n\x06resultB\t\n\x07version\"\xff\x06\n$GetContestedResourceVoteStateRequest\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0H\x00\x1a\xd5\x05\n&GetContestedResourceVoteStateRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x12\n\nindex_name\x18\x03 \x01(\t\x12\x14\n\x0cindex_values\x18\x04 \x03(\x0c\x12\x86\x01\n\x0bresult_type\x18\x05 \x01(\x0e\x32q.org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.ResultType\x12\x36\n.allow_include_locked_and_abstaining_vote_tally\x18\x06 \x01(\x08\x12\xa3\x01\n\x18start_at_identifier_info\x18\x07 \x01(\x0b\x32|.org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.StartAtIdentifierInfoH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x08 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\t \x01(\x08\x1aT\n\x15StartAtIdentifierInfo\x12\x18\n\x10start_identifier\x18\x01 \x01(\x0c\x12!\n\x19start_identifier_included\x18\x02 \x01(\x08\"I\n\nResultType\x12\r\n\tDOCUMENTS\x10\x00\x12\x0e\n\nVOTE_TALLY\x10\x01\x12\x1c\n\x18\x44OCUMENTS_AND_VOTE_TALLY\x10\x02\x42\x1b\n\x19_start_at_identifier_infoB\x08\n\x06_countB\t\n\x07version\"\x94\x0c\n%GetContestedResourceVoteStateResponse\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0H\x00\x1a\xe7\n\n\'GetContestedResourceVoteStateResponseV0\x12\xae\x01\n\x1d\x63ontested_resource_contenders\x18\x01 \x01(\x0b\x32\x84\x01.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.ContestedResourceContendersH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xda\x03\n\x10\x46inishedVoteInfo\x12\xad\x01\n\x15\x66inished_vote_outcome\x18\x01 \x01(\x0e\x32\x8d\x01.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfo.FinishedVoteOutcome\x12\x1f\n\x12won_by_identity_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12$\n\x18\x66inished_at_block_height\x18\x03 \x01(\x04\x42\x02\x30\x01\x12%\n\x1d\x66inished_at_core_block_height\x18\x04 \x01(\r\x12%\n\x19\x66inished_at_block_time_ms\x18\x05 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11\x66inished_at_epoch\x18\x06 \x01(\r\"O\n\x13\x46inishedVoteOutcome\x12\x14\n\x10TOWARDS_IDENTITY\x10\x00\x12\n\n\x06LOCKED\x10\x01\x12\x16\n\x12NO_PREVIOUS_WINNER\x10\x02\x42\x15\n\x13_won_by_identity_id\x1a\xc4\x03\n\x1b\x43ontestedResourceContenders\x12\x86\x01\n\ncontenders\x18\x01 \x03(\x0b\x32r.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.Contender\x12\x1f\n\x12\x61\x62stain_vote_tally\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x1c\n\x0flock_vote_tally\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\x9a\x01\n\x12\x66inished_vote_info\x18\x04 \x01(\x0b\x32y.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfoH\x02\x88\x01\x01\x42\x15\n\x13_abstain_vote_tallyB\x12\n\x10_lock_vote_tallyB\x15\n\x13_finished_vote_info\x1ak\n\tContender\x12\x12\n\nidentifier\x18\x01 \x01(\x0c\x12\x17\n\nvote_count\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x15\n\x08\x64ocument\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x42\r\n\x0b_vote_countB\x0b\n\t_documentB\x08\n\x06resultB\t\n\x07version\"\xd5\x05\n,GetContestedResourceVotersForIdentityRequest\x12\x84\x01\n\x02v0\x18\x01 \x01(\x0b\x32v.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityRequest.GetContestedResourceVotersForIdentityRequestV0H\x00\x1a\x92\x04\n.GetContestedResourceVotersForIdentityRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\x12\n\nindex_name\x18\x03 \x01(\t\x12\x14\n\x0cindex_values\x18\x04 \x03(\x0c\x12\x15\n\rcontestant_id\x18\x05 \x01(\x0c\x12\xb4\x01\n\x18start_at_identifier_info\x18\x06 \x01(\x0b\x32\x8c\x01.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityRequest.GetContestedResourceVotersForIdentityRequestV0.StartAtIdentifierInfoH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x07 \x01(\rH\x01\x88\x01\x01\x12\x17\n\x0forder_ascending\x18\x08 \x01(\x08\x12\r\n\x05prove\x18\t \x01(\x08\x1aT\n\x15StartAtIdentifierInfo\x12\x18\n\x10start_identifier\x18\x01 \x01(\x0c\x12!\n\x19start_identifier_included\x18\x02 \x01(\x08\x42\x1b\n\x19_start_at_identifier_infoB\x08\n\x06_countB\t\n\x07version\"\xf1\x04\n-GetContestedResourceVotersForIdentityResponse\x12\x86\x01\n\x02v0\x18\x01 \x01(\x0b\x32x.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityResponse.GetContestedResourceVotersForIdentityResponseV0H\x00\x1a\xab\x03\n/GetContestedResourceVotersForIdentityResponseV0\x12\xb6\x01\n\x19\x63ontested_resource_voters\x18\x01 \x01(\x0b\x32\x90\x01.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityResponse.GetContestedResourceVotersForIdentityResponseV0.ContestedResourceVotersH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x43\n\x17\x43ontestedResourceVoters\x12\x0e\n\x06voters\x18\x01 \x03(\x0c\x12\x18\n\x10\x66inished_results\x18\x02 \x01(\x08\x42\x08\n\x06resultB\t\n\x07version\"\xad\x05\n(GetContestedResourceIdentityVotesRequest\x12|\n\x02v0\x18\x01 \x01(\x0b\x32n.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesRequest.GetContestedResourceIdentityVotesRequestV0H\x00\x1a\xf7\x03\n*GetContestedResourceIdentityVotesRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12+\n\x05limit\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12,\n\x06offset\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12\x17\n\x0forder_ascending\x18\x04 \x01(\x08\x12\xae\x01\n\x1astart_at_vote_poll_id_info\x18\x05 \x01(\x0b\x32\x84\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesRequest.GetContestedResourceIdentityVotesRequestV0.StartAtVotePollIdInfoH\x00\x88\x01\x01\x12\r\n\x05prove\x18\x06 \x01(\x08\x1a\x61\n\x15StartAtVotePollIdInfo\x12 \n\x18start_at_poll_identifier\x18\x01 \x01(\x0c\x12&\n\x1estart_poll_identifier_included\x18\x02 \x01(\x08\x42\x1d\n\x1b_start_at_vote_poll_id_infoB\t\n\x07version\"\xc8\n\n)GetContestedResourceIdentityVotesResponse\x12~\n\x02v0\x18\x01 \x01(\x0b\x32p.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0H\x00\x1a\x8f\t\n+GetContestedResourceIdentityVotesResponseV0\x12\xa1\x01\n\x05votes\x18\x01 \x01(\x0b\x32\x8f\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVotesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\xf7\x01\n\x1e\x43ontestedResourceIdentityVotes\x12\xba\x01\n!contested_resource_identity_votes\x18\x01 \x03(\x0b\x32\x8e\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVote\x12\x18\n\x10\x66inished_results\x18\x02 \x01(\x08\x1a\xad\x02\n\x12ResourceVoteChoice\x12\xad\x01\n\x10vote_choice_type\x18\x01 \x01(\x0e\x32\x92\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoice.VoteChoiceType\x12\x18\n\x0bidentity_id\x18\x02 \x01(\x0cH\x00\x88\x01\x01\"=\n\x0eVoteChoiceType\x12\x14\n\x10TOWARDS_IDENTITY\x10\x00\x12\x0b\n\x07\x41\x42STAIN\x10\x01\x12\x08\n\x04LOCK\x10\x02\x42\x0e\n\x0c_identity_id\x1a\x95\x02\n\x1d\x43ontestedResourceIdentityVote\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1a\n\x12\x64ocument_type_name\x18\x02 \x01(\t\x12\'\n\x1fserialized_index_storage_values\x18\x03 \x03(\x0c\x12\x99\x01\n\x0bvote_choice\x18\x04 \x01(\x0b\x32\x83\x01.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoiceB\x08\n\x06resultB\t\n\x07version\"\xf0\x01\n%GetPrefundedSpecializedBalanceRequest\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceRequest.GetPrefundedSpecializedBalanceRequestV0H\x00\x1a\x44\n\'GetPrefundedSpecializedBalanceRequestV0\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xed\x02\n&GetPrefundedSpecializedBalanceResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceResponse.GetPrefundedSpecializedBalanceResponseV0H\x00\x1a\xbd\x01\n(GetPrefundedSpecializedBalanceResponseV0\x12\x15\n\x07\x62\x61lance\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xd0\x01\n GetTotalCreditsInPlatformRequest\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0H\x00\x1a\x33\n\"GetTotalCreditsInPlatformRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x42\t\n\x07version\"\xd9\x02\n!GetTotalCreditsInPlatformResponse\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0H\x00\x1a\xb8\x01\n#GetTotalCreditsInPlatformResponseV0\x12\x15\n\x07\x63redits\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc4\x01\n\x16GetPathElementsRequest\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetPathElementsRequest.GetPathElementsRequestV0H\x00\x1a\x45\n\x18GetPathElementsRequestV0\x12\x0c\n\x04path\x18\x01 \x03(\x0c\x12\x0c\n\x04keys\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xa3\x03\n\x17GetPathElementsResponse\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetPathElementsResponse.GetPathElementsResponseV0H\x00\x1a\xa0\x02\n\x19GetPathElementsResponseV0\x12i\n\x08\x65lements\x18\x01 \x01(\x0b\x32U.org.dash.platform.dapi.v0.GetPathElementsResponse.GetPathElementsResponseV0.ElementsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1c\n\x08\x45lements\x12\x10\n\x08\x65lements\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\x81\x01\n\x10GetStatusRequest\x12L\n\x02v0\x18\x01 \x01(\x0b\x32>.org.dash.platform.dapi.v0.GetStatusRequest.GetStatusRequestV0H\x00\x1a\x14\n\x12GetStatusRequestV0B\t\n\x07version\"\xe4\x10\n\x11GetStatusResponse\x12N\n\x02v0\x18\x01 \x01(\x0b\x32@.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0H\x00\x1a\xf3\x0f\n\x13GetStatusResponseV0\x12Y\n\x07version\x18\x01 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version\x12S\n\x04node\x18\x02 \x01(\x0b\x32\x45.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Node\x12U\n\x05\x63hain\x18\x03 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Chain\x12Y\n\x07network\x18\x04 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Network\x12^\n\nstate_sync\x18\x05 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.StateSync\x12S\n\x04time\x18\x06 \x01(\x0b\x32\x45.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Time\x1a\x82\x05\n\x07Version\x12\x63\n\x08software\x18\x01 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Software\x12\x63\n\x08protocol\x18\x02 \x01(\x0b\x32Q.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Protocol\x1a^\n\x08Software\x12\x0c\n\x04\x64\x61pi\x18\x01 \x01(\t\x12\x12\n\x05\x64rive\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x17\n\ntenderdash\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_driveB\r\n\x0b_tenderdash\x1a\xcc\x02\n\x08Protocol\x12p\n\ntenderdash\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Protocol.Tenderdash\x12\x66\n\x05\x64rive\x18\x02 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetStatusResponse.GetStatusResponseV0.Version.Protocol.Drive\x1a(\n\nTenderdash\x12\x0b\n\x03p2p\x18\x01 \x01(\r\x12\r\n\x05\x62lock\x18\x02 \x01(\r\x1a<\n\x05\x44rive\x12\x0e\n\x06latest\x18\x03 \x01(\r\x12\x0f\n\x07\x63urrent\x18\x04 \x01(\r\x12\x12\n\nnext_epoch\x18\x05 \x01(\r\x1a\x7f\n\x04Time\x12\x11\n\x05local\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x16\n\x05\x62lock\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x12\x18\n\x07genesis\x18\x03 \x01(\x04\x42\x02\x30\x01H\x01\x88\x01\x01\x12\x12\n\x05\x65poch\x18\x04 \x01(\rH\x02\x88\x01\x01\x42\x08\n\x06_blockB\n\n\x08_genesisB\x08\n\x06_epoch\x1a<\n\x04Node\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x18\n\x0bpro_tx_hash\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0e\n\x0c_pro_tx_hash\x1a\xb3\x02\n\x05\x43hain\x12\x13\n\x0b\x63\x61tching_up\x18\x01 \x01(\x08\x12\x19\n\x11latest_block_hash\x18\x02 \x01(\x0c\x12\x17\n\x0flatest_app_hash\x18\x03 \x01(\x0c\x12\x1f\n\x13latest_block_height\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x1b\n\x13\x65\x61rliest_block_hash\x18\x05 \x01(\x0c\x12\x19\n\x11\x65\x61rliest_app_hash\x18\x06 \x01(\x0c\x12!\n\x15\x65\x61rliest_block_height\x18\x07 \x01(\x04\x42\x02\x30\x01\x12!\n\x15max_peer_block_height\x18\t \x01(\x04\x42\x02\x30\x01\x12%\n\x18\x63ore_chain_locked_height\x18\n \x01(\rH\x00\x88\x01\x01\x42\x1b\n\x19_core_chain_locked_height\x1a\x43\n\x07Network\x12\x10\n\x08\x63hain_id\x18\x01 \x01(\t\x12\x13\n\x0bpeers_count\x18\x02 \x01(\r\x12\x11\n\tlistening\x18\x03 \x01(\x08\x1a\x85\x02\n\tStateSync\x12\x1d\n\x11total_synced_time\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0eremaining_time\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x17\n\x0ftotal_snapshots\x18\x03 \x01(\r\x12\"\n\x16\x63hunk_process_avg_time\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x1b\n\x0fsnapshot_height\x18\x05 \x01(\x04\x42\x02\x30\x01\x12!\n\x15snapshot_chunks_count\x18\x06 \x01(\x04\x42\x02\x30\x01\x12\x1d\n\x11\x62\x61\x63kfilled_blocks\x18\x07 \x01(\x04\x42\x02\x30\x01\x12!\n\x15\x62\x61\x63kfill_blocks_total\x18\x08 \x01(\x04\x42\x02\x30\x01\x42\t\n\x07version\"\xb1\x01\n\x1cGetCurrentQuorumsInfoRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0H\x00\x1a \n\x1eGetCurrentQuorumsInfoRequestV0B\t\n\x07version\"\xa1\x05\n\x1dGetCurrentQuorumsInfoResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0H\x00\x1a\x46\n\x0bValidatorV0\x12\x13\n\x0bpro_tx_hash\x18\x01 \x01(\x0c\x12\x0f\n\x07node_ip\x18\x02 \x01(\t\x12\x11\n\tis_banned\x18\x03 \x01(\x08\x1a\xaf\x01\n\x0eValidatorSetV0\x12\x13\n\x0bquorum_hash\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ore_height\x18\x02 \x01(\r\x12U\n\x07members\x18\x03 \x03(\x0b\x32\x44.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorV0\x12\x1c\n\x14threshold_public_key\x18\x04 \x01(\x0c\x1a\x92\x02\n\x1fGetCurrentQuorumsInfoResponseV0\x12\x15\n\rquorum_hashes\x18\x01 \x03(\x0c\x12\x1b\n\x13\x63urrent_quorum_hash\x18\x02 \x01(\x0c\x12_\n\x0evalidator_sets\x18\x03 \x03(\x0b\x32G.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse.ValidatorSetV0\x12\x1b\n\x13last_block_proposer\x18\x04 \x01(\x0c\x12=\n\x08metadata\x18\x05 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\t\n\x07version\"\xf4\x01\n\x1fGetIdentityTokenBalancesRequest\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetIdentityTokenBalancesRequest.GetIdentityTokenBalancesRequestV0H\x00\x1aZ\n!GetIdentityTokenBalancesRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x11\n\ttoken_ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xad\x05\n GetIdentityTokenBalancesResponse\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0H\x00\x1a\x8f\x04\n\"GetIdentityTokenBalancesResponseV0\x12\x86\x01\n\x0etoken_balances\x18\x01 \x01(\x0b\x32l.org.dash.platform.dapi.v0.GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0.TokenBalancesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aG\n\x11TokenBalanceEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x14\n\x07\x62\x61lance\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_balance\x1a\x9a\x01\n\rTokenBalances\x12\x88\x01\n\x0etoken_balances\x18\x01 \x03(\x0b\x32p.org.dash.platform.dapi.v0.GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0.TokenBalanceEntryB\x08\n\x06resultB\t\n\x07version\"\xfc\x01\n!GetIdentitiesTokenBalancesRequest\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesRequest.GetIdentitiesTokenBalancesRequestV0H\x00\x1a\\\n#GetIdentitiesTokenBalancesRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x14\n\x0cidentity_ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xf2\x05\n\"GetIdentitiesTokenBalancesResponse\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0H\x00\x1a\xce\x04\n$GetIdentitiesTokenBalancesResponseV0\x12\x9b\x01\n\x17identity_token_balances\x18\x01 \x01(\x0b\x32x.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0.IdentityTokenBalancesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aR\n\x19IdentityTokenBalanceEntry\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x14\n\x07\x62\x61lance\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_balance\x1a\xb7\x01\n\x15IdentityTokenBalances\x12\x9d\x01\n\x17identity_token_balances\x18\x01 \x03(\x0b\x32|.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0.IdentityTokenBalanceEntryB\x08\n\x06resultB\t\n\x07version\"\xe8\x01\n\x1cGetIdentityTokenInfosRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetIdentityTokenInfosRequest.GetIdentityTokenInfosRequestV0H\x00\x1aW\n\x1eGetIdentityTokenInfosRequestV0\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x11\n\ttoken_ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\x98\x06\n\x1dGetIdentityTokenInfosResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0H\x00\x1a\x83\x05\n\x1fGetIdentityTokenInfosResponseV0\x12z\n\x0btoken_infos\x18\x01 \x01(\x0b\x32\x63.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a(\n\x16TokenIdentityInfoEntry\x12\x0e\n\x06\x66rozen\x18\x01 \x01(\x08\x1a\xb0\x01\n\x0eTokenInfoEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x82\x01\n\x04info\x18\x02 \x01(\x0b\x32o.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenIdentityInfoEntryH\x00\x88\x01\x01\x42\x07\n\x05_info\x1a\x8a\x01\n\nTokenInfos\x12|\n\x0btoken_infos\x18\x01 \x03(\x0b\x32g.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenInfoEntryB\x08\n\x06resultB\t\n\x07version\"\xf0\x01\n\x1eGetIdentitiesTokenInfosRequest\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosRequest.GetIdentitiesTokenInfosRequestV0H\x00\x1aY\n GetIdentitiesTokenInfosRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x14\n\x0cidentity_ids\x18\x02 \x03(\x0c\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xca\x06\n\x1fGetIdentitiesTokenInfosResponse\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0H\x00\x1a\xaf\x05\n!GetIdentitiesTokenInfosResponseV0\x12\x8f\x01\n\x14identity_token_infos\x18\x01 \x01(\x0b\x32o.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.IdentityTokenInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a(\n\x16TokenIdentityInfoEntry\x12\x0e\n\x06\x66rozen\x18\x01 \x01(\x08\x1a\xb7\x01\n\x0eTokenInfoEntry\x12\x13\n\x0bidentity_id\x18\x01 \x01(\x0c\x12\x86\x01\n\x04info\x18\x02 \x01(\x0b\x32s.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.TokenIdentityInfoEntryH\x00\x88\x01\x01\x42\x07\n\x05_info\x1a\x97\x01\n\x12IdentityTokenInfos\x12\x80\x01\n\x0btoken_infos\x18\x01 \x03(\x0b\x32k.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.TokenInfoEntryB\x08\n\x06resultB\t\n\x07version\"\xbf\x01\n\x17GetTokenStatusesRequest\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetTokenStatusesRequest.GetTokenStatusesRequestV0H\x00\x1a=\n\x19GetTokenStatusesRequestV0\x12\x11\n\ttoken_ids\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xe7\x04\n\x18GetTokenStatusesResponse\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetTokenStatusesResponse.GetTokenStatusesResponseV0H\x00\x1a\xe1\x03\n\x1aGetTokenStatusesResponseV0\x12v\n\x0etoken_statuses\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetTokenStatusesResponse.GetTokenStatusesResponseV0.TokenStatusesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x44\n\x10TokenStatusEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x13\n\x06paused\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\t\n\x07_paused\x1a\x88\x01\n\rTokenStatuses\x12w\n\x0etoken_statuses\x18\x01 \x03(\x0b\x32_.org.dash.platform.dapi.v0.GetTokenStatusesResponse.GetTokenStatusesResponseV0.TokenStatusEntryB\x08\n\x06resultB\t\n\x07version\"\xef\x01\n#GetTokenDirectPurchasePricesRequest\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0H\x00\x1aI\n%GetTokenDirectPurchasePricesRequestV0\x12\x11\n\ttoken_ids\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x8b\t\n$GetTokenDirectPurchasePricesResponse\x12t\n\x02v0\x18\x01 \x01(\x0b\x32\x66.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0H\x00\x1a\xe1\x07\n&GetTokenDirectPurchasePricesResponseV0\x12\xa9\x01\n\x1ctoken_direct_purchase_prices\x18\x01 \x01(\x0b\x32\x80\x01.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePricesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x33\n\x10PriceForQuantity\x12\x10\n\x08quantity\x18\x01 \x01(\x04\x12\r\n\x05price\x18\x02 \x01(\x04\x1a\xa7\x01\n\x0fPricingSchedule\x12\x93\x01\n\x12price_for_quantity\x18\x01 \x03(\x0b\x32w.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.PriceForQuantity\x1a\xe4\x01\n\x1dTokenDirectPurchasePriceEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x15\n\x0b\x66ixed_price\x18\x02 \x01(\x04H\x00\x12\x90\x01\n\x0evariable_price\x18\x03 \x01(\x0b\x32v.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.PricingScheduleH\x00\x42\x07\n\x05price\x1a\xc8\x01\n\x19TokenDirectPurchasePrices\x12\xaa\x01\n\x1btoken_direct_purchase_price\x18\x01 \x03(\x0b\x32\x84\x01.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntryB\x08\n\x06resultB\t\n\x07version\"\xce\x01\n\x1bGetTokenContractInfoRequest\x12\x62\n\x02v0\x18\x01 \x01(\x0b\x32T.org.dash.platform.dapi.v0.GetTokenContractInfoRequest.GetTokenContractInfoRequestV0H\x00\x1a@\n\x1dGetTokenContractInfoRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xfb\x03\n\x1cGetTokenContractInfoResponse\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0H\x00\x1a\xe9\x02\n\x1eGetTokenContractInfoResponseV0\x12|\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32l.org.dash.platform.dapi.v0.GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoDataH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aM\n\x15TokenContractInfoData\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17token_contract_position\x18\x02 \x01(\rB\x08\n\x06resultB\t\n\x07version\"\xef\x04\n)GetTokenPreProgrammedDistributionsRequest\x12~\n\x02v0\x18\x01 \x01(\x0b\x32p.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest.GetTokenPreProgrammedDistributionsRequestV0H\x00\x1a\xb6\x03\n+GetTokenPreProgrammedDistributionsRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x98\x01\n\rstart_at_info\x18\x02 \x01(\x0b\x32|.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest.GetTokenPreProgrammedDistributionsRequestV0.StartAtInfoH\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x04 \x01(\x08\x1a\x9a\x01\n\x0bStartAtInfo\x12\x15\n\rstart_time_ms\x18\x01 \x01(\x04\x12\x1c\n\x0fstart_recipient\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12%\n\x18start_recipient_included\x18\x03 \x01(\x08H\x01\x88\x01\x01\x42\x12\n\x10_start_recipientB\x1b\n\x19_start_recipient_includedB\x10\n\x0e_start_at_infoB\x08\n\x06_limitB\t\n\x07version\"\xec\x07\n*GetTokenPreProgrammedDistributionsResponse\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0H\x00\x1a\xaf\x06\n,GetTokenPreProgrammedDistributionsResponseV0\x12\xa5\x01\n\x13token_distributions\x18\x01 \x01(\x0b\x32\x85\x01.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenDistributionsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a>\n\x16TokenDistributionEntry\x12\x14\n\x0crecipient_id\x18\x01 \x01(\x0c\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x04\x1a\xd4\x01\n\x1bTokenTimedDistributionEntry\x12\x11\n\ttimestamp\x18\x01 \x01(\x04\x12\xa1\x01\n\rdistributions\x18\x02 \x03(\x0b\x32\x89\x01.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenDistributionEntry\x1a\xc3\x01\n\x12TokenDistributions\x12\xac\x01\n\x13token_distributions\x18\x01 \x03(\x0b\x32\x8e\x01.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenTimedDistributionEntryB\x08\n\x06resultB\t\n\x07version\"\x82\x04\n-GetTokenPerpetualDistributionLastClaimRequest\x12\x86\x01\n\x02v0\x18\x01 \x01(\x0b\x32x.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0H\x00\x1aI\n\x11\x43ontractTokenInfo\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17token_contract_position\x18\x02 \x01(\r\x1a\xf1\x01\n/GetTokenPerpetualDistributionLastClaimRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12v\n\rcontract_info\x18\x02 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfoH\x00\x88\x01\x01\x12\x13\n\x0bidentity_id\x18\x04 \x01(\x0c\x12\r\n\x05prove\x18\x05 \x01(\x08\x42\x10\n\x0e_contract_infoB\t\n\x07version\"\x93\x05\n.GetTokenPerpetualDistributionLastClaimResponse\x12\x88\x01\n\x02v0\x18\x01 \x01(\x0b\x32z.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0H\x00\x1a\xca\x03\n0GetTokenPerpetualDistributionLastClaimResponseV0\x12\x9f\x01\n\nlast_claim\x18\x01 \x01(\x0b\x32\x88\x01.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfoH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1ax\n\rLastClaimInfo\x12\x1a\n\x0ctimestamp_ms\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x1a\n\x0c\x62lock_height\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x12\x0f\n\x05\x65poch\x18\x03 \x01(\rH\x00\x12\x13\n\traw_bytes\x18\x04 \x01(\x0cH\x00\x42\t\n\x07paid_atB\x08\n\x06resultB\t\n\x07version\"\xca\x01\n\x1aGetTokenTotalSupplyRequest\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0H\x00\x1a?\n\x1cGetTokenTotalSupplyRequestV0\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xaf\x04\n\x1bGetTokenTotalSupplyResponse\x12\x62\n\x02v0\x18\x01 \x01(\x0b\x32T.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0H\x00\x1a\xa0\x03\n\x1dGetTokenTotalSupplyResponseV0\x12\x88\x01\n\x12token_total_supply\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.TokenTotalSupplyEntryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1ax\n\x15TokenTotalSupplyEntry\x12\x10\n\x08token_id\x18\x01 \x01(\x0c\x12\x30\n(total_aggregated_amount_in_user_accounts\x18\x02 \x01(\x04\x12\x1b\n\x13total_system_amount\x18\x03 \x01(\x04\x42\x08\n\x06resultB\t\n\x07version\"\xd2\x01\n\x13GetGroupInfoRequest\x12R\n\x02v0\x18\x01 \x01(\x0b\x32\x44.org.dash.platform.dapi.v0.GetGroupInfoRequest.GetGroupInfoRequestV0H\x00\x1a\\\n\x15GetGroupInfoRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17group_contract_position\x18\x02 \x01(\r\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xd4\x05\n\x14GetGroupInfoResponse\x12T\n\x02v0\x18\x01 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetGroupInfoResponse.GetGroupInfoResponseV0H\x00\x1a\xda\x04\n\x16GetGroupInfoResponseV0\x12\x66\n\ngroup_info\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetGroupInfoResponse.GetGroupInfoResponseV0.GroupInfoH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x04 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x34\n\x10GroupMemberEntry\x12\x11\n\tmember_id\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x02 \x01(\r\x1a\x98\x01\n\x0eGroupInfoEntry\x12h\n\x07members\x18\x01 \x03(\x0b\x32W.org.dash.platform.dapi.v0.GetGroupInfoResponse.GetGroupInfoResponseV0.GroupMemberEntry\x12\x1c\n\x14group_required_power\x18\x02 \x01(\r\x1a\x8a\x01\n\tGroupInfo\x12n\n\ngroup_info\x18\x01 \x01(\x0b\x32U.org.dash.platform.dapi.v0.GetGroupInfoResponse.GetGroupInfoResponseV0.GroupInfoEntryH\x00\x88\x01\x01\x42\r\n\x0b_group_infoB\x08\n\x06resultB\t\n\x07version\"\xed\x03\n\x14GetGroupInfosRequest\x12T\n\x02v0\x18\x01 \x01(\x0b\x32\x46.org.dash.platform.dapi.v0.GetGroupInfosRequest.GetGroupInfosRequestV0H\x00\x1au\n\x1cStartAtGroupContractPosition\x12%\n\x1dstart_group_contract_position\x18\x01 \x01(\r\x12.\n&start_group_contract_position_included\x18\x02 \x01(\x08\x1a\xfc\x01\n\x16GetGroupInfosRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12{\n start_at_group_contract_position\x18\x02 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetGroupInfosRequest.StartAtGroupContractPositionH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x04 \x01(\x08\x42#\n!_start_at_group_contract_positionB\x08\n\x06_countB\t\n\x07version\"\xff\x05\n\x15GetGroupInfosResponse\x12V\n\x02v0\x18\x01 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetGroupInfosResponse.GetGroupInfosResponseV0H\x00\x1a\x82\x05\n\x17GetGroupInfosResponseV0\x12j\n\x0bgroup_infos\x18\x01 \x01(\x0b\x32S.org.dash.platform.dapi.v0.GetGroupInfosResponse.GetGroupInfosResponseV0.GroupInfosH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x04 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x34\n\x10GroupMemberEntry\x12\x11\n\tmember_id\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x02 \x01(\r\x1a\xc3\x01\n\x16GroupPositionInfoEntry\x12\x1f\n\x17group_contract_position\x18\x01 \x01(\r\x12j\n\x07members\x18\x02 \x03(\x0b\x32Y.org.dash.platform.dapi.v0.GetGroupInfosResponse.GetGroupInfosResponseV0.GroupMemberEntry\x12\x1c\n\x14group_required_power\x18\x03 \x01(\r\x1a\x82\x01\n\nGroupInfos\x12t\n\x0bgroup_infos\x18\x01 \x03(\x0b\x32_.org.dash.platform.dapi.v0.GetGroupInfosResponse.GetGroupInfosResponseV0.GroupPositionInfoEntryB\x08\n\x06resultB\t\n\x07version\"\xbe\x04\n\x16GetGroupActionsRequest\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetGroupActionsRequest.GetGroupActionsRequestV0H\x00\x1aL\n\x0fStartAtActionId\x12\x17\n\x0fstart_action_id\x18\x01 \x01(\x0c\x12 \n\x18start_action_id_included\x18\x02 \x01(\x08\x1a\xc8\x02\n\x18GetGroupActionsRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17group_contract_position\x18\x02 \x01(\r\x12N\n\x06status\x18\x03 \x01(\x0e\x32>.org.dash.platform.dapi.v0.GetGroupActionsRequest.ActionStatus\x12\x62\n\x12start_at_action_id\x18\x04 \x01(\x0b\x32\x41.org.dash.platform.dapi.v0.GetGroupActionsRequest.StartAtActionIdH\x00\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\r\n\x05prove\x18\x06 \x01(\x08\x42\x15\n\x13_start_at_action_idB\x08\n\x06_count\"&\n\x0c\x41\x63tionStatus\x12\n\n\x06\x41\x43TIVE\x10\x00\x12\n\n\x06\x43LOSED\x10\x01\x42\t\n\x07version\"\xd6\x1e\n\x17GetGroupActionsResponse\x12Z\n\x02v0\x18\x01 \x01(\x0b\x32L.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0H\x00\x1a\xd3\x1d\n\x19GetGroupActionsResponseV0\x12r\n\rgroup_actions\x18\x01 \x01(\x0b\x32Y.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a[\n\tMintEvent\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x04\x12\x14\n\x0crecipient_id\x18\x02 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a[\n\tBurnEvent\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x04\x12\x14\n\x0c\x62urn_from_id\x18\x02 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1aJ\n\x0b\x46reezeEvent\x12\x11\n\tfrozen_id\x18\x01 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1aL\n\rUnfreezeEvent\x12\x11\n\tfrozen_id\x18\x01 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a\x66\n\x17\x44\x65stroyFrozenFundsEvent\x12\x11\n\tfrozen_id\x18\x01 \x01(\x0c\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x04\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a\x64\n\x13SharedEncryptedNote\x12\x18\n\x10sender_key_index\x18\x01 \x01(\r\x12\x1b\n\x13recipient_key_index\x18\x02 \x01(\r\x12\x16\n\x0e\x65ncrypted_data\x18\x03 \x01(\x0c\x1a{\n\x15PersonalEncryptedNote\x12!\n\x19root_encryption_key_index\x18\x01 \x01(\r\x12\'\n\x1f\x64\x65rivation_encryption_key_index\x18\x02 \x01(\r\x12\x16\n\x0e\x65ncrypted_data\x18\x03 \x01(\x0c\x1a\xe9\x01\n\x14\x45mergencyActionEvent\x12\x81\x01\n\x0b\x61\x63tion_type\x18\x01 \x01(\x0e\x32l.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.EmergencyActionEvent.ActionType\x12\x18\n\x0bpublic_note\x18\x02 \x01(\tH\x00\x88\x01\x01\"#\n\nActionType\x12\t\n\x05PAUSE\x10\x00\x12\n\n\x06RESUME\x10\x01\x42\x0e\n\x0c_public_note\x1a\x64\n\x16TokenConfigUpdateEvent\x12 \n\x18token_config_update_item\x18\x01 \x01(\x0c\x12\x18\n\x0bpublic_note\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_public_note\x1a\xe6\x03\n\x1eUpdateDirectPurchasePriceEvent\x12\x15\n\x0b\x66ixed_price\x18\x01 \x01(\x04H\x00\x12\x95\x01\n\x0evariable_price\x18\x02 \x01(\x0b\x32{.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.PricingScheduleH\x00\x12\x18\n\x0bpublic_note\x18\x03 \x01(\tH\x01\x88\x01\x01\x1a\x33\n\x10PriceForQuantity\x12\x10\n\x08quantity\x18\x01 \x01(\x04\x12\r\n\x05price\x18\x02 \x01(\x04\x1a\xac\x01\n\x0fPricingSchedule\x12\x98\x01\n\x12price_for_quantity\x18\x01 \x03(\x0b\x32|.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.PriceForQuantityB\x07\n\x05priceB\x0e\n\x0c_public_note\x1a\xfc\x02\n\x10GroupActionEvent\x12n\n\x0btoken_event\x18\x01 \x01(\x0b\x32W.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEventH\x00\x12t\n\x0e\x64ocument_event\x18\x02 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.DocumentEventH\x00\x12t\n\x0e\x63ontract_event\x18\x03 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.ContractEventH\x00\x42\x0c\n\nevent_type\x1a\x8b\x01\n\rDocumentEvent\x12r\n\x06\x63reate\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.DocumentCreateEventH\x00\x42\x06\n\x04type\x1a/\n\x13\x44ocumentCreateEvent\x12\x18\n\x10\x63reated_document\x18\x01 \x01(\x0c\x1a/\n\x13\x43ontractUpdateEvent\x12\x18\n\x10updated_contract\x18\x01 \x01(\x0c\x1a\x8b\x01\n\rContractEvent\x12r\n\x06update\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.ContractUpdateEventH\x00\x42\x06\n\x04type\x1a\xd1\x07\n\nTokenEvent\x12\x66\n\x04mint\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.MintEventH\x00\x12\x66\n\x04\x62urn\x18\x02 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEventH\x00\x12j\n\x06\x66reeze\x18\x03 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.FreezeEventH\x00\x12n\n\x08unfreeze\x18\x04 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UnfreezeEventH\x00\x12\x84\x01\n\x14\x64\x65stroy_frozen_funds\x18\x05 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.DestroyFrozenFundsEventH\x00\x12}\n\x10\x65mergency_action\x18\x06 \x01(\x0b\x32\x61.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.EmergencyActionEventH\x00\x12\x82\x01\n\x13token_config_update\x18\x07 \x01(\x0b\x32\x63.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.TokenConfigUpdateEventH\x00\x12\x83\x01\n\x0cupdate_price\x18\x08 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEventH\x00\x42\x06\n\x04type\x1a\x93\x01\n\x10GroupActionEntry\x12\x11\n\taction_id\x18\x01 \x01(\x0c\x12l\n\x05\x65vent\x18\x02 \x01(\x0b\x32].org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionEvent\x1a\x84\x01\n\x0cGroupActions\x12t\n\rgroup_actions\x18\x01 \x03(\x0b\x32].org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionEntryB\x08\n\x06resultB\t\n\x07version\"\x88\x03\n\x1cGetGroupActionSignersRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetGroupActionSignersRequest.GetGroupActionSignersRequestV0H\x00\x1a\xce\x01\n\x1eGetGroupActionSignersRequestV0\x12\x13\n\x0b\x63ontract_id\x18\x01 \x01(\x0c\x12\x1f\n\x17group_contract_position\x18\x02 \x01(\r\x12T\n\x06status\x18\x03 \x01(\x0e\x32\x44.org.dash.platform.dapi.v0.GetGroupActionSignersRequest.ActionStatus\x12\x11\n\taction_id\x18\x04 \x01(\x0c\x12\r\n\x05prove\x18\x05 \x01(\x08\"&\n\x0c\x41\x63tionStatus\x12\n\n\x06\x41\x43TIVE\x10\x00\x12\n\n\x06\x43LOSED\x10\x01\x42\t\n\x07version\"\x8b\x05\n\x1dGetGroupActionSignersResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetGroupActionSignersResponse.GetGroupActionSignersResponseV0H\x00\x1a\xf6\x03\n\x1fGetGroupActionSignersResponseV0\x12\x8b\x01\n\x14group_action_signers\x18\x01 \x01(\x0b\x32k.org.dash.platform.dapi.v0.GetGroupActionSignersResponse.GetGroupActionSignersResponseV0.GroupActionSignersH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x35\n\x11GroupActionSigner\x12\x11\n\tsigner_id\x18\x01 \x01(\x0c\x12\r\n\x05power\x18\x02 \x01(\r\x1a\x91\x01\n\x12GroupActionSigners\x12{\n\x07signers\x18\x01 \x03(\x0b\x32j.org.dash.platform.dapi.v0.GetGroupActionSignersResponse.GetGroupActionSignersResponseV0.GroupActionSignerB\x08\n\x06resultB\t\n\x07version\"\xb5\x01\n\x15GetAddressInfoRequest\x12V\n\x02v0\x18\x01 \x01(\x0b\x32H.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0H\x00\x1a\x39\n\x17GetAddressInfoRequestV0\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x85\x01\n\x10\x41\x64\x64ressInfoEntry\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12J\n\x11\x62\x61lance_and_nonce\x18\x02 \x01(\x0b\x32*.org.dash.platform.dapi.v0.BalanceAndNonceH\x00\x88\x01\x01\x42\x14\n\x12_balance_and_nonce\"1\n\x0f\x42\x61lanceAndNonce\x12\x0f\n\x07\x62\x61lance\x18\x01 \x01(\x04\x12\r\n\x05nonce\x18\x02 \x01(\r\"_\n\x12\x41\x64\x64ressInfoEntries\x12I\n\x14\x61\x64\x64ress_info_entries\x18\x01 \x03(\x0b\x32+.org.dash.platform.dapi.v0.AddressInfoEntry\"m\n\x14\x41\x64\x64ressBalanceChange\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x19\n\x0bset_balance\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x12\x1c\n\x0e\x61\x64\x64_to_balance\x18\x03 \x01(\x04\x42\x02\x30\x01H\x00\x42\x0b\n\toperation\"x\n\x1a\x42lockAddressBalanceChanges\x12\x18\n\x0c\x62lock_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12@\n\x07\x63hanges\x18\x02 \x03(\x0b\x32/.org.dash.platform.dapi.v0.AddressBalanceChange\"k\n\x1b\x41\x64\x64ressBalanceUpdateEntries\x12L\n\rblock_changes\x18\x01 \x03(\x0b\x32\x35.org.dash.platform.dapi.v0.BlockAddressBalanceChanges\"\xe1\x02\n\x16GetAddressInfoResponse\x12X\n\x02v0\x18\x01 \x01(\x0b\x32J.org.dash.platform.dapi.v0.GetAddressInfoResponse.GetAddressInfoResponseV0H\x00\x1a\xe1\x01\n\x18GetAddressInfoResponseV0\x12I\n\x12\x61\x64\x64ress_info_entry\x18\x01 \x01(\x0b\x32+.org.dash.platform.dapi.v0.AddressInfoEntryH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xc3\x01\n\x18GetAddressesInfosRequest\x12\\\n\x02v0\x18\x01 \x01(\x0b\x32N.org.dash.platform.dapi.v0.GetAddressesInfosRequest.GetAddressesInfosRequestV0H\x00\x1a>\n\x1aGetAddressesInfosRequestV0\x12\x11\n\taddresses\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xf1\x02\n\x19GetAddressesInfosResponse\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetAddressesInfosResponse.GetAddressesInfosResponseV0H\x00\x1a\xe8\x01\n\x1bGetAddressesInfosResponseV0\x12M\n\x14\x61\x64\x64ress_info_entries\x18\x01 \x01(\x0b\x32-.org.dash.platform.dapi.v0.AddressInfoEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xb5\x01\n\x1dGetAddressesTrunkStateRequest\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0H\x00\x1a!\n\x1fGetAddressesTrunkStateRequestV0B\t\n\x07version\"\xaa\x02\n\x1eGetAddressesTrunkStateResponse\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0H\x00\x1a\x92\x01\n GetAddressesTrunkStateResponseV0\x12/\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.Proof\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\t\n\x07version\"\xf0\x01\n\x1eGetAddressesBranchStateRequest\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0H\x00\x1aY\n GetAddressesBranchStateRequestV0\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x12\r\n\x05\x64\x65pth\x18\x02 \x01(\r\x12\x19\n\x11\x63heckpoint_height\x18\x03 \x01(\x04\x42\t\n\x07version\"\xd1\x01\n\x1fGetAddressesBranchStateResponse\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0H\x00\x1a\x37\n!GetAddressesBranchStateResponseV0\x12\x12\n\nmerk_proof\x18\x02 \x01(\x0c\x42\t\n\x07version\"\x9e\x02\n%GetRecentAddressBalanceChangesRequest\x12v\n\x02v0\x18\x01 \x01(\x0b\x32h.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0H\x00\x1ar\n\'GetRecentAddressBalanceChangesRequestV0\x12\x18\n\x0cstart_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x02 \x01(\x08\x12\x1e\n\x16start_height_exclusive\x18\x03 \x01(\x08\x42\t\n\x07version\"\xb8\x03\n&GetRecentAddressBalanceChangesResponse\x12x\n\x02v0\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0H\x00\x1a\x88\x02\n(GetRecentAddressBalanceChangesResponseV0\x12`\n\x1e\x61\x64\x64ress_balance_update_entries\x18\x01 \x01(\x0b\x32\x36.org.dash.platform.dapi.v0.AddressBalanceUpdateEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"G\n\x16\x42lockHeightCreditEntry\x12\x18\n\x0c\x62lock_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x13\n\x07\x63redits\x18\x02 \x01(\x04\x42\x02\x30\x01\"\xb0\x01\n\x1d\x43ompactedAddressBalanceChange\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0c\x12\x19\n\x0bset_credits\x18\x02 \x01(\x04\x42\x02\x30\x01H\x00\x12V\n\x19\x61\x64\x64_to_credits_operations\x18\x03 \x01(\x0b\x32\x31.org.dash.platform.dapi.v0.AddToCreditsOperationsH\x00\x42\x0b\n\toperation\"\\\n\x16\x41\x64\x64ToCreditsOperations\x12\x42\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x31.org.dash.platform.dapi.v0.BlockHeightCreditEntry\"\xae\x01\n#CompactedBlockAddressBalanceChanges\x12\x1e\n\x12start_block_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1c\n\x10\x65nd_block_height\x18\x02 \x01(\x04\x42\x02\x30\x01\x12I\n\x07\x63hanges\x18\x03 \x03(\x0b\x32\x38.org.dash.platform.dapi.v0.CompactedAddressBalanceChange\"\x87\x01\n$CompactedAddressBalanceUpdateEntries\x12_\n\x17\x63ompacted_block_changes\x18\x01 \x03(\x0b\x32>.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges\"\xa9\x02\n.GetRecentCompactedAddressBalanceChangesRequest\x12\x88\x01\n\x02v0\x18\x01 \x01(\x0b\x32z.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0H\x00\x1a\x61\n0GetRecentCompactedAddressBalanceChangesRequestV0\x12\x1e\n\x12start_block_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xf0\x03\n/GetRecentCompactedAddressBalanceChangesResponse\x12\x8a\x01\n\x02v0\x18\x01 \x01(\x0b\x32|.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0H\x00\x1a\xa4\x02\n1GetRecentCompactedAddressBalanceChangesResponseV0\x12s\n(compacted_address_balance_update_entries\x18\x01 \x01(\x0b\x32?.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdateEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xf4\x01\n GetShieldedEncryptedNotesRequest\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest.GetShieldedEncryptedNotesRequestV0H\x00\x1aW\n\"GetShieldedEncryptedNotesRequestV0\x12\x13\n\x0bstart_index\x18\x01 \x01(\x04\x12\r\n\x05\x63ount\x18\x02 \x01(\r\x12\r\n\x05prove\x18\x03 \x01(\x08\x42\t\n\x07version\"\xac\x05\n!GetShieldedEncryptedNotesResponse\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0H\x00\x1a\x8b\x04\n#GetShieldedEncryptedNotesResponseV0\x12\x8a\x01\n\x0f\x65ncrypted_notes\x18\x01 \x01(\x0b\x32o.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNotesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1aG\n\rEncryptedNote\x12\x11\n\tnullifier\x18\x01 \x01(\x0c\x12\x0b\n\x03\x63mx\x18\x02 \x01(\x0c\x12\x16\n\x0e\x65ncrypted_note\x18\x03 \x01(\x0c\x1a\x91\x01\n\x0e\x45ncryptedNotes\x12\x7f\n\x07\x65ntries\x18\x01 \x03(\x0b\x32n.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNoteB\x08\n\x06resultB\t\n\x07version\"\xb4\x01\n\x19GetShieldedAnchorsRequest\x12^\n\x02v0\x18\x01 \x01(\x0b\x32P.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0H\x00\x1a,\n\x1bGetShieldedAnchorsRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x42\t\n\x07version\"\xb1\x03\n\x1aGetShieldedAnchorsResponse\x12`\n\x02v0\x18\x01 \x01(\x0b\x32R.org.dash.platform.dapi.v0.GetShieldedAnchorsResponse.GetShieldedAnchorsResponseV0H\x00\x1a\xa5\x02\n\x1cGetShieldedAnchorsResponseV0\x12m\n\x07\x61nchors\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetShieldedAnchorsResponse.GetShieldedAnchorsResponseV0.AnchorsH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x1a\n\x07\x41nchors\x12\x0f\n\x07\x61nchors\x18\x01 \x03(\x0c\x42\x08\n\x06resultB\t\n\x07version\"\xd8\x01\n\"GetMostRecentShieldedAnchorRequest\x12p\n\x02v0\x18\x01 \x01(\x0b\x32\x62.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest.GetMostRecentShieldedAnchorRequestV0H\x00\x1a\x35\n$GetMostRecentShieldedAnchorRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x42\t\n\x07version\"\xdc\x02\n#GetMostRecentShieldedAnchorResponse\x12r\n\x02v0\x18\x01 \x01(\x0b\x32\x64.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorResponse.GetMostRecentShieldedAnchorResponseV0H\x00\x1a\xb5\x01\n%GetMostRecentShieldedAnchorResponseV0\x12\x10\n\x06\x61nchor\x18\x01 \x01(\x0cH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xbc\x01\n\x1bGetShieldedPoolStateRequest\x12\x62\n\x02v0\x18\x01 \x01(\x0b\x32T.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest.GetShieldedPoolStateRequestV0H\x00\x1a.\n\x1dGetShieldedPoolStateRequestV0\x12\r\n\x05prove\x18\x01 \x01(\x08\x42\t\n\x07version\"\xcb\x02\n\x1cGetShieldedPoolStateResponse\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetShieldedPoolStateResponse.GetShieldedPoolStateResponseV0H\x00\x1a\xb9\x01\n\x1eGetShieldedPoolStateResponseV0\x12\x1b\n\rtotal_balance\x18\x01 \x01(\x04\x42\x02\x30\x01H\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"\xd4\x01\n\x1cGetShieldedNullifiersRequest\x12\x64\n\x02v0\x18\x01 \x01(\x0b\x32V.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest.GetShieldedNullifiersRequestV0H\x00\x1a\x43\n\x1eGetShieldedNullifiersRequestV0\x12\x12\n\nnullifiers\x18\x01 \x03(\x0c\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x86\x05\n\x1dGetShieldedNullifiersResponse\x12\x66\n\x02v0\x18\x01 \x01(\x0b\x32X.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0H\x00\x1a\xf1\x03\n\x1fGetShieldedNullifiersResponseV0\x12\x88\x01\n\x12nullifier_statuses\x18\x01 \x01(\x0b\x32j.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0.NullifierStatusesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadata\x1a\x36\n\x0fNullifierStatus\x12\x11\n\tnullifier\x18\x01 \x01(\x0c\x12\x10\n\x08is_spent\x18\x02 \x01(\x08\x1a\x8e\x01\n\x11NullifierStatuses\x12y\n\x07\x65ntries\x18\x01 \x03(\x0b\x32h.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0.NullifierStatusB\x08\n\x06resultB\t\n\x07version\"\xe5\x01\n\x1eGetNullifiersTrunkStateRequest\x12h\n\x02v0\x18\x01 \x01(\x0b\x32Z.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest.GetNullifiersTrunkStateRequestV0H\x00\x1aN\n GetNullifiersTrunkStateRequestV0\x12\x11\n\tpool_type\x18\x01 \x01(\r\x12\x17\n\x0fpool_identifier\x18\x02 \x01(\x0c\x42\t\n\x07version\"\xae\x02\n\x1fGetNullifiersTrunkStateResponse\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse.GetNullifiersTrunkStateResponseV0H\x00\x1a\x93\x01\n!GetNullifiersTrunkStateResponseV0\x12/\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.Proof\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\t\n\x07version\"\xa1\x02\n\x1fGetNullifiersBranchStateRequest\x12j\n\x02v0\x18\x01 \x01(\x0b\x32\\.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest.GetNullifiersBranchStateRequestV0H\x00\x1a\x86\x01\n!GetNullifiersBranchStateRequestV0\x12\x11\n\tpool_type\x18\x01 \x01(\r\x12\x17\n\x0fpool_identifier\x18\x02 \x01(\x0c\x12\x0b\n\x03key\x18\x03 \x01(\x0c\x12\r\n\x05\x64\x65pth\x18\x04 \x01(\r\x12\x19\n\x11\x63heckpoint_height\x18\x05 \x01(\x04\x42\t\n\x07version\"\xd5\x01\n GetNullifiersBranchStateResponse\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse.GetNullifiersBranchStateResponseV0H\x00\x1a\x38\n\"GetNullifiersBranchStateResponseV0\x12\x12\n\nmerk_proof\x18\x02 \x01(\x0c\x42\t\n\x07version\"E\n\x15\x42lockNullifierChanges\x12\x18\n\x0c\x62lock_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x12\n\nnullifiers\x18\x02 \x03(\x0c\"a\n\x16NullifierUpdateEntries\x12G\n\rblock_changes\x18\x01 \x03(\x0b\x32\x30.org.dash.platform.dapi.v0.BlockNullifierChanges\"\xea\x01\n GetRecentNullifierChangesRequest\x12l\n\x02v0\x18\x01 \x01(\x0b\x32^.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest.GetRecentNullifierChangesRequestV0H\x00\x1aM\n\"GetRecentNullifierChangesRequestV0\x12\x18\n\x0cstart_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\x99\x03\n!GetRecentNullifierChangesResponse\x12n\n\x02v0\x18\x01 \x01(\x0b\x32`.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse.GetRecentNullifierChangesResponseV0H\x00\x1a\xf8\x01\n#GetRecentNullifierChangesResponseV0\x12U\n\x18nullifier_update_entries\x18\x01 \x01(\x0b\x32\x31.org.dash.platform.dapi.v0.NullifierUpdateEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version\"r\n\x1e\x43ompactedBlockNullifierChanges\x12\x1e\n\x12start_block_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1c\n\x10\x65nd_block_height\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x12\n\nnullifiers\x18\x03 \x03(\x0c\"}\n\x1f\x43ompactedNullifierUpdateEntries\x12Z\n\x17\x63ompacted_block_changes\x18\x01 \x03(\x0b\x32\x39.org.dash.platform.dapi.v0.CompactedBlockNullifierChanges\"\x94\x02\n)GetRecentCompactedNullifierChangesRequest\x12~\n\x02v0\x18\x01 \x01(\x0b\x32p.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest.GetRecentCompactedNullifierChangesRequestV0H\x00\x1a\\\n+GetRecentCompactedNullifierChangesRequestV0\x12\x1e\n\x12start_block_height\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\r\n\x05prove\x18\x02 \x01(\x08\x42\t\n\x07version\"\xd1\x03\n*GetRecentCompactedNullifierChangesResponse\x12\x80\x01\n\x02v0\x18\x01 \x01(\x0b\x32r.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponse.GetRecentCompactedNullifierChangesResponseV0H\x00\x1a\x94\x02\n,GetRecentCompactedNullifierChangesResponseV0\x12h\n\"compacted_nullifier_update_entries\x18\x01 \x01(\x0b\x32:.org.dash.platform.dapi.v0.CompactedNullifierUpdateEntriesH\x00\x12\x31\n\x05proof\x18\x02 \x01(\x0b\x32 .org.dash.platform.dapi.v0.ProofH\x00\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32+.org.dash.platform.dapi.v0.ResponseMetadataB\x08\n\x06resultB\t\n\x07version*Z\n\nKeyPurpose\x12\x12\n\x0e\x41UTHENTICATION\x10\x00\x12\x0e\n\nENCRYPTION\x10\x01\x12\x0e\n\nDECRYPTION\x10\x02\x12\x0c\n\x08TRANSFER\x10\x03\x12\n\n\x06VOTING\x10\x05\x32\xb3G\n\x08Platform\x12\x93\x01\n\x18\x62roadcastStateTransition\x12:.org.dash.platform.dapi.v0.BroadcastStateTransitionRequest\x1a;.org.dash.platform.dapi.v0.BroadcastStateTransitionResponse\x12l\n\x0bgetIdentity\x12-.org.dash.platform.dapi.v0.GetIdentityRequest\x1a..org.dash.platform.dapi.v0.GetIdentityResponse\x12x\n\x0fgetIdentityKeys\x12\x31.org.dash.platform.dapi.v0.GetIdentityKeysRequest\x1a\x32.org.dash.platform.dapi.v0.GetIdentityKeysResponse\x12\x96\x01\n\x19getIdentitiesContractKeys\x12;.org.dash.platform.dapi.v0.GetIdentitiesContractKeysRequest\x1a<.org.dash.platform.dapi.v0.GetIdentitiesContractKeysResponse\x12{\n\x10getIdentityNonce\x12\x32.org.dash.platform.dapi.v0.GetIdentityNonceRequest\x1a\x33.org.dash.platform.dapi.v0.GetIdentityNonceResponse\x12\x93\x01\n\x18getIdentityContractNonce\x12:.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest\x1a;.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse\x12\x81\x01\n\x12getIdentityBalance\x12\x34.org.dash.platform.dapi.v0.GetIdentityBalanceRequest\x1a\x35.org.dash.platform.dapi.v0.GetIdentityBalanceResponse\x12\x8a\x01\n\x15getIdentitiesBalances\x12\x37.org.dash.platform.dapi.v0.GetIdentitiesBalancesRequest\x1a\x38.org.dash.platform.dapi.v0.GetIdentitiesBalancesResponse\x12\xa2\x01\n\x1dgetIdentityBalanceAndRevision\x12?.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest\x1a@.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse\x12\xaf\x01\n#getEvonodesProposedEpochBlocksByIds\x12\x45.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest\x1a\x41.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse\x12\xb3\x01\n%getEvonodesProposedEpochBlocksByRange\x12G.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest\x1a\x41.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksResponse\x12x\n\x0fgetDataContract\x12\x31.org.dash.platform.dapi.v0.GetDataContractRequest\x1a\x32.org.dash.platform.dapi.v0.GetDataContractResponse\x12\x8d\x01\n\x16getDataContractHistory\x12\x38.org.dash.platform.dapi.v0.GetDataContractHistoryRequest\x1a\x39.org.dash.platform.dapi.v0.GetDataContractHistoryResponse\x12{\n\x10getDataContracts\x12\x32.org.dash.platform.dapi.v0.GetDataContractsRequest\x1a\x33.org.dash.platform.dapi.v0.GetDataContractsResponse\x12o\n\x0cgetDocuments\x12..org.dash.platform.dapi.v0.GetDocumentsRequest\x1a/.org.dash.platform.dapi.v0.GetDocumentsResponse\x12\x99\x01\n\x1agetIdentityByPublicKeyHash\x12<.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashRequest\x1a=.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashResponse\x12\xb4\x01\n#getIdentityByNonUniquePublicKeyHash\x12\x45.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest\x1a\x46.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse\x12\x9f\x01\n\x1cwaitForStateTransitionResult\x12>.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest\x1a?.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse\x12\x81\x01\n\x12getConsensusParams\x12\x34.org.dash.platform.dapi.v0.GetConsensusParamsRequest\x1a\x35.org.dash.platform.dapi.v0.GetConsensusParamsResponse\x12\xa5\x01\n\x1egetProtocolVersionUpgradeState\x12@.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest\x1a\x41.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse\x12\xb4\x01\n#getProtocolVersionUpgradeVoteStatus\x12\x45.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest\x1a\x46.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse\x12r\n\rgetEpochsInfo\x12/.org.dash.platform.dapi.v0.GetEpochsInfoRequest\x1a\x30.org.dash.platform.dapi.v0.GetEpochsInfoResponse\x12\x8d\x01\n\x16getFinalizedEpochInfos\x12\x38.org.dash.platform.dapi.v0.GetFinalizedEpochInfosRequest\x1a\x39.org.dash.platform.dapi.v0.GetFinalizedEpochInfosResponse\x12\x8a\x01\n\x15getContestedResources\x12\x37.org.dash.platform.dapi.v0.GetContestedResourcesRequest\x1a\x38.org.dash.platform.dapi.v0.GetContestedResourcesResponse\x12\xa2\x01\n\x1dgetContestedResourceVoteState\x12?.org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest\x1a@.org.dash.platform.dapi.v0.GetContestedResourceVoteStateResponse\x12\xba\x01\n%getContestedResourceVotersForIdentity\x12G.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityRequest\x1aH.org.dash.platform.dapi.v0.GetContestedResourceVotersForIdentityResponse\x12\xae\x01\n!getContestedResourceIdentityVotes\x12\x43.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesRequest\x1a\x44.org.dash.platform.dapi.v0.GetContestedResourceIdentityVotesResponse\x12\x8a\x01\n\x15getVotePollsByEndDate\x12\x37.org.dash.platform.dapi.v0.GetVotePollsByEndDateRequest\x1a\x38.org.dash.platform.dapi.v0.GetVotePollsByEndDateResponse\x12\xa5\x01\n\x1egetPrefundedSpecializedBalance\x12@.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceRequest\x1a\x41.org.dash.platform.dapi.v0.GetPrefundedSpecializedBalanceResponse\x12\x96\x01\n\x19getTotalCreditsInPlatform\x12;.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformRequest\x1a<.org.dash.platform.dapi.v0.GetTotalCreditsInPlatformResponse\x12x\n\x0fgetPathElements\x12\x31.org.dash.platform.dapi.v0.GetPathElementsRequest\x1a\x32.org.dash.platform.dapi.v0.GetPathElementsResponse\x12\x66\n\tgetStatus\x12+.org.dash.platform.dapi.v0.GetStatusRequest\x1a,.org.dash.platform.dapi.v0.GetStatusResponse\x12\x8a\x01\n\x15getCurrentQuorumsInfo\x12\x37.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoRequest\x1a\x38.org.dash.platform.dapi.v0.GetCurrentQuorumsInfoResponse\x12\x93\x01\n\x18getIdentityTokenBalances\x12:.org.dash.platform.dapi.v0.GetIdentityTokenBalancesRequest\x1a;.org.dash.platform.dapi.v0.GetIdentityTokenBalancesResponse\x12\x99\x01\n\x1agetIdentitiesTokenBalances\x12<.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesRequest\x1a=.org.dash.platform.dapi.v0.GetIdentitiesTokenBalancesResponse\x12\x8a\x01\n\x15getIdentityTokenInfos\x12\x37.org.dash.platform.dapi.v0.GetIdentityTokenInfosRequest\x1a\x38.org.dash.platform.dapi.v0.GetIdentityTokenInfosResponse\x12\x90\x01\n\x17getIdentitiesTokenInfos\x12\x39.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosRequest\x1a:.org.dash.platform.dapi.v0.GetIdentitiesTokenInfosResponse\x12{\n\x10getTokenStatuses\x12\x32.org.dash.platform.dapi.v0.GetTokenStatusesRequest\x1a\x33.org.dash.platform.dapi.v0.GetTokenStatusesResponse\x12\x9f\x01\n\x1cgetTokenDirectPurchasePrices\x12>.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesRequest\x1a?.org.dash.platform.dapi.v0.GetTokenDirectPurchasePricesResponse\x12\x87\x01\n\x14getTokenContractInfo\x12\x36.org.dash.platform.dapi.v0.GetTokenContractInfoRequest\x1a\x37.org.dash.platform.dapi.v0.GetTokenContractInfoResponse\x12\xb1\x01\n\"getTokenPreProgrammedDistributions\x12\x44.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsRequest\x1a\x45.org.dash.platform.dapi.v0.GetTokenPreProgrammedDistributionsResponse\x12\xbd\x01\n&getTokenPerpetualDistributionLastClaim\x12H.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimRequest\x1aI.org.dash.platform.dapi.v0.GetTokenPerpetualDistributionLastClaimResponse\x12\x84\x01\n\x13getTokenTotalSupply\x12\x35.org.dash.platform.dapi.v0.GetTokenTotalSupplyRequest\x1a\x36.org.dash.platform.dapi.v0.GetTokenTotalSupplyResponse\x12o\n\x0cgetGroupInfo\x12..org.dash.platform.dapi.v0.GetGroupInfoRequest\x1a/.org.dash.platform.dapi.v0.GetGroupInfoResponse\x12r\n\rgetGroupInfos\x12/.org.dash.platform.dapi.v0.GetGroupInfosRequest\x1a\x30.org.dash.platform.dapi.v0.GetGroupInfosResponse\x12x\n\x0fgetGroupActions\x12\x31.org.dash.platform.dapi.v0.GetGroupActionsRequest\x1a\x32.org.dash.platform.dapi.v0.GetGroupActionsResponse\x12\x8a\x01\n\x15getGroupActionSigners\x12\x37.org.dash.platform.dapi.v0.GetGroupActionSignersRequest\x1a\x38.org.dash.platform.dapi.v0.GetGroupActionSignersResponse\x12u\n\x0egetAddressInfo\x12\x30.org.dash.platform.dapi.v0.GetAddressInfoRequest\x1a\x31.org.dash.platform.dapi.v0.GetAddressInfoResponse\x12~\n\x11getAddressesInfos\x12\x33.org.dash.platform.dapi.v0.GetAddressesInfosRequest\x1a\x34.org.dash.platform.dapi.v0.GetAddressesInfosResponse\x12\x8d\x01\n\x16getAddressesTrunkState\x12\x38.org.dash.platform.dapi.v0.GetAddressesTrunkStateRequest\x1a\x39.org.dash.platform.dapi.v0.GetAddressesTrunkStateResponse\x12\x90\x01\n\x17getAddressesBranchState\x12\x39.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest\x1a:.org.dash.platform.dapi.v0.GetAddressesBranchStateResponse\x12\xa5\x01\n\x1egetRecentAddressBalanceChanges\x12@.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesRequest\x1a\x41.org.dash.platform.dapi.v0.GetRecentAddressBalanceChangesResponse\x12\xc0\x01\n\'getRecentCompactedAddressBalanceChanges\x12I.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesRequest\x1aJ.org.dash.platform.dapi.v0.GetRecentCompactedAddressBalanceChangesResponse\x12\x96\x01\n\x19getShieldedEncryptedNotes\x12;.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesRequest\x1a<.org.dash.platform.dapi.v0.GetShieldedEncryptedNotesResponse\x12\x81\x01\n\x12getShieldedAnchors\x12\x34.org.dash.platform.dapi.v0.GetShieldedAnchorsRequest\x1a\x35.org.dash.platform.dapi.v0.GetShieldedAnchorsResponse\x12\x9c\x01\n\x1bgetMostRecentShieldedAnchor\x12=.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorRequest\x1a>.org.dash.platform.dapi.v0.GetMostRecentShieldedAnchorResponse\x12\x87\x01\n\x14getShieldedPoolState\x12\x36.org.dash.platform.dapi.v0.GetShieldedPoolStateRequest\x1a\x37.org.dash.platform.dapi.v0.GetShieldedPoolStateResponse\x12\x8a\x01\n\x15getShieldedNullifiers\x12\x37.org.dash.platform.dapi.v0.GetShieldedNullifiersRequest\x1a\x38.org.dash.platform.dapi.v0.GetShieldedNullifiersResponse\x12\x90\x01\n\x17getNullifiersTrunkState\x12\x39.org.dash.platform.dapi.v0.GetNullifiersTrunkStateRequest\x1a:.org.dash.platform.dapi.v0.GetNullifiersTrunkStateResponse\x12\x93\x01\n\x18getNullifiersBranchState\x12:.org.dash.platform.dapi.v0.GetNullifiersBranchStateRequest\x1a;.org.dash.platform.dapi.v0.GetNullifiersBranchStateResponse\x12\x96\x01\n\x19getRecentNullifierChanges\x12;.org.dash.platform.dapi.v0.GetRecentNullifierChangesRequest\x1a<.org.dash.platform.dapi.v0.GetRecentNullifierChangesResponse\x12\xb1\x01\n\"getRecentCompactedNullifierChanges\x12\x44.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesRequest\x1a\x45.org.dash.platform.dapi.v0.GetRecentCompactedNullifierChangesResponseb\x06proto3'
,
dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,])
@@ -62,8 +62,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=63326,
- serialized_end=63416,
+ serialized_start=63619,
+ serialized_end=63709,
)
_sym_db.RegisterEnumDescriptor(_KEYPURPOSE)
@@ -100,6 +100,31 @@
)
_sym_db.RegisterEnumDescriptor(_SECURITYLEVELMAP_KEYKINDREQUESTTYPE)
+_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1_SELECT = _descriptor.EnumDescriptor(
+ name='Select',
+ full_name='org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select',
+ filename=None,
+ file=DESCRIPTOR,
+ create_key=_descriptor._internal_create_key,
+ values=[
+ _descriptor.EnumValueDescriptor(
+ name='DOCUMENTS', index=0, number=0,
+ serialized_options=None,
+ type=None,
+ create_key=_descriptor._internal_create_key),
+ _descriptor.EnumValueDescriptor(
+ name='COUNT', index=1, number=1,
+ serialized_options=None,
+ type=None,
+ create_key=_descriptor._internal_create_key),
+ ],
+ containing_type=None,
+ serialized_options=None,
+ serialized_start=11590,
+ serialized_end=11624,
+)
+_sym_db.RegisterEnumDescriptor(_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1_SELECT)
+
_GETCONTESTEDRESOURCEVOTESTATEREQUEST_GETCONTESTEDRESOURCEVOTESTATEREQUESTV0_RESULTTYPE = _descriptor.EnumDescriptor(
name='ResultType',
full_name='org.dash.platform.dapi.v0.GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.ResultType',
@@ -125,8 +150,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=23735,
- serialized_end=23808,
+ serialized_start=24028,
+ serialized_end=24101,
)
_sym_db.RegisterEnumDescriptor(_GETCONTESTEDRESOURCEVOTESTATEREQUEST_GETCONTESTEDRESOURCEVOTESTATEREQUESTV0_RESULTTYPE)
@@ -155,8 +180,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=24730,
- serialized_end=24809,
+ serialized_start=25023,
+ serialized_end=25102,
)
_sym_db.RegisterEnumDescriptor(_GETCONTESTEDRESOURCEVOTESTATERESPONSE_GETCONTESTEDRESOURCEVOTESTATERESPONSEV0_FINISHEDVOTEINFO_FINISHEDVOTEOUTCOME)
@@ -185,8 +210,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=28438,
- serialized_end=28499,
+ serialized_start=28731,
+ serialized_end=28792,
)
_sym_db.RegisterEnumDescriptor(_GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSE_GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSEV0_RESOURCEVOTECHOICE_VOTECHOICETYPE)
@@ -210,8 +235,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=47063,
- serialized_end=47101,
+ serialized_start=47356,
+ serialized_end=47394,
)
_sym_db.RegisterEnumDescriptor(_GETGROUPACTIONSREQUEST_ACTIONSTATUS)
@@ -235,8 +260,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=48348,
- serialized_end=48383,
+ serialized_start=48641,
+ serialized_end=48676,
)
_sym_db.RegisterEnumDescriptor(_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_EMERGENCYACTIONEVENT_ACTIONTYPE)
@@ -260,8 +285,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=47063,
- serialized_end=47101,
+ serialized_start=47356,
+ serialized_end=47394,
)
_sym_db.RegisterEnumDescriptor(_GETGROUPACTIONSIGNERSREQUEST_ACTIONSTATUS)
@@ -3432,8 +3457,120 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=11004,
- serialized_end=11191,
+ serialized_start=11088,
+ serialized_end=11275,
+)
+
+_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1 = _descriptor.Descriptor(
+ name='GetDocumentsRequestV1',
+ full_name='org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1',
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ create_key=_descriptor._internal_create_key,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name='data_contract_id', full_name='org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.data_contract_id', index=0,
+ number=1, type=12, cpp_type=9, label=1,
+ has_default_value=False, default_value=b"",
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ _descriptor.FieldDescriptor(
+ name='document_type', full_name='org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.document_type', index=1,
+ number=2, type=9, cpp_type=9, label=1,
+ has_default_value=False, default_value=b"".decode('utf-8'),
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ _descriptor.FieldDescriptor(
+ name='where', full_name='org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.where', index=2,
+ number=3, type=12, cpp_type=9, label=1,
+ has_default_value=False, default_value=b"",
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ _descriptor.FieldDescriptor(
+ name='order_by', full_name='org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.order_by', index=3,
+ number=4, type=12, cpp_type=9, label=1,
+ has_default_value=False, default_value=b"",
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ _descriptor.FieldDescriptor(
+ name='limit', full_name='org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.limit', index=4,
+ number=5, type=13, cpp_type=3, label=1,
+ has_default_value=False, default_value=0,
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ _descriptor.FieldDescriptor(
+ name='start_after', full_name='org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.start_after', index=5,
+ number=6, type=12, cpp_type=9, label=1,
+ has_default_value=False, default_value=b"",
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ _descriptor.FieldDescriptor(
+ name='start_at', full_name='org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.start_at', index=6,
+ number=7, type=12, cpp_type=9, label=1,
+ has_default_value=False, default_value=b"",
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ _descriptor.FieldDescriptor(
+ name='prove', full_name='org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prove', index=7,
+ number=8, type=8, cpp_type=7, label=1,
+ has_default_value=False, default_value=False,
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ _descriptor.FieldDescriptor(
+ name='select', full_name='org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.select', index=8,
+ number=9, type=14, cpp_type=8, label=1,
+ has_default_value=False, default_value=0,
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ _descriptor.FieldDescriptor(
+ name='group_by', full_name='org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.group_by', index=9,
+ number=10, type=9, cpp_type=9, label=3,
+ has_default_value=False, default_value=[],
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ _descriptor.FieldDescriptor(
+ name='having', full_name='org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.having', index=10,
+ number=11, type=12, cpp_type=9, label=1,
+ has_default_value=False, default_value=b"",
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ ],
+ extensions=[
+ ],
+ nested_types=[],
+ enum_types=[
+ _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1_SELECT,
+ ],
+ serialized_options=None,
+ is_extendable=False,
+ syntax='proto3',
+ extension_ranges=[],
+ oneofs=[
+ _descriptor.OneofDescriptor(
+ name='start', full_name='org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.start',
+ index=0, containing_type=None,
+ create_key=_descriptor._internal_create_key,
+ fields=[]),
+ _descriptor.OneofDescriptor(
+ name='_limit', full_name='org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1._limit',
+ index=1, containing_type=None,
+ create_key=_descriptor._internal_create_key,
+ fields=[]),
+ ],
+ serialized_start=11278,
+ serialized_end=11643,
)
_GETDOCUMENTSREQUEST = _descriptor.Descriptor(
@@ -3451,10 +3588,17 @@
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ _descriptor.FieldDescriptor(
+ name='v1', full_name='org.dash.platform.dapi.v0.GetDocumentsRequest.v1', index=1,
+ number=2, type=11, cpp_type=10, label=1,
+ has_default_value=False, default_value=None,
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
- nested_types=[_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV0, ],
+ nested_types=[_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV0, _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1, ],
enum_types=[
],
serialized_options=None,
@@ -3469,7 +3613,7 @@
fields=[]),
],
serialized_start=10896,
- serialized_end=11202,
+ serialized_end=11654,
)
@@ -3500,8 +3644,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=11559,
- serialized_end=11589,
+ serialized_start=12097,
+ serialized_end=12127,
)
_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV0 = _descriptor.Descriptor(
@@ -3550,29 +3694,29 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=11316,
- serialized_end=11599,
+ serialized_start=11854,
+ serialized_end=12137,
)
-_GETDOCUMENTSRESPONSE = _descriptor.Descriptor(
- name='GetDocumentsResponse',
- full_name='org.dash.platform.dapi.v0.GetDocumentsResponse',
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_DOCUMENTS = _descriptor.Descriptor(
+ name='Documents',
+ full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
- name='v0', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.v0', index=0,
- number=1, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
+ name='documents', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.documents', index=0,
+ number=1, type=12, cpp_type=9, label=3,
+ has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
- nested_types=[_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV0, ],
+ nested_types=[],
enum_types=[
],
serialized_options=None,
@@ -3580,74 +3724,40 @@
syntax='proto3',
extension_ranges=[],
oneofs=[
- _descriptor.OneofDescriptor(
- name='version', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.version',
- index=0, containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[]),
],
- serialized_start=11205,
- serialized_end=11610,
+ serialized_start=12097,
+ serialized_end=12127,
)
-
-_GETDOCUMENTSCOUNTREQUEST_GETDOCUMENTSCOUNTREQUESTV0 = _descriptor.Descriptor(
- name='GetDocumentsCountRequestV0',
- full_name='org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0',
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRY = _descriptor.Descriptor(
+ name='CountEntry',
+ full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
- name='data_contract_id', full_name='org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.data_contract_id', index=0,
+ name='in_key', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.in_key', index=0,
number=1, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=b"",
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='document_type', full_name='org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.document_type', index=1,
- number=2, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=b"".decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='where', full_name='org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.where', index=2,
- number=3, type=12, cpp_type=9, label=1,
- has_default_value=False, default_value=b"",
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='return_distinct_counts_in_range', full_name='org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.return_distinct_counts_in_range', index=3,
- number=4, type=8, cpp_type=7, label=1,
- has_default_value=False, default_value=False,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='order_by', full_name='org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.order_by', index=4,
- number=5, type=12, cpp_type=9, label=1,
+ name='key', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.key', index=1,
+ number=2, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=b"",
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='limit', full_name='org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.limit', index=5,
- number=6, type=13, cpp_type=3, label=1,
+ name='count', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.count', index=2,
+ number=3, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='prove', full_name='org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prove', index=6,
- number=7, type=8, cpp_type=7, label=1,
- has_default_value=False, default_value=False,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ serialized_options=b'0\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@@ -3660,34 +3770,34 @@
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
- name='_limit', full_name='org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0._limit',
+ name='_in_key', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry._in_key',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=11736,
- serialized_end=11932,
+ serialized_start=12411,
+ serialized_end=12487,
)
-_GETDOCUMENTSCOUNTREQUEST = _descriptor.Descriptor(
- name='GetDocumentsCountRequest',
- full_name='org.dash.platform.dapi.v0.GetDocumentsCountRequest',
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRIES = _descriptor.Descriptor(
+ name='CountEntries',
+ full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
- name='v0', full_name='org.dash.platform.dapi.v0.GetDocumentsCountRequest.v0', index=0,
- number=1, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
+ name='entries', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.entries', index=0,
+ number=1, type=11, cpp_type=10, label=3,
+ has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
- nested_types=[_GETDOCUMENTSCOUNTREQUEST_GETDOCUMENTSCOUNTREQUESTV0, ],
+ nested_types=[],
enum_types=[
],
serialized_options=None,
@@ -3695,46 +3805,33 @@
syntax='proto3',
extension_ranges=[],
oneofs=[
- _descriptor.OneofDescriptor(
- name='version', full_name='org.dash.platform.dapi.v0.GetDocumentsCountRequest.version',
- index=0, containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[]),
],
- serialized_start=11613,
- serialized_end=11943,
+ serialized_start=12489,
+ serialized_end=12603,
)
-
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTENTRY = _descriptor.Descriptor(
- name='CountEntry',
- full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry',
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTRESULTS = _descriptor.Descriptor(
+ name='CountResults',
+ full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
- name='in_key', full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.in_key', index=0,
- number=1, type=12, cpp_type=9, label=1,
- has_default_value=False, default_value=b"",
+ name='aggregate_count', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.aggregate_count', index=0,
+ number=1, type=4, cpp_type=4, label=1,
+ has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ serialized_options=b'0\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='key', full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.key', index=1,
- number=2, type=12, cpp_type=9, label=1,
- has_default_value=False, default_value=b"",
+ name='entries', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.entries', index=1,
+ number=2, type=11, cpp_type=10, label=1,
+ has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='count', full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.count', index=2,
- number=3, type=4, cpp_type=4, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=b'0\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@@ -3747,63 +3844,32 @@
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
- name='_in_key', full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry._in_key',
+ name='variant', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.variant',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=12330,
- serialized_end=12406,
+ serialized_start=12606,
+ serialized_end=12766,
)
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTENTRIES = _descriptor.Descriptor(
- name='CountEntries',
- full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries',
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RESULTDATA = _descriptor.Descriptor(
+ name='ResultData',
+ full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
- name='entries', full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.entries', index=0,
- number=1, type=11, cpp_type=10, label=3,
- has_default_value=False, default_value=[],
+ name='documents', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.documents', index=0,
+ number=1, type=11, cpp_type=10, label=1,
+ has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=12408,
- serialized_end=12532,
-)
-
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTRESULTS = _descriptor.Descriptor(
- name='CountResults',
- full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
_descriptor.FieldDescriptor(
- name='aggregate_count', full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.aggregate_count', index=0,
- number=1, type=4, cpp_type=4, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=b'0\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='entries', full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.entries', index=1,
+ name='counts', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.counts', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
@@ -3821,39 +3887,39 @@
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
- name='variant', full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.variant',
+ name='variant', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.variant',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=12535,
- serialized_end=12705,
+ serialized_start=12769,
+ serialized_end=12998,
)
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0 = _descriptor.Descriptor(
- name='GetDocumentsCountResponseV0',
- full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0',
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1 = _descriptor.Descriptor(
+ name='GetDocumentsResponseV1',
+ full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
- name='counts', full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.counts', index=0,
+ name='data', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.data', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='proof', full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.proof', index=1,
+ name='proof', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.proof', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
- name='metadata', full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.metadata', index=2,
+ name='metadata', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.metadata', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
@@ -3862,7 +3928,7 @@
],
extensions=[
],
- nested_types=[_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTENTRY, _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTENTRIES, _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTRESULTS, ],
+ nested_types=[_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_DOCUMENTS, _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRY, _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRIES, _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTRESULTS, _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RESULTDATA, ],
enum_types=[
],
serialized_options=None,
@@ -3871,34 +3937,41 @@
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
- name='result', full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.result',
+ name='result', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.result',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=12072,
- serialized_end=12715,
+ serialized_start=12140,
+ serialized_end=13008,
)
-_GETDOCUMENTSCOUNTRESPONSE = _descriptor.Descriptor(
- name='GetDocumentsCountResponse',
- full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse',
+_GETDOCUMENTSRESPONSE = _descriptor.Descriptor(
+ name='GetDocumentsResponse',
+ full_name='org.dash.platform.dapi.v0.GetDocumentsResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
- name='v0', full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.v0', index=0,
+ name='v0', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.v0', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
+ _descriptor.FieldDescriptor(
+ name='v1', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.v1', index=1,
+ number=2, type=11, cpp_type=10, label=1,
+ has_default_value=False, default_value=None,
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
- nested_types=[_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0, ],
+ nested_types=[_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV0, _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1, ],
enum_types=[
],
serialized_options=None,
@@ -3907,13 +3980,13 @@
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
- name='version', full_name='org.dash.platform.dapi.v0.GetDocumentsCountResponse.version',
+ name='version', full_name='org.dash.platform.dapi.v0.GetDocumentsResponse.version',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=11946,
- serialized_end=12726,
+ serialized_start=11657,
+ serialized_end=13019,
)
@@ -3951,8 +4024,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=12878,
- serialized_end=12955,
+ serialized_start=13171,
+ serialized_end=13248,
)
_GETIDENTITYBYPUBLICKEYHASHREQUEST = _descriptor.Descriptor(
@@ -3987,8 +4060,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=12729,
- serialized_end=12966,
+ serialized_start=13022,
+ serialized_end=13259,
)
@@ -4038,8 +4111,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=13122,
- serialized_end=13304,
+ serialized_start=13415,
+ serialized_end=13597,
)
_GETIDENTITYBYPUBLICKEYHASHRESPONSE = _descriptor.Descriptor(
@@ -4074,8 +4147,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=12969,
- serialized_end=13315,
+ serialized_start=13262,
+ serialized_end=13608,
)
@@ -4125,8 +4198,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=13496,
- serialized_end=13624,
+ serialized_start=13789,
+ serialized_end=13917,
)
_GETIDENTITYBYNONUNIQUEPUBLICKEYHASHREQUEST = _descriptor.Descriptor(
@@ -4161,8 +4234,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=13318,
- serialized_end=13635,
+ serialized_start=13611,
+ serialized_end=13928,
)
@@ -4198,8 +4271,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=14248,
- serialized_end=14302,
+ serialized_start=14541,
+ serialized_end=14595,
)
_GETIDENTITYBYNONUNIQUEPUBLICKEYHASHRESPONSE_GETIDENTITYBYNONUNIQUEPUBLICKEYHASHRESPONSEV0_IDENTITYPROVEDRESPONSE = _descriptor.Descriptor(
@@ -4241,8 +4314,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=14305,
- serialized_end=14471,
+ serialized_start=14598,
+ serialized_end=14764,
)
_GETIDENTITYBYNONUNIQUEPUBLICKEYHASHRESPONSE_GETIDENTITYBYNONUNIQUEPUBLICKEYHASHRESPONSEV0 = _descriptor.Descriptor(
@@ -4291,8 +4364,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=13819,
- serialized_end=14481,
+ serialized_start=14112,
+ serialized_end=14774,
)
_GETIDENTITYBYNONUNIQUEPUBLICKEYHASHRESPONSE = _descriptor.Descriptor(
@@ -4327,8 +4400,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=13638,
- serialized_end=14492,
+ serialized_start=13931,
+ serialized_end=14785,
)
@@ -4366,8 +4439,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=14650,
- serialized_end=14735,
+ serialized_start=14943,
+ serialized_end=15028,
)
_WAITFORSTATETRANSITIONRESULTREQUEST = _descriptor.Descriptor(
@@ -4402,8 +4475,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=14495,
- serialized_end=14746,
+ serialized_start=14788,
+ serialized_end=15039,
)
@@ -4453,8 +4526,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=14908,
- serialized_end=15147,
+ serialized_start=15201,
+ serialized_end=15440,
)
_WAITFORSTATETRANSITIONRESULTRESPONSE = _descriptor.Descriptor(
@@ -4489,8 +4562,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=14749,
- serialized_end=15158,
+ serialized_start=15042,
+ serialized_end=15451,
)
@@ -4528,8 +4601,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=15286,
- serialized_end=15346,
+ serialized_start=15579,
+ serialized_end=15639,
)
_GETCONSENSUSPARAMSREQUEST = _descriptor.Descriptor(
@@ -4564,8 +4637,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=15161,
- serialized_end=15357,
+ serialized_start=15454,
+ serialized_end=15650,
)
@@ -4610,8 +4683,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=15488,
- serialized_end=15568,
+ serialized_start=15781,
+ serialized_end=15861,
)
_GETCONSENSUSPARAMSRESPONSE_CONSENSUSPARAMSEVIDENCE = _descriptor.Descriptor(
@@ -4655,8 +4728,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=15570,
- serialized_end=15668,
+ serialized_start=15863,
+ serialized_end=15961,
)
_GETCONSENSUSPARAMSRESPONSE_GETCONSENSUSPARAMSRESPONSEV0 = _descriptor.Descriptor(
@@ -4693,8 +4766,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=15671,
- serialized_end=15889,
+ serialized_start=15964,
+ serialized_end=16182,
)
_GETCONSENSUSPARAMSRESPONSE = _descriptor.Descriptor(
@@ -4729,8 +4802,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=15360,
- serialized_end=15900,
+ serialized_start=15653,
+ serialized_end=16193,
)
@@ -4761,8 +4834,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=16064,
- serialized_end=16120,
+ serialized_start=16357,
+ serialized_end=16413,
)
_GETPROTOCOLVERSIONUPGRADESTATEREQUEST = _descriptor.Descriptor(
@@ -4797,8 +4870,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=15903,
- serialized_end=16131,
+ serialized_start=16196,
+ serialized_end=16424,
)
@@ -4829,8 +4902,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=16596,
- serialized_end=16746,
+ serialized_start=16889,
+ serialized_end=17039,
)
_GETPROTOCOLVERSIONUPGRADESTATERESPONSE_GETPROTOCOLVERSIONUPGRADESTATERESPONSEV0_VERSIONENTRY = _descriptor.Descriptor(
@@ -4867,8 +4940,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=16748,
- serialized_end=16806,
+ serialized_start=17041,
+ serialized_end=17099,
)
_GETPROTOCOLVERSIONUPGRADESTATERESPONSE_GETPROTOCOLVERSIONUPGRADESTATERESPONSEV0 = _descriptor.Descriptor(
@@ -4917,8 +4990,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=16299,
- serialized_end=16816,
+ serialized_start=16592,
+ serialized_end=17109,
)
_GETPROTOCOLVERSIONUPGRADESTATERESPONSE = _descriptor.Descriptor(
@@ -4953,8 +5026,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=16134,
- serialized_end=16827,
+ serialized_start=16427,
+ serialized_end=17120,
)
@@ -4999,8 +5072,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=17007,
- serialized_end=17110,
+ serialized_start=17300,
+ serialized_end=17403,
)
_GETPROTOCOLVERSIONUPGRADEVOTESTATUSREQUEST = _descriptor.Descriptor(
@@ -5035,8 +5108,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=16830,
- serialized_end=17121,
+ serialized_start=17123,
+ serialized_end=17414,
)
@@ -5067,8 +5140,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=17624,
- serialized_end=17799,
+ serialized_start=17917,
+ serialized_end=18092,
)
_GETPROTOCOLVERSIONUPGRADEVOTESTATUSRESPONSE_GETPROTOCOLVERSIONUPGRADEVOTESTATUSRESPONSEV0_VERSIONSIGNAL = _descriptor.Descriptor(
@@ -5105,8 +5178,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=17801,
- serialized_end=17854,
+ serialized_start=18094,
+ serialized_end=18147,
)
_GETPROTOCOLVERSIONUPGRADEVOTESTATUSRESPONSE_GETPROTOCOLVERSIONUPGRADEVOTESTATUSRESPONSEV0 = _descriptor.Descriptor(
@@ -5155,8 +5228,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=17305,
- serialized_end=17864,
+ serialized_start=17598,
+ serialized_end=18157,
)
_GETPROTOCOLVERSIONUPGRADEVOTESTATUSRESPONSE = _descriptor.Descriptor(
@@ -5191,8 +5264,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=17124,
- serialized_end=17875,
+ serialized_start=17417,
+ serialized_end=18168,
)
@@ -5244,8 +5317,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=17988,
- serialized_end=18112,
+ serialized_start=18281,
+ serialized_end=18405,
)
_GETEPOCHSINFOREQUEST = _descriptor.Descriptor(
@@ -5280,8 +5353,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=17878,
- serialized_end=18123,
+ serialized_start=18171,
+ serialized_end=18416,
)
@@ -5312,8 +5385,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=18484,
- serialized_end=18601,
+ serialized_start=18777,
+ serialized_end=18894,
)
_GETEPOCHSINFORESPONSE_GETEPOCHSINFORESPONSEV0_EPOCHINFO = _descriptor.Descriptor(
@@ -5378,8 +5451,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=18604,
- serialized_end=18770,
+ serialized_start=18897,
+ serialized_end=19063,
)
_GETEPOCHSINFORESPONSE_GETEPOCHSINFORESPONSEV0 = _descriptor.Descriptor(
@@ -5428,8 +5501,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=18240,
- serialized_end=18780,
+ serialized_start=18533,
+ serialized_end=19073,
)
_GETEPOCHSINFORESPONSE = _descriptor.Descriptor(
@@ -5464,8 +5537,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=18126,
- serialized_end=18791,
+ serialized_start=18419,
+ serialized_end=19084,
)
@@ -5524,8 +5597,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=18932,
- serialized_end=19102,
+ serialized_start=19225,
+ serialized_end=19395,
)
_GETFINALIZEDEPOCHINFOSREQUEST = _descriptor.Descriptor(
@@ -5560,8 +5633,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=18794,
- serialized_end=19113,
+ serialized_start=19087,
+ serialized_end=19406,
)
@@ -5592,8 +5665,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=19539,
- serialized_end=19703,
+ serialized_start=19832,
+ serialized_end=19996,
)
_GETFINALIZEDEPOCHINFOSRESPONSE_GETFINALIZEDEPOCHINFOSRESPONSEV0_FINALIZEDEPOCHINFO = _descriptor.Descriptor(
@@ -5707,8 +5780,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=19706,
- serialized_end=20249,
+ serialized_start=19999,
+ serialized_end=20542,
)
_GETFINALIZEDEPOCHINFOSRESPONSE_GETFINALIZEDEPOCHINFOSRESPONSEV0_BLOCKPROPOSER = _descriptor.Descriptor(
@@ -5745,8 +5818,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=20251,
- serialized_end=20308,
+ serialized_start=20544,
+ serialized_end=20601,
)
_GETFINALIZEDEPOCHINFOSRESPONSE_GETFINALIZEDEPOCHINFOSRESPONSEV0 = _descriptor.Descriptor(
@@ -5795,8 +5868,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=19257,
- serialized_end=20318,
+ serialized_start=19550,
+ serialized_end=20611,
)
_GETFINALIZEDEPOCHINFOSRESPONSE = _descriptor.Descriptor(
@@ -5831,8 +5904,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=19116,
- serialized_end=20329,
+ serialized_start=19409,
+ serialized_end=20622,
)
@@ -5870,8 +5943,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=20824,
- serialized_end=20893,
+ serialized_start=21117,
+ serialized_end=21186,
)
_GETCONTESTEDRESOURCESREQUEST_GETCONTESTEDRESOURCESREQUESTV0 = _descriptor.Descriptor(
@@ -5967,8 +6040,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=20467,
- serialized_end=20927,
+ serialized_start=20760,
+ serialized_end=21220,
)
_GETCONTESTEDRESOURCESREQUEST = _descriptor.Descriptor(
@@ -6003,8 +6076,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=20332,
- serialized_end=20938,
+ serialized_start=20625,
+ serialized_end=21231,
)
@@ -6035,8 +6108,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=21380,
- serialized_end=21440,
+ serialized_start=21673,
+ serialized_end=21733,
)
_GETCONTESTEDRESOURCESRESPONSE_GETCONTESTEDRESOURCESRESPONSEV0 = _descriptor.Descriptor(
@@ -6085,8 +6158,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=21079,
- serialized_end=21450,
+ serialized_start=21372,
+ serialized_end=21743,
)
_GETCONTESTEDRESOURCESRESPONSE = _descriptor.Descriptor(
@@ -6121,8 +6194,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=20941,
- serialized_end=21461,
+ serialized_start=21234,
+ serialized_end=21754,
)
@@ -6160,8 +6233,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=21974,
- serialized_end=22047,
+ serialized_start=22267,
+ serialized_end=22340,
)
_GETVOTEPOLLSBYENDDATEREQUEST_GETVOTEPOLLSBYENDDATEREQUESTV0_ENDATTIMEINFO = _descriptor.Descriptor(
@@ -6198,8 +6271,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=22049,
- serialized_end=22116,
+ serialized_start=22342,
+ serialized_end=22409,
)
_GETVOTEPOLLSBYENDDATEREQUEST_GETVOTEPOLLSBYENDDATEREQUESTV0 = _descriptor.Descriptor(
@@ -6284,8 +6357,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=21599,
- serialized_end=22175,
+ serialized_start=21892,
+ serialized_end=22468,
)
_GETVOTEPOLLSBYENDDATEREQUEST = _descriptor.Descriptor(
@@ -6320,8 +6393,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=21464,
- serialized_end=22186,
+ serialized_start=21757,
+ serialized_end=22479,
)
@@ -6359,8 +6432,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=22635,
- serialized_end=22721,
+ serialized_start=22928,
+ serialized_end=23014,
)
_GETVOTEPOLLSBYENDDATERESPONSE_GETVOTEPOLLSBYENDDATERESPONSEV0_SERIALIZEDVOTEPOLLSBYTIMESTAMPS = _descriptor.Descriptor(
@@ -6397,8 +6470,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=22724,
- serialized_end=22939,
+ serialized_start=23017,
+ serialized_end=23232,
)
_GETVOTEPOLLSBYENDDATERESPONSE_GETVOTEPOLLSBYENDDATERESPONSEV0 = _descriptor.Descriptor(
@@ -6447,8 +6520,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=22327,
- serialized_end=22949,
+ serialized_start=22620,
+ serialized_end=23242,
)
_GETVOTEPOLLSBYENDDATERESPONSE = _descriptor.Descriptor(
@@ -6483,8 +6556,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=22189,
- serialized_end=22960,
+ serialized_start=22482,
+ serialized_end=23253,
)
@@ -6522,8 +6595,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=23649,
- serialized_end=23733,
+ serialized_start=23942,
+ serialized_end=24026,
)
_GETCONTESTEDRESOURCEVOTESTATEREQUEST_GETCONTESTEDRESOURCEVOTESTATEREQUESTV0 = _descriptor.Descriptor(
@@ -6620,8 +6693,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=23122,
- serialized_end=23847,
+ serialized_start=23415,
+ serialized_end=24140,
)
_GETCONTESTEDRESOURCEVOTESTATEREQUEST = _descriptor.Descriptor(
@@ -6656,8 +6729,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=22963,
- serialized_end=23858,
+ serialized_start=23256,
+ serialized_end=24151,
)
@@ -6729,8 +6802,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=24358,
- serialized_end=24832,
+ serialized_start=24651,
+ serialized_end=25125,
)
_GETCONTESTEDRESOURCEVOTESTATERESPONSE_GETCONTESTEDRESOURCEVOTESTATERESPONSEV0_CONTESTEDRESOURCECONTENDERS = _descriptor.Descriptor(
@@ -6796,8 +6869,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=24835,
- serialized_end=25287,
+ serialized_start=25128,
+ serialized_end=25580,
)
_GETCONTESTEDRESOURCEVOTESTATERESPONSE_GETCONTESTEDRESOURCEVOTESTATERESPONSEV0_CONTENDER = _descriptor.Descriptor(
@@ -6851,8 +6924,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=25289,
- serialized_end=25396,
+ serialized_start=25582,
+ serialized_end=25689,
)
_GETCONTESTEDRESOURCEVOTESTATERESPONSE_GETCONTESTEDRESOURCEVOTESTATERESPONSEV0 = _descriptor.Descriptor(
@@ -6901,8 +6974,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=24023,
- serialized_end=25406,
+ serialized_start=24316,
+ serialized_end=25699,
)
_GETCONTESTEDRESOURCEVOTESTATERESPONSE = _descriptor.Descriptor(
@@ -6937,8 +7010,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=23861,
- serialized_end=25417,
+ serialized_start=24154,
+ serialized_end=25710,
)
@@ -6976,8 +7049,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=23649,
- serialized_end=23733,
+ serialized_start=23942,
+ serialized_end=24026,
)
_GETCONTESTEDRESOURCEVOTERSFORIDENTITYREQUEST_GETCONTESTEDRESOURCEVOTERSFORIDENTITYREQUESTV0 = _descriptor.Descriptor(
@@ -7073,8 +7146,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=25604,
- serialized_end=26134,
+ serialized_start=25897,
+ serialized_end=26427,
)
_GETCONTESTEDRESOURCEVOTERSFORIDENTITYREQUEST = _descriptor.Descriptor(
@@ -7109,8 +7182,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=25420,
- serialized_end=26145,
+ serialized_start=25713,
+ serialized_end=26438,
)
@@ -7148,8 +7221,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=26685,
- serialized_end=26752,
+ serialized_start=26978,
+ serialized_end=27045,
)
_GETCONTESTEDRESOURCEVOTERSFORIDENTITYRESPONSE_GETCONTESTEDRESOURCEVOTERSFORIDENTITYRESPONSEV0 = _descriptor.Descriptor(
@@ -7198,8 +7271,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=26335,
- serialized_end=26762,
+ serialized_start=26628,
+ serialized_end=27055,
)
_GETCONTESTEDRESOURCEVOTERSFORIDENTITYRESPONSE = _descriptor.Descriptor(
@@ -7234,8 +7307,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=26148,
- serialized_end=26773,
+ serialized_start=26441,
+ serialized_end=27066,
)
@@ -7273,8 +7346,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=27322,
- serialized_end=27419,
+ serialized_start=27615,
+ serialized_end=27712,
)
_GETCONTESTEDRESOURCEIDENTITYVOTESREQUEST_GETCONTESTEDRESOURCEIDENTITYVOTESREQUESTV0 = _descriptor.Descriptor(
@@ -7344,8 +7417,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=26947,
- serialized_end=27450,
+ serialized_start=27240,
+ serialized_end=27743,
)
_GETCONTESTEDRESOURCEIDENTITYVOTESREQUEST = _descriptor.Descriptor(
@@ -7380,8 +7453,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=26776,
- serialized_end=27461,
+ serialized_start=27069,
+ serialized_end=27754,
)
@@ -7419,8 +7492,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=27964,
- serialized_end=28211,
+ serialized_start=28257,
+ serialized_end=28504,
)
_GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSE_GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSEV0_RESOURCEVOTECHOICE = _descriptor.Descriptor(
@@ -7463,8 +7536,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=28214,
- serialized_end=28515,
+ serialized_start=28507,
+ serialized_end=28808,
)
_GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSE_GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSEV0_CONTESTEDRESOURCEIDENTITYVOTE = _descriptor.Descriptor(
@@ -7515,8 +7588,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=28518,
- serialized_end=28795,
+ serialized_start=28811,
+ serialized_end=29088,
)
_GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSE_GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSEV0 = _descriptor.Descriptor(
@@ -7565,8 +7638,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=27638,
- serialized_end=28805,
+ serialized_start=27931,
+ serialized_end=29098,
)
_GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSE = _descriptor.Descriptor(
@@ -7601,8 +7674,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=27464,
- serialized_end=28816,
+ serialized_start=27757,
+ serialized_end=29109,
)
@@ -7640,8 +7713,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=28980,
- serialized_end=29048,
+ serialized_start=29273,
+ serialized_end=29341,
)
_GETPREFUNDEDSPECIALIZEDBALANCEREQUEST = _descriptor.Descriptor(
@@ -7676,8 +7749,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=28819,
- serialized_end=29059,
+ serialized_start=29112,
+ serialized_end=29352,
)
@@ -7727,8 +7800,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=29227,
- serialized_end=29416,
+ serialized_start=29520,
+ serialized_end=29709,
)
_GETPREFUNDEDSPECIALIZEDBALANCERESPONSE = _descriptor.Descriptor(
@@ -7763,8 +7836,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=29062,
- serialized_end=29427,
+ serialized_start=29355,
+ serialized_end=29720,
)
@@ -7795,8 +7868,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=29576,
- serialized_end=29627,
+ serialized_start=29869,
+ serialized_end=29920,
)
_GETTOTALCREDITSINPLATFORMREQUEST = _descriptor.Descriptor(
@@ -7831,8 +7904,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=29430,
- serialized_end=29638,
+ serialized_start=29723,
+ serialized_end=29931,
)
@@ -7882,8 +7955,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=29791,
- serialized_end=29975,
+ serialized_start=30084,
+ serialized_end=30268,
)
_GETTOTALCREDITSINPLATFORMRESPONSE = _descriptor.Descriptor(
@@ -7918,8 +7991,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=29641,
- serialized_end=29986,
+ serialized_start=29934,
+ serialized_end=30279,
)
@@ -7964,8 +8037,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=30105,
- serialized_end=30174,
+ serialized_start=30398,
+ serialized_end=30467,
)
_GETPATHELEMENTSREQUEST = _descriptor.Descriptor(
@@ -8000,8 +8073,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=29989,
- serialized_end=30185,
+ serialized_start=30282,
+ serialized_end=30478,
)
@@ -8032,8 +8105,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=30558,
- serialized_end=30586,
+ serialized_start=30851,
+ serialized_end=30879,
)
_GETPATHELEMENTSRESPONSE_GETPATHELEMENTSRESPONSEV0 = _descriptor.Descriptor(
@@ -8082,8 +8155,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=30308,
- serialized_end=30596,
+ serialized_start=30601,
+ serialized_end=30889,
)
_GETPATHELEMENTSRESPONSE = _descriptor.Descriptor(
@@ -8118,8 +8191,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=30188,
- serialized_end=30607,
+ serialized_start=30481,
+ serialized_end=30900,
)
@@ -8143,8 +8216,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=30708,
- serialized_end=30728,
+ serialized_start=31001,
+ serialized_end=31021,
)
_GETSTATUSREQUEST = _descriptor.Descriptor(
@@ -8179,8 +8252,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=30610,
- serialized_end=30739,
+ serialized_start=30903,
+ serialized_end=31032,
)
@@ -8235,8 +8308,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=31616,
- serialized_end=31710,
+ serialized_start=31909,
+ serialized_end=32003,
)
_GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_VERSION_PROTOCOL_TENDERDASH = _descriptor.Descriptor(
@@ -8273,8 +8346,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=31943,
- serialized_end=31983,
+ serialized_start=32236,
+ serialized_end=32276,
)
_GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_VERSION_PROTOCOL_DRIVE = _descriptor.Descriptor(
@@ -8318,8 +8391,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=31985,
- serialized_end=32045,
+ serialized_start=32278,
+ serialized_end=32338,
)
_GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_VERSION_PROTOCOL = _descriptor.Descriptor(
@@ -8356,8 +8429,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=31713,
- serialized_end=32045,
+ serialized_start=32006,
+ serialized_end=32338,
)
_GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_VERSION = _descriptor.Descriptor(
@@ -8394,8 +8467,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=31403,
- serialized_end=32045,
+ serialized_start=31696,
+ serialized_end=32338,
)
_GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_TIME = _descriptor.Descriptor(
@@ -8461,8 +8534,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=32047,
- serialized_end=32174,
+ serialized_start=32340,
+ serialized_end=32467,
)
_GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_NODE = _descriptor.Descriptor(
@@ -8504,8 +8577,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=32176,
- serialized_end=32236,
+ serialized_start=32469,
+ serialized_end=32529,
)
_GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_CHAIN = _descriptor.Descriptor(
@@ -8596,8 +8669,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=32239,
- serialized_end=32546,
+ serialized_start=32532,
+ serialized_end=32839,
)
_GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_NETWORK = _descriptor.Descriptor(
@@ -8641,8 +8714,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=32548,
- serialized_end=32615,
+ serialized_start=32841,
+ serialized_end=32908,
)
_GETSTATUSRESPONSE_GETSTATUSRESPONSEV0_STATESYNC = _descriptor.Descriptor(
@@ -8721,8 +8794,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=32618,
- serialized_end=32879,
+ serialized_start=32911,
+ serialized_end=33172,
)
_GETSTATUSRESPONSE_GETSTATUSRESPONSEV0 = _descriptor.Descriptor(
@@ -8787,8 +8860,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=30844,
- serialized_end=32879,
+ serialized_start=31137,
+ serialized_end=33172,
)
_GETSTATUSRESPONSE = _descriptor.Descriptor(
@@ -8823,8 +8896,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=30742,
- serialized_end=32890,
+ serialized_start=31035,
+ serialized_end=33183,
)
@@ -8848,8 +8921,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=33027,
- serialized_end=33059,
+ serialized_start=33320,
+ serialized_end=33352,
)
_GETCURRENTQUORUMSINFOREQUEST = _descriptor.Descriptor(
@@ -8884,8 +8957,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=32893,
- serialized_end=33070,
+ serialized_start=33186,
+ serialized_end=33363,
)
@@ -8930,8 +9003,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=33210,
- serialized_end=33280,
+ serialized_start=33503,
+ serialized_end=33573,
)
_GETCURRENTQUORUMSINFORESPONSE_VALIDATORSETV0 = _descriptor.Descriptor(
@@ -8982,8 +9055,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=33283,
- serialized_end=33458,
+ serialized_start=33576,
+ serialized_end=33751,
)
_GETCURRENTQUORUMSINFORESPONSE_GETCURRENTQUORUMSINFORESPONSEV0 = _descriptor.Descriptor(
@@ -9041,8 +9114,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=33461,
- serialized_end=33735,
+ serialized_start=33754,
+ serialized_end=34028,
)
_GETCURRENTQUORUMSINFORESPONSE = _descriptor.Descriptor(
@@ -9077,8 +9150,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=33073,
- serialized_end=33746,
+ serialized_start=33366,
+ serialized_end=34039,
)
@@ -9123,8 +9196,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=33892,
- serialized_end=33982,
+ serialized_start=34185,
+ serialized_end=34275,
)
_GETIDENTITYTOKENBALANCESREQUEST = _descriptor.Descriptor(
@@ -9159,8 +9232,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=33749,
- serialized_end=33993,
+ serialized_start=34042,
+ serialized_end=34286,
)
@@ -9203,8 +9276,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=34432,
- serialized_end=34503,
+ serialized_start=34725,
+ serialized_end=34796,
)
_GETIDENTITYTOKENBALANCESRESPONSE_GETIDENTITYTOKENBALANCESRESPONSEV0_TOKENBALANCES = _descriptor.Descriptor(
@@ -9234,8 +9307,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=34506,
- serialized_end=34660,
+ serialized_start=34799,
+ serialized_end=34953,
)
_GETIDENTITYTOKENBALANCESRESPONSE_GETIDENTITYTOKENBALANCESRESPONSEV0 = _descriptor.Descriptor(
@@ -9284,8 +9357,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=34143,
- serialized_end=34670,
+ serialized_start=34436,
+ serialized_end=34963,
)
_GETIDENTITYTOKENBALANCESRESPONSE = _descriptor.Descriptor(
@@ -9320,8 +9393,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=33996,
- serialized_end=34681,
+ serialized_start=34289,
+ serialized_end=34974,
)
@@ -9366,8 +9439,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=34833,
- serialized_end=34925,
+ serialized_start=35126,
+ serialized_end=35218,
)
_GETIDENTITIESTOKENBALANCESREQUEST = _descriptor.Descriptor(
@@ -9402,8 +9475,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=34684,
- serialized_end=34936,
+ serialized_start=34977,
+ serialized_end=35229,
)
@@ -9446,8 +9519,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=35404,
- serialized_end=35486,
+ serialized_start=35697,
+ serialized_end=35779,
)
_GETIDENTITIESTOKENBALANCESRESPONSE_GETIDENTITIESTOKENBALANCESRESPONSEV0_IDENTITYTOKENBALANCES = _descriptor.Descriptor(
@@ -9477,8 +9550,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=35489,
- serialized_end=35672,
+ serialized_start=35782,
+ serialized_end=35965,
)
_GETIDENTITIESTOKENBALANCESRESPONSE_GETIDENTITIESTOKENBALANCESRESPONSEV0 = _descriptor.Descriptor(
@@ -9527,8 +9600,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=35092,
- serialized_end=35682,
+ serialized_start=35385,
+ serialized_end=35975,
)
_GETIDENTITIESTOKENBALANCESRESPONSE = _descriptor.Descriptor(
@@ -9563,8 +9636,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=34939,
- serialized_end=35693,
+ serialized_start=35232,
+ serialized_end=35986,
)
@@ -9609,8 +9682,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=35830,
- serialized_end=35917,
+ serialized_start=36123,
+ serialized_end=36210,
)
_GETIDENTITYTOKENINFOSREQUEST = _descriptor.Descriptor(
@@ -9645,8 +9718,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=35696,
- serialized_end=35928,
+ serialized_start=35989,
+ serialized_end=36221,
)
@@ -9677,8 +9750,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=36342,
- serialized_end=36382,
+ serialized_start=36635,
+ serialized_end=36675,
)
_GETIDENTITYTOKENINFOSRESPONSE_GETIDENTITYTOKENINFOSRESPONSEV0_TOKENINFOENTRY = _descriptor.Descriptor(
@@ -9720,8 +9793,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=36385,
- serialized_end=36561,
+ serialized_start=36678,
+ serialized_end=36854,
)
_GETIDENTITYTOKENINFOSRESPONSE_GETIDENTITYTOKENINFOSRESPONSEV0_TOKENINFOS = _descriptor.Descriptor(
@@ -9751,8 +9824,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=36564,
- serialized_end=36702,
+ serialized_start=36857,
+ serialized_end=36995,
)
_GETIDENTITYTOKENINFOSRESPONSE_GETIDENTITYTOKENINFOSRESPONSEV0 = _descriptor.Descriptor(
@@ -9801,8 +9874,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=36069,
- serialized_end=36712,
+ serialized_start=36362,
+ serialized_end=37005,
)
_GETIDENTITYTOKENINFOSRESPONSE = _descriptor.Descriptor(
@@ -9837,8 +9910,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=35931,
- serialized_end=36723,
+ serialized_start=36224,
+ serialized_end=37016,
)
@@ -9883,8 +9956,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=36866,
- serialized_end=36955,
+ serialized_start=37159,
+ serialized_end=37248,
)
_GETIDENTITIESTOKENINFOSREQUEST = _descriptor.Descriptor(
@@ -9919,8 +9992,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=36726,
- serialized_end=36966,
+ serialized_start=37019,
+ serialized_end=37259,
)
@@ -9951,8 +10024,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=36342,
- serialized_end=36382,
+ serialized_start=36635,
+ serialized_end=36675,
)
_GETIDENTITIESTOKENINFOSRESPONSE_GETIDENTITIESTOKENINFOSRESPONSEV0_TOKENINFOENTRY = _descriptor.Descriptor(
@@ -9994,8 +10067,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=37453,
- serialized_end=37636,
+ serialized_start=37746,
+ serialized_end=37929,
)
_GETIDENTITIESTOKENINFOSRESPONSE_GETIDENTITIESTOKENINFOSRESPONSEV0_IDENTITYTOKENINFOS = _descriptor.Descriptor(
@@ -10025,8 +10098,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=37639,
- serialized_end=37790,
+ serialized_start=37932,
+ serialized_end=38083,
)
_GETIDENTITIESTOKENINFOSRESPONSE_GETIDENTITIESTOKENINFOSRESPONSEV0 = _descriptor.Descriptor(
@@ -10075,8 +10148,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=37113,
- serialized_end=37800,
+ serialized_start=37406,
+ serialized_end=38093,
)
_GETIDENTITIESTOKENINFOSRESPONSE = _descriptor.Descriptor(
@@ -10111,8 +10184,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=36969,
- serialized_end=37811,
+ serialized_start=37262,
+ serialized_end=38104,
)
@@ -10150,8 +10223,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=37933,
- serialized_end=37994,
+ serialized_start=38226,
+ serialized_end=38287,
)
_GETTOKENSTATUSESREQUEST = _descriptor.Descriptor(
@@ -10186,8 +10259,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=37814,
- serialized_end=38005,
+ serialized_start=38107,
+ serialized_end=38298,
)
@@ -10230,8 +10303,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=38395,
- serialized_end=38463,
+ serialized_start=38688,
+ serialized_end=38756,
)
_GETTOKENSTATUSESRESPONSE_GETTOKENSTATUSESRESPONSEV0_TOKENSTATUSES = _descriptor.Descriptor(
@@ -10261,8 +10334,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=38466,
- serialized_end=38602,
+ serialized_start=38759,
+ serialized_end=38895,
)
_GETTOKENSTATUSESRESPONSE_GETTOKENSTATUSESRESPONSEV0 = _descriptor.Descriptor(
@@ -10311,8 +10384,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=38131,
- serialized_end=38612,
+ serialized_start=38424,
+ serialized_end=38905,
)
_GETTOKENSTATUSESRESPONSE = _descriptor.Descriptor(
@@ -10347,8 +10420,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=38008,
- serialized_end=38623,
+ serialized_start=38301,
+ serialized_end=38916,
)
@@ -10386,8 +10459,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=38781,
- serialized_end=38854,
+ serialized_start=39074,
+ serialized_end=39147,
)
_GETTOKENDIRECTPURCHASEPRICESREQUEST = _descriptor.Descriptor(
@@ -10422,8 +10495,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=38626,
- serialized_end=38865,
+ serialized_start=38919,
+ serialized_end=39158,
)
@@ -10461,8 +10534,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=39355,
- serialized_end=39406,
+ serialized_start=39648,
+ serialized_end=39699,
)
_GETTOKENDIRECTPURCHASEPRICESRESPONSE_GETTOKENDIRECTPURCHASEPRICESRESPONSEV0_PRICINGSCHEDULE = _descriptor.Descriptor(
@@ -10492,8 +10565,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=39409,
- serialized_end=39576,
+ serialized_start=39702,
+ serialized_end=39869,
)
_GETTOKENDIRECTPURCHASEPRICESRESPONSE_GETTOKENDIRECTPURCHASEPRICESRESPONSEV0_TOKENDIRECTPURCHASEPRICEENTRY = _descriptor.Descriptor(
@@ -10542,8 +10615,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=39579,
- serialized_end=39807,
+ serialized_start=39872,
+ serialized_end=40100,
)
_GETTOKENDIRECTPURCHASEPRICESRESPONSE_GETTOKENDIRECTPURCHASEPRICESRESPONSEV0_TOKENDIRECTPURCHASEPRICES = _descriptor.Descriptor(
@@ -10573,8 +10646,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=39810,
- serialized_end=40010,
+ serialized_start=40103,
+ serialized_end=40303,
)
_GETTOKENDIRECTPURCHASEPRICESRESPONSE_GETTOKENDIRECTPURCHASEPRICESRESPONSEV0 = _descriptor.Descriptor(
@@ -10623,8 +10696,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=39027,
- serialized_end=40020,
+ serialized_start=39320,
+ serialized_end=40313,
)
_GETTOKENDIRECTPURCHASEPRICESRESPONSE = _descriptor.Descriptor(
@@ -10659,8 +10732,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=38868,
- serialized_end=40031,
+ serialized_start=39161,
+ serialized_end=40324,
)
@@ -10698,8 +10771,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=40165,
- serialized_end=40229,
+ serialized_start=40458,
+ serialized_end=40522,
)
_GETTOKENCONTRACTINFOREQUEST = _descriptor.Descriptor(
@@ -10734,8 +10807,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=40034,
- serialized_end=40240,
+ serialized_start=40327,
+ serialized_end=40533,
)
@@ -10773,8 +10846,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=40652,
- serialized_end=40729,
+ serialized_start=40945,
+ serialized_end=41022,
)
_GETTOKENCONTRACTINFORESPONSE_GETTOKENCONTRACTINFORESPONSEV0 = _descriptor.Descriptor(
@@ -10823,8 +10896,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=40378,
- serialized_end=40739,
+ serialized_start=40671,
+ serialized_end=41032,
)
_GETTOKENCONTRACTINFORESPONSE = _descriptor.Descriptor(
@@ -10859,8 +10932,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=40243,
- serialized_end=40750,
+ serialized_start=40536,
+ serialized_end=41043,
)
@@ -10915,8 +10988,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=41183,
- serialized_end=41337,
+ serialized_start=41476,
+ serialized_end=41630,
)
_GETTOKENPREPROGRAMMEDDISTRIBUTIONSREQUEST_GETTOKENPREPROGRAMMEDDISTRIBUTIONSREQUESTV0 = _descriptor.Descriptor(
@@ -10977,8 +11050,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=40927,
- serialized_end=41365,
+ serialized_start=41220,
+ serialized_end=41658,
)
_GETTOKENPREPROGRAMMEDDISTRIBUTIONSREQUEST = _descriptor.Descriptor(
@@ -11013,8 +11086,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=40753,
- serialized_end=41376,
+ serialized_start=41046,
+ serialized_end=41669,
)
@@ -11052,8 +11125,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=41887,
- serialized_end=41949,
+ serialized_start=42180,
+ serialized_end=42242,
)
_GETTOKENPREPROGRAMMEDDISTRIBUTIONSRESPONSE_GETTOKENPREPROGRAMMEDDISTRIBUTIONSRESPONSEV0_TOKENTIMEDDISTRIBUTIONENTRY = _descriptor.Descriptor(
@@ -11090,8 +11163,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=41952,
- serialized_end=42164,
+ serialized_start=42245,
+ serialized_end=42457,
)
_GETTOKENPREPROGRAMMEDDISTRIBUTIONSRESPONSE_GETTOKENPREPROGRAMMEDDISTRIBUTIONSRESPONSEV0_TOKENDISTRIBUTIONS = _descriptor.Descriptor(
@@ -11121,8 +11194,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=42167,
- serialized_end=42362,
+ serialized_start=42460,
+ serialized_end=42655,
)
_GETTOKENPREPROGRAMMEDDISTRIBUTIONSRESPONSE_GETTOKENPREPROGRAMMEDDISTRIBUTIONSRESPONSEV0 = _descriptor.Descriptor(
@@ -11171,8 +11244,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=41557,
- serialized_end=42372,
+ serialized_start=41850,
+ serialized_end=42665,
)
_GETTOKENPREPROGRAMMEDDISTRIBUTIONSRESPONSE = _descriptor.Descriptor(
@@ -11207,8 +11280,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=41379,
- serialized_end=42383,
+ serialized_start=41672,
+ serialized_end=42676,
)
@@ -11246,8 +11319,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=42572,
- serialized_end=42645,
+ serialized_start=42865,
+ serialized_end=42938,
)
_GETTOKENPERPETUALDISTRIBUTIONLASTCLAIMREQUEST_GETTOKENPERPETUALDISTRIBUTIONLASTCLAIMREQUESTV0 = _descriptor.Descriptor(
@@ -11303,8 +11376,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=42648,
- serialized_end=42889,
+ serialized_start=42941,
+ serialized_end=43182,
)
_GETTOKENPERPETUALDISTRIBUTIONLASTCLAIMREQUEST = _descriptor.Descriptor(
@@ -11339,8 +11412,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=42386,
- serialized_end=42900,
+ serialized_start=42679,
+ serialized_end=43193,
)
@@ -11397,8 +11470,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=43421,
- serialized_end=43541,
+ serialized_start=43714,
+ serialized_end=43834,
)
_GETTOKENPERPETUALDISTRIBUTIONLASTCLAIMRESPONSE_GETTOKENPERPETUALDISTRIBUTIONLASTCLAIMRESPONSEV0 = _descriptor.Descriptor(
@@ -11447,8 +11520,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=43093,
- serialized_end=43551,
+ serialized_start=43386,
+ serialized_end=43844,
)
_GETTOKENPERPETUALDISTRIBUTIONLASTCLAIMRESPONSE = _descriptor.Descriptor(
@@ -11483,8 +11556,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=42903,
- serialized_end=43562,
+ serialized_start=43196,
+ serialized_end=43855,
)
@@ -11522,8 +11595,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=43693,
- serialized_end=43756,
+ serialized_start=43986,
+ serialized_end=44049,
)
_GETTOKENTOTALSUPPLYREQUEST = _descriptor.Descriptor(
@@ -11558,8 +11631,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=43565,
- serialized_end=43767,
+ serialized_start=43858,
+ serialized_end=44060,
)
@@ -11604,8 +11677,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=44188,
- serialized_end=44308,
+ serialized_start=44481,
+ serialized_end=44601,
)
_GETTOKENTOTALSUPPLYRESPONSE_GETTOKENTOTALSUPPLYRESPONSEV0 = _descriptor.Descriptor(
@@ -11654,8 +11727,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=43902,
- serialized_end=44318,
+ serialized_start=44195,
+ serialized_end=44611,
)
_GETTOKENTOTALSUPPLYRESPONSE = _descriptor.Descriptor(
@@ -11690,8 +11763,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=43770,
- serialized_end=44329,
+ serialized_start=44063,
+ serialized_end=44622,
)
@@ -11736,8 +11809,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=44439,
- serialized_end=44531,
+ serialized_start=44732,
+ serialized_end=44824,
)
_GETGROUPINFOREQUEST = _descriptor.Descriptor(
@@ -11772,8 +11845,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=44332,
- serialized_end=44542,
+ serialized_start=44625,
+ serialized_end=44835,
)
@@ -11811,8 +11884,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=44900,
- serialized_end=44952,
+ serialized_start=45193,
+ serialized_end=45245,
)
_GETGROUPINFORESPONSE_GETGROUPINFORESPONSEV0_GROUPINFOENTRY = _descriptor.Descriptor(
@@ -11849,8 +11922,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=44955,
- serialized_end=45107,
+ serialized_start=45248,
+ serialized_end=45400,
)
_GETGROUPINFORESPONSE_GETGROUPINFORESPONSEV0_GROUPINFO = _descriptor.Descriptor(
@@ -11885,8 +11958,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=45110,
- serialized_end=45248,
+ serialized_start=45403,
+ serialized_end=45541,
)
_GETGROUPINFORESPONSE_GETGROUPINFORESPONSEV0 = _descriptor.Descriptor(
@@ -11935,8 +12008,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=44656,
- serialized_end=45258,
+ serialized_start=44949,
+ serialized_end=45551,
)
_GETGROUPINFORESPONSE = _descriptor.Descriptor(
@@ -11971,8 +12044,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=44545,
- serialized_end=45269,
+ serialized_start=44838,
+ serialized_end=45562,
)
@@ -12010,8 +12083,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=45382,
- serialized_end=45499,
+ serialized_start=45675,
+ serialized_end=45792,
)
_GETGROUPINFOSREQUEST_GETGROUPINFOSREQUESTV0 = _descriptor.Descriptor(
@@ -12072,8 +12145,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=45502,
- serialized_end=45754,
+ serialized_start=45795,
+ serialized_end=46047,
)
_GETGROUPINFOSREQUEST = _descriptor.Descriptor(
@@ -12108,8 +12181,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=45272,
- serialized_end=45765,
+ serialized_start=45565,
+ serialized_end=46058,
)
@@ -12147,8 +12220,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=44900,
- serialized_end=44952,
+ serialized_start=45193,
+ serialized_end=45245,
)
_GETGROUPINFOSRESPONSE_GETGROUPINFOSRESPONSEV0_GROUPPOSITIONINFOENTRY = _descriptor.Descriptor(
@@ -12192,8 +12265,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=46186,
- serialized_end=46381,
+ serialized_start=46479,
+ serialized_end=46674,
)
_GETGROUPINFOSRESPONSE_GETGROUPINFOSRESPONSEV0_GROUPINFOS = _descriptor.Descriptor(
@@ -12223,8 +12296,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=46384,
- serialized_end=46514,
+ serialized_start=46677,
+ serialized_end=46807,
)
_GETGROUPINFOSRESPONSE_GETGROUPINFOSRESPONSEV0 = _descriptor.Descriptor(
@@ -12273,8 +12346,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=45882,
- serialized_end=46524,
+ serialized_start=46175,
+ serialized_end=46817,
)
_GETGROUPINFOSRESPONSE = _descriptor.Descriptor(
@@ -12309,8 +12382,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=45768,
- serialized_end=46535,
+ serialized_start=46061,
+ serialized_end=46828,
)
@@ -12348,8 +12421,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=46654,
- serialized_end=46730,
+ serialized_start=46947,
+ serialized_end=47023,
)
_GETGROUPACTIONSREQUEST_GETGROUPACTIONSREQUESTV0 = _descriptor.Descriptor(
@@ -12424,8 +12497,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=46733,
- serialized_end=47061,
+ serialized_start=47026,
+ serialized_end=47354,
)
_GETGROUPACTIONSREQUEST = _descriptor.Descriptor(
@@ -12461,8 +12534,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=46538,
- serialized_end=47112,
+ serialized_start=46831,
+ serialized_end=47405,
)
@@ -12512,8 +12585,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=47494,
- serialized_end=47585,
+ serialized_start=47787,
+ serialized_end=47878,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_BURNEVENT = _descriptor.Descriptor(
@@ -12562,8 +12635,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=47587,
- serialized_end=47678,
+ serialized_start=47880,
+ serialized_end=47971,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_FREEZEEVENT = _descriptor.Descriptor(
@@ -12605,8 +12678,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=47680,
- serialized_end=47754,
+ serialized_start=47973,
+ serialized_end=48047,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_UNFREEZEEVENT = _descriptor.Descriptor(
@@ -12648,8 +12721,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=47756,
- serialized_end=47832,
+ serialized_start=48049,
+ serialized_end=48125,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_DESTROYFROZENFUNDSEVENT = _descriptor.Descriptor(
@@ -12698,8 +12771,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=47834,
- serialized_end=47936,
+ serialized_start=48127,
+ serialized_end=48229,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_SHAREDENCRYPTEDNOTE = _descriptor.Descriptor(
@@ -12743,8 +12816,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=47938,
- serialized_end=48038,
+ serialized_start=48231,
+ serialized_end=48331,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_PERSONALENCRYPTEDNOTE = _descriptor.Descriptor(
@@ -12788,8 +12861,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=48040,
- serialized_end=48163,
+ serialized_start=48333,
+ serialized_end=48456,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_EMERGENCYACTIONEVENT = _descriptor.Descriptor(
@@ -12832,8 +12905,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=48166,
- serialized_end=48399,
+ serialized_start=48459,
+ serialized_end=48692,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_TOKENCONFIGUPDATEEVENT = _descriptor.Descriptor(
@@ -12875,8 +12948,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=48401,
- serialized_end=48501,
+ serialized_start=48694,
+ serialized_end=48794,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_UPDATEDIRECTPURCHASEPRICEEVENT_PRICEFORQUANTITY = _descriptor.Descriptor(
@@ -12913,8 +12986,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=39355,
- serialized_end=39406,
+ serialized_start=39648,
+ serialized_end=39699,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_UPDATEDIRECTPURCHASEPRICEEVENT_PRICINGSCHEDULE = _descriptor.Descriptor(
@@ -12944,8 +13017,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=48793,
- serialized_end=48965,
+ serialized_start=49086,
+ serialized_end=49258,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_UPDATEDIRECTPURCHASEPRICEEVENT = _descriptor.Descriptor(
@@ -12999,8 +13072,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=48504,
- serialized_end=48990,
+ serialized_start=48797,
+ serialized_end=49283,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_GROUPACTIONEVENT = _descriptor.Descriptor(
@@ -13049,8 +13122,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=48993,
- serialized_end=49373,
+ serialized_start=49286,
+ serialized_end=49666,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_DOCUMENTEVENT = _descriptor.Descriptor(
@@ -13085,8 +13158,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=49376,
- serialized_end=49515,
+ serialized_start=49669,
+ serialized_end=49808,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_DOCUMENTCREATEEVENT = _descriptor.Descriptor(
@@ -13116,8 +13189,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=49517,
- serialized_end=49564,
+ serialized_start=49810,
+ serialized_end=49857,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_CONTRACTUPDATEEVENT = _descriptor.Descriptor(
@@ -13147,8 +13220,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=49566,
- serialized_end=49613,
+ serialized_start=49859,
+ serialized_end=49906,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_CONTRACTEVENT = _descriptor.Descriptor(
@@ -13183,8 +13256,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=49616,
- serialized_end=49755,
+ serialized_start=49909,
+ serialized_end=50048,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_TOKENEVENT = _descriptor.Descriptor(
@@ -13268,8 +13341,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=49758,
- serialized_end=50735,
+ serialized_start=50051,
+ serialized_end=51028,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_GROUPACTIONENTRY = _descriptor.Descriptor(
@@ -13306,8 +13379,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=50738,
- serialized_end=50885,
+ serialized_start=51031,
+ serialized_end=51178,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0_GROUPACTIONS = _descriptor.Descriptor(
@@ -13337,8 +13410,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=50888,
- serialized_end=51020,
+ serialized_start=51181,
+ serialized_end=51313,
)
_GETGROUPACTIONSRESPONSE_GETGROUPACTIONSRESPONSEV0 = _descriptor.Descriptor(
@@ -13387,8 +13460,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=47235,
- serialized_end=51030,
+ serialized_start=47528,
+ serialized_end=51323,
)
_GETGROUPACTIONSRESPONSE = _descriptor.Descriptor(
@@ -13423,8 +13496,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=47115,
- serialized_end=51041,
+ serialized_start=47408,
+ serialized_end=51334,
)
@@ -13483,8 +13556,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=51179,
- serialized_end=51385,
+ serialized_start=51472,
+ serialized_end=51678,
)
_GETGROUPACTIONSIGNERSREQUEST = _descriptor.Descriptor(
@@ -13520,8 +13593,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=51044,
- serialized_end=51436,
+ serialized_start=51337,
+ serialized_end=51729,
)
@@ -13559,8 +13632,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=51868,
- serialized_end=51921,
+ serialized_start=52161,
+ serialized_end=52214,
)
_GETGROUPACTIONSIGNERSRESPONSE_GETGROUPACTIONSIGNERSRESPONSEV0_GROUPACTIONSIGNERS = _descriptor.Descriptor(
@@ -13590,8 +13663,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=51924,
- serialized_end=52069,
+ serialized_start=52217,
+ serialized_end=52362,
)
_GETGROUPACTIONSIGNERSRESPONSE_GETGROUPACTIONSIGNERSRESPONSEV0 = _descriptor.Descriptor(
@@ -13640,8 +13713,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=51577,
- serialized_end=52079,
+ serialized_start=51870,
+ serialized_end=52372,
)
_GETGROUPACTIONSIGNERSRESPONSE = _descriptor.Descriptor(
@@ -13676,8 +13749,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=51439,
- serialized_end=52090,
+ serialized_start=51732,
+ serialized_end=52383,
)
@@ -13715,8 +13788,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=52206,
- serialized_end=52263,
+ serialized_start=52499,
+ serialized_end=52556,
)
_GETADDRESSINFOREQUEST = _descriptor.Descriptor(
@@ -13751,8 +13824,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=52093,
- serialized_end=52274,
+ serialized_start=52386,
+ serialized_end=52567,
)
@@ -13795,8 +13868,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=52277,
- serialized_end=52410,
+ serialized_start=52570,
+ serialized_end=52703,
)
@@ -13834,8 +13907,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=52412,
- serialized_end=52461,
+ serialized_start=52705,
+ serialized_end=52754,
)
@@ -13866,8 +13939,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=52463,
- serialized_end=52558,
+ serialized_start=52756,
+ serialized_end=52851,
)
@@ -13917,8 +13990,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=52560,
- serialized_end=52669,
+ serialized_start=52853,
+ serialized_end=52962,
)
@@ -13956,8 +14029,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=52671,
- serialized_end=52791,
+ serialized_start=52964,
+ serialized_end=53084,
)
@@ -13988,8 +14061,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=52793,
- serialized_end=52900,
+ serialized_start=53086,
+ serialized_end=53193,
)
@@ -14039,8 +14112,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=53020,
- serialized_end=53245,
+ serialized_start=53313,
+ serialized_end=53538,
)
_GETADDRESSINFORESPONSE = _descriptor.Descriptor(
@@ -14075,8 +14148,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=52903,
- serialized_end=53256,
+ serialized_start=53196,
+ serialized_end=53549,
)
@@ -14114,8 +14187,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=53381,
- serialized_end=53443,
+ serialized_start=53674,
+ serialized_end=53736,
)
_GETADDRESSESINFOSREQUEST = _descriptor.Descriptor(
@@ -14150,8 +14223,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=53259,
- serialized_end=53454,
+ serialized_start=53552,
+ serialized_end=53747,
)
@@ -14201,8 +14274,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=53583,
- serialized_end=53815,
+ serialized_start=53876,
+ serialized_end=54108,
)
_GETADDRESSESINFOSRESPONSE = _descriptor.Descriptor(
@@ -14237,8 +14310,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=53457,
- serialized_end=53826,
+ serialized_start=53750,
+ serialized_end=54119,
)
@@ -14262,8 +14335,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=53966,
- serialized_end=53999,
+ serialized_start=54259,
+ serialized_end=54292,
)
_GETADDRESSESTRUNKSTATEREQUEST = _descriptor.Descriptor(
@@ -14298,8 +14371,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=53829,
- serialized_end=54010,
+ serialized_start=54122,
+ serialized_end=54303,
)
@@ -14337,8 +14410,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=54154,
- serialized_end=54300,
+ serialized_start=54447,
+ serialized_end=54593,
)
_GETADDRESSESTRUNKSTATERESPONSE = _descriptor.Descriptor(
@@ -14373,8 +14446,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=54013,
- serialized_end=54311,
+ serialized_start=54306,
+ serialized_end=54604,
)
@@ -14419,8 +14492,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=54454,
- serialized_end=54543,
+ serialized_start=54747,
+ serialized_end=54836,
)
_GETADDRESSESBRANCHSTATEREQUEST = _descriptor.Descriptor(
@@ -14455,8 +14528,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=54314,
- serialized_end=54554,
+ serialized_start=54607,
+ serialized_end=54847,
)
@@ -14487,8 +14560,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=54700,
- serialized_end=54755,
+ serialized_start=54993,
+ serialized_end=55048,
)
_GETADDRESSESBRANCHSTATERESPONSE = _descriptor.Descriptor(
@@ -14523,8 +14596,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=54557,
- serialized_end=54766,
+ serialized_start=54850,
+ serialized_end=55059,
)
@@ -14569,8 +14642,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=54930,
- serialized_end=55044,
+ serialized_start=55223,
+ serialized_end=55337,
)
_GETRECENTADDRESSBALANCECHANGESREQUEST = _descriptor.Descriptor(
@@ -14605,8 +14678,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=54769,
- serialized_end=55055,
+ serialized_start=55062,
+ serialized_end=55348,
)
@@ -14656,8 +14729,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=55223,
- serialized_end=55487,
+ serialized_start=55516,
+ serialized_end=55780,
)
_GETRECENTADDRESSBALANCECHANGESRESPONSE = _descriptor.Descriptor(
@@ -14692,8 +14765,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=55058,
- serialized_end=55498,
+ serialized_start=55351,
+ serialized_end=55791,
)
@@ -14731,8 +14804,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=55500,
- serialized_end=55571,
+ serialized_start=55793,
+ serialized_end=55864,
)
@@ -14782,8 +14855,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=55574,
- serialized_end=55750,
+ serialized_start=55867,
+ serialized_end=56043,
)
@@ -14814,8 +14887,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=55752,
- serialized_end=55844,
+ serialized_start=56045,
+ serialized_end=56137,
)
@@ -14860,8 +14933,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=55847,
- serialized_end=56021,
+ serialized_start=56140,
+ serialized_end=56314,
)
@@ -14892,8 +14965,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=56024,
- serialized_end=56159,
+ serialized_start=56317,
+ serialized_end=56452,
)
@@ -14931,8 +15004,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=56351,
- serialized_end=56448,
+ serialized_start=56644,
+ serialized_end=56741,
)
_GETRECENTCOMPACTEDADDRESSBALANCECHANGESREQUEST = _descriptor.Descriptor(
@@ -14967,8 +15040,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=56162,
- serialized_end=56459,
+ serialized_start=56455,
+ serialized_end=56752,
)
@@ -15018,8 +15091,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=56655,
- serialized_end=56947,
+ serialized_start=56948,
+ serialized_end=57240,
)
_GETRECENTCOMPACTEDADDRESSBALANCECHANGESRESPONSE = _descriptor.Descriptor(
@@ -15054,8 +15127,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=56462,
- serialized_end=56958,
+ serialized_start=56755,
+ serialized_end=57251,
)
@@ -15100,8 +15173,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=57107,
- serialized_end=57194,
+ serialized_start=57400,
+ serialized_end=57487,
)
_GETSHIELDEDENCRYPTEDNOTESREQUEST = _descriptor.Descriptor(
@@ -15136,8 +15209,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=56961,
- serialized_end=57205,
+ serialized_start=57254,
+ serialized_end=57498,
)
@@ -15182,8 +15255,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=57652,
- serialized_end=57723,
+ serialized_start=57945,
+ serialized_end=58016,
)
_GETSHIELDEDENCRYPTEDNOTESRESPONSE_GETSHIELDEDENCRYPTEDNOTESRESPONSEV0_ENCRYPTEDNOTES = _descriptor.Descriptor(
@@ -15213,8 +15286,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=57726,
- serialized_end=57871,
+ serialized_start=58019,
+ serialized_end=58164,
)
_GETSHIELDEDENCRYPTEDNOTESRESPONSE_GETSHIELDEDENCRYPTEDNOTESRESPONSEV0 = _descriptor.Descriptor(
@@ -15263,8 +15336,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=57358,
- serialized_end=57881,
+ serialized_start=57651,
+ serialized_end=58174,
)
_GETSHIELDEDENCRYPTEDNOTESRESPONSE = _descriptor.Descriptor(
@@ -15299,8 +15372,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=57208,
- serialized_end=57892,
+ serialized_start=57501,
+ serialized_end=58185,
)
@@ -15331,8 +15404,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=58020,
- serialized_end=58064,
+ serialized_start=58313,
+ serialized_end=58357,
)
_GETSHIELDEDANCHORSREQUEST = _descriptor.Descriptor(
@@ -15367,8 +15440,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=57895,
- serialized_end=58075,
+ serialized_start=58188,
+ serialized_end=58368,
)
@@ -15399,8 +15472,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=58464,
- serialized_end=58490,
+ serialized_start=58757,
+ serialized_end=58783,
)
_GETSHIELDEDANCHORSRESPONSE_GETSHIELDEDANCHORSRESPONSEV0 = _descriptor.Descriptor(
@@ -15449,8 +15522,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=58207,
- serialized_end=58500,
+ serialized_start=58500,
+ serialized_end=58793,
)
_GETSHIELDEDANCHORSRESPONSE = _descriptor.Descriptor(
@@ -15485,8 +15558,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=58078,
- serialized_end=58511,
+ serialized_start=58371,
+ serialized_end=58804,
)
@@ -15517,8 +15590,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=58666,
- serialized_end=58719,
+ serialized_start=58959,
+ serialized_end=59012,
)
_GETMOSTRECENTSHIELDEDANCHORREQUEST = _descriptor.Descriptor(
@@ -15553,8 +15626,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=58514,
- serialized_end=58730,
+ serialized_start=58807,
+ serialized_end=59023,
)
@@ -15604,8 +15677,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=58889,
- serialized_end=59070,
+ serialized_start=59182,
+ serialized_end=59363,
)
_GETMOSTRECENTSHIELDEDANCHORRESPONSE = _descriptor.Descriptor(
@@ -15640,8 +15713,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=58733,
- serialized_end=59081,
+ serialized_start=59026,
+ serialized_end=59374,
)
@@ -15672,8 +15745,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=59215,
- serialized_end=59261,
+ serialized_start=59508,
+ serialized_end=59554,
)
_GETSHIELDEDPOOLSTATEREQUEST = _descriptor.Descriptor(
@@ -15708,8 +15781,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=59084,
- serialized_end=59272,
+ serialized_start=59377,
+ serialized_end=59565,
)
@@ -15759,8 +15832,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=59410,
- serialized_end=59595,
+ serialized_start=59703,
+ serialized_end=59888,
)
_GETSHIELDEDPOOLSTATERESPONSE = _descriptor.Descriptor(
@@ -15795,8 +15868,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=59275,
- serialized_end=59606,
+ serialized_start=59568,
+ serialized_end=59899,
)
@@ -15834,8 +15907,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=59743,
- serialized_end=59810,
+ serialized_start=60036,
+ serialized_end=60103,
)
_GETSHIELDEDNULLIFIERSREQUEST = _descriptor.Descriptor(
@@ -15870,8 +15943,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=59609,
- serialized_end=59821,
+ serialized_start=59902,
+ serialized_end=60114,
)
@@ -15909,8 +15982,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=60250,
- serialized_end=60304,
+ serialized_start=60543,
+ serialized_end=60597,
)
_GETSHIELDEDNULLIFIERSRESPONSE_GETSHIELDEDNULLIFIERSRESPONSEV0_NULLIFIERSTATUSES = _descriptor.Descriptor(
@@ -15940,8 +16013,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=60307,
- serialized_end=60449,
+ serialized_start=60600,
+ serialized_end=60742,
)
_GETSHIELDEDNULLIFIERSRESPONSE_GETSHIELDEDNULLIFIERSRESPONSEV0 = _descriptor.Descriptor(
@@ -15990,8 +16063,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=59962,
- serialized_end=60459,
+ serialized_start=60255,
+ serialized_end=60752,
)
_GETSHIELDEDNULLIFIERSRESPONSE = _descriptor.Descriptor(
@@ -16026,8 +16099,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=59824,
- serialized_end=60470,
+ serialized_start=60117,
+ serialized_end=60763,
)
@@ -16065,8 +16138,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=60613,
- serialized_end=60691,
+ serialized_start=60906,
+ serialized_end=60984,
)
_GETNULLIFIERSTRUNKSTATEREQUEST = _descriptor.Descriptor(
@@ -16101,8 +16174,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=60473,
- serialized_end=60702,
+ serialized_start=60766,
+ serialized_end=60995,
)
@@ -16140,8 +16213,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=60849,
- serialized_end=60996,
+ serialized_start=61142,
+ serialized_end=61289,
)
_GETNULLIFIERSTRUNKSTATERESPONSE = _descriptor.Descriptor(
@@ -16176,8 +16249,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=60705,
- serialized_end=61007,
+ serialized_start=60998,
+ serialized_end=61300,
)
@@ -16236,8 +16309,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=61154,
- serialized_end=61288,
+ serialized_start=61447,
+ serialized_end=61581,
)
_GETNULLIFIERSBRANCHSTATEREQUEST = _descriptor.Descriptor(
@@ -16272,8 +16345,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=61010,
- serialized_end=61299,
+ serialized_start=61303,
+ serialized_end=61592,
)
@@ -16304,8 +16377,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=61448,
- serialized_end=61504,
+ serialized_start=61741,
+ serialized_end=61797,
)
_GETNULLIFIERSBRANCHSTATERESPONSE = _descriptor.Descriptor(
@@ -16340,8 +16413,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=61302,
- serialized_end=61515,
+ serialized_start=61595,
+ serialized_end=61808,
)
@@ -16379,8 +16452,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=61517,
- serialized_end=61586,
+ serialized_start=61810,
+ serialized_end=61879,
)
@@ -16411,8 +16484,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=61588,
- serialized_end=61685,
+ serialized_start=61881,
+ serialized_end=61978,
)
@@ -16450,8 +16523,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=61834,
- serialized_end=61911,
+ serialized_start=62127,
+ serialized_end=62204,
)
_GETRECENTNULLIFIERCHANGESREQUEST = _descriptor.Descriptor(
@@ -16486,8 +16559,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=61688,
- serialized_end=61922,
+ serialized_start=61981,
+ serialized_end=62215,
)
@@ -16537,8 +16610,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=62075,
- serialized_end=62323,
+ serialized_start=62368,
+ serialized_end=62616,
)
_GETRECENTNULLIFIERCHANGESRESPONSE = _descriptor.Descriptor(
@@ -16573,8 +16646,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=61925,
- serialized_end=62334,
+ serialized_start=62218,
+ serialized_end=62627,
)
@@ -16619,8 +16692,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=62336,
- serialized_end=62450,
+ serialized_start=62629,
+ serialized_end=62743,
)
@@ -16651,8 +16724,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=62452,
- serialized_end=62577,
+ serialized_start=62745,
+ serialized_end=62870,
)
@@ -16690,8 +16763,8 @@
extension_ranges=[],
oneofs=[
],
- serialized_start=62753,
- serialized_end=62845,
+ serialized_start=63046,
+ serialized_end=63138,
)
_GETRECENTCOMPACTEDNULLIFIERCHANGESREQUEST = _descriptor.Descriptor(
@@ -16726,8 +16799,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=62580,
- serialized_end=62856,
+ serialized_start=62873,
+ serialized_end=63149,
)
@@ -16777,8 +16850,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=63037,
- serialized_end=63313,
+ serialized_start=63330,
+ serialized_end=63606,
)
_GETRECENTCOMPACTEDNULLIFIERCHANGESRESPONSE = _descriptor.Descriptor(
@@ -16813,8 +16886,8 @@
create_key=_descriptor._internal_create_key,
fields=[]),
],
- serialized_start=62859,
- serialized_end=63324,
+ serialized_start=63152,
+ serialized_end=63617,
)
_GETIDENTITYREQUEST_GETIDENTITYREQUESTV0.containing_type = _GETIDENTITYREQUEST
@@ -17119,10 +17192,26 @@
_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV0.oneofs_by_name['start'].fields.append(
_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV0.fields_by_name['start_at'])
_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV0.fields_by_name['start_at'].containing_oneof = _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV0.oneofs_by_name['start']
+_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1.fields_by_name['select'].enum_type = _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1_SELECT
+_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1.containing_type = _GETDOCUMENTSREQUEST
+_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1_SELECT.containing_type = _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1
+_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1.oneofs_by_name['start'].fields.append(
+ _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1.fields_by_name['start_after'])
+_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1.fields_by_name['start_after'].containing_oneof = _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1.oneofs_by_name['start']
+_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1.oneofs_by_name['start'].fields.append(
+ _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1.fields_by_name['start_at'])
+_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1.fields_by_name['start_at'].containing_oneof = _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1.oneofs_by_name['start']
+_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1.oneofs_by_name['_limit'].fields.append(
+ _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1.fields_by_name['limit'])
+_GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1.fields_by_name['limit'].containing_oneof = _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1.oneofs_by_name['_limit']
_GETDOCUMENTSREQUEST.fields_by_name['v0'].message_type = _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV0
+_GETDOCUMENTSREQUEST.fields_by_name['v1'].message_type = _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1
_GETDOCUMENTSREQUEST.oneofs_by_name['version'].fields.append(
_GETDOCUMENTSREQUEST.fields_by_name['v0'])
_GETDOCUMENTSREQUEST.fields_by_name['v0'].containing_oneof = _GETDOCUMENTSREQUEST.oneofs_by_name['version']
+_GETDOCUMENTSREQUEST.oneofs_by_name['version'].fields.append(
+ _GETDOCUMENTSREQUEST.fields_by_name['v1'])
+_GETDOCUMENTSREQUEST.fields_by_name['v1'].containing_oneof = _GETDOCUMENTSREQUEST.oneofs_by_name['version']
_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV0_DOCUMENTS.containing_type = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV0
_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV0.fields_by_name['documents'].message_type = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV0_DOCUMENTS
_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV0.fields_by_name['proof'].message_type = _PROOF
@@ -17134,46 +17223,48 @@
_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV0.oneofs_by_name['result'].fields.append(
_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV0.fields_by_name['proof'])
_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV0.fields_by_name['proof'].containing_oneof = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV0.oneofs_by_name['result']
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_DOCUMENTS.containing_type = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRY.containing_type = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRY.oneofs_by_name['_in_key'].fields.append(
+ _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRY.fields_by_name['in_key'])
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRY.fields_by_name['in_key'].containing_oneof = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRY.oneofs_by_name['_in_key']
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRIES.fields_by_name['entries'].message_type = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRY
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRIES.containing_type = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTRESULTS.fields_by_name['entries'].message_type = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRIES
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTRESULTS.containing_type = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTRESULTS.oneofs_by_name['variant'].fields.append(
+ _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTRESULTS.fields_by_name['aggregate_count'])
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTRESULTS.fields_by_name['aggregate_count'].containing_oneof = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTRESULTS.oneofs_by_name['variant']
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTRESULTS.oneofs_by_name['variant'].fields.append(
+ _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTRESULTS.fields_by_name['entries'])
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTRESULTS.fields_by_name['entries'].containing_oneof = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTRESULTS.oneofs_by_name['variant']
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RESULTDATA.fields_by_name['documents'].message_type = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_DOCUMENTS
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RESULTDATA.fields_by_name['counts'].message_type = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTRESULTS
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RESULTDATA.containing_type = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RESULTDATA.oneofs_by_name['variant'].fields.append(
+ _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RESULTDATA.fields_by_name['documents'])
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RESULTDATA.fields_by_name['documents'].containing_oneof = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RESULTDATA.oneofs_by_name['variant']
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RESULTDATA.oneofs_by_name['variant'].fields.append(
+ _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RESULTDATA.fields_by_name['counts'])
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RESULTDATA.fields_by_name['counts'].containing_oneof = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RESULTDATA.oneofs_by_name['variant']
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1.fields_by_name['data'].message_type = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RESULTDATA
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1.fields_by_name['proof'].message_type = _PROOF
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1.fields_by_name['metadata'].message_type = _RESPONSEMETADATA
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1.containing_type = _GETDOCUMENTSRESPONSE
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1.oneofs_by_name['result'].fields.append(
+ _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1.fields_by_name['data'])
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1.fields_by_name['data'].containing_oneof = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1.oneofs_by_name['result']
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1.oneofs_by_name['result'].fields.append(
+ _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1.fields_by_name['proof'])
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1.fields_by_name['proof'].containing_oneof = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1.oneofs_by_name['result']
_GETDOCUMENTSRESPONSE.fields_by_name['v0'].message_type = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV0
+_GETDOCUMENTSRESPONSE.fields_by_name['v1'].message_type = _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1
_GETDOCUMENTSRESPONSE.oneofs_by_name['version'].fields.append(
_GETDOCUMENTSRESPONSE.fields_by_name['v0'])
_GETDOCUMENTSRESPONSE.fields_by_name['v0'].containing_oneof = _GETDOCUMENTSRESPONSE.oneofs_by_name['version']
-_GETDOCUMENTSCOUNTREQUEST_GETDOCUMENTSCOUNTREQUESTV0.containing_type = _GETDOCUMENTSCOUNTREQUEST
-_GETDOCUMENTSCOUNTREQUEST_GETDOCUMENTSCOUNTREQUESTV0.oneofs_by_name['_limit'].fields.append(
- _GETDOCUMENTSCOUNTREQUEST_GETDOCUMENTSCOUNTREQUESTV0.fields_by_name['limit'])
-_GETDOCUMENTSCOUNTREQUEST_GETDOCUMENTSCOUNTREQUESTV0.fields_by_name['limit'].containing_oneof = _GETDOCUMENTSCOUNTREQUEST_GETDOCUMENTSCOUNTREQUESTV0.oneofs_by_name['_limit']
-_GETDOCUMENTSCOUNTREQUEST.fields_by_name['v0'].message_type = _GETDOCUMENTSCOUNTREQUEST_GETDOCUMENTSCOUNTREQUESTV0
-_GETDOCUMENTSCOUNTREQUEST.oneofs_by_name['version'].fields.append(
- _GETDOCUMENTSCOUNTREQUEST.fields_by_name['v0'])
-_GETDOCUMENTSCOUNTREQUEST.fields_by_name['v0'].containing_oneof = _GETDOCUMENTSCOUNTREQUEST.oneofs_by_name['version']
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTENTRY.containing_type = _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTENTRY.oneofs_by_name['_in_key'].fields.append(
- _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTENTRY.fields_by_name['in_key'])
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTENTRY.fields_by_name['in_key'].containing_oneof = _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTENTRY.oneofs_by_name['_in_key']
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTENTRIES.fields_by_name['entries'].message_type = _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTENTRY
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTENTRIES.containing_type = _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTRESULTS.fields_by_name['entries'].message_type = _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTENTRIES
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTRESULTS.containing_type = _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTRESULTS.oneofs_by_name['variant'].fields.append(
- _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTRESULTS.fields_by_name['aggregate_count'])
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTRESULTS.fields_by_name['aggregate_count'].containing_oneof = _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTRESULTS.oneofs_by_name['variant']
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTRESULTS.oneofs_by_name['variant'].fields.append(
- _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTRESULTS.fields_by_name['entries'])
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTRESULTS.fields_by_name['entries'].containing_oneof = _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTRESULTS.oneofs_by_name['variant']
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0.fields_by_name['counts'].message_type = _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTRESULTS
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0.fields_by_name['proof'].message_type = _PROOF
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0.fields_by_name['metadata'].message_type = _RESPONSEMETADATA
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0.containing_type = _GETDOCUMENTSCOUNTRESPONSE
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0.oneofs_by_name['result'].fields.append(
- _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0.fields_by_name['counts'])
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0.fields_by_name['counts'].containing_oneof = _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0.oneofs_by_name['result']
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0.oneofs_by_name['result'].fields.append(
- _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0.fields_by_name['proof'])
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0.fields_by_name['proof'].containing_oneof = _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0.oneofs_by_name['result']
-_GETDOCUMENTSCOUNTRESPONSE.fields_by_name['v0'].message_type = _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0
-_GETDOCUMENTSCOUNTRESPONSE.oneofs_by_name['version'].fields.append(
- _GETDOCUMENTSCOUNTRESPONSE.fields_by_name['v0'])
-_GETDOCUMENTSCOUNTRESPONSE.fields_by_name['v0'].containing_oneof = _GETDOCUMENTSCOUNTRESPONSE.oneofs_by_name['version']
+_GETDOCUMENTSRESPONSE.oneofs_by_name['version'].fields.append(
+ _GETDOCUMENTSRESPONSE.fields_by_name['v1'])
+_GETDOCUMENTSRESPONSE.fields_by_name['v1'].containing_oneof = _GETDOCUMENTSRESPONSE.oneofs_by_name['version']
_GETIDENTITYBYPUBLICKEYHASHREQUEST_GETIDENTITYBYPUBLICKEYHASHREQUESTV0.containing_type = _GETIDENTITYBYPUBLICKEYHASHREQUEST
_GETIDENTITYBYPUBLICKEYHASHREQUEST.fields_by_name['v0'].message_type = _GETIDENTITYBYPUBLICKEYHASHREQUEST_GETIDENTITYBYPUBLICKEYHASHREQUESTV0
_GETIDENTITYBYPUBLICKEYHASHREQUEST.oneofs_by_name['version'].fields.append(
@@ -18469,8 +18560,6 @@
DESCRIPTOR.message_types_by_name['GetDataContractHistoryResponse'] = _GETDATACONTRACTHISTORYRESPONSE
DESCRIPTOR.message_types_by_name['GetDocumentsRequest'] = _GETDOCUMENTSREQUEST
DESCRIPTOR.message_types_by_name['GetDocumentsResponse'] = _GETDOCUMENTSRESPONSE
-DESCRIPTOR.message_types_by_name['GetDocumentsCountRequest'] = _GETDOCUMENTSCOUNTREQUEST
-DESCRIPTOR.message_types_by_name['GetDocumentsCountResponse'] = _GETDOCUMENTSCOUNTRESPONSE
DESCRIPTOR.message_types_by_name['GetIdentityByPublicKeyHashRequest'] = _GETIDENTITYBYPUBLICKEYHASHREQUEST
DESCRIPTOR.message_types_by_name['GetIdentityByPublicKeyHashResponse'] = _GETIDENTITYBYPUBLICKEYHASHRESPONSE
DESCRIPTOR.message_types_by_name['GetIdentityByNonUniquePublicKeyHashRequest'] = _GETIDENTITYBYNONUNIQUEPUBLICKEYHASHREQUEST
@@ -19156,12 +19245,20 @@
# @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0)
})
,
+
+ 'GetDocumentsRequestV1' : _reflection.GeneratedProtocolMessageType('GetDocumentsRequestV1', (_message.Message,), {
+ 'DESCRIPTOR' : _GETDOCUMENTSREQUEST_GETDOCUMENTSREQUESTV1,
+ '__module__' : 'platform_pb2'
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1)
+ })
+ ,
'DESCRIPTOR' : _GETDOCUMENTSREQUEST,
'__module__' : 'platform_pb2'
# @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsRequest)
})
_sym_db.RegisterMessage(GetDocumentsRequest)
_sym_db.RegisterMessage(GetDocumentsRequest.GetDocumentsRequestV0)
+_sym_db.RegisterMessage(GetDocumentsRequest.GetDocumentsRequestV1)
GetDocumentsResponse = _reflection.GeneratedProtocolMessageType('GetDocumentsResponse', (_message.Message,), {
@@ -19178,67 +19275,61 @@
# @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0)
})
,
- 'DESCRIPTOR' : _GETDOCUMENTSRESPONSE,
- '__module__' : 'platform_pb2'
- # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsResponse)
- })
-_sym_db.RegisterMessage(GetDocumentsResponse)
-_sym_db.RegisterMessage(GetDocumentsResponse.GetDocumentsResponseV0)
-_sym_db.RegisterMessage(GetDocumentsResponse.GetDocumentsResponseV0.Documents)
-
-GetDocumentsCountRequest = _reflection.GeneratedProtocolMessageType('GetDocumentsCountRequest', (_message.Message,), {
- 'GetDocumentsCountRequestV0' : _reflection.GeneratedProtocolMessageType('GetDocumentsCountRequestV0', (_message.Message,), {
- 'DESCRIPTOR' : _GETDOCUMENTSCOUNTREQUEST_GETDOCUMENTSCOUNTREQUESTV0,
- '__module__' : 'platform_pb2'
- # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0)
- })
- ,
- 'DESCRIPTOR' : _GETDOCUMENTSCOUNTREQUEST,
- '__module__' : 'platform_pb2'
- # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsCountRequest)
- })
-_sym_db.RegisterMessage(GetDocumentsCountRequest)
-_sym_db.RegisterMessage(GetDocumentsCountRequest.GetDocumentsCountRequestV0)
+ 'GetDocumentsResponseV1' : _reflection.GeneratedProtocolMessageType('GetDocumentsResponseV1', (_message.Message,), {
-GetDocumentsCountResponse = _reflection.GeneratedProtocolMessageType('GetDocumentsCountResponse', (_message.Message,), {
-
- 'GetDocumentsCountResponseV0' : _reflection.GeneratedProtocolMessageType('GetDocumentsCountResponseV0', (_message.Message,), {
+ 'Documents' : _reflection.GeneratedProtocolMessageType('Documents', (_message.Message,), {
+ 'DESCRIPTOR' : _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_DOCUMENTS,
+ '__module__' : 'platform_pb2'
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents)
+ })
+ ,
'CountEntry' : _reflection.GeneratedProtocolMessageType('CountEntry', (_message.Message,), {
- 'DESCRIPTOR' : _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTENTRY,
+ 'DESCRIPTOR' : _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRY,
'__module__' : 'platform_pb2'
- # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry)
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry)
})
,
'CountEntries' : _reflection.GeneratedProtocolMessageType('CountEntries', (_message.Message,), {
- 'DESCRIPTOR' : _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTENTRIES,
+ 'DESCRIPTOR' : _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRIES,
'__module__' : 'platform_pb2'
- # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries)
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries)
})
,
'CountResults' : _reflection.GeneratedProtocolMessageType('CountResults', (_message.Message,), {
- 'DESCRIPTOR' : _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTRESULTS,
+ 'DESCRIPTOR' : _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTRESULTS,
'__module__' : 'platform_pb2'
- # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults)
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults)
})
,
- 'DESCRIPTOR' : _GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0,
+
+ 'ResultData' : _reflection.GeneratedProtocolMessageType('ResultData', (_message.Message,), {
+ 'DESCRIPTOR' : _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_RESULTDATA,
+ '__module__' : 'platform_pb2'
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData)
+ })
+ ,
+ 'DESCRIPTOR' : _GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1,
'__module__' : 'platform_pb2'
- # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0)
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1)
})
,
- 'DESCRIPTOR' : _GETDOCUMENTSCOUNTRESPONSE,
+ 'DESCRIPTOR' : _GETDOCUMENTSRESPONSE,
'__module__' : 'platform_pb2'
- # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsCountResponse)
+ # @@protoc_insertion_point(class_scope:org.dash.platform.dapi.v0.GetDocumentsResponse)
})
-_sym_db.RegisterMessage(GetDocumentsCountResponse)
-_sym_db.RegisterMessage(GetDocumentsCountResponse.GetDocumentsCountResponseV0)
-_sym_db.RegisterMessage(GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry)
-_sym_db.RegisterMessage(GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries)
-_sym_db.RegisterMessage(GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults)
+_sym_db.RegisterMessage(GetDocumentsResponse)
+_sym_db.RegisterMessage(GetDocumentsResponse.GetDocumentsResponseV0)
+_sym_db.RegisterMessage(GetDocumentsResponse.GetDocumentsResponseV0.Documents)
+_sym_db.RegisterMessage(GetDocumentsResponse.GetDocumentsResponseV1)
+_sym_db.RegisterMessage(GetDocumentsResponse.GetDocumentsResponseV1.Documents)
+_sym_db.RegisterMessage(GetDocumentsResponse.GetDocumentsResponseV1.CountEntry)
+_sym_db.RegisterMessage(GetDocumentsResponse.GetDocumentsResponseV1.CountEntries)
+_sym_db.RegisterMessage(GetDocumentsResponse.GetDocumentsResponseV1.CountResults)
+_sym_db.RegisterMessage(GetDocumentsResponse.GetDocumentsResponseV1.ResultData)
GetIdentityByPublicKeyHashRequest = _reflection.GeneratedProtocolMessageType('GetIdentityByPublicKeyHashRequest', (_message.Message,), {
@@ -21577,8 +21668,8 @@
_GETIDENTITIESBALANCESRESPONSE_GETIDENTITIESBALANCESRESPONSEV0_IDENTITYBALANCE.fields_by_name['balance']._options = None
_GETDATACONTRACTHISTORYREQUEST_GETDATACONTRACTHISTORYREQUESTV0.fields_by_name['start_at_ms']._options = None
_GETDATACONTRACTHISTORYRESPONSE_GETDATACONTRACTHISTORYRESPONSEV0_DATACONTRACTHISTORYENTRY.fields_by_name['date']._options = None
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTENTRY.fields_by_name['count']._options = None
-_GETDOCUMENTSCOUNTRESPONSE_GETDOCUMENTSCOUNTRESPONSEV0_COUNTRESULTS.fields_by_name['aggregate_count']._options = None
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTENTRY.fields_by_name['count']._options = None
+_GETDOCUMENTSRESPONSE_GETDOCUMENTSRESPONSEV1_COUNTRESULTS.fields_by_name['aggregate_count']._options = None
_GETEPOCHSINFORESPONSE_GETEPOCHSINFORESPONSEV0_EPOCHINFO.fields_by_name['first_block_height']._options = None
_GETEPOCHSINFORESPONSE_GETEPOCHSINFORESPONSEV0_EPOCHINFO.fields_by_name['start_time']._options = None
_GETFINALIZEDEPOCHINFOSRESPONSE_GETFINALIZEDEPOCHINFOSRESPONSEV0_FINALIZEDEPOCHINFO.fields_by_name['first_block_height']._options = None
@@ -21634,8 +21725,8 @@
index=0,
serialized_options=None,
create_key=_descriptor._internal_create_key,
- serialized_start=63419,
- serialized_end=72686,
+ serialized_start=63712,
+ serialized_end=72851,
methods=[
_descriptor.MethodDescriptor(
name='broadcastStateTransition',
@@ -21787,20 +21878,10 @@
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
- _descriptor.MethodDescriptor(
- name='getDocumentsCount',
- full_name='org.dash.platform.dapi.v0.Platform.getDocumentsCount',
- index=15,
- containing_service=None,
- input_type=_GETDOCUMENTSCOUNTREQUEST,
- output_type=_GETDOCUMENTSCOUNTRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
_descriptor.MethodDescriptor(
name='getIdentityByPublicKeyHash',
full_name='org.dash.platform.dapi.v0.Platform.getIdentityByPublicKeyHash',
- index=16,
+ index=15,
containing_service=None,
input_type=_GETIDENTITYBYPUBLICKEYHASHREQUEST,
output_type=_GETIDENTITYBYPUBLICKEYHASHRESPONSE,
@@ -21810,7 +21891,7 @@
_descriptor.MethodDescriptor(
name='getIdentityByNonUniquePublicKeyHash',
full_name='org.dash.platform.dapi.v0.Platform.getIdentityByNonUniquePublicKeyHash',
- index=17,
+ index=16,
containing_service=None,
input_type=_GETIDENTITYBYNONUNIQUEPUBLICKEYHASHREQUEST,
output_type=_GETIDENTITYBYNONUNIQUEPUBLICKEYHASHRESPONSE,
@@ -21820,7 +21901,7 @@
_descriptor.MethodDescriptor(
name='waitForStateTransitionResult',
full_name='org.dash.platform.dapi.v0.Platform.waitForStateTransitionResult',
- index=18,
+ index=17,
containing_service=None,
input_type=_WAITFORSTATETRANSITIONRESULTREQUEST,
output_type=_WAITFORSTATETRANSITIONRESULTRESPONSE,
@@ -21830,7 +21911,7 @@
_descriptor.MethodDescriptor(
name='getConsensusParams',
full_name='org.dash.platform.dapi.v0.Platform.getConsensusParams',
- index=19,
+ index=18,
containing_service=None,
input_type=_GETCONSENSUSPARAMSREQUEST,
output_type=_GETCONSENSUSPARAMSRESPONSE,
@@ -21840,7 +21921,7 @@
_descriptor.MethodDescriptor(
name='getProtocolVersionUpgradeState',
full_name='org.dash.platform.dapi.v0.Platform.getProtocolVersionUpgradeState',
- index=20,
+ index=19,
containing_service=None,
input_type=_GETPROTOCOLVERSIONUPGRADESTATEREQUEST,
output_type=_GETPROTOCOLVERSIONUPGRADESTATERESPONSE,
@@ -21850,7 +21931,7 @@
_descriptor.MethodDescriptor(
name='getProtocolVersionUpgradeVoteStatus',
full_name='org.dash.platform.dapi.v0.Platform.getProtocolVersionUpgradeVoteStatus',
- index=21,
+ index=20,
containing_service=None,
input_type=_GETPROTOCOLVERSIONUPGRADEVOTESTATUSREQUEST,
output_type=_GETPROTOCOLVERSIONUPGRADEVOTESTATUSRESPONSE,
@@ -21860,7 +21941,7 @@
_descriptor.MethodDescriptor(
name='getEpochsInfo',
full_name='org.dash.platform.dapi.v0.Platform.getEpochsInfo',
- index=22,
+ index=21,
containing_service=None,
input_type=_GETEPOCHSINFOREQUEST,
output_type=_GETEPOCHSINFORESPONSE,
@@ -21870,7 +21951,7 @@
_descriptor.MethodDescriptor(
name='getFinalizedEpochInfos',
full_name='org.dash.platform.dapi.v0.Platform.getFinalizedEpochInfos',
- index=23,
+ index=22,
containing_service=None,
input_type=_GETFINALIZEDEPOCHINFOSREQUEST,
output_type=_GETFINALIZEDEPOCHINFOSRESPONSE,
@@ -21880,7 +21961,7 @@
_descriptor.MethodDescriptor(
name='getContestedResources',
full_name='org.dash.platform.dapi.v0.Platform.getContestedResources',
- index=24,
+ index=23,
containing_service=None,
input_type=_GETCONTESTEDRESOURCESREQUEST,
output_type=_GETCONTESTEDRESOURCESRESPONSE,
@@ -21890,7 +21971,7 @@
_descriptor.MethodDescriptor(
name='getContestedResourceVoteState',
full_name='org.dash.platform.dapi.v0.Platform.getContestedResourceVoteState',
- index=25,
+ index=24,
containing_service=None,
input_type=_GETCONTESTEDRESOURCEVOTESTATEREQUEST,
output_type=_GETCONTESTEDRESOURCEVOTESTATERESPONSE,
@@ -21900,7 +21981,7 @@
_descriptor.MethodDescriptor(
name='getContestedResourceVotersForIdentity',
full_name='org.dash.platform.dapi.v0.Platform.getContestedResourceVotersForIdentity',
- index=26,
+ index=25,
containing_service=None,
input_type=_GETCONTESTEDRESOURCEVOTERSFORIDENTITYREQUEST,
output_type=_GETCONTESTEDRESOURCEVOTERSFORIDENTITYRESPONSE,
@@ -21910,7 +21991,7 @@
_descriptor.MethodDescriptor(
name='getContestedResourceIdentityVotes',
full_name='org.dash.platform.dapi.v0.Platform.getContestedResourceIdentityVotes',
- index=27,
+ index=26,
containing_service=None,
input_type=_GETCONTESTEDRESOURCEIDENTITYVOTESREQUEST,
output_type=_GETCONTESTEDRESOURCEIDENTITYVOTESRESPONSE,
@@ -21920,7 +22001,7 @@
_descriptor.MethodDescriptor(
name='getVotePollsByEndDate',
full_name='org.dash.platform.dapi.v0.Platform.getVotePollsByEndDate',
- index=28,
+ index=27,
containing_service=None,
input_type=_GETVOTEPOLLSBYENDDATEREQUEST,
output_type=_GETVOTEPOLLSBYENDDATERESPONSE,
@@ -21930,7 +22011,7 @@
_descriptor.MethodDescriptor(
name='getPrefundedSpecializedBalance',
full_name='org.dash.platform.dapi.v0.Platform.getPrefundedSpecializedBalance',
- index=29,
+ index=28,
containing_service=None,
input_type=_GETPREFUNDEDSPECIALIZEDBALANCEREQUEST,
output_type=_GETPREFUNDEDSPECIALIZEDBALANCERESPONSE,
@@ -21940,7 +22021,7 @@
_descriptor.MethodDescriptor(
name='getTotalCreditsInPlatform',
full_name='org.dash.platform.dapi.v0.Platform.getTotalCreditsInPlatform',
- index=30,
+ index=29,
containing_service=None,
input_type=_GETTOTALCREDITSINPLATFORMREQUEST,
output_type=_GETTOTALCREDITSINPLATFORMRESPONSE,
@@ -21950,7 +22031,7 @@
_descriptor.MethodDescriptor(
name='getPathElements',
full_name='org.dash.platform.dapi.v0.Platform.getPathElements',
- index=31,
+ index=30,
containing_service=None,
input_type=_GETPATHELEMENTSREQUEST,
output_type=_GETPATHELEMENTSRESPONSE,
@@ -21960,7 +22041,7 @@
_descriptor.MethodDescriptor(
name='getStatus',
full_name='org.dash.platform.dapi.v0.Platform.getStatus',
- index=32,
+ index=31,
containing_service=None,
input_type=_GETSTATUSREQUEST,
output_type=_GETSTATUSRESPONSE,
@@ -21970,7 +22051,7 @@
_descriptor.MethodDescriptor(
name='getCurrentQuorumsInfo',
full_name='org.dash.platform.dapi.v0.Platform.getCurrentQuorumsInfo',
- index=33,
+ index=32,
containing_service=None,
input_type=_GETCURRENTQUORUMSINFOREQUEST,
output_type=_GETCURRENTQUORUMSINFORESPONSE,
@@ -21980,7 +22061,7 @@
_descriptor.MethodDescriptor(
name='getIdentityTokenBalances',
full_name='org.dash.platform.dapi.v0.Platform.getIdentityTokenBalances',
- index=34,
+ index=33,
containing_service=None,
input_type=_GETIDENTITYTOKENBALANCESREQUEST,
output_type=_GETIDENTITYTOKENBALANCESRESPONSE,
@@ -21990,7 +22071,7 @@
_descriptor.MethodDescriptor(
name='getIdentitiesTokenBalances',
full_name='org.dash.platform.dapi.v0.Platform.getIdentitiesTokenBalances',
- index=35,
+ index=34,
containing_service=None,
input_type=_GETIDENTITIESTOKENBALANCESREQUEST,
output_type=_GETIDENTITIESTOKENBALANCESRESPONSE,
@@ -22000,7 +22081,7 @@
_descriptor.MethodDescriptor(
name='getIdentityTokenInfos',
full_name='org.dash.platform.dapi.v0.Platform.getIdentityTokenInfos',
- index=36,
+ index=35,
containing_service=None,
input_type=_GETIDENTITYTOKENINFOSREQUEST,
output_type=_GETIDENTITYTOKENINFOSRESPONSE,
@@ -22010,7 +22091,7 @@
_descriptor.MethodDescriptor(
name='getIdentitiesTokenInfos',
full_name='org.dash.platform.dapi.v0.Platform.getIdentitiesTokenInfos',
- index=37,
+ index=36,
containing_service=None,
input_type=_GETIDENTITIESTOKENINFOSREQUEST,
output_type=_GETIDENTITIESTOKENINFOSRESPONSE,
@@ -22020,7 +22101,7 @@
_descriptor.MethodDescriptor(
name='getTokenStatuses',
full_name='org.dash.platform.dapi.v0.Platform.getTokenStatuses',
- index=38,
+ index=37,
containing_service=None,
input_type=_GETTOKENSTATUSESREQUEST,
output_type=_GETTOKENSTATUSESRESPONSE,
@@ -22030,7 +22111,7 @@
_descriptor.MethodDescriptor(
name='getTokenDirectPurchasePrices',
full_name='org.dash.platform.dapi.v0.Platform.getTokenDirectPurchasePrices',
- index=39,
+ index=38,
containing_service=None,
input_type=_GETTOKENDIRECTPURCHASEPRICESREQUEST,
output_type=_GETTOKENDIRECTPURCHASEPRICESRESPONSE,
@@ -22040,7 +22121,7 @@
_descriptor.MethodDescriptor(
name='getTokenContractInfo',
full_name='org.dash.platform.dapi.v0.Platform.getTokenContractInfo',
- index=40,
+ index=39,
containing_service=None,
input_type=_GETTOKENCONTRACTINFOREQUEST,
output_type=_GETTOKENCONTRACTINFORESPONSE,
@@ -22050,7 +22131,7 @@
_descriptor.MethodDescriptor(
name='getTokenPreProgrammedDistributions',
full_name='org.dash.platform.dapi.v0.Platform.getTokenPreProgrammedDistributions',
- index=41,
+ index=40,
containing_service=None,
input_type=_GETTOKENPREPROGRAMMEDDISTRIBUTIONSREQUEST,
output_type=_GETTOKENPREPROGRAMMEDDISTRIBUTIONSRESPONSE,
@@ -22060,7 +22141,7 @@
_descriptor.MethodDescriptor(
name='getTokenPerpetualDistributionLastClaim',
full_name='org.dash.platform.dapi.v0.Platform.getTokenPerpetualDistributionLastClaim',
- index=42,
+ index=41,
containing_service=None,
input_type=_GETTOKENPERPETUALDISTRIBUTIONLASTCLAIMREQUEST,
output_type=_GETTOKENPERPETUALDISTRIBUTIONLASTCLAIMRESPONSE,
@@ -22070,7 +22151,7 @@
_descriptor.MethodDescriptor(
name='getTokenTotalSupply',
full_name='org.dash.platform.dapi.v0.Platform.getTokenTotalSupply',
- index=43,
+ index=42,
containing_service=None,
input_type=_GETTOKENTOTALSUPPLYREQUEST,
output_type=_GETTOKENTOTALSUPPLYRESPONSE,
@@ -22080,7 +22161,7 @@
_descriptor.MethodDescriptor(
name='getGroupInfo',
full_name='org.dash.platform.dapi.v0.Platform.getGroupInfo',
- index=44,
+ index=43,
containing_service=None,
input_type=_GETGROUPINFOREQUEST,
output_type=_GETGROUPINFORESPONSE,
@@ -22090,7 +22171,7 @@
_descriptor.MethodDescriptor(
name='getGroupInfos',
full_name='org.dash.platform.dapi.v0.Platform.getGroupInfos',
- index=45,
+ index=44,
containing_service=None,
input_type=_GETGROUPINFOSREQUEST,
output_type=_GETGROUPINFOSRESPONSE,
@@ -22100,7 +22181,7 @@
_descriptor.MethodDescriptor(
name='getGroupActions',
full_name='org.dash.platform.dapi.v0.Platform.getGroupActions',
- index=46,
+ index=45,
containing_service=None,
input_type=_GETGROUPACTIONSREQUEST,
output_type=_GETGROUPACTIONSRESPONSE,
@@ -22110,7 +22191,7 @@
_descriptor.MethodDescriptor(
name='getGroupActionSigners',
full_name='org.dash.platform.dapi.v0.Platform.getGroupActionSigners',
- index=47,
+ index=46,
containing_service=None,
input_type=_GETGROUPACTIONSIGNERSREQUEST,
output_type=_GETGROUPACTIONSIGNERSRESPONSE,
@@ -22120,7 +22201,7 @@
_descriptor.MethodDescriptor(
name='getAddressInfo',
full_name='org.dash.platform.dapi.v0.Platform.getAddressInfo',
- index=48,
+ index=47,
containing_service=None,
input_type=_GETADDRESSINFOREQUEST,
output_type=_GETADDRESSINFORESPONSE,
@@ -22130,7 +22211,7 @@
_descriptor.MethodDescriptor(
name='getAddressesInfos',
full_name='org.dash.platform.dapi.v0.Platform.getAddressesInfos',
- index=49,
+ index=48,
containing_service=None,
input_type=_GETADDRESSESINFOSREQUEST,
output_type=_GETADDRESSESINFOSRESPONSE,
@@ -22140,7 +22221,7 @@
_descriptor.MethodDescriptor(
name='getAddressesTrunkState',
full_name='org.dash.platform.dapi.v0.Platform.getAddressesTrunkState',
- index=50,
+ index=49,
containing_service=None,
input_type=_GETADDRESSESTRUNKSTATEREQUEST,
output_type=_GETADDRESSESTRUNKSTATERESPONSE,
@@ -22150,7 +22231,7 @@
_descriptor.MethodDescriptor(
name='getAddressesBranchState',
full_name='org.dash.platform.dapi.v0.Platform.getAddressesBranchState',
- index=51,
+ index=50,
containing_service=None,
input_type=_GETADDRESSESBRANCHSTATEREQUEST,
output_type=_GETADDRESSESBRANCHSTATERESPONSE,
@@ -22160,7 +22241,7 @@
_descriptor.MethodDescriptor(
name='getRecentAddressBalanceChanges',
full_name='org.dash.platform.dapi.v0.Platform.getRecentAddressBalanceChanges',
- index=52,
+ index=51,
containing_service=None,
input_type=_GETRECENTADDRESSBALANCECHANGESREQUEST,
output_type=_GETRECENTADDRESSBALANCECHANGESRESPONSE,
@@ -22170,7 +22251,7 @@
_descriptor.MethodDescriptor(
name='getRecentCompactedAddressBalanceChanges',
full_name='org.dash.platform.dapi.v0.Platform.getRecentCompactedAddressBalanceChanges',
- index=53,
+ index=52,
containing_service=None,
input_type=_GETRECENTCOMPACTEDADDRESSBALANCECHANGESREQUEST,
output_type=_GETRECENTCOMPACTEDADDRESSBALANCECHANGESRESPONSE,
@@ -22180,7 +22261,7 @@
_descriptor.MethodDescriptor(
name='getShieldedEncryptedNotes',
full_name='org.dash.platform.dapi.v0.Platform.getShieldedEncryptedNotes',
- index=54,
+ index=53,
containing_service=None,
input_type=_GETSHIELDEDENCRYPTEDNOTESREQUEST,
output_type=_GETSHIELDEDENCRYPTEDNOTESRESPONSE,
@@ -22190,7 +22271,7 @@
_descriptor.MethodDescriptor(
name='getShieldedAnchors',
full_name='org.dash.platform.dapi.v0.Platform.getShieldedAnchors',
- index=55,
+ index=54,
containing_service=None,
input_type=_GETSHIELDEDANCHORSREQUEST,
output_type=_GETSHIELDEDANCHORSRESPONSE,
@@ -22200,7 +22281,7 @@
_descriptor.MethodDescriptor(
name='getMostRecentShieldedAnchor',
full_name='org.dash.platform.dapi.v0.Platform.getMostRecentShieldedAnchor',
- index=56,
+ index=55,
containing_service=None,
input_type=_GETMOSTRECENTSHIELDEDANCHORREQUEST,
output_type=_GETMOSTRECENTSHIELDEDANCHORRESPONSE,
@@ -22210,7 +22291,7 @@
_descriptor.MethodDescriptor(
name='getShieldedPoolState',
full_name='org.dash.platform.dapi.v0.Platform.getShieldedPoolState',
- index=57,
+ index=56,
containing_service=None,
input_type=_GETSHIELDEDPOOLSTATEREQUEST,
output_type=_GETSHIELDEDPOOLSTATERESPONSE,
@@ -22220,7 +22301,7 @@
_descriptor.MethodDescriptor(
name='getShieldedNullifiers',
full_name='org.dash.platform.dapi.v0.Platform.getShieldedNullifiers',
- index=58,
+ index=57,
containing_service=None,
input_type=_GETSHIELDEDNULLIFIERSREQUEST,
output_type=_GETSHIELDEDNULLIFIERSRESPONSE,
@@ -22230,7 +22311,7 @@
_descriptor.MethodDescriptor(
name='getNullifiersTrunkState',
full_name='org.dash.platform.dapi.v0.Platform.getNullifiersTrunkState',
- index=59,
+ index=58,
containing_service=None,
input_type=_GETNULLIFIERSTRUNKSTATEREQUEST,
output_type=_GETNULLIFIERSTRUNKSTATERESPONSE,
@@ -22240,7 +22321,7 @@
_descriptor.MethodDescriptor(
name='getNullifiersBranchState',
full_name='org.dash.platform.dapi.v0.Platform.getNullifiersBranchState',
- index=60,
+ index=59,
containing_service=None,
input_type=_GETNULLIFIERSBRANCHSTATEREQUEST,
output_type=_GETNULLIFIERSBRANCHSTATERESPONSE,
@@ -22250,7 +22331,7 @@
_descriptor.MethodDescriptor(
name='getRecentNullifierChanges',
full_name='org.dash.platform.dapi.v0.Platform.getRecentNullifierChanges',
- index=61,
+ index=60,
containing_service=None,
input_type=_GETRECENTNULLIFIERCHANGESREQUEST,
output_type=_GETRECENTNULLIFIERCHANGESRESPONSE,
@@ -22260,7 +22341,7 @@
_descriptor.MethodDescriptor(
name='getRecentCompactedNullifierChanges',
full_name='org.dash.platform.dapi.v0.Platform.getRecentCompactedNullifierChanges',
- index=62,
+ index=61,
containing_service=None,
input_type=_GETRECENTCOMPACTEDNULLIFIERCHANGESREQUEST,
output_type=_GETRECENTCOMPACTEDNULLIFIERCHANGESRESPONSE,
diff --git a/packages/dapi-grpc/clients/platform/v0/python/platform_pb2_grpc.py b/packages/dapi-grpc/clients/platform/v0/python/platform_pb2_grpc.py
index 281b978988d..20c35720dc1 100644
--- a/packages/dapi-grpc/clients/platform/v0/python/platform_pb2_grpc.py
+++ b/packages/dapi-grpc/clients/platform/v0/python/platform_pb2_grpc.py
@@ -89,11 +89,6 @@ def __init__(self, channel):
request_serializer=platform__pb2.GetDocumentsRequest.SerializeToString,
response_deserializer=platform__pb2.GetDocumentsResponse.FromString,
)
- self.getDocumentsCount = channel.unary_unary(
- '/org.dash.platform.dapi.v0.Platform/getDocumentsCount',
- request_serializer=platform__pb2.GetDocumentsCountRequest.SerializeToString,
- response_deserializer=platform__pb2.GetDocumentsCountResponse.FromString,
- )
self.getIdentityByPublicKeyHash = channel.unary_unary(
'/org.dash.platform.dapi.v0.Platform/getIdentityByPublicKeyHash',
request_serializer=platform__pb2.GetIdentityByPublicKeyHashRequest.SerializeToString,
@@ -425,14 +420,13 @@ def getDocuments(self, request, context):
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
- def getDocumentsCount(self, request, context):
- """Missing associated documentation comment in .proto file."""
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
- context.set_details('Method not implemented!')
- raise NotImplementedError('Method not implemented!')
-
def getIdentityByPublicKeyHash(self, request, context):
- """Missing associated documentation comment in .proto file."""
+ """`getDocumentsCount` removed in v1: callers express counts via
+ `getDocuments` with `version.v1.select = COUNT` (optionally
+ with `group_by`). See `GetDocumentsRequestV1` for the unified
+ SQL-shaped surface. The v0-count endpoint shipped briefly in
+ #3623 and never had stable callers; v1 supersedes it entirely.
+ """
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
@@ -797,11 +791,6 @@ def add_PlatformServicer_to_server(servicer, server):
request_deserializer=platform__pb2.GetDocumentsRequest.FromString,
response_serializer=platform__pb2.GetDocumentsResponse.SerializeToString,
),
- 'getDocumentsCount': grpc.unary_unary_rpc_method_handler(
- servicer.getDocumentsCount,
- request_deserializer=platform__pb2.GetDocumentsCountRequest.FromString,
- response_serializer=platform__pb2.GetDocumentsCountResponse.SerializeToString,
- ),
'getIdentityByPublicKeyHash': grpc.unary_unary_rpc_method_handler(
servicer.getIdentityByPublicKeyHash,
request_deserializer=platform__pb2.GetIdentityByPublicKeyHashRequest.FromString,
@@ -1302,23 +1291,6 @@ def getDocuments(request,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
- @staticmethod
- def getDocumentsCount(request,
- target,
- options=(),
- channel_credentials=None,
- call_credentials=None,
- insecure=False,
- compression=None,
- wait_for_ready=None,
- timeout=None,
- metadata=None):
- return grpc.experimental.unary_unary(request, target, '/org.dash.platform.dapi.v0.Platform/getDocumentsCount',
- platform__pb2.GetDocumentsCountRequest.SerializeToString,
- platform__pb2.GetDocumentsCountResponse.FromString,
- options, channel_credentials,
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
-
@staticmethod
def getIdentityByPublicKeyHash(request,
target,
diff --git a/packages/dapi-grpc/clients/platform/v0/web/platform_pb.d.ts b/packages/dapi-grpc/clients/platform/v0/web/platform_pb.d.ts
index 55dd228abc7..c977b021788 100644
--- a/packages/dapi-grpc/clients/platform/v0/web/platform_pb.d.ts
+++ b/packages/dapi-grpc/clients/platform/v0/web/platform_pb.d.ts
@@ -2250,6 +2250,11 @@ export class GetDocumentsRequest extends jspb.Message {
getV0(): GetDocumentsRequest.GetDocumentsRequestV0 | undefined;
setV0(value?: GetDocumentsRequest.GetDocumentsRequestV0): void;
+ hasV1(): boolean;
+ clearV1(): void;
+ getV1(): GetDocumentsRequest.GetDocumentsRequestV1 | undefined;
+ setV1(value?: GetDocumentsRequest.GetDocumentsRequestV1): void;
+
getVersionCase(): GetDocumentsRequest.VersionCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetDocumentsRequest.AsObject;
@@ -2264,6 +2269,7 @@ export class GetDocumentsRequest extends jspb.Message {
export namespace GetDocumentsRequest {
export type AsObject = {
v0?: GetDocumentsRequest.GetDocumentsRequestV0.AsObject,
+ v1?: GetDocumentsRequest.GetDocumentsRequestV1.AsObject,
}
export class GetDocumentsRequestV0 extends jspb.Message {
@@ -2335,9 +2341,104 @@ export namespace GetDocumentsRequest {
}
}
+ export class GetDocumentsRequestV1 extends jspb.Message {
+ getDataContractId(): Uint8Array | string;
+ getDataContractId_asU8(): Uint8Array;
+ getDataContractId_asB64(): string;
+ setDataContractId(value: Uint8Array | string): void;
+
+ getDocumentType(): string;
+ setDocumentType(value: string): void;
+
+ getWhere(): Uint8Array | string;
+ getWhere_asU8(): Uint8Array;
+ getWhere_asB64(): string;
+ setWhere(value: Uint8Array | string): void;
+
+ getOrderBy(): Uint8Array | string;
+ getOrderBy_asU8(): Uint8Array;
+ getOrderBy_asB64(): string;
+ setOrderBy(value: Uint8Array | string): void;
+
+ hasLimit(): boolean;
+ clearLimit(): void;
+ getLimit(): number;
+ setLimit(value: number): void;
+
+ hasStartAfter(): boolean;
+ clearStartAfter(): void;
+ getStartAfter(): Uint8Array | string;
+ getStartAfter_asU8(): Uint8Array;
+ getStartAfter_asB64(): string;
+ setStartAfter(value: Uint8Array | string): void;
+
+ hasStartAt(): boolean;
+ clearStartAt(): void;
+ getStartAt(): Uint8Array | string;
+ getStartAt_asU8(): Uint8Array;
+ getStartAt_asB64(): string;
+ setStartAt(value: Uint8Array | string): void;
+
+ getProve(): boolean;
+ setProve(value: boolean): void;
+
+ getSelect(): GetDocumentsRequest.GetDocumentsRequestV1.SelectMap[keyof GetDocumentsRequest.GetDocumentsRequestV1.SelectMap];
+ setSelect(value: GetDocumentsRequest.GetDocumentsRequestV1.SelectMap[keyof GetDocumentsRequest.GetDocumentsRequestV1.SelectMap]): void;
+
+ clearGroupByList(): void;
+ getGroupByList(): Array;
+ setGroupByList(value: Array): void;
+ addGroupBy(value: string, index?: number): string;
+
+ getHaving(): Uint8Array | string;
+ getHaving_asU8(): Uint8Array;
+ getHaving_asB64(): string;
+ setHaving(value: Uint8Array | string): void;
+
+ getStartCase(): GetDocumentsRequestV1.StartCase;
+ serializeBinary(): Uint8Array;
+ toObject(includeInstance?: boolean): GetDocumentsRequestV1.AsObject;
+ static toObject(includeInstance: boolean, msg: GetDocumentsRequestV1): GetDocumentsRequestV1.AsObject;
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo};
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo};
+ static serializeBinaryToWriter(message: GetDocumentsRequestV1, writer: jspb.BinaryWriter): void;
+ static deserializeBinary(bytes: Uint8Array): GetDocumentsRequestV1;
+ static deserializeBinaryFromReader(message: GetDocumentsRequestV1, reader: jspb.BinaryReader): GetDocumentsRequestV1;
+ }
+
+ export namespace GetDocumentsRequestV1 {
+ export type AsObject = {
+ dataContractId: Uint8Array | string,
+ documentType: string,
+ where: Uint8Array | string,
+ orderBy: Uint8Array | string,
+ limit: number,
+ startAfter: Uint8Array | string,
+ startAt: Uint8Array | string,
+ prove: boolean,
+ select: GetDocumentsRequest.GetDocumentsRequestV1.SelectMap[keyof GetDocumentsRequest.GetDocumentsRequestV1.SelectMap],
+ groupByList: Array,
+ having: Uint8Array | string,
+ }
+
+ export interface SelectMap {
+ DOCUMENTS: 0;
+ COUNT: 1;
+ }
+
+ export const Select: SelectMap;
+
+ export enum StartCase {
+ START_NOT_SET = 0,
+ START_AFTER = 6,
+ START_AT = 7,
+ }
+ }
+
export enum VersionCase {
VERSION_NOT_SET = 0,
V0 = 1,
+ V1 = 2,
}
}
@@ -2347,6 +2448,11 @@ export class GetDocumentsResponse extends jspb.Message {
getV0(): GetDocumentsResponse.GetDocumentsResponseV0 | undefined;
setV0(value?: GetDocumentsResponse.GetDocumentsResponseV0): void;
+ hasV1(): boolean;
+ clearV1(): void;
+ getV1(): GetDocumentsResponse.GetDocumentsResponseV1 | undefined;
+ setV1(value?: GetDocumentsResponse.GetDocumentsResponseV1): void;
+
getVersionCase(): GetDocumentsResponse.VersionCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetDocumentsResponse.AsObject;
@@ -2361,6 +2467,7 @@ export class GetDocumentsResponse extends jspb.Message {
export namespace GetDocumentsResponse {
export type AsObject = {
v0?: GetDocumentsResponse.GetDocumentsResponseV0.AsObject,
+ v1?: GetDocumentsResponse.GetDocumentsResponseV1.AsObject,
}
export class GetDocumentsResponseV0 extends jspb.Message {
@@ -2428,119 +2535,11 @@ export namespace GetDocumentsResponse {
}
}
- export enum VersionCase {
- VERSION_NOT_SET = 0,
- V0 = 1,
- }
-}
-
-export class GetDocumentsCountRequest extends jspb.Message {
- hasV0(): boolean;
- clearV0(): void;
- getV0(): GetDocumentsCountRequest.GetDocumentsCountRequestV0 | undefined;
- setV0(value?: GetDocumentsCountRequest.GetDocumentsCountRequestV0): void;
-
- getVersionCase(): GetDocumentsCountRequest.VersionCase;
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetDocumentsCountRequest.AsObject;
- static toObject(includeInstance: boolean, msg: GetDocumentsCountRequest): GetDocumentsCountRequest.AsObject;
- static extensions: {[key: number]: jspb.ExtensionFieldInfo};
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo};
- static serializeBinaryToWriter(message: GetDocumentsCountRequest, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetDocumentsCountRequest;
- static deserializeBinaryFromReader(message: GetDocumentsCountRequest, reader: jspb.BinaryReader): GetDocumentsCountRequest;
-}
-
-export namespace GetDocumentsCountRequest {
- export type AsObject = {
- v0?: GetDocumentsCountRequest.GetDocumentsCountRequestV0.AsObject,
- }
-
- export class GetDocumentsCountRequestV0 extends jspb.Message {
- getDataContractId(): Uint8Array | string;
- getDataContractId_asU8(): Uint8Array;
- getDataContractId_asB64(): string;
- setDataContractId(value: Uint8Array | string): void;
-
- getDocumentType(): string;
- setDocumentType(value: string): void;
-
- getWhere(): Uint8Array | string;
- getWhere_asU8(): Uint8Array;
- getWhere_asB64(): string;
- setWhere(value: Uint8Array | string): void;
-
- getReturnDistinctCountsInRange(): boolean;
- setReturnDistinctCountsInRange(value: boolean): void;
-
- getOrderBy(): Uint8Array | string;
- getOrderBy_asU8(): Uint8Array;
- getOrderBy_asB64(): string;
- setOrderBy(value: Uint8Array | string): void;
-
- hasLimit(): boolean;
- clearLimit(): void;
- getLimit(): number;
- setLimit(value: number): void;
-
- getProve(): boolean;
- setProve(value: boolean): void;
-
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetDocumentsCountRequestV0.AsObject;
- static toObject(includeInstance: boolean, msg: GetDocumentsCountRequestV0): GetDocumentsCountRequestV0.AsObject;
- static extensions: {[key: number]: jspb.ExtensionFieldInfo};
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo};
- static serializeBinaryToWriter(message: GetDocumentsCountRequestV0, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetDocumentsCountRequestV0;
- static deserializeBinaryFromReader(message: GetDocumentsCountRequestV0, reader: jspb.BinaryReader): GetDocumentsCountRequestV0;
- }
-
- export namespace GetDocumentsCountRequestV0 {
- export type AsObject = {
- dataContractId: Uint8Array | string,
- documentType: string,
- where: Uint8Array | string,
- returnDistinctCountsInRange: boolean,
- orderBy: Uint8Array | string,
- limit: number,
- prove: boolean,
- }
- }
-
- export enum VersionCase {
- VERSION_NOT_SET = 0,
- V0 = 1,
- }
-}
-
-export class GetDocumentsCountResponse extends jspb.Message {
- hasV0(): boolean;
- clearV0(): void;
- getV0(): GetDocumentsCountResponse.GetDocumentsCountResponseV0 | undefined;
- setV0(value?: GetDocumentsCountResponse.GetDocumentsCountResponseV0): void;
-
- getVersionCase(): GetDocumentsCountResponse.VersionCase;
- serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetDocumentsCountResponse.AsObject;
- static toObject(includeInstance: boolean, msg: GetDocumentsCountResponse): GetDocumentsCountResponse.AsObject;
- static extensions: {[key: number]: jspb.ExtensionFieldInfo};
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo};
- static serializeBinaryToWriter(message: GetDocumentsCountResponse, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetDocumentsCountResponse;
- static deserializeBinaryFromReader(message: GetDocumentsCountResponse, reader: jspb.BinaryReader): GetDocumentsCountResponse;
-}
-
-export namespace GetDocumentsCountResponse {
- export type AsObject = {
- v0?: GetDocumentsCountResponse.GetDocumentsCountResponseV0.AsObject,
- }
-
- export class GetDocumentsCountResponseV0 extends jspb.Message {
- hasCounts(): boolean;
- clearCounts(): void;
- getCounts(): GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults | undefined;
- setCounts(value?: GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults): void;
+ export class GetDocumentsResponseV1 extends jspb.Message {
+ hasData(): boolean;
+ clearData(): void;
+ getData(): GetDocumentsResponse.GetDocumentsResponseV1.ResultData | undefined;
+ setData(value?: GetDocumentsResponse.GetDocumentsResponseV1.ResultData): void;
hasProof(): boolean;
clearProof(): void;
@@ -2552,24 +2551,48 @@ export namespace GetDocumentsCountResponse {
getMetadata(): ResponseMetadata | undefined;
setMetadata(value?: ResponseMetadata): void;
- getResultCase(): GetDocumentsCountResponseV0.ResultCase;
+ getResultCase(): GetDocumentsResponseV1.ResultCase;
serializeBinary(): Uint8Array;
- toObject(includeInstance?: boolean): GetDocumentsCountResponseV0.AsObject;
- static toObject(includeInstance: boolean, msg: GetDocumentsCountResponseV0): GetDocumentsCountResponseV0.AsObject;
+ toObject(includeInstance?: boolean): GetDocumentsResponseV1.AsObject;
+ static toObject(includeInstance: boolean, msg: GetDocumentsResponseV1): GetDocumentsResponseV1.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo};
- static serializeBinaryToWriter(message: GetDocumentsCountResponseV0, writer: jspb.BinaryWriter): void;
- static deserializeBinary(bytes: Uint8Array): GetDocumentsCountResponseV0;
- static deserializeBinaryFromReader(message: GetDocumentsCountResponseV0, reader: jspb.BinaryReader): GetDocumentsCountResponseV0;
+ static serializeBinaryToWriter(message: GetDocumentsResponseV1, writer: jspb.BinaryWriter): void;
+ static deserializeBinary(bytes: Uint8Array): GetDocumentsResponseV1;
+ static deserializeBinaryFromReader(message: GetDocumentsResponseV1, reader: jspb.BinaryReader): GetDocumentsResponseV1;
}
- export namespace GetDocumentsCountResponseV0 {
+ export namespace GetDocumentsResponseV1 {
export type AsObject = {
- counts?: GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.AsObject,
+ data?: GetDocumentsResponse.GetDocumentsResponseV1.ResultData.AsObject,
proof?: Proof.AsObject,
metadata?: ResponseMetadata.AsObject,
}
+ export class Documents extends jspb.Message {
+ clearDocumentsList(): void;
+ getDocumentsList(): Array;
+ getDocumentsList_asU8(): Array;
+ getDocumentsList_asB64(): Array;
+ setDocumentsList(value: Array): void;
+ addDocuments(value: Uint8Array | string, index?: number): Uint8Array | string;
+
+ serializeBinary(): Uint8Array;
+ toObject(includeInstance?: boolean): Documents.AsObject;
+ static toObject(includeInstance: boolean, msg: Documents): Documents.AsObject;
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo};
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo};
+ static serializeBinaryToWriter(message: Documents, writer: jspb.BinaryWriter): void;
+ static deserializeBinary(bytes: Uint8Array): Documents;
+ static deserializeBinaryFromReader(message: Documents, reader: jspb.BinaryReader): Documents;
+ }
+
+ export namespace Documents {
+ export type AsObject = {
+ documentsList: Array,
+ }
+ }
+
export class CountEntry extends jspb.Message {
hasInKey(): boolean;
clearInKey(): void;
@@ -2606,9 +2629,9 @@ export namespace GetDocumentsCountResponse {
export class CountEntries extends jspb.Message {
clearEntriesList(): void;
- getEntriesList(): Array;
- setEntriesList(value: Array): void;
- addEntries(value?: GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry, index?: number): GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry;
+ getEntriesList(): Array;
+ setEntriesList(value: Array): void;
+ addEntries(value?: GetDocumentsResponse.GetDocumentsResponseV1.CountEntry, index?: number): GetDocumentsResponse.GetDocumentsResponseV1.CountEntry;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): CountEntries.AsObject;
@@ -2622,7 +2645,7 @@ export namespace GetDocumentsCountResponse {
export namespace CountEntries {
export type AsObject = {
- entriesList: Array,
+ entriesList: Array,
}
}
@@ -2634,8 +2657,8 @@ export namespace GetDocumentsCountResponse {
hasEntries(): boolean;
clearEntries(): void;
- getEntries(): GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries | undefined;
- setEntries(value?: GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries): void;
+ getEntries(): GetDocumentsResponse.GetDocumentsResponseV1.CountEntries | undefined;
+ setEntries(value?: GetDocumentsResponse.GetDocumentsResponseV1.CountEntries): void;
getVariantCase(): CountResults.VariantCase;
serializeBinary(): Uint8Array;
@@ -2651,7 +2674,7 @@ export namespace GetDocumentsCountResponse {
export namespace CountResults {
export type AsObject = {
aggregateCount: string,
- entries?: GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.AsObject,
+ entries?: GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.AsObject,
}
export enum VariantCase {
@@ -2661,9 +2684,44 @@ export namespace GetDocumentsCountResponse {
}
}
+ export class ResultData extends jspb.Message {
+ hasDocuments(): boolean;
+ clearDocuments(): void;
+ getDocuments(): GetDocumentsResponse.GetDocumentsResponseV1.Documents | undefined;
+ setDocuments(value?: GetDocumentsResponse.GetDocumentsResponseV1.Documents): void;
+
+ hasCounts(): boolean;
+ clearCounts(): void;
+ getCounts(): GetDocumentsResponse.GetDocumentsResponseV1.CountResults | undefined;
+ setCounts(value?: GetDocumentsResponse.GetDocumentsResponseV1.CountResults): void;
+
+ getVariantCase(): ResultData.VariantCase;
+ serializeBinary(): Uint8Array;
+ toObject(includeInstance?: boolean): ResultData.AsObject;
+ static toObject(includeInstance: boolean, msg: ResultData): ResultData.AsObject;
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo};
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo};
+ static serializeBinaryToWriter(message: ResultData, writer: jspb.BinaryWriter): void;
+ static deserializeBinary(bytes: Uint8Array): ResultData;
+ static deserializeBinaryFromReader(message: ResultData, reader: jspb.BinaryReader): ResultData;
+ }
+
+ export namespace ResultData {
+ export type AsObject = {
+ documents?: GetDocumentsResponse.GetDocumentsResponseV1.Documents.AsObject,
+ counts?: GetDocumentsResponse.GetDocumentsResponseV1.CountResults.AsObject,
+ }
+
+ export enum VariantCase {
+ VARIANT_NOT_SET = 0,
+ DOCUMENTS = 1,
+ COUNTS = 2,
+ }
+ }
+
export enum ResultCase {
RESULT_NOT_SET = 0,
- COUNTS = 1,
+ DATA = 1,
PROOF = 2,
}
}
@@ -2671,6 +2729,7 @@ export namespace GetDocumentsCountResponse {
export enum VersionCase {
VERSION_NOT_SET = 0,
V0 = 1,
+ V1 = 2,
}
}
diff --git a/packages/dapi-grpc/clients/platform/v0/web/platform_pb.js b/packages/dapi-grpc/clients/platform/v0/web/platform_pb.js
index d70c2e95669..7e9deb3b0c3 100644
--- a/packages/dapi-grpc/clients/platform/v0/web/platform_pb.js
+++ b/packages/dapi-grpc/clients/platform/v0/web/platform_pb.js
@@ -150,25 +150,26 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsResponse.Data
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsResponse.GetDataContractsResponseV0', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsResponse.GetDataContractsResponseV0.ResultCase', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsResponse.VersionCase', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.VersionCase', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.VariantCase', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ResultCase', null, { proto });
-goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.VersionCase', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.StartCase', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.StartCase', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.VersionCase', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.ResultCase', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.VariantCase', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultCase', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData', null, { proto });
+goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.VariantCase', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.VersionCase', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEpochsInfoRequest', null, { proto });
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetEpochsInfoRequest.GetEpochsInfoRequestV0', null, { proto });
@@ -2193,16 +2194,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1 = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.repeatedFields_, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.oneofGroups_);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse';
+ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2214,16 +2215,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0 = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2235,16 +2236,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.repeatedFields_, null);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0 = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2256,16 +2257,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.oneofGroups_);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.repeatedFields_, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2277,16 +2278,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0 = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1 = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.oneofGroups_);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2298,16 +2299,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.oneofGroups_);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.repeatedFields_, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2319,16 +2320,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0 = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.oneofGroups_);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2340,16 +2341,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.repeatedFields_, null);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2361,16 +2362,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.repeatedFields_, null);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.oneofGroups_);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults';
}
/**
* Generated by JsPbCodeGenerator.
@@ -2382,16 +2383,16 @@ if (goog.DEBUG && !COMPILED) {
* @extends {jspb.Message}
* @constructor
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults = function(opt_data) {
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.oneofGroups_);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData = function(opt_data) {
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_);
};
-goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults, jspb.Message);
+goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults';
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData';
}
/**
* Generated by JsPbCodeGenerator.
@@ -24092,14 +24093,15 @@ proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.hasV0 =
* @private {!Array>}
* @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsRequest.oneofGroups_ = [[1]];
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.oneofGroups_ = [[1,2]];
/**
* @enum {number}
*/
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.VersionCase = {
VERSION_NOT_SET: 0,
- V0: 1
+ V0: 1,
+ V1: 2
};
/**
@@ -24140,7 +24142,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.toObject = functio
*/
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
- v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.toObject(includeInstance, f)
+ v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.toObject(includeInstance, f),
+ v1: (f = msg.getV1()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.toObject(includeInstance, f)
};
if (includeInstance) {
@@ -24182,6 +24185,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.deserializeBinaryFromReader
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.deserializeBinaryFromReader);
msg.setV0(value);
break;
+ case 2:
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.deserializeBinaryFromReader);
+ msg.setV1(value);
+ break;
default:
reader.skipField();
break;
@@ -24219,6 +24227,14 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.serializeBinaryToWriter = fu
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.serializeBinaryToWriter
);
}
+ f = message.getV1();
+ if (f != null) {
+ writer.writeMessage(
+ 2,
+ f,
+ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.serializeBinaryToWriter
+ );
+ }
};
@@ -24744,43 +24760,13 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.protot
};
-/**
- * optional GetDocumentsRequestV0 v0 = 1;
- * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getV0 = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0, 1));
-};
-
-
-/**
- * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
-*/
-proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.setV0 = function(value) {
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.oneofGroups_[0], value);
-};
-
-
-/**
- * Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.clearV0 = function() {
- return this.setV0(undefined);
-};
-
/**
- * Returns whether this field is set.
- * @return {boolean}
+ * List of repeated fields within this message type.
+ * @private {!Array}
+ * @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.hasV0 = function() {
- return jspb.Message.getField(this, 1) != null;
-};
-
-
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.repeatedFields_ = [10];
/**
* Oneof group definitions for this message. Each group defines the field
@@ -24790,21 +24776,22 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.hasV0 = function()
* @private {!Array>}
* @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_ = [[1]];
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.oneofGroups_ = [[6,7]];
/**
* @enum {number}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.VersionCase = {
- VERSION_NOT_SET: 0,
- V0: 1
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.StartCase = {
+ START_NOT_SET: 0,
+ START_AFTER: 6,
+ START_AT: 7
};
/**
- * @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.VersionCase}
+ * @return {proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.StartCase}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getVersionCase = function() {
- return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_[0]));
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getStartCase = function() {
+ return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.StartCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.oneofGroups_[0]));
};
@@ -24822,8 +24809,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.toObject(opt_includeInstance, this);
};
@@ -24832,13 +24819,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.toObject = functi
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.toObject = function(includeInstance, msg) {
var f, obj = {
- v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.toObject(includeInstance, f)
+ dataContractId: msg.getDataContractId_asB64(),
+ documentType: jspb.Message.getFieldWithDefault(msg, 2, ""),
+ where: msg.getWhere_asB64(),
+ orderBy: msg.getOrderBy_asB64(),
+ limit: jspb.Message.getFieldWithDefault(msg, 5, 0),
+ startAfter: msg.getStartAfter_asB64(),
+ startAt: msg.getStartAt_asB64(),
+ prove: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
+ select: jspb.Message.getFieldWithDefault(msg, 9, 0),
+ groupByList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
+ having: msg.getHaving_asB64()
};
if (includeInstance) {
@@ -24852,23 +24849,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.toObject = function(include
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse;
- return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -24876,9 +24873,48 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader
var field = reader.getFieldNumber();
switch (field) {
case 1:
- var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.deserializeBinaryFromReader);
- msg.setV0(value);
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.setDataContractId(value);
+ break;
+ case 2:
+ var value = /** @type {string} */ (reader.readString());
+ msg.setDocumentType(value);
+ break;
+ case 3:
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.setWhere(value);
+ break;
+ case 4:
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.setOrderBy(value);
+ break;
+ case 5:
+ var value = /** @type {number} */ (reader.readUint32());
+ msg.setLimit(value);
+ break;
+ case 6:
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.setStartAfter(value);
+ break;
+ case 7:
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.setStartAt(value);
+ break;
+ case 8:
+ var value = /** @type {boolean} */ (reader.readBool());
+ msg.setProve(value);
+ break;
+ case 9:
+ var value = /** @type {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select} */ (reader.readEnum());
+ msg.setSelect(value);
+ break;
+ case 10:
+ var value = /** @type {string} */ (reader.readString());
+ msg.addGroupBy(value);
+ break;
+ case 11:
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.setHaving(value);
break;
default:
reader.skipField();
@@ -24893,9 +24929,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsResponse.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -24903,396 +24939,540 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.serializeBinary =
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
- f = message.getV0();
- if (f != null) {
- writer.writeMessage(
+ f = message.getDataContractId_asU8();
+ if (f.length > 0) {
+ writer.writeBytes(
1,
- f,
- proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.serializeBinaryToWriter
+ f
+ );
+ }
+ f = message.getDocumentType();
+ if (f.length > 0) {
+ writer.writeString(
+ 2,
+ f
+ );
+ }
+ f = message.getWhere_asU8();
+ if (f.length > 0) {
+ writer.writeBytes(
+ 3,
+ f
+ );
+ }
+ f = message.getOrderBy_asU8();
+ if (f.length > 0) {
+ writer.writeBytes(
+ 4,
+ f
+ );
+ }
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
+ if (f != null) {
+ writer.writeUint32(
+ 5,
+ f
+ );
+ }
+ f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 6));
+ if (f != null) {
+ writer.writeBytes(
+ 6,
+ f
+ );
+ }
+ f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 7));
+ if (f != null) {
+ writer.writeBytes(
+ 7,
+ f
+ );
+ }
+ f = message.getProve();
+ if (f) {
+ writer.writeBool(
+ 8,
+ f
+ );
+ }
+ f = message.getSelect();
+ if (f !== 0.0) {
+ writer.writeEnum(
+ 9,
+ f
+ );
+ }
+ f = message.getGroupByList();
+ if (f.length > 0) {
+ writer.writeRepeatedString(
+ 10,
+ f
+ );
+ }
+ f = message.getHaving_asU8();
+ if (f.length > 0) {
+ writer.writeBytes(
+ 11,
+ f
);
}
};
-
/**
- * Oneof group definitions for this message. Each group defines the field
- * numbers belonging to that group. When of these fields' value is set, all
- * other fields in the group are cleared. During deserialization, if multiple
- * fields are encountered for a group, only the last value seen will be kept.
- * @private {!Array>}
- * @const
+ * @enum {number}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_ = [[1,2]];
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select = {
+ DOCUMENTS: 0,
+ COUNT: 1
+};
/**
- * @enum {number}
+ * optional bytes data_contract_id = 1;
+ * @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.ResultCase = {
- RESULT_NOT_SET: 0,
- DOCUMENTS: 1,
- PROOF: 2
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getDataContractId = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
+
/**
- * @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.ResultCase}
+ * optional bytes data_contract_id = 1;
+ * This is a type-conversion wrapper around `getDataContractId()`
+ * @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.getResultCase = function() {
- return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_[0]));
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getDataContractId_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getDataContractId()));
};
-
-if (jspb.Message.GENERATE_TO_OBJECT) {
/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
+ * optional bytes data_contract_id = 1;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getDataContractId()`
+ * @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getDataContractId_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getDataContractId()));
};
/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.toObject = function(includeInstance, msg) {
- var f, obj = {
- documents: (f = msg.getDocuments()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.toObject(includeInstance, f),
- proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
- metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
- };
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setDataContractId = function(value) {
+ return jspb.Message.setProto3BytesField(this, 1, value);
+};
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
+
+/**
+ * optional string document_type = 2;
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getDocumentType = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
-}
/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0}
+ * @param {string} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0;
- return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.deserializeBinaryFromReader(msg, reader);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setDocumentType = function(value) {
+ return jspb.Message.setProto3StringField(this, 2, value);
};
/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0}
+ * optional bytes where = 3;
+ * @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.deserializeBinaryFromReader);
- msg.setDocuments(value);
- break;
- case 2:
- var value = new proto.org.dash.platform.dapi.v0.Proof;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
- msg.setProof(value);
- break;
- case 3:
- var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
- msg.setMetadata(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getWhere = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
- * Serializes the message to binary data (in protobuf wire format).
+ * optional bytes where = 3;
+ * This is a type-conversion wrapper around `getWhere()`
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getWhere_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getWhere()));
+};
+
+
+/**
+ * optional bytes where = 3;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getWhere()`
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getWhere_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getWhere()));
};
/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getDocuments();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.serializeBinaryToWriter
- );
- }
- f = message.getProof();
- if (f != null) {
- writer.writeMessage(
- 2,
- f,
- proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
- );
- }
- f = message.getMetadata();
- if (f != null) {
- writer.writeMessage(
- 3,
- f,
- proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
- );
- }
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setWhere = function(value) {
+ return jspb.Message.setProto3BytesField(this, 3, value);
};
+/**
+ * optional bytes order_by = 4;
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getOrderBy = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
+};
+
/**
- * List of repeated fields within this message type.
- * @private {!Array}
- * @const
+ * optional bytes order_by = 4;
+ * This is a type-conversion wrapper around `getOrderBy()`
+ * @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.repeatedFields_ = [1];
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getOrderBy_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getOrderBy()));
+};
+/**
+ * optional bytes order_by = 4;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getOrderBy()`
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getOrderBy_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getOrderBy()));
+};
+
-if (jspb.Message.GENERATE_TO_OBJECT) {
/**
- * Creates an object representation of this proto.
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
- * Optional fields that are not set will be set to undefined.
- * To access a reserved field use, foo.pb_, eg, foo.pb_default.
- * For the list of reserved names please see:
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
- * JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @return {!Object}
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setOrderBy = function(value) {
+ return jspb.Message.setProto3BytesField(this, 4, value);
};
/**
- * Static version of the {@see toObject} method.
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
- * the JSPB instance for transitional soy proto support:
- * http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} msg The msg instance to transform.
- * @return {!Object}
- * @suppress {unusedLocalVariables} f is only used for nested messages
+ * optional uint32 limit = 5;
+ * @return {number}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.toObject = function(includeInstance, msg) {
- var f, obj = {
- documentsList: msg.getDocumentsList_asB64()
- };
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getLimit = function() {
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
+};
- if (includeInstance) {
- obj.$jspbMessageInstance = msg;
- }
- return obj;
+
+/**
+ * @param {number} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setLimit = function(value) {
+ return jspb.Message.setField(this, 5, value);
+};
+
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.clearLimit = function() {
+ return jspb.Message.setField(this, 5, undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.hasLimit = function() {
+ return jspb.Message.getField(this, 5) != null;
+};
+
+
+/**
+ * optional bytes start_after = 6;
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getStartAfter = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
+};
+
+
+/**
+ * optional bytes start_after = 6;
+ * This is a type-conversion wrapper around `getStartAfter()`
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getStartAfter_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getStartAfter()));
+};
+
+
+/**
+ * optional bytes start_after = 6;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getStartAfter()`
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getStartAfter_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getStartAfter()));
+};
+
+
+/**
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setStartAfter = function(value) {
+ return jspb.Message.setOneofField(this, 6, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.oneofGroups_[0], value);
+};
+
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.clearStartAfter = function() {
+ return jspb.Message.setOneofField(this, 6, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.oneofGroups_[0], undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.hasStartAfter = function() {
+ return jspb.Message.getField(this, 6) != null;
+};
+
+
+/**
+ * optional bytes start_at = 7;
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getStartAt = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
+};
+
+
+/**
+ * optional bytes start_at = 7;
+ * This is a type-conversion wrapper around `getStartAt()`
+ * @return {string}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getStartAt_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getStartAt()));
+};
+
+
+/**
+ * optional bytes start_at = 7;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getStartAt()`
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getStartAt_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getStartAt()));
+};
+
+
+/**
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setStartAt = function(value) {
+ return jspb.Message.setOneofField(this, 7, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.oneofGroups_[0], value);
+};
+
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.clearStartAt = function() {
+ return jspb.Message.setOneofField(this, 7, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.oneofGroups_[0], undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.hasStartAt = function() {
+ return jspb.Message.getField(this, 7) != null;
+};
+
+
+/**
+ * optional bool prove = 8;
+ * @return {boolean}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getProve = function() {
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
+};
+
+
+/**
+ * @param {boolean} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setProve = function(value) {
+ return jspb.Message.setProto3BooleanField(this, 8, value);
};
-}
/**
- * Deserializes binary data (in protobuf wire format).
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents}
+ * optional Select select = 9;
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.deserializeBinary = function(bytes) {
- var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents;
- return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.deserializeBinaryFromReader(msg, reader);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getSelect = function() {
+ return /** @type {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
};
/**
- * Deserializes binary data (in protobuf wire format) from the
- * given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} msg The message object to deserialize into.
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents}
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.deserializeBinaryFromReader = function(msg, reader) {
- while (reader.nextField()) {
- if (reader.isEndGroup()) {
- break;
- }
- var field = reader.getFieldNumber();
- switch (field) {
- case 1:
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
- msg.addDocuments(value);
- break;
- default:
- reader.skipField();
- break;
- }
- }
- return msg;
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setSelect = function(value) {
+ return jspb.Message.setProto3EnumField(this, 9, value);
};
/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
+ * repeated string group_by = 10;
+ * @return {!Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getGroupByList = function() {
+ return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10));
};
/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
+ * @param {!Array} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getDocumentsList_asU8();
- if (f.length > 0) {
- writer.writeRepeatedBytes(
- 1,
- f
- );
- }
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setGroupByList = function(value) {
+ return jspb.Message.setField(this, 10, value || []);
};
/**
- * repeated bytes documents = 1;
- * @return {!Array}
+ * @param {string} value
+ * @param {number=} opt_index
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.getDocumentsList = function() {
- return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1));
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.addGroupBy = function(value, opt_index) {
+ return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
};
/**
- * repeated bytes documents = 1;
- * This is a type-conversion wrapper around `getDocumentsList()`
- * @return {!Array}
+ * Clears the list making it empty but non-null.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.getDocumentsList_asB64 = function() {
- return /** @type {!Array} */ (jspb.Message.bytesListAsB64(
- this.getDocumentsList()));
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.clearGroupByList = function() {
+ return this.setGroupByList([]);
};
/**
- * repeated bytes documents = 1;
- * Note that Uint8Array is not supported on all browsers.
- * @see http://caniuse.com/Uint8Array
- * This is a type-conversion wrapper around `getDocumentsList()`
- * @return {!Array}
+ * optional bytes having = 11;
+ * @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.getDocumentsList_asU8 = function() {
- return /** @type {!Array} */ (jspb.Message.bytesListAsU8(
- this.getDocumentsList()));
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getHaving = function() {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
};
/**
- * @param {!(Array|Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} returns this
+ * optional bytes having = 11;
+ * This is a type-conversion wrapper around `getHaving()`
+ * @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.setDocumentsList = function(value) {
- return jspb.Message.setField(this, 1, value || []);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getHaving_asB64 = function() {
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
+ this.getHaving()));
};
/**
- * @param {!(string|Uint8Array)} value
- * @param {number=} opt_index
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} returns this
+ * optional bytes having = 11;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getHaving()`
+ * @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.addDocuments = function(value, opt_index) {
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getHaving_asU8 = function() {
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+ this.getHaving()));
};
/**
- * Clears the list making it empty but non-null.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} returns this
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.clearDocumentsList = function() {
- return this.setDocumentsList([]);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setHaving = function(value) {
+ return jspb.Message.setProto3BytesField(this, 11, value);
};
/**
- * optional Documents documents = 1;
- * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents}
+ * optional GetDocumentsRequestV0 v0 = 1;
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.getDocuments = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents, 1));
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getV0 = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0, 1));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.setDocuments = function(value) {
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_[0], value);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.setV0 = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.clearDocuments = function() {
- return this.setDocuments(undefined);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.clearV0 = function() {
+ return this.setV0(undefined);
};
@@ -25300,36 +25480,36 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prot
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.hasDocuments = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.hasV0 = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
- * optional Proof proof = 2;
- * @return {?proto.org.dash.platform.dapi.v0.Proof}
+ * optional GetDocumentsRequestV1 v1 = 2;
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.getProof = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getV1 = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1, 2));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.setProof = function(value) {
- return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_[0], value);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.setV1 = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.clearProof = function() {
- return this.setProof(undefined);
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.clearV1 = function() {
+ return this.setV1(undefined);
};
@@ -25337,82 +25517,162 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prot
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.hasProof = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.hasV1 = function() {
return jspb.Message.getField(this, 2) != null;
};
+
/**
- * optional ResponseMetadata metadata = 3;
- * @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
+ * Oneof group definitions for this message. Each group defines the field
+ * numbers belonging to that group. When of these fields' value is set, all
+ * other fields in the group are cleared. During deserialization, if multiple
+ * fields are encountered for a group, only the last value seen will be kept.
+ * @private {!Array>}
+ * @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.getMetadata = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
-};
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_ = [[1,2]];
+/**
+ * @enum {number}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.VersionCase = {
+ VERSION_NOT_SET: 0,
+ V0: 1,
+ V1: 2
+};
/**
- * @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
-*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.setMetadata = function(value) {
- return jspb.Message.setWrapperField(this, 3, value);
+ * @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.VersionCase}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getVersionCase = function() {
+ return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_[0]));
};
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
/**
- * Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ * JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.clearMetadata = function() {
- return this.setMetadata(undefined);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.toObject(opt_includeInstance, this);
};
/**
- * Returns whether this field is set.
- * @return {boolean}
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ * the JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.hasMetadata = function() {
- return jspb.Message.getField(this, 3) != null;
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.toObject = function(includeInstance, msg) {
+ var f, obj = {
+ v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.toObject(includeInstance, f),
+ v1: (f = msg.getV1()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.toObject(includeInstance, f)
+ };
+
+ if (includeInstance) {
+ obj.$jspbMessageInstance = msg;
+ }
+ return obj;
};
+}
/**
- * optional GetDocumentsResponseV0 v0 = 1;
- * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0}
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getV0 = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0, 1));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinary = function(bytes) {
+ var reader = new jspb.BinaryReader(bytes);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader(msg, reader);
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
-*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.setV0 = function(value) {
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_[0], value);
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader = function(msg, reader) {
+ while (reader.nextField()) {
+ if (reader.isEndGroup()) {
+ break;
+ }
+ var field = reader.getFieldNumber();
+ switch (field) {
+ case 1:
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.deserializeBinaryFromReader);
+ msg.setV0(value);
+ break;
+ case 2:
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.deserializeBinaryFromReader);
+ msg.setV1(value);
+ break;
+ default:
+ reader.skipField();
+ break;
+ }
+ }
+ return msg;
};
/**
- * Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.clearV0 = function() {
- return this.setV0(undefined);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
};
/**
- * Returns whether this field is set.
- * @return {boolean}
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.hasV0 = function() {
- return jspb.Message.getField(this, 1) != null;
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
+ f = message.getV0();
+ if (f != null) {
+ writer.writeMessage(
+ 1,
+ f,
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.serializeBinaryToWriter
+ );
+ }
+ f = message.getV1();
+ if (f != null) {
+ writer.writeMessage(
+ 2,
+ f,
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.serializeBinaryToWriter
+ );
+ }
};
@@ -25425,21 +25685,22 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.hasV0 = function(
* @private {!Array>}
* @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.oneofGroups_ = [[1]];
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_ = [[1,2]];
/**
* @enum {number}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.VersionCase = {
- VERSION_NOT_SET: 0,
- V0: 1
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.ResultCase = {
+ RESULT_NOT_SET: 0,
+ DOCUMENTS: 1,
+ PROOF: 2
};
/**
- * @return {proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.VersionCase}
+ * @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.ResultCase}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.getVersionCase = function() {
- return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.oneofGroups_[0]));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.getResultCase = function() {
+ return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_[0]));
};
@@ -25457,8 +25718,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.toObject(opt_includeInstance, this);
};
@@ -25467,13 +25728,15 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.toObject = fu
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.toObject = function(includeInstance, msg) {
var f, obj = {
- v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.toObject(includeInstance, f)
+ documents: (f = msg.getDocuments()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.toObject(includeInstance, f),
+ proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
+ metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
};
if (includeInstance) {
@@ -25487,23 +25750,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.toObject = function(inc
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest;
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -25511,9 +25774,19 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.deserializeBinaryFromRe
var field = reader.getFieldNumber();
switch (field) {
case 1:
- var value = new proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.deserializeBinaryFromReader);
- msg.setV0(value);
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.deserializeBinaryFromReader);
+ msg.setDocuments(value);
+ break;
+ case 2:
+ var value = new proto.org.dash.platform.dapi.v0.Proof;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
+ msg.setProof(value);
+ break;
+ case 3:
+ var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
+ msg.setMetadata(value);
break;
default:
reader.skipField();
@@ -25528,9 +25801,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.deserializeBinaryFromRe
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -25538,24 +25811,47 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.serializeBina
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
- f = message.getV0();
+ f = message.getDocuments();
if (f != null) {
writer.writeMessage(
1,
f,
- proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.serializeBinaryToWriter
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.serializeBinaryToWriter
+ );
+ }
+ f = message.getProof();
+ if (f != null) {
+ writer.writeMessage(
+ 2,
+ f,
+ proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
+ );
+ }
+ f = message.getMetadata();
+ if (f != null) {
+ writer.writeMessage(
+ 3,
+ f,
+ proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
);
}
};
+/**
+ * List of repeated fields within this message type.
+ * @private {!Array}
+ * @const
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.repeatedFields_ = [1];
+
if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -25571,8 +25867,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.toObject(opt_includeInstance, this);
};
@@ -25581,19 +25877,13 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountReques
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.toObject = function(includeInstance, msg) {
var f, obj = {
- dataContractId: msg.getDataContractId_asB64(),
- documentType: jspb.Message.getFieldWithDefault(msg, 2, ""),
- where: msg.getWhere_asB64(),
- returnDistinctCountsInRange: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
- orderBy: msg.getOrderBy_asB64(),
- limit: jspb.Message.getFieldWithDefault(msg, 6, 0),
- prove: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
+ documentsList: msg.getDocumentsList_asB64()
};
if (includeInstance) {
@@ -25607,23 +25897,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountReques
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0;
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -25632,31 +25922,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountReques
switch (field) {
case 1:
var value = /** @type {!Uint8Array} */ (reader.readBytes());
- msg.setDataContractId(value);
- break;
- case 2:
- var value = /** @type {string} */ (reader.readString());
- msg.setDocumentType(value);
- break;
- case 3:
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
- msg.setWhere(value);
- break;
- case 4:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setReturnDistinctCountsInRange(value);
- break;
- case 5:
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
- msg.setOrderBy(value);
- break;
- case 6:
- var value = /** @type {number} */ (reader.readUint32());
- msg.setLimit(value);
- break;
- case 7:
- var value = /** @type {boolean} */ (reader.readBool());
- msg.setProve(value);
+ msg.addDocuments(value);
break;
default:
reader.skipField();
@@ -25671,9 +25937,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountReques
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -25681,305 +25947,182 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountReques
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
- f = message.getDataContractId_asU8();
- if (f.length > 0) {
- writer.writeBytes(
- 1,
- f
- );
- }
- f = message.getDocumentType();
- if (f.length > 0) {
- writer.writeString(
- 2,
- f
- );
- }
- f = message.getWhere_asU8();
- if (f.length > 0) {
- writer.writeBytes(
- 3,
- f
- );
- }
- f = message.getReturnDistinctCountsInRange();
- if (f) {
- writer.writeBool(
- 4,
- f
- );
- }
- f = message.getOrderBy_asU8();
- if (f.length > 0) {
- writer.writeBytes(
- 5,
- f
- );
- }
- f = /** @type {number} */ (jspb.Message.getField(message, 6));
- if (f != null) {
- writer.writeUint32(
- 6,
- f
- );
- }
- f = message.getProve();
- if (f) {
- writer.writeBool(
- 7,
- f
- );
- }
-};
-
-
-/**
- * optional bytes data_contract_id = 1;
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getDataContractId = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
-};
-
-
-/**
- * optional bytes data_contract_id = 1;
- * This is a type-conversion wrapper around `getDataContractId()`
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getDataContractId_asB64 = function() {
- return /** @type {string} */ (jspb.Message.bytesAsB64(
- this.getDataContractId()));
-};
-
-
-/**
- * optional bytes data_contract_id = 1;
- * Note that Uint8Array is not supported on all browsers.
- * @see http://caniuse.com/Uint8Array
- * This is a type-conversion wrapper around `getDataContractId()`
- * @return {!Uint8Array}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getDataContractId_asU8 = function() {
- return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
- this.getDataContractId()));
-};
-
-
-/**
- * @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} returns this
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.setDataContractId = function(value) {
- return jspb.Message.setProto3BytesField(this, 1, value);
-};
-
-
-/**
- * optional string document_type = 2;
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getDocumentType = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
-};
-
-
-/**
- * @param {string} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} returns this
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.setDocumentType = function(value) {
- return jspb.Message.setProto3StringField(this, 2, value);
-};
-
-
-/**
- * optional bytes where = 3;
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getWhere = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
-};
-
-
-/**
- * optional bytes where = 3;
- * This is a type-conversion wrapper around `getWhere()`
- * @return {string}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getWhere_asB64 = function() {
- return /** @type {string} */ (jspb.Message.bytesAsB64(
- this.getWhere()));
+ f = message.getDocumentsList_asU8();
+ if (f.length > 0) {
+ writer.writeRepeatedBytes(
+ 1,
+ f
+ );
+ }
};
/**
- * optional bytes where = 3;
- * Note that Uint8Array is not supported on all browsers.
- * @see http://caniuse.com/Uint8Array
- * This is a type-conversion wrapper around `getWhere()`
- * @return {!Uint8Array}
+ * repeated bytes documents = 1;
+ * @return {!Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getWhere_asU8 = function() {
- return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
- this.getWhere()));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.getDocumentsList = function() {
+ return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1));
};
/**
- * @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} returns this
+ * repeated bytes documents = 1;
+ * This is a type-conversion wrapper around `getDocumentsList()`
+ * @return {!Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.setWhere = function(value) {
- return jspb.Message.setProto3BytesField(this, 3, value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.getDocumentsList_asB64 = function() {
+ return /** @type {!Array} */ (jspb.Message.bytesListAsB64(
+ this.getDocumentsList()));
};
/**
- * optional bool return_distinct_counts_in_range = 4;
- * @return {boolean}
+ * repeated bytes documents = 1;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getDocumentsList()`
+ * @return {!Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getReturnDistinctCountsInRange = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.getDocumentsList_asU8 = function() {
+ return /** @type {!Array} */ (jspb.Message.bytesListAsU8(
+ this.getDocumentsList()));
};
/**
- * @param {boolean} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} returns this
+ * @param {!(Array|Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.setReturnDistinctCountsInRange = function(value) {
- return jspb.Message.setProto3BooleanField(this, 4, value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.setDocumentsList = function(value) {
+ return jspb.Message.setField(this, 1, value || []);
};
/**
- * optional bytes order_by = 5;
- * @return {string}
+ * @param {!(string|Uint8Array)} value
+ * @param {number=} opt_index
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getOrderBy = function() {
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.addDocuments = function(value, opt_index) {
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
- * optional bytes order_by = 5;
- * This is a type-conversion wrapper around `getOrderBy()`
- * @return {string}
+ * Clears the list making it empty but non-null.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getOrderBy_asB64 = function() {
- return /** @type {string} */ (jspb.Message.bytesAsB64(
- this.getOrderBy()));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents.prototype.clearDocumentsList = function() {
+ return this.setDocumentsList([]);
};
/**
- * optional bytes order_by = 5;
- * Note that Uint8Array is not supported on all browsers.
- * @see http://caniuse.com/Uint8Array
- * This is a type-conversion wrapper around `getOrderBy()`
- * @return {!Uint8Array}
+ * optional Documents documents = 1;
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getOrderBy_asU8 = function() {
- return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
- this.getOrderBy()));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.getDocuments = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents, 1));
};
/**
- * @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} returns this
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.setOrderBy = function(value) {
- return jspb.Message.setProto3BytesField(this, 5, value);
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.Documents|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
+*/
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.setDocuments = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_[0], value);
};
/**
- * optional uint32 limit = 6;
- * @return {number}
+ * Clears the message field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getLimit = function() {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.clearDocuments = function() {
+ return this.setDocuments(undefined);
};
/**
- * @param {number} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} returns this
+ * Returns whether this field is set.
+ * @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.setLimit = function(value) {
- return jspb.Message.setField(this, 6, value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.hasDocuments = function() {
+ return jspb.Message.getField(this, 1) != null;
};
/**
- * Clears the field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} returns this
+ * optional Proof proof = 2;
+ * @return {?proto.org.dash.platform.dapi.v0.Proof}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.clearLimit = function() {
- return jspb.Message.setField(this, 6, undefined);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.getProof = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
};
/**
- * Returns whether this field is set.
- * @return {boolean}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.hasLimit = function() {
- return jspb.Message.getField(this, 6) != null;
+ * @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
+*/
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.setProof = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.oneofGroups_[0], value);
};
/**
- * optional bool prove = 7;
- * @return {boolean}
+ * Clears the message field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.getProve = function() {
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.clearProof = function() {
+ return this.setProof(undefined);
};
/**
- * @param {boolean} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} returns this
+ * Returns whether this field is set.
+ * @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0.prototype.setProve = function(value) {
- return jspb.Message.setProto3BooleanField(this, 7, value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.hasProof = function() {
+ return jspb.Message.getField(this, 2) != null;
};
/**
- * optional GetDocumentsCountRequestV0 v0 = 1;
- * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0}
+ * optional ResponseMetadata metadata = 3;
+ * @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.getV0 = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0, 1));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.getMetadata = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.GetDocumentsCountRequestV0|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.setV0 = function(value) {
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.oneofGroups_[0], value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.setMetadata = function(value) {
+ return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.clearV0 = function() {
- return this.setV0(undefined);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.clearMetadata = function() {
+ return this.setMetadata(undefined);
};
@@ -25987,8 +26130,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.clearV0 = fun
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.hasV0 = function() {
- return jspb.Message.getField(this, 1) != null;
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0.prototype.hasMetadata = function() {
+ return jspb.Message.getField(this, 3) != null;
};
@@ -26001,21 +26144,22 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountRequest.prototype.hasV0 = funct
* @private {!Array>}
* @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.oneofGroups_ = [[1]];
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.oneofGroups_ = [[1,2]];
/**
* @enum {number}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.VersionCase = {
- VERSION_NOT_SET: 0,
- V0: 1
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultCase = {
+ RESULT_NOT_SET: 0,
+ DATA: 1,
+ PROOF: 2
};
/**
- * @return {proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.VersionCase}
+ * @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultCase}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.getVersionCase = function() {
- return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.oneofGroups_[0]));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.getResultCase = function() {
+ return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.oneofGroups_[0]));
};
@@ -26033,8 +26177,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.toObject(opt_includeInstance, this);
};
@@ -26043,13 +26187,15 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.toObject = f
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.toObject = function(includeInstance, msg) {
var f, obj = {
- v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.toObject(includeInstance, f)
+ data: (f = msg.getData()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.toObject(includeInstance, f),
+ proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
+ metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
};
if (includeInstance) {
@@ -26063,23 +26209,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.toObject = function(in
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse;
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -26087,9 +26233,19 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.deserializeBinaryFromR
var field = reader.getFieldNumber();
switch (field) {
case 1:
- var value = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.deserializeBinaryFromReader);
- msg.setV0(value);
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.deserializeBinaryFromReader);
+ msg.setData(value);
+ break;
+ case 2:
+ var value = new proto.org.dash.platform.dapi.v0.Proof;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
+ msg.setProof(value);
+ break;
+ case 3:
+ var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
+ msg.setMetadata(value);
break;
default:
reader.skipField();
@@ -26104,9 +26260,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.deserializeBinaryFromR
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -26114,18 +26270,34 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.serializeBin
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
- f = message.getV0();
+ f = message.getData();
if (f != null) {
writer.writeMessage(
1,
f,
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.serializeBinaryToWriter
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.serializeBinaryToWriter
+ );
+ }
+ f = message.getProof();
+ if (f != null) {
+ writer.writeMessage(
+ 2,
+ f,
+ proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
+ );
+ }
+ f = message.getMetadata();
+ if (f != null) {
+ writer.writeMessage(
+ 3,
+ f,
+ proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
);
}
};
@@ -26133,30 +26305,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.serializeBinaryToWrite
/**
- * Oneof group definitions for this message. Each group defines the field
- * numbers belonging to that group. When of these fields' value is set, all
- * other fields in the group are cleared. During deserialization, if multiple
- * fields are encountered for a group, only the last value seen will be kept.
- * @private {!Array>}
+ * List of repeated fields within this message type.
+ * @private {!Array}
* @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.oneofGroups_ = [[1,2]];
-
-/**
- * @enum {number}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ResultCase = {
- RESULT_NOT_SET: 0,
- COUNTS: 1,
- PROOF: 2
-};
-
-/**
- * @return {proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ResultCase}
- */
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.getResultCase = function() {
- return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.oneofGroups_[0]));
-};
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.repeatedFields_ = [1];
@@ -26173,8 +26326,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.toObject(opt_includeInstance, this);
};
@@ -26183,15 +26336,13 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.toObject = function(includeInstance, msg) {
var f, obj = {
- counts: (f = msg.getCounts()) && proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.toObject(includeInstance, f),
- proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
- metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
+ documentsList: msg.getDocumentsList_asB64()
};
if (includeInstance) {
@@ -26205,23 +26356,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0;
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -26229,19 +26380,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
var field = reader.getFieldNumber();
switch (field) {
case 1:
- var value = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.deserializeBinaryFromReader);
- msg.setCounts(value);
- break;
- case 2:
- var value = new proto.org.dash.platform.dapi.v0.Proof;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
- msg.setProof(value);
- break;
- case 3:
- var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
- msg.setMetadata(value);
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
+ msg.addDocuments(value);
break;
default:
reader.skipField();
@@ -26253,49 +26393,93 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
- * Serializes the message to binary data (in protobuf wire format).
- * @return {!Uint8Array}
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
+ f = message.getDocumentsList_asU8();
+ if (f.length > 0) {
+ writer.writeRepeatedBytes(
+ 1,
+ f
+ );
+ }
+};
+
+
+/**
+ * repeated bytes documents = 1;
+ * @return {!Array}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.prototype.getDocumentsList = function() {
+ return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1));
+};
+
+
+/**
+ * repeated bytes documents = 1;
+ * This is a type-conversion wrapper around `getDocumentsList()`
+ * @return {!Array}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.prototype.getDocumentsList_asB64 = function() {
+ return /** @type {!Array} */ (jspb.Message.bytesListAsB64(
+ this.getDocumentsList()));
+};
+
+
+/**
+ * repeated bytes documents = 1;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getDocumentsList()`
+ * @return {!Array}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.prototype.getDocumentsList_asU8 = function() {
+ return /** @type {!Array} */ (jspb.Message.bytesListAsU8(
+ this.getDocumentsList()));
+};
+
+
+/**
+ * @param {!(Array|Array)} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.prototype.setDocumentsList = function(value) {
+ return jspb.Message.setField(this, 1, value || []);
+};
+
+
+/**
+ * @param {!(string|Uint8Array)} value
+ * @param {number=} opt_index
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.serializeBinary = function() {
- var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.serializeBinaryToWriter(this, writer);
- return writer.getResultBuffer();
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.prototype.addDocuments = function(value, opt_index) {
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
- * Serializes the given message to binary data (in protobuf wire
- * format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} message
- * @param {!jspb.BinaryWriter} writer
- * @suppress {unusedLocalVariables} f is only used for nested messages
+ * Clears the list making it empty but non-null.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.serializeBinaryToWriter = function(message, writer) {
- var f = undefined;
- f = message.getCounts();
- if (f != null) {
- writer.writeMessage(
- 1,
- f,
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.serializeBinaryToWriter
- );
- }
- f = message.getProof();
- if (f != null) {
- writer.writeMessage(
- 2,
- f,
- proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
- );
- }
- f = message.getMetadata();
- if (f != null) {
- writer.writeMessage(
- 3,
- f,
- proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
- );
- }
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.prototype.clearDocumentsList = function() {
+ return this.setDocumentsList([]);
};
@@ -26315,8 +26499,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.toObject(opt_includeInstance, this);
};
@@ -26325,11 +26509,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.toObject = function(includeInstance, msg) {
var f, obj = {
inKey: msg.getInKey_asB64(),
key: msg.getKey_asB64(),
@@ -26347,23 +26531,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry;
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -26395,9 +26579,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -26405,11 +26589,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 1));
if (f != null) {
@@ -26439,7 +26623,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* optional bytes in_key = 1;
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.getInKey = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.getInKey = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
@@ -26449,7 +26633,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* This is a type-conversion wrapper around `getInKey()`
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.getInKey_asB64 = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.getInKey_asB64 = function() {
return /** @type {string} */ (jspb.Message.bytesAsB64(
this.getInKey()));
};
@@ -26462,7 +26646,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* This is a type-conversion wrapper around `getInKey()`
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.getInKey_asU8 = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.getInKey_asU8 = function() {
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
this.getInKey()));
};
@@ -26470,18 +26654,18 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.setInKey = function(value) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.setInKey = function(value) {
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.clearInKey = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.clearInKey = function() {
return jspb.Message.setField(this, 1, undefined);
};
@@ -26490,7 +26674,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.hasInKey = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.hasInKey = function() {
return jspb.Message.getField(this, 1) != null;
};
@@ -26499,7 +26683,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* optional bytes key = 2;
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.getKey = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.getKey = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
@@ -26509,7 +26693,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* This is a type-conversion wrapper around `getKey()`
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.getKey_asB64 = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.getKey_asB64 = function() {
return /** @type {string} */ (jspb.Message.bytesAsB64(
this.getKey()));
};
@@ -26522,7 +26706,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* This is a type-conversion wrapper around `getKey()`
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.getKey_asU8 = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.getKey_asU8 = function() {
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
this.getKey()));
};
@@ -26530,9 +26714,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* @param {!(string|Uint8Array)} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.setKey = function(value) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.setKey = function(value) {
return jspb.Message.setProto3BytesField(this, 2, value);
};
@@ -26541,16 +26725,16 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* optional uint64 count = 3;
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.getCount = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.getCount = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "0"));
};
/**
* @param {string} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.prototype.setCount = function(value) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.prototype.setCount = function(value) {
return jspb.Message.setProto3StringIntField(this, 3, value);
};
@@ -26561,7 +26745,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* @private {!Array}
* @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.repeatedFields_ = [1];
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.repeatedFields_ = [1];
@@ -26578,8 +26762,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.toObject(opt_includeInstance, this);
};
@@ -26588,14 +26772,14 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.toObject = function(includeInstance, msg) {
var f, obj = {
entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.toObject, includeInstance)
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.toObject, includeInstance)
};
if (includeInstance) {
@@ -26609,23 +26793,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries;
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -26633,8 +26817,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
var field = reader.getFieldNumber();
switch (field) {
case 1:
- var value = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.deserializeBinaryFromReader);
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.deserializeBinaryFromReader);
msg.addEntries(value);
break;
default:
@@ -26650,9 +26834,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -26660,18 +26844,18 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getEntriesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
1,
f,
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry.serializeBinaryToWriter
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry.serializeBinaryToWriter
);
}
};
@@ -26679,38 +26863,38 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* repeated CountEntry entries = 1;
- * @return {!Array}
+ * @return {!Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.prototype.getEntriesList = function() {
- return /** @type{!Array} */ (
- jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry, 1));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.prototype.getEntriesList = function() {
+ return /** @type{!Array} */ (
+ jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry, 1));
};
/**
- * @param {!Array} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} returns this
+ * @param {!Array} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.prototype.setEntriesList = function(value) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.prototype.setEntriesList = function(value) {
return jspb.Message.setRepeatedWrapperField(this, 1, value);
};
/**
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry=} opt_value
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry=} opt_value
* @param {number=} opt_index
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.prototype.addEntries = function(opt_value, opt_index) {
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntry, opt_index);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.prototype.addEntries = function(opt_value, opt_index) {
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry, opt_index);
};
/**
* Clears the list making it empty but non-null.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.prototype.clearEntriesList = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.prototype.clearEntriesList = function() {
return this.setEntriesList([]);
};
@@ -26724,22 +26908,22 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* @private {!Array>}
* @const
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.oneofGroups_ = [[1,2]];
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.oneofGroups_ = [[1,2]];
/**
* @enum {number}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.VariantCase = {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.VariantCase = {
VARIANT_NOT_SET: 0,
AGGREGATE_COUNT: 1,
ENTRIES: 2
};
/**
- * @return {proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.VariantCase}
+ * @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.VariantCase}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.getVariantCase = function() {
- return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.VariantCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.oneofGroups_[0]));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.getVariantCase = function() {
+ return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.VariantCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.oneofGroups_[0]));
};
@@ -26757,8 +26941,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
* http://goto/soy-param-migration
* @return {!Object}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.toObject = function(opt_includeInstance) {
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.toObject(opt_includeInstance, this);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.toObject(opt_includeInstance, this);
};
@@ -26767,14 +26951,14 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} msg The msg instance to transform.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.toObject = function(includeInstance, msg) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.toObject = function(includeInstance, msg) {
var f, obj = {
aggregateCount: jspb.Message.getFieldWithDefault(msg, 1, "0"),
- entries: (f = msg.getEntries()) && proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.toObject(includeInstance, f)
+ entries: (f = msg.getEntries()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.toObject(includeInstance, f)
};
if (includeInstance) {
@@ -26788,23 +26972,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.deserializeBinary = function(bytes) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
- var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults;
- return proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.deserializeBinaryFromReader(msg, reader);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} msg The message object to deserialize into.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults}
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.deserializeBinaryFromReader = function(msg, reader) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
@@ -26816,8 +27000,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
msg.setAggregateCount(value);
break;
case 2:
- var value = new proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries;
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.deserializeBinaryFromReader);
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.deserializeBinaryFromReader);
msg.setEntries(value);
break;
default:
@@ -26833,9 +27017,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.serializeBinary = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.serializeBinaryToWriter(this, writer);
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
@@ -26843,11 +27027,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
- * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} message
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.serializeBinaryToWriter = function(message, writer) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
@@ -26861,7 +27045,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
writer.writeMessage(
2,
f,
- proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries.serializeBinaryToWriter
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.serializeBinaryToWriter
);
}
};
@@ -26871,26 +27055,26 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* optional uint64 aggregate_count = 1;
* @return {string}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.getAggregateCount = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.getAggregateCount = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
};
/**
* @param {string} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.setAggregateCount = function(value) {
- return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.oneofGroups_[0], value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.setAggregateCount = function(value) {
+ return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.oneofGroups_[0], value);
};
/**
* Clears the field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.clearAggregateCount = function() {
- return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.oneofGroups_[0], undefined);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.clearAggregateCount = function() {
+ return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.oneofGroups_[0], undefined);
};
@@ -26898,35 +27082,35 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.hasAggregateCount = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.hasAggregateCount = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional CountEntries entries = 2;
- * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries}
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.getEntries = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries, 2));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.getEntries = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries, 2));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountEntries|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.setEntries = function(value) {
- return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.oneofGroups_[0], value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.setEntries = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.clearEntries = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.clearEntries = function() {
return this.setEntries(undefined);
};
@@ -26935,35 +27119,226 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults.prototype.hasEntries = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.prototype.hasEntries = function() {
return jspb.Message.getField(this, 2) != null;
};
+
+/**
+ * Oneof group definitions for this message. Each group defines the field
+ * numbers belonging to that group. When of these fields' value is set, all
+ * other fields in the group are cleared. During deserialization, if multiple
+ * fields are encountered for a group, only the last value seen will be kept.
+ * @private {!Array>}
+ * @const
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_ = [[1,2]];
+
+/**
+ * @enum {number}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.VariantCase = {
+ VARIANT_NOT_SET: 0,
+ DOCUMENTS: 1,
+ COUNTS: 2
+};
+
+/**
+ * @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.VariantCase}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.getVariantCase = function() {
+ return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.VariantCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_[0]));
+};
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ * JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.toObject = function(opt_includeInstance) {
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ * the JSPB instance for transitional soy proto support:
+ * http://goto/soy-param-migration
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.toObject = function(includeInstance, msg) {
+ var f, obj = {
+ documents: (f = msg.getDocuments()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.toObject(includeInstance, f),
+ counts: (f = msg.getCounts()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.toObject(includeInstance, f)
+ };
+
+ if (includeInstance) {
+ obj.$jspbMessageInstance = msg;
+ }
+ return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.deserializeBinary = function(bytes) {
+ var reader = new jspb.BinaryReader(bytes);
+ var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData;
+ return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.deserializeBinaryFromReader = function(msg, reader) {
+ while (reader.nextField()) {
+ if (reader.isEndGroup()) {
+ break;
+ }
+ var field = reader.getFieldNumber();
+ switch (field) {
+ case 1:
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.deserializeBinaryFromReader);
+ msg.setDocuments(value);
+ break;
+ case 2:
+ var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults;
+ reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.deserializeBinaryFromReader);
+ msg.setCounts(value);
+ break;
+ default:
+ reader.skipField();
+ break;
+ }
+ }
+ return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.serializeBinary = function() {
+ var writer = new jspb.BinaryWriter();
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.serializeBinaryToWriter(this, writer);
+ return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.serializeBinaryToWriter = function(message, writer) {
+ var f = undefined;
+ f = message.getDocuments();
+ if (f != null) {
+ writer.writeMessage(
+ 1,
+ f,
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.serializeBinaryToWriter
+ );
+ }
+ f = message.getCounts();
+ if (f != null) {
+ writer.writeMessage(
+ 2,
+ f,
+ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.serializeBinaryToWriter
+ );
+ }
+};
+
+
+/**
+ * optional Documents documents = 1;
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.getDocuments = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents, 1));
+};
+
+
+/**
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} returns this
+*/
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.setDocuments = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_[0], value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.clearDocuments = function() {
+ return this.setDocuments(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.hasDocuments = function() {
+ return jspb.Message.getField(this, 1) != null;
+};
+
+
/**
- * optional CountResults counts = 1;
- * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults}
+ * optional CountResults counts = 2;
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.getCounts = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults, 1));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.getCounts = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults, 2));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.CountResults|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.setCounts = function(value) {
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.oneofGroups_[0], value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.setCounts = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.clearCounts = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.clearCounts = function() {
return this.setCounts(undefined);
};
@@ -26972,7 +27347,44 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.hasCounts = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.hasCounts = function() {
+ return jspb.Message.getField(this, 2) != null;
+};
+
+
+/**
+ * optional ResultData data = 1;
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.getData = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData, 1));
+};
+
+
+/**
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} returns this
+*/
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.setData = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.oneofGroups_[0], value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.clearData = function() {
+ return this.setData(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.hasData = function() {
return jspb.Message.getField(this, 1) != null;
};
@@ -26981,7 +27393,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* optional Proof proof = 2;
* @return {?proto.org.dash.platform.dapi.v0.Proof}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.getProof = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.getProof = function() {
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
};
@@ -26989,18 +27401,18 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.setProof = function(value) {
- return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.oneofGroups_[0], value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.setProof = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.clearProof = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.clearProof = function() {
return this.setProof(undefined);
};
@@ -27009,7 +27421,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.hasProof = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.hasProof = function() {
return jspb.Message.getField(this, 2) != null;
};
@@ -27018,7 +27430,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* optional ResponseMetadata metadata = 3;
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.getMetadata = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.getMetadata = function() {
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
};
@@ -27026,18 +27438,18 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
/**
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.setMetadata = function(value) {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.setMetadata = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.clearMetadata = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.clearMetadata = function() {
return this.setMetadata(undefined);
};
@@ -27046,35 +27458,35 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountRespo
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0.prototype.hasMetadata = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.prototype.hasMetadata = function() {
return jspb.Message.getField(this, 3) != null;
};
/**
- * optional GetDocumentsCountResponseV0 v0 = 1;
- * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0}
+ * optional GetDocumentsResponseV0 v0 = 1;
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.getV0 = function() {
- return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0} */ (
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0, 1));
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getV0 = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0, 1));
};
/**
- * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.GetDocumentsCountResponseV0|undefined} value
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse} returns this
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV0|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.setV0 = function(value) {
- return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.oneofGroups_[0], value);
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.setV0 = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_[0], value);
};
/**
* Clears the message field making it undefined.
- * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse} returns this
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.clearV0 = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.clearV0 = function() {
return this.setV0(undefined);
};
@@ -27083,11 +27495,48 @@ proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.clearV0 = fu
* Returns whether this field is set.
* @return {boolean}
*/
-proto.org.dash.platform.dapi.v0.GetDocumentsCountResponse.prototype.hasV0 = function() {
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.hasV0 = function() {
return jspb.Message.getField(this, 1) != null;
};
+/**
+ * optional GetDocumentsResponseV1 v1 = 2;
+ * @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getV1 = function() {
+ return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1} */ (
+ jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1, 2));
+};
+
+
+/**
+ * @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1|undefined} value
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
+*/
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.setV1 = function(value) {
+ return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_[0], value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.clearV1 = function() {
+ return this.setV1(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.hasV1 = function() {
+ return jspb.Message.getField(this, 2) != null;
+};
+
+
/**
* Oneof group definitions for this message. Each group defines the field
diff --git a/packages/dapi-grpc/clients/platform/v0/web/platform_pb_service.d.ts b/packages/dapi-grpc/clients/platform/v0/web/platform_pb_service.d.ts
index c693f69285a..589095161be 100644
--- a/packages/dapi-grpc/clients/platform/v0/web/platform_pb_service.d.ts
+++ b/packages/dapi-grpc/clients/platform/v0/web/platform_pb_service.d.ts
@@ -139,15 +139,6 @@ type PlatformgetDocuments = {
readonly responseType: typeof platform_pb.GetDocumentsResponse;
};
-type PlatformgetDocumentsCount = {
- readonly methodName: string;
- readonly service: typeof Platform;
- readonly requestStream: false;
- readonly responseStream: false;
- readonly requestType: typeof platform_pb.GetDocumentsCountRequest;
- readonly responseType: typeof platform_pb.GetDocumentsCountResponse;
-};
-
type PlatformgetIdentityByPublicKeyHash = {
readonly methodName: string;
readonly service: typeof Platform;
@@ -588,7 +579,6 @@ export class Platform {
static readonly getDataContractHistory: PlatformgetDataContractHistory;
static readonly getDataContracts: PlatformgetDataContracts;
static readonly getDocuments: PlatformgetDocuments;
- static readonly getDocumentsCount: PlatformgetDocumentsCount;
static readonly getIdentityByPublicKeyHash: PlatformgetIdentityByPublicKeyHash;
static readonly getIdentityByNonUniquePublicKeyHash: PlatformgetIdentityByNonUniquePublicKeyHash;
static readonly waitForStateTransitionResult: PlatformwaitForStateTransitionResult;
@@ -805,15 +795,6 @@ export class PlatformClient {
requestMessage: platform_pb.GetDocumentsRequest,
callback: (error: ServiceError|null, responseMessage: platform_pb.GetDocumentsResponse|null) => void
): UnaryResponse;
- getDocumentsCount(
- requestMessage: platform_pb.GetDocumentsCountRequest,
- metadata: grpc.Metadata,
- callback: (error: ServiceError|null, responseMessage: platform_pb.GetDocumentsCountResponse|null) => void
- ): UnaryResponse;
- getDocumentsCount(
- requestMessage: platform_pb.GetDocumentsCountRequest,
- callback: (error: ServiceError|null, responseMessage: platform_pb.GetDocumentsCountResponse|null) => void
- ): UnaryResponse;
getIdentityByPublicKeyHash(
requestMessage: platform_pb.GetIdentityByPublicKeyHashRequest,
metadata: grpc.Metadata,
diff --git a/packages/dapi-grpc/clients/platform/v0/web/platform_pb_service.js b/packages/dapi-grpc/clients/platform/v0/web/platform_pb_service.js
index b59c679c8df..e7d245b66a6 100644
--- a/packages/dapi-grpc/clients/platform/v0/web/platform_pb_service.js
+++ b/packages/dapi-grpc/clients/platform/v0/web/platform_pb_service.js
@@ -145,15 +145,6 @@ Platform.getDocuments = {
responseType: platform_pb.GetDocumentsResponse
};
-Platform.getDocumentsCount = {
- methodName: "getDocumentsCount",
- service: Platform,
- requestStream: false,
- responseStream: false,
- requestType: platform_pb.GetDocumentsCountRequest,
- responseType: platform_pb.GetDocumentsCountResponse
-};
-
Platform.getIdentityByPublicKeyHash = {
methodName: "getIdentityByPublicKeyHash",
service: Platform,
@@ -1049,37 +1040,6 @@ PlatformClient.prototype.getDocuments = function getDocuments(requestMessage, me
};
};
-PlatformClient.prototype.getDocumentsCount = function getDocumentsCount(requestMessage, metadata, callback) {
- if (arguments.length === 2) {
- callback = arguments[1];
- }
- var client = grpc.unary(Platform.getDocumentsCount, {
- request: requestMessage,
- host: this.serviceHost,
- metadata: metadata,
- transport: this.options.transport,
- debug: this.options.debug,
- onEnd: function (response) {
- if (callback) {
- if (response.status !== grpc.Code.OK) {
- var err = new Error(response.statusMessage);
- err.code = response.status;
- err.metadata = response.trailers;
- callback(err, null);
- } else {
- callback(null, response.message);
- }
- }
- }
- });
- return {
- cancel: function () {
- callback = null;
- client.close();
- }
- };
-};
-
PlatformClient.prototype.getIdentityByPublicKeyHash = function getIdentityByPublicKeyHash(requestMessage, metadata, callback) {
if (arguments.length === 2) {
callback = arguments[1];
diff --git a/packages/dapi-grpc/protos/platform/v0/platform.proto b/packages/dapi-grpc/protos/platform/v0/platform.proto
index 14dd5bae289..e1c0564a280 100644
--- a/packages/dapi-grpc/protos/platform/v0/platform.proto
+++ b/packages/dapi-grpc/protos/platform/v0/platform.proto
@@ -36,8 +36,6 @@ service Platform {
rpc getDataContracts(GetDataContractsRequest)
returns (GetDataContractsResponse);
rpc getDocuments(GetDocumentsRequest) returns (GetDocumentsResponse);
- rpc getDocumentsCount(GetDocumentsCountRequest)
- returns (GetDocumentsCountResponse);
rpc getIdentityByPublicKeyHash(GetIdentityByPublicKeyHashRequest)
returns (GetIdentityByPublicKeyHashResponse);
rpc getIdentityByNonUniquePublicKeyHash(
@@ -594,7 +592,182 @@ message GetDocumentsRequest {
}
bool prove = 8; // Flag to request a proof as the response
}
- oneof version { GetDocumentsRequestV0 v0 = 1; }
+
+ // SQL-shaped successor to v0 that unifies `getDocuments` and
+ // `getDocumentsCount` under a single request type with a typed
+ // `select` projection and optional `group_by` / `having` clauses.
+ //
+ // Mode is determined by `select` × `group_by` × `having`:
+ //
+ // * `select = DOCUMENTS, group_by = []`: return matched documents
+ // (identical semantics to v0).
+ // * `select = COUNT, group_by = []`: return a single aggregate
+ // count. With an `In` clause the server fans out per-In via
+ // `query_aggregate_count` and sums (O(|In| × log n), see
+ // `RangeNoProof`'s compound-summed path); with a range clause
+ // it uses `AggregateCountOnRange`.
+ // * `select = COUNT, group_by = []`: return per-group
+ // `CountEntry` rows. Only supported when the grouping field
+ // matches an `In`-constrained or range-constrained where clause;
+ // other shapes return `Unsupported` (see Phase 1 notes below).
+ //
+ // `having` is wire-reserved for Phase 2. Any non-empty `having`
+ // value returns `Unsupported("HAVING clause is not yet
+ // implemented")` regardless of `select` / `group_by`.
+ //
+ // **Phase 1 supported shapes** (everything else rejects with a
+ // typed `QuerySyntaxError::Unsupported` so callers can detect
+ // un-wired capabilities without parsing prose). Bullets are
+ // kept single-line so the generated Rust doc comments don't trip
+ // rustdoc's `list_item_without_indent` lint on continuation
+ // lines.
+ //
+ // `select=DOCUMENTS, group_by=[]`: any where shape v0 supports.
+ //
+ // `select=COUNT, group_by=[]`:
+ // - empty where → `documentsCountable: true` doctype.
+ // - `==` only → `countable: true` index covering the fields.
+ // - one `In` → `countable: true` index covering the fields (per-In aggregate fan-out).
+ // - one range → `rangeCountable: true` index.
+ // - one `In` + one range → `rangeCountable: true` compound index (per-In aggregate fan-out on no-proof; rejected on prove because the aggregate proof primitive can't fork).
+ //
+ // `select=COUNT, group_by=[g]`:
+ // - g is the In clause's field → `countable: true` index, grouped by g (PerInValue on no-proof, CountTree element proof per In branch on prove).
+ // - g is the range clause's field → `rangeCountable: true` index, grouped by g (RangeDistinct on no-proof, distinct range proof on prove).
+ //
+ // `select=COUNT, group_by=[a, b]`:
+ // - a is the In field AND b is the range field, in that order → existing compound distinct shape; entries carry both `in_key` (= a's value) and `key` (= b's value).
+ //
+ // **Phase 1 rejected shapes** (return `Unsupported`):
+ // - any non-empty `having` (always).
+ // - `select=DOCUMENTS` with non-empty `group_by`.
+ // - `select=COUNT` with `group_by` on a field that is not constrained by an `In` or range where clause.
+ // - `select=COUNT` with `group_by.len() > 2`.
+ // - `select=COUNT` with 2-field `group_by` that does not match the `(in_field, range_field)` shape above.
+ //
+ // **Absent-from-tree branches on `In`-grouped queries**: when
+ // `select=COUNT, group_by=[in_field]` and an `In` value has no
+ // matching documents, the underlying merk index has nothing to
+ // emit (zero-count branches aren't materialized as CountTree
+ // elements), so the wire `CountEntries.entries` list contains
+ // only the In values that exist.
+ //
+ // The SDK's proof decoder surfaces this by **omission**, not by
+ // a sentinel `count` value: the current point-lookup path query
+ // doesn't set `absence_proofs_for_non_existing_searched_keys:
+ // true`, so grovedb's `verify_query` silently drops absent-Key
+ // branches from the verified elements stream. The drive-side
+ // verifier (`verify_point_lookup_count_proof`) therefore emits
+ // one `SplitCountEntry` per **present** In branch and the SDK
+ // wraps those into `CountEntry`. Callers that need to detect
+ // "queried but absent" diff their request's In array against
+ // the returned entries by `key` (each entry's `key` is the
+ // serialized In value, recoverable via
+ // `document_type.serialize_value_for_key(in_field, v, …)`).
+ // `SplitCountEntry::count`'s `Option` and the `None`
+ // variant exist for a future absence-proof variant; today the
+ // wire `CountEntry.count` is plain `uint64`.
+ //
+ // For range-grouped queries the walker only emits keys that
+ // exist in the index, which IS SQL-conformant; no equivalent
+ // reconstruction step because the range itself is unbounded and
+ // the caller has no explicit "expected keys" list to compare
+ // against.
+ message GetDocumentsRequestV1 {
+ // Projection over the matched row set. Determines whether the
+ // response carries documents or count results.
+ enum Select {
+ // Return matched documents. `group_by` must be empty.
+ DOCUMENTS = 0;
+ // Return a count — single aggregate when `group_by` is empty,
+ // per-group entries when `group_by` names a field.
+ COUNT = 1;
+ }
+
+ bytes data_contract_id = 1; // The data contract owning the documents
+ string document_type = 2; // Document type within the contract
+ bytes where = 3; // CBOR-encoded where clauses (same shape as v0)
+ bytes order_by = 4; // CBOR-encoded order_by clauses (same shape as v0)
+ // Maximum number of rows to return.
+ //
+ // **Wire semantics on the `optional uint32` field**: `None`
+ // (unset) requests the server's default; `Some(N)` with `N > 0`
+ // requests an explicit cap of `N`. `Some(0)` is **rejected with
+ // `InvalidLimit` across every SELECT mode** — zero-cap is
+ // structurally meaningless and the legacy v0 `uint32`-with-0-as-
+ // sentinel mapping doesn't extend to `optional uint32` (the
+ // whole point of switching is that `None` carries "unset"
+ // explicitly). Callers must send `None` for "use server default."
+ //
+ // Per-mode behavior of `Some(N > 0)`:
+ // - `select=DOCUMENTS`: matched-document cap (same as v0).
+ // - `select=COUNT, group_by=[]`: **rejected with `InvalidLimit`
+ // when set**. Aggregate count is a single row by construction
+ // — a limit would either be redundant (≥ 1) or silently
+ // mislead callers if the dispatcher's per-In fan-out honored
+ // it and returned a partial sum disguised as a total. Omit
+ // `limit` for aggregate count.
+ // - `select=COUNT, group_by=[in_field]`: **rejected with
+ // `InvalidLimit` when set**. The In array is already capped
+ // at 100 entries by `WhereClause::in_values()`, so the
+ // result is bounded by construction; a separate `limit`
+ // would either be redundant or silently truncate the proof
+ // to fewer In branches than the caller asked for (the
+ // PointLookupProof shape can't represent a partial-In
+ // selection in its `SizedQuery`). Narrow the In array
+ // directly to reduce the result set.
+ // - `select=COUNT, group_by=[range_field]`: entries cap on
+ // the distinct-range walk.
+ // - `select=COUNT, group_by=[in_field, range_field]`: global
+ // cap over the emitted `(in_key, key)` lex stream — NOT
+ // per-In-branch. The compound walk pushes one
+ // `SizedQuery::limit` over the combined tuple stream, so a
+ // request with `|In| = 3` and `limit = 5` returns at most
+ // 5 entries total across all In branches (ordered by
+ // `(in_key, key)`, direction from the first `order_by`
+ // clause).
+ // Both range-grouped variants share the same validate-don't-
+ // clamp policy on prove paths — `limit > max_query_limit`
+ // returns `InvalidLimit` rather than silent clamping (see
+ // `RangeDistinctProof`'s contract; unset falls back to the
+ // SDK-shared `DEFAULT_QUERY_LIMIT` compile-time constant so
+ // proof bytes are deterministic across operators).
+ optional uint32 limit = 5;
+
+ // Pagination cursor. Valid only for `select=DOCUMENTS`. The
+ // count surface (`select=COUNT`) rejects cursors entirely:
+ // aggregate counts have no concept of "start," and per-group
+ // entry paginators would need a new merk walk that doesn't
+ // exist yet — callers paginate counts by narrowing the
+ // where-clause range itself instead.
+ oneof start {
+ bytes start_after = 6;
+ bytes start_at = 7;
+ }
+
+ bool prove = 8; // Request a grovedb proof instead of raw rows
+
+ // SQL `SELECT` projection. Default `DOCUMENTS` keeps v0 semantics
+ // for callers that just want documents back.
+ Select select = 9;
+
+ // SQL `GROUP BY` field names, in left-to-right order. Empty =
+ // no explicit grouping (aggregate for `select=COUNT`). See
+ // message-level docstring for the Phase 1 supported shapes.
+ repeated string group_by = 10;
+
+ // SQL `HAVING` clauses, CBOR-encoded the same way as `where`.
+ // **Phase 1: always rejected when non-empty** with
+ // `Unsupported("HAVING clause is not yet implemented")`.
+ // Reserved on the wire so future capability can land without
+ // another version bump.
+ bytes having = 11;
+ }
+
+ oneof version {
+ GetDocumentsRequestV0 v0 = 1;
+ GetDocumentsRequestV1 v1 = 2;
+ }
}
message GetDocumentsResponse {
@@ -610,108 +783,49 @@ message GetDocumentsResponse {
}
ResponseMetadata metadata = 3; // Metadata about the blockchain state
}
- oneof version { GetDocumentsResponseV0 v0 = 1; }
-}
+ // v1 response. Two-variant outer `oneof` mirrors every other
+ // `Get*Response`: a non-proof result at position 1, the proof at
+ // position 2. The non-proof result is itself a `oneof` because
+ // a single v1 request can produce either matched documents (for
+ // `select=DOCUMENTS`) or count results (for `select=COUNT`) —
+ // wrapping them in an inner `ResultData` keeps the outer shape
+ // canonical without flattening to a three-variant oneof.
+ //
+ // Wire shape by `request.select` × `group_by` × `prove`:
+ // - `select=DOCUMENTS` (no prove) → `result.data.documents`.
+ // - `select=COUNT, group_by=[]` (no prove) → `result.data.counts.aggregate_count`.
+ // - `select=COUNT, group_by=[…]` (no prove) → `result.data.counts.entries`.
+ // - any select (prove) → `result.proof`.
+ //
+ // `CountResults` / `CountEntry` / `CountEntries` are nested in
+ // `GetDocumentsResponseV1` rather than re-exported from a
+ // top-level message — the v0 `getDocumentsCount` endpoint that
+ // previously owned them has been removed in this version (it
+ // shipped briefly in #3623 and never had stable callers); v1 is
+ // the single home for the count wire types.
+ message GetDocumentsResponseV1 {
+ // Documents result variant — matches the v0 `Documents`
+ // message field-for-field (kept distinct so v1 doesn't reach
+ // into v0's namespace once v0 is eventually retired).
+ message Documents {
+ repeated bytes documents = 1;
+ }
-// Unified count query.
-//
-// Mode is determined by the where clauses encoded in `where` plus
-// the explicit `return_distinct_counts_in_range` flag. The wire
-// shape of the no-proof response makes the mode explicit via
-// `CountResults.variant`:
-// * No `In` clause and `return_distinct_counts_in_range` = false:
-// total count → `CountResults.aggregate_count` (single u64).
-// * Exactly one `In` clause (no range): per-`In`-value counts →
-// `CountResults.entries`, one `CountEntry` for each value in
-// the `In` array constrained by the other `==` clauses. At
-// most one `In` per request; multiple `In` clauses are an
-// InvalidArgument error.
-// * A range clause (`>`, `<`, `between*`, `startsWith`) and
-// `return_distinct_counts_in_range` = true: per-distinct-value
-// range histogram → `CountResults.entries`, one `CountEntry`
-// per distinct value within the range. Requires
-// `range_countable: true` on the index (see Indexes book
-// chapter). Also supports an `In` clause on a prefix property
-// of the index — in that case each entry carries BOTH the In
-// value (`CountEntry.in_key`) and the terminator value
-// (`CountEntry.key`). Cross-fork sums are NOT computed
-// server-side; callers reduce client-side if they want a flat
-// histogram (see book chapter "Range Modes").
-// * A range clause with `return_distinct_counts_in_range` = false:
-// total over range → `CountResults.aggregate_count`. Also
-// requires `range_countable: true`.
-//
-// When `prove = true`, the response is a grovedb proof instead of
-// a `CountResults` value; the client verifies and recovers the
-// same per-mode shape (single u64 for aggregate, per-key map for
-// distinct).
-message GetDocumentsCountRequest {
- message GetDocumentsCountRequestV0 {
- bytes data_contract_id = 1;
- string document_type = 2;
- bytes where = 3; // CBOR-encoded where clauses
- // Default false (single sum). When true and a range clause is
- // present, return per-distinct-value entries within the range.
- bool return_distinct_counts_in_range = 4;
- // CBOR-encoded order_by clauses. Same encoding as
- // `GetDocumentsRequestV0.order_by`. The first clause's direction
- // controls entry ordering in split-mode responses (per-`In`-value
- // or per-range-distinct-value). On the `RangeDistinctProof` prove
- // path the direction is part of the proof's path query, so the
- // SDK must reconstruct the same value — empty `order_by` defaults
- // to ascending on both sides for determinism. Ignored for
- // total-count responses and for the `PointLookupProof` path
- // (which sorts In keys lex-ascending unconditionally for prove/
- // no-proof parity).
- bytes order_by = 5;
- // Maximum number of entries to return.
- // - **No-proof paths**: server clamps to its `max_query_limit`
- // config; unset → server default.
- // - **Prove paths** (`RangeDistinctProof`): validate-don't-clamp.
- // `limit > max_query_limit` returns `InvalidLimit` rather than
- // silently clamping, because silent clamping would invisibly
- // break verification (proof determinism requires the SDK to
- // reconstruct the same path query). Unset falls back to
- // `crate::config::DEFAULT_QUERY_LIMIT` (a compile-time constant
- // the SDK also reads) — explicitly NOT the operator-tunable
- // `default_query_limit`, so proof bytes are deterministic
- // across operators regardless of their runtime config.
- // Has no effect on total-count responses.
- optional uint32 limit = 6;
- bool prove = 7;
- }
- oneof version { GetDocumentsCountRequestV0 v0 = 1; }
-}
-
-message GetDocumentsCountResponse {
- message GetDocumentsCountResponseV0 {
- // A single per-key entry: the splitting key value and how many
- // documents match. Used by the `entries` variant of
- // `CountResults` for per-`In`-value and per-distinct-value-in-
- // range modes.
- //
- // For compound queries (an `In` clause on a prefix property of a
- // `range_countable` index plus a range clause on the terminator),
- // each entry carries BOTH the In-fork's prefix value
- // (`in_key`) and the terminator value (`key`). Cross-fork
- // aggregation is intentionally NOT done server-side — callers
- // get the unmerged per-(in_key, key) view and can sum
- // client-side if they want a flat histogram. See the book
- // chapter ("Range Modes") for rationale.
+ // A single per-key entry. Carries `in_key` for compound
+ // queries (`In` on a prefix property of a `range_countable`
+ // index plus a range clause on the terminator) where each
+ // entry is keyed by both the In-fork's prefix value (`in_key`)
+ // and the terminator value (`key`). Cross-fork aggregation is
+ // intentionally NOT done server-side — callers get the
+ // unmerged per-`(in_key, key)` view and can reduce client-side
+ // if they want a flat histogram.
message CountEntry {
- // Serialized prefix key for compound queries — the In's value
- // for this fork. Absent for flat queries with no `In` on
- // prefix (in which case entries are keyed purely by `key`).
optional bytes in_key = 1;
- // Serialized terminator key (the range-property value for
- // distinct-range modes, or the `In` value for per-In-value
- // mode without a range clause).
bytes key = 2;
- // `jstype = JS_STRING` so JS/Web clients receive a string and don't
- // round counts > 2^53-1 to the nearest representable Number. Matches
- // the convention used elsewhere in this proto for `uint64` fields
- // that can exceed Number.MAX_SAFE_INTEGER.
+ // `jstype = JS_STRING` so JS/Web clients receive a string
+ // and don't round counts > 2^53−1 to the nearest
+ // representable Number.
uint64 count = 3 [jstype = JS_STRING];
}
@@ -721,29 +835,40 @@ message GetDocumentsCountResponse {
// Non-proof count result. Shape is mode-dependent and made
// explicit on the wire via the inner `variant` oneof:
- // * `aggregate_count`: total-count and range-without-distinct
- // modes — a single u64 with no per-key breakdown. Callers
- // read the total directly without scanning an entries list.
- // * `entries`: per-`In`-value and per-distinct-value-in-range
- // modes — one CountEntry per distinct value, in serialized-
- // key order subject to the first `order_by` clause's
- // direction and `limit`.
+ // * `aggregate_count`: `select=COUNT, group_by=[]` —
+ // single u64 with no per-key breakdown.
+ // * `entries`: `select=COUNT, group_by=[…]` — one
+ // CountEntry per distinct group, in serialized-key order
+ // (subject to the first `order_by` clause's direction and
+ // `limit`).
message CountResults {
oneof variant {
- // `jstype = JS_STRING` for the same reason as
- // `CountEntry.count` — JS Number rounds at 2^53−1.
uint64 aggregate_count = 1 [jstype = JS_STRING];
CountEntries entries = 2;
}
}
+ // Non-proof result wrapper. The outer `oneof result` switches
+ // between this and `proof`; this inner oneof switches between
+ // the two non-proof shapes the v1 surface can return.
+ message ResultData {
+ oneof variant {
+ Documents documents = 1;
+ CountResults counts = 2;
+ }
+ }
+
oneof result {
- CountResults counts = 1;
+ ResultData data = 1;
Proof proof = 2;
}
ResponseMetadata metadata = 3;
}
- oneof version { GetDocumentsCountResponseV0 v0 = 1; }
+
+ oneof version {
+ GetDocumentsResponseV0 v0 = 1;
+ GetDocumentsResponseV1 v1 = 2;
+ }
}
message GetIdentityByPublicKeyHashRequest {
diff --git a/packages/rs-dapi-client/src/transport/grpc.rs b/packages/rs-dapi-client/src/transport/grpc.rs
index 49c4d7147f0..3b9aa9eed5b 100644
--- a/packages/rs-dapi-client/src/transport/grpc.rs
+++ b/packages/rs-dapi-client/src/transport/grpc.rs
@@ -205,14 +205,6 @@ impl_transport_request_grpc!(
get_documents
);
-impl_transport_request_grpc!(
- platform_proto::GetDocumentsCountRequest,
- platform_proto::GetDocumentsCountResponse,
- PlatformGrpcClient,
- RequestSettings::default(),
- get_documents_count
-);
-
impl_transport_request_grpc!(
platform_proto::GetDataContractRequest,
platform_proto::GetDataContractResponse,
diff --git a/packages/rs-dapi/src/services/platform_service/mod.rs b/packages/rs-dapi/src/services/platform_service/mod.rs
index 437a10bf13f..1fa71606a43 100644
--- a/packages/rs-dapi/src/services/platform_service/mod.rs
+++ b/packages/rs-dapi/src/services/platform_service/mod.rs
@@ -344,12 +344,6 @@ impl Platform for PlatformServiceImpl {
dapi_grpc::platform::v0::GetDocumentsResponse
);
- drive_method!(
- get_documents_count,
- dapi_grpc::platform::v0::GetDocumentsCountRequest,
- dapi_grpc::platform::v0::GetDocumentsCountResponse
- );
-
// System methods
drive_method!(
get_consensus_params,
diff --git a/packages/rs-dpp/Cargo.toml b/packages/rs-dpp/Cargo.toml
index a9fce764e0c..472d91d725e 100644
--- a/packages/rs-dpp/Cargo.toml
+++ b/packages/rs-dpp/Cargo.toml
@@ -71,7 +71,7 @@ strum = { version = "0.26", features = ["derive"] }
json-schema-compatibility-validator = { path = '../rs-json-schema-compatibility-validator', optional = true }
once_cell = "1.19.0"
tracing = { version = "0.1.41" }
-grovedb-commitment-tree = { git = "https://github.com/dashpay/grovedb", rev = "a917d92d2477672eed73c4c08e53e93449a6a094", optional = true }
+grovedb-commitment-tree = { git = "https://github.com/dashpay/grovedb", rev = "7a649386ac8a06a608a614385a2333e03cd931c3", optional = true }
[dev-dependencies]
tokio = { version = "1.40", features = ["full"] }
diff --git a/packages/rs-dpp/src/withdrawal/mod.rs b/packages/rs-dpp/src/withdrawal/mod.rs
index 8a5fc3a0f5f..0d39b205992 100644
--- a/packages/rs-dpp/src/withdrawal/mod.rs
+++ b/packages/rs-dpp/src/withdrawal/mod.rs
@@ -143,7 +143,7 @@ pub mod pooling_serde {
(Pooling::Standard, 2),
] {
let bytes =
- bincode::serde::encode_to_vec(&Wrap(variant), bincode::config::standard())
+ bincode::serde::encode_to_vec(Wrap(variant), bincode::config::standard())
.expect("bincode encode");
assert_eq!(bytes.last(), Some(&expected_u8));
let (restored, _): (Wrap, usize) =
diff --git a/packages/rs-drive-abci/Cargo.toml b/packages/rs-drive-abci/Cargo.toml
index 423531000c0..2a2fda97c30 100644
--- a/packages/rs-drive-abci/Cargo.toml
+++ b/packages/rs-drive-abci/Cargo.toml
@@ -82,7 +82,7 @@ derive_more = { version = "1.0", features = ["from", "deref", "deref_mut"] }
async-trait = "0.1.77"
console-subscriber = { version = "0.4", optional = true }
bls-signatures = { git = "https://github.com/dashpay/bls-signatures", rev = "0842b17583888e8f46c252a4ee84cdfd58e0546f", optional = true }
-grovedb-commitment-tree = { git = "https://github.com/dashpay/grovedb", rev = "a917d92d2477672eed73c4c08e53e93449a6a094" }
+grovedb-commitment-tree = { git = "https://github.com/dashpay/grovedb", rev = "7a649386ac8a06a608a614385a2333e03cd931c3" }
nonempty = "0.11"
[dev-dependencies]
@@ -103,7 +103,7 @@ dpp = { path = "../rs-dpp", default-features = false, features = [
drive = { path = "../rs-drive", features = ["fixtures-and-mocks"] }
drive-proof-verifier = { path = "../rs-drive-proof-verifier" }
strategy-tests = { path = "../strategy-tests" }
-grovedb-commitment-tree = { git = "https://github.com/dashpay/grovedb", rev = "a917d92d2477672eed73c4c08e53e93449a6a094", features = ["client"] }
+grovedb-commitment-tree = { git = "https://github.com/dashpay/grovedb", rev = "7a649386ac8a06a608a614385a2333e03cd931c3", features = ["client"] }
assert_matches = "1.5.0"
drive-abci = { path = ".", features = ["testing-config", "mocks"] }
bls-signatures = { git = "https://github.com/dashpay/bls-signatures", rev = "0842b17583888e8f46c252a4ee84cdfd58e0546f" }
diff --git a/packages/rs-drive-abci/src/query/document_count_query/mod.rs b/packages/rs-drive-abci/src/query/document_count_query/mod.rs
deleted file mode 100644
index 61f10e4f3a9..00000000000
--- a/packages/rs-drive-abci/src/query/document_count_query/mod.rs
+++ /dev/null
@@ -1,54 +0,0 @@
-use crate::error::query::QueryError;
-use crate::error::Error;
-use crate::platform_types::platform::Platform;
-use crate::platform_types::platform_state::PlatformState;
-use crate::query::QueryValidationResult;
-use dapi_grpc::platform::v0::get_documents_count_request::Version as RequestVersion;
-use dapi_grpc::platform::v0::get_documents_count_response::Version as ResponseVersion;
-use dapi_grpc::platform::v0::{GetDocumentsCountRequest, GetDocumentsCountResponse};
-use dpp::version::PlatformVersion;
-
-mod v0;
-
-impl Platform {
- /// Querying of document count
- pub fn query_documents_count(
- &self,
- GetDocumentsCountRequest { version }: GetDocumentsCountRequest,
- platform_state: &PlatformState,
- platform_version: &PlatformVersion,
- ) -> Result, Error> {
- let Some(version) = version else {
- return Ok(QueryValidationResult::new_with_error(
- QueryError::DecodingError("could not decode documents count query".to_string()),
- ));
- };
-
- let feature_version_bounds = &platform_version.drive_abci.query.document_count_query;
-
- let feature_version = match &version {
- RequestVersion::V0(_) => 0,
- };
- if !feature_version_bounds.check_version(feature_version) {
- return Ok(QueryValidationResult::new_with_error(
- QueryError::UnsupportedQueryVersion(
- "documents_count".to_string(),
- feature_version_bounds.min_version,
- feature_version_bounds.max_version,
- platform_version.protocol_version,
- feature_version,
- ),
- ));
- }
- match version {
- RequestVersion::V0(request_v0) => {
- let result =
- self.query_documents_count_v0(request_v0, platform_state, platform_version)?;
-
- Ok(result.map(|response_v0| GetDocumentsCountResponse {
- version: Some(ResponseVersion::V0(response_v0)),
- }))
- }
- }
- }
-}
diff --git a/packages/rs-drive-abci/src/query/document_count_query/v0/mod.rs b/packages/rs-drive-abci/src/query/document_count_query/v0/mod.rs
deleted file mode 100644
index c97f3d971d2..00000000000
--- a/packages/rs-drive-abci/src/query/document_count_query/v0/mod.rs
+++ /dev/null
@@ -1,1149 +0,0 @@
-use crate::error::query::QueryError;
-use crate::error::Error;
-use crate::platform_types::platform::Platform;
-use crate::platform_types::platform_state::PlatformState;
-use crate::query::response_metadata::CheckpointUsed;
-use crate::query::QueryValidationResult;
-use dapi_grpc::platform::v0::get_documents_count_request::GetDocumentsCountRequestV0;
-use dapi_grpc::platform::v0::get_documents_count_response::{
- get_documents_count_response_v0, GetDocumentsCountResponseV0,
-};
-use dpp::check_validation_result_with_data;
-use dpp::data_contract::accessors::v0::DataContractV0Getters;
-use dpp::identifier::Identifier;
-use dpp::platform_value::Value;
-use dpp::validation::ValidationResult;
-use dpp::version::PlatformVersion;
-use drive::error::query::QuerySyntaxError;
-use drive::query::{DocumentCountRequest, DocumentCountResponse, SplitCountEntry};
-use drive::util::grove_operations::GroveDBToUse;
-
-/// Wrap a single aggregate `u64` plus current-state metadata into the
-/// protobuf `GetDocumentsCountResponseV0`. Produces the `CountResults
-/// .variant.AggregateCount(_)` wire shape used by total-count and
-/// range-without-distinct modes — the dispatcher routes drive's
-/// `DocumentCountResponse::Aggregate(_)` through here so the wire
-/// answer is a single u64, not an entries map with one empty-key
-/// entry.
-fn count_response_aggregate(
- count: u64,
- platform: &Platform