java.lang.Object
com.google.protobuf.AbstractMessageLite<FeeData,FeeData.Builder>
com.google.protobuf.GeneratedMessageLite<FeeData,FeeData.Builder>
com.hedera.hashgraph.sdk.proto.FeeData
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,FeeDataOrBuilder
@Generated
public final class FeeData
extends com.google.protobuf.GeneratedMessageLite<FeeData,FeeData.Builder>
implements FeeDataOrBuilder
* A total fee, in component amounts charged for a transaction. Total fees are composed of three sets of components. - Node data, components that compensate the specific node that submitted the transaction. - Network data, components that compensate the Hedera network for gossiping the transaction and determining the consensus timestamp. - Service data, components that compensate the Hedera network for the ongoing maintenance and operation of the network, as well as ongoing development of network services. Fee components are recorded in thousandths of a tiny cent, and the network exchange rate converts these to tinybar amounts, which are what the network charges for transactions and what the network reports in the record stream.Protobuf type
proto.FeeData-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* A total fee, in component amounts charged for a transaction.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 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 FeeData* Fee components to be paid to the network for bringing a transaction to consensus.* Fee components to be paid to the submitting node.* Fee components to be paid to the network for providing the immediate and ongoing services associated with executing the transaction, maintaining the network, and developing the network software.* A sub-type distinguishing between different types of `FeeData` that may apply to the same base transaction type (associated with an `HederaFunctionality`).int* A sub-type distinguishing between different types of `FeeData` that may apply to the same base transaction type (associated with an `HederaFunctionality`).boolean* Fee components to be paid to the network for bringing a transaction to consensus.boolean* Fee components to be paid to the submitting node.boolean* Fee components to be paid to the network for providing the immediate and ongoing services associated with executing the transaction, maintaining the network, and developing the network software.static FeeData.Builderstatic FeeData.BuildernewBuilder(FeeData prototype) static FeeDataparseDelimitedFrom(InputStream input) static FeeDataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeeDataparseFrom(byte[] data) static FeeDataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeeDataparseFrom(com.google.protobuf.ByteString data) static FeeDataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeeDataparseFrom(com.google.protobuf.CodedInputStream input) static FeeDataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeeDataparseFrom(InputStream input) static FeeDataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FeeDataparseFrom(ByteBuffer data) static FeeDataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FeeData> 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
-
NODEDATA_FIELD_NUMBER
public static final int NODEDATA_FIELD_NUMBER- See Also:
-
NETWORKDATA_FIELD_NUMBER
public static final int NETWORKDATA_FIELD_NUMBER- See Also:
-
SERVICEDATA_FIELD_NUMBER
public static final int SERVICEDATA_FIELD_NUMBER- See Also:
-
SUBTYPE_FIELD_NUMBER
public static final int SUBTYPE_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasNodedata
public boolean hasNodedata()* Fee components to be paid to the submitting node.
.proto.FeeComponents nodedata = 1;- Specified by:
hasNodedatain interfaceFeeDataOrBuilder- Returns:
- Whether the nodedata field is set.
-
getNodedata
* Fee components to be paid to the submitting node.
.proto.FeeComponents nodedata = 1;- Specified by:
getNodedatain interfaceFeeDataOrBuilder- Returns:
- The nodedata.
-
hasNetworkdata
public boolean hasNetworkdata()* Fee components to be paid to the network for bringing a transaction to consensus.
.proto.FeeComponents networkdata = 2;- Specified by:
hasNetworkdatain interfaceFeeDataOrBuilder- Returns:
- Whether the networkdata field is set.
-
getNetworkdata
* Fee components to be paid to the network for bringing a transaction to consensus.
.proto.FeeComponents networkdata = 2;- Specified by:
getNetworkdatain interfaceFeeDataOrBuilder- Returns:
- The networkdata.
-
hasServicedata
public boolean hasServicedata()* Fee components to be paid to the network for providing the immediate and ongoing services associated with executing the transaction, maintaining the network, and developing the network software.
.proto.FeeComponents servicedata = 3;- Specified by:
hasServicedatain interfaceFeeDataOrBuilder- Returns:
- Whether the servicedata field is set.
-
getServicedata
* Fee components to be paid to the network for providing the immediate and ongoing services associated with executing the transaction, maintaining the network, and developing the network software.
.proto.FeeComponents servicedata = 3;- Specified by:
getServicedatain interfaceFeeDataOrBuilder- Returns:
- The servicedata.
-
getSubTypeValue
public int getSubTypeValue()* A sub-type distinguishing between different types of `FeeData` that may apply to the same base transaction type (associated with an `HederaFunctionality`).
.proto.SubType subType = 4;- Specified by:
getSubTypeValuein interfaceFeeDataOrBuilder- Returns:
- The enum numeric value on the wire for subType.
-
getSubType
* A sub-type distinguishing between different types of `FeeData` that may apply to the same base transaction type (associated with an `HederaFunctionality`).
.proto.SubType subType = 4;- Specified by:
getSubTypein interfaceFeeDataOrBuilder- Returns:
- The subType.
-
parseFrom
public static FeeData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeeData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeeData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeeData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeeData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeeData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FeeData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FeeData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FeeData 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<FeeData,FeeData.Builder>
-
getDefaultInstance
-
parser
-