public final class GetPageRequest extends GeneratedMessageV3 implements GetPageRequestOrBuilder
The request message for
Pages.GetPage.
Protobuf type google.cloud.dialogflow.cx.v3beta1.GetPageRequest
Static Fields
public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
public static GetPageRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static GetPageRequest.Builder newBuilder()
Returns
public static GetPageRequest.Builder newBuilder(GetPageRequest prototype)
Parameter
Returns
public static GetPageRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GetPageRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetPageRequest parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
public static GetPageRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetPageRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static GetPageRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetPageRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GetPageRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetPageRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GetPageRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetPageRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static GetPageRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<GetPageRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public GetPageRequest getDefaultInstanceForType()
Returns
public String getLanguageCode()
The language to retrieve the page for. The following fields are language
dependent:
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 to retrieve the page for. The following fields are language
dependent:
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 name of the page.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Required. The name of the page.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public Parser<GetPageRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public GetPageRequest.Builder newBuilderForType()
Returns
protected GetPageRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public GetPageRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions