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

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

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: consensus_create_topic.proto

package com.hedera.hashgraph.sdk.proto;

/**
 * 
 **
 * See [ConsensusService.createTopic()](#proto.ConsensusService)
 * 
* * Protobuf type {@code proto.ConsensusCreateTopicTransactionBody} */ public final class ConsensusCreateTopicTransactionBody extends com.google.protobuf.GeneratedMessageLite< ConsensusCreateTopicTransactionBody, ConsensusCreateTopicTransactionBody.Builder> implements // @@protoc_insertion_point(message_implements:proto.ConsensusCreateTopicTransactionBody) ConsensusCreateTopicTransactionBodyOrBuilder { private ConsensusCreateTopicTransactionBody() { memo_ = ""; } public static final int MEMO_FIELD_NUMBER = 1; private java.lang.String memo_; /** *
   **
   * Short publicly visible memo about the topic. No guarantee of uniqueness.
   * 
* * string memo = 1; * @return The memo. */ @java.lang.Override public java.lang.String getMemo() { return memo_; } /** *
   **
   * Short publicly visible memo about the topic. No guarantee of uniqueness.
   * 
* * string memo = 1; * @return The bytes for memo. */ @java.lang.Override public com.google.protobuf.ByteString getMemoBytes() { return com.google.protobuf.ByteString.copyFromUtf8(memo_); } /** *
   **
   * Short publicly visible memo about the topic. No guarantee of uniqueness.
   * 
* * string memo = 1; * @param value The memo to set. */ private void setMemo( java.lang.String value) { java.lang.Class valueClass = value.getClass(); memo_ = value; } /** *
   **
   * Short publicly visible memo about the topic. No guarantee of uniqueness.
   * 
* * string memo = 1; */ private void clearMemo() { memo_ = getDefaultInstance().getMemo(); } /** *
   **
   * Short publicly visible memo about the topic. No guarantee of uniqueness.
   * 
* * string memo = 1; * @param value The bytes for memo to set. */ private void setMemoBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); memo_ = value.toStringUtf8(); } public static final int ADMINKEY_FIELD_NUMBER = 2; private com.hedera.hashgraph.sdk.proto.Key adminKey_; /** *
   **
   * Access control for updateTopic/deleteTopic.
   * Anyone can increase the topic's expirationTime via ConsensusService.updateTopic(), regardless of the adminKey.
   * If no adminKey is specified, updateTopic may only be used to extend the topic's expirationTime, and deleteTopic
   * is disallowed.
   * 
* * .proto.Key adminKey = 2; */ @java.lang.Override public boolean hasAdminKey() { return adminKey_ != null; } /** *
   **
   * Access control for updateTopic/deleteTopic.
   * Anyone can increase the topic's expirationTime via ConsensusService.updateTopic(), regardless of the adminKey.
   * If no adminKey is specified, updateTopic may only be used to extend the topic's expirationTime, and deleteTopic
   * is disallowed.
   * 
* * .proto.Key adminKey = 2; */ @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 updateTopic/deleteTopic.
   * Anyone can increase the topic's expirationTime via ConsensusService.updateTopic(), regardless of the adminKey.
   * If no adminKey is specified, updateTopic may only be used to extend the topic's expirationTime, and deleteTopic
   * is disallowed.
   * 
* * .proto.Key adminKey = 2; */ private void setAdminKey(com.hedera.hashgraph.sdk.proto.Key value) { value.getClass(); adminKey_ = value; } /** *
   **
   * Access control for updateTopic/deleteTopic.
   * Anyone can increase the topic's expirationTime via ConsensusService.updateTopic(), regardless of the adminKey.
   * If no adminKey is specified, updateTopic may only be used to extend the topic's expirationTime, and deleteTopic
   * is disallowed.
   * 
* * .proto.Key adminKey = 2; */ @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; } } /** *
   **
   * Access control for updateTopic/deleteTopic.
   * Anyone can increase the topic's expirationTime via ConsensusService.updateTopic(), regardless of the adminKey.
   * If no adminKey is specified, updateTopic may only be used to extend the topic's expirationTime, and deleteTopic
   * is disallowed.
   * 
* * .proto.Key adminKey = 2; */ private void clearAdminKey() { adminKey_ = null; } public static final int SUBMITKEY_FIELD_NUMBER = 3; private com.hedera.hashgraph.sdk.proto.Key submitKey_; /** *
   **
   * Access control for submitMessage.
   * If unspecified, no access control is performed on ConsensusService.submitMessage (all submissions are allowed).
   * 
* * .proto.Key submitKey = 3; */ @java.lang.Override public boolean hasSubmitKey() { return submitKey_ != null; } /** *
   **
   * Access control for submitMessage.
   * If unspecified, no access control is performed on ConsensusService.submitMessage (all submissions are allowed).
   * 
* * .proto.Key submitKey = 3; */ @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 submitMessage.
   * If unspecified, no access control is performed on ConsensusService.submitMessage (all submissions are allowed).
   * 
* * .proto.Key submitKey = 3; */ private void setSubmitKey(com.hedera.hashgraph.sdk.proto.Key value) { value.getClass(); submitKey_ = value; } /** *
   **
   * Access control for submitMessage.
   * If unspecified, no access control is performed on ConsensusService.submitMessage (all submissions are allowed).
   * 
* * .proto.Key submitKey = 3; */ @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; } } /** *
   **
   * Access control for submitMessage.
   * If unspecified, no access control is performed on ConsensusService.submitMessage (all submissions are allowed).
   * 
* * .proto.Key submitKey = 3; */ private void clearSubmitKey() { submitKey_ = null; } public static final int AUTORENEWPERIOD_FIELD_NUMBER = 6; private com.hedera.hashgraph.sdk.proto.Duration autoRenewPeriod_; /** *
   **
   * The initial lifetime of the topic and the amount of time to attempt to extend the topic's lifetime by
   * automatically at the topic's expirationTime, if the autoRenewAccount is configured (once autoRenew functionality
   * is supported by HAPI).
   * Limited to MIN_AUTORENEW_PERIOD and MAX_AUTORENEW_PERIOD value by server-side configuration.
   * Required.
   * 
* * .proto.Duration autoRenewPeriod = 6; */ @java.lang.Override public boolean hasAutoRenewPeriod() { return autoRenewPeriod_ != null; } /** *
   **
   * The initial lifetime of the topic and the amount of time to attempt to extend the topic's lifetime by
   * automatically at the topic's expirationTime, if the autoRenewAccount is configured (once autoRenew functionality
   * is supported by HAPI).
   * Limited to MIN_AUTORENEW_PERIOD and MAX_AUTORENEW_PERIOD value by server-side configuration.
   * Required.
   * 
* * .proto.Duration autoRenewPeriod = 6; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Duration getAutoRenewPeriod() { return autoRenewPeriod_ == null ? com.hedera.hashgraph.sdk.proto.Duration.getDefaultInstance() : autoRenewPeriod_; } /** *
   **
   * The initial lifetime of the topic and the amount of time to attempt to extend the topic's lifetime by
   * automatically at the topic's expirationTime, if the autoRenewAccount is configured (once autoRenew functionality
   * is supported by HAPI).
   * Limited to MIN_AUTORENEW_PERIOD and MAX_AUTORENEW_PERIOD value by server-side configuration.
   * Required.
   * 
* * .proto.Duration autoRenewPeriod = 6; */ private void setAutoRenewPeriod(com.hedera.hashgraph.sdk.proto.Duration value) { value.getClass(); autoRenewPeriod_ = value; } /** *
   **
   * The initial lifetime of the topic and the amount of time to attempt to extend the topic's lifetime by
   * automatically at the topic's expirationTime, if the autoRenewAccount is configured (once autoRenew functionality
   * is supported by HAPI).
   * Limited to MIN_AUTORENEW_PERIOD and MAX_AUTORENEW_PERIOD value by server-side configuration.
   * Required.
   * 
* * .proto.Duration autoRenewPeriod = 6; */ @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; } } /** *
   **
   * The initial lifetime of the topic and the amount of time to attempt to extend the topic's lifetime by
   * automatically at the topic's expirationTime, if the autoRenewAccount is configured (once autoRenew functionality
   * is supported by HAPI).
   * Limited to MIN_AUTORENEW_PERIOD and MAX_AUTORENEW_PERIOD value by server-side configuration.
   * Required.
   * 
* * .proto.Duration autoRenewPeriod = 6; */ private void clearAutoRenewPeriod() { autoRenewPeriod_ = null; } public static final int AUTORENEWACCOUNT_FIELD_NUMBER = 7; 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 and if any extension
   * is possible with the account's funds).
   * If specified, there must be an adminKey and the autoRenewAccount must sign this transaction.
   * 
* * .proto.AccountID autoRenewAccount = 7; */ @java.lang.Override public boolean hasAutoRenewAccount() { return autoRenewAccount_ != null; } /** *
   **
   * 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 and if any extension
   * is possible with the account's funds).
   * If specified, there must be an adminKey and the autoRenewAccount must sign this transaction.
   * 
* * .proto.AccountID autoRenewAccount = 7; */ @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 and if any extension
   * is possible with the account's funds).
   * If specified, there must be an adminKey and the autoRenewAccount must sign this transaction.
   * 
* * .proto.AccountID autoRenewAccount = 7; */ private void setAutoRenewAccount(com.hedera.hashgraph.sdk.proto.AccountID value) { value.getClass(); autoRenewAccount_ = value; } /** *
   **
   * 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 and if any extension
   * is possible with the account's funds).
   * If specified, there must be an adminKey and the autoRenewAccount must sign this transaction.
   * 
* * .proto.AccountID autoRenewAccount = 7; */ @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; } } /** *
   **
   * 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 and if any extension
   * is possible with the account's funds).
   * If specified, there must be an adminKey and the autoRenewAccount must sign this transaction.
   * 
* * .proto.AccountID autoRenewAccount = 7; */ private void clearAutoRenewAccount() { autoRenewAccount_ = null; } public static com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody 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.ConsensusCreateTopicTransactionBody 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.ConsensusCreateTopicTransactionBody 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.ConsensusCreateTopicTransactionBody 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.ConsensusCreateTopicTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody 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.ConsensusCreateTopicTransactionBody 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.ConsensusCreateTopicTransactionBody 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.ConsensusCreateTopicTransactionBody parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody 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.ConsensusCreateTopicTransactionBody 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.ConsensusCreateTopicTransactionBody 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.ConsensusCreateTopicTransactionBody prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
   **
   * See [ConsensusService.createTopic()](#proto.ConsensusService)
   * 
* * Protobuf type {@code proto.ConsensusCreateTopicTransactionBody} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody, Builder> implements // @@protoc_insertion_point(builder_implements:proto.ConsensusCreateTopicTransactionBody) com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBodyOrBuilder { // Construct using com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
     **
     * Short publicly visible memo about the topic. No guarantee of uniqueness.
     * 
* * string memo = 1; * @return The memo. */ @java.lang.Override public java.lang.String getMemo() { return instance.getMemo(); } /** *
     **
     * Short publicly visible memo about the topic. No guarantee of uniqueness.
     * 
* * string memo = 1; * @return The bytes for memo. */ @java.lang.Override public com.google.protobuf.ByteString getMemoBytes() { return instance.getMemoBytes(); } /** *
     **
     * Short publicly visible memo about the topic. No guarantee of uniqueness.
     * 
* * string memo = 1; * @param value The memo to set. * @return This builder for chaining. */ public Builder setMemo( java.lang.String value) { copyOnWrite(); instance.setMemo(value); return this; } /** *
     **
     * Short publicly visible memo about the topic. No guarantee of uniqueness.
     * 
* * string memo = 1; * @return This builder for chaining. */ public Builder clearMemo() { copyOnWrite(); instance.clearMemo(); return this; } /** *
     **
     * Short publicly visible memo about the topic. No guarantee of uniqueness.
     * 
* * string memo = 1; * @param value The bytes for memo to set. * @return This builder for chaining. */ public Builder setMemoBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setMemoBytes(value); return this; } /** *
     **
     * Access control for updateTopic/deleteTopic.
     * Anyone can increase the topic's expirationTime via ConsensusService.updateTopic(), regardless of the adminKey.
     * If no adminKey is specified, updateTopic may only be used to extend the topic's expirationTime, and deleteTopic
     * is disallowed.
     * 
* * .proto.Key adminKey = 2; */ @java.lang.Override public boolean hasAdminKey() { return instance.hasAdminKey(); } /** *
     **
     * Access control for updateTopic/deleteTopic.
     * Anyone can increase the topic's expirationTime via ConsensusService.updateTopic(), regardless of the adminKey.
     * If no adminKey is specified, updateTopic may only be used to extend the topic's expirationTime, and deleteTopic
     * is disallowed.
     * 
* * .proto.Key adminKey = 2; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Key getAdminKey() { return instance.getAdminKey(); } /** *
     **
     * Access control for updateTopic/deleteTopic.
     * Anyone can increase the topic's expirationTime via ConsensusService.updateTopic(), regardless of the adminKey.
     * If no adminKey is specified, updateTopic may only be used to extend the topic's expirationTime, and deleteTopic
     * is disallowed.
     * 
* * .proto.Key adminKey = 2; */ public Builder setAdminKey(com.hedera.hashgraph.sdk.proto.Key value) { copyOnWrite(); instance.setAdminKey(value); return this; } /** *
     **
     * Access control for updateTopic/deleteTopic.
     * Anyone can increase the topic's expirationTime via ConsensusService.updateTopic(), regardless of the adminKey.
     * If no adminKey is specified, updateTopic may only be used to extend the topic's expirationTime, and deleteTopic
     * is disallowed.
     * 
* * .proto.Key adminKey = 2; */ public Builder setAdminKey( com.hedera.hashgraph.sdk.proto.Key.Builder builderForValue) { copyOnWrite(); instance.setAdminKey(builderForValue.build()); return this; } /** *
     **
     * Access control for updateTopic/deleteTopic.
     * Anyone can increase the topic's expirationTime via ConsensusService.updateTopic(), regardless of the adminKey.
     * If no adminKey is specified, updateTopic may only be used to extend the topic's expirationTime, and deleteTopic
     * is disallowed.
     * 
* * .proto.Key adminKey = 2; */ public Builder mergeAdminKey(com.hedera.hashgraph.sdk.proto.Key value) { copyOnWrite(); instance.mergeAdminKey(value); return this; } /** *
     **
     * Access control for updateTopic/deleteTopic.
     * Anyone can increase the topic's expirationTime via ConsensusService.updateTopic(), regardless of the adminKey.
     * If no adminKey is specified, updateTopic may only be used to extend the topic's expirationTime, and deleteTopic
     * is disallowed.
     * 
* * .proto.Key adminKey = 2; */ public Builder clearAdminKey() { copyOnWrite(); instance.clearAdminKey(); return this; } /** *
     **
     * Access control for submitMessage.
     * If unspecified, no access control is performed on ConsensusService.submitMessage (all submissions are allowed).
     * 
* * .proto.Key submitKey = 3; */ @java.lang.Override public boolean hasSubmitKey() { return instance.hasSubmitKey(); } /** *
     **
     * Access control for submitMessage.
     * If unspecified, no access control is performed on ConsensusService.submitMessage (all submissions are allowed).
     * 
* * .proto.Key submitKey = 3; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Key getSubmitKey() { return instance.getSubmitKey(); } /** *
     **
     * Access control for submitMessage.
     * If unspecified, no access control is performed on ConsensusService.submitMessage (all submissions are allowed).
     * 
* * .proto.Key submitKey = 3; */ public Builder setSubmitKey(com.hedera.hashgraph.sdk.proto.Key value) { copyOnWrite(); instance.setSubmitKey(value); return this; } /** *
     **
     * Access control for submitMessage.
     * If unspecified, no access control is performed on ConsensusService.submitMessage (all submissions are allowed).
     * 
* * .proto.Key submitKey = 3; */ public Builder setSubmitKey( com.hedera.hashgraph.sdk.proto.Key.Builder builderForValue) { copyOnWrite(); instance.setSubmitKey(builderForValue.build()); return this; } /** *
     **
     * Access control for submitMessage.
     * If unspecified, no access control is performed on ConsensusService.submitMessage (all submissions are allowed).
     * 
* * .proto.Key submitKey = 3; */ public Builder mergeSubmitKey(com.hedera.hashgraph.sdk.proto.Key value) { copyOnWrite(); instance.mergeSubmitKey(value); return this; } /** *
     **
     * Access control for submitMessage.
     * If unspecified, no access control is performed on ConsensusService.submitMessage (all submissions are allowed).
     * 
* * .proto.Key submitKey = 3; */ public Builder clearSubmitKey() { copyOnWrite(); instance.clearSubmitKey(); return this; } /** *
     **
     * The initial lifetime of the topic and the amount of time to attempt to extend the topic's lifetime by
     * automatically at the topic's expirationTime, if the autoRenewAccount is configured (once autoRenew functionality
     * is supported by HAPI).
     * Limited to MIN_AUTORENEW_PERIOD and MAX_AUTORENEW_PERIOD value by server-side configuration.
     * Required.
     * 
* * .proto.Duration autoRenewPeriod = 6; */ @java.lang.Override public boolean hasAutoRenewPeriod() { return instance.hasAutoRenewPeriod(); } /** *
     **
     * The initial lifetime of the topic and the amount of time to attempt to extend the topic's lifetime by
     * automatically at the topic's expirationTime, if the autoRenewAccount is configured (once autoRenew functionality
     * is supported by HAPI).
     * Limited to MIN_AUTORENEW_PERIOD and MAX_AUTORENEW_PERIOD value by server-side configuration.
     * Required.
     * 
* * .proto.Duration autoRenewPeriod = 6; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Duration getAutoRenewPeriod() { return instance.getAutoRenewPeriod(); } /** *
     **
     * The initial lifetime of the topic and the amount of time to attempt to extend the topic's lifetime by
     * automatically at the topic's expirationTime, if the autoRenewAccount is configured (once autoRenew functionality
     * is supported by HAPI).
     * Limited to MIN_AUTORENEW_PERIOD and MAX_AUTORENEW_PERIOD value by server-side configuration.
     * Required.
     * 
* * .proto.Duration autoRenewPeriod = 6; */ public Builder setAutoRenewPeriod(com.hedera.hashgraph.sdk.proto.Duration value) { copyOnWrite(); instance.setAutoRenewPeriod(value); return this; } /** *
     **
     * The initial lifetime of the topic and the amount of time to attempt to extend the topic's lifetime by
     * automatically at the topic's expirationTime, if the autoRenewAccount is configured (once autoRenew functionality
     * is supported by HAPI).
     * Limited to MIN_AUTORENEW_PERIOD and MAX_AUTORENEW_PERIOD value by server-side configuration.
     * Required.
     * 
* * .proto.Duration autoRenewPeriod = 6; */ public Builder setAutoRenewPeriod( com.hedera.hashgraph.sdk.proto.Duration.Builder builderForValue) { copyOnWrite(); instance.setAutoRenewPeriod(builderForValue.build()); return this; } /** *
     **
     * The initial lifetime of the topic and the amount of time to attempt to extend the topic's lifetime by
     * automatically at the topic's expirationTime, if the autoRenewAccount is configured (once autoRenew functionality
     * is supported by HAPI).
     * Limited to MIN_AUTORENEW_PERIOD and MAX_AUTORENEW_PERIOD value by server-side configuration.
     * Required.
     * 
* * .proto.Duration autoRenewPeriod = 6; */ public Builder mergeAutoRenewPeriod(com.hedera.hashgraph.sdk.proto.Duration value) { copyOnWrite(); instance.mergeAutoRenewPeriod(value); return this; } /** *
     **
     * The initial lifetime of the topic and the amount of time to attempt to extend the topic's lifetime by
     * automatically at the topic's expirationTime, if the autoRenewAccount is configured (once autoRenew functionality
     * is supported by HAPI).
     * Limited to MIN_AUTORENEW_PERIOD and MAX_AUTORENEW_PERIOD value by server-side configuration.
     * Required.
     * 
* * .proto.Duration autoRenewPeriod = 6; */ 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 and if any extension
     * is possible with the account's funds).
     * If specified, there must be an adminKey and the autoRenewAccount must sign this transaction.
     * 
* * .proto.AccountID autoRenewAccount = 7; */ @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 and if any extension
     * is possible with the account's funds).
     * If specified, there must be an adminKey and the autoRenewAccount must sign this transaction.
     * 
* * .proto.AccountID autoRenewAccount = 7; */ @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 and if any extension
     * is possible with the account's funds).
     * If specified, there must be an adminKey and the autoRenewAccount must sign this transaction.
     * 
* * .proto.AccountID autoRenewAccount = 7; */ 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 and if any extension
     * is possible with the account's funds).
     * If specified, there must be an adminKey and the autoRenewAccount must sign this transaction.
     * 
* * .proto.AccountID autoRenewAccount = 7; */ 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 and if any extension
     * is possible with the account's funds).
     * If specified, there must be an adminKey and the autoRenewAccount must sign this transaction.
     * 
* * .proto.AccountID autoRenewAccount = 7; */ 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 and if any extension
     * is possible with the account's funds).
     * If specified, there must be an adminKey and the autoRenewAccount must sign this transaction.
     * 
* * .proto.AccountID autoRenewAccount = 7; */ public Builder clearAutoRenewAccount() { copyOnWrite(); instance.clearAutoRenewAccount(); return this; } // @@protoc_insertion_point(builder_scope:proto.ConsensusCreateTopicTransactionBody) } @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.ConsensusCreateTopicTransactionBody(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "memo_", "adminKey_", "submitKey_", "autoRenewPeriod_", "autoRenewAccount_", }; java.lang.String info = "\u0000\u0005\u0000\u0000\u0001\u0007\u0005\u0000\u0000\u0000\u0001\u0208\u0002\t" + "\u0003\t\u0006\t\u0007\t"; 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.ConsensusCreateTopicTransactionBody.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.ConsensusCreateTopicTransactionBody) private static final com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody DEFAULT_INSTANCE; static { ConsensusCreateTopicTransactionBody defaultInstance = new ConsensusCreateTopicTransactionBody(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( ConsensusCreateTopicTransactionBody.class, defaultInstance); } public static com.hedera.hashgraph.sdk.proto.ConsensusCreateTopicTransactionBody 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