Package io.grpc.channelz.v1
Interface GetSocketResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetSocketResponse
,GetSocketResponse.Builder
public interface GetSocketResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe Socket that corresponds to the requested socket_id.The Socket that corresponds to the requested socket_id.boolean
The Socket that corresponds to the requested socket_id.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
-
hasSocket
boolean hasSocket()The Socket that corresponds to the requested socket_id. This field should be set.
.grpc.channelz.v1.Socket socket = 1;
- Returns:
- Whether the socket field is set.
-
getSocket
Socket getSocket()The Socket that corresponds to the requested socket_id. This field should be set.
.grpc.channelz.v1.Socket socket = 1;
- Returns:
- The socket.
-
getSocketOrBuilder
SocketOrBuilder getSocketOrBuilder()The Socket that corresponds to the requested socket_id. This field should be set.
.grpc.channelz.v1.Socket socket = 1;
-