java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Topic,Topic.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Topic,Topic.Builder>
com.hedera.hashgraph.sdk.proto.Topic.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TopicOrBuilder,Cloneable
- Enclosing class:
Topic
public static final class Topic.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllCustomFees(Iterable<? extends FixedCustomFee> values) * A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.addAllFeeExemptKeyList(Iterable<? extends Key> values) * 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.addCustomFees(int index, FixedCustomFee value) * A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.addCustomFees(int index, FixedCustomFee.Builder builderForValue) * A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.addCustomFees(FixedCustomFee value) * A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.addCustomFees(FixedCustomFee.Builder builderForValue) * A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.addFeeExemptKeyList(int index, Key value) * 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.addFeeExemptKeyList(int index, Key.Builder builderForValue) * 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.addFeeExemptKeyList(Key value) * 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.addFeeExemptKeyList(Key.Builder builderForValue) * 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 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.* The number of seconds for which the topic will be automatically renewed upon expiring (if it has a valid auto-renew account).* A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.* A flag indicating that this topic is deleted.* 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.* Access control for update/delete of custom fees.* A short description of this topic.* The current running hash of this topic.* The number of messages sent to the topic.* Access control for message submission to the topic.* The topic's ID.* 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.boolean* A flag indicating that this topic is deleted.long* The expiration time for this topic, in seconds since the epoch.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.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.* Access control for update/delete of custom fees.getMemo()* 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.mergeAdminKey(Key value) * Access control for modification of the topic.mergeAutoRenewAccountId(AccountID value) * The id of the account (if any) that the network will attempt to charge fees to complete auto-renewal of this topic, upon expiration.mergeFeeScheduleKey(Key value) * Access control for update/delete of custom fees.mergeSubmitKey(Key value) * Access control for message submission to the topic.mergeTopicId(TopicID value) * The topic's ID.removeCustomFees(int index) * A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.removeFeeExemptKeyList(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.setAdminKey(Key value) * Access control for modification of the topic.setAdminKey(Key.Builder builderForValue) * Access control for modification of the topic.setAutoRenewAccountId(AccountID value) * The id of the account (if any) that the network will attempt to charge fees to complete auto-renewal of this topic, upon expiration.setAutoRenewAccountId(AccountID.Builder builderForValue) * The id of the account (if any) that the network will attempt to charge fees to complete auto-renewal of this topic, upon expiration.setAutoRenewPeriod(long value) * The number of seconds for which the topic will be automatically renewed upon expiring (if it has a valid auto-renew account).setCustomFees(int index, FixedCustomFee value) * A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.setCustomFees(int index, FixedCustomFee.Builder builderForValue) * A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.setDeleted(boolean value) * A flag indicating that this topic is deleted.setExpirationSecond(long value) * The expiration time for this topic, in seconds since the epoch.setFeeExemptKeyList(int index, Key value) * 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.setFeeExemptKeyList(int index, Key.Builder builderForValue) * 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.setFeeScheduleKey(Key value) * Access control for update/delete of custom fees.setFeeScheduleKey(Key.Builder builderForValue) * Access control for update/delete of custom fees.* A short description of this topic.setMemoBytes(com.google.protobuf.ByteString value) * A short description of this topic.setRunningHash(com.google.protobuf.ByteString value) * The current running hash of this topic.setSequenceNumber(long value) * The number of messages sent to the topic.setSubmitKey(Key value) * Access control for message submission to the topic.setSubmitKey(Key.Builder builderForValue) * Access control for message submission to the topic.setTopicId(TopicID value) * The topic's ID.setTopicId(TopicID.Builder builderForValue) * The topic's ID.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
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:
hasTopicIdin interfaceTopicOrBuilder- Returns:
- Whether the topicId field is set.
-
getTopicId
* The topic's ID. <p> This value SHALL be unique within the network.
.proto.TopicID topic_id = 1;- Specified by:
getTopicIdin interfaceTopicOrBuilder- Returns:
- The topicId.
-
setTopicId
* The topic's ID. <p> This value SHALL be unique within the network.
.proto.TopicID topic_id = 1; -
setTopicId
* The topic's ID. <p> This value SHALL be unique within the network.
.proto.TopicID topic_id = 1; -
mergeTopicId
* The topic's ID. <p> This value SHALL be unique within the network.
.proto.TopicID topic_id = 1; -
clearTopicId
* The topic's ID. <p> This value SHALL be unique within the network.
.proto.TopicID topic_id = 1; -
getSequenceNumber
public long getSequenceNumber()* The number of messages sent to the topic.
int64 sequence_number = 2;- Specified by:
getSequenceNumberin interfaceTopicOrBuilder- Returns:
- The sequenceNumber.
-
setSequenceNumber
* The number of messages sent to the topic.
int64 sequence_number = 2;- Parameters:
value- The sequenceNumber to set.- Returns:
- This builder for chaining.
-
clearSequenceNumber
* The number of messages sent to the topic.
int64 sequence_number = 2;- Returns:
- This builder for chaining.
-
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:
getExpirationSecondin interfaceTopicOrBuilder- Returns:
- The expirationSecond.
-
setExpirationSecond
* 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;- Parameters:
value- The expirationSecond to set.- Returns:
- This builder for chaining.
-
clearExpirationSecond
* 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;- Returns:
- This builder for chaining.
-
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:
getAutoRenewPeriodin interfaceTopicOrBuilder- Returns:
- The autoRenewPeriod.
-
setAutoRenewPeriod
* 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;- Parameters:
value- The autoRenewPeriod to set.- Returns:
- This builder for chaining.
-
clearAutoRenewPeriod
* 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;- Returns:
- This builder for chaining.
-
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:
hasAutoRenewAccountIdin interfaceTopicOrBuilder- Returns:
- Whether the autoRenewAccountId field is set.
-
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:
getAutoRenewAccountIdin interfaceTopicOrBuilder- Returns:
- The autoRenewAccountId.
-
setAutoRenewAccountId
* 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; -
setAutoRenewAccountId
* 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; -
mergeAutoRenewAccountId
* 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; -
clearAutoRenewAccountId
* 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; -
getDeleted
public boolean getDeleted()* A flag indicating that this topic is deleted.
bool deleted = 6;- Specified by:
getDeletedin interfaceTopicOrBuilder- Returns:
- The deleted.
-
setDeleted
* A flag indicating that this topic is deleted.
bool deleted = 6;- Parameters:
value- The deleted to set.- Returns:
- This builder for chaining.
-
clearDeleted
* A flag indicating that this topic is deleted.
bool deleted = 6;- Returns:
- This builder for chaining.
-
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:
getRunningHashin interfaceTopicOrBuilder- Returns:
- The runningHash.
-
setRunningHash
* 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;- Parameters:
value- The runningHash to set.- Returns:
- This builder for chaining.
-
clearRunningHash
* 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;- Returns:
- This builder for chaining.
-
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:
getMemoin interfaceTopicOrBuilder- 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:
getMemoBytesin interfaceTopicOrBuilder- Returns:
- The bytes for memo.
-
setMemo
* 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;- Parameters:
value- The memo to set.- Returns:
- This builder for chaining.
-
clearMemo
* 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;- Returns:
- This builder for chaining.
-
setMemoBytes
* 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;- Parameters:
value- The bytes for memo to set.- Returns:
- This builder for chaining.
-
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:
hasAdminKeyin interfaceTopicOrBuilder- Returns:
- Whether the adminKey field is set.
-
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:
getAdminKeyin interfaceTopicOrBuilder- Returns:
- The adminKey.
-
setAdminKey
* 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; -
setAdminKey
* 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; -
mergeAdminKey
* 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; -
clearAdminKey
* 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; -
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:
hasSubmitKeyin interfaceTopicOrBuilder- Returns:
- Whether the submitKey field is set.
-
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:
getSubmitKeyin interfaceTopicOrBuilder- Returns:
- The submitKey.
-
setSubmitKey
* 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; -
setSubmitKey
* 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; -
mergeSubmitKey
* 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; -
clearSubmitKey
* 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; -
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:
hasFeeScheduleKeyin interfaceTopicOrBuilder- Returns:
- Whether the feeScheduleKey field is set.
-
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:
getFeeScheduleKeyin interfaceTopicOrBuilder- Returns:
- The feeScheduleKey.
-
setFeeScheduleKey
* 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; -
setFeeScheduleKey
* 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; -
mergeFeeScheduleKey
* 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; -
clearFeeScheduleKey
* 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; -
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:
getFeeExemptKeyListListin interfaceTopicOrBuilder
-
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:
getFeeExemptKeyListCountin interfaceTopicOrBuilder
-
getFeeExemptKeyList
* 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:
getFeeExemptKeyListin interfaceTopicOrBuilder
-
setFeeExemptKeyList
* 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; -
setFeeExemptKeyList
* 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; -
addFeeExemptKeyList
* 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; -
addFeeExemptKeyList
* 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; -
addFeeExemptKeyList
* 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; -
addFeeExemptKeyList
* 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; -
addAllFeeExemptKeyList
* 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; -
clearFeeExemptKeyList
* 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; -
removeFeeExemptKeyList
* 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
* 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:
getCustomFeesListin interfaceTopicOrBuilder
-
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:
getCustomFeesCountin interfaceTopicOrBuilder
-
getCustomFees
* 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:
getCustomFeesin interfaceTopicOrBuilder
-
setCustomFees
* 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; -
setCustomFees
* 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; -
addCustomFees
* 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; -
addCustomFees
* 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; -
addCustomFees
* 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; -
addCustomFees
* 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; -
addAllCustomFees
* 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; -
clearCustomFees
* 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; -
removeCustomFees
* 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;
-