Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class NodeUpdateTransactionBody
java.lang.Object
com.google.protobuf.AbstractMessageLite<NodeUpdateTransactionBody,NodeUpdateTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite<NodeUpdateTransactionBody,NodeUpdateTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.NodeUpdateTransactionBody
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,NodeUpdateTransactionBodyOrBuilder
@Generated
public final class NodeUpdateTransactionBody
extends com.google.protobuf.GeneratedMessageLite<NodeUpdateTransactionBody,NodeUpdateTransactionBody.Builder>
implements NodeUpdateTransactionBodyOrBuilder
* Transaction body to modify address book node attributes. - This transaction SHALL enable the node operator, as identified by the `admin_key`, to modify operational attributes of the node. - This transaction MUST be signed by the active `admin_key` for the node. - If this transaction sets a new value for the `admin_key`, then both the current `admin_key`, and the new `admin_key` MUST sign this transaction. - This transaction SHALL NOT change any field that is not set (is null) in this transaction body. - This SHALL create a pending update to the node, but the change SHALL NOT be immediately applied to the active configuration. - All pending node updates SHALL be applied to the active network configuration during the next `freeze` transaction with the field `freeze_type` set to `PREPARE_UPGRADE`. ### Block Stream Effects None.Protobuf type
com.hedera.hapi.node.addressbook.NodeUpdateTransactionBody-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Transaction body to modify address book node attributes.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 intstatic final intstatic final intstatic final intstatic final intstatic final intstatic 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 account identifier.* An administrative key controlled by the node operator.* A list of registered nodes operated by the same entity as this node.<br/> This value may contain a list of "registered nodes" (as described in HIP-1137) that are operated by the same entity that operates this consensus node.com.google.protobuf.BoolValue* A boolean indicating that this node has chosen to decline node rewards distributed at the end of staking period.static NodeUpdateTransactionBodycom.google.protobuf.StringValue* A short description of the node.com.google.protobuf.BytesValue* A certificate used to sign gossip events.getGossipEndpoint(int index) * A list of service endpoints for gossip.int* A list of service endpoints for gossip.* A list of service endpoints for gossip.getGossipEndpointOrBuilder(int index) * A list of service endpoints for gossip.List<? extends ServiceEndpointOrBuilder> * A list of service endpoints for gossip.com.google.protobuf.BytesValue* A hash of the node gRPC TLS certificate.* A web proxy for gRPC from non-gRPC clients.long* A consensus node identifier in the network state.getServiceEndpoint(int index) * A list of service endpoints for gRPC calls.int* A list of service endpoints for gRPC calls.* A list of service endpoints for gRPC calls.getServiceEndpointOrBuilder(int index) * A list of service endpoints for gRPC calls.List<? extends ServiceEndpointOrBuilder> * A list of service endpoints for gRPC calls.boolean* An account identifier.boolean* An administrative key controlled by the node operator.boolean* A list of registered nodes operated by the same entity as this node.<br/> This value may contain a list of "registered nodes" (as described in HIP-1137) that are operated by the same entity that operates this consensus node.boolean* A boolean indicating that this node has chosen to decline node rewards distributed at the end of staking period.boolean* A short description of the node.boolean* A certificate used to sign gossip events.boolean* A hash of the node gRPC TLS certificate.boolean* A web proxy for gRPC from non-gRPC clients.newBuilder(NodeUpdateTransactionBody prototype) static NodeUpdateTransactionBodyparseDelimitedFrom(InputStream input) static NodeUpdateTransactionBodyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeUpdateTransactionBodyparseFrom(byte[] data) static NodeUpdateTransactionBodyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeUpdateTransactionBodyparseFrom(com.google.protobuf.ByteString data) static NodeUpdateTransactionBodyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeUpdateTransactionBodyparseFrom(com.google.protobuf.CodedInputStream input) static NodeUpdateTransactionBodyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeUpdateTransactionBodyparseFrom(InputStream input) static NodeUpdateTransactionBodyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeUpdateTransactionBodyparseFrom(ByteBuffer data) static NodeUpdateTransactionBodyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NodeUpdateTransactionBody> 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
-
NODE_ID_FIELD_NUMBER
public static final int NODE_ID_FIELD_NUMBER- See Also:
-
ACCOUNT_ID_FIELD_NUMBER
public static final int ACCOUNT_ID_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
GOSSIP_ENDPOINT_FIELD_NUMBER
public static final int GOSSIP_ENDPOINT_FIELD_NUMBER- See Also:
-
SERVICE_ENDPOINT_FIELD_NUMBER
public static final int SERVICE_ENDPOINT_FIELD_NUMBER- See Also:
-
GOSSIP_CA_CERTIFICATE_FIELD_NUMBER
public static final int GOSSIP_CA_CERTIFICATE_FIELD_NUMBER- See Also:
-
GRPC_CERTIFICATE_HASH_FIELD_NUMBER
public static final int GRPC_CERTIFICATE_HASH_FIELD_NUMBER- See Also:
-
ADMIN_KEY_FIELD_NUMBER
public static final int ADMIN_KEY_FIELD_NUMBER- See Also:
-
DECLINE_REWARD_FIELD_NUMBER
public static final int DECLINE_REWARD_FIELD_NUMBER- See Also:
-
GRPC_PROXY_ENDPOINT_FIELD_NUMBER
public static final int GRPC_PROXY_ENDPOINT_FIELD_NUMBER- See Also:
-
ASSOCIATED_REGISTERED_NODE_LIST_FIELD_NUMBER
public static final int ASSOCIATED_REGISTERED_NODE_LIST_FIELD_NUMBER- See Also:
-
-
Method Details
-
getNodeId
public long getNodeId()* A consensus node identifier in the network state. <p> The node identified MUST exist in the network address book.<br/> The node identified MUST NOT be deleted.<br/> This value is REQUIRED.
uint64 node_id = 1;- Specified by:
getNodeIdin interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- The nodeId.
-
hasAccountId
public boolean hasAccountId()* An account identifier. <p> If set, this SHALL replace the node account identifier.<br/> If set, this transaction MUST be signed by the active `key` for _both_ the current node account _and_ the identified new node account.
.proto.AccountID account_id = 2;- Specified by:
hasAccountIdin interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- Whether the accountId field is set.
-
getAccountId
* An account identifier. <p> If set, this SHALL replace the node account identifier.<br/> If set, this transaction MUST be signed by the active `key` for _both_ the current node account _and_ the identified new node account.
.proto.AccountID account_id = 2;- Specified by:
getAccountIdin interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- The accountId.
-
hasDescription
public boolean hasDescription()* A short description of the node. <p> This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes` (default 100) bytes when encoded as UTF-8.<br/> If set, this value SHALL replace the previous value.
.google.protobuf.StringValue description = 3;- Specified by:
hasDescriptionin interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public com.google.protobuf.StringValue getDescription()* A short description of the node. <p> This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes` (default 100) bytes when encoded as UTF-8.<br/> If set, this value SHALL replace the previous value.
.google.protobuf.StringValue description = 3;- Specified by:
getDescriptionin interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- The description.
-
getGossipEndpointList
* A list of service endpoints for gossip. <p> If set, this list MUST meet the following requirements. <hr/> These endpoints SHALL represent the published endpoints to which other consensus nodes may _gossip_ transactions.<br/> These endpoints SHOULD NOT specify both address and DNS name.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `10` entries.<br/> The first two entries in this list SHALL be the endpoints published to all consensus nodes.<br/> All other entries SHALL be reserved for future use. <p> Each network may have additional requirements for these endpoints. A client MUST check network-specific documentation for those details.<br/> <blockquote>Example<blockquote> Hedera Mainnet _requires_ that address be specified, and does not permit DNS name (FQDN) to be specified. </blockquote> <blockquote> Solo, however, _requires_ DNS name (FQDN) but also permits address. </blockquote></blockquote> <p> If set, the new list SHALL replace the existing list.
repeated .proto.ServiceEndpoint gossip_endpoint = 4;- Specified by:
getGossipEndpointListin interfaceNodeUpdateTransactionBodyOrBuilder
-
getGossipEndpointOrBuilderList
* A list of service endpoints for gossip. <p> If set, this list MUST meet the following requirements. <hr/> These endpoints SHALL represent the published endpoints to which other consensus nodes may _gossip_ transactions.<br/> These endpoints SHOULD NOT specify both address and DNS name.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `10` entries.<br/> The first two entries in this list SHALL be the endpoints published to all consensus nodes.<br/> All other entries SHALL be reserved for future use. <p> Each network may have additional requirements for these endpoints. A client MUST check network-specific documentation for those details.<br/> <blockquote>Example<blockquote> Hedera Mainnet _requires_ that address be specified, and does not permit DNS name (FQDN) to be specified. </blockquote> <blockquote> Solo, however, _requires_ DNS name (FQDN) but also permits address. </blockquote></blockquote> <p> If set, the new list SHALL replace the existing list.
repeated .proto.ServiceEndpoint gossip_endpoint = 4; -
getGossipEndpointCount
public int getGossipEndpointCount()* A list of service endpoints for gossip. <p> If set, this list MUST meet the following requirements. <hr/> These endpoints SHALL represent the published endpoints to which other consensus nodes may _gossip_ transactions.<br/> These endpoints SHOULD NOT specify both address and DNS name.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `10` entries.<br/> The first two entries in this list SHALL be the endpoints published to all consensus nodes.<br/> All other entries SHALL be reserved for future use. <p> Each network may have additional requirements for these endpoints. A client MUST check network-specific documentation for those details.<br/> <blockquote>Example<blockquote> Hedera Mainnet _requires_ that address be specified, and does not permit DNS name (FQDN) to be specified. </blockquote> <blockquote> Solo, however, _requires_ DNS name (FQDN) but also permits address. </blockquote></blockquote> <p> If set, the new list SHALL replace the existing list.
repeated .proto.ServiceEndpoint gossip_endpoint = 4;- Specified by:
getGossipEndpointCountin interfaceNodeUpdateTransactionBodyOrBuilder
-
getGossipEndpoint
* A list of service endpoints for gossip. <p> If set, this list MUST meet the following requirements. <hr/> These endpoints SHALL represent the published endpoints to which other consensus nodes may _gossip_ transactions.<br/> These endpoints SHOULD NOT specify both address and DNS name.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `10` entries.<br/> The first two entries in this list SHALL be the endpoints published to all consensus nodes.<br/> All other entries SHALL be reserved for future use. <p> Each network may have additional requirements for these endpoints. A client MUST check network-specific documentation for those details.<br/> <blockquote>Example<blockquote> Hedera Mainnet _requires_ that address be specified, and does not permit DNS name (FQDN) to be specified. </blockquote> <blockquote> Solo, however, _requires_ DNS name (FQDN) but also permits address. </blockquote></blockquote> <p> If set, the new list SHALL replace the existing list.
repeated .proto.ServiceEndpoint gossip_endpoint = 4;- Specified by:
getGossipEndpointin interfaceNodeUpdateTransactionBodyOrBuilder
-
getGossipEndpointOrBuilder
* A list of service endpoints for gossip. <p> If set, this list MUST meet the following requirements. <hr/> These endpoints SHALL represent the published endpoints to which other consensus nodes may _gossip_ transactions.<br/> These endpoints SHOULD NOT specify both address and DNS name.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `10` entries.<br/> The first two entries in this list SHALL be the endpoints published to all consensus nodes.<br/> All other entries SHALL be reserved for future use. <p> Each network may have additional requirements for these endpoints. A client MUST check network-specific documentation for those details.<br/> <blockquote>Example<blockquote> Hedera Mainnet _requires_ that address be specified, and does not permit DNS name (FQDN) to be specified. </blockquote> <blockquote> Solo, however, _requires_ DNS name (FQDN) but also permits address. </blockquote></blockquote> <p> If set, the new list SHALL replace the existing list.
repeated .proto.ServiceEndpoint gossip_endpoint = 4; -
getServiceEndpointList
* A list of service endpoints for gRPC calls. <p> If set, this list MUST meet the following requirements. <hr/> These endpoints SHALL represent the published endpoints to which clients may submit transactions.<br/> These endpoints SHOULD specify address and port.<br/> These endpoints MAY specify a DNS name.<br/> These endpoints SHOULD NOT specify both address and DNS name.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `8` entries. <p> Each network may have additional requirements for these endpoints. A client MUST check network-specific documentation for those details. <p> If set, the new list SHALL replace the existing list.
repeated .proto.ServiceEndpoint service_endpoint = 5;- Specified by:
getServiceEndpointListin interfaceNodeUpdateTransactionBodyOrBuilder
-
getServiceEndpointOrBuilderList
* A list of service endpoints for gRPC calls. <p> If set, this list MUST meet the following requirements. <hr/> These endpoints SHALL represent the published endpoints to which clients may submit transactions.<br/> These endpoints SHOULD specify address and port.<br/> These endpoints MAY specify a DNS name.<br/> These endpoints SHOULD NOT specify both address and DNS name.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `8` entries. <p> Each network may have additional requirements for these endpoints. A client MUST check network-specific documentation for those details. <p> If set, the new list SHALL replace the existing list.
repeated .proto.ServiceEndpoint service_endpoint = 5; -
getServiceEndpointCount
public int getServiceEndpointCount()* A list of service endpoints for gRPC calls. <p> If set, this list MUST meet the following requirements. <hr/> These endpoints SHALL represent the published endpoints to which clients may submit transactions.<br/> These endpoints SHOULD specify address and port.<br/> These endpoints MAY specify a DNS name.<br/> These endpoints SHOULD NOT specify both address and DNS name.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `8` entries. <p> Each network may have additional requirements for these endpoints. A client MUST check network-specific documentation for those details. <p> If set, the new list SHALL replace the existing list.
repeated .proto.ServiceEndpoint service_endpoint = 5;- Specified by:
getServiceEndpointCountin interfaceNodeUpdateTransactionBodyOrBuilder
-
getServiceEndpoint
* A list of service endpoints for gRPC calls. <p> If set, this list MUST meet the following requirements. <hr/> These endpoints SHALL represent the published endpoints to which clients may submit transactions.<br/> These endpoints SHOULD specify address and port.<br/> These endpoints MAY specify a DNS name.<br/> These endpoints SHOULD NOT specify both address and DNS name.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `8` entries. <p> Each network may have additional requirements for these endpoints. A client MUST check network-specific documentation for those details. <p> If set, the new list SHALL replace the existing list.
repeated .proto.ServiceEndpoint service_endpoint = 5;- Specified by:
getServiceEndpointin interfaceNodeUpdateTransactionBodyOrBuilder
-
getServiceEndpointOrBuilder
* A list of service endpoints for gRPC calls. <p> If set, this list MUST meet the following requirements. <hr/> These endpoints SHALL represent the published endpoints to which clients may submit transactions.<br/> These endpoints SHOULD specify address and port.<br/> These endpoints MAY specify a DNS name.<br/> These endpoints SHOULD NOT specify both address and DNS name.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `8` entries. <p> Each network may have additional requirements for these endpoints. A client MUST check network-specific documentation for those details. <p> If set, the new list SHALL replace the existing list.
repeated .proto.ServiceEndpoint service_endpoint = 5; -
hasGossipCaCertificate
public boolean hasGossipCaCertificate()* A certificate used to sign gossip events. <p> This value MUST be a certificate of a type permitted for gossip signatures.<br/> This value MUST be the DER encoding of the certificate presented. <p> If set, the new value SHALL replace the existing bytes value.
.google.protobuf.BytesValue gossip_ca_certificate = 6;- Specified by:
hasGossipCaCertificatein interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- Whether the gossipCaCertificate field is set.
-
getGossipCaCertificate
public com.google.protobuf.BytesValue getGossipCaCertificate()* A certificate used to sign gossip events. <p> This value MUST be a certificate of a type permitted for gossip signatures.<br/> This value MUST be the DER encoding of the certificate presented. <p> If set, the new value SHALL replace the existing bytes value.
.google.protobuf.BytesValue gossip_ca_certificate = 6;- Specified by:
getGossipCaCertificatein interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- The gossipCaCertificate.
-
hasGrpcCertificateHash
public boolean hasGrpcCertificateHash()* A hash of the node gRPC TLS certificate. <p> This value MAY be used to verify the certificate presented by the node during TLS negotiation for gRPC.<br/> This value MUST be a SHA-384 hash.<br/> The TLS certificate to be hashed MUST first be in PEM format and MUST be encoded with UTF-8 NFKD encoding to a stream of bytes provided to the hash algorithm.<br/> <p> If set, the new value SHALL replace the existing hash value.
.google.protobuf.BytesValue grpc_certificate_hash = 7;- Specified by:
hasGrpcCertificateHashin interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- Whether the grpcCertificateHash field is set.
-
getGrpcCertificateHash
public com.google.protobuf.BytesValue getGrpcCertificateHash()* A hash of the node gRPC TLS certificate. <p> This value MAY be used to verify the certificate presented by the node during TLS negotiation for gRPC.<br/> This value MUST be a SHA-384 hash.<br/> The TLS certificate to be hashed MUST first be in PEM format and MUST be encoded with UTF-8 NFKD encoding to a stream of bytes provided to the hash algorithm.<br/> <p> If set, the new value SHALL replace the existing hash value.
.google.protobuf.BytesValue grpc_certificate_hash = 7;- Specified by:
getGrpcCertificateHashin interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- The grpcCertificateHash.
-
hasAdminKey
public boolean hasAdminKey()* An administrative key controlled by the node operator. <p> This field is OPTIONAL.<br/> If set, this key MUST sign this transaction.<br/> If set, this key MUST sign each subsequent transaction to update this node.<br/> If set, this field MUST contain a valid `Key` value.<br/> If set, this field MUST NOT be set to an empty `KeyList`.
.proto.Key admin_key = 8;- Specified by:
hasAdminKeyin interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- Whether the adminKey field is set.
-
getAdminKey
* An administrative key controlled by the node operator. <p> This field is OPTIONAL.<br/> If set, this key MUST sign this transaction.<br/> If set, this key MUST sign each subsequent transaction to update this node.<br/> If set, this field MUST contain a valid `Key` value.<br/> If set, this field MUST NOT be set to an empty `KeyList`.
.proto.Key admin_key = 8;- Specified by:
getAdminKeyin interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- The adminKey.
-
hasDeclineReward
public boolean hasDeclineReward()* A boolean indicating that this node has chosen to decline node rewards distributed at the end of staking period. <p> This node SHALL NOT receive reward if this value is set, and `true`.
.google.protobuf.BoolValue decline_reward = 9;- Specified by:
hasDeclineRewardin interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- Whether the declineReward field is set.
-
getDeclineReward
public com.google.protobuf.BoolValue getDeclineReward()* A boolean indicating that this node has chosen to decline node rewards distributed at the end of staking period. <p> This node SHALL NOT receive reward if this value is set, and `true`.
.google.protobuf.BoolValue decline_reward = 9;- Specified by:
getDeclineRewardin interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- The declineReward.
-
hasGrpcProxyEndpoint
public boolean hasGrpcProxyEndpoint()* A web proxy for gRPC from non-gRPC clients. <p> This endpoint SHALL be a Fully Qualified Domain Name (FQDN) using the HTTPS protocol, and SHALL support gRPC-Web for use by browser-based clients.<br/> This endpoint MUST be signed by a trusted certificate authority.<br/> This endpoint MUST use a valid port and SHALL be reachable over TLS.<br/> This field MAY be omitted if the node does not support gRPC-Web access.<br/> This field MUST be updated if the gRPC-Web endpoint changes.<br/> This field SHALL enable frontend clients to avoid hard-coded proxy endpoints.<br/> This field MAY be set to `ServiceEndpoint.DEFAULT` to remove a previously-valid web proxy.
.proto.ServiceEndpoint grpc_proxy_endpoint = 10;- Specified by:
hasGrpcProxyEndpointin interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- Whether the grpcProxyEndpoint field is set.
-
getGrpcProxyEndpoint
* A web proxy for gRPC from non-gRPC clients. <p> This endpoint SHALL be a Fully Qualified Domain Name (FQDN) using the HTTPS protocol, and SHALL support gRPC-Web for use by browser-based clients.<br/> This endpoint MUST be signed by a trusted certificate authority.<br/> This endpoint MUST use a valid port and SHALL be reachable over TLS.<br/> This field MAY be omitted if the node does not support gRPC-Web access.<br/> This field MUST be updated if the gRPC-Web endpoint changes.<br/> This field SHALL enable frontend clients to avoid hard-coded proxy endpoints.<br/> This field MAY be set to `ServiceEndpoint.DEFAULT` to remove a previously-valid web proxy.
.proto.ServiceEndpoint grpc_proxy_endpoint = 10;- Specified by:
getGrpcProxyEndpointin interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- The grpcProxyEndpoint.
-
hasAssociatedRegisteredNodeList
public boolean hasAssociatedRegisteredNodeList()* A list of registered nodes operated by the same entity as this node.<br/> This value may contain a list of "registered nodes" (as described in HIP-1137) that are operated by the same entity that operates this consensus node. <p> This field is OPTIONAL.<br/> If this field is not set, the current list SHALL NOT change.<br/> If this field is set, but contains an empty list, any existing associated registered nodes SHALL be removed.<br/> This field MUST NOT contain more than twenty(20) entries.<br/> Every entry in this list MUST be a valid `registered_node_id` for a current registered node.
.com.hedera.hapi.node.addressbook.AssociatedRegisteredNodeList associated_registered_node_list = 11;- Specified by:
hasAssociatedRegisteredNodeListin interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- Whether the associatedRegisteredNodeList field is set.
-
getAssociatedRegisteredNodeList
* A list of registered nodes operated by the same entity as this node.<br/> This value may contain a list of "registered nodes" (as described in HIP-1137) that are operated by the same entity that operates this consensus node. <p> This field is OPTIONAL.<br/> If this field is not set, the current list SHALL NOT change.<br/> If this field is set, but contains an empty list, any existing associated registered nodes SHALL be removed.<br/> This field MUST NOT contain more than twenty(20) entries.<br/> Every entry in this list MUST be a valid `registered_node_id` for a current registered node.
.com.hedera.hapi.node.addressbook.AssociatedRegisteredNodeList associated_registered_node_list = 11;- Specified by:
getAssociatedRegisteredNodeListin interfaceNodeUpdateTransactionBodyOrBuilder- Returns:
- The associatedRegisteredNodeList.
-
parseFrom
public static NodeUpdateTransactionBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeUpdateTransactionBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeUpdateTransactionBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeUpdateTransactionBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeUpdateTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeUpdateTransactionBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NodeUpdateTransactionBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static NodeUpdateTransactionBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static NodeUpdateTransactionBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static NodeUpdateTransactionBody 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<NodeUpdateTransactionBody,NodeUpdateTransactionBody.Builder>
-
getDefaultInstance
-
parser
-