Class ListPagesResponse.Builder

  • All Implemented Interfaces:
    ListPagesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ListPagesResponse

    public static final class ListPagesResponse.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ListPagesResponse.Builder>
    implements ListPagesResponseOrBuilder
     The response message for
     [Pages.ListPages][google.cloud.dialogflow.cx.v3.Pages.ListPages].
     
    Protobuf type google.cloud.dialogflow.cx.v3.ListPagesResponse
    • 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<ListPagesResponse.Builder>
      • clear

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

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

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

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

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

        public ListPagesResponse.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<ListPagesResponse.Builder>
      • clearField

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

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

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

        public ListPagesResponse.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<ListPagesResponse.Builder>
      • mergeFrom

        public ListPagesResponse.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListPagesResponse.Builder>
      • isInitialized

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

        public ListPagesResponse.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<ListPagesResponse.Builder>
        Throws:
        IOException
      • getPagesList

        public List<Page> getPagesList()
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
        Specified by:
        getPagesList in interface ListPagesResponseOrBuilder
      • getPagesCount

        public int getPagesCount()
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
        Specified by:
        getPagesCount in interface ListPagesResponseOrBuilder
      • getPages

        public Page getPages​(int index)
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
        Specified by:
        getPages in interface ListPagesResponseOrBuilder
      • setPages

        public ListPagesResponse.Builder setPages​(int index,
                                                  Page value)
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
      • setPages

        public ListPagesResponse.Builder setPages​(int index,
                                                  Page.Builder builderForValue)
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
      • addPages

        public ListPagesResponse.Builder addPages​(Page value)
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
      • addPages

        public ListPagesResponse.Builder addPages​(int index,
                                                  Page value)
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
      • addPages

        public ListPagesResponse.Builder addPages​(Page.Builder builderForValue)
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
      • addPages

        public ListPagesResponse.Builder addPages​(int index,
                                                  Page.Builder builderForValue)
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
      • addAllPages

        public ListPagesResponse.Builder addAllPages​(Iterable<? extends Page> values)
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
      • clearPages

        public ListPagesResponse.Builder clearPages()
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
      • removePages

        public ListPagesResponse.Builder removePages​(int index)
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
      • getPagesBuilder

        public Page.Builder getPagesBuilder​(int index)
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
      • getPagesOrBuilder

        public PageOrBuilder getPagesOrBuilder​(int index)
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
        Specified by:
        getPagesOrBuilder in interface ListPagesResponseOrBuilder
      • getPagesOrBuilderList

        public List<? extends PageOrBuilder> getPagesOrBuilderList()
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
        Specified by:
        getPagesOrBuilderList in interface ListPagesResponseOrBuilder
      • addPagesBuilder

        public Page.Builder addPagesBuilder()
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
      • addPagesBuilder

        public Page.Builder addPagesBuilder​(int index)
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
      • getPagesBuilderList

        public List<Page.Builder> getPagesBuilderList()
         The list of pages. There will be a maximum number of items returned based
         on the page_size field in the request.
         
        repeated .google.cloud.dialogflow.cx.v3.Page pages = 1;
      • getNextPageToken

        public String getNextPageToken()
         Token to retrieve the next page of results, or empty if there are no more
         results in the list.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListPagesResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         Token to retrieve the next page of results, or empty if there are no more
         results in the list.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListPagesResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListPagesResponse.Builder setNextPageToken​(String value)
         Token to retrieve the next page of results, or empty if there are no more
         results in the list.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListPagesResponse.Builder clearNextPageToken()
         Token to retrieve the next page of results, or empty if there are no more
         results in the list.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListPagesResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         Token to retrieve the next page of results, or empty if there are no more
         results in the list.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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