Interface UpdateIntentRequestOrBuilder (0.46.0)

public interface UpdateIntentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIntent()

public abstract Intent getIntent()

Required. The intent to update.

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

Returns
Type Description
Intent

The intent.

getIntentOrBuilder()

public abstract IntentOrBuilder getIntentOrBuilder()

Required. The intent to update.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
FieldMaskOrBuilder

hasIntent()

public abstract boolean hasIntent()

Required. The intent to update.

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

Returns
Type Description
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
Type Description
boolean

Whether the updateMask field is set.