All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: consensus_submit_message.proto

// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;

/**
 * 
 **
 * UNDOCUMENTED
 * 
* * Protobuf type {@code proto.ConsensusMessageChunkInfo} */ public final class ConsensusMessageChunkInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:proto.ConsensusMessageChunkInfo) ConsensusMessageChunkInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ConsensusMessageChunkInfo.newBuilder() to construct. private ConsensusMessageChunkInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ConsensusMessageChunkInfo() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ConsensusMessageChunkInfo(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessage.internal_static_proto_ConsensusMessageChunkInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessage.internal_static_proto_ConsensusMessageChunkInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo.class, com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo.Builder.class); } private int bitField0_; public static final int INITIALTRANSACTIONID_FIELD_NUMBER = 1; private com.hedera.hashgraph.sdk.proto.TransactionID initialTransactionID_; /** *
   **
   * TransactionID of the first chunk, gets copied to every subsequent chunk in a fragmented message.
   * 
* * .proto.TransactionID initialTransactionID = 1; * @return Whether the initialTransactionID field is set. */ @java.lang.Override public boolean hasInitialTransactionID() { return ((bitField0_ & 0x00000001) != 0); } /** *
   **
   * TransactionID of the first chunk, gets copied to every subsequent chunk in a fragmented message.
   * 
* * .proto.TransactionID initialTransactionID = 1; * @return The initialTransactionID. */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TransactionID getInitialTransactionID() { return initialTransactionID_ == null ? com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance() : initialTransactionID_; } /** *
   **
   * TransactionID of the first chunk, gets copied to every subsequent chunk in a fragmented message.
   * 
* * .proto.TransactionID initialTransactionID = 1; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder getInitialTransactionIDOrBuilder() { return initialTransactionID_ == null ? com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance() : initialTransactionID_; } public static final int TOTAL_FIELD_NUMBER = 2; private int total_ = 0; /** *
   **
   * The total number of chunks in the message.
   * 
* * int32 total = 2; * @return The total. */ @java.lang.Override public int getTotal() { return total_; } public static final int NUMBER_FIELD_NUMBER = 3; private int number_ = 0; /** *
   **
   * The sequence number (from 1 to total) of the current chunk in the message.
   * 
* * int32 number = 3; * @return The number. */ @java.lang.Override public int getNumber() { return number_; } 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, getInitialTransactionID()); } if (total_ != 0) { output.writeInt32(2, total_); } if (number_ != 0) { output.writeInt32(3, number_); } 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, getInitialTransactionID()); } if (total_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, total_); } if (number_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, number_); } 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 com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo)) { return super.equals(obj); } com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo other = (com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo) obj; if (hasInitialTransactionID() != other.hasInitialTransactionID()) return false; if (hasInitialTransactionID()) { if (!getInitialTransactionID() .equals(other.getInitialTransactionID())) return false; } if (getTotal() != other.getTotal()) return false; if (getNumber() != other.getNumber()) 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 (hasInitialTransactionID()) { hash = (37 * hash) + INITIALTRANSACTIONID_FIELD_NUMBER; hash = (53 * hash) + getInitialTransactionID().hashCode(); } hash = (37 * hash) + TOTAL_FIELD_NUMBER; hash = (53 * hash) + getTotal(); hash = (37 * hash) + NUMBER_FIELD_NUMBER; hash = (53 * hash) + getNumber(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo 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.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   **
   * UNDOCUMENTED
   * 
* * Protobuf type {@code proto.ConsensusMessageChunkInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:proto.ConsensusMessageChunkInfo) com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessage.internal_static_proto_ConsensusMessageChunkInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessage.internal_static_proto_ConsensusMessageChunkInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo.class, com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo.Builder.class); } // Construct using com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getInitialTransactionIDFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; initialTransactionID_ = null; if (initialTransactionIDBuilder_ != null) { initialTransactionIDBuilder_.dispose(); initialTransactionIDBuilder_ = null; } total_ = 0; number_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hedera.hashgraph.sdk.proto.ConsensusSubmitMessage.internal_static_proto_ConsensusMessageChunkInfo_descriptor; } @java.lang.Override public com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo getDefaultInstanceForType() { return com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo.getDefaultInstance(); } @java.lang.Override public com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo build() { com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo buildPartial() { com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo result = new com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.initialTransactionID_ = initialTransactionIDBuilder_ == null ? initialTransactionID_ : initialTransactionIDBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.total_ = total_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.number_ = number_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo) { return mergeFrom((com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo other) { if (other == com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo.getDefaultInstance()) return this; if (other.hasInitialTransactionID()) { mergeInitialTransactionID(other.getInitialTransactionID()); } if (other.getTotal() != 0) { setTotal(other.getTotal()); } if (other.getNumber() != 0) { setNumber(other.getNumber()); } 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( getInitialTransactionIDFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { total_ = input.readInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { number_ = input.readInt32(); bitField0_ |= 0x00000004; break; } // case 24 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 com.hedera.hashgraph.sdk.proto.TransactionID initialTransactionID_; private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.TransactionID, com.hedera.hashgraph.sdk.proto.TransactionID.Builder, com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder> initialTransactionIDBuilder_; /** *
     **
     * TransactionID of the first chunk, gets copied to every subsequent chunk in a fragmented message.
     * 
* * .proto.TransactionID initialTransactionID = 1; * @return Whether the initialTransactionID field is set. */ public boolean hasInitialTransactionID() { return ((bitField0_ & 0x00000001) != 0); } /** *
     **
     * TransactionID of the first chunk, gets copied to every subsequent chunk in a fragmented message.
     * 
* * .proto.TransactionID initialTransactionID = 1; * @return The initialTransactionID. */ public com.hedera.hashgraph.sdk.proto.TransactionID getInitialTransactionID() { if (initialTransactionIDBuilder_ == null) { return initialTransactionID_ == null ? com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance() : initialTransactionID_; } else { return initialTransactionIDBuilder_.getMessage(); } } /** *
     **
     * TransactionID of the first chunk, gets copied to every subsequent chunk in a fragmented message.
     * 
* * .proto.TransactionID initialTransactionID = 1; */ public Builder setInitialTransactionID(com.hedera.hashgraph.sdk.proto.TransactionID value) { if (initialTransactionIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } initialTransactionID_ = value; } else { initialTransactionIDBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     **
     * TransactionID of the first chunk, gets copied to every subsequent chunk in a fragmented message.
     * 
* * .proto.TransactionID initialTransactionID = 1; */ public Builder setInitialTransactionID( com.hedera.hashgraph.sdk.proto.TransactionID.Builder builderForValue) { if (initialTransactionIDBuilder_ == null) { initialTransactionID_ = builderForValue.build(); } else { initialTransactionIDBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     **
     * TransactionID of the first chunk, gets copied to every subsequent chunk in a fragmented message.
     * 
* * .proto.TransactionID initialTransactionID = 1; */ public Builder mergeInitialTransactionID(com.hedera.hashgraph.sdk.proto.TransactionID value) { if (initialTransactionIDBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && initialTransactionID_ != null && initialTransactionID_ != com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance()) { getInitialTransactionIDBuilder().mergeFrom(value); } else { initialTransactionID_ = value; } } else { initialTransactionIDBuilder_.mergeFrom(value); } if (initialTransactionID_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     **
     * TransactionID of the first chunk, gets copied to every subsequent chunk in a fragmented message.
     * 
* * .proto.TransactionID initialTransactionID = 1; */ public Builder clearInitialTransactionID() { bitField0_ = (bitField0_ & ~0x00000001); initialTransactionID_ = null; if (initialTransactionIDBuilder_ != null) { initialTransactionIDBuilder_.dispose(); initialTransactionIDBuilder_ = null; } onChanged(); return this; } /** *
     **
     * TransactionID of the first chunk, gets copied to every subsequent chunk in a fragmented message.
     * 
* * .proto.TransactionID initialTransactionID = 1; */ public com.hedera.hashgraph.sdk.proto.TransactionID.Builder getInitialTransactionIDBuilder() { bitField0_ |= 0x00000001; onChanged(); return getInitialTransactionIDFieldBuilder().getBuilder(); } /** *
     **
     * TransactionID of the first chunk, gets copied to every subsequent chunk in a fragmented message.
     * 
* * .proto.TransactionID initialTransactionID = 1; */ public com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder getInitialTransactionIDOrBuilder() { if (initialTransactionIDBuilder_ != null) { return initialTransactionIDBuilder_.getMessageOrBuilder(); } else { return initialTransactionID_ == null ? com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance() : initialTransactionID_; } } /** *
     **
     * TransactionID of the first chunk, gets copied to every subsequent chunk in a fragmented message.
     * 
* * .proto.TransactionID initialTransactionID = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.TransactionID, com.hedera.hashgraph.sdk.proto.TransactionID.Builder, com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder> getInitialTransactionIDFieldBuilder() { if (initialTransactionIDBuilder_ == null) { initialTransactionIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.TransactionID, com.hedera.hashgraph.sdk.proto.TransactionID.Builder, com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder>( getInitialTransactionID(), getParentForChildren(), isClean()); initialTransactionID_ = null; } return initialTransactionIDBuilder_; } private int total_ ; /** *
     **
     * The total number of chunks in the message.
     * 
* * int32 total = 2; * @return The total. */ @java.lang.Override public int getTotal() { return total_; } /** *
     **
     * The total number of chunks in the message.
     * 
* * int32 total = 2; * @param value The total to set. * @return This builder for chaining. */ public Builder setTotal(int value) { total_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     **
     * The total number of chunks in the message.
     * 
* * int32 total = 2; * @return This builder for chaining. */ public Builder clearTotal() { bitField0_ = (bitField0_ & ~0x00000002); total_ = 0; onChanged(); return this; } private int number_ ; /** *
     **
     * The sequence number (from 1 to total) of the current chunk in the message.
     * 
* * int32 number = 3; * @return The number. */ @java.lang.Override public int getNumber() { return number_; } /** *
     **
     * The sequence number (from 1 to total) of the current chunk in the message.
     * 
* * int32 number = 3; * @param value The number to set. * @return This builder for chaining. */ public Builder setNumber(int value) { number_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     **
     * The sequence number (from 1 to total) of the current chunk in the message.
     * 
* * int32 number = 3; * @return This builder for chaining. */ public Builder clearNumber() { bitField0_ = (bitField0_ & ~0x00000004); number_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:proto.ConsensusMessageChunkInfo) } // @@protoc_insertion_point(class_scope:proto.ConsensusMessageChunkInfo) private static final com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo(); } public static com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ConsensusMessageChunkInfo 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 com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy