com.hedera.hashgraph.sdk.proto.ServiceEndpointOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: basic_types.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface ServiceEndpointOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.ServiceEndpoint)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
**
* The 4-byte IPv4 address of the endpoint encoded in left to right order
* (e.g. 127.0.0.1 has bytes [127, 0, 0, 1])
*
*
* bytes ipAddressV4 = 1;
* @return The ipAddressV4.
*/
com.google.protobuf.ByteString getIpAddressV4();
/**
*
**
* The port of the service endpoint
*
*
* int32 port = 2;
* @return The port.
*/
int getPort();
/**
*
**
* A node domain name.<br/>
* This MUST be the fully qualified domain(DNS) name of the node.<br/>
* This value MUST NOT be more than 253 characters.
* domain_name and ipAddressV4 are mutually exclusive.
* 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;
* @return The domainName.
*/
java.lang.String getDomainName();
/**
*
**
* A node domain name.<br/>
* This MUST be the fully qualified domain(DNS) name of the node.<br/>
* This value MUST NOT be more than 253 characters.
* domain_name and ipAddressV4 are mutually exclusive.
* 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;
* @return The bytes for domainName.
*/
com.google.protobuf.ByteString
getDomainNameBytes();
}