public final class Socket extends com.google.protobuf.GeneratedMessageV3 implements SocketOrBuilder
Information about an actual connection. Pronounced "sock-ay".Protobuf type
grpc.channelz.v1.Socket| Modifier and Type | Class and Description |
|---|---|
static class |
Socket.Builder
Information about an actual connection.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DATA_FIELD_NUMBER |
static int |
LOCAL_FIELD_NUMBER |
static int |
REF_FIELD_NUMBER |
static int |
REMOTE_FIELD_NUMBER |
static int |
REMOTE_NAME_FIELD_NUMBER |
static int |
SECURITY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
SocketData |
getData()
Data specific to this Socket.
|
SocketDataOrBuilder |
getDataOrBuilder()
Data specific to this Socket.
|
static Socket |
getDefaultInstance() |
Socket |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Address |
getLocal()
The locally bound address.
|
AddressOrBuilder |
getLocalOrBuilder()
The locally bound address.
|
com.google.protobuf.Parser<Socket> |
getParserForType() |
SocketRef |
getRef()
The identifier for the Socket.
|
SocketRefOrBuilder |
getRefOrBuilder()
The identifier for the Socket.
|
Address |
getRemote()
The remote bound address.
|
String |
getRemoteName()
Optional, represents the name of the remote endpoint, if different than
the original target name.
|
com.google.protobuf.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.
|
SecurityOrBuilder |
getSecurityOrBuilder()
Security details for this socket.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasData()
Data specific to this Socket.
|
int |
hashCode() |
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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Socket.Builder |
newBuilder() |
static Socket.Builder |
newBuilder(Socket prototype) |
Socket.Builder |
newBuilderForType() |
protected Socket.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Socket |
parseDelimitedFrom(InputStream input) |
static Socket |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Socket |
parseFrom(byte[] data) |
static Socket |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Socket |
parseFrom(ByteBuffer data) |
static Socket |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Socket |
parseFrom(com.google.protobuf.ByteString data) |
static Socket |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Socket |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Socket |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Socket |
parseFrom(InputStream input) |
static Socket |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Socket> |
parser() |
Socket.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REF_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
public static final int LOCAL_FIELD_NUMBER
public static final int REMOTE_FIELD_NUMBER
public static final int SECURITY_FIELD_NUMBER
public static final int REMOTE_NAME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 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 com.google.protobuf.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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Socket parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Socket parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Socket parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Socket parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Socket parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Socket parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Socket parseFrom(InputStream input) throws IOException
IOExceptionpublic static Socket parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Socket parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Socket parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Socket parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Socket parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Socket.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Socket.Builder newBuilder()
public static Socket.Builder newBuilder(Socket prototype)
public Socket.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Socket.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Socket getDefaultInstance()
public static com.google.protobuf.Parser<Socket> parser()
public com.google.protobuf.Parser<Socket> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Socket getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder