Send feedback
Class CreatePageRequest (0.42.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.42.0 keyboard_arrow_down
public final class CreatePageRequest extends GeneratedMessageV3 implements CreatePageRequestOrBuilder
The request message for
Pages.CreatePage .
Protobuf type google.cloud.dialogflow.cx.v3beta1.CreatePageRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PAGE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PARENT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static CreatePageRequest getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static CreatePageRequest . Builder newBuilder ()
public static CreatePageRequest . Builder newBuilder ( CreatePageRequest prototype )
public static CreatePageRequest parseDelimitedFrom ( InputStream input )
public static CreatePageRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static CreatePageRequest parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static CreatePageRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static CreatePageRequest parseFrom ( ByteString data )
public static CreatePageRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static CreatePageRequest parseFrom ( CodedInputStream input )
public static CreatePageRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static CreatePageRequest parseFrom ( InputStream input )
public static CreatePageRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static CreatePageRequest parseFrom ( ByteBuffer data )
public static CreatePageRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<CreatePageRequest> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public CreatePageRequest getDefaultInstanceForType ()
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
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 = 3;
Returns
Type
Description
ByteString
The bytes for languageCode.
Required. The page to create.
.google.cloud.dialogflow.cx.v3beta1.Page page = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
Page
The page.
public PageOrBuilder getPageOrBuilder ()
Required. The page to create.
.google.cloud.dialogflow.cx.v3beta1.Page page = 2 [(.google.api.field_behavior) = REQUIRED];
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
Type
Description
String
The parent.
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
Type
Description
ByteString
The bytes for parent.
public Parser<CreatePageRequest> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
Required. The page to create.
.google.cloud.dialogflow.cx.v3beta1.Page page = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the page field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public CreatePageRequest . Builder newBuilderForType ()
protected CreatePageRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public CreatePageRequest . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]