public final class Socket extends 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.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| 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 |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, 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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class 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 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 MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Socket parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Socket parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Socket parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Socket parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Socket parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Socket parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Socket parseFrom(InputStream input) throws IOException
IOExceptionpublic static Socket parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Socket parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Socket parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Socket parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static Socket parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Socket.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Socket.Builder newBuilder()
public static Socket.Builder newBuilder(Socket prototype)
public Socket.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Socket.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Socket getDefaultInstance()
public Parser<Socket> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Socket getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder