Package io.grpc.channelz.v1
Interface GetChannelResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetChannelResponse
,GetChannelResponse.Builder
public interface GetChannelResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe Channel that corresponds to the requested channel_id.The Channel that corresponds to the requested channel_id.boolean
The Channel that corresponds to the requested channel_id.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
-
hasChannel
boolean hasChannel()The Channel that corresponds to the requested channel_id. This field should be set.
.grpc.channelz.v1.Channel channel = 1;
- Returns:
- Whether the channel field is set.
-
getChannel
Channel getChannel()The Channel that corresponds to the requested channel_id. This field should be set.
.grpc.channelz.v1.Channel channel = 1;
- Returns:
- The channel.
-
getChannelOrBuilder
ChannelOrBuilder getChannelOrBuilder()The Channel that corresponds to the requested channel_id. This field should be set.
.grpc.channelz.v1.Channel channel = 1;
-