public static final class Socket.Builder extends GeneratedMessageV3.Builder<Socket.Builder> implements SocketOrBuilder
Information about an actual connection. Pronounced "sock-ay".Protobuf type
grpc.channelz.v1.Socket| Modifier and Type | Method and Description |
|---|---|
Socket.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
Socket |
build() |
Socket |
buildPartial() |
Socket.Builder |
clear() |
Socket.Builder |
clearData()
Data specific to this Socket.
|
Socket.Builder |
clearField(Descriptors.FieldDescriptor field) |
Socket.Builder |
clearLocal()
The locally bound address.
|
Socket.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Socket.Builder |
clearRef()
The identifier for the Socket.
|
Socket.Builder |
clearRemote()
The remote bound address.
|
Socket.Builder |
clearRemoteName()
Optional, represents the name of the remote endpoint, if different than
the original target name.
|
Socket.Builder |
clearSecurity()
Security details for this socket.
|
Socket.Builder |
clone() |
SocketData |
getData()
Data specific to this Socket.
|
SocketData.Builder |
getDataBuilder()
Data specific to this Socket.
|
SocketDataOrBuilder |
getDataOrBuilder()
Data specific to this Socket.
|
Socket |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Address |
getLocal()
The locally bound address.
|
Address.Builder |
getLocalBuilder()
The locally bound address.
|
AddressOrBuilder |
getLocalOrBuilder()
The locally bound address.
|
SocketRef |
getRef()
The identifier for the Socket.
|
SocketRef.Builder |
getRefBuilder()
The identifier for the Socket.
|
SocketRefOrBuilder |
getRefOrBuilder()
The identifier for the Socket.
|
Address |
getRemote()
The remote bound address.
|
Address.Builder |
getRemoteBuilder()
The remote bound address.
|
String |
getRemoteName()
Optional, represents the name of the remote endpoint, if different than
the original target name.
|
ByteString |
getRemoteNameBytes()
Optional, represents the name of the remote endpoint, if different than
the original target name.
|
AddressOrBuilder |
getRemoteOrBuilder()
The remote bound address.
|
Security |
getSecurity()
Security details for this socket.
|
Security.Builder |
getSecurityBuilder()
Security details for this socket.
|
SecurityOrBuilder |
getSecurityOrBuilder()
Security details for this socket.
|
boolean |
hasData()
Data specific to this Socket.
|
boolean |
hasLocal()
The locally bound address.
|
boolean |
hasRef()
The identifier for the Socket.
|
boolean |
hasRemote()
The remote bound address.
|
boolean |
hasSecurity()
Security details for this socket.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Socket.Builder |
mergeData(SocketData value)
Data specific to this Socket.
|
Socket.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Socket.Builder |
mergeFrom(Message other) |
Socket.Builder |
mergeFrom(Socket other) |
Socket.Builder |
mergeLocal(Address value)
The locally bound address.
|
Socket.Builder |
mergeRef(SocketRef value)
The identifier for the Socket.
|
Socket.Builder |
mergeRemote(Address value)
The remote bound address.
|
Socket.Builder |
mergeSecurity(Security value)
Security details for this socket.
|
Socket.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Socket.Builder |
setData(SocketData.Builder builderForValue)
Data specific to this Socket.
|
Socket.Builder |
setData(SocketData value)
Data specific to this Socket.
|
Socket.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
Socket.Builder |
setLocal(Address.Builder builderForValue)
The locally bound address.
|
Socket.Builder |
setLocal(Address value)
The locally bound address.
|
Socket.Builder |
setRef(SocketRef.Builder builderForValue)
The identifier for the Socket.
|
Socket.Builder |
setRef(SocketRef value)
The identifier for the Socket.
|
Socket.Builder |
setRemote(Address.Builder builderForValue)
The remote bound address.
|
Socket.Builder |
setRemote(Address value)
The remote bound address.
|
Socket.Builder |
setRemoteName(String value)
Optional, represents the name of the remote endpoint, if different than
the original target name.
|
Socket.Builder |
setRemoteNameBytes(ByteString value)
Optional, represents the name of the remote endpoint, if different than
the original target name.
|
Socket.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
Socket.Builder |
setSecurity(Security.Builder builderForValue)
Security details for this socket.
|
Socket.Builder |
setSecurity(Security value)
Security details for this socket.
|
Socket.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
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, hasOneofmergeDelimitedFrom, mergeDelimitedFrommergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<Socket.Builder>public Socket.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<Socket.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<Socket.Builder>public Socket getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic Socket build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic Socket buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic Socket.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<Socket.Builder>public Socket.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<Socket.Builder>public Socket.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<Socket.Builder>public Socket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<Socket.Builder>public Socket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<Socket.Builder>public Socket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<Socket.Builder>public Socket.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<Socket.Builder>public Socket.Builder mergeFrom(Socket other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<Socket.Builder>public Socket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<Socket.Builder>IOExceptionpublic boolean hasRef()
The identifier for the Socket.
.grpc.channelz.v1.SocketRef ref = 1;hasRef in interface SocketOrBuilderpublic SocketRef getRef()
The identifier for the Socket.
.grpc.channelz.v1.SocketRef ref = 1;getRef in interface SocketOrBuilderpublic Socket.Builder setRef(SocketRef value)
The identifier for the Socket.
.grpc.channelz.v1.SocketRef ref = 1;public Socket.Builder setRef(SocketRef.Builder builderForValue)
The identifier for the Socket.
.grpc.channelz.v1.SocketRef ref = 1;public Socket.Builder mergeRef(SocketRef value)
The identifier for the Socket.
.grpc.channelz.v1.SocketRef ref = 1;public Socket.Builder clearRef()
The identifier for the Socket.
.grpc.channelz.v1.SocketRef ref = 1;public SocketRef.Builder getRefBuilder()
The identifier for the Socket.
.grpc.channelz.v1.SocketRef ref = 1;public SocketRefOrBuilder getRefOrBuilder()
The identifier for the Socket.
.grpc.channelz.v1.SocketRef ref = 1;getRefOrBuilder in interface SocketOrBuilderpublic boolean hasData()
Data specific to this Socket.
.grpc.channelz.v1.SocketData data = 2;hasData in interface SocketOrBuilderpublic SocketData getData()
Data specific to this Socket.
.grpc.channelz.v1.SocketData data = 2;getData in interface SocketOrBuilderpublic Socket.Builder setData(SocketData value)
Data specific to this Socket.
.grpc.channelz.v1.SocketData data = 2;public Socket.Builder setData(SocketData.Builder builderForValue)
Data specific to this Socket.
.grpc.channelz.v1.SocketData data = 2;public Socket.Builder mergeData(SocketData value)
Data specific to this Socket.
.grpc.channelz.v1.SocketData data = 2;public Socket.Builder clearData()
Data specific to this Socket.
.grpc.channelz.v1.SocketData data = 2;public SocketData.Builder getDataBuilder()
Data specific to this Socket.
.grpc.channelz.v1.SocketData data = 2;public SocketDataOrBuilder getDataOrBuilder()
Data specific to this Socket.
.grpc.channelz.v1.SocketData data = 2;getDataOrBuilder in interface SocketOrBuilderpublic boolean hasLocal()
The locally bound address.
.grpc.channelz.v1.Address local = 3;hasLocal in interface SocketOrBuilderpublic Address getLocal()
The locally bound address.
.grpc.channelz.v1.Address local = 3;getLocal in interface SocketOrBuilderpublic Socket.Builder setLocal(Address value)
The locally bound address.
.grpc.channelz.v1.Address local = 3;public Socket.Builder setLocal(Address.Builder builderForValue)
The locally bound address.
.grpc.channelz.v1.Address local = 3;public Socket.Builder mergeLocal(Address value)
The locally bound address.
.grpc.channelz.v1.Address local = 3;public Socket.Builder clearLocal()
The locally bound address.
.grpc.channelz.v1.Address local = 3;public Address.Builder getLocalBuilder()
The locally bound address.
.grpc.channelz.v1.Address local = 3;public AddressOrBuilder getLocalOrBuilder()
The locally bound address.
.grpc.channelz.v1.Address local = 3;getLocalOrBuilder in interface SocketOrBuilderpublic boolean hasRemote()
The remote bound address. May be absent.
.grpc.channelz.v1.Address remote = 4;hasRemote in interface SocketOrBuilderpublic Address getRemote()
The remote bound address. May be absent.
.grpc.channelz.v1.Address remote = 4;getRemote in interface SocketOrBuilderpublic Socket.Builder setRemote(Address value)
The remote bound address. May be absent.
.grpc.channelz.v1.Address remote = 4;public Socket.Builder setRemote(Address.Builder builderForValue)
The remote bound address. May be absent.
.grpc.channelz.v1.Address remote = 4;public Socket.Builder mergeRemote(Address value)
The remote bound address. May be absent.
.grpc.channelz.v1.Address remote = 4;public Socket.Builder clearRemote()
The remote bound address. May be absent.
.grpc.channelz.v1.Address remote = 4;public Address.Builder getRemoteBuilder()
The remote bound address. May be absent.
.grpc.channelz.v1.Address remote = 4;public AddressOrBuilder getRemoteOrBuilder()
The remote bound address. May be absent.
.grpc.channelz.v1.Address remote = 4;getRemoteOrBuilder in interface SocketOrBuilderpublic boolean hasSecurity()
Security details for this socket. May be absent if not available, or there is no security on the socket.
.grpc.channelz.v1.Security security = 5;hasSecurity in interface SocketOrBuilderpublic Security getSecurity()
Security details for this socket. May be absent if not available, or there is no security on the socket.
.grpc.channelz.v1.Security security = 5;getSecurity in interface SocketOrBuilderpublic Socket.Builder setSecurity(Security value)
Security details for this socket. May be absent if not available, or there is no security on the socket.
.grpc.channelz.v1.Security security = 5;public Socket.Builder setSecurity(Security.Builder builderForValue)
Security details for this socket. May be absent if not available, or there is no security on the socket.
.grpc.channelz.v1.Security security = 5;public Socket.Builder mergeSecurity(Security value)
Security details for this socket. May be absent if not available, or there is no security on the socket.
.grpc.channelz.v1.Security security = 5;public Socket.Builder clearSecurity()
Security details for this socket. May be absent if not available, or there is no security on the socket.
.grpc.channelz.v1.Security security = 5;public Security.Builder getSecurityBuilder()
Security details for this socket. May be absent if not available, or there is no security on the socket.
.grpc.channelz.v1.Security security = 5;public SecurityOrBuilder getSecurityOrBuilder()
Security details for this socket. May be absent if not available, or there is no security on the socket.
.grpc.channelz.v1.Security security = 5;getSecurityOrBuilder in interface SocketOrBuilderpublic String getRemoteName()
Optional, represents the name of the remote endpoint, if different than the original target name.
string remote_name = 6;getRemoteName in interface SocketOrBuilderpublic ByteString getRemoteNameBytes()
Optional, represents the name of the remote endpoint, if different than the original target name.
string remote_name = 6;getRemoteNameBytes in interface SocketOrBuilderpublic Socket.Builder setRemoteName(String value)
Optional, represents the name of the remote endpoint, if different than the original target name.
string remote_name = 6;value - The remoteName to set.public Socket.Builder clearRemoteName()
Optional, represents the name of the remote endpoint, if different than the original target name.
string remote_name = 6;public Socket.Builder setRemoteNameBytes(ByteString value)
Optional, represents the name of the remote endpoint, if different than the original target name.
string remote_name = 6;value - The bytes for remoteName to set.public final Socket.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<Socket.Builder>public final Socket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<Socket.Builder>