Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class NetworkGetVersionInfoResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite<NetworkGetVersionInfoResponse,NetworkGetVersionInfoResponse.Builder>
com.google.protobuf.GeneratedMessageLite<NetworkGetVersionInfoResponse,NetworkGetVersionInfoResponse.Builder>
com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,NetworkGetVersionInfoResponseOrBuilder
@Generated
public final class NetworkGetVersionInfoResponse
extends com.google.protobuf.GeneratedMessageLite<NetworkGetVersionInfoResponse,NetworkGetVersionInfoResponse.Builder>
implements NetworkGetVersionInfoResponseOrBuilder
* A response to a `NetworkGetVersionInfoQuery`. This SHALL return `SemanticVersion` information for both Hedera API (HAPI) and Hedera Services.Protobuf type
proto.NetworkGetVersionInfoResponse-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* A response to a `NetworkGetVersionInfoQuery`.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 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 API version.* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).* A Services version.boolean* An API version.boolean* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).boolean* A Services version.newBuilder(NetworkGetVersionInfoResponse prototype) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NetworkGetVersionInfoResponse> 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:
-
HAPIPROTOVERSION_FIELD_NUMBER
public static final int HAPIPROTOVERSION_FIELD_NUMBER- See Also:
-
HEDERASERVICESVERSION_FIELD_NUMBER
public static final int HEDERASERVICESVERSION_FIELD_NUMBER- See Also:
-
-
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 interfaceNetworkGetVersionInfoResponseOrBuilder- 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 interfaceNetworkGetVersionInfoResponseOrBuilder- Returns:
- The header.
-
hasHapiProtoVersion
public boolean hasHapiProtoVersion()* An API version. <p> This SHALL be the current Hedera API (HAPI) protobuf message version accepted by the network.
.proto.SemanticVersion hapiProtoVersion = 2;- Specified by:
hasHapiProtoVersionin interfaceNetworkGetVersionInfoResponseOrBuilder- Returns:
- Whether the hapiProtoVersion field is set.
-
getHapiProtoVersion
* An API version. <p> This SHALL be the current Hedera API (HAPI) protobuf message version accepted by the network.
.proto.SemanticVersion hapiProtoVersion = 2;- Specified by:
getHapiProtoVersionin interfaceNetworkGetVersionInfoResponseOrBuilder- Returns:
- The hapiProtoVersion.
-
hasHederaServicesVersion
public boolean hasHederaServicesVersion()* A Services version. <p> This SHALL be the current version of the Hedera Services software operating the network.
.proto.SemanticVersion hederaServicesVersion = 3;- Specified by:
hasHederaServicesVersionin interfaceNetworkGetVersionInfoResponseOrBuilder- Returns:
- Whether the hederaServicesVersion field is set.
-
getHederaServicesVersion
* A Services version. <p> This SHALL be the current version of the Hedera Services software operating the network.
.proto.SemanticVersion hederaServicesVersion = 3;- Specified by:
getHederaServicesVersionin interfaceNetworkGetVersionInfoResponseOrBuilder- Returns:
- The hederaServicesVersion.
-
parseFrom
public static NetworkGetVersionInfoResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkGetVersionInfoResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkGetVersionInfoResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkGetVersionInfoResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkGetVersionInfoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkGetVersionInfoResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NetworkGetVersionInfoResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static NetworkGetVersionInfoResponse parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static NetworkGetVersionInfoResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static NetworkGetVersionInfoResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static NetworkGetVersionInfoResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static NetworkGetVersionInfoResponse.Builder newBuilder(NetworkGetVersionInfoResponse prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<NetworkGetVersionInfoResponse,NetworkGetVersionInfoResponse.Builder>
-
getDefaultInstance
-
parser
-