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.GeneratedMessage.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
,java.lang.Cloneable
- Enclosing class:
- GetTopChannelsResponse
public static final class GetTopChannelsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetTopChannelsResponse.Builder> implements GetTopChannelsResponseOrBuilder
Protobuf typegrpc.channelz.v1.GetTopChannelsResponse
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private java.util.List<Channel>
channel_
private com.google.protobuf.RepeatedFieldBuilder<Channel,Channel.Builder,ChannelOrBuilder>
channelBuilder_
private boolean
end_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTopChannelsResponse.Builder
addAllChannel(java.lang.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
build()
GetTopChannelsResponse
buildPartial()
private void
buildPartial0(GetTopChannelsResponse result)
private void
buildPartialRepeatedFields(GetTopChannelsResponse result)
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.private void
ensureChannelIsMutable()
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.java.util.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.private com.google.protobuf.RepeatedFieldBuilder<Channel,Channel.Builder,ChannelOrBuilder>
getChannelFieldBuilder()
java.util.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.java.util.List<? extends ChannelOrBuilder>
getChannelOrBuilderList()
list of channels that the connection detail service knows about.GetTopChannelsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getEnd()
If set, indicates that the list of channels is the final list.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GetTopChannelsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GetTopChannelsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
GetTopChannelsResponse.Builder
mergeFrom(GetTopChannelsResponse other)
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.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
channel_
private java.util.List<Channel> channel_
-
channelBuilder_
private com.google.protobuf.RepeatedFieldBuilder<Channel,Channel.Builder,ChannelOrBuilder> channelBuilder_
-
end_
private boolean end_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<GetTopChannelsResponse.Builder>
-
clear
public GetTopChannelsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<GetTopChannelsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<GetTopChannelsResponse.Builder>
-
getDefaultInstanceForType
public GetTopChannelsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetTopChannelsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetTopChannelsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(GetTopChannelsResponse result)
-
buildPartial0
private void buildPartial0(GetTopChannelsResponse result)
-
mergeFrom
public GetTopChannelsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetTopChannelsResponse.Builder>
-
mergeFrom
public GetTopChannelsResponse.Builder mergeFrom(GetTopChannelsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<GetTopChannelsResponse.Builder>
-
mergeFrom
public GetTopChannelsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetTopChannelsResponse.Builder>
- Throws:
java.io.IOException
-
ensureChannelIsMutable
private void ensureChannelIsMutable()
-
getChannelList
public java.util.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(java.lang.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 java.util.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 java.util.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;
-
getChannelFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<Channel,Channel.Builder,ChannelOrBuilder> getChannelFieldBuilder()
-
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.
-
-