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