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()  
      • 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

      • 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) = { ... }
      • getName

        String getName()
         Specify the protocol name for the service.
         
        string name = 2 [(.validate.rules) = { ... }
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Specify the protocol name for the service.
         
        string name = 2 [(.validate.rules) = { ... }