Package io.grpc.channelz.v1
Interface SubchannelRefOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
SubchannelRef
,SubchannelRef.Builder
public interface SubchannelRefOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
An optional name associated with the subchannel.ByteString
getNameBytes()
An optional name associated with the subchannel.long
getSubchannelId()
The globally unique id for this subchannel.-
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
-
getSubchannelId
long getSubchannelId()
The globally unique id for this subchannel. Must be a positive number.
int64 subchannel_id = 7;
- Returns:
- The subchannelId.
-
getName
String getName()
An optional name associated with the subchannel.
string name = 8;
- Returns:
- The name.
-
getNameBytes
ByteString getNameBytes()
An optional name associated with the subchannel.
string name = 8;
- Returns:
- The bytes for name.
-
-