public interface CreateIntentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Intent |
getIntent()
Required.
|
IntentOrBuilder |
getIntentOrBuilder()
Required.
|
String |
getLanguageCode()
The language of the following fields in `intent`:
* `Intent.training_phrases.parts.text`
If not specified, the agent's default language is used.
|
com.google.protobuf.ByteString |
getLanguageCodeBytes()
The language of the following fields in `intent`:
* `Intent.training_phrases.parts.text`
If not specified, the agent's default language is used.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
boolean |
hasIntent()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getParent()
Required. The agent to create an intent for. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getParentBytes()
Required. The agent to create an intent for. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasIntent()
Required. The intent to create.
.google.cloud.dialogflow.cx.v3.Intent intent = 2 [(.google.api.field_behavior) = REQUIRED];
Intent getIntent()
Required. The intent to create.
.google.cloud.dialogflow.cx.v3.Intent intent = 2 [(.google.api.field_behavior) = REQUIRED];
IntentOrBuilder getIntentOrBuilder()
Required. The intent to create.
.google.cloud.dialogflow.cx.v3.Intent intent = 2 [(.google.api.field_behavior) = REQUIRED];
String getLanguageCode()
The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
string language_code = 3;com.google.protobuf.ByteString getLanguageCodeBytes()
The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
string language_code = 3;Copyright © 2025 Google LLC. All rights reserved.