Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class GetAccountDetailsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<GetAccountDetailsResponse,GetAccountDetailsResponse.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<GetAccountDetailsResponse,GetAccountDetailsResponse.Builder>
com.hedera.hashgraph.sdk.proto.GetAccountDetailsResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,GetAccountDetailsResponseOrBuilder,Cloneable
- Enclosing class:
GetAccountDetailsResponse
public static final class GetAccountDetailsResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<GetAccountDetailsResponse,GetAccountDetailsResponse.Builder>
implements GetAccountDetailsResponseOrBuilder
* A response to a `GetAccountDetailsQuery`. This SHALL contain the account details if requested and successful.Protobuf type
proto.GetAccountDetailsResponse-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* Details of the account.* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).* Details of the account.* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).boolean* Details of the account.boolean* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).* Details of the account.mergeHeader(ResponseHeader value) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).* Details of the account.setAccountDetails(GetAccountDetailsResponse.AccountDetails.Builder builderForValue) * Details of the account.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).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 interfaceGetAccountDetailsResponseOrBuilder- 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 interfaceGetAccountDetailsResponseOrBuilder- 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; -
hasAccountDetails
public boolean hasAccountDetails()* Details of the account. <p> A state proof MAY be generated for this field.
.proto.GetAccountDetailsResponse.AccountDetails account_details = 2;- Specified by:
hasAccountDetailsin interfaceGetAccountDetailsResponseOrBuilder- Returns:
- Whether the accountDetails field is set.
-
getAccountDetails
* Details of the account. <p> A state proof MAY be generated for this field.
.proto.GetAccountDetailsResponse.AccountDetails account_details = 2;- Specified by:
getAccountDetailsin interfaceGetAccountDetailsResponseOrBuilder- Returns:
- The accountDetails.
-
setAccountDetails
public GetAccountDetailsResponse.Builder setAccountDetails(GetAccountDetailsResponse.AccountDetails value) * Details of the account. <p> A state proof MAY be generated for this field.
.proto.GetAccountDetailsResponse.AccountDetails account_details = 2; -
setAccountDetails
public GetAccountDetailsResponse.Builder setAccountDetails(GetAccountDetailsResponse.AccountDetails.Builder builderForValue) * Details of the account. <p> A state proof MAY be generated for this field.
.proto.GetAccountDetailsResponse.AccountDetails account_details = 2; -
mergeAccountDetails
public GetAccountDetailsResponse.Builder mergeAccountDetails(GetAccountDetailsResponse.AccountDetails value) * Details of the account. <p> A state proof MAY be generated for this field.
.proto.GetAccountDetailsResponse.AccountDetails account_details = 2; -
clearAccountDetails
* Details of the account. <p> A state proof MAY be generated for this field.
.proto.GetAccountDetailsResponse.AccountDetails account_details = 2;
-