Class CreatePageRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreatePageRequest.Builder>
com.google.cloud.dialogflow.cx.v3beta1.CreatePageRequest.Builder
All Implemented Interfaces:
CreatePageRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreatePageRequest

public static final class CreatePageRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreatePageRequest.Builder> implements CreatePageRequestOrBuilder
 The request message for
 [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage].
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.CreatePageRequest
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The language of the following fields in `page`: * `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.
    Required.
    Required.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The language of the following fields in `page`: * `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.
    com.google.protobuf.ByteString
    The language of the following fields in `page`: * `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.
    Required.
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Required.
    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)
     
    mergePage(Page value)
    Required.
    The language of the following fields in `page`: * `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.
    setLanguageCodeBytes(com.google.protobuf.ByteString value)
    The language of the following fields in `page`: * `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.
    setPage(Page value)
    Required.
    setPage(Page.Builder builderForValue)
    Required.
    Required.
    setParentBytes(com.google.protobuf.ByteString value)
    Required.

    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
  • Method Details

    • getDescriptor

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

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

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

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

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

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

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

      public CreatePageRequest.Builder mergeFrom(CreatePageRequest other)
    • isInitialized

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

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

      public String getParent()
       Required. The flow to create a page for.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreatePageRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The flow to create a page for.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreatePageRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreatePageRequest.Builder setParent(String value)
       Required. The flow to create a page for.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
       
      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 CreatePageRequest.Builder clearParent()
       Required. The flow to create a page for.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreatePageRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The flow to create a page for.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
       
      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.
    • hasPage

      public boolean hasPage()
       Required. The page to create.
       
      .google.cloud.dialogflow.cx.v3beta1.Page page = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasPage in interface CreatePageRequestOrBuilder
      Returns:
      Whether the page field is set.
    • getPage

      public Page getPage()
       Required. The page to create.
       
      .google.cloud.dialogflow.cx.v3beta1.Page page = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPage in interface CreatePageRequestOrBuilder
      Returns:
      The page.
    • setPage

      public CreatePageRequest.Builder setPage(Page value)
       Required. The page to create.
       
      .google.cloud.dialogflow.cx.v3beta1.Page page = 2 [(.google.api.field_behavior) = REQUIRED];
    • setPage

      public CreatePageRequest.Builder setPage(Page.Builder builderForValue)
       Required. The page to create.
       
      .google.cloud.dialogflow.cx.v3beta1.Page page = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergePage

      public CreatePageRequest.Builder mergePage(Page value)
       Required. The page to create.
       
      .google.cloud.dialogflow.cx.v3beta1.Page page = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearPage

      public CreatePageRequest.Builder clearPage()
       Required. The page to create.
       
      .google.cloud.dialogflow.cx.v3beta1.Page page = 2 [(.google.api.field_behavior) = REQUIRED];
    • getPageBuilder

      public Page.Builder getPageBuilder()
       Required. The page to create.
       
      .google.cloud.dialogflow.cx.v3beta1.Page page = 2 [(.google.api.field_behavior) = REQUIRED];
    • getPageOrBuilder

      public PageOrBuilder getPageOrBuilder()
       Required. The page to create.
       
      .google.cloud.dialogflow.cx.v3beta1.Page page = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPageOrBuilder in interface CreatePageRequestOrBuilder
    • getLanguageCode

      public String getLanguageCode()
       The language of the following fields in `page`:
      
       *  `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 = 3;
      Specified by:
      getLanguageCode in interface CreatePageRequestOrBuilder
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      public com.google.protobuf.ByteString getLanguageCodeBytes()
       The language of the following fields in `page`:
      
       *  `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 = 3;
      Specified by:
      getLanguageCodeBytes in interface CreatePageRequestOrBuilder
      Returns:
      The bytes for languageCode.
    • setLanguageCode

      public CreatePageRequest.Builder setLanguageCode(String value)
       The language of the following fields in `page`:
      
       *  `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 = 3;
      Parameters:
      value - The languageCode to set.
      Returns:
      This builder for chaining.
    • clearLanguageCode

      public CreatePageRequest.Builder clearLanguageCode()
       The language of the following fields in `page`:
      
       *  `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 = 3;
      Returns:
      This builder for chaining.
    • setLanguageCodeBytes

      public CreatePageRequest.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
       The language of the following fields in `page`:
      
       *  `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 = 3;
      Parameters:
      value - The bytes for languageCode to set.
      Returns:
      This builder for chaining.