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.ByteStringgetBufValue()Otherwise it's a byte buffer.StringgetDescription()An optional name to give this socket option for debugging, etc.com.google.protobuf.ByteStringgetDescriptionBytes()An optional name to give this socket option for debugging, etc.longgetIntValue()Because many sockopts take an int value.longgetLevel()Corresponding to the level value passed to setsockopt, such as IPPROTO_TCPlonggetName()The numeric name as passed to setsockoptSocketOption.SocketStategetState()The state in which the option will be applied.intgetStateValue()The state in which the option will be applied.SocketOption.ValueCasegetValueCase()-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescription
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;
-
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;
-
getLevel
long getLevel()
Corresponding to the level value passed to setsockopt, such as IPPROTO_TCP
int64 level = 2;
-
getName
long getName()
The numeric name as passed to setsockopt
int64 name = 3;
-
getIntValue
long getIntValue()
Because many sockopts take an int value.
int64 int_value = 4;
-
getBufValue
com.google.protobuf.ByteString getBufValue()
Otherwise it's a byte buffer.
bytes buf_value = 5;
-
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) = { ... }
-
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) = { ... }
-
getValueCase
SocketOption.ValueCase getValueCase()
-
-