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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public UpdatePageRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UpdatePageRequest build()
Returns
public UpdatePageRequest buildPartial()
Returns
public UpdatePageRequest.Builder clear()
Returns
Overrides
public UpdatePageRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
public UpdatePageRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public UpdatePageRequest.Builder clearPage()
Required. The page to update.
.google.cloud.dialogflow.cx.v3beta1.Page page = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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
public UpdatePageRequest.Builder clone()
Returns
Overrides
public UpdatePageRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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.
|
Required. The page to update.
.google.cloud.dialogflow.cx.v3beta1.Page page = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
Page |
The page.
|
public Page.Builder getPageBuilder()
Required. The page to update.
.google.cloud.dialogflow.cx.v3beta1.Page page = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public PageOrBuilder getPageOrBuilder()
Required. The page to update.
.google.cloud.dialogflow.cx.v3beta1.Page page = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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
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
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UpdatePageRequest.Builder mergeFrom(UpdatePageRequest other)
Parameter
Returns
public UpdatePageRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public UpdatePageRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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
public final UpdatePageRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
public UpdatePageRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
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
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
Returns
public UpdatePageRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final UpdatePageRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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