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

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

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: consensus_update_topic.proto

// Protobuf Java Version: 3.25.3
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.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:proto.ConsensusUpdateTopicTransactionBody) ConsensusUpdateTopicTransactionBodyOrBuilder { private static final long serialVersionUID = 0L; // Use ConsensusUpdateTopicTransactionBody.newBuilder() to construct. private ConsensusUpdateTopicTransactionBody(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ConsensusUpdateTopicTransactionBody() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ConsensusUpdateTopicTransactionBody(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopic.internal_static_proto_ConsensusUpdateTopicTransactionBody_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopic.internal_static_proto_ConsensusUpdateTopicTransactionBody_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.class, com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.Builder.class); } private int bitField0_; public static final int TOPICID_FIELD_NUMBER = 1; private com.hedera.hashgraph.sdk.proto.TopicID topicID_; /** *
   **
   * UNDOCUMENTED
   * 
* * .proto.TopicID topicID = 1; * @return Whether the topicID field is set. */ @java.lang.Override public boolean hasTopicID() { return ((bitField0_ & 0x00000001) != 0); } /** *
   **
   * UNDOCUMENTED
   * 
* * .proto.TopicID topicID = 1; * @return The topicID. */ @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; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TopicIDOrBuilder getTopicIDOrBuilder() { return topicID_ == null ? com.hedera.hashgraph.sdk.proto.TopicID.getDefaultInstance() : topicID_; } 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; * @return Whether the memo field is set. */ @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; * @return The memo. */ @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; */ @java.lang.Override public com.google.protobuf.StringValueOrBuilder getMemoOrBuilder() { return memo_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : memo_; } 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; * @return Whether the expirationTime field is set. */ @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; * @return The expirationTime. */ @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; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getExpirationTimeOrBuilder() { return expirationTime_ == null ? com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance() : expirationTime_; } 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; * @return Whether the adminKey field is set. */ @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; * @return The adminKey. */ @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; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.KeyOrBuilder getAdminKeyOrBuilder() { return adminKey_ == null ? com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance() : adminKey_; } 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; * @return Whether the submitKey field is set. */ @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; * @return The submitKey. */ @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; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.KeyOrBuilder getSubmitKeyOrBuilder() { return submitKey_ == null ? com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance() : submitKey_; } 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; * @return Whether the autoRenewPeriod field is set. */ @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; * @return The autoRenewPeriod. */ @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; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.DurationOrBuilder getAutoRenewPeriodOrBuilder() { return autoRenewPeriod_ == null ? com.hedera.hashgraph.sdk.proto.Duration.getDefaultInstance() : autoRenewPeriod_; } 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; * @return Whether the autoRenewAccount field is set. */ @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; * @return The autoRenewAccount. */ @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; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getAutoRenewAccountOrBuilder() { return autoRenewAccount_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : autoRenewAccount_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getTopicID()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getMemo()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getExpirationTime()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(6, getAdminKey()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(7, getSubmitKey()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(8, getAutoRenewPeriod()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(9, getAutoRenewAccount()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTopicID()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getMemo()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getExpirationTime()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getAdminKey()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getSubmitKey()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getAutoRenewPeriod()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getAutoRenewAccount()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody)) { return super.equals(obj); } com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody other = (com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) obj; if (hasTopicID() != other.hasTopicID()) return false; if (hasTopicID()) { if (!getTopicID() .equals(other.getTopicID())) return false; } if (hasMemo() != other.hasMemo()) return false; if (hasMemo()) { if (!getMemo() .equals(other.getMemo())) return false; } if (hasExpirationTime() != other.hasExpirationTime()) return false; if (hasExpirationTime()) { if (!getExpirationTime() .equals(other.getExpirationTime())) return false; } if (hasAdminKey() != other.hasAdminKey()) return false; if (hasAdminKey()) { if (!getAdminKey() .equals(other.getAdminKey())) return false; } if (hasSubmitKey() != other.hasSubmitKey()) return false; if (hasSubmitKey()) { if (!getSubmitKey() .equals(other.getSubmitKey())) return false; } if (hasAutoRenewPeriod() != other.hasAutoRenewPeriod()) return false; if (hasAutoRenewPeriod()) { if (!getAutoRenewPeriod() .equals(other.getAutoRenewPeriod())) return false; } if (hasAutoRenewAccount() != other.hasAutoRenewAccount()) return false; if (hasAutoRenewAccount()) { if (!getAutoRenewAccount() .equals(other.getAutoRenewAccount())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTopicID()) { hash = (37 * hash) + TOPICID_FIELD_NUMBER; hash = (53 * hash) + getTopicID().hashCode(); } if (hasMemo()) { hash = (37 * hash) + MEMO_FIELD_NUMBER; hash = (53 * hash) + getMemo().hashCode(); } if (hasExpirationTime()) { hash = (37 * hash) + EXPIRATIONTIME_FIELD_NUMBER; hash = (53 * hash) + getExpirationTime().hashCode(); } if (hasAdminKey()) { hash = (37 * hash) + ADMINKEY_FIELD_NUMBER; hash = (53 * hash) + getAdminKey().hashCode(); } if (hasSubmitKey()) { hash = (37 * hash) + SUBMITKEY_FIELD_NUMBER; hash = (53 * hash) + getSubmitKey().hashCode(); } if (hasAutoRenewPeriod()) { hash = (37 * hash) + AUTORENEWPERIOD_FIELD_NUMBER; hash = (53 * hash) + getAutoRenewPeriod().hashCode(); } if (hasAutoRenewAccount()) { hash = (37 * hash) + AUTORENEWACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAutoRenewAccount().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(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 PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(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 PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, 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.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, 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.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   **
   * 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.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:proto.ConsensusUpdateTopicTransactionBody) com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBodyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopic.internal_static_proto_ConsensusUpdateTopicTransactionBody_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopic.internal_static_proto_ConsensusUpdateTopicTransactionBody_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.class, com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.Builder.class); } // Construct using com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTopicIDFieldBuilder(); getMemoFieldBuilder(); getExpirationTimeFieldBuilder(); getAdminKeyFieldBuilder(); getSubmitKeyFieldBuilder(); getAutoRenewPeriodFieldBuilder(); getAutoRenewAccountFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; topicID_ = null; if (topicIDBuilder_ != null) { topicIDBuilder_.dispose(); topicIDBuilder_ = null; } memo_ = null; if (memoBuilder_ != null) { memoBuilder_.dispose(); memoBuilder_ = null; } expirationTime_ = null; if (expirationTimeBuilder_ != null) { expirationTimeBuilder_.dispose(); expirationTimeBuilder_ = null; } adminKey_ = null; if (adminKeyBuilder_ != null) { adminKeyBuilder_.dispose(); adminKeyBuilder_ = null; } submitKey_ = null; if (submitKeyBuilder_ != null) { submitKeyBuilder_.dispose(); submitKeyBuilder_ = null; } autoRenewPeriod_ = null; if (autoRenewPeriodBuilder_ != null) { autoRenewPeriodBuilder_.dispose(); autoRenewPeriodBuilder_ = null; } autoRenewAccount_ = null; if (autoRenewAccountBuilder_ != null) { autoRenewAccountBuilder_.dispose(); autoRenewAccountBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopic.internal_static_proto_ConsensusUpdateTopicTransactionBody_descriptor; } @java.lang.Override public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody getDefaultInstanceForType() { return com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.getDefaultInstance(); } @java.lang.Override public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody build() { com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody buildPartial() { com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody result = new com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.topicID_ = topicIDBuilder_ == null ? topicID_ : topicIDBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.memo_ = memoBuilder_ == null ? memo_ : memoBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.expirationTime_ = expirationTimeBuilder_ == null ? expirationTime_ : expirationTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.adminKey_ = adminKeyBuilder_ == null ? adminKey_ : adminKeyBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.submitKey_ = submitKeyBuilder_ == null ? submitKey_ : submitKeyBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.autoRenewPeriod_ = autoRenewPeriodBuilder_ == null ? autoRenewPeriod_ : autoRenewPeriodBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.autoRenewAccount_ = autoRenewAccountBuilder_ == null ? autoRenewAccount_ : autoRenewAccountBuilder_.build(); to_bitField0_ |= 0x00000040; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody) { return mergeFrom((com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody other) { if (other == com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody.getDefaultInstance()) return this; if (other.hasTopicID()) { mergeTopicID(other.getTopicID()); } if (other.hasMemo()) { mergeMemo(other.getMemo()); } if (other.hasExpirationTime()) { mergeExpirationTime(other.getExpirationTime()); } if (other.hasAdminKey()) { mergeAdminKey(other.getAdminKey()); } if (other.hasSubmitKey()) { mergeSubmitKey(other.getSubmitKey()); } if (other.hasAutoRenewPeriod()) { mergeAutoRenewPeriod(other.getAutoRenewPeriod()); } if (other.hasAutoRenewAccount()) { mergeAutoRenewAccount(other.getAutoRenewAccount()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getTopicIDFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getMemoFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 34: { input.readMessage( getExpirationTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 case 50: { input.readMessage( getAdminKeyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 50 case 58: { input.readMessage( getSubmitKeyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 58 case 66: { input.readMessage( getAutoRenewPeriodFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 66 case 74: { input.readMessage( getAutoRenewAccountFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 74 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.hedera.hashgraph.sdk.proto.TopicID topicID_; private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.TopicID, com.hedera.hashgraph.sdk.proto.TopicID.Builder, com.hedera.hashgraph.sdk.proto.TopicIDOrBuilder> topicIDBuilder_; /** *
     **
     * UNDOCUMENTED
     * 
* * .proto.TopicID topicID = 1; * @return Whether the topicID field is set. */ public boolean hasTopicID() { return ((bitField0_ & 0x00000001) != 0); } /** *
     **
     * UNDOCUMENTED
     * 
* * .proto.TopicID topicID = 1; * @return The topicID. */ public com.hedera.hashgraph.sdk.proto.TopicID getTopicID() { if (topicIDBuilder_ == null) { return topicID_ == null ? com.hedera.hashgraph.sdk.proto.TopicID.getDefaultInstance() : topicID_; } else { return topicIDBuilder_.getMessage(); } } /** *
     **
     * UNDOCUMENTED
     * 
* * .proto.TopicID topicID = 1; */ public Builder setTopicID(com.hedera.hashgraph.sdk.proto.TopicID value) { if (topicIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } topicID_ = value; } else { topicIDBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     **
     * UNDOCUMENTED
     * 
* * .proto.TopicID topicID = 1; */ public Builder setTopicID( com.hedera.hashgraph.sdk.proto.TopicID.Builder builderForValue) { if (topicIDBuilder_ == null) { topicID_ = builderForValue.build(); } else { topicIDBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     **
     * UNDOCUMENTED
     * 
* * .proto.TopicID topicID = 1; */ public Builder mergeTopicID(com.hedera.hashgraph.sdk.proto.TopicID value) { if (topicIDBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && topicID_ != null && topicID_ != com.hedera.hashgraph.sdk.proto.TopicID.getDefaultInstance()) { getTopicIDBuilder().mergeFrom(value); } else { topicID_ = value; } } else { topicIDBuilder_.mergeFrom(value); } if (topicID_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     **
     * UNDOCUMENTED
     * 
* * .proto.TopicID topicID = 1; */ public Builder clearTopicID() { bitField0_ = (bitField0_ & ~0x00000001); topicID_ = null; if (topicIDBuilder_ != null) { topicIDBuilder_.dispose(); topicIDBuilder_ = null; } onChanged(); return this; } /** *
     **
     * UNDOCUMENTED
     * 
* * .proto.TopicID topicID = 1; */ public com.hedera.hashgraph.sdk.proto.TopicID.Builder getTopicIDBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTopicIDFieldBuilder().getBuilder(); } /** *
     **
     * UNDOCUMENTED
     * 
* * .proto.TopicID topicID = 1; */ public com.hedera.hashgraph.sdk.proto.TopicIDOrBuilder getTopicIDOrBuilder() { if (topicIDBuilder_ != null) { return topicIDBuilder_.getMessageOrBuilder(); } else { return topicID_ == null ? com.hedera.hashgraph.sdk.proto.TopicID.getDefaultInstance() : topicID_; } } /** *
     **
     * UNDOCUMENTED
     * 
* * .proto.TopicID topicID = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.TopicID, com.hedera.hashgraph.sdk.proto.TopicID.Builder, com.hedera.hashgraph.sdk.proto.TopicIDOrBuilder> getTopicIDFieldBuilder() { if (topicIDBuilder_ == null) { topicIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.TopicID, com.hedera.hashgraph.sdk.proto.TopicID.Builder, com.hedera.hashgraph.sdk.proto.TopicIDOrBuilder>( getTopicID(), getParentForChildren(), isClean()); topicID_ = null; } return topicIDBuilder_; } private com.google.protobuf.StringValue memo_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> memoBuilder_; /** *
     **
     * If set, the new memo to be associated with the topic (UTF-8 encoding max 100 bytes)
     * 
* * .google.protobuf.StringValue memo = 2; * @return Whether the memo field is set. */ 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; * @return The memo. */ public com.google.protobuf.StringValue getMemo() { if (memoBuilder_ == null) { return memo_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : memo_; } else { return memoBuilder_.getMessage(); } } /** *
     **
     * 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) { if (memoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } memo_ = value; } else { memoBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); 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) { if (memoBuilder_ == null) { memo_ = builderForValue.build(); } else { memoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); 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) { if (memoBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && memo_ != null && memo_ != com.google.protobuf.StringValue.getDefaultInstance()) { getMemoBuilder().mergeFrom(value); } else { memo_ = value; } } else { memoBuilder_.mergeFrom(value); } if (memo_ != null) { bitField0_ |= 0x00000002; onChanged(); } 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() { bitField0_ = (bitField0_ & ~0x00000002); memo_ = null; if (memoBuilder_ != null) { memoBuilder_.dispose(); memoBuilder_ = null; } onChanged(); 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 com.google.protobuf.StringValue.Builder getMemoBuilder() { bitField0_ |= 0x00000002; onChanged(); return getMemoFieldBuilder().getBuilder(); } /** *
     **
     * If set, the new memo to be associated with the topic (UTF-8 encoding max 100 bytes)
     * 
* * .google.protobuf.StringValue memo = 2; */ public com.google.protobuf.StringValueOrBuilder getMemoOrBuilder() { if (memoBuilder_ != null) { return memoBuilder_.getMessageOrBuilder(); } else { 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 com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> getMemoFieldBuilder() { if (memoBuilder_ == null) { memoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>( getMemo(), getParentForChildren(), isClean()); memo_ = null; } return memoBuilder_; } private com.hedera.hashgraph.sdk.proto.Timestamp expirationTime_; private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Timestamp, com.hedera.hashgraph.sdk.proto.Timestamp.Builder, com.hedera.hashgraph.sdk.proto.TimestampOrBuilder> expirationTimeBuilder_; /** *
     **
     * 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; * @return Whether the expirationTime field is set. */ 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; * @return The expirationTime. */ public com.hedera.hashgraph.sdk.proto.Timestamp getExpirationTime() { if (expirationTimeBuilder_ == null) { return expirationTime_ == null ? com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance() : expirationTime_; } else { return expirationTimeBuilder_.getMessage(); } } /** *
     **
     * 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) { if (expirationTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expirationTime_ = value; } else { expirationTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); 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) { if (expirationTimeBuilder_ == null) { expirationTime_ = builderForValue.build(); } else { expirationTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); 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) { if (expirationTimeBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && expirationTime_ != null && expirationTime_ != com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance()) { getExpirationTimeBuilder().mergeFrom(value); } else { expirationTime_ = value; } } else { expirationTimeBuilder_.mergeFrom(value); } if (expirationTime_ != null) { bitField0_ |= 0x00000004; onChanged(); } 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() { bitField0_ = (bitField0_ & ~0x00000004); expirationTime_ = null; if (expirationTimeBuilder_ != null) { expirationTimeBuilder_.dispose(); expirationTimeBuilder_ = null; } onChanged(); 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 com.hedera.hashgraph.sdk.proto.Timestamp.Builder getExpirationTimeBuilder() { bitField0_ |= 0x00000004; onChanged(); return getExpirationTimeFieldBuilder().getBuilder(); } /** *
     **
     * 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 com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getExpirationTimeOrBuilder() { if (expirationTimeBuilder_ != null) { return expirationTimeBuilder_.getMessageOrBuilder(); } else { 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 com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Timestamp, com.hedera.hashgraph.sdk.proto.Timestamp.Builder, com.hedera.hashgraph.sdk.proto.TimestampOrBuilder> getExpirationTimeFieldBuilder() { if (expirationTimeBuilder_ == null) { expirationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Timestamp, com.hedera.hashgraph.sdk.proto.Timestamp.Builder, com.hedera.hashgraph.sdk.proto.TimestampOrBuilder>( getExpirationTime(), getParentForChildren(), isClean()); expirationTime_ = null; } return expirationTimeBuilder_; } private com.hedera.hashgraph.sdk.proto.Key adminKey_; private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Key, com.hedera.hashgraph.sdk.proto.Key.Builder, com.hedera.hashgraph.sdk.proto.KeyOrBuilder> adminKeyBuilder_; /** *
     **
     * Access control for update/delete of the topic.
     * If unspecified, no change.
     * If empty keyList - the adminKey is cleared.
     * 
* * .proto.Key adminKey = 6; * @return Whether the adminKey field is set. */ 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; * @return The adminKey. */ public com.hedera.hashgraph.sdk.proto.Key getAdminKey() { if (adminKeyBuilder_ == null) { return adminKey_ == null ? com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance() : adminKey_; } else { return adminKeyBuilder_.getMessage(); } } /** *
     **
     * 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) { if (adminKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } adminKey_ = value; } else { adminKeyBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); 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) { if (adminKeyBuilder_ == null) { adminKey_ = builderForValue.build(); } else { adminKeyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); 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) { if (adminKeyBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && adminKey_ != null && adminKey_ != com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance()) { getAdminKeyBuilder().mergeFrom(value); } else { adminKey_ = value; } } else { adminKeyBuilder_.mergeFrom(value); } if (adminKey_ != null) { bitField0_ |= 0x00000008; onChanged(); } 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() { bitField0_ = (bitField0_ & ~0x00000008); adminKey_ = null; if (adminKeyBuilder_ != null) { adminKeyBuilder_.dispose(); adminKeyBuilder_ = null; } onChanged(); 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 com.hedera.hashgraph.sdk.proto.Key.Builder getAdminKeyBuilder() { bitField0_ |= 0x00000008; onChanged(); return getAdminKeyFieldBuilder().getBuilder(); } /** *
     **
     * Access control for update/delete of the topic.
     * If unspecified, no change.
     * If empty keyList - the adminKey is cleared.
     * 
* * .proto.Key adminKey = 6; */ public com.hedera.hashgraph.sdk.proto.KeyOrBuilder getAdminKeyOrBuilder() { if (adminKeyBuilder_ != null) { return adminKeyBuilder_.getMessageOrBuilder(); } else { 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 com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Key, com.hedera.hashgraph.sdk.proto.Key.Builder, com.hedera.hashgraph.sdk.proto.KeyOrBuilder> getAdminKeyFieldBuilder() { if (adminKeyBuilder_ == null) { adminKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Key, com.hedera.hashgraph.sdk.proto.Key.Builder, com.hedera.hashgraph.sdk.proto.KeyOrBuilder>( getAdminKey(), getParentForChildren(), isClean()); adminKey_ = null; } return adminKeyBuilder_; } private com.hedera.hashgraph.sdk.proto.Key submitKey_; private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Key, com.hedera.hashgraph.sdk.proto.Key.Builder, com.hedera.hashgraph.sdk.proto.KeyOrBuilder> submitKeyBuilder_; /** *
     **
     * Access control for ConsensusService.submitMessage.
     * If unspecified, no change.
     * If empty keyList - the submitKey is cleared.
     * 
* * .proto.Key submitKey = 7; * @return Whether the submitKey field is set. */ 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; * @return The submitKey. */ public com.hedera.hashgraph.sdk.proto.Key getSubmitKey() { if (submitKeyBuilder_ == null) { return submitKey_ == null ? com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance() : submitKey_; } else { return submitKeyBuilder_.getMessage(); } } /** *
     **
     * 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) { if (submitKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } submitKey_ = value; } else { submitKeyBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); 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) { if (submitKeyBuilder_ == null) { submitKey_ = builderForValue.build(); } else { submitKeyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); 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) { if (submitKeyBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && submitKey_ != null && submitKey_ != com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance()) { getSubmitKeyBuilder().mergeFrom(value); } else { submitKey_ = value; } } else { submitKeyBuilder_.mergeFrom(value); } if (submitKey_ != null) { bitField0_ |= 0x00000010; onChanged(); } 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() { bitField0_ = (bitField0_ & ~0x00000010); submitKey_ = null; if (submitKeyBuilder_ != null) { submitKeyBuilder_.dispose(); submitKeyBuilder_ = null; } onChanged(); return this; } /** *
     **
     * Access control for ConsensusService.submitMessage.
     * If unspecified, no change.
     * If empty keyList - the submitKey is cleared.
     * 
* * .proto.Key submitKey = 7; */ public com.hedera.hashgraph.sdk.proto.Key.Builder getSubmitKeyBuilder() { bitField0_ |= 0x00000010; onChanged(); return getSubmitKeyFieldBuilder().getBuilder(); } /** *
     **
     * Access control for ConsensusService.submitMessage.
     * If unspecified, no change.
     * If empty keyList - the submitKey is cleared.
     * 
* * .proto.Key submitKey = 7; */ public com.hedera.hashgraph.sdk.proto.KeyOrBuilder getSubmitKeyOrBuilder() { if (submitKeyBuilder_ != null) { return submitKeyBuilder_.getMessageOrBuilder(); } else { 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 com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Key, com.hedera.hashgraph.sdk.proto.Key.Builder, com.hedera.hashgraph.sdk.proto.KeyOrBuilder> getSubmitKeyFieldBuilder() { if (submitKeyBuilder_ == null) { submitKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Key, com.hedera.hashgraph.sdk.proto.Key.Builder, com.hedera.hashgraph.sdk.proto.KeyOrBuilder>( getSubmitKey(), getParentForChildren(), isClean()); submitKey_ = null; } return submitKeyBuilder_; } private com.hedera.hashgraph.sdk.proto.Duration autoRenewPeriod_; private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Duration, com.hedera.hashgraph.sdk.proto.Duration.Builder, com.hedera.hashgraph.sdk.proto.DurationOrBuilder> autoRenewPeriodBuilder_; /** *
     *
     * 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; * @return Whether the autoRenewPeriod field is set. */ 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; * @return The autoRenewPeriod. */ public com.hedera.hashgraph.sdk.proto.Duration getAutoRenewPeriod() { if (autoRenewPeriodBuilder_ == null) { return autoRenewPeriod_ == null ? com.hedera.hashgraph.sdk.proto.Duration.getDefaultInstance() : autoRenewPeriod_; } else { return autoRenewPeriodBuilder_.getMessage(); } } /** *
     *
     * 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) { if (autoRenewPeriodBuilder_ == null) { if (value == null) { throw new NullPointerException(); } autoRenewPeriod_ = value; } else { autoRenewPeriodBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); 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) { if (autoRenewPeriodBuilder_ == null) { autoRenewPeriod_ = builderForValue.build(); } else { autoRenewPeriodBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); 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) { if (autoRenewPeriodBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && autoRenewPeriod_ != null && autoRenewPeriod_ != com.hedera.hashgraph.sdk.proto.Duration.getDefaultInstance()) { getAutoRenewPeriodBuilder().mergeFrom(value); } else { autoRenewPeriod_ = value; } } else { autoRenewPeriodBuilder_.mergeFrom(value); } if (autoRenewPeriod_ != null) { bitField0_ |= 0x00000020; onChanged(); } 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() { bitField0_ = (bitField0_ & ~0x00000020); autoRenewPeriod_ = null; if (autoRenewPeriodBuilder_ != null) { autoRenewPeriodBuilder_.dispose(); autoRenewPeriodBuilder_ = null; } onChanged(); 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 com.hedera.hashgraph.sdk.proto.Duration.Builder getAutoRenewPeriodBuilder() { bitField0_ |= 0x00000020; onChanged(); return getAutoRenewPeriodFieldBuilder().getBuilder(); } /** *
     *
     * 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 com.hedera.hashgraph.sdk.proto.DurationOrBuilder getAutoRenewPeriodOrBuilder() { if (autoRenewPeriodBuilder_ != null) { return autoRenewPeriodBuilder_.getMessageOrBuilder(); } else { 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 com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Duration, com.hedera.hashgraph.sdk.proto.Duration.Builder, com.hedera.hashgraph.sdk.proto.DurationOrBuilder> getAutoRenewPeriodFieldBuilder() { if (autoRenewPeriodBuilder_ == null) { autoRenewPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Duration, com.hedera.hashgraph.sdk.proto.Duration.Builder, com.hedera.hashgraph.sdk.proto.DurationOrBuilder>( getAutoRenewPeriod(), getParentForChildren(), isClean()); autoRenewPeriod_ = null; } return autoRenewPeriodBuilder_; } private com.hedera.hashgraph.sdk.proto.AccountID autoRenewAccount_; private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.AccountID, com.hedera.hashgraph.sdk.proto.AccountID.Builder, com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder> autoRenewAccountBuilder_; /** *
     **
     * 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; * @return Whether the autoRenewAccount field is set. */ 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; * @return The autoRenewAccount. */ public com.hedera.hashgraph.sdk.proto.AccountID getAutoRenewAccount() { if (autoRenewAccountBuilder_ == null) { return autoRenewAccount_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : autoRenewAccount_; } else { return autoRenewAccountBuilder_.getMessage(); } } /** *
     **
     * 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) { if (autoRenewAccountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } autoRenewAccount_ = value; } else { autoRenewAccountBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); 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) { if (autoRenewAccountBuilder_ == null) { autoRenewAccount_ = builderForValue.build(); } else { autoRenewAccountBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); 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) { if (autoRenewAccountBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && autoRenewAccount_ != null && autoRenewAccount_ != com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance()) { getAutoRenewAccountBuilder().mergeFrom(value); } else { autoRenewAccount_ = value; } } else { autoRenewAccountBuilder_.mergeFrom(value); } if (autoRenewAccount_ != null) { bitField0_ |= 0x00000040; onChanged(); } 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() { bitField0_ = (bitField0_ & ~0x00000040); autoRenewAccount_ = null; if (autoRenewAccountBuilder_ != null) { autoRenewAccountBuilder_.dispose(); autoRenewAccountBuilder_ = null; } onChanged(); 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 com.hedera.hashgraph.sdk.proto.AccountID.Builder getAutoRenewAccountBuilder() { bitField0_ |= 0x00000040; onChanged(); return getAutoRenewAccountFieldBuilder().getBuilder(); } /** *
     **
     * 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 com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getAutoRenewAccountOrBuilder() { if (autoRenewAccountBuilder_ != null) { return autoRenewAccountBuilder_.getMessageOrBuilder(); } else { 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 com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.AccountID, com.hedera.hashgraph.sdk.proto.AccountID.Builder, com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder> getAutoRenewAccountFieldBuilder() { if (autoRenewAccountBuilder_ == null) { autoRenewAccountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.AccountID, com.hedera.hashgraph.sdk.proto.AccountID.Builder, com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder>( getAutoRenewAccount(), getParentForChildren(), isClean()); autoRenewAccount_ = null; } return autoRenewAccountBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:proto.ConsensusUpdateTopicTransactionBody) } // @@protoc_insertion_point(class_scope:proto.ConsensusUpdateTopicTransactionBody) private static final com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody(); } public static com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ConsensusUpdateTopicTransactionBody parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.hedera.hashgraph.sdk.proto.ConsensusUpdateTopicTransactionBody getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy