Class GetTopChannelsResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
      • clear

        public GetTopChannelsResponse.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
      • getDefaultInstanceForType

        public GetTopChannelsResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public GetTopChannelsResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public GetTopChannelsResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public GetTopChannelsResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
      • clearField

        public GetTopChannelsResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
      • clearOneof

        public GetTopChannelsResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
      • setRepeatedField

        public GetTopChannelsResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
      • addRepeatedField

        public GetTopChannelsResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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:
        getChannelList in interface GetTopChannelsResponseOrBuilder
      • 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 interface GetTopChannelsResponseOrBuilder
      • 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 interface GetTopChannelsResponseOrBuilder
      • 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 interface GetTopChannelsResponseOrBuilder
      • 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 interface GetTopChannelsResponseOrBuilder
      • 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 interface GetTopChannelsResponseOrBuilder
        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:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>
      • mergeUnknownFields

        public final GetTopChannelsResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetTopChannelsResponse.Builder>