Interface SocketOptionOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    SocketOption, SocketOption.Builder

    public interface SocketOptionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.ByteString getBufValue()
      Otherwise it's a byte buffer.
      java.lang.String getDescription()
      An optional name to give this socket option for debugging, etc.
      com.google.protobuf.ByteString getDescriptionBytes()
      An optional name to give this socket option for debugging, etc.
      long getIntValue()
      Because many sockopts take an int value.
      long getLevel()
      Corresponding to the level value passed to setsockopt, such as IPPROTO_TCP
      long getName()
      The numeric name as passed to setsockopt
      SocketOption.SocketState getState()
      The state in which the option will be applied.
      int getStateValue()
      The state in which the option will be applied.
      SocketOption.ValueCase getValueCase()  
      boolean hasBufValue()
      Otherwise it's a byte buffer.
      boolean hasIntValue()
      Because many sockopts take an int value.
      • 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

      • getDescription

        java.lang.String getDescription()
         An optional name to give this socket option for debugging, etc.
         Uniqueness is not required and no special meaning is assumed.
         
        string description = 1;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         An optional name to give this socket option for debugging, etc.
         Uniqueness is not required and no special meaning is assumed.
         
        string description = 1;
        Returns:
        The bytes for description.
      • getLevel

        long getLevel()
         Corresponding to the level value passed to setsockopt, such as IPPROTO_TCP
         
        int64 level = 2;
        Returns:
        The level.
      • getName

        long getName()
         The numeric name as passed to setsockopt
         
        int64 name = 3;
        Returns:
        The name.
      • hasIntValue

        boolean hasIntValue()
         Because many sockopts take an int value.
         
        int64 int_value = 4;
        Returns:
        Whether the intValue field is set.
      • getIntValue

        long getIntValue()
         Because many sockopts take an int value.
         
        int64 int_value = 4;
        Returns:
        The intValue.
      • hasBufValue

        boolean hasBufValue()
         Otherwise it's a byte buffer.
         
        bytes buf_value = 5;
        Returns:
        Whether the bufValue field is set.
      • getBufValue

        com.google.protobuf.ByteString getBufValue()
         Otherwise it's a byte buffer.
         
        bytes buf_value = 5;
        Returns:
        The bufValue.
      • getStateValue

        int getStateValue()
         The state in which the option will be applied. When used in BindConfig
         STATE_PREBIND is currently the only valid value.
         
        .envoy.config.core.v3.SocketOption.SocketState state = 6 [(.validate.rules) = { ... }
        Returns:
        The enum numeric value on the wire for state.
      • getState

        SocketOption.SocketState getState()
         The state in which the option will be applied. When used in BindConfig
         STATE_PREBIND is currently the only valid value.
         
        .envoy.config.core.v3.SocketOption.SocketState state = 6 [(.validate.rules) = { ... }
        Returns:
        The state.