Package io.grpc.channelz.v1
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
Modifier and TypeMethodDescriptioncom.google.protobuf.Any
Additional data associated with the socket option.com.google.protobuf.AnyOrBuilder
Additional data associated with the socket option.getName()
The full name of the socket option.com.google.protobuf.ByteString
The full name of the socket option.getValue()
The human readable value of this socket option.com.google.protobuf.ByteString
The human readable value of this socket option.boolean
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 Details
-
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
com.google.protobuf.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
com.google.protobuf.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
com.google.protobuf.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
com.google.protobuf.AnyOrBuilder getAdditionalOrBuilder()Additional data associated with the socket option. At least one of value or additional will be set.
.google.protobuf.Any additional = 3;
-