Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class ConsensusMessageChunkInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite<ConsensusMessageChunkInfo,ConsensusMessageChunkInfo.Builder>
com.google.protobuf.GeneratedMessageLite<ConsensusMessageChunkInfo,ConsensusMessageChunkInfo.Builder>
com.hedera.hashgraph.sdk.proto.ConsensusMessageChunkInfo
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,ConsensusMessageChunkInfoOrBuilder
@Generated
public final class ConsensusMessageChunkInfo
extends com.google.protobuf.GeneratedMessageLite<ConsensusMessageChunkInfo,ConsensusMessageChunkInfo.Builder>
implements ConsensusMessageChunkInfoOrBuilder
* Consensus message "chunk" detail.<br/> This message carries information describing the way in which a message submitted for consensus is broken into multiple fragments to fit within network transaction size limits. The use of multiple message fragments is RECOMMENDED for any message greater than 4KiB in total size. ### Block Stream Effects NoneProtobuf type
proto.ConsensusMessageChunkInfo-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Consensus message "chunk" detail.<br/> This message carries information describing the way in which a message submitted for consensus is broken into multiple fragments to fit within network transaction size limits.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static ConsensusMessageChunkInfo* The TransactionID of the first chunk.int* The sequence number (from 1 to total) of the current chunk in the message.intgetTotal()* The total number of chunks in the message.boolean* The TransactionID of the first chunk.newBuilder(ConsensusMessageChunkInfo prototype) static ConsensusMessageChunkInfoparseDelimitedFrom(InputStream input) static ConsensusMessageChunkInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConsensusMessageChunkInfoparseFrom(byte[] data) static ConsensusMessageChunkInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConsensusMessageChunkInfoparseFrom(com.google.protobuf.ByteString data) static ConsensusMessageChunkInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConsensusMessageChunkInfoparseFrom(com.google.protobuf.CodedInputStream input) static ConsensusMessageChunkInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConsensusMessageChunkInfoparseFrom(InputStream input) static ConsensusMessageChunkInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConsensusMessageChunkInfoparseFrom(ByteBuffer data) static ConsensusMessageChunkInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ConsensusMessageChunkInfo> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
INITIALTRANSACTIONID_FIELD_NUMBER
public static final int INITIALTRANSACTIONID_FIELD_NUMBER- See Also:
-
TOTAL_FIELD_NUMBER
public static final int TOTAL_FIELD_NUMBER- See Also:
-
NUMBER_FIELD_NUMBER
public static final int NUMBER_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasInitialTransactionID
public boolean hasInitialTransactionID()* The TransactionID of the first chunk. <p> This MUST be set for every chunk in a fragmented message.
.proto.TransactionID initialTransactionID = 1;- Specified by:
hasInitialTransactionIDin interfaceConsensusMessageChunkInfoOrBuilder- Returns:
- Whether the initialTransactionID field is set.
-
getInitialTransactionID
* The TransactionID of the first chunk. <p> This MUST be set for every chunk in a fragmented message.
.proto.TransactionID initialTransactionID = 1;- Specified by:
getInitialTransactionIDin interfaceConsensusMessageChunkInfoOrBuilder- Returns:
- The initialTransactionID.
-
getTotal
public int getTotal()* The total number of chunks in the message.
int32 total = 2;- Specified by:
getTotalin interfaceConsensusMessageChunkInfoOrBuilder- Returns:
- The total.
-
getNumber
public int getNumber()* The sequence number (from 1 to total) of the current chunk in the message.
int32 number = 3;- Specified by:
getNumberin interfaceConsensusMessageChunkInfoOrBuilder- Returns:
- The number.
-
parseFrom
public static ConsensusMessageChunkInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConsensusMessageChunkInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConsensusMessageChunkInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConsensusMessageChunkInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConsensusMessageChunkInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConsensusMessageChunkInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ConsensusMessageChunkInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ConsensusMessageChunkInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ConsensusMessageChunkInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ConsensusMessageChunkInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<ConsensusMessageChunkInfo,ConsensusMessageChunkInfo.Builder>
-
getDefaultInstance
-
parser
-