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 Classes
    Modifier and Type
    Class
    Description
    static 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(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.
     
    newBuilder(FeeData prototype)
     
    static FeeData
     
    static FeeData
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static FeeData
    parseFrom(byte[] data)
     
    static FeeData
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static FeeData
    parseFrom(com.google.protobuf.ByteString data)
     
    static FeeData
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static FeeData
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static FeeData
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static FeeData
     
    static FeeData
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static FeeData
     
    static FeeData
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<FeeData>
     

    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, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

  • Method Details

    • hasNodedata

      public boolean hasNodedata()
       *
       Fee components to be paid to the submitting node.
       
      .proto.FeeComponents nodedata = 1;
      Specified by:
      hasNodedata in interface FeeDataOrBuilder
      Returns:
      Whether the nodedata field is set.
    • getNodedata

      public FeeComponents getNodedata()
       *
       Fee components to be paid to the submitting node.
       
      .proto.FeeComponents nodedata = 1;
      Specified by:
      getNodedata in interface FeeDataOrBuilder
      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:
      hasNetworkdata in interface FeeDataOrBuilder
      Returns:
      Whether the networkdata field is set.
    • getNetworkdata

      public FeeComponents getNetworkdata()
       *
       Fee components to be paid to the network for bringing a
       transaction to consensus.
       
      .proto.FeeComponents networkdata = 2;
      Specified by:
      getNetworkdata in interface FeeDataOrBuilder
      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:
      hasServicedata in interface FeeDataOrBuilder
      Returns:
      Whether the servicedata field is set.
    • getServicedata

      public FeeComponents 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:
      getServicedata in interface FeeDataOrBuilder
      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:
      getSubTypeValue in interface FeeDataOrBuilder
      Returns:
      The enum numeric value on the wire for subType.
    • getSubType

      public 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:
      getSubType in interface FeeDataOrBuilder
      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

      public static FeeData parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FeeData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FeeData parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FeeData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FeeData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FeeData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static FeeData.Builder newBuilder()
    • newBuilder

      public static FeeData.Builder newBuilder(FeeData prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<FeeData,FeeData.Builder>
    • getDefaultInstance

      public static FeeData getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<FeeData> parser()