Package io.grpc.channelz.v1
Class GetTopChannelsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
- io.grpc.channelz.v1.GetTopChannelsResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GetTopChannelsResponseOrBuilder,Cloneable
- Enclosing class:
- GetTopChannelsResponse
public static final class GetTopChannelsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder> implements GetTopChannelsResponseOrBuilder
Protobuf typegrpc.channelz.v1.GetTopChannelsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTopChannelsResponse.BuilderaddAllChannel(Iterable<? extends Channel> values)list of channels that the connection detail service knows about.GetTopChannelsResponse.BuilderaddChannel(int index, Channel value)list of channels that the connection detail service knows about.GetTopChannelsResponse.BuilderaddChannel(int index, Channel.Builder builderForValue)list of channels that the connection detail service knows about.GetTopChannelsResponse.BuilderaddChannel(Channel value)list of channels that the connection detail service knows about.GetTopChannelsResponse.BuilderaddChannel(Channel.Builder builderForValue)list of channels that the connection detail service knows about.Channel.BuilderaddChannelBuilder()list of channels that the connection detail service knows about.Channel.BuilderaddChannelBuilder(int index)list of channels that the connection detail service knows about.GetTopChannelsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GetTopChannelsResponsebuild()GetTopChannelsResponsebuildPartial()GetTopChannelsResponse.Builderclear()GetTopChannelsResponse.BuilderclearChannel()list of channels that the connection detail service knows about.GetTopChannelsResponse.BuilderclearEnd()If set, indicates that the list of channels is the final list.GetTopChannelsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GetTopChannelsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GetTopChannelsResponse.Builderclone()ChannelgetChannel(int index)list of channels that the connection detail service knows about.Channel.BuildergetChannelBuilder(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.intgetChannelCount()list of channels that the connection detail service knows about.List<Channel>getChannelList()list of channels that the connection detail service knows about.ChannelOrBuildergetChannelOrBuilder(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.GetTopChannelsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetEnd()If set, indicates that the list of channels is the final list.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GetTopChannelsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GetTopChannelsResponse.BuildermergeFrom(com.google.protobuf.Message other)GetTopChannelsResponse.BuildermergeFrom(GetTopChannelsResponse other)GetTopChannelsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GetTopChannelsResponse.BuilderremoveChannel(int index)list of channels that the connection detail service knows about.GetTopChannelsResponse.BuildersetChannel(int index, Channel value)list of channels that the connection detail service knows about.GetTopChannelsResponse.BuildersetChannel(int index, Channel.Builder builderForValue)list of channels that the connection detail service knows about.GetTopChannelsResponse.BuildersetEnd(boolean value)If set, indicates that the list of channels is the final list.GetTopChannelsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GetTopChannelsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)GetTopChannelsResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
clear
public GetTopChannelsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
getDefaultInstanceForType
public GetTopChannelsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetTopChannelsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetTopChannelsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GetTopChannelsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
setField
public GetTopChannelsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
clearField
public GetTopChannelsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
clearOneof
public GetTopChannelsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
setRepeatedField
public GetTopChannelsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
addRepeatedField
public GetTopChannelsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
mergeFrom
public GetTopChannelsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetTopChannelsResponse.Builder>
-
mergeFrom
public GetTopChannelsResponse.Builder mergeFrom(GetTopChannelsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
mergeFrom
public GetTopChannelsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetTopChannelsResponse.Builder>- Throws:
IOException
-
getChannelList
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;- Specified by:
getChannelListin interfaceGetTopChannelsResponseOrBuilder
-
getChannelCount
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;- Specified by:
getChannelCountin interfaceGetTopChannelsResponseOrBuilder
-
getChannel
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;- Specified by:
getChannelin interfaceGetTopChannelsResponseOrBuilder
-
setChannel
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;
-
setChannel
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;
-
addChannel
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;
-
addChannel
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;
-
addChannel
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;
-
addChannel
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;
-
addAllChannel
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;
-
clearChannel
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;
-
removeChannel
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;
-
getChannelBuilder
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;
-
getChannelOrBuilder
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;- Specified by:
getChannelOrBuilderin interfaceGetTopChannelsResponseOrBuilder
-
getChannelOrBuilderList
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;- Specified by:
getChannelOrBuilderListin interfaceGetTopChannelsResponseOrBuilder
-
addChannelBuilder
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;
-
addChannelBuilder
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;
-
getChannelBuilderList
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;
-
getEnd
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;- Specified by:
getEndin interfaceGetTopChannelsResponseOrBuilder- Returns:
- The end.
-
setEnd
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;- Parameters:
value- The end to set.- Returns:
- This builder for chaining.
-
clearEnd
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;- Returns:
- This builder for chaining.
-
setUnknownFields
public final GetTopChannelsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
mergeUnknownFields
public final GetTopChannelsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
-