com.hedera.hapi.platform.event.legacy.EventConsensusDataOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: event/event_consensus_data.proto
package com.hedera.hapi.platform.event.legacy;
public interface EventConsensusDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.hedera.hapi.platform.event.EventConsensusData)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* 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;
* @return Whether the consensusTimestamp field is set.
*/
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;
* @return The consensusTimestamp.
*/
com.hederahashgraph.api.proto.java.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;
*/
com.hederahashgraph.api.proto.java.TimestampOrBuilder getConsensusTimestampOrBuilder();
/**
*
**
* 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;
* @return The consensusOrder.
*/
long getConsensusOrder();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy