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

    Modifier and Type
    Method
    Description
    Specify the protocol name for the service.
    com.google.protobuf.ByteString
    Specify the protocol name for the service.
    int
    Specify the protocol number for the service.
     
    boolean
    Specify the protocol name for the service.
    boolean
    Specify the protocol number for the service.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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