Package io.grpc.channelz.v1
Interface SocketOptionOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder,MessageOrBuilder
- All Known Implementing Classes:
SocketOption,SocketOption.Builder
public interface SocketOptionOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnygetAdditional()Additional data associated with the socket option.AnyOrBuildergetAdditionalOrBuilder()Additional data associated with the socket option.StringgetName()The full name of the socket option.ByteStringgetNameBytes()The full name of the socket option.StringgetValue()The human readable value of this socket option.ByteStringgetValueBytes()The human readable value of this socket option.booleanhasAdditional()Additional data associated with the socket option.-
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
-
getName
String getName()
The full name of the socket option. Typically this will be the upper case name, such as "SO_REUSEPORT".
string name = 1;- Returns:
- The name.
-
getNameBytes
ByteString getNameBytes()
The full name of the socket option. Typically this will be the upper case name, such as "SO_REUSEPORT".
string name = 1;- Returns:
- The bytes for name.
-
getValue
String getValue()
The human readable value of this socket option. At least one of value or additional will be set.
string value = 2;- Returns:
- The value.
-
getValueBytes
ByteString getValueBytes()
The human readable value of this socket option. At least one of value or additional will be set.
string value = 2;- Returns:
- The bytes for value.
-
hasAdditional
boolean hasAdditional()
Additional data associated with the socket option. At least one of value or additional will be set.
.google.protobuf.Any additional = 3;- Returns:
- Whether the additional field is set.
-
getAdditional
Any getAdditional()
Additional data associated with the socket option. At least one of value or additional will be set.
.google.protobuf.Any additional = 3;- Returns:
- The additional.
-
getAdditionalOrBuilder
AnyOrBuilder getAdditionalOrBuilder()
Additional data associated with the socket option. At least one of value or additional will be set.
.google.protobuf.Any additional = 3;
-
-