Class CreatePageRequest.Builder (0.14.2)

public static final class CreatePageRequest.Builder extends GeneratedMessageV3.Builder<CreatePageRequest.Builder> implements CreatePageRequestOrBuilder

The request message for Pages.CreatePage.

Protobuf type google.cloud.dialogflow.cx.v3.CreatePageRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreatePageRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreatePageRequest.Builder
Overrides

build()

public CreatePageRequest build()
Returns
TypeDescription
CreatePageRequest

buildPartial()

public CreatePageRequest buildPartial()
Returns
TypeDescription
CreatePageRequest

clear()

public CreatePageRequest.Builder clear()
Returns
TypeDescription
CreatePageRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreatePageRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreatePageRequest.Builder
Overrides

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 are supported. Note: languages must be enabled in the agent before they can be used.

string language_code = 3;

Returns
TypeDescription
CreatePageRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreatePageRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreatePageRequest.Builder
Overrides

clearPage()

public CreatePageRequest.Builder clearPage()

Required. The page to create.

.google.cloud.dialogflow.cx.v3.Page page = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreatePageRequest.Builder

clearParent()

public CreatePageRequest.Builder clearParent()

Required. The flow to create a page 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
TypeDescription
CreatePageRequest.Builder

This builder for chaining.

clone()

public CreatePageRequest.Builder clone()
Returns
TypeDescription
CreatePageRequest.Builder
Overrides

getDefaultInstanceForType()

public CreatePageRequest getDefaultInstanceForType()
Returns
TypeDescription
CreatePageRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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 are supported. Note: languages must be enabled in the agent before they can be used.

string language_code = 3;

Returns
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public 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 are supported. Note: languages must be enabled in the agent before they can be used.

string language_code = 3;

Returns
TypeDescription
ByteString

The bytes for languageCode.

getPage()

public Page getPage()

Required. The page to create.

.google.cloud.dialogflow.cx.v3.Page page = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Page

The page.

getPageBuilder()

public Page.Builder getPageBuilder()

Required. The page to create.

.google.cloud.dialogflow.cx.v3.Page page = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Page.Builder

getPageOrBuilder()

public PageOrBuilder getPageOrBuilder()

Required. The page to create.

.google.cloud.dialogflow.cx.v3.Page page = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PageOrBuilder

getParent()

public String getParent()

Required. The flow to create a page 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
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The flow to create a page 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
TypeDescription
ByteString

The bytes for parent.

hasPage()

public boolean hasPage()

Required. The page to create.

.google.cloud.dialogflow.cx.v3.Page page = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the page field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreatePageRequest other)

public CreatePageRequest.Builder mergeFrom(CreatePageRequest other)
Parameter
NameDescription
otherCreatePageRequest
Returns
TypeDescription
CreatePageRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreatePageRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreatePageRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreatePageRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreatePageRequest.Builder
Overrides

mergePage(Page value)

public CreatePageRequest.Builder mergePage(Page value)

Required. The page to create.

.google.cloud.dialogflow.cx.v3.Page page = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuePage
Returns
TypeDescription
CreatePageRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreatePageRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreatePageRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreatePageRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreatePageRequest.Builder
Overrides

setLanguageCode(String value)

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 are supported. Note: languages must be enabled in the agent before they can be used.

string language_code = 3;

Parameter
NameDescription
valueString

The languageCode to set.

Returns
TypeDescription
CreatePageRequest.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public CreatePageRequest.Builder setLanguageCodeBytes(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 are supported. Note: languages must be enabled in the agent before they can be used.

string language_code = 3;

Parameter
NameDescription
valueByteString

The bytes for languageCode to set.

Returns
TypeDescription
CreatePageRequest.Builder

This builder for chaining.

setPage(Page value)

public CreatePageRequest.Builder setPage(Page value)

Required. The page to create.

.google.cloud.dialogflow.cx.v3.Page page = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuePage
Returns
TypeDescription
CreatePageRequest.Builder

setPage(Page.Builder builderForValue)

public CreatePageRequest.Builder setPage(Page.Builder builderForValue)

Required. The page to create.

.google.cloud.dialogflow.cx.v3.Page page = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValuePage.Builder
Returns
TypeDescription
CreatePageRequest.Builder

setParent(String value)

public CreatePageRequest.Builder setParent(String value)

Required. The flow to create a page 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) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreatePageRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreatePageRequest.Builder setParentBytes(ByteString value)

Required. The flow to create a page 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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreatePageRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreatePageRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreatePageRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreatePageRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreatePageRequest.Builder
Overrides