Package io.envoyproxy.envoy.data.dns.v3
Interface DnsTable.DnsServiceProtocolOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DnsTable.DnsServiceProtocol,DnsTable.DnsServiceProtocol.Builder
- Enclosing class:
- DnsTable
public static interface DnsTable.DnsServiceProtocolOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Specify the protocol name for the service.com.google.protobuf.ByteStringgetNameBytes()Specify the protocol name for the service.intgetNumber()Specify the protocol number for the service.DnsTable.DnsServiceProtocol.ProtocolConfigCasegetProtocolConfigCase()booleanhasName()Specify the protocol name for the service.booleanhasNumber()Specify the protocol number for the service.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasNumber
boolean hasNumber()
Specify the protocol number for the service. Envoy will try to resolve the number to the protocol name. For example, 6 will resolve to "tcp". Refer to: https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml for protocol names and numbers
uint32 number = 1 [(.validate.rules) = { ... }- Returns:
- Whether the number field is set.
-
getNumber
int getNumber()
Specify the protocol number for the service. Envoy will try to resolve the number to the protocol name. For example, 6 will resolve to "tcp". Refer to: https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml for protocol names and numbers
uint32 number = 1 [(.validate.rules) = { ... }- Returns:
- The number.
-
hasName
boolean hasName()
Specify the protocol name for the service.
string name = 2 [(.validate.rules) = { ... }- Returns:
- Whether the name field is set.
-
getName
String getName()
Specify the protocol name for the service.
string name = 2 [(.validate.rules) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Specify the protocol name for the service.
string name = 2 [(.validate.rules) = { ... }- Returns:
- The bytes for name.
-
getProtocolConfigCase
DnsTable.DnsServiceProtocol.ProtocolConfigCase getProtocolConfigCase()
-
-