Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface ConsensusSubmitMessageTransactionBodyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
ConsensusSubmitMessageTransactionBody,ConsensusSubmitMessageTransactionBody.Builder
@Generated
public interface ConsensusSubmitMessageTransactionBodyOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* Information for the current "chunk" in a fragmented message.com.google.protobuf.ByteString* A message to be submitted.* Topic to submit message to.boolean* Information for the current "chunk" in a fragmented message.boolean* Topic to submit message to.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasTopicID
boolean hasTopicID()* Topic to submit message to.
.proto.TopicID topicID = 1;- Returns:
- Whether the topicID field is set.
-
getTopicID
TopicID getTopicID()* Topic to submit message to.
.proto.TopicID topicID = 1;- Returns:
- The topicID.
-
getMessage
com.google.protobuf.ByteString getMessage()* A message to be submitted. <p> This Transaction (including signatures) MUST be less than 6KiB.<br/> Messages SHOULD be less than 4KiB. A "chunked" message MAY be submitted if a message larger than this is required.
bytes message = 2;- Returns:
- The message.
-
hasChunkInfo
boolean hasChunkInfo()* Information for the current "chunk" in a fragmented message. <p> This value is REQUIRED if the full `message` is submitted in two or more fragments due to transaction size limits.<br/> If the message is submitted in a single transaction, then this field SHOULD NOT be set.
.proto.ConsensusMessageChunkInfo chunkInfo = 3;- Returns:
- Whether the chunkInfo field is set.
-
getChunkInfo
ConsensusMessageChunkInfo getChunkInfo()* Information for the current "chunk" in a fragmented message. <p> This value is REQUIRED if the full `message` is submitted in two or more fragments due to transaction size limits.<br/> If the message is submitted in a single transaction, then this field SHOULD NOT be set.
.proto.ConsensusMessageChunkInfo chunkInfo = 3;- Returns:
- The chunkInfo.
-