Package io.envoyproxy.envoy.data.dns.v3
Interface DnsTable.DnsServiceTargetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DnsTable.DnsServiceTarget,DnsTable.DnsServiceTarget.Builder
- Enclosing class:
- DnsTable
public static interface DnsTable.DnsServiceTargetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClusterName()Use a cluster name as the endpoint for a service.com.google.protobuf.ByteStringgetClusterNameBytes()Use a cluster name as the endpoint for a service.DnsTable.DnsServiceTarget.EndpointTypeCasegetEndpointTypeCase()StringgetHostName()Use a resolvable hostname as the endpoint for a service.com.google.protobuf.ByteStringgetHostNameBytes()Use a resolvable hostname as the endpoint for a service.intgetPort()The port to which the service is bound.intgetPriority()The priority of the service record targetintgetWeight()The weight of the service record targetbooleanhasClusterName()Use a cluster name as the endpoint for a service.booleanhasHostName()Use a resolvable hostname as the endpoint for a service.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasHostName
boolean hasHostName()
Use a resolvable hostname as the endpoint for a service.
string host_name = 1 [(.validate.rules) = { ... }- Returns:
- Whether the hostName field is set.
-
getHostName
String getHostName()
Use a resolvable hostname as the endpoint for a service.
string host_name = 1 [(.validate.rules) = { ... }- Returns:
- The hostName.
-
getHostNameBytes
com.google.protobuf.ByteString getHostNameBytes()
Use a resolvable hostname as the endpoint for a service.
string host_name = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for hostName.
-
hasClusterName
boolean hasClusterName()
Use a cluster name as the endpoint for a service.
string cluster_name = 2 [(.validate.rules) = { ... }- Returns:
- Whether the clusterName field is set.
-
getClusterName
String getClusterName()
Use a cluster name as the endpoint for a service.
string cluster_name = 2 [(.validate.rules) = { ... }- Returns:
- The clusterName.
-
getClusterNameBytes
com.google.protobuf.ByteString getClusterNameBytes()
Use a cluster name as the endpoint for a service.
string cluster_name = 2 [(.validate.rules) = { ... }- Returns:
- The bytes for clusterName.
-
getPriority
int getPriority()
The priority of the service record target
uint32 priority = 3 [(.validate.rules) = { ... }- Returns:
- The priority.
-
getWeight
int getWeight()
The weight of the service record target
uint32 weight = 4 [(.validate.rules) = { ... }- Returns:
- The weight.
-
getPort
int getPort()
The port to which the service is bound. This value is optional if the target is a cluster. Setting port to zero in this case makes the filter use the port value from the cluster host
uint32 port = 5 [(.validate.rules) = { ... }- Returns:
- The port.
-
getEndpointTypeCase
DnsTable.DnsServiceTarget.EndpointTypeCase getEndpointTypeCase()
-
-