public interface CreateIntentRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getIntent()
public abstract Intent getIntent()Required. The intent to create.
.google.cloud.dialogflow.v2.Intent intent = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| Intent | The intent. |
getIntentOrBuilder()
public abstract IntentOrBuilder getIntentOrBuilder()Required. The intent to create.
.google.cloud.dialogflow.v2.Intent intent = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| IntentOrBuilder |
getIntentView()
public abstract IntentView getIntentView()Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2.IntentView intent_view = 4 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| IntentView | The intentView. |
getIntentViewValue()
public abstract int getIntentViewValue()Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2.IntentView intent_view = 4 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| int | The enum numeric value on the wire for intentView. |
getLanguageCode()
public abstract String getLanguageCode()Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| String | The languageCode. |
getLanguageCodeBytes()
public abstract ByteString getLanguageCodeBytes()Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| ByteString | The bytes for languageCode. |
getParent()
public abstract String getParent() Required. The agent to create a intent for.
Format: projects/<Project ID>/agent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| String | The parent. |
getParentBytes()
public abstract ByteString getParentBytes() Required. The agent to create a intent for.
Format: projects/<Project ID>/agent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| ByteString | The bytes for parent. |
hasIntent()
public abstract boolean hasIntent()Required. The intent to create.
.google.cloud.dialogflow.v2.Intent intent = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| boolean | Whether the intent field is set. |