Module com.hedera.hashgraph.sdk
Class ConsensusTopicResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite<ConsensusTopicResponse,ConsensusTopicResponse.Builder>
com.google.protobuf.GeneratedMessageLite<ConsensusTopicResponse,ConsensusTopicResponse.Builder>
com.hedera.hashgraph.sdk.proto.mirror.ConsensusTopicResponse
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,ConsensusTopicResponseOrBuilder
@Generated
public final class ConsensusTopicResponse
extends com.google.protobuf.GeneratedMessageLite<ConsensusTopicResponse,ConsensusTopicResponse.Builder>
implements ConsensusTopicResponseOrBuilder
Protobuf type
com.hedera.mirror.api.proto.ConsensusTopicResponse-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typecom.hedera.mirror.api.proto.ConsensusTopicResponseNested 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 intstatic 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) * Optional information of the current chunk in a fragmented message.* The time at which the transaction reached consensusstatic ConsensusTopicResponsecom.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 consensusnewBuilder(ConsensusTopicResponse prototype) static ConsensusTopicResponseparseDelimitedFrom(InputStream input) static ConsensusTopicResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConsensusTopicResponseparseFrom(byte[] data) static ConsensusTopicResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConsensusTopicResponseparseFrom(com.google.protobuf.ByteString data) static ConsensusTopicResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConsensusTopicResponseparseFrom(com.google.protobuf.CodedInputStream input) static ConsensusTopicResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConsensusTopicResponseparseFrom(InputStream input) static ConsensusTopicResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConsensusTopicResponseparseFrom(ByteBuffer data) static ConsensusTopicResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ConsensusTopicResponse> 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
-
CONSENSUSTIMESTAMP_FIELD_NUMBER
public static final int CONSENSUSTIMESTAMP_FIELD_NUMBER- See Also:
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER- See Also:
-
RUNNINGHASH_FIELD_NUMBER
public static final int RUNNINGHASH_FIELD_NUMBER- See Also:
-
SEQUENCENUMBER_FIELD_NUMBER
public static final int SEQUENCENUMBER_FIELD_NUMBER- See Also:
-
RUNNINGHASHVERSION_FIELD_NUMBER
public static final int RUNNINGHASHVERSION_FIELD_NUMBER- See Also:
-
CHUNKINFO_FIELD_NUMBER
public static final int CHUNKINFO_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasConsensusTimestamp
public boolean hasConsensusTimestamp()* The time at which the transaction reached consensus
.proto.Timestamp consensusTimestamp = 1;- Specified by:
hasConsensusTimestampin interfaceConsensusTopicResponseOrBuilder- Returns:
- Whether the consensusTimestamp field is set.
-
getConsensusTimestamp
* The time at which the transaction reached consensus
.proto.Timestamp consensusTimestamp = 1;- Specified by:
getConsensusTimestampin interfaceConsensusTopicResponseOrBuilder- Returns:
- The consensusTimestamp.
-
getMessage
public com.google.protobuf.ByteString getMessage()* The message body originally in the ConsensusSubmitMessageTransactionBody. Message size will be less than 6KiB.
bytes message = 2;- Specified by:
getMessagein interfaceConsensusTopicResponseOrBuilder- Returns:
- The message.
-
getRunningHash
public com.google.protobuf.ByteString getRunningHash()* The running hash (SHA384) of every message.
bytes runningHash = 3;- Specified by:
getRunningHashin interfaceConsensusTopicResponseOrBuilder- Returns:
- The runningHash.
-
getSequenceNumber
public long getSequenceNumber()* Starts at 1 for first submitted message. Incremented on each submitted message.
uint64 sequenceNumber = 4;- Specified by:
getSequenceNumberin interfaceConsensusTopicResponseOrBuilder- Returns:
- The sequenceNumber.
-
getRunningHashVersion
public long getRunningHashVersion()* Version of the SHA-384 digest used to update the running hash.
uint64 runningHashVersion = 5;- Specified by:
getRunningHashVersionin interfaceConsensusTopicResponseOrBuilder- Returns:
- The runningHashVersion.
-
hasChunkInfo
public boolean hasChunkInfo()* Optional information of the current chunk in a fragmented message.
.proto.ConsensusMessageChunkInfo chunkInfo = 6;- Specified by:
hasChunkInfoin interfaceConsensusTopicResponseOrBuilder- Returns:
- Whether the chunkInfo field is set.
-
getChunkInfo
* Optional information of the current chunk in a fragmented message.
.proto.ConsensusMessageChunkInfo chunkInfo = 6;- Specified by:
getChunkInfoin interfaceConsensusTopicResponseOrBuilder- Returns:
- The chunkInfo.
-
parseFrom
public static ConsensusTopicResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConsensusTopicResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConsensusTopicResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConsensusTopicResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConsensusTopicResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConsensusTopicResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ConsensusTopicResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ConsensusTopicResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ConsensusTopicResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ConsensusTopicResponse 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<ConsensusTopicResponse,ConsensusTopicResponse.Builder>
-
getDefaultInstance
-
parser
-