Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class ConsensusTopicInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<ConsensusTopicInfo,ConsensusTopicInfo.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<ConsensusTopicInfo,ConsensusTopicInfo.Builder>
com.hedera.hashgraph.sdk.proto.ConsensusTopicInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ConsensusTopicInfoOrBuilder,Cloneable
- Enclosing class:
ConsensusTopicInfo
public static final class ConsensusTopicInfo.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ConsensusTopicInfo,ConsensusTopicInfo.Builder>
implements ConsensusTopicInfoOrBuilder
* A query response describing the current state of a topic for the Hedera Consensus Service (HCS).Protobuf type
proto.ConsensusTopicInfo-
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 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 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 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 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 keys.<br/> Keys in this list are permitted to submit messages to this topic without paying custom fees associated with this topic.* A key that MUST sign any transaction to update or delete this topic.* An account that is designated to pay automatic renewal fees.* A duration, in seconds, to extend the `expirationTime` value when this topic is automatically renewed.* A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.* An expiration time for this topic, in seconds since the epoch.* A set of 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 ledger ID of the network that generated this response.* A short description of this topic.* The latest running hash of the topic.* A current sequence number (starting at 1 for the first message) for messages on this topic.* A key that MUST sign any transaction to submit a message to this topic.* A key that MUST sign any transaction to update or delete this topic.* An account that is designated to pay automatic renewal fees.* A duration, in seconds, to extend the `expirationTime` value when this topic is automatically renewed.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.* An expiration time for this topic, in seconds since the epoch.getFeeExemptKeyList(int index) * A set of 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 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 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.com.google.protobuf.ByteString* A ledger ID of the network that generated this response.getMemo()* A short description of this topic.com.google.protobuf.ByteString* A short description of this topic.com.google.protobuf.ByteString* The latest running hash of the topic.long* A current sequence number (starting at 1 for the first message) for messages on this topic.* A key that MUST sign any transaction to submit a message to this topic.boolean* A key that MUST sign any transaction to update or delete this topic.boolean* An account that is designated to pay automatic renewal fees.boolean* A duration, in seconds, to extend the `expirationTime` value when this topic is automatically renewed.boolean* An expiration time for this topic, in seconds since the epoch.boolean* Access control for update/delete of custom fees.boolean* A key that MUST sign any transaction to submit a message to this topic.mergeAdminKey(Key value) * A key that MUST sign any transaction to update or delete this topic.mergeAutoRenewAccount(AccountID value) * An account that is designated to pay automatic renewal fees.mergeAutoRenewPeriod(Duration value) * A duration, in seconds, to extend the `expirationTime` value when this topic is automatically renewed.mergeExpirationTime(Timestamp value) * An expiration time for this topic, in seconds since the epoch.mergeFeeScheduleKey(Key value) * Access control for update/delete of custom fees.mergeSubmitKey(Key value) * A key that MUST sign any transaction to submit a message to this topic.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 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) * A key that MUST sign any transaction to update or delete this topic.setAdminKey(Key.Builder builderForValue) * A key that MUST sign any transaction to update or delete this topic.setAutoRenewAccount(AccountID value) * An account that is designated to pay automatic renewal fees.setAutoRenewAccount(AccountID.Builder builderForValue) * An account that is designated to pay automatic renewal fees.setAutoRenewPeriod(Duration value) * A duration, in seconds, to extend the `expirationTime` value when this topic is automatically renewed.setAutoRenewPeriod(Duration.Builder builderForValue) * A duration, in seconds, to extend the `expirationTime` value when this topic is automatically renewed.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.setExpirationTime(Timestamp value) * An expiration time for this topic, in seconds since the epoch.setExpirationTime(Timestamp.Builder builderForValue) * An expiration time for this topic, in seconds since the epoch.setFeeExemptKeyList(int index, Key value) * A set of 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 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.setLedgerId(com.google.protobuf.ByteString value) * A ledger ID of the network that generated this response.* 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 latest running hash of the topic.setSequenceNumber(long value) * A current sequence number (starting at 1 for the first message) for messages on this topic.setSubmitKey(Key value) * A key that MUST sign any transaction to submit a message to this topic.setSubmitKey(Key.Builder builderForValue) * A key that MUST sign any transaction to submit a message to this topic.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
-
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 = 1;- Specified by:
getMemoin interfaceConsensusTopicInfoOrBuilder- 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 = 1;- Specified by:
getMemoBytesin interfaceConsensusTopicInfoOrBuilder- 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 = 1;- 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 = 1;- 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 = 1;- Parameters:
value- The bytes for memo to set.- Returns:
- This builder for chaining.
-
getRunningHash
public com.google.protobuf.ByteString getRunningHash()* The latest running hash of the 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 new transactions SHALL use 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>
bytes runningHash = 2;- Specified by:
getRunningHashin interfaceConsensusTopicInfoOrBuilder- Returns:
- The runningHash.
-
setRunningHash
* The latest running hash of the 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 new transactions SHALL use 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>
bytes runningHash = 2;- Parameters:
value- The runningHash to set.- Returns:
- This builder for chaining.
-
clearRunningHash
* The latest running hash of the 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 new transactions SHALL use 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>
bytes runningHash = 2;- Returns:
- This builder for chaining.
-
getSequenceNumber
public long getSequenceNumber()* A current sequence number (starting at 1 for the first message) for messages on this topic.
uint64 sequenceNumber = 3;- Specified by:
getSequenceNumberin interfaceConsensusTopicInfoOrBuilder- Returns:
- The sequenceNumber.
-
setSequenceNumber
* A current sequence number (starting at 1 for the first message) for messages on this topic.
uint64 sequenceNumber = 3;- Parameters:
value- The sequenceNumber to set.- Returns:
- This builder for chaining.
-
clearSequenceNumber
* A current sequence number (starting at 1 for the first message) for messages on this topic.
uint64 sequenceNumber = 3;- Returns:
- This builder for chaining.
-
hasExpirationTime
public boolean hasExpirationTime()* An 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`.
.proto.Timestamp expirationTime = 4;- Specified by:
hasExpirationTimein interfaceConsensusTopicInfoOrBuilder- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
* An 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`.
.proto.Timestamp expirationTime = 4;- Specified by:
getExpirationTimein interfaceConsensusTopicInfoOrBuilder- Returns:
- The expirationTime.
-
setExpirationTime
* An 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`.
.proto.Timestamp expirationTime = 4; -
setExpirationTime
* An 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`.
.proto.Timestamp expirationTime = 4; -
mergeExpirationTime
* An 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`.
.proto.Timestamp expirationTime = 4; -
clearExpirationTime
* An 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`.
.proto.Timestamp expirationTime = 4; -
hasAdminKey
public boolean hasAdminKey()* A key that MUST sign any transaction to update or delete this topic. <p> If this value is not set (null) then the topic CANNOT be deleted, modified, or updated.
.proto.Key adminKey = 5;- Specified by:
hasAdminKeyin interfaceConsensusTopicInfoOrBuilder- Returns:
- Whether the adminKey field is set.
-
getAdminKey
* A key that MUST sign any transaction to update or delete this topic. <p> If this value is not set (null) then the topic CANNOT be deleted, modified, or updated.
.proto.Key adminKey = 5;- Specified by:
getAdminKeyin interfaceConsensusTopicInfoOrBuilder- Returns:
- The adminKey.
-
setAdminKey
* A key that MUST sign any transaction to update or delete this topic. <p> If this value is not set (null) then the topic CANNOT be deleted, modified, or updated.
.proto.Key adminKey = 5; -
setAdminKey
* A key that MUST sign any transaction to update or delete this topic. <p> If this value is not set (null) then the topic CANNOT be deleted, modified, or updated.
.proto.Key adminKey = 5; -
mergeAdminKey
* A key that MUST sign any transaction to update or delete this topic. <p> If this value is not set (null) then the topic CANNOT be deleted, modified, or updated.
.proto.Key adminKey = 5; -
clearAdminKey
* A key that MUST sign any transaction to update or delete this topic. <p> If this value is not set (null) then the topic CANNOT be deleted, modified, or updated.
.proto.Key adminKey = 5; -
hasSubmitKey
public boolean hasSubmitKey()* A key that MUST sign any transaction to submit a message to this topic. <p> If this value is not set (null) then any account MAY submit messages to this topic.
.proto.Key submitKey = 6;- Specified by:
hasSubmitKeyin interfaceConsensusTopicInfoOrBuilder- Returns:
- Whether the submitKey field is set.
-
getSubmitKey
* A key that MUST sign any transaction to submit a message to this topic. <p> If this value is not set (null) then any account MAY submit messages to this topic.
.proto.Key submitKey = 6;- Specified by:
getSubmitKeyin interfaceConsensusTopicInfoOrBuilder- Returns:
- The submitKey.
-
setSubmitKey
* A key that MUST sign any transaction to submit a message to this topic. <p> If this value is not set (null) then any account MAY submit messages to this topic.
.proto.Key submitKey = 6; -
setSubmitKey
* A key that MUST sign any transaction to submit a message to this topic. <p> If this value is not set (null) then any account MAY submit messages to this topic.
.proto.Key submitKey = 6; -
mergeSubmitKey
* A key that MUST sign any transaction to submit a message to this topic. <p> If this value is not set (null) then any account MAY submit messages to this topic.
.proto.Key submitKey = 6; -
clearSubmitKey
* A key that MUST sign any transaction to submit a message to this topic. <p> If this value is not set (null) then any account MAY submit messages to this topic.
.proto.Key submitKey = 6; -
hasAutoRenewPeriod
public boolean hasAutoRenewPeriod()* A duration, in seconds, to extend the `expirationTime` value when this topic is automatically renewed. <p> If the `autoRenewAccount` value for this topic is set to a valid account with sufficient HBAR balance to pay renewal fees when this topic expires, the system SHALL automatically renew this topic, extending the `expirationTime` value by the number of seconds described here.<br/> If, however, the `autoRenewAccount` lacks sufficient HBAR balance to pay renewal fees when this topic expires, this topic SHALL be deleted after the time period specified in the `AUTORENEW_GRACE_PERIOD` configuration value.
.proto.Duration autoRenewPeriod = 7;- Specified by:
hasAutoRenewPeriodin interfaceConsensusTopicInfoOrBuilder- Returns:
- Whether the autoRenewPeriod field is set.
-
getAutoRenewPeriod
* A duration, in seconds, to extend the `expirationTime` value when this topic is automatically renewed. <p> If the `autoRenewAccount` value for this topic is set to a valid account with sufficient HBAR balance to pay renewal fees when this topic expires, the system SHALL automatically renew this topic, extending the `expirationTime` value by the number of seconds described here.<br/> If, however, the `autoRenewAccount` lacks sufficient HBAR balance to pay renewal fees when this topic expires, this topic SHALL be deleted after the time period specified in the `AUTORENEW_GRACE_PERIOD` configuration value.
.proto.Duration autoRenewPeriod = 7;- Specified by:
getAutoRenewPeriodin interfaceConsensusTopicInfoOrBuilder- Returns:
- The autoRenewPeriod.
-
setAutoRenewPeriod
* A duration, in seconds, to extend the `expirationTime` value when this topic is automatically renewed. <p> If the `autoRenewAccount` value for this topic is set to a valid account with sufficient HBAR balance to pay renewal fees when this topic expires, the system SHALL automatically renew this topic, extending the `expirationTime` value by the number of seconds described here.<br/> If, however, the `autoRenewAccount` lacks sufficient HBAR balance to pay renewal fees when this topic expires, this topic SHALL be deleted after the time period specified in the `AUTORENEW_GRACE_PERIOD` configuration value.
.proto.Duration autoRenewPeriod = 7; -
setAutoRenewPeriod
* A duration, in seconds, to extend the `expirationTime` value when this topic is automatically renewed. <p> If the `autoRenewAccount` value for this topic is set to a valid account with sufficient HBAR balance to pay renewal fees when this topic expires, the system SHALL automatically renew this topic, extending the `expirationTime` value by the number of seconds described here.<br/> If, however, the `autoRenewAccount` lacks sufficient HBAR balance to pay renewal fees when this topic expires, this topic SHALL be deleted after the time period specified in the `AUTORENEW_GRACE_PERIOD` configuration value.
.proto.Duration autoRenewPeriod = 7; -
mergeAutoRenewPeriod
* A duration, in seconds, to extend the `expirationTime` value when this topic is automatically renewed. <p> If the `autoRenewAccount` value for this topic is set to a valid account with sufficient HBAR balance to pay renewal fees when this topic expires, the system SHALL automatically renew this topic, extending the `expirationTime` value by the number of seconds described here.<br/> If, however, the `autoRenewAccount` lacks sufficient HBAR balance to pay renewal fees when this topic expires, this topic SHALL be deleted after the time period specified in the `AUTORENEW_GRACE_PERIOD` configuration value.
.proto.Duration autoRenewPeriod = 7; -
clearAutoRenewPeriod
* A duration, in seconds, to extend the `expirationTime` value when this topic is automatically renewed. <p> If the `autoRenewAccount` value for this topic is set to a valid account with sufficient HBAR balance to pay renewal fees when this topic expires, the system SHALL automatically renew this topic, extending the `expirationTime` value by the number of seconds described here.<br/> If, however, the `autoRenewAccount` lacks sufficient HBAR balance to pay renewal fees when this topic expires, this topic SHALL be deleted after the time period specified in the `AUTORENEW_GRACE_PERIOD` configuration value.
.proto.Duration autoRenewPeriod = 7; -
hasAutoRenewAccount
public boolean hasAutoRenewAccount()* An account that is designated to pay automatic renewal fees. <p> If this value is a valid account ID when this topic expires, this account SHALL be charged the renewal fees for this topic, if it holds sufficient HBAR balance. If the account does not hold sufficient HBAR balance to pay renewal fees when necessary, then this topic SHALL be deleted.<br/> If this value is not set (null), or is not a valid account ID, when this topic expires, then this topic SHALL be deleted after the time period specified in the `AUTORENEW_GRACE_PERIOD` configuration value.
.proto.AccountID autoRenewAccount = 8;- Specified by:
hasAutoRenewAccountin interfaceConsensusTopicInfoOrBuilder- Returns:
- Whether the autoRenewAccount field is set.
-
getAutoRenewAccount
* An account that is designated to pay automatic renewal fees. <p> If this value is a valid account ID when this topic expires, this account SHALL be charged the renewal fees for this topic, if it holds sufficient HBAR balance. If the account does not hold sufficient HBAR balance to pay renewal fees when necessary, then this topic SHALL be deleted.<br/> If this value is not set (null), or is not a valid account ID, when this topic expires, then this topic SHALL be deleted after the time period specified in the `AUTORENEW_GRACE_PERIOD` configuration value.
.proto.AccountID autoRenewAccount = 8;- Specified by:
getAutoRenewAccountin interfaceConsensusTopicInfoOrBuilder- Returns:
- The autoRenewAccount.
-
setAutoRenewAccount
* An account that is designated to pay automatic renewal fees. <p> If this value is a valid account ID when this topic expires, this account SHALL be charged the renewal fees for this topic, if it holds sufficient HBAR balance. If the account does not hold sufficient HBAR balance to pay renewal fees when necessary, then this topic SHALL be deleted.<br/> If this value is not set (null), or is not a valid account ID, when this topic expires, then this topic SHALL be deleted after the time period specified in the `AUTORENEW_GRACE_PERIOD` configuration value.
.proto.AccountID autoRenewAccount = 8; -
setAutoRenewAccount
* An account that is designated to pay automatic renewal fees. <p> If this value is a valid account ID when this topic expires, this account SHALL be charged the renewal fees for this topic, if it holds sufficient HBAR balance. If the account does not hold sufficient HBAR balance to pay renewal fees when necessary, then this topic SHALL be deleted.<br/> If this value is not set (null), or is not a valid account ID, when this topic expires, then this topic SHALL be deleted after the time period specified in the `AUTORENEW_GRACE_PERIOD` configuration value.
.proto.AccountID autoRenewAccount = 8; -
mergeAutoRenewAccount
* An account that is designated to pay automatic renewal fees. <p> If this value is a valid account ID when this topic expires, this account SHALL be charged the renewal fees for this topic, if it holds sufficient HBAR balance. If the account does not hold sufficient HBAR balance to pay renewal fees when necessary, then this topic SHALL be deleted.<br/> If this value is not set (null), or is not a valid account ID, when this topic expires, then this topic SHALL be deleted after the time period specified in the `AUTORENEW_GRACE_PERIOD` configuration value.
.proto.AccountID autoRenewAccount = 8; -
clearAutoRenewAccount
* An account that is designated to pay automatic renewal fees. <p> If this value is a valid account ID when this topic expires, this account SHALL be charged the renewal fees for this topic, if it holds sufficient HBAR balance. If the account does not hold sufficient HBAR balance to pay renewal fees when necessary, then this topic SHALL be deleted.<br/> If this value is not set (null), or is not a valid account ID, when this topic expires, then this topic SHALL be deleted after the time period specified in the `AUTORENEW_GRACE_PERIOD` configuration value.
.proto.AccountID autoRenewAccount = 8; -
getLedgerId
public com.google.protobuf.ByteString getLedgerId()* A ledger ID of the network that generated this response. <p> This value SHALL identify the distributed ledger that responded to this query.
bytes ledger_id = 9;- Specified by:
getLedgerIdin interfaceConsensusTopicInfoOrBuilder- Returns:
- The ledgerId.
-
setLedgerId
* A ledger ID of the network that generated this response. <p> This value SHALL identify the distributed ledger that responded to this query.
bytes ledger_id = 9;- Parameters:
value- The ledgerId to set.- Returns:
- This builder for chaining.
-
clearLedgerId
* A ledger ID of the network that generated this response. <p> This value SHALL identify the distributed ledger that responded to this query.
bytes ledger_id = 9;- Returns:
- This builder for chaining.
-
hasFeeScheduleKey
public boolean hasFeeScheduleKey()* Access control for update/delete of custom fees. <p> If unset, custom fees CANNOT be set for this topic.<br/> If not set when the topic is created, this field CANNOT be set via update.<br/> If set when the topic is created, this field MAY be changed via update.
.proto.Key fee_schedule_key = 10;- Specified by:
hasFeeScheduleKeyin interfaceConsensusTopicInfoOrBuilder- Returns:
- Whether the feeScheduleKey field is set.
-
getFeeScheduleKey
* Access control for update/delete of custom fees. <p> If unset, custom fees CANNOT be set for this topic.<br/> If not set when the topic is created, this field CANNOT be set via update.<br/> If set when the topic is created, this field MAY be changed via update.
.proto.Key fee_schedule_key = 10;- Specified by:
getFeeScheduleKeyin interfaceConsensusTopicInfoOrBuilder- Returns:
- The feeScheduleKey.
-
setFeeScheduleKey
* Access control for update/delete of custom fees. <p> If unset, custom fees CANNOT be set for this topic.<br/> If not set when the topic is created, this field CANNOT be set via update.<br/> If set when the topic is created, this field MAY be changed via update.
.proto.Key fee_schedule_key = 10; -
setFeeScheduleKey
* Access control for update/delete of custom fees. <p> If unset, custom fees CANNOT be set for this topic.<br/> If not set when the topic is created, this field CANNOT be set via update.<br/> If set when the topic is created, this field MAY be changed via update.
.proto.Key fee_schedule_key = 10; -
mergeFeeScheduleKey
* Access control for update/delete of custom fees. <p> If unset, custom fees CANNOT be set for this topic.<br/> If not set when the topic is created, this field CANNOT be set via update.<br/> If set when the topic is created, this field MAY be changed via update.
.proto.Key fee_schedule_key = 10; -
clearFeeScheduleKey
* Access control for update/delete of custom fees. <p> If unset, custom fees CANNOT be set for this topic.<br/> If not set when the topic is created, this field CANNOT be set via update.<br/> If set when the topic is created, this field MAY be changed via update.
.proto.Key fee_schedule_key = 10; -
getFeeExemptKeyListList
* A set of 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 topic submit message is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> `fee_exempt_key_list` MAY contain keys for accounts that are inactive, deleted, or non-existent.<br/> 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`. A `fee_exempt_key_list` MUST NOT contain more than `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys. A `fee_exempt_key_list` MUST NOT contain any duplicate keys.
repeated .proto.Key fee_exempt_key_list = 11;- Specified by:
getFeeExemptKeyListListin interfaceConsensusTopicInfoOrBuilder
-
getFeeExemptKeyListCount
public int getFeeExemptKeyListCount()* A set of 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 topic submit message is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> `fee_exempt_key_list` MAY contain keys for accounts that are inactive, deleted, or non-existent.<br/> 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`. A `fee_exempt_key_list` MUST NOT contain more than `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys. A `fee_exempt_key_list` MUST NOT contain any duplicate keys.
repeated .proto.Key fee_exempt_key_list = 11;- Specified by:
getFeeExemptKeyListCountin interfaceConsensusTopicInfoOrBuilder
-
getFeeExemptKeyList
* A set of 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 topic submit message is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> `fee_exempt_key_list` MAY contain keys for accounts that are inactive, deleted, or non-existent.<br/> 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`. A `fee_exempt_key_list` MUST NOT contain more than `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys. A `fee_exempt_key_list` MUST NOT contain any duplicate keys.
repeated .proto.Key fee_exempt_key_list = 11;- Specified by:
getFeeExemptKeyListin interfaceConsensusTopicInfoOrBuilder
-
setFeeExemptKeyList
* A set of 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 topic submit message is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> `fee_exempt_key_list` MAY contain keys for accounts that are inactive, deleted, or non-existent.<br/> 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`. A `fee_exempt_key_list` MUST NOT contain more than `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys. A `fee_exempt_key_list` MUST NOT contain any duplicate keys.
repeated .proto.Key fee_exempt_key_list = 11; -
setFeeExemptKeyList
* A set of 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 topic submit message is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> `fee_exempt_key_list` MAY contain keys for accounts that are inactive, deleted, or non-existent.<br/> 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`. A `fee_exempt_key_list` MUST NOT contain more than `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys. A `fee_exempt_key_list` MUST NOT contain any duplicate keys.
repeated .proto.Key fee_exempt_key_list = 11; -
addFeeExemptKeyList
* A set of 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 topic submit message is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> `fee_exempt_key_list` MAY contain keys for accounts that are inactive, deleted, or non-existent.<br/> 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`. A `fee_exempt_key_list` MUST NOT contain more than `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys. A `fee_exempt_key_list` MUST NOT contain any duplicate keys.
repeated .proto.Key fee_exempt_key_list = 11; -
addFeeExemptKeyList
* A set of 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 topic submit message is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> `fee_exempt_key_list` MAY contain keys for accounts that are inactive, deleted, or non-existent.<br/> 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`. A `fee_exempt_key_list` MUST NOT contain more than `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys. A `fee_exempt_key_list` MUST NOT contain any duplicate keys.
repeated .proto.Key fee_exempt_key_list = 11; -
addFeeExemptKeyList
* A set of 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 topic submit message is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> `fee_exempt_key_list` MAY contain keys for accounts that are inactive, deleted, or non-existent.<br/> 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`. A `fee_exempt_key_list` MUST NOT contain more than `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys. A `fee_exempt_key_list` MUST NOT contain any duplicate keys.
repeated .proto.Key fee_exempt_key_list = 11; -
addFeeExemptKeyList
* A set of 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 topic submit message is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> `fee_exempt_key_list` MAY contain keys for accounts that are inactive, deleted, or non-existent.<br/> 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`. A `fee_exempt_key_list` MUST NOT contain more than `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys. A `fee_exempt_key_list` MUST NOT contain any duplicate keys.
repeated .proto.Key fee_exempt_key_list = 11; -
addAllFeeExemptKeyList
* A set of 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 topic submit message is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> `fee_exempt_key_list` MAY contain keys for accounts that are inactive, deleted, or non-existent.<br/> 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`. A `fee_exempt_key_list` MUST NOT contain more than `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys. A `fee_exempt_key_list` MUST NOT contain any duplicate keys.
repeated .proto.Key fee_exempt_key_list = 11; -
clearFeeExemptKeyList
* A set of 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 topic submit message is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> `fee_exempt_key_list` MAY contain keys for accounts that are inactive, deleted, or non-existent.<br/> 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`. A `fee_exempt_key_list` MUST NOT contain more than `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys. A `fee_exempt_key_list` MUST NOT contain any duplicate keys.
repeated .proto.Key fee_exempt_key_list = 11; -
removeFeeExemptKeyList
* A set of 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 topic submit message is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> `fee_exempt_key_list` MAY contain keys for accounts that are inactive, deleted, or non-existent.<br/> 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`. A `fee_exempt_key_list` MUST NOT contain more than `MAX_ENTRIES_FOR_FEE_EXEMPT_KEY_LIST` keys. A `fee_exempt_key_list` MUST NOT contain any duplicate keys.
repeated .proto.Key fee_exempt_key_list = 11; -
getCustomFeesList
* A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic. <p> 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/> Custom fees defined here SHALL be assessed in addition to the base network and node fees.
repeated .proto.FixedCustomFee custom_fees = 12;- Specified by:
getCustomFeesListin interfaceConsensusTopicInfoOrBuilder
-
getCustomFeesCount
public int getCustomFeesCount()* A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic. <p> 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/> Custom fees defined here SHALL be assessed in addition to the base network and node fees.
repeated .proto.FixedCustomFee custom_fees = 12;- Specified by:
getCustomFeesCountin interfaceConsensusTopicInfoOrBuilder
-
getCustomFees
* A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic. <p> 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/> Custom fees defined here SHALL be assessed in addition to the base network and node fees.
repeated .proto.FixedCustomFee custom_fees = 12;- Specified by:
getCustomFeesin interfaceConsensusTopicInfoOrBuilder
-
setCustomFees
* A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic. <p> 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/> Custom fees defined here SHALL be assessed in addition to the base network and node fees.
repeated .proto.FixedCustomFee custom_fees = 12; -
setCustomFees
* A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic. <p> 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/> Custom fees defined here SHALL be assessed in addition to the base network and node fees.
repeated .proto.FixedCustomFee custom_fees = 12; -
addCustomFees
* A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic. <p> 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/> Custom fees defined here SHALL be assessed in addition to the base network and node fees.
repeated .proto.FixedCustomFee custom_fees = 12; -
addCustomFees
* A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic. <p> 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/> Custom fees defined here SHALL be assessed in addition to the base network and node fees.
repeated .proto.FixedCustomFee custom_fees = 12; -
addCustomFees
* A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic. <p> 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/> Custom fees defined here SHALL be assessed in addition to the base network and node fees.
repeated .proto.FixedCustomFee custom_fees = 12; -
addCustomFees
* A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic. <p> 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/> Custom fees defined here SHALL be assessed in addition to the base network and node fees.
repeated .proto.FixedCustomFee custom_fees = 12; -
addAllCustomFees
* A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic. <p> 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/> Custom fees defined here SHALL be assessed in addition to the base network and node fees.
repeated .proto.FixedCustomFee custom_fees = 12; -
clearCustomFees
* A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic. <p> 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/> Custom fees defined here SHALL be assessed in addition to the base network and node fees.
repeated .proto.FixedCustomFee custom_fees = 12; -
removeCustomFees
* A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic. <p> 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/> Custom fees defined here SHALL be assessed in addition to the base network and node fees.
repeated .proto.FixedCustomFee custom_fees = 12;
-