Interface UpdateIntentRequestOrBuilder (0.47.0)

public interface UpdateIntentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIntent()

public abstract Intent getIntent()

Required. The intent to update.

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

Returns
TypeDescription
Intent

The intent.

getIntentOrBuilder()

public abstract IntentOrBuilder getIntentOrBuilder()

Required. The intent to update.

.google.cloud.dialogflow.cx.v3.Intent intent = 1 [(.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 = 2;

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 = 2;

Returns
TypeDescription
ByteString

The bytes for languageCode.

getUpdateMask()

public abstract FieldMask getUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMaskOrBuilder

hasIntent()

public abstract boolean hasIntent()

Required. The intent to update.

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

Returns
TypeDescription
boolean

Whether the intent field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
boolean

Whether the updateMask field is set.