java.lang.Object
com.google.protobuf.AbstractMessageLite<GetAccountDetailsQuery,GetAccountDetailsQuery.Builder>
com.google.protobuf.GeneratedMessageLite<GetAccountDetailsQuery,GetAccountDetailsQuery.Builder>
com.hedera.hashgraph.sdk.proto.GetAccountDetailsQuery
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,GetAccountDetailsQueryOrBuilder
@Generated
public final class GetAccountDetailsQuery
extends com.google.protobuf.GeneratedMessageLite<GetAccountDetailsQuery,GetAccountDetailsQuery.Builder>
implements GetAccountDetailsQueryOrBuilder
* Request detail information about an account. The returned information SHALL include balance and allowances.<br/> The returned information SHALL NOT include a list of account records. #### Important This query is a _privileged_ query. Only "system" accounts SHALL be permitted to submit this query.Protobuf type
proto.GetAccountDetailsQuery-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Request detail information about an account.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) * An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.static GetAccountDetailsQuery* 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* An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.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).newBuilder(GetAccountDetailsQuery prototype) static GetAccountDetailsQueryparseDelimitedFrom(InputStream input) static GetAccountDetailsQueryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetAccountDetailsQueryparseFrom(byte[] data) static GetAccountDetailsQueryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetAccountDetailsQueryparseFrom(com.google.protobuf.ByteString data) static GetAccountDetailsQueryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetAccountDetailsQueryparseFrom(com.google.protobuf.CodedInputStream input) static GetAccountDetailsQueryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetAccountDetailsQueryparseFrom(InputStream input) static GetAccountDetailsQueryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetAccountDetailsQueryparseFrom(ByteBuffer data) static GetAccountDetailsQueryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GetAccountDetailsQuery> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER- See Also:
-
ACCOUNT_ID_FIELD_NUMBER
public static final int ACCOUNT_ID_FIELD_NUMBER- See Also:
-
-
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 interfaceGetAccountDetailsQueryOrBuilder- 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 interfaceGetAccountDetailsQueryOrBuilder- Returns:
- The header.
-
hasAccountId
public boolean hasAccountId()* An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.
.proto.AccountID account_id = 2;- Specified by:
hasAccountIdin interfaceGetAccountDetailsQueryOrBuilder- Returns:
- Whether the accountId field is set.
-
getAccountId
* An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.
.proto.AccountID account_id = 2;- Specified by:
getAccountIdin interfaceGetAccountDetailsQueryOrBuilder- Returns:
- The accountId.
-
parseFrom
public static GetAccountDetailsQuery parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetAccountDetailsQuery parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetAccountDetailsQuery parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetAccountDetailsQuery parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetAccountDetailsQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetAccountDetailsQuery parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GetAccountDetailsQuery parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GetAccountDetailsQuery parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GetAccountDetailsQuery parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GetAccountDetailsQuery parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<GetAccountDetailsQuery,GetAccountDetailsQuery.Builder>
-
getDefaultInstance
-
parser
-