Package io.grpc.channelz.v1
Class Socket
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.grpc.channelz.v1.Socket
-
- All Implemented Interfaces:
Message,MessageLite,MessageLiteOrBuilder,MessageOrBuilder,SocketOrBuilder,Serializable
public final class Socket extends GeneratedMessageV3 implements SocketOrBuilder
Information about an actual connection. Pronounced "sock-ay".
Protobuf typegrpc.channelz.v1.Socket- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSocket.BuilderInformation about an actual connection.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, GeneratedMessageV3.ExtendableMessage<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends GeneratedMessageV3.ExtendableMessage<MessageT>>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
-
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum
-
-
Field Summary
Fields Modifier and Type Field Description static intDATA_FIELD_NUMBERstatic intLOCAL_FIELD_NUMBERstatic intREF_FIELD_NUMBERstatic intREMOTE_FIELD_NUMBERstatic intREMOTE_NAME_FIELD_NUMBERstatic intSECURITY_FIELD_NUMBER-
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
-
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
-
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)SocketDatagetData()Data specific to this Socket.SocketDataOrBuildergetDataOrBuilder()Data specific to this Socket.static SocketgetDefaultInstance()SocketgetDefaultInstanceForType()static Descriptors.DescriptorgetDescriptor()AddressgetLocal()The locally bound address.AddressOrBuildergetLocalOrBuilder()The locally bound address.Parser<Socket>getParserForType()SocketRefgetRef()The identifier for the Socket.SocketRefOrBuildergetRefOrBuilder()The identifier for the Socket.AddressgetRemote()The remote bound address.StringgetRemoteName()Optional, represents the name of the remote endpoint, if different than the original target name.ByteStringgetRemoteNameBytes()Optional, represents the name of the remote endpoint, if different than the original target name.AddressOrBuildergetRemoteOrBuilder()The remote bound address.SecuritygetSecurity()Security details for this socket.SecurityOrBuildergetSecurityOrBuilder()Security details for this socket.intgetSerializedSize()booleanhasData()Data specific to this Socket.inthashCode()booleanhasLocal()The locally bound address.booleanhasRef()The identifier for the Socket.booleanhasRemote()The remote bound address.booleanhasSecurity()Security details for this socket.protected GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Socket.BuildernewBuilder()static Socket.BuildernewBuilder(Socket prototype)Socket.BuildernewBuilderForType()protected Socket.BuildernewBuilderForType(GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameter unused)static SocketparseDelimitedFrom(InputStream input)static SocketparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static SocketparseFrom(byte[] data)static SocketparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)static SocketparseFrom(ByteString data)static SocketparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static SocketparseFrom(CodedInputStream input)static SocketparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static SocketparseFrom(InputStream input)static SocketparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static SocketparseFrom(ByteBuffer data)static SocketparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static Parser<Socket>parser()Socket.BuildertoBuilder()voidwriteTo(CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Field Detail
-
REF_FIELD_NUMBER
public static final int REF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCAL_FIELD_NUMBER
public static final int LOCAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMOTE_FIELD_NUMBER
public static final int REMOTE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECURITY_FIELD_NUMBER
public static final int SECURITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMOTE_NAME_FIELD_NUMBER
public static final int REMOTE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classGeneratedMessageV3
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
hasRef
public boolean hasRef()
The identifier for the Socket.
.grpc.channelz.v1.SocketRef ref = 1;- Specified by:
hasRefin interfaceSocketOrBuilder- Returns:
- Whether the ref field is set.
-
getRef
public SocketRef getRef()
The identifier for the Socket.
.grpc.channelz.v1.SocketRef ref = 1;- Specified by:
getRefin interfaceSocketOrBuilder- Returns:
- The ref.
-
getRefOrBuilder
public SocketRefOrBuilder getRefOrBuilder()
The identifier for the Socket.
.grpc.channelz.v1.SocketRef ref = 1;- Specified by:
getRefOrBuilderin interfaceSocketOrBuilder
-
hasData
public boolean hasData()
Data specific to this Socket.
.grpc.channelz.v1.SocketData data = 2;- Specified by:
hasDatain interfaceSocketOrBuilder- Returns:
- Whether the data field is set.
-
getData
public SocketData getData()
Data specific to this Socket.
.grpc.channelz.v1.SocketData data = 2;- Specified by:
getDatain interfaceSocketOrBuilder- Returns:
- The data.
-
getDataOrBuilder
public SocketDataOrBuilder getDataOrBuilder()
Data specific to this Socket.
.grpc.channelz.v1.SocketData data = 2;- Specified by:
getDataOrBuilderin interfaceSocketOrBuilder
-
hasLocal
public boolean hasLocal()
The locally bound address.
.grpc.channelz.v1.Address local = 3;- Specified by:
hasLocalin interfaceSocketOrBuilder- Returns:
- Whether the local field is set.
-
getLocal
public Address getLocal()
The locally bound address.
.grpc.channelz.v1.Address local = 3;- Specified by:
getLocalin interfaceSocketOrBuilder- Returns:
- The local.
-
getLocalOrBuilder
public AddressOrBuilder getLocalOrBuilder()
The locally bound address.
.grpc.channelz.v1.Address local = 3;- Specified by:
getLocalOrBuilderin interfaceSocketOrBuilder
-
hasRemote
public boolean hasRemote()
The remote bound address. May be absent.
.grpc.channelz.v1.Address remote = 4;- Specified by:
hasRemotein interfaceSocketOrBuilder- Returns:
- Whether the remote field is set.
-
getRemote
public Address getRemote()
The remote bound address. May be absent.
.grpc.channelz.v1.Address remote = 4;- Specified by:
getRemotein interfaceSocketOrBuilder- Returns:
- The remote.
-
getRemoteOrBuilder
public AddressOrBuilder getRemoteOrBuilder()
The remote bound address. May be absent.
.grpc.channelz.v1.Address remote = 4;- Specified by:
getRemoteOrBuilderin interfaceSocketOrBuilder
-
hasSecurity
public 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;- Specified by:
hasSecurityin interfaceSocketOrBuilder- Returns:
- Whether the security field is set.
-
getSecurity
public 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;- Specified by:
getSecurityin interfaceSocketOrBuilder- Returns:
- The security.
-
getSecurityOrBuilder
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;- Specified by:
getSecurityOrBuilderin interfaceSocketOrBuilder
-
getRemoteName
public String getRemoteName()
Optional, represents the name of the remote endpoint, if different than the original target name.
string remote_name = 6;- Specified by:
getRemoteNamein interfaceSocketOrBuilder- Returns:
- The remoteName.
-
getRemoteNameBytes
public ByteString getRemoteNameBytes()
Optional, represents the name of the remote endpoint, if different than the original target name.
string remote_name = 6;- Specified by:
getRemoteNameBytesin interfaceSocketOrBuilder- Returns:
- The bytes for remoteName.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
public void writeTo(CodedOutputStream output) throws IOException
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
public static Socket parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Socket parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Socket parseFrom(ByteString data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Socket parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Socket parseFrom(byte[] data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Socket parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Socket parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Socket parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Socket parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Socket parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Socket parseFrom(CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Socket parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Socket.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
public static Socket.Builder newBuilder()
-
newBuilder
public static Socket.Builder newBuilder(Socket prototype)
-
toBuilder
public Socket.Builder toBuilder()
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
protected Socket.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
public static Socket getDefaultInstance()
-
getParserForType
public Parser<Socket> getParserForType()
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
public Socket getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
-