org.hyperledger.fabric.protos.peer.SnapshotQuery Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: peer/snapshot.proto
// Protobuf Java Version: 4.28.2
package org.hyperledger.fabric.protos.peer;
/**
*
* SnapshotQuery contains information for a query snapshot request
*
*
* Protobuf type {@code protos.SnapshotQuery}
*/
public final class SnapshotQuery extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:protos.SnapshotQuery)
SnapshotQueryOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 2,
/* suffix= */ "",
SnapshotQuery.class.getName());
}
// Use SnapshotQuery.newBuilder() to construct.
private SnapshotQuery(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private SnapshotQuery() {
channelId_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.fabric.protos.peer.SnapshotProto.internal_static_protos_SnapshotQuery_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.fabric.protos.peer.SnapshotProto.internal_static_protos_SnapshotQuery_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.fabric.protos.peer.SnapshotQuery.class, org.hyperledger.fabric.protos.peer.SnapshotQuery.Builder.class);
}
private int bitField0_;
public static final int SIGNATURE_HEADER_FIELD_NUMBER = 1;
private org.hyperledger.fabric.protos.common.SignatureHeader signatureHeader_;
/**
*
* The signature header that contains creator identity and nonce
*
*
* .common.SignatureHeader signature_header = 1 [json_name = "signatureHeader"];
* @return Whether the signatureHeader field is set.
*/
@java.lang.Override
public boolean hasSignatureHeader() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The signature header that contains creator identity and nonce
*
*
* .common.SignatureHeader signature_header = 1 [json_name = "signatureHeader"];
* @return The signatureHeader.
*/
@java.lang.Override
public org.hyperledger.fabric.protos.common.SignatureHeader getSignatureHeader() {
return signatureHeader_ == null ? org.hyperledger.fabric.protos.common.SignatureHeader.getDefaultInstance() : signatureHeader_;
}
/**
*
* The signature header that contains creator identity and nonce
*
*
* .common.SignatureHeader signature_header = 1 [json_name = "signatureHeader"];
*/
@java.lang.Override
public org.hyperledger.fabric.protos.common.SignatureHeaderOrBuilder getSignatureHeaderOrBuilder() {
return signatureHeader_ == null ? org.hyperledger.fabric.protos.common.SignatureHeader.getDefaultInstance() : signatureHeader_;
}
public static final int CHANNEL_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object channelId_ = "";
/**
*
* The channel ID
*
*
* string channel_id = 2 [json_name = "channelId"];
* @return The channelId.
*/
@java.lang.Override
public java.lang.String getChannelId() {
java.lang.Object ref = channelId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
channelId_ = s;
return s;
}
}
/**
*
* The channel ID
*
*
* string channel_id = 2 [json_name = "channelId"];
* @return The bytes for channelId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getChannelIdBytes() {
java.lang.Object ref = channelId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
channelId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getSignatureHeader());
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(channelId_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, channelId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSignatureHeader());
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(channelId_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, channelId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.hyperledger.fabric.protos.peer.SnapshotQuery)) {
return super.equals(obj);
}
org.hyperledger.fabric.protos.peer.SnapshotQuery other = (org.hyperledger.fabric.protos.peer.SnapshotQuery) obj;
if (hasSignatureHeader() != other.hasSignatureHeader()) return false;
if (hasSignatureHeader()) {
if (!getSignatureHeader()
.equals(other.getSignatureHeader())) return false;
}
if (!getChannelId()
.equals(other.getChannelId())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSignatureHeader()) {
hash = (37 * hash) + SIGNATURE_HEADER_FIELD_NUMBER;
hash = (53 * hash) + getSignatureHeader().hashCode();
}
hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER;
hash = (53 * hash) + getChannelId().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.hyperledger.fabric.protos.peer.SnapshotQuery parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.fabric.protos.peer.SnapshotQuery parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.fabric.protos.peer.SnapshotQuery parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.fabric.protos.peer.SnapshotQuery parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.fabric.protos.peer.SnapshotQuery parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.hyperledger.fabric.protos.peer.SnapshotQuery parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.hyperledger.fabric.protos.peer.SnapshotQuery parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.fabric.protos.peer.SnapshotQuery parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.hyperledger.fabric.protos.peer.SnapshotQuery parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static org.hyperledger.fabric.protos.peer.SnapshotQuery parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.hyperledger.fabric.protos.peer.SnapshotQuery parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static org.hyperledger.fabric.protos.peer.SnapshotQuery parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.hyperledger.fabric.protos.peer.SnapshotQuery prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* SnapshotQuery contains information for a query snapshot request
*
*
* Protobuf type {@code protos.SnapshotQuery}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:protos.SnapshotQuery)
org.hyperledger.fabric.protos.peer.SnapshotQueryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.hyperledger.fabric.protos.peer.SnapshotProto.internal_static_protos_SnapshotQuery_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.hyperledger.fabric.protos.peer.SnapshotProto.internal_static_protos_SnapshotQuery_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.hyperledger.fabric.protos.peer.SnapshotQuery.class, org.hyperledger.fabric.protos.peer.SnapshotQuery.Builder.class);
}
// Construct using org.hyperledger.fabric.protos.peer.SnapshotQuery.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getSignatureHeaderFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
signatureHeader_ = null;
if (signatureHeaderBuilder_ != null) {
signatureHeaderBuilder_.dispose();
signatureHeaderBuilder_ = null;
}
channelId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.hyperledger.fabric.protos.peer.SnapshotProto.internal_static_protos_SnapshotQuery_descriptor;
}
@java.lang.Override
public org.hyperledger.fabric.protos.peer.SnapshotQuery getDefaultInstanceForType() {
return org.hyperledger.fabric.protos.peer.SnapshotQuery.getDefaultInstance();
}
@java.lang.Override
public org.hyperledger.fabric.protos.peer.SnapshotQuery build() {
org.hyperledger.fabric.protos.peer.SnapshotQuery result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.hyperledger.fabric.protos.peer.SnapshotQuery buildPartial() {
org.hyperledger.fabric.protos.peer.SnapshotQuery result = new org.hyperledger.fabric.protos.peer.SnapshotQuery(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.hyperledger.fabric.protos.peer.SnapshotQuery result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.signatureHeader_ = signatureHeaderBuilder_ == null
? signatureHeader_
: signatureHeaderBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.channelId_ = channelId_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.hyperledger.fabric.protos.peer.SnapshotQuery) {
return mergeFrom((org.hyperledger.fabric.protos.peer.SnapshotQuery)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.SnapshotQuery other) {
if (other == org.hyperledger.fabric.protos.peer.SnapshotQuery.getDefaultInstance()) return this;
if (other.hasSignatureHeader()) {
mergeSignatureHeader(other.getSignatureHeader());
}
if (!other.getChannelId().isEmpty()) {
channelId_ = other.channelId_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getSignatureHeaderFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
channelId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.hyperledger.fabric.protos.common.SignatureHeader signatureHeader_;
private com.google.protobuf.SingleFieldBuilder<
org.hyperledger.fabric.protos.common.SignatureHeader, org.hyperledger.fabric.protos.common.SignatureHeader.Builder, org.hyperledger.fabric.protos.common.SignatureHeaderOrBuilder> signatureHeaderBuilder_;
/**
*
* The signature header that contains creator identity and nonce
*
*
* .common.SignatureHeader signature_header = 1 [json_name = "signatureHeader"];
* @return Whether the signatureHeader field is set.
*/
public boolean hasSignatureHeader() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The signature header that contains creator identity and nonce
*
*
* .common.SignatureHeader signature_header = 1 [json_name = "signatureHeader"];
* @return The signatureHeader.
*/
public org.hyperledger.fabric.protos.common.SignatureHeader getSignatureHeader() {
if (signatureHeaderBuilder_ == null) {
return signatureHeader_ == null ? org.hyperledger.fabric.protos.common.SignatureHeader.getDefaultInstance() : signatureHeader_;
} else {
return signatureHeaderBuilder_.getMessage();
}
}
/**
*
* The signature header that contains creator identity and nonce
*
*
* .common.SignatureHeader signature_header = 1 [json_name = "signatureHeader"];
*/
public Builder setSignatureHeader(org.hyperledger.fabric.protos.common.SignatureHeader value) {
if (signatureHeaderBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
signatureHeader_ = value;
} else {
signatureHeaderBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The signature header that contains creator identity and nonce
*
*
* .common.SignatureHeader signature_header = 1 [json_name = "signatureHeader"];
*/
public Builder setSignatureHeader(
org.hyperledger.fabric.protos.common.SignatureHeader.Builder builderForValue) {
if (signatureHeaderBuilder_ == null) {
signatureHeader_ = builderForValue.build();
} else {
signatureHeaderBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The signature header that contains creator identity and nonce
*
*
* .common.SignatureHeader signature_header = 1 [json_name = "signatureHeader"];
*/
public Builder mergeSignatureHeader(org.hyperledger.fabric.protos.common.SignatureHeader value) {
if (signatureHeaderBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
signatureHeader_ != null &&
signatureHeader_ != org.hyperledger.fabric.protos.common.SignatureHeader.getDefaultInstance()) {
getSignatureHeaderBuilder().mergeFrom(value);
} else {
signatureHeader_ = value;
}
} else {
signatureHeaderBuilder_.mergeFrom(value);
}
if (signatureHeader_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
*
* The signature header that contains creator identity and nonce
*
*
* .common.SignatureHeader signature_header = 1 [json_name = "signatureHeader"];
*/
public Builder clearSignatureHeader() {
bitField0_ = (bitField0_ & ~0x00000001);
signatureHeader_ = null;
if (signatureHeaderBuilder_ != null) {
signatureHeaderBuilder_.dispose();
signatureHeaderBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* The signature header that contains creator identity and nonce
*
*
* .common.SignatureHeader signature_header = 1 [json_name = "signatureHeader"];
*/
public org.hyperledger.fabric.protos.common.SignatureHeader.Builder getSignatureHeaderBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getSignatureHeaderFieldBuilder().getBuilder();
}
/**
*
* The signature header that contains creator identity and nonce
*
*
* .common.SignatureHeader signature_header = 1 [json_name = "signatureHeader"];
*/
public org.hyperledger.fabric.protos.common.SignatureHeaderOrBuilder getSignatureHeaderOrBuilder() {
if (signatureHeaderBuilder_ != null) {
return signatureHeaderBuilder_.getMessageOrBuilder();
} else {
return signatureHeader_ == null ?
org.hyperledger.fabric.protos.common.SignatureHeader.getDefaultInstance() : signatureHeader_;
}
}
/**
*
* The signature header that contains creator identity and nonce
*
*
* .common.SignatureHeader signature_header = 1 [json_name = "signatureHeader"];
*/
private com.google.protobuf.SingleFieldBuilder<
org.hyperledger.fabric.protos.common.SignatureHeader, org.hyperledger.fabric.protos.common.SignatureHeader.Builder, org.hyperledger.fabric.protos.common.SignatureHeaderOrBuilder>
getSignatureHeaderFieldBuilder() {
if (signatureHeaderBuilder_ == null) {
signatureHeaderBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.hyperledger.fabric.protos.common.SignatureHeader, org.hyperledger.fabric.protos.common.SignatureHeader.Builder, org.hyperledger.fabric.protos.common.SignatureHeaderOrBuilder>(
getSignatureHeader(),
getParentForChildren(),
isClean());
signatureHeader_ = null;
}
return signatureHeaderBuilder_;
}
private java.lang.Object channelId_ = "";
/**
*
* The channel ID
*
*
* string channel_id = 2 [json_name = "channelId"];
* @return The channelId.
*/
public java.lang.String getChannelId() {
java.lang.Object ref = channelId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
channelId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The channel ID
*
*
* string channel_id = 2 [json_name = "channelId"];
* @return The bytes for channelId.
*/
public com.google.protobuf.ByteString
getChannelIdBytes() {
java.lang.Object ref = channelId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
channelId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The channel ID
*
*
* string channel_id = 2 [json_name = "channelId"];
* @param value The channelId to set.
* @return This builder for chaining.
*/
public Builder setChannelId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
channelId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* The channel ID
*
*
* string channel_id = 2 [json_name = "channelId"];
* @return This builder for chaining.
*/
public Builder clearChannelId() {
channelId_ = getDefaultInstance().getChannelId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* The channel ID
*
*
* string channel_id = 2 [json_name = "channelId"];
* @param value The bytes for channelId to set.
* @return This builder for chaining.
*/
public Builder setChannelIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
channelId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:protos.SnapshotQuery)
}
// @@protoc_insertion_point(class_scope:protos.SnapshotQuery)
private static final org.hyperledger.fabric.protos.peer.SnapshotQuery DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.hyperledger.fabric.protos.peer.SnapshotQuery();
}
public static org.hyperledger.fabric.protos.peer.SnapshotQuery getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnapshotQuery parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.hyperledger.fabric.protos.peer.SnapshotQuery getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy