Package io.grpc.channelz.v1
Interface SocketOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Socket
,Socket.Builder
public interface SocketOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
Data specific to this Socket.Data specific to this Socket.getLocal()
The locally bound address.The locally bound address.getRef()
The identifier for the Socket.The identifier for the Socket.The remote bound address.Optional, represents the name of the remote endpoint, if different than the original target name.com.google.protobuf.ByteString
Optional, represents the name of the remote endpoint, if different than the original target name.The remote bound address.Security details for this socket.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
The remote bound address.boolean
Security details for this socket.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasRef
boolean hasRef()The identifier for the Socket.
.grpc.channelz.v1.SocketRef ref = 1;
- Returns:
- Whether the ref field is set.
-
getRef
SocketRef getRef()The identifier for the Socket.
.grpc.channelz.v1.SocketRef ref = 1;
- Returns:
- The ref.
-
getRefOrBuilder
SocketRefOrBuilder getRefOrBuilder()The identifier for the Socket.
.grpc.channelz.v1.SocketRef ref = 1;
-
hasData
boolean hasData()Data specific to this Socket.
.grpc.channelz.v1.SocketData data = 2;
- Returns:
- Whether the data field is set.
-
getData
SocketData getData()Data specific to this Socket.
.grpc.channelz.v1.SocketData data = 2;
- Returns:
- The data.
-
getDataOrBuilder
SocketDataOrBuilder getDataOrBuilder()Data specific to this Socket.
.grpc.channelz.v1.SocketData data = 2;
-
hasLocal
boolean hasLocal()The locally bound address.
.grpc.channelz.v1.Address local = 3;
- Returns:
- Whether the local field is set.
-
getLocal
Address getLocal()The locally bound address.
.grpc.channelz.v1.Address local = 3;
- Returns:
- The local.
-
getLocalOrBuilder
AddressOrBuilder getLocalOrBuilder()The locally bound address.
.grpc.channelz.v1.Address local = 3;
-
hasRemote
boolean hasRemote()The remote bound address. May be absent.
.grpc.channelz.v1.Address remote = 4;
- Returns:
- Whether the remote field is set.
-
getRemote
Address getRemote()The remote bound address. May be absent.
.grpc.channelz.v1.Address remote = 4;
- Returns:
- The remote.
-
getRemoteOrBuilder
AddressOrBuilder getRemoteOrBuilder()The remote bound address. May be absent.
.grpc.channelz.v1.Address remote = 4;
-
hasSecurity
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;
- Returns:
- Whether the security field is set.
-
getSecurity
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;
- Returns:
- The security.
-
getSecurityOrBuilder
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;
-
getRemoteName
String getRemoteName()Optional, represents the name of the remote endpoint, if different than the original target name.
string remote_name = 6;
- Returns:
- The remoteName.
-
getRemoteNameBytes
com.google.protobuf.ByteString getRemoteNameBytes()Optional, represents the name of the remote endpoint, if different than the original target name.
string remote_name = 6;
- Returns:
- The bytes for remoteName.
-