Interface UpdateIntentRequestOrBuilder (4.23.0)

public interface UpdateIntentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIntent()

public abstract Intent getIntent()

Required. The intent to update.

.google.cloud.dialogflow.v2.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.v2.Intent intent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
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];

Returns
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];

Returns
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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for languageCode.

getUpdateMask()

public abstract FieldMask getUpdateMask()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasIntent()

public abstract boolean hasIntent()

Required. The intent to update.

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

Returns
Type Description
boolean

Whether the intent field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.