Package io.grpc.channelz.v1
Interface ServerRefOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
ServerRef
,ServerRef.Builder
public interface ServerRefOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
An optional name associated with the server.ByteString
getNameBytes()
An optional name associated with the server.long
getServerId()
A globally unique identifier for this server.-
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
-
getServerId
long getServerId()
A globally unique identifier for this server. Must be a positive number.
int64 server_id = 5;
- Returns:
- The serverId.
-
getName
String getName()
An optional name associated with the server.
string name = 6;
- Returns:
- The name.
-
getNameBytes
ByteString getNameBytes()
An optional name associated with the server.
string name = 6;
- Returns:
- The bytes for name.
-
-