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
Modifier and TypeMethodDescriptiongetName()
An optional name associated with the subchannel.com.google.protobuf.ByteString
An optional name associated with the subchannel.long
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 Details
-
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.
-