com.hedera.hapi.block.stream.output.protoc.SingletonUpdateChangeOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: stream/output/state_changes.proto
package com.hedera.hapi.block.stream.output.protoc;
public interface SingletonUpdateChangeOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.hedera.hapi.block.stream.output.SingletonUpdateChange)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* A change to the block info singleton.
* <p>
* The `BlockInfo` SHALL be updated at the end of every block and
* SHALL store, among other fields, the last 256 block hash values.
* <blockquote>REVIEW NOTE<blockquote>
* The full BlockInfo will be in the state proof, and may not be
* necessary here.</blockquote></blockquote>
*
*
* .proto.BlockInfo block_info_value = 1;
* @return Whether the blockInfoValue field is set.
*/
boolean hasBlockInfoValue();
/**
*
**
* A change to the block info singleton.
* <p>
* The `BlockInfo` SHALL be updated at the end of every block and
* SHALL store, among other fields, the last 256 block hash values.
* <blockquote>REVIEW NOTE<blockquote>
* The full BlockInfo will be in the state proof, and may not be
* necessary here.</blockquote></blockquote>
*
*
* .proto.BlockInfo block_info_value = 1;
* @return The blockInfoValue.
*/
com.hederahashgraph.api.proto.java.BlockInfo getBlockInfoValue();
/**
*
**
* A change to the block info singleton.
* <p>
* The `BlockInfo` SHALL be updated at the end of every block and
* SHALL store, among other fields, the last 256 block hash values.
* <blockquote>REVIEW NOTE<blockquote>
* The full BlockInfo will be in the state proof, and may not be
* necessary here.</blockquote></blockquote>
*
*
* .proto.BlockInfo block_info_value = 1;
*/
com.hederahashgraph.api.proto.java.BlockInfoOrBuilder getBlockInfoValueOrBuilder();
/**
*
**
* A change to the congestion level starts singleton.
* <p>
* This change SHALL be present if congestion level pricing for
* general fees or gas fees started during the current block.
*
*
* .proto.CongestionLevelStarts congestion_level_starts_value = 2;
* @return Whether the congestionLevelStartsValue field is set.
*/
boolean hasCongestionLevelStartsValue();
/**
*
**
* A change to the congestion level starts singleton.
* <p>
* This change SHALL be present if congestion level pricing for
* general fees or gas fees started during the current block.
*
*
* .proto.CongestionLevelStarts congestion_level_starts_value = 2;
* @return The congestionLevelStartsValue.
*/
com.hederahashgraph.api.proto.java.CongestionLevelStarts getCongestionLevelStartsValue();
/**
*
**
* A change to the congestion level starts singleton.
* <p>
* This change SHALL be present if congestion level pricing for
* general fees or gas fees started during the current block.
*
*
* .proto.CongestionLevelStarts congestion_level_starts_value = 2;
*/
com.hederahashgraph.api.proto.java.CongestionLevelStartsOrBuilder getCongestionLevelStartsValueOrBuilder();
/**
*
**
* A change to the Entity Identifier singleton.
* <p>
* The Entity Identifier singleton SHALL track the highest entity
* identifier used for the current shard and realm and SHALL be used
* to issue new entity numbers.
*
*
* .google.protobuf.UInt64Value entity_number_value = 3;
* @return Whether the entityNumberValue field is set.
*/
boolean hasEntityNumberValue();
/**
*
**
* A change to the Entity Identifier singleton.
* <p>
* The Entity Identifier singleton SHALL track the highest entity
* identifier used for the current shard and realm and SHALL be used
* to issue new entity numbers.
*
*
* .google.protobuf.UInt64Value entity_number_value = 3;
* @return The entityNumberValue.
*/
com.google.protobuf.UInt64Value getEntityNumberValue();
/**
*
**
* A change to the Entity Identifier singleton.
* <p>
* The Entity Identifier singleton SHALL track the highest entity
* identifier used for the current shard and realm and SHALL be used
* to issue new entity numbers.
*
*
* .google.protobuf.UInt64Value entity_number_value = 3;
*/
com.google.protobuf.UInt64ValueOrBuilder getEntityNumberValueOrBuilder();
/**
*
**
* A change to the exchange rates singleton.
* <p>
* This change SHALL be present if the <tt>HBAR<=>USD</tt> exchange
* rate, as stored in the "midnight rates" singleton changed
* during the current block.
*
*
* .proto.ExchangeRateSet exchange_rate_set_value = 4;
* @return Whether the exchangeRateSetValue field is set.
*/
boolean hasExchangeRateSetValue();
/**
*
**
* A change to the exchange rates singleton.
* <p>
* This change SHALL be present if the <tt>HBAR<=>USD</tt> exchange
* rate, as stored in the "midnight rates" singleton changed
* during the current block.
*
*
* .proto.ExchangeRateSet exchange_rate_set_value = 4;
* @return The exchangeRateSetValue.
*/
com.hederahashgraph.api.proto.java.ExchangeRateSet getExchangeRateSetValue();
/**
*
**
* A change to the exchange rates singleton.
* <p>
* This change SHALL be present if the <tt>HBAR<=>USD</tt> exchange
* rate, as stored in the "midnight rates" singleton changed
* during the current block.
*
*
* .proto.ExchangeRateSet exchange_rate_set_value = 4;
*/
com.hederahashgraph.api.proto.java.ExchangeRateSetOrBuilder getExchangeRateSetValueOrBuilder();
/**
*
**
* A change to the network staking rewards singleton.
* <p>
* Network staking rewards SHALL be updated for every non-empty block.
*
*
* .proto.NetworkStakingRewards network_staking_rewards_value = 5;
* @return Whether the networkStakingRewardsValue field is set.
*/
boolean hasNetworkStakingRewardsValue();
/**
*
**
* A change to the network staking rewards singleton.
* <p>
* Network staking rewards SHALL be updated for every non-empty block.
*
*
* .proto.NetworkStakingRewards network_staking_rewards_value = 5;
* @return The networkStakingRewardsValue.
*/
com.hederahashgraph.api.proto.java.NetworkStakingRewards getNetworkStakingRewardsValue();
/**
*
**
* A change to the network staking rewards singleton.
* <p>
* Network staking rewards SHALL be updated for every non-empty block.
*
*
* .proto.NetworkStakingRewards network_staking_rewards_value = 5;
*/
com.hederahashgraph.api.proto.java.NetworkStakingRewardsOrBuilder getNetworkStakingRewardsValueOrBuilder();
/**
*
**
* A change to a raw byte array singleton.
* <p>
* This change SHALL present a change made to a raw byte array
* singleton.<br/>
* The "upgrade file hash" state is an example of a raw byte
* array singleton.
*
*
* .google.protobuf.BytesValue bytes_value = 6;
* @return Whether the bytesValue field is set.
*/
boolean hasBytesValue();
/**
*
**
* A change to a raw byte array singleton.
* <p>
* This change SHALL present a change made to a raw byte array
* singleton.<br/>
* The "upgrade file hash" state is an example of a raw byte
* array singleton.
*
*
* .google.protobuf.BytesValue bytes_value = 6;
* @return The bytesValue.
*/
com.google.protobuf.BytesValue getBytesValue();
/**
*
**
* A change to a raw byte array singleton.
* <p>
* This change SHALL present a change made to a raw byte array
* singleton.<br/>
* The "upgrade file hash" state is an example of a raw byte
* array singleton.
*
*
* .google.protobuf.BytesValue bytes_value = 6;
*/
com.google.protobuf.BytesValueOrBuilder getBytesValueOrBuilder();
/**
*
**
* A change to a raw string singleton.
* <p>
* <dl><dt>Note</dt><dd>There are no current examples of a raw string
* singleton state.</dd></dl>
*
*
* .google.protobuf.StringValue string_value = 7;
* @return Whether the stringValue field is set.
*/
boolean hasStringValue();
/**
*
**
* A change to a raw string singleton.
* <p>
* <dl><dt>Note</dt><dd>There are no current examples of a raw string
* singleton state.</dd></dl>
*
*
* .google.protobuf.StringValue string_value = 7;
* @return The stringValue.
*/
com.google.protobuf.StringValue getStringValue();
/**
*
**
* A change to a raw string singleton.
* <p>
* <dl><dt>Note</dt><dd>There are no current examples of a raw string
* singleton state.</dd></dl>
*
*
* .google.protobuf.StringValue string_value = 7;
*/
com.google.protobuf.StringValueOrBuilder getStringValueOrBuilder();
/**
*
**
* A change to the running hashes singleton.
* <p>
* Running hashes SHALL be updated for each transaction.
* <p>
* <blockquote>REVIEW NOTE<blockquote>
* Running hashes is a record stream item. Can it be elided from
* the block stream? It's not written to the record stream, as far
* as I can tell. If we do write this it's adding over 144 bytes
* for every transaction. It's also not clear how we'll calculate
* this, as it's a hash of the records currently, so it would have
* to be a hash of the block items, including this one...
* </blockquote></blockquote>
*
*
* .proto.RunningHashes running_hashes_value = 8;
* @return Whether the runningHashesValue field is set.
*/
boolean hasRunningHashesValue();
/**
*
**
* A change to the running hashes singleton.
* <p>
* Running hashes SHALL be updated for each transaction.
* <p>
* <blockquote>REVIEW NOTE<blockquote>
* Running hashes is a record stream item. Can it be elided from
* the block stream? It's not written to the record stream, as far
* as I can tell. If we do write this it's adding over 144 bytes
* for every transaction. It's also not clear how we'll calculate
* this, as it's a hash of the records currently, so it would have
* to be a hash of the block items, including this one...
* </blockquote></blockquote>
*
*
* .proto.RunningHashes running_hashes_value = 8;
* @return The runningHashesValue.
*/
com.hederahashgraph.api.proto.java.RunningHashes getRunningHashesValue();
/**
*
**
* A change to the running hashes singleton.
* <p>
* Running hashes SHALL be updated for each transaction.
* <p>
* <blockquote>REVIEW NOTE<blockquote>
* Running hashes is a record stream item. Can it be elided from
* the block stream? It's not written to the record stream, as far
* as I can tell. If we do write this it's adding over 144 bytes
* for every transaction. It's also not clear how we'll calculate
* this, as it's a hash of the records currently, so it would have
* to be a hash of the block items, including this one...
* </blockquote></blockquote>
*
*
* .proto.RunningHashes running_hashes_value = 8;
*/
com.hederahashgraph.api.proto.java.RunningHashesOrBuilder getRunningHashesValueOrBuilder();
/**
*
**
* A change to the throttle usage snapshots singleton.
* <p>
* Throttle usage snapshots SHALL be updated for _every transaction_
* to reflect the amount used for each tps throttle and
* for the gas throttle.
*
*
* .proto.ThrottleUsageSnapshots throttle_usage_snapshots_value = 9;
* @return Whether the throttleUsageSnapshotsValue field is set.
*/
boolean hasThrottleUsageSnapshotsValue();
/**
*
**
* A change to the throttle usage snapshots singleton.
* <p>
* Throttle usage snapshots SHALL be updated for _every transaction_
* to reflect the amount used for each tps throttle and
* for the gas throttle.
*
*
* .proto.ThrottleUsageSnapshots throttle_usage_snapshots_value = 9;
* @return The throttleUsageSnapshotsValue.
*/
com.hederahashgraph.api.proto.java.ThrottleUsageSnapshots getThrottleUsageSnapshotsValue();
/**
*
**
* A change to the throttle usage snapshots singleton.
* <p>
* Throttle usage snapshots SHALL be updated for _every transaction_
* to reflect the amount used for each tps throttle and
* for the gas throttle.
*
*
* .proto.ThrottleUsageSnapshots throttle_usage_snapshots_value = 9;
*/
com.hederahashgraph.api.proto.java.ThrottleUsageSnapshotsOrBuilder getThrottleUsageSnapshotsValueOrBuilder();
/**
*
**
* A change to a raw `Timestamp` singleton.<br/>
* An example of a raw `Timestamp` singleton is the
* "network freeze time" singleton state, which, if set, stores
* the time for the next scheduled freeze.
*
*
* .proto.Timestamp timestamp_value = 10;
* @return Whether the timestampValue field is set.
*/
boolean hasTimestampValue();
/**
*
**
* A change to a raw `Timestamp` singleton.<br/>
* An example of a raw `Timestamp` singleton is the
* "network freeze time" singleton state, which, if set, stores
* the time for the next scheduled freeze.
*
*
* .proto.Timestamp timestamp_value = 10;
* @return The timestampValue.
*/
com.hederahashgraph.api.proto.java.Timestamp getTimestampValue();
/**
*
**
* A change to a raw `Timestamp` singleton.<br/>
* An example of a raw `Timestamp` singleton is the
* "network freeze time" singleton state, which, if set, stores
* the time for the next scheduled freeze.
*
*
* .proto.Timestamp timestamp_value = 10;
*/
com.hederahashgraph.api.proto.java.TimestampOrBuilder getTimestampValueOrBuilder();
/**
*
**
* A change to the block stream status singleton.
* <p>
* This MUST be updated at the beginning of a block, with the
* information for the immediately prior block.
*
*
* .com.hedera.hapi.node.state.blockstream.BlockStreamInfo block_stream_info_value = 11;
* @return Whether the blockStreamInfoValue field is set.
*/
boolean hasBlockStreamInfoValue();
/**
*
**
* A change to the block stream status singleton.
* <p>
* This MUST be updated at the beginning of a block, with the
* information for the immediately prior block.
*
*
* .com.hedera.hapi.node.state.blockstream.BlockStreamInfo block_stream_info_value = 11;
* @return The blockStreamInfoValue.
*/
com.hederahashgraph.api.proto.java.BlockStreamInfo getBlockStreamInfoValue();
/**
*
**
* A change to the block stream status singleton.
* <p>
* This MUST be updated at the beginning of a block, with the
* information for the immediately prior block.
*
*
* .com.hedera.hapi.node.state.blockstream.BlockStreamInfo block_stream_info_value = 11;
*/
com.hederahashgraph.api.proto.java.BlockStreamInfoOrBuilder getBlockStreamInfoValueOrBuilder();
/**
*
**
* A change to the platform state singleton.
*
*
* .com.hedera.hapi.platform.state.PlatformState platform_state_value = 12;
* @return Whether the platformStateValue field is set.
*/
boolean hasPlatformStateValue();
/**
*
**
* A change to the platform state singleton.
*
*
* .com.hedera.hapi.platform.state.PlatformState platform_state_value = 12;
* @return The platformStateValue.
*/
com.hedera.hapi.platform.state.legacy.PlatformState getPlatformStateValue();
/**
*
**
* A change to the platform state singleton.
*
*
* .com.hedera.hapi.platform.state.PlatformState platform_state_value = 12;
*/
com.hedera.hapi.platform.state.legacy.PlatformStateOrBuilder getPlatformStateValueOrBuilder();
/**
*
**
* A change to the roster state singleton.
*
*
* .com.hedera.hapi.node.state.roster.RosterState roster_state_value = 13;
* @return Whether the rosterStateValue field is set.
*/
boolean hasRosterStateValue();
/**
*
**
* A change to the roster state singleton.
*
*
* .com.hedera.hapi.node.state.roster.RosterState roster_state_value = 13;
* @return The rosterStateValue.
*/
com.hederahashgraph.api.proto.java.RosterState getRosterStateValue();
/**
*
**
* A change to the roster state singleton.
*
*
* .com.hedera.hapi.node.state.roster.RosterState roster_state_value = 13;
*/
com.hederahashgraph.api.proto.java.RosterStateOrBuilder getRosterStateValueOrBuilder();
public com.hedera.hapi.block.stream.output.protoc.SingletonUpdateChange.NewValueCase getNewValueCase();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy