Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class NodeCreateTransactionBody
java.lang.Object
com.google.protobuf.AbstractMessageLite<NodeCreateTransactionBody,NodeCreateTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite<NodeCreateTransactionBody,NodeCreateTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.NodeCreateTransactionBody
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,NodeCreateTransactionBodyOrBuilder
@Generated
public final class NodeCreateTransactionBody
extends com.google.protobuf.GeneratedMessageLite<NodeCreateTransactionBody,NodeCreateTransactionBody.Builder>
implements NodeCreateTransactionBodyOrBuilder
* A transaction body to add a new consensus node to the network address book. This transaction body SHALL be considered a "privileged transaction". This message supports a transaction to create a new node in the network address book. The transaction, once complete, enables a new consensus node to join the network, and requires governing council authorization. - A `NodeCreateTransactionBody` MUST be signed by the `Key` assigned to the `admin_key` field and one of those keys: treasure account (2) key, systemAdmin(50) key, or addressBookAdmin(55) key. - The newly created node information SHALL be added to the network address book information in the network state. - The new entry SHALL be created in "state" but SHALL NOT participate in network consensus and SHALL NOT be present in network "configuration" until the next "upgrade" transaction (as noted below). - All new address book entries SHALL be added to the active network configuration during the next `freeze` transaction with the field `freeze_type` set to `PREPARE_UPGRADE`. ### Block Stream Effects Upon completion the newly assigned `node_id` SHALL be recorded in the transaction receipt.<br/> This value SHALL be the next available node identifier.<br/> Node identifiers SHALL NOT be reused.Protobuf type
com.hedera.hapi.node.addressbook.NodeCreateTransactionBody-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* A transaction body to add a new consensus node to the network address book.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 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) * A Node account identifier.* An administrative key controlled by the node operator.longgetAssociatedRegisteredNode(int index) * 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.int* 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.* 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 flag indicating whether the node operator declines to receive node rewards.static NodeCreateTransactionBody* A short description of the node.com.google.protobuf.ByteString* A short description of the node.com.google.protobuf.ByteString* 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.ByteString* A hash of the node gRPC TLS certificate.* A web proxy for gRPC from non-gRPC clients.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* A Node account identifier.boolean* An administrative key controlled by the node operator.boolean* A web proxy for gRPC from non-gRPC clients.newBuilder(NodeCreateTransactionBody prototype) static NodeCreateTransactionBodyparseDelimitedFrom(InputStream input) static NodeCreateTransactionBodyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeCreateTransactionBodyparseFrom(byte[] data) static NodeCreateTransactionBodyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeCreateTransactionBodyparseFrom(com.google.protobuf.ByteString data) static NodeCreateTransactionBodyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeCreateTransactionBodyparseFrom(com.google.protobuf.CodedInputStream input) static NodeCreateTransactionBodyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeCreateTransactionBodyparseFrom(InputStream input) static NodeCreateTransactionBodyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeCreateTransactionBodyparseFrom(ByteBuffer data) static NodeCreateTransactionBodyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NodeCreateTransactionBody> 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
-
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_FIELD_NUMBER
public static final int ASSOCIATED_REGISTERED_NODE_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasAccountId
public boolean hasAccountId()* A Node account identifier. <p> This account identifier MUST be in the "account number" form.<br/> This account identifier MUST NOT use the alias field.<br/> If the identified account does not exist, this transaction SHALL fail.<br/> Multiple nodes MAY share the same node account.<br/> This field is REQUIRED.
.proto.AccountID account_id = 1;- Specified by:
hasAccountIdin interfaceNodeCreateTransactionBodyOrBuilder- Returns:
- Whether the accountId field is set.
-
getAccountId
* A Node account identifier. <p> This account identifier MUST be in the "account number" form.<br/> This account identifier MUST NOT use the alias field.<br/> If the identified account does not exist, this transaction SHALL fail.<br/> Multiple nodes MAY share the same node account.<br/> This field is REQUIRED.
.proto.AccountID account_id = 1;- Specified by:
getAccountIdin interfaceNodeCreateTransactionBodyOrBuilder- Returns:
- The accountId.
-
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/> This field is OPTIONAL.
string description = 2;- Specified by:
getDescriptionin interfaceNodeCreateTransactionBodyOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()* 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/> This field is OPTIONAL.
string description = 2;- Specified by:
getDescriptionBytesin interfaceNodeCreateTransactionBodyOrBuilder- Returns:
- The bytes for description.
-
getGossipEndpointList
* A list of service endpoints for gossip. <p> These endpoints SHALL represent the published endpoints to which other consensus nodes may _gossip_ transactions.<br/> These endpoints MUST specify a port.<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/> If the network configuration value `gossipFqdnRestricted` is set, then all endpoints in this list MUST supply only IP address.<br/> If the network configuration value `gossipFqdnRestricted` is _not_ set, then endpoints in this list MAY supply either IP address or FQDN, but MUST NOT supply both values for the same endpoint.
repeated .proto.ServiceEndpoint gossip_endpoint = 3;- Specified by:
getGossipEndpointListin interfaceNodeCreateTransactionBodyOrBuilder
-
getGossipEndpointOrBuilderList
* A list of service endpoints for gossip. <p> These endpoints SHALL represent the published endpoints to which other consensus nodes may _gossip_ transactions.<br/> These endpoints MUST specify a port.<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/> If the network configuration value `gossipFqdnRestricted` is set, then all endpoints in this list MUST supply only IP address.<br/> If the network configuration value `gossipFqdnRestricted` is _not_ set, then endpoints in this list MAY supply either IP address or FQDN, but MUST NOT supply both values for the same endpoint.
repeated .proto.ServiceEndpoint gossip_endpoint = 3; -
getGossipEndpointCount
public int getGossipEndpointCount()* A list of service endpoints for gossip. <p> These endpoints SHALL represent the published endpoints to which other consensus nodes may _gossip_ transactions.<br/> These endpoints MUST specify a port.<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/> If the network configuration value `gossipFqdnRestricted` is set, then all endpoints in this list MUST supply only IP address.<br/> If the network configuration value `gossipFqdnRestricted` is _not_ set, then endpoints in this list MAY supply either IP address or FQDN, but MUST NOT supply both values for the same endpoint.
repeated .proto.ServiceEndpoint gossip_endpoint = 3;- Specified by:
getGossipEndpointCountin interfaceNodeCreateTransactionBodyOrBuilder
-
getGossipEndpoint
* A list of service endpoints for gossip. <p> These endpoints SHALL represent the published endpoints to which other consensus nodes may _gossip_ transactions.<br/> These endpoints MUST specify a port.<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/> If the network configuration value `gossipFqdnRestricted` is set, then all endpoints in this list MUST supply only IP address.<br/> If the network configuration value `gossipFqdnRestricted` is _not_ set, then endpoints in this list MAY supply either IP address or FQDN, but MUST NOT supply both values for the same endpoint.
repeated .proto.ServiceEndpoint gossip_endpoint = 3;- Specified by:
getGossipEndpointin interfaceNodeCreateTransactionBodyOrBuilder
-
getGossipEndpointOrBuilder
* A list of service endpoints for gossip. <p> These endpoints SHALL represent the published endpoints to which other consensus nodes may _gossip_ transactions.<br/> These endpoints MUST specify a port.<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/> If the network configuration value `gossipFqdnRestricted` is set, then all endpoints in this list MUST supply only IP address.<br/> If the network configuration value `gossipFqdnRestricted` is _not_ set, then endpoints in this list MAY supply either IP address or FQDN, but MUST NOT supply both values for the same endpoint.
repeated .proto.ServiceEndpoint gossip_endpoint = 3; -
getServiceEndpointList
* A list of service endpoints for gRPC calls. <p> These endpoints SHALL represent the published gRPC endpoints to which clients may submit transactions.<br/> These endpoints MUST specify a port.<br/> Endpoints in this list MAY supply either IP address or FQDN, but MUST NOT supply both values for the same endpoint.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `8` entries.
repeated .proto.ServiceEndpoint service_endpoint = 4;- Specified by:
getServiceEndpointListin interfaceNodeCreateTransactionBodyOrBuilder
-
getServiceEndpointOrBuilderList
* A list of service endpoints for gRPC calls. <p> These endpoints SHALL represent the published gRPC endpoints to which clients may submit transactions.<br/> These endpoints MUST specify a port.<br/> Endpoints in this list MAY supply either IP address or FQDN, but MUST NOT supply both values for the same endpoint.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `8` entries.
repeated .proto.ServiceEndpoint service_endpoint = 4; -
getServiceEndpointCount
public int getServiceEndpointCount()* A list of service endpoints for gRPC calls. <p> These endpoints SHALL represent the published gRPC endpoints to which clients may submit transactions.<br/> These endpoints MUST specify a port.<br/> Endpoints in this list MAY supply either IP address or FQDN, but MUST NOT supply both values for the same endpoint.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `8` entries.
repeated .proto.ServiceEndpoint service_endpoint = 4;- Specified by:
getServiceEndpointCountin interfaceNodeCreateTransactionBodyOrBuilder
-
getServiceEndpoint
* A list of service endpoints for gRPC calls. <p> These endpoints SHALL represent the published gRPC endpoints to which clients may submit transactions.<br/> These endpoints MUST specify a port.<br/> Endpoints in this list MAY supply either IP address or FQDN, but MUST NOT supply both values for the same endpoint.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `8` entries.
repeated .proto.ServiceEndpoint service_endpoint = 4;- Specified by:
getServiceEndpointin interfaceNodeCreateTransactionBodyOrBuilder
-
getServiceEndpointOrBuilder
* A list of service endpoints for gRPC calls. <p> These endpoints SHALL represent the published gRPC endpoints to which clients may submit transactions.<br/> These endpoints MUST specify a port.<br/> Endpoints in this list MAY supply either IP address or FQDN, but MUST NOT supply both values for the same endpoint.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `8` entries.
repeated .proto.ServiceEndpoint service_endpoint = 4; -
getGossipCaCertificate
public com.google.protobuf.ByteString 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.<br/> This field is REQUIRED and MUST NOT be empty.
bytes gossip_ca_certificate = 5;- Specified by:
getGossipCaCertificatein interfaceNodeCreateTransactionBodyOrBuilder- Returns:
- The gossipCaCertificate.
-
getGrpcCertificateHash
public com.google.protobuf.ByteString 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/> This field is OPTIONAL.
bytes grpc_certificate_hash = 6;- Specified by:
getGrpcCertificateHashin interfaceNodeCreateTransactionBodyOrBuilder- Returns:
- The grpcCertificateHash.
-
hasAdminKey
public boolean hasAdminKey()* An administrative key controlled by the node operator. <p> This key MUST sign this transaction.<br/> This key MUST sign each transaction to update this node.<br/> This field MUST contain a valid `Key` value.<br/> This field is REQUIRED and MUST NOT be set to an empty `KeyList`.
.proto.Key admin_key = 7;- Specified by:
hasAdminKeyin interfaceNodeCreateTransactionBodyOrBuilder- Returns:
- Whether the adminKey field is set.
-
getAdminKey
* An administrative key controlled by the node operator. <p> This key MUST sign this transaction.<br/> This key MUST sign each transaction to update this node.<br/> This field MUST contain a valid `Key` value.<br/> This field is REQUIRED and MUST NOT be set to an empty `KeyList`.
.proto.Key admin_key = 7;- Specified by:
getAdminKeyin interfaceNodeCreateTransactionBodyOrBuilder- Returns:
- The adminKey.
-
getDeclineReward
public boolean getDeclineReward()* A boolean flag indicating whether the node operator declines to receive node rewards. <p> If this flag is set to `true`, the node operator declines to receive node rewards.<br/>
bool decline_reward = 8;- Specified by:
getDeclineRewardin interfaceNodeCreateTransactionBodyOrBuilder- 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.
.proto.ServiceEndpoint grpc_proxy_endpoint = 9;- Specified by:
hasGrpcProxyEndpointin interfaceNodeCreateTransactionBodyOrBuilder- 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.
.proto.ServiceEndpoint grpc_proxy_endpoint = 9;- Specified by:
getGrpcProxyEndpointin interfaceNodeCreateTransactionBodyOrBuilder- Returns:
- The grpcProxyEndpoint.
-
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 and MAY be empty.<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.
repeated uint64 associated_registered_node = 10;- Specified by:
getAssociatedRegisteredNodeListin interfaceNodeCreateTransactionBodyOrBuilder- Returns:
- A list containing the associatedRegisteredNode.
-
getAssociatedRegisteredNodeCount
public int getAssociatedRegisteredNodeCount()* 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 and MAY be empty.<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.
repeated uint64 associated_registered_node = 10;- Specified by:
getAssociatedRegisteredNodeCountin interfaceNodeCreateTransactionBodyOrBuilder- Returns:
- The count of associatedRegisteredNode.
-
getAssociatedRegisteredNode
public long getAssociatedRegisteredNode(int index) * 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 and MAY be empty.<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.
repeated uint64 associated_registered_node = 10;- Specified by:
getAssociatedRegisteredNodein interfaceNodeCreateTransactionBodyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The associatedRegisteredNode at the given index.
-
parseFrom
public static NodeCreateTransactionBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeCreateTransactionBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeCreateTransactionBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeCreateTransactionBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeCreateTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeCreateTransactionBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NodeCreateTransactionBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static NodeCreateTransactionBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static NodeCreateTransactionBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static NodeCreateTransactionBody 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<NodeCreateTransactionBody,NodeCreateTransactionBody.Builder>
-
getDefaultInstance
-
parser
-