public static final class SocketOption.Builder extends GeneratedMessageV3.Builder<SocketOption.Builder> implements SocketOptionOrBuilder
SocketOption represents socket options for a socket. Specifically, these are the options returned by getsockopt().Protobuf type
grpc.channelz.v1.SocketOptiongetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeDelimitedFrom, mergeDelimitedFrommergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<SocketOption.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic SocketOption build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic SocketOption buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic SocketOption.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<SocketOption.Builder>public SocketOption.Builder mergeFrom(SocketOption other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<SocketOption.Builder>IOExceptionpublic String getName()
The full name of the socket option. Typically this will be the upper case name, such as "SO_REUSEPORT".
string name = 1;getName in interface SocketOptionOrBuilderpublic ByteString getNameBytes()
The full name of the socket option. Typically this will be the upper case name, such as "SO_REUSEPORT".
string name = 1;getNameBytes in interface SocketOptionOrBuilderpublic SocketOption.Builder setName(String value)
The full name of the socket option. Typically this will be the upper case name, such as "SO_REUSEPORT".
string name = 1;value - The name to set.public SocketOption.Builder clearName()
The full name of the socket option. Typically this will be the upper case name, such as "SO_REUSEPORT".
string name = 1;public SocketOption.Builder setNameBytes(ByteString value)
The full name of the socket option. Typically this will be the upper case name, such as "SO_REUSEPORT".
string name = 1;value - The bytes for name to set.public String getValue()
The human readable value of this socket option. At least one of value or additional will be set.
string value = 2;getValue in interface SocketOptionOrBuilderpublic ByteString getValueBytes()
The human readable value of this socket option. At least one of value or additional will be set.
string value = 2;getValueBytes in interface SocketOptionOrBuilderpublic SocketOption.Builder setValue(String value)
The human readable value of this socket option. At least one of value or additional will be set.
string value = 2;value - The value to set.public SocketOption.Builder clearValue()
The human readable value of this socket option. At least one of value or additional will be set.
string value = 2;public SocketOption.Builder setValueBytes(ByteString value)
The human readable value of this socket option. At least one of value or additional will be set.
string value = 2;value - The bytes for value to set.public boolean hasAdditional()
Additional data associated with the socket option. At least one of value or additional will be set.
.google.protobuf.Any additional = 3;hasAdditional in interface SocketOptionOrBuilderpublic Any getAdditional()
Additional data associated with the socket option. At least one of value or additional will be set.
.google.protobuf.Any additional = 3;getAdditional in interface SocketOptionOrBuilderpublic SocketOption.Builder setAdditional(Any value)
Additional data associated with the socket option. At least one of value or additional will be set.
.google.protobuf.Any additional = 3;public SocketOption.Builder setAdditional(Any.Builder builderForValue)
Additional data associated with the socket option. At least one of value or additional will be set.
.google.protobuf.Any additional = 3;public SocketOption.Builder mergeAdditional(Any value)
Additional data associated with the socket option. At least one of value or additional will be set.
.google.protobuf.Any additional = 3;public SocketOption.Builder clearAdditional()
Additional data associated with the socket option. At least one of value or additional will be set.
.google.protobuf.Any additional = 3;public Any.Builder getAdditionalBuilder()
Additional data associated with the socket option. At least one of value or additional will be set.
.google.protobuf.Any additional = 3;public AnyOrBuilder getAdditionalOrBuilder()
Additional data associated with the socket option. At least one of value or additional will be set.
.google.protobuf.Any additional = 3;getAdditionalOrBuilder in interface SocketOptionOrBuilderpublic final SocketOption.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<SocketOption.Builder>public final SocketOption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<SocketOption.Builder>