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 Any
getAdditional()
Additional data associated with the socket option.AnyOrBuilder
getAdditionalOrBuilder()
Additional data associated with the socket option.String
getName()
The full name of the socket option.ByteString
getNameBytes()
The full name of the socket option.String
getValue()
The human readable value of this socket option.ByteString
getValueBytes()
The human readable value of this socket option.boolean
hasAdditional()
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;
-
-