Package io.grpc.channelz.v1
Interface ChannelRefOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder,MessageOrBuilder
- All Known Implementing Classes:
ChannelRef,ChannelRef.Builder
public interface ChannelRefOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetChannelId()The globally unique id for this channel.StringgetName()An optional name associated with the channel.ByteStringgetNameBytes()An optional name associated with the channel.-
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
-
getChannelId
long getChannelId()
The globally unique id for this channel. Must be a positive number.
int64 channel_id = 1;- Returns:
- The channelId.
-
getName
String getName()
An optional name associated with the channel.
string name = 2;- Returns:
- The name.
-
getNameBytes
ByteString getNameBytes()
An optional name associated with the channel.
string name = 2;- Returns:
- The bytes for name.
-
-