Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface ConsensusMessageChunkInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
ConsensusMessageChunkInfo,ConsensusMessageChunkInfo.Builder
@Generated
public interface ConsensusMessageChunkInfoOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* 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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasInitialTransactionID
boolean hasInitialTransactionID()* The TransactionID of the first chunk. <p> This MUST be set for every chunk in a fragmented message.
.proto.TransactionID initialTransactionID = 1;- Returns:
- Whether the initialTransactionID field is set.
-
getInitialTransactionID
TransactionID getInitialTransactionID()* The TransactionID of the first chunk. <p> This MUST be set for every chunk in a fragmented message.
.proto.TransactionID initialTransactionID = 1;- Returns:
- The initialTransactionID.
-
getTotal
int getTotal()* The total number of chunks in the message.
int32 total = 2;- Returns:
- The total.
-
getNumber
int getNumber()* The sequence number (from 1 to total) of the current chunk in the message.
int32 number = 3;- Returns:
- The number.
-