Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class RegisteredServiceEndpoint
java.lang.Object
com.google.protobuf.AbstractMessageLite<RegisteredServiceEndpoint,RegisteredServiceEndpoint.Builder>
com.google.protobuf.GeneratedMessageLite<RegisteredServiceEndpoint,RegisteredServiceEndpoint.Builder>
com.hedera.hashgraph.sdk.proto.RegisteredServiceEndpoint
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,RegisteredServiceEndpointOrBuilder
@Generated
public final class RegisteredServiceEndpoint
extends com.google.protobuf.GeneratedMessageLite<RegisteredServiceEndpoint,RegisteredServiceEndpoint.Builder>
implements RegisteredServiceEndpointOrBuilder
* A registered network node endpoint.<br/> Each registered network node in the global address book publishes one or more endpoints which enable the nodes to communicate both with other nodes and with clients to receive requests. This message supports a TCP/UDP port and IP address (V4 or V6), or MAY include a FQDN _instead of_ an IP address.<br/>Protobuf type
com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final class* A message indicating this endpoint is a Block Node endpoint.<br/> Block Node endpoints offer one of several block node APIs, so this endpoint entry also declares which well-known Block Node API is supported by this endpoint, or "OTHER" for less common APIs.static interfacestatic final class* A registered network node endpoint.<br/> Each registered network node in the global address book publishes one or more endpoints which enable the nodes to communicate both with other nodes and with clients to receive requests.static enumstatic final class* A message indicating this endpoint is a General Service endpoint.static interfacestatic final class* A message indicating this endpoint is a Mirror Node endpoint.static interfacestatic final class* A message indicating this endpoint is a RPC Relay endpoint.static interfaceNested 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 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 Block Node.<br/> A Block Node stores the block chain, provides content proof services, and delivers the block stream to other clients.static RegisteredServiceEndpoint* A node domain name.com.google.protobuf.ByteString* A node domain name.* A general service.<br/> A general service endpoint represents any network accessible service that is provided by a registered node but that is not a service currently defined as part of the Hiero Ledger system.com.google.protobuf.ByteString* A 32-bit IPv4 address or 128-bit IPv6 address.<br/> This is the address of the endpoint, encoded in pure "big-endian" (i.e.* A Mirror Node.<br/> A Mirror Node is an advanced indexing and query service that provides fast and flexible access to query the block chain and transaction history.intgetPort()* A network port to use.boolean* A flag indicating if this endpoint requires TLS.* A RPC Relay.<br/> A RPC Relay is a proxy and translator between EVM tooling and a Hiero consensus network.boolean* A Block Node.<br/> A Block Node stores the block chain, provides content proof services, and delivers the block stream to other clients.boolean* A node domain name.boolean* A general service.<br/> A general service endpoint represents any network accessible service that is provided by a registered node but that is not a service currently defined as part of the Hiero Ledger system.boolean* A 32-bit IPv4 address or 128-bit IPv6 address.<br/> This is the address of the endpoint, encoded in pure "big-endian" (i.e.boolean* A Mirror Node.<br/> A Mirror Node is an advanced indexing and query service that provides fast and flexible access to query the block chain and transaction history.boolean* A RPC Relay.<br/> A RPC Relay is a proxy and translator between EVM tooling and a Hiero consensus network.newBuilder(RegisteredServiceEndpoint prototype) static RegisteredServiceEndpointparseDelimitedFrom(InputStream input) static RegisteredServiceEndpointparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisteredServiceEndpointparseFrom(byte[] data) static RegisteredServiceEndpointparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisteredServiceEndpointparseFrom(com.google.protobuf.ByteString data) static RegisteredServiceEndpointparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisteredServiceEndpointparseFrom(com.google.protobuf.CodedInputStream input) static RegisteredServiceEndpointparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisteredServiceEndpointparseFrom(InputStream input) static RegisteredServiceEndpointparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisteredServiceEndpointparseFrom(ByteBuffer data) static RegisteredServiceEndpointparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RegisteredServiceEndpoint> 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
-
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER- See Also:
-
DOMAIN_NAME_FIELD_NUMBER
public static final int DOMAIN_NAME_FIELD_NUMBER- See Also:
-
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER- See Also:
-
REQUIRES_TLS_FIELD_NUMBER
public static final int REQUIRES_TLS_FIELD_NUMBER- See Also:
-
BLOCK_NODE_FIELD_NUMBER
public static final int BLOCK_NODE_FIELD_NUMBER- See Also:
-
MIRROR_NODE_FIELD_NUMBER
public static final int MIRROR_NODE_FIELD_NUMBER- See Also:
-
RPC_RELAY_FIELD_NUMBER
public static final int RPC_RELAY_FIELD_NUMBER- See Also:
-
GENERAL_SERVICE_FIELD_NUMBER
public static final int GENERAL_SERVICE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getAddressCase
- Specified by:
getAddressCasein interfaceRegisteredServiceEndpointOrBuilder
-
getEndpointTypeCase
- Specified by:
getEndpointTypeCasein interfaceRegisteredServiceEndpointOrBuilder
-
hasIpAddress
public boolean hasIpAddress()* A 32-bit IPv4 address or 128-bit IPv6 address.<br/> This is the address of the endpoint, encoded in pure "big-endian" (i.e. left to right) order (e.g. IPv4 address `127.0.0.1` has hex bytes in the order `7F`, `00`, `00`, `01`.<br/> IPv6 address `::1` has hex bytes `00`, `00`, `00`, `00`, `00`, `00`, `00`, `00`, `00`, `00`, `00`, `00`, `00`, `00`, `00`, `01`).
bytes ip_address = 1;- Specified by:
hasIpAddressin interfaceRegisteredServiceEndpointOrBuilder- Returns:
- Whether the ipAddress field is set.
-
getIpAddress
public com.google.protobuf.ByteString getIpAddress()* A 32-bit IPv4 address or 128-bit IPv6 address.<br/> This is the address of the endpoint, encoded in pure "big-endian" (i.e. left to right) order (e.g. IPv4 address `127.0.0.1` has hex bytes in the order `7F`, `00`, `00`, `01`.<br/> IPv6 address `::1` has hex bytes `00`, `00`, `00`, `00`, `00`, `00`, `00`, `00`, `00`, `00`, `00`, `00`, `00`, `00`, `00`, `01`).
bytes ip_address = 1;- Specified by:
getIpAddressin interfaceRegisteredServiceEndpointOrBuilder- Returns:
- The ipAddress.
-
hasDomainName
public boolean hasDomainName()* A node domain name. <p> This MUST be the fully qualified domain name of the node.<br/> This value MUST NOT exceed 250 ASCII characters.<br/> This value MUST meet all other DNS name requirements.
string domain_name = 2;- Specified by:
hasDomainNamein interfaceRegisteredServiceEndpointOrBuilder- Returns:
- Whether the domainName field is set.
-
getDomainName
* A node domain name. <p> This MUST be the fully qualified domain name of the node.<br/> This value MUST NOT exceed 250 ASCII characters.<br/> This value MUST meet all other DNS name requirements.
string domain_name = 2;- Specified by:
getDomainNamein interfaceRegisteredServiceEndpointOrBuilder- Returns:
- The domainName.
-
getDomainNameBytes
public com.google.protobuf.ByteString getDomainNameBytes()* A node domain name. <p> This MUST be the fully qualified domain name of the node.<br/> This value MUST NOT exceed 250 ASCII characters.<br/> This value MUST meet all other DNS name requirements.
string domain_name = 2;- Specified by:
getDomainNameBytesin interfaceRegisteredServiceEndpointOrBuilder- Returns:
- The bytes for domainName.
-
getPort
public int getPort()* A network port to use. <p> This value MUST be between 0 and 65535, inclusive.<br/> This value is REQUIRED.
uint32 port = 3;- Specified by:
getPortin interfaceRegisteredServiceEndpointOrBuilder- Returns:
- The port.
-
getRequiresTls
public boolean getRequiresTls()* A flag indicating if this endpoint requires TLS. <p> If this value is set true, then connections to this endpoint MUST enable TLS. <p> TLS endpoints MAY use self-signed certificates for this purpose, but use of self-signed certificates SHOULD be limited to testing and development environments to ensure production environments meet all expected characteristics for transport layer security.
bool requires_tls = 4;- Specified by:
getRequiresTlsin interfaceRegisteredServiceEndpointOrBuilder- Returns:
- The requiresTls.
-
hasBlockNode
public boolean hasBlockNode()* A Block Node.<br/> A Block Node stores the block chain, provides content proof services, and delivers the block stream to other clients.
.com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint.BlockNodeEndpoint block_node = 5;- Specified by:
hasBlockNodein interfaceRegisteredServiceEndpointOrBuilder- Returns:
- Whether the blockNode field is set.
-
getBlockNode
* A Block Node.<br/> A Block Node stores the block chain, provides content proof services, and delivers the block stream to other clients.
.com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint.BlockNodeEndpoint block_node = 5;- Specified by:
getBlockNodein interfaceRegisteredServiceEndpointOrBuilder- Returns:
- The blockNode.
-
hasMirrorNode
public boolean hasMirrorNode()* A Mirror Node.<br/> A Mirror Node is an advanced indexing and query service that provides fast and flexible access to query the block chain and transaction history. A Mirror Node typically stores all recent blockchain data, and some store the entire history of the network.
.com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint.MirrorNodeEndpoint mirror_node = 6;- Specified by:
hasMirrorNodein interfaceRegisteredServiceEndpointOrBuilder- Returns:
- Whether the mirrorNode field is set.
-
getMirrorNode
* A Mirror Node.<br/> A Mirror Node is an advanced indexing and query service that provides fast and flexible access to query the block chain and transaction history. A Mirror Node typically stores all recent blockchain data, and some store the entire history of the network.
.com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint.MirrorNodeEndpoint mirror_node = 6;- Specified by:
getMirrorNodein interfaceRegisteredServiceEndpointOrBuilder- Returns:
- The mirrorNode.
-
hasRpcRelay
public boolean hasRpcRelay()* A RPC Relay.<br/> A RPC Relay is a proxy and translator between EVM tooling and a Hiero consensus network.
.com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint.RpcRelayEndpoint rpc_relay = 7;- Specified by:
hasRpcRelayin interfaceRegisteredServiceEndpointOrBuilder- Returns:
- Whether the rpcRelay field is set.
-
getRpcRelay
* A RPC Relay.<br/> A RPC Relay is a proxy and translator between EVM tooling and a Hiero consensus network.
.com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint.RpcRelayEndpoint rpc_relay = 7;- Specified by:
getRpcRelayin interfaceRegisteredServiceEndpointOrBuilder- Returns:
- The rpcRelay.
-
hasGeneralService
public boolean hasGeneralService()* A general service.<br/> A general service endpoint represents any network accessible service that is provided by a registered node but that is not a service currently defined as part of the Hiero Ledger system.
.com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint.GeneralServiceEndpoint general_service = 8;- Specified by:
hasGeneralServicein interfaceRegisteredServiceEndpointOrBuilder- Returns:
- Whether the generalService field is set.
-
getGeneralService
* A general service.<br/> A general service endpoint represents any network accessible service that is provided by a registered node but that is not a service currently defined as part of the Hiero Ledger system.
.com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint.GeneralServiceEndpoint general_service = 8;- Specified by:
getGeneralServicein interfaceRegisteredServiceEndpointOrBuilder- Returns:
- The generalService.
-
parseFrom
public static RegisteredServiceEndpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredServiceEndpoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredServiceEndpoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredServiceEndpoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredServiceEndpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisteredServiceEndpoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RegisteredServiceEndpoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RegisteredServiceEndpoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RegisteredServiceEndpoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RegisteredServiceEndpoint 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<RegisteredServiceEndpoint,RegisteredServiceEndpoint.Builder>
-
getDefaultInstance
-
parser
-