java.lang.Object
com.google.protobuf.AbstractMessageLite<ThrottleUsageSnapshots,ThrottleUsageSnapshots.Builder>
com.google.protobuf.GeneratedMessageLite<ThrottleUsageSnapshots,ThrottleUsageSnapshots.Builder>
com.hedera.hashgraph.sdk.proto.ThrottleUsageSnapshots
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,ThrottleUsageSnapshotsOrBuilder
@Generated
public final class ThrottleUsageSnapshots
extends com.google.protobuf.GeneratedMessageLite<ThrottleUsageSnapshots,ThrottleUsageSnapshots.Builder>
implements ThrottleUsageSnapshotsOrBuilder
* All point-in-time snapshots of throttle usage for TPS, "gas" throttle values for a given point in time and evm ops duration throttle. > Question: >> What point in time? Should this store consensus timestamp here?Protobuf type
proto.ThrottleUsageSnapshots-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* All point-in-time snapshots of throttle usage for TPS, "gas" throttle values for a given point in time and evm ops duration throttle.Nested 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 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) static ThrottleUsageSnapshots* A single snapshot for evm ops duration throttle.* A single snapshot for the gas throttle.getTpsThrottles(int index) * A list of snapshots for TPS throttles.int* A list of snapshots for TPS throttles.* A list of snapshots for TPS throttles.getTpsThrottlesOrBuilder(int index) * A list of snapshots for TPS throttles.List<? extends ThrottleUsageSnapshotOrBuilder> * A list of snapshots for TPS throttles.boolean* A single snapshot for evm ops duration throttle.boolean* A single snapshot for the gas throttle.newBuilder(ThrottleUsageSnapshots prototype) static ThrottleUsageSnapshotsparseDelimitedFrom(InputStream input) static ThrottleUsageSnapshotsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ThrottleUsageSnapshotsparseFrom(byte[] data) static ThrottleUsageSnapshotsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ThrottleUsageSnapshotsparseFrom(com.google.protobuf.ByteString data) static ThrottleUsageSnapshotsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ThrottleUsageSnapshotsparseFrom(com.google.protobuf.CodedInputStream input) static ThrottleUsageSnapshotsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ThrottleUsageSnapshotsparseFrom(InputStream input) static ThrottleUsageSnapshotsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ThrottleUsageSnapshotsparseFrom(ByteBuffer data) static ThrottleUsageSnapshotsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ThrottleUsageSnapshots> 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
-
TPS_THROTTLES_FIELD_NUMBER
public static final int TPS_THROTTLES_FIELD_NUMBER- See Also:
-
GAS_THROTTLE_FIELD_NUMBER
public static final int GAS_THROTTLE_FIELD_NUMBER- See Also:
-
EVM_OPS_DURATION_THROTTLE_FIELD_NUMBER
public static final int EVM_OPS_DURATION_THROTTLE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getTpsThrottlesList
* A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1;- Specified by:
getTpsThrottlesListin interfaceThrottleUsageSnapshotsOrBuilder
-
getTpsThrottlesOrBuilderList
* A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1; -
getTpsThrottlesCount
public int getTpsThrottlesCount()* A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1;- Specified by:
getTpsThrottlesCountin interfaceThrottleUsageSnapshotsOrBuilder
-
getTpsThrottles
* A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1;- Specified by:
getTpsThrottlesin interfaceThrottleUsageSnapshotsOrBuilder
-
getTpsThrottlesOrBuilder
* A list of snapshots for TPS throttles. <p> <blockquote>Question:<blockquote>What is the order?</blockquote></blockquote>
repeated .proto.ThrottleUsageSnapshot tps_throttles = 1; -
hasGasThrottle
public boolean hasGasThrottle()* A single snapshot for the gas throttle.
.proto.ThrottleUsageSnapshot gas_throttle = 2;- Specified by:
hasGasThrottlein interfaceThrottleUsageSnapshotsOrBuilder- Returns:
- Whether the gasThrottle field is set.
-
getGasThrottle
* A single snapshot for the gas throttle.
.proto.ThrottleUsageSnapshot gas_throttle = 2;- Specified by:
getGasThrottlein interfaceThrottleUsageSnapshotsOrBuilder- Returns:
- The gasThrottle.
-
hasEvmOpsDurationThrottle
public boolean hasEvmOpsDurationThrottle()* A single snapshot for evm ops duration throttle.
.proto.ThrottleUsageSnapshot evm_ops_duration_throttle = 3;- Specified by:
hasEvmOpsDurationThrottlein interfaceThrottleUsageSnapshotsOrBuilder- Returns:
- Whether the evmOpsDurationThrottle field is set.
-
getEvmOpsDurationThrottle
* A single snapshot for evm ops duration throttle.
.proto.ThrottleUsageSnapshot evm_ops_duration_throttle = 3;- Specified by:
getEvmOpsDurationThrottlein interfaceThrottleUsageSnapshotsOrBuilder- Returns:
- The evmOpsDurationThrottle.
-
parseFrom
public static ThrottleUsageSnapshots parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThrottleUsageSnapshots parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThrottleUsageSnapshots parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThrottleUsageSnapshots parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThrottleUsageSnapshots parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThrottleUsageSnapshots parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ThrottleUsageSnapshots parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ThrottleUsageSnapshots parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ThrottleUsageSnapshots parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ThrottleUsageSnapshots 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<ThrottleUsageSnapshots,ThrottleUsageSnapshots.Builder>
-
getDefaultInstance
-
parser
-