public static final class SocketOption.Builder extends com.google.protobuf.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.SocketOption| Modifier and Type | Method and Description |
|---|---|
SocketOption.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SocketOption |
build() |
SocketOption |
buildPartial() |
SocketOption.Builder |
clear() |
SocketOption.Builder |
clearAdditional()
Additional data associated with the socket option.
|
SocketOption.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SocketOption.Builder |
clearName()
The full name of the socket option.
|
SocketOption.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SocketOption.Builder |
clearValue()
The human readable value of this socket option.
|
SocketOption.Builder |
clone() |
com.google.protobuf.Any |
getAdditional()
Additional data associated with the socket option.
|
com.google.protobuf.Any.Builder |
getAdditionalBuilder()
Additional data associated with the socket option.
|
com.google.protobuf.AnyOrBuilder |
getAdditionalOrBuilder()
Additional data associated with the socket option.
|
SocketOption |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
The full name of the socket option.
|
com.google.protobuf.ByteString |
getNameBytes()
The full name of the socket option.
|
String |
getValue()
The human readable value of this socket option.
|
com.google.protobuf.ByteString |
getValueBytes()
The human readable value of this socket option.
|
boolean |
hasAdditional()
Additional data associated with the socket option.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SocketOption.Builder |
mergeAdditional(com.google.protobuf.Any value)
Additional data associated with the socket option.
|
SocketOption.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SocketOption.Builder |
mergeFrom(com.google.protobuf.Message other) |
SocketOption.Builder |
mergeFrom(SocketOption other) |
SocketOption.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SocketOption.Builder |
setAdditional(com.google.protobuf.Any.Builder builderForValue)
Additional data associated with the socket option.
|
SocketOption.Builder |
setAdditional(com.google.protobuf.Any value)
Additional data associated with the socket option.
|
SocketOption.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SocketOption.Builder |
setName(String value)
The full name of the socket option.
|
SocketOption.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The full name of the socket option.
|
SocketOption.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SocketOption.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SocketOption.Builder |
setValue(String value)
The human readable value of this socket option.
|
SocketOption.Builder |
setValueBytes(com.google.protobuf.ByteString value)
The human readable value of this socket option.
|
getAllFields, 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, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SocketOption.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SocketOption build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SocketOption buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SocketOption.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SocketOption.Builder>public SocketOption.Builder mergeFrom(SocketOption other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SocketOption.Builder>public SocketOption.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.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 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;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(com.google.protobuf.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 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;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(com.google.protobuf.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 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;getAdditional in interface SocketOptionOrBuilderpublic SocketOption.Builder setAdditional(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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 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;getAdditionalOrBuilder in interface SocketOptionOrBuilderpublic final SocketOption.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SocketOption.Builder>public final SocketOption.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SocketOption.Builder>