Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class CurrentAndNextFeeSchedule
java.lang.Object
com.google.protobuf.AbstractMessageLite<CurrentAndNextFeeSchedule,CurrentAndNextFeeSchedule.Builder>
com.google.protobuf.GeneratedMessageLite<CurrentAndNextFeeSchedule,CurrentAndNextFeeSchedule.Builder>
com.hedera.hashgraph.sdk.proto.CurrentAndNextFeeSchedule
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,CurrentAndNextFeeScheduleOrBuilder
@Generated
public final class CurrentAndNextFeeSchedule
extends com.google.protobuf.GeneratedMessageLite<CurrentAndNextFeeSchedule,CurrentAndNextFeeSchedule.Builder>
implements CurrentAndNextFeeScheduleOrBuilder
* The "current" fee schedule and the "next" fee schedule. The current fee schedule is the schedule that SHALL apply to the current transaction.<br/> The next fee schedule is the schedule that SHALL apply after the current schedule expires.<br/> We store both to avoid a condition where transactions are processed very near the time when a fee schedule expires and it might be indeterminate which fees to apply. With both current and next fee schedule the network can deterministically apply the correct fee schedule based on consensus timestamp for each transaction.Protobuf type
proto.CurrentAndNextFeeSchedule-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* The "current" fee schedule and the "next" fee schedule.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 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) * A current, unexpired, fee schedule.static CurrentAndNextFeeSchedule* A future fee schedule to use when the current schedule expires.boolean* A current, unexpired, fee schedule.boolean* A future fee schedule to use when the current schedule expires.newBuilder(CurrentAndNextFeeSchedule prototype) static CurrentAndNextFeeScheduleparseDelimitedFrom(InputStream input) static CurrentAndNextFeeScheduleparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CurrentAndNextFeeScheduleparseFrom(byte[] data) static CurrentAndNextFeeScheduleparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CurrentAndNextFeeScheduleparseFrom(com.google.protobuf.ByteString data) static CurrentAndNextFeeScheduleparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CurrentAndNextFeeScheduleparseFrom(com.google.protobuf.CodedInputStream input) static CurrentAndNextFeeScheduleparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CurrentAndNextFeeScheduleparseFrom(InputStream input) static CurrentAndNextFeeScheduleparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CurrentAndNextFeeScheduleparseFrom(ByteBuffer data) static CurrentAndNextFeeScheduleparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CurrentAndNextFeeSchedule> 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
-
CURRENTFEESCHEDULE_FIELD_NUMBER
public static final int CURRENTFEESCHEDULE_FIELD_NUMBER- See Also:
-
NEXTFEESCHEDULE_FIELD_NUMBER
public static final int NEXTFEESCHEDULE_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasCurrentFeeSchedule
public boolean hasCurrentFeeSchedule()* A current, unexpired, fee schedule.
.proto.FeeSchedule currentFeeSchedule = 1;- Specified by:
hasCurrentFeeSchedulein interfaceCurrentAndNextFeeScheduleOrBuilder- Returns:
- Whether the currentFeeSchedule field is set.
-
getCurrentFeeSchedule
* A current, unexpired, fee schedule.
.proto.FeeSchedule currentFeeSchedule = 1;- Specified by:
getCurrentFeeSchedulein interfaceCurrentAndNextFeeScheduleOrBuilder- Returns:
- The currentFeeSchedule.
-
hasNextFeeSchedule
public boolean hasNextFeeSchedule()* A future fee schedule to use when the current schedule expires.
.proto.FeeSchedule nextFeeSchedule = 2;- Specified by:
hasNextFeeSchedulein interfaceCurrentAndNextFeeScheduleOrBuilder- Returns:
- Whether the nextFeeSchedule field is set.
-
getNextFeeSchedule
* A future fee schedule to use when the current schedule expires.
.proto.FeeSchedule nextFeeSchedule = 2;- Specified by:
getNextFeeSchedulein interfaceCurrentAndNextFeeScheduleOrBuilder- Returns:
- The nextFeeSchedule.
-
parseFrom
public static CurrentAndNextFeeSchedule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CurrentAndNextFeeSchedule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CurrentAndNextFeeSchedule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CurrentAndNextFeeSchedule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CurrentAndNextFeeSchedule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CurrentAndNextFeeSchedule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CurrentAndNextFeeSchedule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CurrentAndNextFeeSchedule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CurrentAndNextFeeSchedule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CurrentAndNextFeeSchedule 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<CurrentAndNextFeeSchedule,CurrentAndNextFeeSchedule.Builder>
-
getDefaultInstance
-
parser
-