Package io.grpc.channelz.v1
Class GetTopChannelsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetTopChannelsResponse.Builder>
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,Cloneable
- Enclosing class:
GetTopChannelsResponse
public static final class GetTopChannelsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GetTopChannelsResponse.Builder>
implements GetTopChannelsResponseOrBuilder
Protobuf type
grpc.channelz.v1.GetTopChannelsResponse-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate com.google.protobuf.RepeatedFieldBuilder<Channel, Channel.Builder, ChannelOrBuilder> private boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllChannel(Iterable<? extends Channel> values) list of channels that the connection detail service knows about.addChannel(int index, Channel value) list of channels that the connection detail service knows about.addChannel(int index, Channel.Builder builderForValue) list of channels that the connection detail service knows about.addChannel(Channel value) list of channels that the connection detail service knows about.addChannel(Channel.Builder builderForValue) list of channels that the connection detail service knows about.list of channels that the connection detail service knows about.addChannelBuilder(int index) list of channels that the connection detail service knows about.build()private voidbuildPartial0(GetTopChannelsResponse result) private voidclear()list of channels that the connection detail service knows about.clearEnd()If set, indicates that the list of channels is the final list.private voidgetChannel(int index) list of channels that the connection detail service knows about.getChannelBuilder(int index) list of channels that the connection detail service knows about.list of channels that the connection detail service knows about.intlist of channels that the connection detail service knows about.list of channels that the connection detail service knows about.getChannelOrBuilder(int index) list of channels that the connection detail service knows about.List<? extends ChannelOrBuilder> list of channels that the connection detail service knows about.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleangetEnd()If set, indicates that the list of channels is the final list.private com.google.protobuf.RepeatedFieldBuilder<Channel, Channel.Builder, ChannelOrBuilder> protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(GetTopChannelsResponse other) removeChannel(int index) list of channels that the connection detail service knows about.setChannel(int index, Channel value) list of channels that the connection detail service knows about.setChannel(int index, Channel.Builder builderForValue) list of channels that the connection detail service knows about.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
channel_
-
channelBuilder_
private com.google.protobuf.RepeatedFieldBuilder<Channel,Channel.Builder, channelBuilder_ChannelOrBuilder> -
end_
private boolean end_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GetTopChannelsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<GetTopChannelsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetTopChannelsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
-
ensureChannelIsMutable
private void ensureChannelIsMutable() -
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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; -
internalGetChannelFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<Channel,Channel.Builder, internalGetChannelFieldBuilder()ChannelOrBuilder> -
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
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
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.
-