Module com.hedera.hashgraph.sdk
Interface EventConsensusDataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
EventConsensusData,EventConsensusData.Builder
@Generated
public interface EventConsensusDataOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlong* A consensus order sequence number.<br/> A non-negative sequence number that identifies an event's consensus order since genesis.* A consensus timestamp.<br/> The network's consensus agreement on a timestamp for this event.boolean* A consensus timestamp.<br/> The network's consensus agreement on a timestamp for this event.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasConsensusTimestamp
boolean hasConsensusTimestamp()* A consensus timestamp.<br/> The network's consensus agreement on a timestamp for this event. <p> This timestamp MUST be strictly greater than the `consensus_timestamp` of the previous consensus event.<br/> This is a consensus value and MAY NOT match real-world "wall clock" time.
.proto.Timestamp consensus_timestamp = 1;- Returns:
- Whether the consensusTimestamp field is set.
-
getConsensusTimestamp
Timestamp getConsensusTimestamp()* A consensus timestamp.<br/> The network's consensus agreement on a timestamp for this event. <p> This timestamp MUST be strictly greater than the `consensus_timestamp` of the previous consensus event.<br/> This is a consensus value and MAY NOT match real-world "wall clock" time.
.proto.Timestamp consensus_timestamp = 1;- Returns:
- The consensusTimestamp.
-
getConsensusOrder
long getConsensusOrder()* A consensus order sequence number.<br/> A non-negative sequence number that identifies an event's consensus order since genesis. <p> This SHALL be the unique for each consensus event.<br/> This SHALL always increase, and SHALL NOT decrease.<br/> This SHALL increment by one for each consensus event.
uint64 consensus_order = 2;- Returns:
- The consensusOrder.
-