Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class ConsensusGetTopicInfoQuery.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<ConsensusGetTopicInfoQuery,ConsensusGetTopicInfoQuery.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<ConsensusGetTopicInfoQuery,ConsensusGetTopicInfoQuery.Builder>
com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoQuery.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ConsensusGetTopicInfoQueryOrBuilder,Cloneable
- Enclosing class:
ConsensusGetTopicInfoQuery
public static final class ConsensusGetTopicInfoQuery.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ConsensusGetTopicInfoQuery,ConsensusGetTopicInfoQuery.Builder>
implements ConsensusGetTopicInfoQueryOrBuilder
* Retrieve the latest state of a topic. This method is unrestricted and allowed on any topic by any payer account.<br/> A query for a deleted topic MAY succeed if the topic is within the "autorenew grace period".<br/> A query for a topic removed from state SHALL NOT succeed.Protobuf type
proto.ConsensusGetTopicInfoQuery-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).* A topic ID.* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).* A topic ID.boolean* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).boolean* A topic ID.mergeHeader(QueryHeader value) * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).mergeTopicID(TopicID value) * A topic ID.setHeader(QueryHeader value) * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).setHeader(QueryHeader.Builder builderForValue) * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).setTopicID(TopicID value) * A topic ID.setTopicID(TopicID.Builder builderForValue) * A topic ID.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasHeader
public boolean hasHeader()* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1;- Specified by:
hasHeaderin interfaceConsensusGetTopicInfoQueryOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1;- Specified by:
getHeaderin interfaceConsensusGetTopicInfoQueryOrBuilder- Returns:
- The header.
-
setHeader
* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1; -
setHeader
* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1; -
mergeHeader
* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1; -
clearHeader
* Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
.proto.QueryHeader header = 1; -
hasTopicID
public boolean hasTopicID()* A topic ID. <p> The network SHALL return information for this topic, if successful.
.proto.TopicID topicID = 2;- Specified by:
hasTopicIDin interfaceConsensusGetTopicInfoQueryOrBuilder- Returns:
- Whether the topicID field is set.
-
getTopicID
* A topic ID. <p> The network SHALL return information for this topic, if successful.
.proto.TopicID topicID = 2;- Specified by:
getTopicIDin interfaceConsensusGetTopicInfoQueryOrBuilder- Returns:
- The topicID.
-
setTopicID
* A topic ID. <p> The network SHALL return information for this topic, if successful.
.proto.TopicID topicID = 2; -
setTopicID
* A topic ID. <p> The network SHALL return information for this topic, if successful.
.proto.TopicID topicID = 2; -
mergeTopicID
* A topic ID. <p> The network SHALL return information for this topic, if successful.
.proto.TopicID topicID = 2; -
clearTopicID
* A topic ID. <p> The network SHALL return information for this topic, if successful.
.proto.TopicID topicID = 2;
-