public interface CreateIntentRequestOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Intent |
getIntent()
Required.
|
IntentOrBuilder |
getIntentOrBuilder()
Required.
|
IntentView |
getIntentView()
Optional.
|
int |
getIntentViewValue()
Optional.
|
java.lang.String |
getLanguageCode()
Optional.
|
ByteString |
getLanguageCodeBytes()
Optional.
|
java.lang.String |
getParent()
Required.
|
ByteString |
getParentBytes()
Required.
|
boolean |
hasIntent()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedjava.lang.String getParent()
Required. The agent to create a intent for. Format: `projects/<Project ID>/agent`.
string parent = 1;ByteString getParentBytes()
Required. The agent to create a intent for. Format: `projects/<Project ID>/agent`.
string parent = 1;boolean hasIntent()
Required. The intent to create.
.google.cloud.dialogflow.v2beta1.Intent intent = 2;Intent getIntent()
Required. The intent to create.
.google.cloud.dialogflow.v2beta1.Intent intent = 2;IntentOrBuilder getIntentOrBuilder()
Required. The intent to create.
.google.cloud.dialogflow.v2beta1.Intent intent = 2;java.lang.String getLanguageCode()
Optional. The language of training phrases, parameters and rich messages defined in `intent`. If not specified, the agent's default language is used. [More than a dozen languages](https://dialogflow.com/docs/reference/language) are supported. Note: languages must be enabled in the agent, before they can be used.
string language_code = 3;ByteString getLanguageCodeBytes()
Optional. The language of training phrases, parameters and rich messages defined in `intent`. If not specified, the agent's default language is used. [More than a dozen languages](https://dialogflow.com/docs/reference/language) are supported. Note: languages must be enabled in the agent, before they can be used.
string language_code = 3;int getIntentViewValue()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 4;IntentView getIntentView()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 4;