Class ListChannelsResponse.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<ListChannelsResponse.Builder>
      • clear

        public ListChannelsResponse.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<ListChannelsResponse.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<ListChannelsResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public ListChannelsResponse.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<ListChannelsResponse.Builder>
      • setField

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

        public ListChannelsResponse.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<ListChannelsResponse.Builder>
      • clearOneof

        public ListChannelsResponse.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<ListChannelsResponse.Builder>
      • setRepeatedField

        public ListChannelsResponse.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<ListChannelsResponse.Builder>
      • addRepeatedField

        public ListChannelsResponse.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<ListChannelsResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListChannelsResponse.Builder>
      • mergeFrom

        public ListChannelsResponse.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<ListChannelsResponse.Builder>
        Throws:
        IOException
      • getChannelsCount

        public int getChannelsCount()
         The requested channels, up to the number specified in `page_size`.
         
        repeated .google.cloud.eventarc.v1.Channel channels = 1;
        Specified by:
        getChannelsCount in interface ListChannelsResponseOrBuilder
      • getChannels

        public Channel getChannels​(int index)
         The requested channels, up to the number specified in `page_size`.
         
        repeated .google.cloud.eventarc.v1.Channel channels = 1;
        Specified by:
        getChannels in interface ListChannelsResponseOrBuilder
      • setChannels

        public ListChannelsResponse.Builder setChannels​(int index,
                                                        Channel value)
         The requested channels, up to the number specified in `page_size`.
         
        repeated .google.cloud.eventarc.v1.Channel channels = 1;
      • setChannels

        public ListChannelsResponse.Builder setChannels​(int index,
                                                        Channel.Builder builderForValue)
         The requested channels, up to the number specified in `page_size`.
         
        repeated .google.cloud.eventarc.v1.Channel channels = 1;
      • addChannels

        public ListChannelsResponse.Builder addChannels​(Channel value)
         The requested channels, up to the number specified in `page_size`.
         
        repeated .google.cloud.eventarc.v1.Channel channels = 1;
      • addChannels

        public ListChannelsResponse.Builder addChannels​(int index,
                                                        Channel value)
         The requested channels, up to the number specified in `page_size`.
         
        repeated .google.cloud.eventarc.v1.Channel channels = 1;
      • addChannels

        public ListChannelsResponse.Builder addChannels​(Channel.Builder builderForValue)
         The requested channels, up to the number specified in `page_size`.
         
        repeated .google.cloud.eventarc.v1.Channel channels = 1;
      • addChannels

        public ListChannelsResponse.Builder addChannels​(int index,
                                                        Channel.Builder builderForValue)
         The requested channels, up to the number specified in `page_size`.
         
        repeated .google.cloud.eventarc.v1.Channel channels = 1;
      • addAllChannels

        public ListChannelsResponse.Builder addAllChannels​(Iterable<? extends Channel> values)
         The requested channels, up to the number specified in `page_size`.
         
        repeated .google.cloud.eventarc.v1.Channel channels = 1;
      • clearChannels

        public ListChannelsResponse.Builder clearChannels()
         The requested channels, up to the number specified in `page_size`.
         
        repeated .google.cloud.eventarc.v1.Channel channels = 1;
      • removeChannels

        public ListChannelsResponse.Builder removeChannels​(int index)
         The requested channels, up to the number specified in `page_size`.
         
        repeated .google.cloud.eventarc.v1.Channel channels = 1;
      • getChannelsBuilder

        public Channel.Builder getChannelsBuilder​(int index)
         The requested channels, up to the number specified in `page_size`.
         
        repeated .google.cloud.eventarc.v1.Channel channels = 1;
      • addChannelsBuilder

        public Channel.Builder addChannelsBuilder()
         The requested channels, up to the number specified in `page_size`.
         
        repeated .google.cloud.eventarc.v1.Channel channels = 1;
      • addChannelsBuilder

        public Channel.Builder addChannelsBuilder​(int index)
         The requested channels, up to the number specified in `page_size`.
         
        repeated .google.cloud.eventarc.v1.Channel channels = 1;
      • getChannelsBuilderList

        public List<Channel.Builder> getChannelsBuilderList()
         The requested channels, up to the number specified in `page_size`.
         
        repeated .google.cloud.eventarc.v1.Channel channels = 1;
      • getNextPageToken

        public String getNextPageToken()
         A page token that can be sent to `ListChannels` to request the next page.
         If this is empty, then there are no more pages.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListChannelsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         A page token that can be sent to `ListChannels` to request the next page.
         If this is empty, then there are no more pages.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListChannelsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListChannelsResponse.Builder setNextPageToken​(String value)
         A page token that can be sent to `ListChannels` to request the next page.
         If this is empty, then there are no more pages.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListChannelsResponse.Builder clearNextPageToken()
         A page token that can be sent to `ListChannels` to request the next page.
         If this is empty, then there are no more pages.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListChannelsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         A page token that can be sent to `ListChannels` to request the next page.
         If this is empty, then there are no more pages.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • getUnreachableList

        public com.google.protobuf.ProtocolStringList getUnreachableList()
         Unreachable resources, if any.
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachableList in interface ListChannelsResponseOrBuilder
        Returns:
        A list containing the unreachable.
      • getUnreachable

        public String getUnreachable​(int index)
         Unreachable resources, if any.
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachable in interface ListChannelsResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The unreachable at the given index.
      • getUnreachableBytes

        public com.google.protobuf.ByteString getUnreachableBytes​(int index)
         Unreachable resources, if any.
         
        repeated string unreachable = 3;
        Specified by:
        getUnreachableBytes in interface ListChannelsResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the unreachable at the given index.
      • setUnreachable

        public ListChannelsResponse.Builder setUnreachable​(int index,
                                                           String value)
         Unreachable resources, if any.
         
        repeated string unreachable = 3;
        Parameters:
        index - The index to set the value at.
        value - The unreachable to set.
        Returns:
        This builder for chaining.
      • addUnreachable

        public ListChannelsResponse.Builder addUnreachable​(String value)
         Unreachable resources, if any.
         
        repeated string unreachable = 3;
        Parameters:
        value - The unreachable to add.
        Returns:
        This builder for chaining.
      • addAllUnreachable

        public ListChannelsResponse.Builder addAllUnreachable​(Iterable<String> values)
         Unreachable resources, if any.
         
        repeated string unreachable = 3;
        Parameters:
        values - The unreachable to add.
        Returns:
        This builder for chaining.
      • clearUnreachable

        public ListChannelsResponse.Builder clearUnreachable()
         Unreachable resources, if any.
         
        repeated string unreachable = 3;
        Returns:
        This builder for chaining.
      • addUnreachableBytes

        public ListChannelsResponse.Builder addUnreachableBytes​(com.google.protobuf.ByteString value)
         Unreachable resources, if any.
         
        repeated string unreachable = 3;
        Parameters:
        value - The bytes of the unreachable to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ListChannelsResponse.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<ListChannelsResponse.Builder>
      • mergeUnknownFields

        public final ListChannelsResponse.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<ListChannelsResponse.Builder>