All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hedera.hapi.platform.state.legacy.PlatformStateOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.57.3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: state/platform_state.proto

package com.hedera.hapi.platform.state.legacy;

public interface PlatformStateOrBuilder extends
    // @@protoc_insertion_point(interface_extends:com.hedera.hapi.platform.state.PlatformState)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   **
   * A version describing the current version of application software.
   * <p>
   * This SHALL be the software version that created this state.
   * 
* * .proto.SemanticVersion creation_software_version = 1; * @return Whether the creationSoftwareVersion field is set. */ boolean hasCreationSoftwareVersion(); /** *
   **
   * A version describing the current version of application software.
   * <p>
   * This SHALL be the software version that created this state.
   * 
* * .proto.SemanticVersion creation_software_version = 1; * @return The creationSoftwareVersion. */ com.hederahashgraph.api.proto.java.SemanticVersion getCreationSoftwareVersion(); /** *
   **
   * A version describing the current version of application software.
   * <p>
   * This SHALL be the software version that created this state.
   * 
* * .proto.SemanticVersion creation_software_version = 1; */ com.hederahashgraph.api.proto.java.SemanticVersionOrBuilder getCreationSoftwareVersionOrBuilder(); /** *
   **
   * A number of non-ancient rounds.
   * <p>
   * This SHALL be the count of rounds considered non-ancient.
   * 
* * uint32 rounds_non_ancient = 2; * @return The roundsNonAncient. */ int getRoundsNonAncient(); /** *
   **
   * A snapshot of the consensus state at the end of the round.
   * <p>
   * This SHALL be used for restart/reconnect.
   * 
* * .com.hedera.hapi.platform.state.ConsensusSnapshot consensus_snapshot = 3; * @return Whether the consensusSnapshot field is set. */ boolean hasConsensusSnapshot(); /** *
   **
   * A snapshot of the consensus state at the end of the round.
   * <p>
   * This SHALL be used for restart/reconnect.
   * 
* * .com.hedera.hapi.platform.state.ConsensusSnapshot consensus_snapshot = 3; * @return The consensusSnapshot. */ com.hedera.hapi.platform.state.legacy.ConsensusSnapshot getConsensusSnapshot(); /** *
   **
   * A snapshot of the consensus state at the end of the round.
   * <p>
   * This SHALL be used for restart/reconnect.
   * 
* * .com.hedera.hapi.platform.state.ConsensusSnapshot consensus_snapshot = 3; */ com.hedera.hapi.platform.state.legacy.ConsensusSnapshotOrBuilder getConsensusSnapshotOrBuilder(); /** *
   **
   * A timestamp for the next scheduled time when a freeze will start.
   * <p>
   * If a freeze is not scheduled, this SHALL NOT be set.<br/>
   * If a freeze is currently scheduled, this MUST be set, and MUST
   * match the timestamp requested for that freeze.
   * 
* * .proto.Timestamp freeze_time = 4; * @return Whether the freezeTime field is set. */ boolean hasFreezeTime(); /** *
   **
   * A timestamp for the next scheduled time when a freeze will start.
   * <p>
   * If a freeze is not scheduled, this SHALL NOT be set.<br/>
   * If a freeze is currently scheduled, this MUST be set, and MUST
   * match the timestamp requested for that freeze.
   * 
* * .proto.Timestamp freeze_time = 4; * @return The freezeTime. */ com.hederahashgraph.api.proto.java.Timestamp getFreezeTime(); /** *
   **
   * A timestamp for the next scheduled time when a freeze will start.
   * <p>
   * If a freeze is not scheduled, this SHALL NOT be set.<br/>
   * If a freeze is currently scheduled, this MUST be set, and MUST
   * match the timestamp requested for that freeze.
   * 
* * .proto.Timestamp freeze_time = 4; */ com.hederahashgraph.api.proto.java.TimestampOrBuilder getFreezeTimeOrBuilder(); /** *
   **
   * A timestamp for the last time a freeze was performed.<br/>
   * If not set, there has never been a freeze.
   * 
* * .proto.Timestamp last_frozen_time = 5; * @return Whether the lastFrozenTime field is set. */ boolean hasLastFrozenTime(); /** *
   **
   * A timestamp for the last time a freeze was performed.<br/>
   * If not set, there has never been a freeze.
   * 
* * .proto.Timestamp last_frozen_time = 5; * @return The lastFrozenTime. */ com.hederahashgraph.api.proto.java.Timestamp getLastFrozenTime(); /** *
   **
   * A timestamp for the last time a freeze was performed.<br/>
   * If not set, there has never been a freeze.
   * 
* * .proto.Timestamp last_frozen_time = 5; */ com.hederahashgraph.api.proto.java.TimestampOrBuilder getLastFrozenTimeOrBuilder(); /** *
   **
   * A running event hash.<br/>
   * This is computed by the consensus event stream.
   * <p>
   * This will be _removed_ and the field number reserved once the consensus
   * event stream is retired.
   * 
* * bytes legacy_running_event_hash = 10000 [deprecated = true]; * @return The legacyRunningEventHash. */ @java.lang.Deprecated com.google.protobuf.ByteString getLegacyRunningEventHash(); /** *
   **
   * A consensus generation.<br/>
   * The lowest judge generation before birth round mode was enabled.
   * <p>
   * This SHALL be `MAX_UNSIGNED` if birth round mode has not yet been enabled.
   * 
* * uint64 lowest_judge_generation_before_birth_round_mode = 10001 [deprecated = true]; * @return The lowestJudgeGenerationBeforeBirthRoundMode. */ @java.lang.Deprecated long getLowestJudgeGenerationBeforeBirthRoundMode(); /** *
   **
   * A consensus round.<br/>
   * The last round before the birth round mode was enabled.
   * Will be removed after the birth round migration.
   * <p>
   * This SHALL be `MAX_UNSIGNED` if birth round mode has not yet been enabled.
   * 
* * uint64 last_round_before_birth_round_mode = 10002 [deprecated = true]; * @return The lastRoundBeforeBirthRoundMode. */ @java.lang.Deprecated long getLastRoundBeforeBirthRoundMode(); /** *
   **
   * A consensus node semantic version.<br/>
   * The software version that enabled birth round mode.
   * <p>
   * This SHALL be unset if birth round migration has not yet happened.<br/>
   * If birth round migration is complete, this SHALL be the _first_ software
   * version that enabled birth round mode.
   * 
* * .proto.SemanticVersion first_version_in_birth_round_mode = 10003 [deprecated = true]; * @return Whether the firstVersionInBirthRoundMode field is set. */ @java.lang.Deprecated boolean hasFirstVersionInBirthRoundMode(); /** *
   **
   * A consensus node semantic version.<br/>
   * The software version that enabled birth round mode.
   * <p>
   * This SHALL be unset if birth round migration has not yet happened.<br/>
   * If birth round migration is complete, this SHALL be the _first_ software
   * version that enabled birth round mode.
   * 
* * .proto.SemanticVersion first_version_in_birth_round_mode = 10003 [deprecated = true]; * @return The firstVersionInBirthRoundMode. */ @java.lang.Deprecated com.hederahashgraph.api.proto.java.SemanticVersion getFirstVersionInBirthRoundMode(); /** *
   **
   * A consensus node semantic version.<br/>
   * The software version that enabled birth round mode.
   * <p>
   * This SHALL be unset if birth round migration has not yet happened.<br/>
   * If birth round migration is complete, this SHALL be the _first_ software
   * version that enabled birth round mode.
   * 
* * .proto.SemanticVersion first_version_in_birth_round_mode = 10003 [deprecated = true]; */ @java.lang.Deprecated com.hederahashgraph.api.proto.java.SemanticVersionOrBuilder getFirstVersionInBirthRoundModeOrBuilder(); /** *
   **
   * An address book for this round.
   * <p>
   * This SHALL be the latest network-consensus view of consensus nodes.
   * 
* * .com.hedera.hapi.platform.state.AddressBook address_book = 10004 [deprecated = true]; * @return Whether the addressBook field is set. */ @java.lang.Deprecated boolean hasAddressBook(); /** *
   **
   * An address book for this round.
   * <p>
   * This SHALL be the latest network-consensus view of consensus nodes.
   * 
* * .com.hedera.hapi.platform.state.AddressBook address_book = 10004 [deprecated = true]; * @return The addressBook. */ @java.lang.Deprecated com.hedera.hapi.platform.state.legacy.AddressBook getAddressBook(); /** *
   **
   * An address book for this round.
   * <p>
   * This SHALL be the latest network-consensus view of consensus nodes.
   * 
* * .com.hedera.hapi.platform.state.AddressBook address_book = 10004 [deprecated = true]; */ @java.lang.Deprecated com.hedera.hapi.platform.state.legacy.AddressBookOrBuilder getAddressBookOrBuilder(); /** *
   **
   * A previous address book.
   * <p>
   * If present, the previous address book SHALL be the address book from the
   * most recent preceding round.
   * <p>
   * This is a temporary workaround until dynamic address books are supported.
   * 
* * .com.hedera.hapi.platform.state.AddressBook previous_address_book = 10005 [deprecated = true]; * @return Whether the previousAddressBook field is set. */ @java.lang.Deprecated boolean hasPreviousAddressBook(); /** *
   **
   * A previous address book.
   * <p>
   * If present, the previous address book SHALL be the address book from the
   * most recent preceding round.
   * <p>
   * This is a temporary workaround until dynamic address books are supported.
   * 
* * .com.hedera.hapi.platform.state.AddressBook previous_address_book = 10005 [deprecated = true]; * @return The previousAddressBook. */ @java.lang.Deprecated com.hedera.hapi.platform.state.legacy.AddressBook getPreviousAddressBook(); /** *
   **
   * A previous address book.
   * <p>
   * If present, the previous address book SHALL be the address book from the
   * most recent preceding round.
   * <p>
   * This is a temporary workaround until dynamic address books are supported.
   * 
* * .com.hedera.hapi.platform.state.AddressBook previous_address_book = 10005 [deprecated = true]; */ @java.lang.Deprecated com.hedera.hapi.platform.state.legacy.AddressBookOrBuilder getPreviousAddressBookOrBuilder(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy