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