java.lang.Object
com.google.protobuf.AbstractMessageLite<Topic,Topic.Builder>
com.google.protobuf.GeneratedMessageLite<Topic,Topic.Builder>
com.hedera.hashgraph.sdk.proto.Topic
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, TopicOrBuilder

@Generated public final class Topic extends com.google.protobuf.GeneratedMessageLite<Topic,Topic.Builder> implements TopicOrBuilder
 *
 Representation of an Hedera Consensus Service(HCS) topic.

 As with all network entities, a topic has a unique entity number, which is
 usually given along with the network's shard and realm in the form of a
 shard.realm.number id.<br/>
 An HCS topic is an ordered logical stream of messages united and secured by
 a running hash of those messages. The integrity of any message on a topic,
 and the topic stream as a whole, can always be ascertained from block stream
 data by recomputing the running hash across any subset of messages on the
 topic.<br/>
 The messages on a topic SHALL NOT be stored in network state, but are
 available in the network block stream, and may be queried via the
 Mirror Node system.
 
Protobuf type proto.Topic
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    * Representation of an Hedera Consensus Service(HCS) 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    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)
     
    * Access control for modification of the topic.
    * The id of the account (if any) that the network will attempt to charge fees to complete auto-renewal of this topic, upon expiration.
    long
    * The number of seconds for which the topic will be automatically renewed upon expiring (if it has a valid auto-renew account).
    getCustomFees(int index)
    * A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.
    int
    * A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.
    * A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.
    * A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.
    * A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.
    static Topic
     
    boolean
    * A flag indicating that this topic is deleted.
    long
    * The expiration time for this topic, in seconds since the epoch.
    * A set of "privileged payer" keys<br/> Keys in this list are permitted to submit messages to this topic without paying custom fees associated with this topic.
    int
    * A set of "privileged payer" keys<br/> Keys in this list are permitted to submit messages to this topic without paying custom fees associated with this topic.
    * A set of "privileged payer" keys<br/> Keys in this list are permitted to submit messages to this topic without paying custom fees associated with this topic.
    * A set of "privileged payer" keys<br/> Keys in this list are permitted to submit messages to this topic without paying custom fees associated with this topic.
    List<? extends KeyOrBuilder>
    * A set of "privileged payer" keys<br/> Keys in this list are permitted to submit messages to this topic without paying custom fees associated with this topic.
    * Access control for update/delete of custom fees.
    * A short description of this topic.
    com.google.protobuf.ByteString
    * A short description of this topic.
    com.google.protobuf.ByteString
    * The current running hash of this topic.
    long
    * The number of messages sent to the topic.
    * Access control for message submission to the topic.
    * The topic's ID.
    boolean
    * Access control for modification of the topic.
    boolean
    * The id of the account (if any) that the network will attempt to charge fees to complete auto-renewal of this topic, upon expiration.
    boolean
    * Access control for update/delete of custom fees.
    boolean
    * Access control for message submission to the topic.
    boolean
    * The topic's ID.
     
    newBuilder(Topic prototype)
     
    static Topic
     
    static Topic
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Topic
    parseFrom(byte[] data)
     
    static Topic
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Topic
    parseFrom(com.google.protobuf.ByteString data)
     
    static Topic
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Topic
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Topic
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Topic
     
    static Topic
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Topic
     
    static Topic
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Topic>
     

    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

    • TOPIC_ID_FIELD_NUMBER

      public static final int TOPIC_ID_FIELD_NUMBER
      See Also:
    • SEQUENCE_NUMBER_FIELD_NUMBER

      public static final int SEQUENCE_NUMBER_FIELD_NUMBER
      See Also:
    • EXPIRATION_SECOND_FIELD_NUMBER

      public static final int EXPIRATION_SECOND_FIELD_NUMBER
      See Also:
    • AUTO_RENEW_PERIOD_FIELD_NUMBER

      public static final int AUTO_RENEW_PERIOD_FIELD_NUMBER
      See Also:
    • AUTO_RENEW_ACCOUNT_ID_FIELD_NUMBER

      public static final int AUTO_RENEW_ACCOUNT_ID_FIELD_NUMBER
      See Also:
    • DELETED_FIELD_NUMBER

      public static final int DELETED_FIELD_NUMBER
      See Also:
    • RUNNING_HASH_FIELD_NUMBER

      public static final int RUNNING_HASH_FIELD_NUMBER
      See Also:
    • MEMO_FIELD_NUMBER

      public static final int MEMO_FIELD_NUMBER
      See Also:
    • ADMIN_KEY_FIELD_NUMBER

      public static final int ADMIN_KEY_FIELD_NUMBER
      See Also:
    • SUBMIT_KEY_FIELD_NUMBER

      public static final int SUBMIT_KEY_FIELD_NUMBER
      See Also:
    • FEE_SCHEDULE_KEY_FIELD_NUMBER

      public static final int FEE_SCHEDULE_KEY_FIELD_NUMBER
      See Also:
    • FEE_EXEMPT_KEY_LIST_FIELD_NUMBER

      public static final int FEE_EXEMPT_KEY_LIST_FIELD_NUMBER
      See Also:
    • CUSTOM_FEES_FIELD_NUMBER

      public static final int CUSTOM_FEES_FIELD_NUMBER
      See Also:
  • Method Details

    • hasTopicId

      public boolean hasTopicId()
       *
       The topic's ID.
       <p>
       This value SHALL be unique within the network.
       
      .proto.TopicID topic_id = 1;
      Specified by:
      hasTopicId in interface TopicOrBuilder
      Returns:
      Whether the topicId field is set.
    • getTopicId

      public TopicID getTopicId()
       *
       The topic's ID.
       <p>
       This value SHALL be unique within the network.
       
      .proto.TopicID topic_id = 1;
      Specified by:
      getTopicId in interface TopicOrBuilder
      Returns:
      The topicId.
    • getSequenceNumber

      public long getSequenceNumber()
       *
       The number of messages sent to the topic.
       
      int64 sequence_number = 2;
      Specified by:
      getSequenceNumber in interface TopicOrBuilder
      Returns:
      The sequenceNumber.
    • getExpirationSecond

      public long getExpirationSecond()
       *
       The expiration time for this topic, in seconds since the epoch.
       <p>
       For this purpose, `epoch` SHALL be the UNIX epoch with 0 at `1970-01-01T00:00:00.000Z`.
       
      int64 expiration_second = 3;
      Specified by:
      getExpirationSecond in interface TopicOrBuilder
      Returns:
      The expirationSecond.
    • getAutoRenewPeriod

      public long getAutoRenewPeriod()
       *
       The number of seconds for which the topic will be automatically renewed
       upon expiring (if it has a valid auto-renew account).
       
      int64 auto_renew_period = 4;
      Specified by:
      getAutoRenewPeriod in interface TopicOrBuilder
      Returns:
      The autoRenewPeriod.
    • hasAutoRenewAccountId

      public boolean hasAutoRenewAccountId()
       *
       The id of the account (if any) that the network will attempt to charge
       fees to complete auto-renewal of this topic, upon expiration.
       
      .proto.AccountID auto_renew_account_id = 5;
      Specified by:
      hasAutoRenewAccountId in interface TopicOrBuilder
      Returns:
      Whether the autoRenewAccountId field is set.
    • getAutoRenewAccountId

      public AccountID getAutoRenewAccountId()
       *
       The id of the account (if any) that the network will attempt to charge
       fees to complete auto-renewal of this topic, upon expiration.
       
      .proto.AccountID auto_renew_account_id = 5;
      Specified by:
      getAutoRenewAccountId in interface TopicOrBuilder
      Returns:
      The autoRenewAccountId.
    • getDeleted

      public boolean getDeleted()
       *
       A flag indicating that this topic is deleted.
       
      bool deleted = 6;
      Specified by:
      getDeleted in interface TopicOrBuilder
      Returns:
      The deleted.
    • getRunningHash

      public com.google.protobuf.ByteString getRunningHash()
       *
       The current running hash of this topic.
       <p>
       This 48-byte field is the output of a SHA-384 digest with input data
       determined by the current version of the running hash algorithm used
       by the network.<br/>
       All topics in state SHALL use running hash algorithm version `3`.<br/>
       The bytes of each uint64 or uint32 encoded for the hash input MUST be in
       Big-Endian format.
       <p>
       <hr/>
       If the algorithm version is '3', then the input data to the SHA-384
       digest are, in order:
       <ol>
       <li>The previous running hash of the topic (48 bytes)</li>
       <li>The `topicRunningHashVersion` (8 bytes)</li>
       <li>The payer account's shard (8 bytes)</li>
       <li>The payer account's realm (8 bytes)</li>
       <li>The payer account's number (8 bytes)</li>
       <li>The topic's shard (8 bytes)</li>
       <li>The topic's realm (8 bytes)</li>
       <li>The topic's number (8 bytes)</li>
       <li>The number of seconds since the epoch when the
       `ConsensusSubmitMessage` reached consensus (8 bytes)</li>
       <li>The number of nanoseconds within the second when the
       `ConsensusSubmitMessage` reached consensus (4 bytes)</li>
       <li>The `topicSequenceNumber` (8 bytes)</li>
       <li>The output of a SHA-384 digest of the message bytes from the
       `ConsensusSubmitMessage` (48 bytes)</li>
       </ol>
       <blockquote>Note that older messages on a topic, which are available in
       the block stream, MAY use older algorithm versions, and the block stream
       record incorporates a running hash version field to ensure the correct
       hash calculation for each such historical message.</blockquote>
       
      bytes running_hash = 7;
      Specified by:
      getRunningHash in interface TopicOrBuilder
      Returns:
      The runningHash.
    • getMemo

      public String getMemo()
       *
       A short description of this topic.
       <p>
       This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes`
       (default 100) bytes when encoded as UTF-8.
       
      string memo = 8;
      Specified by:
      getMemo in interface TopicOrBuilder
      Returns:
      The memo.
    • getMemoBytes

      public com.google.protobuf.ByteString getMemoBytes()
       *
       A short description of this topic.
       <p>
       This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes`
       (default 100) bytes when encoded as UTF-8.
       
      string memo = 8;
      Specified by:
      getMemoBytes in interface TopicOrBuilder
      Returns:
      The bytes for memo.
    • hasAdminKey

      public boolean hasAdminKey()
       *
       Access control for modification of the topic.
       <p>
       If this field is set, that key MUST sign each message to update or delete
       this topic.<br/>
       A topic without an admin key SHALL be immutable, except for expiration
       and renewal.<br/>
       If this field is not set, the `auto_renew_account_id` MUST NOT be set.
       
      .proto.Key admin_key = 9;
      Specified by:
      hasAdminKey in interface TopicOrBuilder
      Returns:
      Whether the adminKey field is set.
    • getAdminKey

      public Key getAdminKey()
       *
       Access control for modification of the topic.
       <p>
       If this field is set, that key MUST sign each message to update or delete
       this topic.<br/>
       A topic without an admin key SHALL be immutable, except for expiration
       and renewal.<br/>
       If this field is not set, the `auto_renew_account_id` MUST NOT be set.
       
      .proto.Key admin_key = 9;
      Specified by:
      getAdminKey in interface TopicOrBuilder
      Returns:
      The adminKey.
    • hasSubmitKey

      public boolean hasSubmitKey()
       *
       Access control for message submission to the topic.
       <p>
       If this field is set, that key MUST sign each consensus submit message
       for this topic.
       
      .proto.Key submit_key = 10;
      Specified by:
      hasSubmitKey in interface TopicOrBuilder
      Returns:
      Whether the submitKey field is set.
    • getSubmitKey

      public Key getSubmitKey()
       *
       Access control for message submission to the topic.
       <p>
       If this field is set, that key MUST sign each consensus submit message
       for this topic.
       
      .proto.Key submit_key = 10;
      Specified by:
      getSubmitKey in interface TopicOrBuilder
      Returns:
      The submitKey.
    • hasFeeScheduleKey

      public boolean hasFeeScheduleKey()
       *
       Access control for update/delete of custom fees.
       <p>
       If this field is unset, the current custom fees CANNOT be changed.<br/>
       If this field is set, that `Key` MUST sign any transaction to update
       the custom fee schedule for this topic.
       
      .proto.Key fee_schedule_key = 11;
      Specified by:
      hasFeeScheduleKey in interface TopicOrBuilder
      Returns:
      Whether the feeScheduleKey field is set.
    • getFeeScheduleKey

      public Key getFeeScheduleKey()
       *
       Access control for update/delete of custom fees.
       <p>
       If this field is unset, the current custom fees CANNOT be changed.<br/>
       If this field is set, that `Key` MUST sign any transaction to update
       the custom fee schedule for this topic.
       
      .proto.Key fee_schedule_key = 11;
      Specified by:
      getFeeScheduleKey in interface TopicOrBuilder
      Returns:
      The feeScheduleKey.
    • getFeeExemptKeyListList

      public List<Key> getFeeExemptKeyListList()
       *
       A set of "privileged payer" keys<br/>
       Keys in this list are permitted to submit messages to this topic without
       paying custom fees associated with this topic.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.<br/>
       A `fee_exempt_key_list` MUST NOT contain more than
       `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys.<br/>
       A `fee_exempt_key_list` MUST NOT contain any duplicate keys.<br/>
       A `fee_exempt_key_list` MAY contain keys for accounts that are inactive,
       deleted, or non-existent.
       If not set, there SHALL NOT be any fee-exempt keys.  In particular, the
       following keys SHALL NOT be implicitly or automatically added to this
       list: `adminKey`, `submitKey`, `fee_schedule_key`.
       
      repeated .proto.Key fee_exempt_key_list = 12;
      Specified by:
      getFeeExemptKeyListList in interface TopicOrBuilder
    • getFeeExemptKeyListOrBuilderList

      public List<? extends KeyOrBuilder> getFeeExemptKeyListOrBuilderList()
       *
       A set of "privileged payer" keys<br/>
       Keys in this list are permitted to submit messages to this topic without
       paying custom fees associated with this topic.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.<br/>
       A `fee_exempt_key_list` MUST NOT contain more than
       `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys.<br/>
       A `fee_exempt_key_list` MUST NOT contain any duplicate keys.<br/>
       A `fee_exempt_key_list` MAY contain keys for accounts that are inactive,
       deleted, or non-existent.
       If not set, there SHALL NOT be any fee-exempt keys.  In particular, the
       following keys SHALL NOT be implicitly or automatically added to this
       list: `adminKey`, `submitKey`, `fee_schedule_key`.
       
      repeated .proto.Key fee_exempt_key_list = 12;
    • getFeeExemptKeyListCount

      public int getFeeExemptKeyListCount()
       *
       A set of "privileged payer" keys<br/>
       Keys in this list are permitted to submit messages to this topic without
       paying custom fees associated with this topic.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.<br/>
       A `fee_exempt_key_list` MUST NOT contain more than
       `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys.<br/>
       A `fee_exempt_key_list` MUST NOT contain any duplicate keys.<br/>
       A `fee_exempt_key_list` MAY contain keys for accounts that are inactive,
       deleted, or non-existent.
       If not set, there SHALL NOT be any fee-exempt keys.  In particular, the
       following keys SHALL NOT be implicitly or automatically added to this
       list: `adminKey`, `submitKey`, `fee_schedule_key`.
       
      repeated .proto.Key fee_exempt_key_list = 12;
      Specified by:
      getFeeExemptKeyListCount in interface TopicOrBuilder
    • getFeeExemptKeyList

      public Key getFeeExemptKeyList(int index)
       *
       A set of "privileged payer" keys<br/>
       Keys in this list are permitted to submit messages to this topic without
       paying custom fees associated with this topic.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.<br/>
       A `fee_exempt_key_list` MUST NOT contain more than
       `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys.<br/>
       A `fee_exempt_key_list` MUST NOT contain any duplicate keys.<br/>
       A `fee_exempt_key_list` MAY contain keys for accounts that are inactive,
       deleted, or non-existent.
       If not set, there SHALL NOT be any fee-exempt keys.  In particular, the
       following keys SHALL NOT be implicitly or automatically added to this
       list: `adminKey`, `submitKey`, `fee_schedule_key`.
       
      repeated .proto.Key fee_exempt_key_list = 12;
      Specified by:
      getFeeExemptKeyList in interface TopicOrBuilder
    • getFeeExemptKeyListOrBuilder

      public KeyOrBuilder getFeeExemptKeyListOrBuilder(int index)
       *
       A set of "privileged payer" keys<br/>
       Keys in this list are permitted to submit messages to this topic without
       paying custom fees associated with this topic.
       <p>
       If a submit transaction is signed by _any_ key included in this set,
       custom fees SHALL NOT be charged for that transaction.<br/>
       A `fee_exempt_key_list` MUST NOT contain more than
       `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys.<br/>
       A `fee_exempt_key_list` MUST NOT contain any duplicate keys.<br/>
       A `fee_exempt_key_list` MAY contain keys for accounts that are inactive,
       deleted, or non-existent.
       If not set, there SHALL NOT be any fee-exempt keys.  In particular, the
       following keys SHALL NOT be implicitly or automatically added to this
       list: `adminKey`, `submitKey`, `fee_schedule_key`.
       
      repeated .proto.Key fee_exempt_key_list = 12;
    • getCustomFeesList

      public List<FixedCustomFee> getCustomFeesList()
       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to this topic.
       <p>
       If this list is empty, the only fees charged for a submit to this
       topic SHALL be the network and node fees.<br/>
       If this list is not empty, each fee defined in this set SHALL
       be evaluated for each message submitted to this topic, and the
       resultant total assessed fees SHALL be charged.<br/>
       If this list is not empty, custom fees defined here SHALL be
       charged _in addition to_ the base network and node fees.
       
      repeated .proto.FixedCustomFee custom_fees = 13;
      Specified by:
      getCustomFeesList in interface TopicOrBuilder
    • getCustomFeesOrBuilderList

      public List<? extends FixedCustomFeeOrBuilder> getCustomFeesOrBuilderList()
       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to this topic.
       <p>
       If this list is empty, the only fees charged for a submit to this
       topic SHALL be the network and node fees.<br/>
       If this list is not empty, each fee defined in this set SHALL
       be evaluated for each message submitted to this topic, and the
       resultant total assessed fees SHALL be charged.<br/>
       If this list is not empty, custom fees defined here SHALL be
       charged _in addition to_ the base network and node fees.
       
      repeated .proto.FixedCustomFee custom_fees = 13;
    • getCustomFeesCount

      public int getCustomFeesCount()
       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to this topic.
       <p>
       If this list is empty, the only fees charged for a submit to this
       topic SHALL be the network and node fees.<br/>
       If this list is not empty, each fee defined in this set SHALL
       be evaluated for each message submitted to this topic, and the
       resultant total assessed fees SHALL be charged.<br/>
       If this list is not empty, custom fees defined here SHALL be
       charged _in addition to_ the base network and node fees.
       
      repeated .proto.FixedCustomFee custom_fees = 13;
      Specified by:
      getCustomFeesCount in interface TopicOrBuilder
    • getCustomFees

      public FixedCustomFee getCustomFees(int index)
       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to this topic.
       <p>
       If this list is empty, the only fees charged for a submit to this
       topic SHALL be the network and node fees.<br/>
       If this list is not empty, each fee defined in this set SHALL
       be evaluated for each message submitted to this topic, and the
       resultant total assessed fees SHALL be charged.<br/>
       If this list is not empty, custom fees defined here SHALL be
       charged _in addition to_ the base network and node fees.
       
      repeated .proto.FixedCustomFee custom_fees = 13;
      Specified by:
      getCustomFees in interface TopicOrBuilder
    • getCustomFeesOrBuilder

      public FixedCustomFeeOrBuilder getCustomFeesOrBuilder(int index)
       *
       A set of custom fee definitions.<br/>
       These are fees to be assessed for each submit to this topic.
       <p>
       If this list is empty, the only fees charged for a submit to this
       topic SHALL be the network and node fees.<br/>
       If this list is not empty, each fee defined in this set SHALL
       be evaluated for each message submitted to this topic, and the
       resultant total assessed fees SHALL be charged.<br/>
       If this list is not empty, custom fees defined here SHALL be
       charged _in addition to_ the base network and node fees.
       
      repeated .proto.FixedCustomFee custom_fees = 13;
    • parseFrom

      public static Topic parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Topic parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Topic parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Topic parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Topic parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Topic parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

      public static Topic.Builder newBuilder()
    • newBuilder

      public static Topic.Builder newBuilder(Topic 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<Topic,Topic.Builder>
    • getDefaultInstance

      public static Topic getDefaultInstance()
    • parser

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