public static final class GetTopChannelsResponse.Builder extends GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder> implements GetTopChannelsResponseOrBuilder
grpc.channelz.v1.GetTopChannelsResponse
Modifier and Type | Method and Description |
---|---|
GetTopChannelsResponse.Builder |
addAllChannel(Iterable<? extends Channel> values)
list of channels that the connection detail service knows about.
|
GetTopChannelsResponse.Builder |
addChannel(Channel.Builder builderForValue)
list of channels that the connection detail service knows about.
|
GetTopChannelsResponse.Builder |
addChannel(Channel value)
list of channels that the connection detail service knows about.
|
GetTopChannelsResponse.Builder |
addChannel(int index,
Channel.Builder builderForValue)
list of channels that the connection detail service knows about.
|
GetTopChannelsResponse.Builder |
addChannel(int index,
Channel value)
list of channels that the connection detail service knows about.
|
Channel.Builder |
addChannelBuilder()
list of channels that the connection detail service knows about.
|
Channel.Builder |
addChannelBuilder(int index)
list of channels that the connection detail service knows about.
|
GetTopChannelsResponse |
build() |
GetTopChannelsResponse |
buildPartial() |
GetTopChannelsResponse.Builder |
clear() |
GetTopChannelsResponse.Builder |
clearChannel()
list of channels that the connection detail service knows about.
|
GetTopChannelsResponse.Builder |
clearEnd()
If set, indicates that the list of channels is the final list.
|
Channel |
getChannel(int index)
list of channels that the connection detail service knows about.
|
Channel.Builder |
getChannelBuilder(int index)
list of channels that the connection detail service knows about.
|
List<Channel.Builder> |
getChannelBuilderList()
list of channels that the connection detail service knows about.
|
int |
getChannelCount()
list of channels that the connection detail service knows about.
|
List<Channel> |
getChannelList()
list of channels that the connection detail service knows about.
|
ChannelOrBuilder |
getChannelOrBuilder(int index)
list of channels that the connection detail service knows about.
|
List<? extends ChannelOrBuilder> |
getChannelOrBuilderList()
list of channels that the connection detail service knows about.
|
GetTopChannelsResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getEnd()
If set, indicates that the list of channels is the final list.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GetTopChannelsResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
GetTopChannelsResponse.Builder |
mergeFrom(GetTopChannelsResponse other) |
GetTopChannelsResponse.Builder |
mergeFrom(Message other) |
GetTopChannelsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
GetTopChannelsResponse.Builder |
removeChannel(int index)
list of channels that the connection detail service knows about.
|
GetTopChannelsResponse.Builder |
setChannel(int index,
Channel.Builder builderForValue)
list of channels that the connection detail service knows about.
|
GetTopChannelsResponse.Builder |
setChannel(int index,
Channel value)
list of channels that the connection detail service knows about.
|
GetTopChannelsResponse.Builder |
setEnd(boolean value)
If set, indicates that the list of channels is the final list.
|
GetTopChannelsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
public GetTopChannelsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
public GetTopChannelsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public GetTopChannelsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public GetTopChannelsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public GetTopChannelsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<GetTopChannelsResponse.Builder>
public GetTopChannelsResponse.Builder mergeFrom(GetTopChannelsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
public GetTopChannelsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<GetTopChannelsResponse.Builder>
IOException
public List<Channel> getChannelList()
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
getChannelList
in interface GetTopChannelsResponseOrBuilder
public int getChannelCount()
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
getChannelCount
in interface GetTopChannelsResponseOrBuilder
public Channel getChannel(int index)
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
getChannel
in interface GetTopChannelsResponseOrBuilder
public GetTopChannelsResponse.Builder setChannel(int index, Channel value)
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
public GetTopChannelsResponse.Builder setChannel(int index, Channel.Builder builderForValue)
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
public GetTopChannelsResponse.Builder addChannel(Channel value)
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
public GetTopChannelsResponse.Builder addChannel(int index, Channel value)
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
public GetTopChannelsResponse.Builder addChannel(Channel.Builder builderForValue)
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
public GetTopChannelsResponse.Builder addChannel(int index, Channel.Builder builderForValue)
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
public GetTopChannelsResponse.Builder addAllChannel(Iterable<? extends Channel> values)
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
public GetTopChannelsResponse.Builder clearChannel()
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
public GetTopChannelsResponse.Builder removeChannel(int index)
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
public Channel.Builder getChannelBuilder(int index)
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
public ChannelOrBuilder getChannelOrBuilder(int index)
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
getChannelOrBuilder
in interface GetTopChannelsResponseOrBuilder
public List<? extends ChannelOrBuilder> getChannelOrBuilderList()
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
getChannelOrBuilderList
in interface GetTopChannelsResponseOrBuilder
public Channel.Builder addChannelBuilder()
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
public Channel.Builder addChannelBuilder(int index)
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
public List<Channel.Builder> getChannelBuilderList()
list of channels that the connection detail service knows about. Sorted in ascending channel_id order. Must contain at least 1 result, otherwise 'end' must be true.
repeated .grpc.channelz.v1.Channel channel = 1;
public boolean getEnd()
If set, indicates that the list of channels is the final list. Requesting more channels can only return more if they are created after this RPC completes.
bool end = 2;
getEnd
in interface GetTopChannelsResponseOrBuilder
public GetTopChannelsResponse.Builder setEnd(boolean value)
If set, indicates that the list of channels is the final list. Requesting more channels can only return more if they are created after this RPC completes.
bool end = 2;
value
- The end to set.public GetTopChannelsResponse.Builder clearEnd()
If set, indicates that the list of channels is the final list. Requesting more channels can only return more if they are created after this RPC completes.
bool end = 2;
public final GetTopChannelsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
public final GetTopChannelsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>