java.lang.Object
com.google.protobuf.AbstractMessageLite<FixedCustomFee,FixedCustomFee.Builder>
com.google.protobuf.GeneratedMessageLite<FixedCustomFee,FixedCustomFee.Builder>
com.hedera.hashgraph.sdk.proto.FixedCustomFee
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,FixedCustomFeeOrBuilder
@Generated
public final class FixedCustomFee
extends com.google.protobuf.GeneratedMessageLite<FixedCustomFee,FixedCustomFee.Builder>
implements FixedCustomFeeOrBuilder
* A custom fee definition for a consensus topic. <p> This fee definition is specific to an Hedera Consensus Service (HCS) topic and SHOULD NOT be used in any other context.<br/> All fields for this message are REQUIRED.<br/> Only "fixed" fee definitions are supported because there is no basis for a fractional fee on a consensus submit transaction.Protobuf type
proto.FixedCustomFee-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* A custom fee definition for a consensus topic.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) static FixedCustomFee* A collection account identifier.* A fixed custom fee.boolean* A collection account identifier.boolean* A fixed custom fee.static FixedCustomFee.Builderstatic FixedCustomFee.BuildernewBuilder(FixedCustomFee prototype) static FixedCustomFeeparseDelimitedFrom(InputStream input) static FixedCustomFeeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FixedCustomFeeparseFrom(byte[] data) static FixedCustomFeeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FixedCustomFeeparseFrom(com.google.protobuf.ByteString data) static FixedCustomFeeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FixedCustomFeeparseFrom(com.google.protobuf.CodedInputStream input) static FixedCustomFeeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FixedCustomFeeparseFrom(InputStream input) static FixedCustomFeeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FixedCustomFeeparseFrom(ByteBuffer data) static FixedCustomFeeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FixedCustomFee> 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
-
FIXED_FEE_FIELD_NUMBER
public static final int FIXED_FEE_FIELD_NUMBER- See Also:
-
FEE_COLLECTOR_ACCOUNT_ID_FIELD_NUMBER
public static final int FEE_COLLECTOR_ACCOUNT_ID_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasFixedFee
public boolean hasFixedFee()* A fixed custom fee. <p> The amount of HBAR or other token described by this `FixedFee` SHALL be charged to the transction payer for each message submitted to a topic that assigns this consensus custom fee.
.proto.FixedFee fixed_fee = 1;- Specified by:
hasFixedFeein interfaceFixedCustomFeeOrBuilder- Returns:
- Whether the fixedFee field is set.
-
getFixedFee
* A fixed custom fee. <p> The amount of HBAR or other token described by this `FixedFee` SHALL be charged to the transction payer for each message submitted to a topic that assigns this consensus custom fee.
.proto.FixedFee fixed_fee = 1;- Specified by:
getFixedFeein interfaceFixedCustomFeeOrBuilder- Returns:
- The fixedFee.
-
hasFeeCollectorAccountId
public boolean hasFeeCollectorAccountId()* A collection account identifier. <p> All amounts collected for this consensus custom fee SHALL be transferred to the account identified by this field.
.proto.AccountID fee_collector_account_id = 2;- Specified by:
hasFeeCollectorAccountIdin interfaceFixedCustomFeeOrBuilder- Returns:
- Whether the feeCollectorAccountId field is set.
-
getFeeCollectorAccountId
* A collection account identifier. <p> All amounts collected for this consensus custom fee SHALL be transferred to the account identified by this field.
.proto.AccountID fee_collector_account_id = 2;- Specified by:
getFeeCollectorAccountIdin interfaceFixedCustomFeeOrBuilder- Returns:
- The feeCollectorAccountId.
-
parseFrom
public static FixedCustomFee parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FixedCustomFee parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FixedCustomFee parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FixedCustomFee parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FixedCustomFee parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FixedCustomFee parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FixedCustomFee parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FixedCustomFee parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FixedCustomFee parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FixedCustomFee 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<FixedCustomFee,FixedCustomFee.Builder>
-
getDefaultInstance
-
parser
-