Package com.google.cloud.dialogflow.v2
Interface BatchUpdateIntentsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchUpdateIntentsRequest,BatchUpdateIntentsRequest.Builder
public interface BatchUpdateIntentsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchUpdateIntentsRequest.IntentBatchCasegetIntentBatchCase()IntentBatchgetIntentBatchInline()The collection of intents to update or create.IntentBatchOrBuildergetIntentBatchInlineOrBuilder()The collection of intents to update or create.StringgetIntentBatchUri()The URI to a Google Cloud Storage file containing intents to update or create.com.google.protobuf.ByteStringgetIntentBatchUriBytes()The URI to a Google Cloud Storage file containing intents to update or create.IntentViewgetIntentView()Optional.intgetIntentViewValue()Optional.StringgetLanguageCode()Optional.com.google.protobuf.ByteStringgetLanguageCodeBytes()Optional.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.com.google.protobuf.FieldMaskgetUpdateMask()Optional.com.google.protobuf.FieldMaskOrBuildergetUpdateMaskOrBuilder()Optional.booleanhasIntentBatchInline()The collection of intents to update or create.booleanhasIntentBatchUri()The URI to a Google Cloud Storage file containing intents to update or create.booleanhasUpdateMask()Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The name of the agent to update or create intents in. Format: `projects/<Project ID>/agent`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The name of the agent to update or create intents in. Format: `projects/<Project ID>/agent`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasIntentBatchUri
boolean hasIntentBatchUri()
The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;- Returns:
- Whether the intentBatchUri field is set.
-
getIntentBatchUri
String getIntentBatchUri()
The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;- Returns:
- The intentBatchUri.
-
getIntentBatchUriBytes
com.google.protobuf.ByteString getIntentBatchUriBytes()
The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;- Returns:
- The bytes for intentBatchUri.
-
hasIntentBatchInline
boolean hasIntentBatchInline()
The collection of intents to update or create.
.google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3;- Returns:
- Whether the intentBatchInline field is set.
-
getIntentBatchInline
IntentBatch getIntentBatchInline()
The collection of intents to update or create.
.google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3;- Returns:
- The intentBatchInline.
-
getIntentBatchInlineOrBuilder
IntentBatchOrBuilder getIntentBatchInlineOrBuilder()
The collection of intents to update or create.
.google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3;
-
getLanguageCode
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](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.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](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for languageCode.
-
hasUpdateMask
boolean hasUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.FieldMask getUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getIntentViewValue
int getIntentViewValue()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for intentView.
-
getIntentView
IntentView getIntentView()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The intentView.
-
getIntentBatchCase
BatchUpdateIntentsRequest.IntentBatchCase getIntentBatchCase()
-
-