Class UpdatePageRequest.Builder (0.18.0)

public static final class UpdatePageRequest.Builder extends GeneratedMessageV3.Builder<UpdatePageRequest.Builder> implements UpdatePageRequestOrBuilder

The request message for Pages.UpdatePage.

Protobuf type google.cloud.dialogflow.cx.v3beta1.UpdatePageRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdatePageRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdatePageRequest.Builder
Overrides

build()

public UpdatePageRequest build()
Returns
Type Description
UpdatePageRequest

buildPartial()

public UpdatePageRequest buildPartial()
Returns
Type Description
UpdatePageRequest

clear()

public UpdatePageRequest.Builder clear()
Returns
Type Description
UpdatePageRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdatePageRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdatePageRequest.Builder
Overrides

clearLanguageCode()

public UpdatePageRequest.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 = 2;

Returns
Type Description
UpdatePageRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdatePageRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdatePageRequest.Builder
Overrides

clearPage()

public UpdatePageRequest.Builder clearPage()

Required. The page to update.

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

Returns
Type Description
UpdatePageRequest.Builder

clearUpdateMask()

public UpdatePageRequest.Builder clearUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
UpdatePageRequest.Builder

clone()

public UpdatePageRequest.Builder clone()
Returns
Type Description
UpdatePageRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdatePageRequest getDefaultInstanceForType()
Returns
Type Description
UpdatePageRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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 = 2;

Returns
Type Description
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 = 2;

Returns
Type Description
ByteString

The bytes for languageCode.

getPage()

public Page getPage()

Required. The page to update.

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

Returns
Type Description
Page

The page.

getPageBuilder()

public Page.Builder getPageBuilder()

Required. The page to update.

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

Returns
Type Description
Page.Builder

getPageOrBuilder()

public PageOrBuilder getPageOrBuilder()

Required. The page to update.

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

Returns
Type Description
PageOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMaskOrBuilder

hasPage()

public boolean hasPage()

Required. The page to update.

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

Returns
Type Description
boolean

Whether the page field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdatePageRequest other)

public UpdatePageRequest.Builder mergeFrom(UpdatePageRequest other)
Parameter
Name Description
other UpdatePageRequest
Returns
Type Description
UpdatePageRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdatePageRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdatePageRequest.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdatePageRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdatePageRequest.Builder
Overrides

mergePage(Page value)

public UpdatePageRequest.Builder mergePage(Page value)

Required. The page to update.

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

Parameter
Name Description
value Page
Returns
Type Description
UpdatePageRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdatePageRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdatePageRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdatePageRequest.Builder mergeUpdateMask(FieldMask value)

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdatePageRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdatePageRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdatePageRequest.Builder
Overrides

setLanguageCode(String value)

public UpdatePageRequest.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 = 2;

Parameter
Name Description
value String

The languageCode to set.

Returns
Type Description
UpdatePageRequest.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public UpdatePageRequest.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 = 2;

Parameter
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
UpdatePageRequest.Builder

This builder for chaining.

setPage(Page value)

public UpdatePageRequest.Builder setPage(Page value)

Required. The page to update.

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

Parameter
Name Description
value Page
Returns
Type Description
UpdatePageRequest.Builder

setPage(Page.Builder builderForValue)

public UpdatePageRequest.Builder setPage(Page.Builder builderForValue)

Required. The page to update.

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

Parameter
Name Description
builderForValue Page.Builder
Returns
Type Description
UpdatePageRequest.Builder

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

public UpdatePageRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdatePageRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdatePageRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdatePageRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdatePageRequest.Builder setUpdateMask(FieldMask value)

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdatePageRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdatePageRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdatePageRequest.Builder