public final class UpdatePageRequest extends GeneratedMessageV3 implements UpdatePageRequestOrBuilder
The request message for Pages.UpdatePage.
Protobuf type google.cloud.dialogflow.cx.v3.UpdatePageRequest
Static Fields
public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
public static final int PAGE_FIELD_NUMBER
Field Value
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Static Methods
public static UpdatePageRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static UpdatePageRequest.Builder newBuilder()
Returns
public static UpdatePageRequest.Builder newBuilder(UpdatePageRequest prototype)
Parameter
Returns
public static UpdatePageRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdatePageRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdatePageRequest parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
public static UpdatePageRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdatePageRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static UpdatePageRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdatePageRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdatePageRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdatePageRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdatePageRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdatePageRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static UpdatePageRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<UpdatePageRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public UpdatePageRequest getDefaultInstanceForType()
Returns
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.v3.Page page = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
Page |
The page.
|
public PageOrBuilder getPageOrBuilder()
Required. The page to update.
.google.cloud.dialogflow.cx.v3.Page page = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public Parser<UpdatePageRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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 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.v3.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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UpdatePageRequest.Builder newBuilderForType()
Returns
protected UpdatePageRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public UpdatePageRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions