Package io.grpc.channelz.v1
Interface SocketRefOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
SocketRef
,SocketRef.Builder
public interface SocketRefOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
An optional name associated with the socket.ByteString
getNameBytes()
An optional name associated with the socket.long
getSocketId()
The globally unique id 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
-
getSocketId
long getSocketId()
The globally unique id for this socket. Must be a positive number.
int64 socket_id = 3;
- Returns:
- The socketId.
-
getName
String getName()
An optional name associated with the socket.
string name = 4;
- Returns:
- The name.
-
getNameBytes
ByteString getNameBytes()
An optional name associated with the socket.
string name = 4;
- Returns:
- The bytes for name.
-
-