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 target-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getHostName
String getHostName()
Use a resolvable hostname as the endpoint for a service.
string host_name = 1 [(.validate.rules) = { ... }
-
getHostNameBytes
com.google.protobuf.ByteString getHostNameBytes()
Use a resolvable hostname as the endpoint for a service.
string host_name = 1 [(.validate.rules) = { ... }
-
getClusterName
String getClusterName()
Use a cluster name as the endpoint for a service.
string cluster_name = 2 [(.validate.rules) = { ... }
-
getClusterNameBytes
com.google.protobuf.ByteString getClusterNameBytes()
Use a cluster name as the endpoint for a service.
string cluster_name = 2 [(.validate.rules) = { ... }
-
getPriority
int getPriority()
The priority of the service record target
uint32 priority = 3 [(.validate.rules) = { ... }
-
getWeight
int getWeight()
The weight of the service record target
uint32 weight = 4 [(.validate.rules) = { ... }
-
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) = { ... }
-
getEndpointTypeCase
DnsTable.DnsServiceTarget.EndpointTypeCase getEndpointTypeCase()
-
-