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
Modifier and TypeMethodDescriptiongetName()An optional name associated with the socket.com.google.protobuf.ByteStringAn optional name associated with the socket.longThe globally unique id for this socket.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-