Interface CreateIntentRequestOrBuilder (0.14.0)

public interface CreateIntentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIntent()

public abstract Intent getIntent()

Required. The intent to create.

.google.cloud.dialogflow.cx.v3beta1.Intent intent = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Intent

The intent.

getIntentOrBuilder()

public abstract IntentOrBuilder getIntentOrBuilder()

Required. The intent to create.

.google.cloud.dialogflow.cx.v3beta1.Intent intent = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
IntentOrBuilder

getLanguageCode()

public abstract 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 are supported. Note: languages must be enabled in the agent before they can be used.

string language_code = 3;

Returns
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public abstract 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 are supported. Note: languages must be enabled in the agent before they can be used.

string language_code = 3;

Returns
TypeDescription
ByteString

The bytes for languageCode.

getParent()

public abstract String getParent()

Required. The agent to create an intent for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The agent to create an intent for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasIntent()

public abstract boolean hasIntent()

Required. The intent to create.

.google.cloud.dialogflow.cx.v3beta1.Intent intent = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the intent field is set.