Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class ConsensusUpdateTopicTransactionBody.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<ConsensusUpdateTopicTransactionBody,ConsensusUpdateTopicTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<ConsensusUpdateTopicTransactionBody,ConsensusUpdateTopicTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ConsensusUpdateTopicTransactionBodyOrBuilder,Cloneable
- Enclosing class:
ConsensusUpdateTopicTransactionBody
public static final class ConsensusUpdateTopicTransactionBody.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ConsensusUpdateTopicTransactionBody,ConsensusUpdateTopicTransactionBody.Builder>
implements ConsensusUpdateTopicTransactionBodyOrBuilder
* Update the fields of an existing HCS topic. The topicID field is REQUIRED. All other fields are OPTIONAL.<br/> Fields set on this transaction SHALL be updated.<br/> Fields _not_ set on this transaction SHALL NOT be updated. ### Block Stream Effects NoneProtobuf type
proto.ConsensusUpdateTopicTransactionBody-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* Updated access control for modification of the topic.* An updated ID for the account to be charged renewal fees at the topic's `expirationTime` to extend the lifetime of the topic.An updated value for the number of seconds by which the topic expiration will be automatically extended upon expiration, 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.* An updated 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.* An updated memo to be associated with this topic.* Updated access control for message submission to the topic.* The topic ID specifying the topic to update.* Updated access control for modification of the topic.* An updated ID for the account to be charged renewal fees at the topic's `expirationTime` to extend the lifetime of the topic.An updated value for the number of seconds by which the topic expiration will be automatically extended upon expiration, 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.* An updated 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.com.google.protobuf.StringValuegetMemo()* An updated memo to be associated with this topic.* Updated access control for message submission to the topic.* The topic ID specifying the topic to update.boolean* Updated access control for modification of the topic.boolean* An updated ID for the account to be charged renewal fees at the topic's `expirationTime` to extend the lifetime of the topic.booleanAn updated value for the number of seconds by which the topic expiration will be automatically extended upon expiration, if it has a valid auto-renew account.boolean* A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.boolean* An updated expiration time for this topic, in seconds since the epoch.boolean* 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.boolean* Access control for update/delete of custom fees.booleanhasMemo()* An updated memo to be associated with this topic.boolean* Updated access control for message submission to the topic.boolean* The topic ID specifying the topic to update.mergeAdminKey(Key value) * Updated access control for modification of the topic.mergeAutoRenewAccount(AccountID value) * An updated ID for the account to be charged renewal fees at the topic's `expirationTime` to extend the lifetime of the topic.mergeAutoRenewPeriod(Duration value) An updated value for the number of seconds by which the topic expiration will be automatically extended upon expiration, 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.mergeExpirationTime(Timestamp value) * An updated 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.mergeFeeScheduleKey(Key value) * Access control for update/delete of custom fees.mergeMemo(com.google.protobuf.StringValue value) * An updated memo to be associated with this topic.mergeSubmitKey(Key value) * Updated access control for message submission to the topic.mergeTopicID(TopicID value) * The topic ID specifying the topic to update.setAdminKey(Key value) * Updated access control for modification of the topic.setAdminKey(Key.Builder builderForValue) * Updated access control for modification of the topic.setAutoRenewAccount(AccountID value) * An updated ID for the account to be charged renewal fees at the topic's `expirationTime` to extend the lifetime of the topic.setAutoRenewAccount(AccountID.Builder builderForValue) * An updated ID for the account to be charged renewal fees at the topic's `expirationTime` to extend the lifetime of the topic.setAutoRenewPeriod(Duration value) An updated value for the number of seconds by which the topic expiration will be automatically extended upon expiration, if it has a valid auto-renew account.setAutoRenewPeriod(Duration.Builder builderForValue) An updated value for the number of seconds by which the topic expiration will be automatically extended upon expiration, if it has a valid auto-renew account.setCustomFees(FixedCustomFeeList value) * A set of custom fee definitions.<br/> These are fees to be assessed for each submit to this topic.setCustomFees(FixedCustomFeeList.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 updated expiration time for this topic, in seconds since the epoch.setExpirationTime(Timestamp.Builder builderForValue) * An updated 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.setFeeExemptKeyList(FeeExemptKeyList.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.setMemo(com.google.protobuf.StringValue value) * An updated memo to be associated with this topic.setMemo(com.google.protobuf.StringValue.Builder builderForValue) * An updated memo to be associated with this topic.setSubmitKey(Key value) * Updated access control for message submission to the topic.setSubmitKey(Key.Builder builderForValue) * Updated access control for message submission to the topic.setTopicID(TopicID value) * The topic ID specifying the topic to update.setTopicID(TopicID.Builder builderForValue) * The topic ID specifying the topic to update.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 ID specifying the topic to update. <p> A topic with this ID MUST exist and MUST NOT be deleted.<br/> This value is REQUIRED.
.proto.TopicID topicID = 1;- Specified by:
hasTopicIDin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- Whether the topicID field is set.
-
getTopicID
* The topic ID specifying the topic to update. <p> A topic with this ID MUST exist and MUST NOT be deleted.<br/> This value is REQUIRED.
.proto.TopicID topicID = 1;- Specified by:
getTopicIDin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- The topicID.
-
setTopicID
* The topic ID specifying the topic to update. <p> A topic with this ID MUST exist and MUST NOT be deleted.<br/> This value is REQUIRED.
.proto.TopicID topicID = 1; -
setTopicID
* The topic ID specifying the topic to update. <p> A topic with this ID MUST exist and MUST NOT be deleted.<br/> This value is REQUIRED.
.proto.TopicID topicID = 1; -
mergeTopicID
* The topic ID specifying the topic to update. <p> A topic with this ID MUST exist and MUST NOT be deleted.<br/> This value is REQUIRED.
.proto.TopicID topicID = 1; -
clearTopicID
* The topic ID specifying the topic to update. <p> A topic with this ID MUST exist and MUST NOT be deleted.<br/> This value is REQUIRED.
.proto.TopicID topicID = 1; -
hasMemo
public boolean hasMemo()* An updated memo to be associated with this topic. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> This value, if set, SHALL be encoded UTF-8 and SHALL NOT exceed 100 bytes when so encoded.
.google.protobuf.StringValue memo = 2;- Specified by:
hasMemoin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- Whether the memo field is set.
-
getMemo
public com.google.protobuf.StringValue getMemo()* An updated memo to be associated with this topic. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> This value, if set, SHALL be encoded UTF-8 and SHALL NOT exceed 100 bytes when so encoded.
.google.protobuf.StringValue memo = 2;- Specified by:
getMemoin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- The memo.
-
setMemo
* An updated memo to be associated with this topic. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> This value, if set, SHALL be encoded UTF-8 and SHALL NOT exceed 100 bytes when so encoded.
.google.protobuf.StringValue memo = 2; -
setMemo
public ConsensusUpdateTopicTransactionBody.Builder setMemo(com.google.protobuf.StringValue.Builder builderForValue) * An updated memo to be associated with this topic. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> This value, if set, SHALL be encoded UTF-8 and SHALL NOT exceed 100 bytes when so encoded.
.google.protobuf.StringValue memo = 2; -
mergeMemo
* An updated memo to be associated with this topic. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> This value, if set, SHALL be encoded UTF-8 and SHALL NOT exceed 100 bytes when so encoded.
.google.protobuf.StringValue memo = 2; -
clearMemo
* An updated memo to be associated with this topic. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> This value, if set, SHALL be encoded UTF-8 and SHALL NOT exceed 100 bytes when so encoded.
.google.protobuf.StringValue memo = 2; -
hasExpirationTime
public boolean hasExpirationTime()* An updated 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`.<br/> The expirationTime MUST NOT be greater than the sum of `MAX_AUTORENEW_PERIOD` and the actual consensus timestamp of this transaction.<br/> If `adminKey` is <b>unset</b> for the _topic_, this transaction MUST NOT modify any other field.
.proto.Timestamp expirationTime = 4;- Specified by:
hasExpirationTimein interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
* An updated 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`.<br/> The expirationTime MUST NOT be greater than the sum of `MAX_AUTORENEW_PERIOD` and the actual consensus timestamp of this transaction.<br/> If `adminKey` is <b>unset</b> for the _topic_, this transaction MUST NOT modify any other field.
.proto.Timestamp expirationTime = 4;- Specified by:
getExpirationTimein interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- The expirationTime.
-
setExpirationTime
* An updated 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`.<br/> The expirationTime MUST NOT be greater than the sum of `MAX_AUTORENEW_PERIOD` and the actual consensus timestamp of this transaction.<br/> If `adminKey` is <b>unset</b> for the _topic_, this transaction MUST NOT modify any other field.
.proto.Timestamp expirationTime = 4; -
setExpirationTime
public ConsensusUpdateTopicTransactionBody.Builder setExpirationTime(Timestamp.Builder builderForValue) * An updated 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`.<br/> The expirationTime MUST NOT be greater than the sum of `MAX_AUTORENEW_PERIOD` and the actual consensus timestamp of this transaction.<br/> If `adminKey` is <b>unset</b> for the _topic_, this transaction MUST NOT modify any other field.
.proto.Timestamp expirationTime = 4; -
mergeExpirationTime
* An updated 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`.<br/> The expirationTime MUST NOT be greater than the sum of `MAX_AUTORENEW_PERIOD` and the actual consensus timestamp of this transaction.<br/> If `adminKey` is <b>unset</b> for the _topic_, this transaction MUST NOT modify any other field.
.proto.Timestamp expirationTime = 4; -
clearExpirationTime
* An updated 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`.<br/> The expirationTime MUST NOT be greater than the sum of `MAX_AUTORENEW_PERIOD` and the actual consensus timestamp of this transaction.<br/> If `adminKey` is <b>unset</b> for the _topic_, this transaction MUST NOT modify any other field.
.proto.Timestamp expirationTime = 4; -
hasAdminKey
public boolean hasAdminKey()* Updated access control for modification of the topic. <p> If this field is set, that key and the previously set key MUST both sign this transaction.<br/> If this value is an empty `KeyList`, the prior key MUST sign this transaction, and the topic SHALL be immutable after this transaction completes, except for expiration and renewal.
.proto.Key adminKey = 6;- Specified by:
hasAdminKeyin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- Whether the adminKey field is set.
-
getAdminKey
* Updated access control for modification of the topic. <p> If this field is set, that key and the previously set key MUST both sign this transaction.<br/> If this value is an empty `KeyList`, the prior key MUST sign this transaction, and the topic SHALL be immutable after this transaction completes, except for expiration and renewal.
.proto.Key adminKey = 6;- Specified by:
getAdminKeyin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- The adminKey.
-
setAdminKey
* Updated access control for modification of the topic. <p> If this field is set, that key and the previously set key MUST both sign this transaction.<br/> If this value is an empty `KeyList`, the prior key MUST sign this transaction, and the topic SHALL be immutable after this transaction completes, except for expiration and renewal.
.proto.Key adminKey = 6; -
setAdminKey
* Updated access control for modification of the topic. <p> If this field is set, that key and the previously set key MUST both sign this transaction.<br/> If this value is an empty `KeyList`, the prior key MUST sign this transaction, and the topic SHALL be immutable after this transaction completes, except for expiration and renewal.
.proto.Key adminKey = 6; -
mergeAdminKey
* Updated access control for modification of the topic. <p> If this field is set, that key and the previously set key MUST both sign this transaction.<br/> If this value is an empty `KeyList`, the prior key MUST sign this transaction, and the topic SHALL be immutable after this transaction completes, except for expiration and renewal.
.proto.Key adminKey = 6; -
clearAdminKey
* Updated access control for modification of the topic. <p> If this field is set, that key and the previously set key MUST both sign this transaction.<br/> If this value is an empty `KeyList`, the prior key MUST sign this transaction, and the topic SHALL be immutable after this transaction completes, except for expiration and renewal.
.proto.Key adminKey = 6; -
hasSubmitKey
public boolean hasSubmitKey()* Updated access control for message submission to the topic. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> If this value is set to an empty `KeyList`, the `submitKey` for the topic will be unset after this transaction completes. When the `submitKey` is unset, any account may submit a message on the topic, without restriction.
.proto.Key submitKey = 7;- Specified by:
hasSubmitKeyin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- Whether the submitKey field is set.
-
getSubmitKey
* Updated access control for message submission to the topic. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> If this value is set to an empty `KeyList`, the `submitKey` for the topic will be unset after this transaction completes. When the `submitKey` is unset, any account may submit a message on the topic, without restriction.
.proto.Key submitKey = 7;- Specified by:
getSubmitKeyin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- The submitKey.
-
setSubmitKey
* Updated access control for message submission to the topic. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> If this value is set to an empty `KeyList`, the `submitKey` for the topic will be unset after this transaction completes. When the `submitKey` is unset, any account may submit a message on the topic, without restriction.
.proto.Key submitKey = 7; -
setSubmitKey
* Updated access control for message submission to the topic. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> If this value is set to an empty `KeyList`, the `submitKey` for the topic will be unset after this transaction completes. When the `submitKey` is unset, any account may submit a message on the topic, without restriction.
.proto.Key submitKey = 7; -
mergeSubmitKey
* Updated access control for message submission to the topic. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> If this value is set to an empty `KeyList`, the `submitKey` for the topic will be unset after this transaction completes. When the `submitKey` is unset, any account may submit a message on the topic, without restriction.
.proto.Key submitKey = 7; -
clearSubmitKey
* Updated access control for message submission to the topic. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> If this value is set to an empty `KeyList`, the `submitKey` for the topic will be unset after this transaction completes. When the `submitKey` is unset, any account may submit a message on the topic, without restriction.
.proto.Key submitKey = 7; -
hasAutoRenewPeriod
public boolean hasAutoRenewPeriod()An updated value for the number of seconds by which the topic expiration will be automatically extended upon expiration, if it has a valid auto-renew account. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> This value, if set, MUST be greater than the configured MIN_AUTORENEW_PERIOD.<br/> This value, if set, MUST be less than the configured MAX_AUTORENEW_PERIOD.
.proto.Duration autoRenewPeriod = 8;- Specified by:
hasAutoRenewPeriodin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- Whether the autoRenewPeriod field is set.
-
getAutoRenewPeriod
An updated value for the number of seconds by which the topic expiration will be automatically extended upon expiration, if it has a valid auto-renew account. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> This value, if set, MUST be greater than the configured MIN_AUTORENEW_PERIOD.<br/> This value, if set, MUST be less than the configured MAX_AUTORENEW_PERIOD.
.proto.Duration autoRenewPeriod = 8;- Specified by:
getAutoRenewPeriodin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- The autoRenewPeriod.
-
setAutoRenewPeriod
An updated value for the number of seconds by which the topic expiration will be automatically extended upon expiration, if it has a valid auto-renew account. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> This value, if set, MUST be greater than the configured MIN_AUTORENEW_PERIOD.<br/> This value, if set, MUST be less than the configured MAX_AUTORENEW_PERIOD.
.proto.Duration autoRenewPeriod = 8; -
setAutoRenewPeriod
public ConsensusUpdateTopicTransactionBody.Builder setAutoRenewPeriod(Duration.Builder builderForValue) An updated value for the number of seconds by which the topic expiration will be automatically extended upon expiration, if it has a valid auto-renew account. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> This value, if set, MUST be greater than the configured MIN_AUTORENEW_PERIOD.<br/> This value, if set, MUST be less than the configured MAX_AUTORENEW_PERIOD.
.proto.Duration autoRenewPeriod = 8; -
mergeAutoRenewPeriod
An updated value for the number of seconds by which the topic expiration will be automatically extended upon expiration, if it has a valid auto-renew account. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> This value, if set, MUST be greater than the configured MIN_AUTORENEW_PERIOD.<br/> This value, if set, MUST be less than the configured MAX_AUTORENEW_PERIOD.
.proto.Duration autoRenewPeriod = 8; -
clearAutoRenewPeriod
An updated value for the number of seconds by which the topic expiration will be automatically extended upon expiration, if it has a valid auto-renew account. <p> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> This value, if set, MUST be greater than the configured MIN_AUTORENEW_PERIOD.<br/> This value, if set, MUST be less than the configured MAX_AUTORENEW_PERIOD.
.proto.Duration autoRenewPeriod = 8; -
hasAutoRenewAccount
public boolean hasAutoRenewAccount()* An updated ID for the account to be charged renewal fees at the topic's `expirationTime` to extend the lifetime of the topic. <p> If this value is set and not the "sentinel account", the referenced account MUST sign this transaction.<br/> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> If this value is set to the "sentinel account", which is `0.0.0`, the `autoRenewAccount` SHALL be removed from the topic.
.proto.AccountID autoRenewAccount = 9;- Specified by:
hasAutoRenewAccountin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- Whether the autoRenewAccount field is set.
-
getAutoRenewAccount
* An updated ID for the account to be charged renewal fees at the topic's `expirationTime` to extend the lifetime of the topic. <p> If this value is set and not the "sentinel account", the referenced account MUST sign this transaction.<br/> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> If this value is set to the "sentinel account", which is `0.0.0`, the `autoRenewAccount` SHALL be removed from the topic.
.proto.AccountID autoRenewAccount = 9;- Specified by:
getAutoRenewAccountin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- The autoRenewAccount.
-
setAutoRenewAccount
* An updated ID for the account to be charged renewal fees at the topic's `expirationTime` to extend the lifetime of the topic. <p> If this value is set and not the "sentinel account", the referenced account MUST sign this transaction.<br/> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> If this value is set to the "sentinel account", which is `0.0.0`, the `autoRenewAccount` SHALL be removed from the topic.
.proto.AccountID autoRenewAccount = 9; -
setAutoRenewAccount
public ConsensusUpdateTopicTransactionBody.Builder setAutoRenewAccount(AccountID.Builder builderForValue) * An updated ID for the account to be charged renewal fees at the topic's `expirationTime` to extend the lifetime of the topic. <p> If this value is set and not the "sentinel account", the referenced account MUST sign this transaction.<br/> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> If this value is set to the "sentinel account", which is `0.0.0`, the `autoRenewAccount` SHALL be removed from the topic.
.proto.AccountID autoRenewAccount = 9; -
mergeAutoRenewAccount
* An updated ID for the account to be charged renewal fees at the topic's `expirationTime` to extend the lifetime of the topic. <p> If this value is set and not the "sentinel account", the referenced account MUST sign this transaction.<br/> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> If this value is set to the "sentinel account", which is `0.0.0`, the `autoRenewAccount` SHALL be removed from the topic.
.proto.AccountID autoRenewAccount = 9; -
clearAutoRenewAccount
* An updated ID for the account to be charged renewal fees at the topic's `expirationTime` to extend the lifetime of the topic. <p> If this value is set and not the "sentinel account", the referenced account MUST sign this transaction.<br/> If this value is set, the current `adminKey` for the topic MUST sign this transaction.<br/> If this value is set to the "sentinel account", which is `0.0.0`, the `autoRenewAccount` SHALL be removed from the topic.
.proto.AccountID autoRenewAccount = 9; -
hasFeeScheduleKey
public boolean hasFeeScheduleKey()* Access control for update/delete of custom fees. <p> If set, subsequent consensus_update_topic transactions signed with this key MAY update or delete the custom fees for this topic.<br/> If this field is set, the admin key MUST sign this transaction.<br/> If this field is set, the previous value SHALL be replaced.<br/> If set to a 'Key' containing an empty 'KeyList', the previous value SHALL be cleared.<br/> If not set, the current key SHALL NOT change.<br/> If unset in state, this field MUST NOT be set in this transaction.<br/> If not set when the topic is created, this field CANNOT be set via update.<br/>
.proto.Key fee_schedule_key = 10;- Specified by:
hasFeeScheduleKeyin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- Whether the feeScheduleKey field is set.
-
getFeeScheduleKey
* Access control for update/delete of custom fees. <p> If set, subsequent consensus_update_topic transactions signed with this key MAY update or delete the custom fees for this topic.<br/> If this field is set, the admin key MUST sign this transaction.<br/> If this field is set, the previous value SHALL be replaced.<br/> If set to a 'Key' containing an empty 'KeyList', the previous value SHALL be cleared.<br/> If not set, the current key SHALL NOT change.<br/> If unset in state, this field MUST NOT be set in this transaction.<br/> If not set when the topic is created, this field CANNOT be set via update.<br/>
.proto.Key fee_schedule_key = 10;- Specified by:
getFeeScheduleKeyin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- The feeScheduleKey.
-
setFeeScheduleKey
* Access control for update/delete of custom fees. <p> If set, subsequent consensus_update_topic transactions signed with this key MAY update or delete the custom fees for this topic.<br/> If this field is set, the admin key MUST sign this transaction.<br/> If this field is set, the previous value SHALL be replaced.<br/> If set to a 'Key' containing an empty 'KeyList', the previous value SHALL be cleared.<br/> If not set, the current key SHALL NOT change.<br/> If unset in state, this field MUST NOT be set in this transaction.<br/> If not set when the topic is created, this field CANNOT be set via update.<br/>
.proto.Key fee_schedule_key = 10; -
setFeeScheduleKey
* Access control for update/delete of custom fees. <p> If set, subsequent consensus_update_topic transactions signed with this key MAY update or delete the custom fees for this topic.<br/> If this field is set, the admin key MUST sign this transaction.<br/> If this field is set, the previous value SHALL be replaced.<br/> If set to a 'Key' containing an empty 'KeyList', the previous value SHALL be cleared.<br/> If not set, the current key SHALL NOT change.<br/> If unset in state, this field MUST NOT be set in this transaction.<br/> If not set when the topic is created, this field CANNOT be set via update.<br/>
.proto.Key fee_schedule_key = 10; -
mergeFeeScheduleKey
* Access control for update/delete of custom fees. <p> If set, subsequent consensus_update_topic transactions signed with this key MAY update or delete the custom fees for this topic.<br/> If this field is set, the admin key MUST sign this transaction.<br/> If this field is set, the previous value SHALL be replaced.<br/> If set to a 'Key' containing an empty 'KeyList', the previous value SHALL be cleared.<br/> If not set, the current key SHALL NOT change.<br/> If unset in state, this field MUST NOT be set in this transaction.<br/> If not set when the topic is created, this field CANNOT be set via update.<br/>
.proto.Key fee_schedule_key = 10; -
clearFeeScheduleKey
* Access control for update/delete of custom fees. <p> If set, subsequent consensus_update_topic transactions signed with this key MAY update or delete the custom fees for this topic.<br/> If this field is set, the admin key MUST sign this transaction.<br/> If this field is set, the previous value SHALL be replaced.<br/> If set to a 'Key' containing an empty 'KeyList', the previous value SHALL be cleared.<br/> If not set, the current key SHALL NOT change.<br/> If unset in state, this field MUST NOT be set in this transaction.<br/> If not set when the topic is created, this field CANNOT be set via update.<br/>
.proto.Key fee_schedule_key = 10; -
hasFeeExemptKeyList
public boolean hasFeeExemptKeyList()* 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 submit transaction is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> If this field is not set, the current set of keys SHALL NOT change.<br/> If this field is set, but contains an empty list, any existing fee-exempt keys SHALL be removed.<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.
.proto.FeeExemptKeyList fee_exempt_key_list = 11;- Specified by:
hasFeeExemptKeyListin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- Whether the feeExemptKeyList field is set.
-
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 submit transaction is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> If this field is not set, the current set of keys SHALL NOT change.<br/> If this field is set, but contains an empty list, any existing fee-exempt keys SHALL be removed.<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.
.proto.FeeExemptKeyList fee_exempt_key_list = 11;- Specified by:
getFeeExemptKeyListin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- The feeExemptKeyList.
-
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 submit transaction is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> If this field is not set, the current set of keys SHALL NOT change.<br/> If this field is set, but contains an empty list, any existing fee-exempt keys SHALL be removed.<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.
.proto.FeeExemptKeyList fee_exempt_key_list = 11; -
setFeeExemptKeyList
public ConsensusUpdateTopicTransactionBody.Builder setFeeExemptKeyList(FeeExemptKeyList.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. <p> If a submit transaction is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> If this field is not set, the current set of keys SHALL NOT change.<br/> If this field is set, but contains an empty list, any existing fee-exempt keys SHALL be removed.<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.
.proto.FeeExemptKeyList fee_exempt_key_list = 11; -
mergeFeeExemptKeyList
* 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 submit transaction is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> If this field is not set, the current set of keys SHALL NOT change.<br/> If this field is set, but contains an empty list, any existing fee-exempt keys SHALL be removed.<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.
.proto.FeeExemptKeyList 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 submit transaction is signed by _any_ key included in this set, custom fees SHALL NOT be charged for that transaction.<br/> If this field is not set, the current set of keys SHALL NOT change.<br/> If this field is set, but contains an empty list, any existing fee-exempt keys SHALL be removed.<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.
.proto.FeeExemptKeyList fee_exempt_key_list = 11; -
hasCustomFees
public boolean hasCustomFees()* 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.<br/> If this field is not set, the current set of custom fees SHALL NOT change.<br/> If this field is set, but contains an empty list, all current custom fees SHALL be removed. custom_fees list SHALL NOT contain more than `MAX_CUSTOM_FEE_ENTRIES_FOR_TOPICS` entries.
.proto.FixedCustomFeeList custom_fees = 12;- Specified by:
hasCustomFeesin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- Whether the customFees field is set.
-
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.<br/> If this field is not set, the current set of custom fees SHALL NOT change.<br/> If this field is set, but contains an empty list, all current custom fees SHALL be removed. custom_fees list SHALL NOT contain more than `MAX_CUSTOM_FEE_ENTRIES_FOR_TOPICS` entries.
.proto.FixedCustomFeeList custom_fees = 12;- Specified by:
getCustomFeesin interfaceConsensusUpdateTopicTransactionBodyOrBuilder- Returns:
- The customFees.
-
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.<br/> If this field is not set, the current set of custom fees SHALL NOT change.<br/> If this field is set, but contains an empty list, all current custom fees SHALL be removed. custom_fees list SHALL NOT contain more than `MAX_CUSTOM_FEE_ENTRIES_FOR_TOPICS` entries.
.proto.FixedCustomFeeList custom_fees = 12; -
setCustomFees
public ConsensusUpdateTopicTransactionBody.Builder setCustomFees(FixedCustomFeeList.Builder builderForValue) * 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.<br/> If this field is not set, the current set of custom fees SHALL NOT change.<br/> If this field is set, but contains an empty list, all current custom fees SHALL be removed. custom_fees list SHALL NOT contain more than `MAX_CUSTOM_FEE_ENTRIES_FOR_TOPICS` entries.
.proto.FixedCustomFeeList custom_fees = 12; -
mergeCustomFees
* 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.<br/> If this field is not set, the current set of custom fees SHALL NOT change.<br/> If this field is set, but contains an empty list, all current custom fees SHALL be removed. custom_fees list SHALL NOT contain more than `MAX_CUSTOM_FEE_ENTRIES_FOR_TOPICS` entries.
.proto.FixedCustomFeeList 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.<br/> If this field is not set, the current set of custom fees SHALL NOT change.<br/> If this field is set, but contains an empty list, all current custom fees SHALL be removed. custom_fees list SHALL NOT contain more than `MAX_CUSTOM_FEE_ENTRIES_FOR_TOPICS` entries.
.proto.FixedCustomFeeList custom_fees = 12;
-