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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.AnygetAdditional()Additional data associated with the socket option.com.google.protobuf.AnyOrBuildergetAdditionalOrBuilder()Additional data associated with the socket option.java.lang.StringgetName()The full name of the socket option.com.google.protobuf.ByteStringgetNameBytes()The full name of the socket option.java.lang.StringgetValue()The human readable value of this socket option.com.google.protobuf.ByteStringgetValueBytes()The human readable value of this socket option.booleanhasAdditional()Additional data associated with the socket option.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
java.lang.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
java.lang.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;
-
-