Interface IntentInputOrBuilder (4.45.0)

public interface IntentInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIntent()

public abstract String getIntent()

Required. The unique identifier of the intent in V3 agent. Format: projects/<Project ID>/locations/<Location ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

string intent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The intent.

getIntentBytes()

public abstract ByteString getIntentBytes()

Required. The unique identifier of the intent in V3 agent. Format: projects/<Project ID>/locations/<Location ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

string intent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for intent.

getLanguageCode()

public abstract String getLanguageCode()

Required. The language of this conversational query. See Language Support for a list of the currently supported language codes.

string language_code = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Required. The language of this conversational query. See Language Support for a list of the currently supported language codes.

string language_code = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for languageCode.