Package io.grpc.channelz.v1
Interface SocketOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
Socket
,Socket.Builder
public interface SocketOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SocketData
getData()
Data specific to this Socket.SocketDataOrBuilder
getDataOrBuilder()
Data specific to this Socket.Address
getLocal()
The locally bound address.AddressOrBuilder
getLocalOrBuilder()
The locally bound address.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.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.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.-
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 Detail
-
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
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.
-
-