Class ListPagesRequest.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public ListPagesRequest.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<ListPagesRequest.Builder>
        Throws:
        IOException
      • getParent

        public String getParent()
         Required. The flow to list all pages for.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface ListPagesRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The flow to list all pages for.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface ListPagesRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ListPagesRequest.Builder setParent​(String value)
         Required. The flow to list all pages for.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public ListPagesRequest.Builder clearParent()
         Required. The flow to list all pages for.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public ListPagesRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The flow to list all pages for.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getLanguageCode

        public String getLanguageCode()
         The language to list pages for. The following fields are language
         dependent:
        
         *  `Page.entry_fulfillment.messages`
         *  `Page.entry_fulfillment.conditional_cases`
         *  `Page.event_handlers.trigger_fulfillment.messages`
         *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
         *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
         *
         `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
         *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
         *
         `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
         *  `Page.transition_routes.trigger_fulfillment.messages`
         *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
        
         If not specified, the agent's default language is used.
         [Many
         languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
         are supported.
         Note: languages must be enabled in the agent before they can be used.
         
        string language_code = 2;
        Specified by:
        getLanguageCode in interface ListPagesRequestOrBuilder
        Returns:
        The languageCode.
      • getLanguageCodeBytes

        public com.google.protobuf.ByteString getLanguageCodeBytes()
         The language to list pages for. The following fields are language
         dependent:
        
         *  `Page.entry_fulfillment.messages`
         *  `Page.entry_fulfillment.conditional_cases`
         *  `Page.event_handlers.trigger_fulfillment.messages`
         *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
         *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
         *
         `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
         *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
         *
         `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
         *  `Page.transition_routes.trigger_fulfillment.messages`
         *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
        
         If not specified, the agent's default language is used.
         [Many
         languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
         are supported.
         Note: languages must be enabled in the agent before they can be used.
         
        string language_code = 2;
        Specified by:
        getLanguageCodeBytes in interface ListPagesRequestOrBuilder
        Returns:
        The bytes for languageCode.
      • setLanguageCode

        public ListPagesRequest.Builder setLanguageCode​(String value)
         The language to list pages for. The following fields are language
         dependent:
        
         *  `Page.entry_fulfillment.messages`
         *  `Page.entry_fulfillment.conditional_cases`
         *  `Page.event_handlers.trigger_fulfillment.messages`
         *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
         *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
         *
         `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
         *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
         *
         `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
         *  `Page.transition_routes.trigger_fulfillment.messages`
         *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
        
         If not specified, the agent's default language is used.
         [Many
         languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
         are supported.
         Note: languages must be enabled in the agent before they can be used.
         
        string language_code = 2;
        Parameters:
        value - The languageCode to set.
        Returns:
        This builder for chaining.
      • clearLanguageCode

        public ListPagesRequest.Builder clearLanguageCode()
         The language to list pages for. The following fields are language
         dependent:
        
         *  `Page.entry_fulfillment.messages`
         *  `Page.entry_fulfillment.conditional_cases`
         *  `Page.event_handlers.trigger_fulfillment.messages`
         *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
         *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
         *
         `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
         *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
         *
         `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
         *  `Page.transition_routes.trigger_fulfillment.messages`
         *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
        
         If not specified, the agent's default language is used.
         [Many
         languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
         are supported.
         Note: languages must be enabled in the agent before they can be used.
         
        string language_code = 2;
        Returns:
        This builder for chaining.
      • setLanguageCodeBytes

        public ListPagesRequest.Builder setLanguageCodeBytes​(com.google.protobuf.ByteString value)
         The language to list pages for. The following fields are language
         dependent:
        
         *  `Page.entry_fulfillment.messages`
         *  `Page.entry_fulfillment.conditional_cases`
         *  `Page.event_handlers.trigger_fulfillment.messages`
         *  `Page.event_handlers.trigger_fulfillment.conditional_cases`
         *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
         *
         `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
         *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
         *
         `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
         *  `Page.transition_routes.trigger_fulfillment.messages`
         *  `Page.transition_routes.trigger_fulfillment.conditional_cases`
        
         If not specified, the agent's default language is used.
         [Many
         languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
         are supported.
         Note: languages must be enabled in the agent before they can be used.
         
        string language_code = 2;
        Parameters:
        value - The bytes for languageCode to set.
        Returns:
        This builder for chaining.
      • getPageSize

        public int getPageSize()
         The maximum number of items to return in a single page. By default 100 and
         at most 1000.
         
        int32 page_size = 3;
        Specified by:
        getPageSize in interface ListPagesRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public ListPagesRequest.Builder setPageSize​(int value)
         The maximum number of items to return in a single page. By default 100 and
         at most 1000.
         
        int32 page_size = 3;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public ListPagesRequest.Builder clearPageSize()
         The maximum number of items to return in a single page. By default 100 and
         at most 1000.
         
        int32 page_size = 3;
        Returns:
        This builder for chaining.
      • getPageToken

        public String getPageToken()
         The next_page_token value returned from a previous list request.
         
        string page_token = 4;
        Specified by:
        getPageToken in interface ListPagesRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         The next_page_token value returned from a previous list request.
         
        string page_token = 4;
        Specified by:
        getPageTokenBytes in interface ListPagesRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListPagesRequest.Builder setPageToken​(String value)
         The next_page_token value returned from a previous list request.
         
        string page_token = 4;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListPagesRequest.Builder clearPageToken()
         The next_page_token value returned from a previous list request.
         
        string page_token = 4;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListPagesRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         The next_page_token value returned from a previous list request.
         
        string page_token = 4;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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