Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class RegisteredNodeCreateTransactionBody
java.lang.Object
com.google.protobuf.AbstractMessageLite<RegisteredNodeCreateTransactionBody,RegisteredNodeCreateTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite<RegisteredNodeCreateTransactionBody,RegisteredNodeCreateTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.RegisteredNodeCreateTransactionBody
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,RegisteredNodeCreateTransactionBodyOrBuilder
@Generated
public final class RegisteredNodeCreateTransactionBody
extends com.google.protobuf.GeneratedMessageLite<RegisteredNodeCreateTransactionBody,RegisteredNodeCreateTransactionBody.Builder>
implements RegisteredNodeCreateTransactionBodyOrBuilder
* A transaction body to create a new registered node in the network address book. This transaction, once complete, SHALL add a new registered node to the network state. The new registered node SHALL be visible and discoverable upon completion of this transaction. ### Block Stream Effects None.Protobuf type
com.hedera.hapi.node.addressbook.RegisteredNodeCreateTransactionBody-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* A transaction body to create a new 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 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.* A short description of the node.com.google.protobuf.ByteString* A short description of the node.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.newBuilder(RegisteredNodeCreateTransactionBody 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<RegisteredNodeCreateTransactionBody> 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
-
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
-
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`.<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 = 1;- Specified by:
hasAdminKeyin interfaceRegisteredNodeCreateTransactionBodyOrBuilder- 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`.<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 = 1;- Specified by:
getAdminKeyin interfaceRegisteredNodeCreateTransactionBodyOrBuilder- Returns:
- The adminKey.
-
getDescription
* A short description of the node. <p> This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/> This field is OPTIONAL.
string description = 2;- Specified by:
getDescriptionin interfaceRegisteredNodeCreateTransactionBodyOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()* A short description of the node. <p> This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/> This field is OPTIONAL.
string description = 2;- Specified by:
getDescriptionBytesin interfaceRegisteredNodeCreateTransactionBodyOrBuilder- Returns:
- The bytes for description.
-
getServiceEndpointList
* A list of service endpoints for client calls. <p> 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/> Multiple endpoints in this list MAY resolve to the same interface.<br/> One Registered Node MAY expose endpoints for multiple service types.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `50` entries.
repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint service_endpoint = 3;- Specified by:
getServiceEndpointListin interfaceRegisteredNodeCreateTransactionBodyOrBuilder
-
getServiceEndpointOrBuilderList
* A list of service endpoints for client calls. <p> 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/> Multiple endpoints in this list MAY resolve to the same interface.<br/> One Registered Node MAY expose endpoints for multiple service types.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `50` entries.
repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint service_endpoint = 3; -
getServiceEndpointCount
public int getServiceEndpointCount()* A list of service endpoints for client calls. <p> 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/> Multiple endpoints in this list MAY resolve to the same interface.<br/> One Registered Node MAY expose endpoints for multiple service types.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `50` entries.
repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint service_endpoint = 3;- Specified by:
getServiceEndpointCountin interfaceRegisteredNodeCreateTransactionBodyOrBuilder
-
getServiceEndpoint
* A list of service endpoints for client calls. <p> 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/> Multiple endpoints in this list MAY resolve to the same interface.<br/> One Registered Node MAY expose endpoints for multiple service types.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `50` entries.
repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint service_endpoint = 3;- Specified by:
getServiceEndpointin interfaceRegisteredNodeCreateTransactionBodyOrBuilder
-
getServiceEndpointOrBuilder
* A list of service endpoints for client calls. <p> 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/> Multiple endpoints in this list MAY resolve to the same interface.<br/> One Registered Node MAY expose endpoints for multiple service types.<br/> This list MUST NOT be empty.<br/> This list MUST NOT contain more than `50` entries.
repeated .com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint service_endpoint = 3; -
parseFrom
public static RegisteredNodeCreateTransactionBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredNodeCreateTransactionBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredNodeCreateTransactionBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredNodeCreateTransactionBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredNodeCreateTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredNodeCreateTransactionBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RegisteredNodeCreateTransactionBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RegisteredNodeCreateTransactionBody parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RegisteredNodeCreateTransactionBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RegisteredNodeCreateTransactionBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RegisteredNodeCreateTransactionBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static RegisteredNodeCreateTransactionBody.Builder newBuilder(RegisteredNodeCreateTransactionBody prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<RegisteredNodeCreateTransactionBody,RegisteredNodeCreateTransactionBody.Builder>
-
getDefaultInstance
-
parser
-