Interface DnsTable.DnsServiceProtocolOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Specify the protocol name for the service.
      com.google.protobuf.ByteString getNameBytes()
      Specify the protocol name for the service.
      int getNumber()
      Specify the protocol number for the service.
      DnsTable.DnsServiceProtocol.ProtocolConfigCase getProtocolConfigCase()  
      boolean hasName()
      Specify the protocol name for the service.
      boolean hasNumber()
      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 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.