Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class ConsensusGetTopicInfoResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<ConsensusGetTopicInfoResponse,ConsensusGetTopicInfoResponse.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<ConsensusGetTopicInfoResponse,ConsensusGetTopicInfoResponse.Builder>
com.hedera.hashgraph.sdk.proto.ConsensusGetTopicInfoResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ConsensusGetTopicInfoResponseOrBuilder,Cloneable
- Enclosing class:
ConsensusGetTopicInfoResponse
public static final class ConsensusGetTopicInfoResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ConsensusGetTopicInfoResponse,ConsensusGetTopicInfoResponse.Builder>
implements ConsensusGetTopicInfoResponseOrBuilder
* Query response to describe the current state of a topic in the Hedera Consensus Service(HCS).Protobuf type
proto.ConsensusGetTopicInfoResponse-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).* The ID of the topic requested in the query.* Information describing the current state of the topic.* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).* The ID of the topic requested in the query.* Information describing the current state of the topic.boolean* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).boolean* The ID of the topic requested in the query.boolean* Information describing the current state of the topic.mergeHeader(ResponseHeader value) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).mergeTopicID(TopicID value) * The ID of the topic requested in the query.mergeTopicInfo(ConsensusTopicInfo value) * Information describing the current state of the topic.setHeader(ResponseHeader value) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).setHeader(ResponseHeader.Builder builderForValue) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).setTopicID(TopicID value) * The ID of the topic requested in the query.setTopicID(TopicID.Builder builderForValue) * The ID of the topic requested in the query.setTopicInfo(ConsensusTopicInfo value) * Information describing the current state of the topic.setTopicInfo(ConsensusTopicInfo.Builder builderForValue) * Information describing the current state of the topic.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()* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1;- Specified by:
hasHeaderin interfaceConsensusGetTopicInfoResponseOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1;- Specified by:
getHeaderin interfaceConsensusGetTopicInfoResponseOrBuilder- Returns:
- The header.
-
setHeader
* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1; -
setHeader
* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1; -
mergeHeader
* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1; -
clearHeader
* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1; -
hasTopicID
public boolean hasTopicID()* The ID of the topic requested in the query.
.proto.TopicID topicID = 2;- Specified by:
hasTopicIDin interfaceConsensusGetTopicInfoResponseOrBuilder- Returns:
- Whether the topicID field is set.
-
getTopicID
* The ID of the topic requested in the query.
.proto.TopicID topicID = 2;- Specified by:
getTopicIDin interfaceConsensusGetTopicInfoResponseOrBuilder- Returns:
- The topicID.
-
setTopicID
* The ID of the topic requested in the query.
.proto.TopicID topicID = 2; -
setTopicID
* The ID of the topic requested in the query.
.proto.TopicID topicID = 2; -
mergeTopicID
* The ID of the topic requested in the query.
.proto.TopicID topicID = 2; -
clearTopicID
* The ID of the topic requested in the query.
.proto.TopicID topicID = 2; -
hasTopicInfo
public boolean hasTopicInfo()* Information describing the current state of the topic.
.proto.ConsensusTopicInfo topicInfo = 5;- Specified by:
hasTopicInfoin interfaceConsensusGetTopicInfoResponseOrBuilder- Returns:
- Whether the topicInfo field is set.
-
getTopicInfo
* Information describing the current state of the topic.
.proto.ConsensusTopicInfo topicInfo = 5;- Specified by:
getTopicInfoin interfaceConsensusGetTopicInfoResponseOrBuilder- Returns:
- The topicInfo.
-
setTopicInfo
* Information describing the current state of the topic.
.proto.ConsensusTopicInfo topicInfo = 5; -
setTopicInfo
public ConsensusGetTopicInfoResponse.Builder setTopicInfo(ConsensusTopicInfo.Builder builderForValue) * Information describing the current state of the topic.
.proto.ConsensusTopicInfo topicInfo = 5; -
mergeTopicInfo
* Information describing the current state of the topic.
.proto.ConsensusTopicInfo topicInfo = 5; -
clearTopicInfo
* Information describing the current state of the topic.
.proto.ConsensusTopicInfo topicInfo = 5;
-