Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class TokenGetInfoQuery.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<TokenGetInfoQuery,TokenGetInfoQuery.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<TokenGetInfoQuery,TokenGetInfoQuery.Builder>
com.hedera.hashgraph.sdk.proto.TokenGetInfoQuery.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TokenGetInfoQueryOrBuilder,Cloneable
- Enclosing class:
TokenGetInfoQuery
public static final class TokenGetInfoQuery.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<TokenGetInfoQuery,TokenGetInfoQuery.Builder>
implements TokenGetInfoQueryOrBuilder
* Request information for a token.Protobuf type
proto.TokenGetInfoQuery-
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 token identifier.* 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).getToken()* A token identifier.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).booleanhasToken()* A token identifier.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).mergeToken(TokenID value) * A token identifier.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).* A token identifier.setToken(TokenID.Builder builderForValue) * A token identifier.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 interfaceTokenGetInfoQueryOrBuilder- 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 interfaceTokenGetInfoQueryOrBuilder- 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; -
hasToken
public boolean hasToken()* A token identifier. <p> This SHALL identify the token to query.<br/> The identified token MUST exist, and MUST NOT be deleted.
.proto.TokenID token = 2;- Specified by:
hasTokenin interfaceTokenGetInfoQueryOrBuilder- Returns:
- Whether the token field is set.
-
getToken
* A token identifier. <p> This SHALL identify the token to query.<br/> The identified token MUST exist, and MUST NOT be deleted.
.proto.TokenID token = 2;- Specified by:
getTokenin interfaceTokenGetInfoQueryOrBuilder- Returns:
- The token.
-
setToken
* A token identifier. <p> This SHALL identify the token to query.<br/> The identified token MUST exist, and MUST NOT be deleted.
.proto.TokenID token = 2; -
setToken
* A token identifier. <p> This SHALL identify the token to query.<br/> The identified token MUST exist, and MUST NOT be deleted.
.proto.TokenID token = 2; -
mergeToken
* A token identifier. <p> This SHALL identify the token to query.<br/> The identified token MUST exist, and MUST NOT be deleted.
.proto.TokenID token = 2; -
clearToken
* A token identifier. <p> This SHALL identify the token to query.<br/> The identified token MUST exist, and MUST NOT be deleted.
.proto.TokenID token = 2;
-