Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class NetworkGetVersionInfoResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<NetworkGetVersionInfoResponse,NetworkGetVersionInfoResponse.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<NetworkGetVersionInfoResponse,NetworkGetVersionInfoResponse.Builder>
com.hedera.hashgraph.sdk.proto.NetworkGetVersionInfoResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,NetworkGetVersionInfoResponseOrBuilder,Cloneable
- Enclosing class:
NetworkGetVersionInfoResponse
public static final class NetworkGetVersionInfoResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* 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.* 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.* An API version.mergeHeader(ResponseHeader value) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).* A Services version.* An API version.setHapiProtoVersion(SemanticVersion.Builder builderForValue) * An API version.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).* A Services version.setHederaServicesVersion(SemanticVersion.Builder builderForValue) * A Services version.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 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.
-
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; -
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.
-
setHapiProtoVersion
* An API version. <p> This SHALL be the current Hedera API (HAPI) protobuf message version accepted by the network.
.proto.SemanticVersion hapiProtoVersion = 2; -
setHapiProtoVersion
public NetworkGetVersionInfoResponse.Builder setHapiProtoVersion(SemanticVersion.Builder builderForValue) * An API version. <p> This SHALL be the current Hedera API (HAPI) protobuf message version accepted by the network.
.proto.SemanticVersion hapiProtoVersion = 2; -
mergeHapiProtoVersion
* An API version. <p> This SHALL be the current Hedera API (HAPI) protobuf message version accepted by the network.
.proto.SemanticVersion hapiProtoVersion = 2; -
clearHapiProtoVersion
* An API version. <p> This SHALL be the current Hedera API (HAPI) protobuf message version accepted by the network.
.proto.SemanticVersion hapiProtoVersion = 2; -
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.
-
setHederaServicesVersion
* A Services version. <p> This SHALL be the current version of the Hedera Services software operating the network.
.proto.SemanticVersion hederaServicesVersion = 3; -
setHederaServicesVersion
public NetworkGetVersionInfoResponse.Builder setHederaServicesVersion(SemanticVersion.Builder builderForValue) * A Services version. <p> This SHALL be the current version of the Hedera Services software operating the network.
.proto.SemanticVersion hederaServicesVersion = 3; -
mergeHederaServicesVersion
* A Services version. <p> This SHALL be the current version of the Hedera Services software operating the network.
.proto.SemanticVersion hederaServicesVersion = 3; -
clearHederaServicesVersion
* A Services version. <p> This SHALL be the current version of the Hedera Services software operating the network.
.proto.SemanticVersion hederaServicesVersion = 3;
-