Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface ServiceEndpointOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
ServiceEndpoint,ServiceEndpoint.Builder
@Generated
public interface ServiceEndpointOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* A node domain name.com.google.protobuf.ByteString* A node domain name.com.google.protobuf.ByteString* A 32-bit IPv4 address.<br/> This is the address of the endpoint, encoded in pure "big-endian" (i.e.intgetPort()* A TCP port to use.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getIpAddressV4
com.google.protobuf.ByteString getIpAddressV4()* A 32-bit IPv4 address.<br/> This is the address of the endpoint, encoded in pure "big-endian" (i.e. left to right) order (e.g. `127.0.0.1` has hex bytes in the order `7F`, `00`, `00`, `01`).
bytes ipAddressV4 = 1;- Returns:
- The ipAddressV4.
-
getPort
int getPort()* A TCP port to use. <p> This value MUST be between 0 and 65535, inclusive.
int32 port = 2;- Returns:
- The port.
-
getDomainName
String getDomainName()* A node domain name. <p> This MUST be the fully qualified domain name of the node.<br/> This value MUST NOT exceed 253 characters.<br/> When the `domain_name` field is set, the `ipAddressV4` field MUST NOT be set.<br/> When the `ipAddressV4` field is set, the `domain_name` field MUST NOT be set.
string domain_name = 3;- Returns:
- The domainName.
-
getDomainNameBytes
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 253 characters.<br/> When the `domain_name` field is set, the `ipAddressV4` field MUST NOT be set.<br/> When the `ipAddressV4` field is set, the `domain_name` field MUST NOT be set.
string domain_name = 3;- Returns:
- The bytes for domainName.
-