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:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,GetTopChannelsResponseOrBuilder
,Cloneable
- Enclosing class:
- GetTopChannelsResponse
public static final class GetTopChannelsResponse.Builder extends 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.Builder
addAllChannel(Iterable<? extends Channel> values)
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.GetTopChannelsResponse.Builder
addChannel(int index, 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(Channel.Builder builderForValue)
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.Builder
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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.GetTopChannelsResponse.Builder
clearField(Descriptors.FieldDescriptor field)
GetTopChannelsResponse.Builder
clearOneof(Descriptors.OneofDescriptor oneof)
GetTopChannelsResponse.Builder
clone()
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(Message other)
GetTopChannelsResponse.Builder
mergeFrom(GetTopChannelsResponse 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 value)
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
setEnd(boolean value)
If set, indicates that the list of channels is the final list.GetTopChannelsResponse.Builder
setField(Descriptors.FieldDescriptor field, Object value)
GetTopChannelsResponse.Builder
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
GetTopChannelsResponse.Builder
setUnknownFields(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
-
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
clear
public GetTopChannelsResponse.Builder clear()
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
getDefaultInstanceForType
public GetTopChannelsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public GetTopChannelsResponse build()
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public GetTopChannelsResponse buildPartial()
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
public GetTopChannelsResponse.Builder clone()
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
setField
public GetTopChannelsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
clearField
public GetTopChannelsResponse.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
clearOneof
public GetTopChannelsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
setRepeatedField
public GetTopChannelsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
addRepeatedField
public GetTopChannelsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
mergeFrom
public GetTopChannelsResponse.Builder mergeFrom(Message other)
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<GetTopChannelsResponse.Builder>
-
mergeFrom
public GetTopChannelsResponse.Builder mergeFrom(GetTopChannelsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
mergeFrom
public GetTopChannelsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.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:
getChannelList
in 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:
getChannelCount
in 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:
getChannel
in 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:
getChannelOrBuilder
in 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:
getChannelOrBuilderList
in 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:
getEnd
in 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(UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
mergeUnknownFields
public final GetTopChannelsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
-
-