Module com.hedera.hashgraph.sdk
Interface ConsensusTopicResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
ConsensusTopicResponse,ConsensusTopicResponse.Builder
@Generated
public interface ConsensusTopicResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* Optional information of the current chunk in a fragmented message.* The time at which the transaction reached consensuscom.google.protobuf.ByteString* The message body originally in the ConsensusSubmitMessageTransactionBody.com.google.protobuf.ByteString* The running hash (SHA384) of every message.long* Version of the SHA-384 digest used to update the running hash.long* Starts at 1 for first submitted message.boolean* Optional information of the current chunk in a fragmented message.boolean* The time at which the transaction reached consensusMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasConsensusTimestamp
boolean hasConsensusTimestamp()* The time at which the transaction reached consensus
.proto.Timestamp consensusTimestamp = 1;- Returns:
- Whether the consensusTimestamp field is set.
-
getConsensusTimestamp
Timestamp getConsensusTimestamp()* The time at which the transaction reached consensus
.proto.Timestamp consensusTimestamp = 1;- Returns:
- The consensusTimestamp.
-
getMessage
com.google.protobuf.ByteString getMessage()* The message body originally in the ConsensusSubmitMessageTransactionBody. Message size will be less than 6KiB.
bytes message = 2;- Returns:
- The message.
-
getRunningHash
com.google.protobuf.ByteString getRunningHash()* The running hash (SHA384) of every message.
bytes runningHash = 3;- Returns:
- The runningHash.
-
getSequenceNumber
long getSequenceNumber()* Starts at 1 for first submitted message. Incremented on each submitted message.
uint64 sequenceNumber = 4;- Returns:
- The sequenceNumber.
-
getRunningHashVersion
long getRunningHashVersion()* Version of the SHA-384 digest used to update the running hash.
uint64 runningHashVersion = 5;- Returns:
- The runningHashVersion.
-
hasChunkInfo
boolean hasChunkInfo()* Optional information of the current chunk in a fragmented message.
.proto.ConsensusMessageChunkInfo chunkInfo = 6;- Returns:
- Whether the chunkInfo field is set.
-
getChunkInfo
ConsensusMessageChunkInfo getChunkInfo()* Optional information of the current chunk in a fragmented message.
.proto.ConsensusMessageChunkInfo chunkInfo = 6;- Returns:
- The chunkInfo.
-