All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody Maven / Gradle / Ivy

There is a newer version: 2.46.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: consensus_update_topic.proto

// Protobuf Java Version: 3.25.4
package com.hedera.hashgraph.sdk.proto;

/**
 * 
 **
 * All fields left null will not be updated.
 * See [ConsensusService.updateTopic()](#proto.ConsensusService)
 * 
* * Protobuf type {@code proto.ConsensusUpdateTopicTransactionBody} */ public final class ConsensusUpdateTopicTransactionBody extends com.google.protobuf.GeneratedMessageLite< ConsensusUpdateTopicTransactionBody, ConsensusUpdateTopicTransactionBody.Builder> implements // @@protoc_insertion_point(message_implements:proto.ConsensusUpdateTopicTransactionBody) ConsensusUpdateTopicTransactionBodyOrBuilder { private ConsensusUpdateTopicTransactionBody() { } private int bitField0_; public static final int TOPICID_FIELD_NUMBER = 1; private com.hedera.hashgraph.sdk.proto.TopicID topicID_; /** *
   **
   * UNDOCUMENTED
   * 
* * .proto.TopicID topicID = 1; */ @java.lang.Override public boolean hasTopicID() { return ((bitField0_ & 0x00000001) != 0); } /** *
   **
   * UNDOCUMENTED
   * 
* * .proto.TopicID topicID = 1; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TopicID getTopicID() { return topicID_ == null ? com.hedera.hashgraph.sdk.proto.TopicID.getDefaultInstance() : topicID_; } /** *
   **
   * UNDOCUMENTED
   * 
* * .proto.TopicID topicID = 1; */ private void setTopicID(com.hedera.hashgraph.sdk.proto.TopicID value) { value.getClass(); topicID_ = value; bitField0_ |= 0x00000001; } /** *
   **
   * UNDOCUMENTED
   * 
* * .proto.TopicID topicID = 1; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeTopicID(com.hedera.hashgraph.sdk.proto.TopicID value) { value.getClass(); if (topicID_ != null && topicID_ != com.hedera.hashgraph.sdk.proto.TopicID.getDefaultInstance()) { topicID_ = com.hedera.hashgraph.sdk.proto.TopicID.newBuilder(topicID_).mergeFrom(value).buildPartial(); } else { topicID_ = value; } bitField0_ |= 0x00000001; } /** *
   **
   * UNDOCUMENTED
   * 
* * .proto.TopicID topicID = 1; */ private void clearTopicID() { topicID_ = null; bitField0_ = (bitField0_ & ~0x00000001); } public static final int MEMO_FIELD_NUMBER = 2; private com.google.protobuf.StringValue memo_; /** *
   **
   * If set, the new memo to be associated with the topic (UTF-8 encoding max 100 bytes)
   * 
* * .google.protobuf.StringValue memo = 2; */ @java.lang.Override public boolean hasMemo() { return ((bitField0_ & 0x00000002) != 0); } /** *
   **
   * If set, the new memo to be associated with the topic (UTF-8 encoding max 100 bytes)
   * 
* * .google.protobuf.StringValue memo = 2; */ @java.lang.Override public com.google.protobuf.StringValue getMemo() { return memo_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : memo_; } /** *
   **
   * If set, the new memo to be associated with the topic (UTF-8 encoding max 100 bytes)
   * 
* * .google.protobuf.StringValue memo = 2; */ private void setMemo(com.google.protobuf.StringValue value) { value.getClass(); memo_ = value; bitField0_ |= 0x00000002; } /** *
   **
   * If set, the new memo to be associated with the topic (UTF-8 encoding max 100 bytes)
   * 
* * .google.protobuf.StringValue memo = 2; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeMemo(com.google.protobuf.StringValue value) { value.getClass(); if (memo_ != null && memo_ != com.google.protobuf.StringValue.getDefaultInstance()) { memo_ = com.google.protobuf.StringValue.newBuilder(memo_).mergeFrom(value).buildPartial(); } else { memo_ = value; } bitField0_ |= 0x00000002; } /** *
   **
   * If set, the new memo to be associated with the topic (UTF-8 encoding max 100 bytes)
   * 
* * .google.protobuf.StringValue memo = 2; */ private void clearMemo() { memo_ = null; bitField0_ = (bitField0_ & ~0x00000002); } public static final int EXPIRATIONTIME_FIELD_NUMBER = 4; private com.hedera.hashgraph.sdk.proto.Timestamp expirationTime_; /** *
   **
   * Effective consensus timestamp at (and after) which all consensus transactions and queries will fail.
   * The expirationTime may be no longer than MAX_AUTORENEW_PERIOD (8000001 seconds) from the consensus timestamp of
   * this transaction.
   * On topics with no adminKey, extending the expirationTime is the only updateTopic option allowed on the topic.
   * If unspecified, no change.
   * 
* * .proto.Timestamp expirationTime = 4; */ @java.lang.Override public boolean hasExpirationTime() { return ((bitField0_ & 0x00000004) != 0); } /** *
   **
   * Effective consensus timestamp at (and after) which all consensus transactions and queries will fail.
   * The expirationTime may be no longer than MAX_AUTORENEW_PERIOD (8000001 seconds) from the consensus timestamp of
   * this transaction.
   * On topics with no adminKey, extending the expirationTime is the only updateTopic option allowed on the topic.
   * If unspecified, no change.
   * 
* * .proto.Timestamp expirationTime = 4; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Timestamp getExpirationTime() { return expirationTime_ == null ? com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance() : expirationTime_; } /** *
   **
   * Effective consensus timestamp at (and after) which all consensus transactions and queries will fail.
   * The expirationTime may be no longer than MAX_AUTORENEW_PERIOD (8000001 seconds) from the consensus timestamp of
   * this transaction.
   * On topics with no adminKey, extending the expirationTime is the only updateTopic option allowed on the topic.
   * If unspecified, no change.
   * 
* * .proto.Timestamp expirationTime = 4; */ private void setExpirationTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { value.getClass(); expirationTime_ = value; bitField0_ |= 0x00000004; } /** *
   **
   * Effective consensus timestamp at (and after) which all consensus transactions and queries will fail.
   * The expirationTime may be no longer than MAX_AUTORENEW_PERIOD (8000001 seconds) from the consensus timestamp of
   * this transaction.
   * On topics with no adminKey, extending the expirationTime is the only updateTopic option allowed on the topic.
   * If unspecified, no change.
   * 
* * .proto.Timestamp expirationTime = 4; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeExpirationTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { value.getClass(); if (expirationTime_ != null && expirationTime_ != com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance()) { expirationTime_ = com.hedera.hashgraph.sdk.proto.Timestamp.newBuilder(expirationTime_).mergeFrom(value).buildPartial(); } else { expirationTime_ = value; } bitField0_ |= 0x00000004; } /** *
   **
   * Effective consensus timestamp at (and after) which all consensus transactions and queries will fail.
   * The expirationTime may be no longer than MAX_AUTORENEW_PERIOD (8000001 seconds) from the consensus timestamp of
   * this transaction.
   * On topics with no adminKey, extending the expirationTime is the only updateTopic option allowed on the topic.
   * If unspecified, no change.
   * 
* * .proto.Timestamp expirationTime = 4; */ private void clearExpirationTime() { expirationTime_ = null; bitField0_ = (bitField0_ & ~0x00000004); } public static final int ADMINKEY_FIELD_NUMBER = 6; private com.hedera.hashgraph.sdk.proto.Key adminKey_; /** *
   **
   * Access control for update/delete of the topic.
   * If unspecified, no change.
   * If empty keyList - the adminKey is cleared.
   * 
* * .proto.Key adminKey = 6; */ @java.lang.Override public boolean hasAdminKey() { return ((bitField0_ & 0x00000008) != 0); } /** *
   **
   * Access control for update/delete of the topic.
   * If unspecified, no change.
   * If empty keyList - the adminKey is cleared.
   * 
* * .proto.Key adminKey = 6; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Key getAdminKey() { return adminKey_ == null ? com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance() : adminKey_; } /** *
   **
   * Access control for update/delete of the topic.
   * If unspecified, no change.
   * If empty keyList - the adminKey is cleared.
   * 
* * .proto.Key adminKey = 6; */ private void setAdminKey(com.hedera.hashgraph.sdk.proto.Key value) { value.getClass(); adminKey_ = value; bitField0_ |= 0x00000008; } /** *
   **
   * Access control for update/delete of the topic.
   * If unspecified, no change.
   * If empty keyList - the adminKey is cleared.
   * 
* * .proto.Key adminKey = 6; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeAdminKey(com.hedera.hashgraph.sdk.proto.Key value) { value.getClass(); if (adminKey_ != null && adminKey_ != com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance()) { adminKey_ = com.hedera.hashgraph.sdk.proto.Key.newBuilder(adminKey_).mergeFrom(value).buildPartial(); } else { adminKey_ = value; } bitField0_ |= 0x00000008; } /** *
   **
   * Access control for update/delete of the topic.
   * If unspecified, no change.
   * If empty keyList - the adminKey is cleared.
   * 
* * .proto.Key adminKey = 6; */ private void clearAdminKey() { adminKey_ = null; bitField0_ = (bitField0_ & ~0x00000008); } public static final int SUBMITKEY_FIELD_NUMBER = 7; private com.hedera.hashgraph.sdk.proto.Key submitKey_; /** *
   **
   * Access control for ConsensusService.submitMessage.
   * If unspecified, no change.
   * If empty keyList - the submitKey is cleared.
   * 
* * .proto.Key submitKey = 7; */ @java.lang.Override public boolean hasSubmitKey() { return ((bitField0_ & 0x00000010) != 0); } /** *
   **
   * Access control for ConsensusService.submitMessage.
   * If unspecified, no change.
   * If empty keyList - the submitKey is cleared.
   * 
* * .proto.Key submitKey = 7; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Key getSubmitKey() { return submitKey_ == null ? com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance() : submitKey_; } /** *
   **
   * Access control for ConsensusService.submitMessage.
   * If unspecified, no change.
   * If empty keyList - the submitKey is cleared.
   * 
* * .proto.Key submitKey = 7; */ private void setSubmitKey(com.hedera.hashgraph.sdk.proto.Key value) { value.getClass(); submitKey_ = value; bitField0_ |= 0x00000010; } /** *
   **
   * Access control for ConsensusService.submitMessage.
   * If unspecified, no change.
   * If empty keyList - the submitKey is cleared.
   * 
* * .proto.Key submitKey = 7; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeSubmitKey(com.hedera.hashgraph.sdk.proto.Key value) { value.getClass(); if (submitKey_ != null && submitKey_ != com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance()) { submitKey_ = com.hedera.hashgraph.sdk.proto.Key.newBuilder(submitKey_).mergeFrom(value).buildPartial(); } else { submitKey_ = value; } bitField0_ |= 0x00000010; } /** *
   **
   * Access control for ConsensusService.submitMessage.
   * If unspecified, no change.
   * If empty keyList - the submitKey is cleared.
   * 
* * .proto.Key submitKey = 7; */ private void clearSubmitKey() { submitKey_ = null; bitField0_ = (bitField0_ & ~0x00000010); } public static final int AUTORENEWPERIOD_FIELD_NUMBER = 8; private com.hedera.hashgraph.sdk.proto.Duration autoRenewPeriod_; /** *
   *
   * The amount of time to extend the topic's lifetime automatically at expirationTime if the autoRenewAccount is
   * configured and has funds (once autoRenew functionality is supported by HAPI).
   * Limited to between MIN_AUTORENEW_PERIOD (6999999 seconds) and MAX_AUTORENEW_PERIOD (8000001 seconds) by
   * servers-side configuration (which may change).
   * If unspecified, no change.
   * 
* * .proto.Duration autoRenewPeriod = 8; */ @java.lang.Override public boolean hasAutoRenewPeriod() { return ((bitField0_ & 0x00000020) != 0); } /** *
   *
   * The amount of time to extend the topic's lifetime automatically at expirationTime if the autoRenewAccount is
   * configured and has funds (once autoRenew functionality is supported by HAPI).
   * Limited to between MIN_AUTORENEW_PERIOD (6999999 seconds) and MAX_AUTORENEW_PERIOD (8000001 seconds) by
   * servers-side configuration (which may change).
   * If unspecified, no change.
   * 
* * .proto.Duration autoRenewPeriod = 8; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Duration getAutoRenewPeriod() { return autoRenewPeriod_ == null ? com.hedera.hashgraph.sdk.proto.Duration.getDefaultInstance() : autoRenewPeriod_; } /** *
   *
   * The amount of time to extend the topic's lifetime automatically at expirationTime if the autoRenewAccount is
   * configured and has funds (once autoRenew functionality is supported by HAPI).
   * Limited to between MIN_AUTORENEW_PERIOD (6999999 seconds) and MAX_AUTORENEW_PERIOD (8000001 seconds) by
   * servers-side configuration (which may change).
   * If unspecified, no change.
   * 
* * .proto.Duration autoRenewPeriod = 8; */ private void setAutoRenewPeriod(com.hedera.hashgraph.sdk.proto.Duration value) { value.getClass(); autoRenewPeriod_ = value; bitField0_ |= 0x00000020; } /** *
   *
   * The amount of time to extend the topic's lifetime automatically at expirationTime if the autoRenewAccount is
   * configured and has funds (once autoRenew functionality is supported by HAPI).
   * Limited to between MIN_AUTORENEW_PERIOD (6999999 seconds) and MAX_AUTORENEW_PERIOD (8000001 seconds) by
   * servers-side configuration (which may change).
   * If unspecified, no change.
   * 
* * .proto.Duration autoRenewPeriod = 8; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeAutoRenewPeriod(com.hedera.hashgraph.sdk.proto.Duration value) { value.getClass(); if (autoRenewPeriod_ != null && autoRenewPeriod_ != com.hedera.hashgraph.sdk.proto.Duration.getDefaultInstance()) { autoRenewPeriod_ = com.hedera.hashgraph.sdk.proto.Duration.newBuilder(autoRenewPeriod_).mergeFrom(value).buildPartial(); } else { autoRenewPeriod_ = value; } bitField0_ |= 0x00000020; } /** *
   *
   * The amount of time to extend the topic's lifetime automatically at expirationTime if the autoRenewAccount is
   * configured and has funds (once autoRenew functionality is supported by HAPI).
   * Limited to between MIN_AUTORENEW_PERIOD (6999999 seconds) and MAX_AUTORENEW_PERIOD (8000001 seconds) by
   * servers-side configuration (which may change).
   * If unspecified, no change.
   * 
* * .proto.Duration autoRenewPeriod = 8; */ private void clearAutoRenewPeriod() { autoRenewPeriod_ = null; bitField0_ = (bitField0_ & ~0x00000020); } public static final int AUTORENEWACCOUNT_FIELD_NUMBER = 9; private com.hedera.hashgraph.sdk.proto.AccountID autoRenewAccount_; /** *
   **
   * Optional account to be used at the topic's expirationTime to extend the life of the topic.
   * Once autoRenew functionality is supported by HAPI, the topic lifetime will be extended up to a maximum of the
   * autoRenewPeriod or however long the topic can be extended using all funds on the account (whichever is the
   * smaller duration/amount).
   * If specified as the default value (0.0.0), the autoRenewAccount will be removed.
   * If unspecified, no change.
   * 
* * .proto.AccountID autoRenewAccount = 9; */ @java.lang.Override public boolean hasAutoRenewAccount() { return ((bitField0_ & 0x00000040) != 0); } /** *
   **
   * Optional account to be used at the topic's expirationTime to extend the life of the topic.
   * Once autoRenew functionality is supported by HAPI, the topic lifetime will be extended up to a maximum of the
   * autoRenewPeriod or however long the topic can be extended using all funds on the account (whichever is the
   * smaller duration/amount).
   * If specified as the default value (0.0.0), the autoRenewAccount will be removed.
   * If unspecified, no change.
   * 
* * .proto.AccountID autoRenewAccount = 9; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.AccountID getAutoRenewAccount() { return autoRenewAccount_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : autoRenewAccount_; } /** *
   **
   * Optional account to be used at the topic's expirationTime to extend the life of the topic.
   * Once autoRenew functionality is supported by HAPI, the topic lifetime will be extended up to a maximum of the
   * autoRenewPeriod or however long the topic can be extended using all funds on the account (whichever is the
   * smaller duration/amount).
   * If specified as the default value (0.0.0), the autoRenewAccount will be removed.
   * If unspecified, no change.
   * 
* * .proto.AccountID autoRenewAccount = 9; */ private void setAutoRenewAccount(com.hedera.hashgraph.sdk.proto.AccountID value) { value.getClass(); autoRenewAccount_ = value; bitField0_ |= 0x00000040; } /** *
   **
   * Optional account to be used at the topic's expirationTime to extend the life of the topic.
   * Once autoRenew functionality is supported by HAPI, the topic lifetime will be extended up to a maximum of the
   * autoRenewPeriod or however long the topic can be extended using all funds on the account (whichever is the
   * smaller duration/amount).
   * If specified as the default value (0.0.0), the autoRenewAccount will be removed.
   * If unspecified, no change.
   * 
* * .proto.AccountID autoRenewAccount = 9; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeAutoRenewAccount(com.hedera.hashgraph.sdk.proto.AccountID value) { value.getClass(); if (autoRenewAccount_ != null && autoRenewAccount_ != com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance()) { autoRenewAccount_ = com.hedera.hashgraph.sdk.proto.AccountID.newBuilder(autoRenewAccount_).mergeFrom(value).buildPartial(); } else { autoRenewAccount_ = value; } bitField0_ |= 0x00000040; } /** *
   **
   * Optional account to be used at the topic's expirationTime to extend the life of the topic.
   * Once autoRenew functionality is supported by HAPI, the topic lifetime will be extended up to a maximum of the
   * autoRenewPeriod or however long the topic can be extended using all funds on the account (whichever is the
   * smaller duration/amount).
   * If specified as the default value (0.0.0), the autoRenewAccount will be removed.
   * If unspecified, no change.
   * 
* * .proto.AccountID autoRenewAccount = 9; */ private void clearAutoRenewAccount() { autoRenewAccount_ = null; bitField0_ = (bitField0_ & ~0x00000040); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** *
   **
   * All fields left null will not be updated.
   * See [ConsensusService.updateTopic()](#proto.ConsensusService)
   * 
* * Protobuf type {@code proto.ConsensusUpdateTopicTransactionBody} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody, Builder> implements // @@protoc_insertion_point(builder_implements:proto.ConsensusUpdateTopicTransactionBody) com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBodyOrBuilder { // Construct using com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
     **
     * UNDOCUMENTED
     * 
* * .proto.TopicID topicID = 1; */ @java.lang.Override public boolean hasTopicID() { return instance.hasTopicID(); } /** *
     **
     * UNDOCUMENTED
     * 
* * .proto.TopicID topicID = 1; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TopicID getTopicID() { return instance.getTopicID(); } /** *
     **
     * UNDOCUMENTED
     * 
* * .proto.TopicID topicID = 1; */ public Builder setTopicID(com.hedera.hashgraph.sdk.proto.TopicID value) { copyOnWrite(); instance.setTopicID(value); return this; } /** *
     **
     * UNDOCUMENTED
     * 
* * .proto.TopicID topicID = 1; */ public Builder setTopicID( com.hedera.hashgraph.sdk.proto.TopicID.Builder builderForValue) { copyOnWrite(); instance.setTopicID(builderForValue.build()); return this; } /** *
     **
     * UNDOCUMENTED
     * 
* * .proto.TopicID topicID = 1; */ public Builder mergeTopicID(com.hedera.hashgraph.sdk.proto.TopicID value) { copyOnWrite(); instance.mergeTopicID(value); return this; } /** *
     **
     * UNDOCUMENTED
     * 
* * .proto.TopicID topicID = 1; */ public Builder clearTopicID() { copyOnWrite(); instance.clearTopicID(); return this; } /** *
     **
     * If set, the new memo to be associated with the topic (UTF-8 encoding max 100 bytes)
     * 
* * .google.protobuf.StringValue memo = 2; */ @java.lang.Override public boolean hasMemo() { return instance.hasMemo(); } /** *
     **
     * If set, the new memo to be associated with the topic (UTF-8 encoding max 100 bytes)
     * 
* * .google.protobuf.StringValue memo = 2; */ @java.lang.Override public com.google.protobuf.StringValue getMemo() { return instance.getMemo(); } /** *
     **
     * If set, the new memo to be associated with the topic (UTF-8 encoding max 100 bytes)
     * 
* * .google.protobuf.StringValue memo = 2; */ public Builder setMemo(com.google.protobuf.StringValue value) { copyOnWrite(); instance.setMemo(value); return this; } /** *
     **
     * If set, the new memo to be associated with the topic (UTF-8 encoding max 100 bytes)
     * 
* * .google.protobuf.StringValue memo = 2; */ public Builder setMemo( com.google.protobuf.StringValue.Builder builderForValue) { copyOnWrite(); instance.setMemo(builderForValue.build()); return this; } /** *
     **
     * If set, the new memo to be associated with the topic (UTF-8 encoding max 100 bytes)
     * 
* * .google.protobuf.StringValue memo = 2; */ public Builder mergeMemo(com.google.protobuf.StringValue value) { copyOnWrite(); instance.mergeMemo(value); return this; } /** *
     **
     * If set, the new memo to be associated with the topic (UTF-8 encoding max 100 bytes)
     * 
* * .google.protobuf.StringValue memo = 2; */ public Builder clearMemo() { copyOnWrite(); instance.clearMemo(); return this; } /** *
     **
     * Effective consensus timestamp at (and after) which all consensus transactions and queries will fail.
     * The expirationTime may be no longer than MAX_AUTORENEW_PERIOD (8000001 seconds) from the consensus timestamp of
     * this transaction.
     * On topics with no adminKey, extending the expirationTime is the only updateTopic option allowed on the topic.
     * If unspecified, no change.
     * 
* * .proto.Timestamp expirationTime = 4; */ @java.lang.Override public boolean hasExpirationTime() { return instance.hasExpirationTime(); } /** *
     **
     * Effective consensus timestamp at (and after) which all consensus transactions and queries will fail.
     * The expirationTime may be no longer than MAX_AUTORENEW_PERIOD (8000001 seconds) from the consensus timestamp of
     * this transaction.
     * On topics with no adminKey, extending the expirationTime is the only updateTopic option allowed on the topic.
     * If unspecified, no change.
     * 
* * .proto.Timestamp expirationTime = 4; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Timestamp getExpirationTime() { return instance.getExpirationTime(); } /** *
     **
     * Effective consensus timestamp at (and after) which all consensus transactions and queries will fail.
     * The expirationTime may be no longer than MAX_AUTORENEW_PERIOD (8000001 seconds) from the consensus timestamp of
     * this transaction.
     * On topics with no adminKey, extending the expirationTime is the only updateTopic option allowed on the topic.
     * If unspecified, no change.
     * 
* * .proto.Timestamp expirationTime = 4; */ public Builder setExpirationTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { copyOnWrite(); instance.setExpirationTime(value); return this; } /** *
     **
     * Effective consensus timestamp at (and after) which all consensus transactions and queries will fail.
     * The expirationTime may be no longer than MAX_AUTORENEW_PERIOD (8000001 seconds) from the consensus timestamp of
     * this transaction.
     * On topics with no adminKey, extending the expirationTime is the only updateTopic option allowed on the topic.
     * If unspecified, no change.
     * 
* * .proto.Timestamp expirationTime = 4; */ public Builder setExpirationTime( com.hedera.hashgraph.sdk.proto.Timestamp.Builder builderForValue) { copyOnWrite(); instance.setExpirationTime(builderForValue.build()); return this; } /** *
     **
     * Effective consensus timestamp at (and after) which all consensus transactions and queries will fail.
     * The expirationTime may be no longer than MAX_AUTORENEW_PERIOD (8000001 seconds) from the consensus timestamp of
     * this transaction.
     * On topics with no adminKey, extending the expirationTime is the only updateTopic option allowed on the topic.
     * If unspecified, no change.
     * 
* * .proto.Timestamp expirationTime = 4; */ public Builder mergeExpirationTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { copyOnWrite(); instance.mergeExpirationTime(value); return this; } /** *
     **
     * Effective consensus timestamp at (and after) which all consensus transactions and queries will fail.
     * The expirationTime may be no longer than MAX_AUTORENEW_PERIOD (8000001 seconds) from the consensus timestamp of
     * this transaction.
     * On topics with no adminKey, extending the expirationTime is the only updateTopic option allowed on the topic.
     * If unspecified, no change.
     * 
* * .proto.Timestamp expirationTime = 4; */ public Builder clearExpirationTime() { copyOnWrite(); instance.clearExpirationTime(); return this; } /** *
     **
     * Access control for update/delete of the topic.
     * If unspecified, no change.
     * If empty keyList - the adminKey is cleared.
     * 
* * .proto.Key adminKey = 6; */ @java.lang.Override public boolean hasAdminKey() { return instance.hasAdminKey(); } /** *
     **
     * Access control for update/delete of the topic.
     * If unspecified, no change.
     * If empty keyList - the adminKey is cleared.
     * 
* * .proto.Key adminKey = 6; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Key getAdminKey() { return instance.getAdminKey(); } /** *
     **
     * Access control for update/delete of the topic.
     * If unspecified, no change.
     * If empty keyList - the adminKey is cleared.
     * 
* * .proto.Key adminKey = 6; */ public Builder setAdminKey(com.hedera.hashgraph.sdk.proto.Key value) { copyOnWrite(); instance.setAdminKey(value); return this; } /** *
     **
     * Access control for update/delete of the topic.
     * If unspecified, no change.
     * If empty keyList - the adminKey is cleared.
     * 
* * .proto.Key adminKey = 6; */ public Builder setAdminKey( com.hedera.hashgraph.sdk.proto.Key.Builder builderForValue) { copyOnWrite(); instance.setAdminKey(builderForValue.build()); return this; } /** *
     **
     * Access control for update/delete of the topic.
     * If unspecified, no change.
     * If empty keyList - the adminKey is cleared.
     * 
* * .proto.Key adminKey = 6; */ public Builder mergeAdminKey(com.hedera.hashgraph.sdk.proto.Key value) { copyOnWrite(); instance.mergeAdminKey(value); return this; } /** *
     **
     * Access control for update/delete of the topic.
     * If unspecified, no change.
     * If empty keyList - the adminKey is cleared.
     * 
* * .proto.Key adminKey = 6; */ public Builder clearAdminKey() { copyOnWrite(); instance.clearAdminKey(); return this; } /** *
     **
     * Access control for ConsensusService.submitMessage.
     * If unspecified, no change.
     * If empty keyList - the submitKey is cleared.
     * 
* * .proto.Key submitKey = 7; */ @java.lang.Override public boolean hasSubmitKey() { return instance.hasSubmitKey(); } /** *
     **
     * Access control for ConsensusService.submitMessage.
     * If unspecified, no change.
     * If empty keyList - the submitKey is cleared.
     * 
* * .proto.Key submitKey = 7; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Key getSubmitKey() { return instance.getSubmitKey(); } /** *
     **
     * Access control for ConsensusService.submitMessage.
     * If unspecified, no change.
     * If empty keyList - the submitKey is cleared.
     * 
* * .proto.Key submitKey = 7; */ public Builder setSubmitKey(com.hedera.hashgraph.sdk.proto.Key value) { copyOnWrite(); instance.setSubmitKey(value); return this; } /** *
     **
     * Access control for ConsensusService.submitMessage.
     * If unspecified, no change.
     * If empty keyList - the submitKey is cleared.
     * 
* * .proto.Key submitKey = 7; */ public Builder setSubmitKey( com.hedera.hashgraph.sdk.proto.Key.Builder builderForValue) { copyOnWrite(); instance.setSubmitKey(builderForValue.build()); return this; } /** *
     **
     * Access control for ConsensusService.submitMessage.
     * If unspecified, no change.
     * If empty keyList - the submitKey is cleared.
     * 
* * .proto.Key submitKey = 7; */ public Builder mergeSubmitKey(com.hedera.hashgraph.sdk.proto.Key value) { copyOnWrite(); instance.mergeSubmitKey(value); return this; } /** *
     **
     * Access control for ConsensusService.submitMessage.
     * If unspecified, no change.
     * If empty keyList - the submitKey is cleared.
     * 
* * .proto.Key submitKey = 7; */ public Builder clearSubmitKey() { copyOnWrite(); instance.clearSubmitKey(); return this; } /** *
     *
     * The amount of time to extend the topic's lifetime automatically at expirationTime if the autoRenewAccount is
     * configured and has funds (once autoRenew functionality is supported by HAPI).
     * Limited to between MIN_AUTORENEW_PERIOD (6999999 seconds) and MAX_AUTORENEW_PERIOD (8000001 seconds) by
     * servers-side configuration (which may change).
     * If unspecified, no change.
     * 
* * .proto.Duration autoRenewPeriod = 8; */ @java.lang.Override public boolean hasAutoRenewPeriod() { return instance.hasAutoRenewPeriod(); } /** *
     *
     * The amount of time to extend the topic's lifetime automatically at expirationTime if the autoRenewAccount is
     * configured and has funds (once autoRenew functionality is supported by HAPI).
     * Limited to between MIN_AUTORENEW_PERIOD (6999999 seconds) and MAX_AUTORENEW_PERIOD (8000001 seconds) by
     * servers-side configuration (which may change).
     * If unspecified, no change.
     * 
* * .proto.Duration autoRenewPeriod = 8; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Duration getAutoRenewPeriod() { return instance.getAutoRenewPeriod(); } /** *
     *
     * The amount of time to extend the topic's lifetime automatically at expirationTime if the autoRenewAccount is
     * configured and has funds (once autoRenew functionality is supported by HAPI).
     * Limited to between MIN_AUTORENEW_PERIOD (6999999 seconds) and MAX_AUTORENEW_PERIOD (8000001 seconds) by
     * servers-side configuration (which may change).
     * If unspecified, no change.
     * 
* * .proto.Duration autoRenewPeriod = 8; */ public Builder setAutoRenewPeriod(com.hedera.hashgraph.sdk.proto.Duration value) { copyOnWrite(); instance.setAutoRenewPeriod(value); return this; } /** *
     *
     * The amount of time to extend the topic's lifetime automatically at expirationTime if the autoRenewAccount is
     * configured and has funds (once autoRenew functionality is supported by HAPI).
     * Limited to between MIN_AUTORENEW_PERIOD (6999999 seconds) and MAX_AUTORENEW_PERIOD (8000001 seconds) by
     * servers-side configuration (which may change).
     * If unspecified, no change.
     * 
* * .proto.Duration autoRenewPeriod = 8; */ public Builder setAutoRenewPeriod( com.hedera.hashgraph.sdk.proto.Duration.Builder builderForValue) { copyOnWrite(); instance.setAutoRenewPeriod(builderForValue.build()); return this; } /** *
     *
     * The amount of time to extend the topic's lifetime automatically at expirationTime if the autoRenewAccount is
     * configured and has funds (once autoRenew functionality is supported by HAPI).
     * Limited to between MIN_AUTORENEW_PERIOD (6999999 seconds) and MAX_AUTORENEW_PERIOD (8000001 seconds) by
     * servers-side configuration (which may change).
     * If unspecified, no change.
     * 
* * .proto.Duration autoRenewPeriod = 8; */ public Builder mergeAutoRenewPeriod(com.hedera.hashgraph.sdk.proto.Duration value) { copyOnWrite(); instance.mergeAutoRenewPeriod(value); return this; } /** *
     *
     * The amount of time to extend the topic's lifetime automatically at expirationTime if the autoRenewAccount is
     * configured and has funds (once autoRenew functionality is supported by HAPI).
     * Limited to between MIN_AUTORENEW_PERIOD (6999999 seconds) and MAX_AUTORENEW_PERIOD (8000001 seconds) by
     * servers-side configuration (which may change).
     * If unspecified, no change.
     * 
* * .proto.Duration autoRenewPeriod = 8; */ public Builder clearAutoRenewPeriod() { copyOnWrite(); instance.clearAutoRenewPeriod(); return this; } /** *
     **
     * Optional account to be used at the topic's expirationTime to extend the life of the topic.
     * Once autoRenew functionality is supported by HAPI, the topic lifetime will be extended up to a maximum of the
     * autoRenewPeriod or however long the topic can be extended using all funds on the account (whichever is the
     * smaller duration/amount).
     * If specified as the default value (0.0.0), the autoRenewAccount will be removed.
     * If unspecified, no change.
     * 
* * .proto.AccountID autoRenewAccount = 9; */ @java.lang.Override public boolean hasAutoRenewAccount() { return instance.hasAutoRenewAccount(); } /** *
     **
     * Optional account to be used at the topic's expirationTime to extend the life of the topic.
     * Once autoRenew functionality is supported by HAPI, the topic lifetime will be extended up to a maximum of the
     * autoRenewPeriod or however long the topic can be extended using all funds on the account (whichever is the
     * smaller duration/amount).
     * If specified as the default value (0.0.0), the autoRenewAccount will be removed.
     * If unspecified, no change.
     * 
* * .proto.AccountID autoRenewAccount = 9; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.AccountID getAutoRenewAccount() { return instance.getAutoRenewAccount(); } /** *
     **
     * Optional account to be used at the topic's expirationTime to extend the life of the topic.
     * Once autoRenew functionality is supported by HAPI, the topic lifetime will be extended up to a maximum of the
     * autoRenewPeriod or however long the topic can be extended using all funds on the account (whichever is the
     * smaller duration/amount).
     * If specified as the default value (0.0.0), the autoRenewAccount will be removed.
     * If unspecified, no change.
     * 
* * .proto.AccountID autoRenewAccount = 9; */ public Builder setAutoRenewAccount(com.hedera.hashgraph.sdk.proto.AccountID value) { copyOnWrite(); instance.setAutoRenewAccount(value); return this; } /** *
     **
     * Optional account to be used at the topic's expirationTime to extend the life of the topic.
     * Once autoRenew functionality is supported by HAPI, the topic lifetime will be extended up to a maximum of the
     * autoRenewPeriod or however long the topic can be extended using all funds on the account (whichever is the
     * smaller duration/amount).
     * If specified as the default value (0.0.0), the autoRenewAccount will be removed.
     * If unspecified, no change.
     * 
* * .proto.AccountID autoRenewAccount = 9; */ public Builder setAutoRenewAccount( com.hedera.hashgraph.sdk.proto.AccountID.Builder builderForValue) { copyOnWrite(); instance.setAutoRenewAccount(builderForValue.build()); return this; } /** *
     **
     * Optional account to be used at the topic's expirationTime to extend the life of the topic.
     * Once autoRenew functionality is supported by HAPI, the topic lifetime will be extended up to a maximum of the
     * autoRenewPeriod or however long the topic can be extended using all funds on the account (whichever is the
     * smaller duration/amount).
     * If specified as the default value (0.0.0), the autoRenewAccount will be removed.
     * If unspecified, no change.
     * 
* * .proto.AccountID autoRenewAccount = 9; */ public Builder mergeAutoRenewAccount(com.hedera.hashgraph.sdk.proto.AccountID value) { copyOnWrite(); instance.mergeAutoRenewAccount(value); return this; } /** *
     **
     * Optional account to be used at the topic's expirationTime to extend the life of the topic.
     * Once autoRenew functionality is supported by HAPI, the topic lifetime will be extended up to a maximum of the
     * autoRenewPeriod or however long the topic can be extended using all funds on the account (whichever is the
     * smaller duration/amount).
     * If specified as the default value (0.0.0), the autoRenewAccount will be removed.
     * If unspecified, no change.
     * 
* * .proto.AccountID autoRenewAccount = 9; */ public Builder clearAutoRenewAccount() { copyOnWrite(); instance.clearAutoRenewAccount(); return this; } // @@protoc_insertion_point(builder_scope:proto.ConsensusUpdateTopicTransactionBody) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "topicID_", "memo_", "expirationTime_", "adminKey_", "submitKey_", "autoRenewPeriod_", "autoRenewAccount_", }; java.lang.String info = "\u0000\u0007\u0000\u0001\u0001\t\u0007\u0000\u0000\u0000\u0001\u1009\u0000\u0002" + "\u1009\u0001\u0004\u1009\u0002\u0006\u1009\u0003\u0007\u1009\u0004\b\u1009\u0005" + "\t\u1009\u0006"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:proto.ConsensusUpdateTopicTransactionBody) private static final com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody DEFAULT_INSTANCE; static { ConsensusUpdateTopicTransactionBody defaultInstance = new ConsensusUpdateTopicTransactionBody(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( ConsensusUpdateTopicTransactionBody.class, defaultInstance); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy