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 int
private 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 void
buildPartial0
(GetTopChannelsResponse result) private void
clear()
list of channels that the connection detail service knows about.clearEnd()
If set, indicates that the list of channels is the final list.private void
getChannel
(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.int
list 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.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
getEnd()
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.FieldAccessorTable
final boolean
mergeFrom
(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, 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
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<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
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetTopChannelsResponse.Builder>
-
mergeFrom
-
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 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:
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:
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
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
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:
getChannelOrBuilder
in 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:
getChannelOrBuilderList
in 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:
getEnd
in 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.
-