com.hederahashgraph.api.proto.java.ConsensusCreateTopicTransactionBodyOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: consensus_create_topic.proto
package com.hederahashgraph.api.proto.java;
public interface ConsensusCreateTopicTransactionBodyOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.ConsensusCreateTopicTransactionBody)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* Short publicly visible memo about the topic. No guarantee of uniqueness.
*
*
* string memo = 1;
* @return The memo.
*/
java.lang.String getMemo();
/**
*
**
* Short publicly visible memo about the topic. No guarantee of uniqueness.
*
*
* string memo = 1;
* @return The bytes for memo.
*/
com.google.protobuf.ByteString
getMemoBytes();
/**
*
**
* 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;
* @return Whether the adminKey field is set.
*/
boolean 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;
* @return The adminKey.
*/
com.hederahashgraph.api.proto.java.Key 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;
*/
com.hederahashgraph.api.proto.java.KeyOrBuilder getAdminKeyOrBuilder();
/**
*
**
* Access control for submitMessage.
* If unspecified, no access control is performed on ConsensusService.submitMessage (all submissions are allowed).
*
*
* .proto.Key submitKey = 3;
* @return Whether the submitKey field is set.
*/
boolean hasSubmitKey();
/**
*
**
* Access control for submitMessage.
* If unspecified, no access control is performed on ConsensusService.submitMessage (all submissions are allowed).
*
*
* .proto.Key submitKey = 3;
* @return The submitKey.
*/
com.hederahashgraph.api.proto.java.Key getSubmitKey();
/**
*
**
* Access control for submitMessage.
* If unspecified, no access control is performed on ConsensusService.submitMessage (all submissions are allowed).
*
*
* .proto.Key submitKey = 3;
*/
com.hederahashgraph.api.proto.java.KeyOrBuilder getSubmitKeyOrBuilder();
/**
*
**
* 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;
* @return Whether the autoRenewPeriod field is set.
*/
boolean 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;
* @return The autoRenewPeriod.
*/
com.hederahashgraph.api.proto.java.Duration 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;
*/
com.hederahashgraph.api.proto.java.DurationOrBuilder getAutoRenewPeriodOrBuilder();
/**
*
**
* 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;
* @return Whether the autoRenewAccount field is set.
*/
boolean 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;
* @return The autoRenewAccount.
*/
com.hederahashgraph.api.proto.java.AccountID 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;
*/
com.hederahashgraph.api.proto.java.AccountIDOrBuilder getAutoRenewAccountOrBuilder();
}