Package io.grpc.channelz.v1
Interface SocketRefOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SocketRef,SocketRef.Builder
public interface SocketRefOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()An optional name associated with the socket.com.google.protobuf.ByteStringgetNameBytes()An optional name associated with the socket.longgetSocketId()The globally unique id for this socket.-
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
com.google.protobuf.ByteString getNameBytes()
An optional name associated with the socket.
string name = 4;- Returns:
- The bytes for name.
-
-