Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface RegisteredNodeUpdateTransactionBodyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
RegisteredNodeUpdateTransactionBody,RegisteredNodeUpdateTransactionBody.Builder
@Generated
public interface RegisteredNodeUpdateTransactionBodyOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* An administrative key controlled by the node operator.com.google.protobuf.StringValue* A short description of the node.long* A registered node identifier in the network state.getServiceEndpoint(int index) * A list of service endpoints for client calls.int* A list of service endpoints for client calls.* A list of service endpoints for client calls.boolean* An administrative key controlled by the node operator.boolean* A short description of the node.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getRegisteredNodeId
long getRegisteredNodeId()* A registered node identifier in the network state. <p> The node identified MUST exist in the registered address book.<br/> The node identified MUST NOT be deleted.<br/> This value is REQUIRED. <p> A given value for `registered_node_id` SHALL be unique within a given shard or realm.<br/> A given value for `registered_node_id` SHALL NOT be reused, even if the corresponding entry is deleted.
uint64 registered_node_id = 1;- Returns:
- The registeredNodeId.
-
hasAdminKey
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`.<br/> It is RECOMMENDED that this key be composed of one or more unique public keys that are not associated with any network account.<br/> This key MAY be a complex key containing `KeyList` or `ThresholdKey` elements, but SHOULD NOT be a contract ID key.
.proto.Key admin_key = 2;- Returns:
- Whether the adminKey field is set.
-
getAdminKey
Key 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`.<br/> It is RECOMMENDED that this key be composed of one or more unique public keys that are not associated with any network account.<br/> This key MAY be a complex key containing `KeyList` or `ThresholdKey` elements, but SHOULD NOT be a contract ID key.
.proto.Key admin_key = 2;- Returns:
- The adminKey.
-
hasDescription
boolean hasDescription()* A short description of the node. <p> This field is OPTIONAL.<br/> This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/> If set, this value SHALL replace the previous value.
.google.protobuf.StringValue description = 3;- Returns:
- Whether the description field is set.
-
getDescription
com.google.protobuf.StringValue getDescription()* A short description of the node. <p> This field is OPTIONAL.<br/> This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/> If set, this value SHALL replace the previous value.
.google.protobuf.StringValue description = 3;- Returns:
- The description.
-
getServiceEndpointList
List<RegisteredServiceEndpoint> getServiceEndpointList()* A list of service endpoints for client calls. <p> This field is OPTIONAL.<br/> These endpoints SHALL represent the published endpoints to which clients may submit requests.<br/> Endpoints in this list MAY supply either IP address or FQDN, but MUST NOT supply both values for the same endpoint.<br/> One Registered Node MAY expose endpoints for multiple service types.<br/> If set, this list MUST NOT be empty.<br/> If set, this list MUST NOT contain more than `50` entries.<br/> If set, this list SHALL _replace_ the previous list.
repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint service_endpoint = 4; -
getServiceEndpoint
* A list of service endpoints for client calls. <p> This field is OPTIONAL.<br/> These endpoints SHALL represent the published endpoints to which clients may submit requests.<br/> Endpoints in this list MAY supply either IP address or FQDN, but MUST NOT supply both values for the same endpoint.<br/> One Registered Node MAY expose endpoints for multiple service types.<br/> If set, this list MUST NOT be empty.<br/> If set, this list MUST NOT contain more than `50` entries.<br/> If set, this list SHALL _replace_ the previous list.
repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint service_endpoint = 4; -
getServiceEndpointCount
int getServiceEndpointCount()* A list of service endpoints for client calls. <p> This field is OPTIONAL.<br/> These endpoints SHALL represent the published endpoints to which clients may submit requests.<br/> Endpoints in this list MAY supply either IP address or FQDN, but MUST NOT supply both values for the same endpoint.<br/> One Registered Node MAY expose endpoints for multiple service types.<br/> If set, this list MUST NOT be empty.<br/> If set, this list MUST NOT contain more than `50` entries.<br/> If set, this list SHALL _replace_ the previous list.
repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint service_endpoint = 4;
-