Package io.grpc.channelz.v1
Interface ServerRefOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServerRef,ServerRef.Builder
public interface ServerRefOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()An optional name associated with the server.com.google.protobuf.ByteStringAn optional name associated with the server.longA globally unique identifier for this server.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
-
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
com.google.protobuf.ByteString getNameBytes()An optional name associated with the server.
string name = 6;- Returns:
- The bytes for name.
-