Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class RegisteredNodeUpdateTransactionBody
java.lang.Object
com.google.protobuf.AbstractMessageLite<RegisteredNodeUpdateTransactionBody,RegisteredNodeUpdateTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite<RegisteredNodeUpdateTransactionBody,RegisteredNodeUpdateTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.RegisteredNodeUpdateTransactionBody
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,RegisteredNodeUpdateTransactionBodyOrBuilder
@Generated
public final class RegisteredNodeUpdateTransactionBody
extends com.google.protobuf.GeneratedMessageLite<RegisteredNodeUpdateTransactionBody,RegisteredNodeUpdateTransactionBody.Builder>
implements RegisteredNodeUpdateTransactionBodyOrBuilder
* A transaction body to update an existing registered node in the network address book. This transaction, once complete, SHALL modify the identified registered node state as requested. ### Block Stream Effects None.Protobuf type
com.hedera.hapi.node.addressbook.RegisteredNodeUpdateTransactionBody-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* A transaction body to update an existing registered node in 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 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 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.getServiceEndpointOrBuilder(int index) * A list of service endpoints for client calls.List<? extends RegisteredServiceEndpointOrBuilder> * A list of service endpoints for client calls.boolean* An administrative key controlled by the node operator.boolean* A short description of the node.newBuilder(RegisteredNodeUpdateTransactionBody 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<RegisteredNodeUpdateTransactionBody> 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
-
REGISTERED_NODE_ID_FIELD_NUMBER
public static final int REGISTERED_NODE_ID_FIELD_NUMBER- See Also:
-
ADMIN_KEY_FIELD_NUMBER
public static final int ADMIN_KEY_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
SERVICE_ENDPOINT_FIELD_NUMBER
public static final int SERVICE_ENDPOINT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getRegisteredNodeId
public 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;- Specified by:
getRegisteredNodeIdin interfaceRegisteredNodeUpdateTransactionBodyOrBuilder- Returns:
- The registeredNodeId.
-
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`.<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;- Specified by:
hasAdminKeyin interfaceRegisteredNodeUpdateTransactionBodyOrBuilder- 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`.<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;- Specified by:
getAdminKeyin interfaceRegisteredNodeUpdateTransactionBodyOrBuilder- Returns:
- The adminKey.
-
hasDescription
public 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;- Specified by:
hasDescriptionin interfaceRegisteredNodeUpdateTransactionBodyOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public 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;- Specified by:
getDescriptionin interfaceRegisteredNodeUpdateTransactionBodyOrBuilder- Returns:
- The description.
-
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;- Specified by:
getServiceEndpointListin interfaceRegisteredNodeUpdateTransactionBodyOrBuilder
-
getServiceEndpointOrBuilderList
* 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
public 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;- Specified by:
getServiceEndpointCountin interfaceRegisteredNodeUpdateTransactionBodyOrBuilder
-
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;- Specified by:
getServiceEndpointin interfaceRegisteredNodeUpdateTransactionBodyOrBuilder
-
getServiceEndpointOrBuilder
* 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; -
parseFrom
public static RegisteredNodeUpdateTransactionBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredNodeUpdateTransactionBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredNodeUpdateTransactionBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredNodeUpdateTransactionBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredNodeUpdateTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredNodeUpdateTransactionBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RegisteredNodeUpdateTransactionBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RegisteredNodeUpdateTransactionBody parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RegisteredNodeUpdateTransactionBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RegisteredNodeUpdateTransactionBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RegisteredNodeUpdateTransactionBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static RegisteredNodeUpdateTransactionBody.Builder newBuilder(RegisteredNodeUpdateTransactionBody prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<RegisteredNodeUpdateTransactionBody,RegisteredNodeUpdateTransactionBody.Builder>
-
getDefaultInstance
-
parser
-