Interface UpdateIntentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateIntentRequest,UpdateIntentRequest.Builder
public interface UpdateIntentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntentgetIntent()Required.IntentOrBuildergetIntentOrBuilder()Required.StringgetLanguageCode()The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used.com.google.protobuf.ByteStringgetLanguageCodeBytes()The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used.com.google.protobuf.FieldMaskgetUpdateMask()The mask to control which fields get updated.com.google.protobuf.FieldMaskOrBuildergetUpdateMaskOrBuilder()The mask to control which fields get updated.booleanhasIntent()Required.booleanhasUpdateMask()The mask to control which fields get updated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasIntent
boolean hasIntent()
Required. The intent to update.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the intent field is set.
-
getIntent
Intent getIntent()
Required. The intent to update.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The intent.
-
getIntentOrBuilder
IntentOrBuilder getIntentOrBuilder()
Required. The intent to update.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1 [(.google.api.field_behavior) = REQUIRED];
-
getLanguageCode
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](https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
string language_code = 2;- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.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](https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
string language_code = 2;- Returns:
- The bytes for languageCode.
-
hasUpdateMask
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:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.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:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.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;
-
-