public static final class BatchUpdateIntentsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder> implements BatchUpdateIntentsRequestOrBuilder
The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents].Protobuf type
google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest| Modifier and Type | Method and Description |
|---|---|
BatchUpdateIntentsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchUpdateIntentsRequest |
build() |
BatchUpdateIntentsRequest |
buildPartial() |
BatchUpdateIntentsRequest.Builder |
clear() |
BatchUpdateIntentsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BatchUpdateIntentsRequest.Builder |
clearIntentBatch() |
BatchUpdateIntentsRequest.Builder |
clearIntentBatchInline()
The collection of intents to update or create.
|
BatchUpdateIntentsRequest.Builder |
clearIntentBatchUri()
The URI to a Google Cloud Storage file containing intents to update or
create.
|
BatchUpdateIntentsRequest.Builder |
clearIntentView()
Optional.
|
BatchUpdateIntentsRequest.Builder |
clearLanguageCode()
Optional.
|
BatchUpdateIntentsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BatchUpdateIntentsRequest.Builder |
clearParent()
Required.
|
BatchUpdateIntentsRequest.Builder |
clearUpdateMask()
Optional.
|
BatchUpdateIntentsRequest.Builder |
clone() |
BatchUpdateIntentsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
BatchUpdateIntentsRequest.IntentBatchCase |
getIntentBatchCase() |
IntentBatch |
getIntentBatchInline()
The collection of intents to update or create.
|
IntentBatch.Builder |
getIntentBatchInlineBuilder()
The collection of intents to update or create.
|
IntentBatchOrBuilder |
getIntentBatchInlineOrBuilder()
The collection of intents to update or create.
|
String |
getIntentBatchUri()
The URI to a Google Cloud Storage file containing intents to update or
create.
|
com.google.protobuf.ByteString |
getIntentBatchUriBytes()
The URI to a Google Cloud Storage file containing intents to update or
create.
|
IntentView |
getIntentView()
Optional.
|
int |
getIntentViewValue()
Optional.
|
String |
getLanguageCode()
Optional.
|
com.google.protobuf.ByteString |
getLanguageCodeBytes()
Optional.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
com.google.protobuf.FieldMask |
getUpdateMask()
Optional.
|
com.google.protobuf.FieldMask.Builder |
getUpdateMaskBuilder()
Optional.
|
com.google.protobuf.FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
Optional.
|
boolean |
hasIntentBatchInline()
The collection of intents to update or create.
|
boolean |
hasIntentBatchUri()
The URI to a Google Cloud Storage file containing intents to update or
create.
|
boolean |
hasUpdateMask()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BatchUpdateIntentsRequest.Builder |
mergeFrom(BatchUpdateIntentsRequest other) |
BatchUpdateIntentsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchUpdateIntentsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
BatchUpdateIntentsRequest.Builder |
mergeIntentBatchInline(IntentBatch value)
The collection of intents to update or create.
|
BatchUpdateIntentsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchUpdateIntentsRequest.Builder |
mergeUpdateMask(com.google.protobuf.FieldMask value)
Optional.
|
BatchUpdateIntentsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchUpdateIntentsRequest.Builder |
setIntentBatchInline(IntentBatch.Builder builderForValue)
The collection of intents to update or create.
|
BatchUpdateIntentsRequest.Builder |
setIntentBatchInline(IntentBatch value)
The collection of intents to update or create.
|
BatchUpdateIntentsRequest.Builder |
setIntentBatchUri(String value)
The URI to a Google Cloud Storage file containing intents to update or
create.
|
BatchUpdateIntentsRequest.Builder |
setIntentBatchUriBytes(com.google.protobuf.ByteString value)
The URI to a Google Cloud Storage file containing intents to update or
create.
|
BatchUpdateIntentsRequest.Builder |
setIntentView(IntentView value)
Optional.
|
BatchUpdateIntentsRequest.Builder |
setIntentViewValue(int value)
Optional.
|
BatchUpdateIntentsRequest.Builder |
setLanguageCode(String value)
Optional.
|
BatchUpdateIntentsRequest.Builder |
setLanguageCodeBytes(com.google.protobuf.ByteString value)
Optional.
|
BatchUpdateIntentsRequest.Builder |
setParent(String value)
Required.
|
BatchUpdateIntentsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
BatchUpdateIntentsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BatchUpdateIntentsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchUpdateIntentsRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Optional.
|
BatchUpdateIntentsRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask value)
Optional.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchUpdateIntentsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchUpdateIntentsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchUpdateIntentsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.Builder mergeFrom(BatchUpdateIntentsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchUpdateIntentsRequest.Builder>IOExceptionpublic BatchUpdateIntentsRequest.IntentBatchCase getIntentBatchCase()
getIntentBatchCase in interface BatchUpdateIntentsRequestOrBuilderpublic BatchUpdateIntentsRequest.Builder clearIntentBatch()
public String getParent()
Required. The name of the agent to update or create intents in. Supported formats: - `projects/<Project ID>/agent` - `projects/<Project ID>/locations/<Location ID>/agent`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface BatchUpdateIntentsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The name of the agent to update or create intents in. Supported formats: - `projects/<Project ID>/agent` - `projects/<Project ID>/locations/<Location ID>/agent`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface BatchUpdateIntentsRequestOrBuilderpublic BatchUpdateIntentsRequest.Builder setParent(String value)
Required. The name of the agent to update or create intents in. Supported formats: - `projects/<Project ID>/agent` - `projects/<Project ID>/locations/<Location ID>/agent`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public BatchUpdateIntentsRequest.Builder clearParent()
Required. The name of the agent to update or create intents in. Supported formats: - `projects/<Project ID>/agent` - `projects/<Project ID>/locations/<Location ID>/agent`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public BatchUpdateIntentsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The name of the agent to update or create intents in. Supported formats: - `projects/<Project ID>/agent` - `projects/<Project ID>/locations/<Location ID>/agent`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public 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;hasIntentBatchUri in interface BatchUpdateIntentsRequestOrBuilderpublic 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;getIntentBatchUri in interface BatchUpdateIntentsRequestOrBuilderpublic 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;getIntentBatchUriBytes in interface BatchUpdateIntentsRequestOrBuilderpublic BatchUpdateIntentsRequest.Builder setIntentBatchUri(String value)
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;value - The intentBatchUri to set.public BatchUpdateIntentsRequest.Builder clearIntentBatchUri()
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;public BatchUpdateIntentsRequest.Builder setIntentBatchUriBytes(com.google.protobuf.ByteString value)
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;value - The bytes for intentBatchUri to set.public boolean hasIntentBatchInline()
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;hasIntentBatchInline in interface BatchUpdateIntentsRequestOrBuilderpublic IntentBatch getIntentBatchInline()
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;getIntentBatchInline in interface BatchUpdateIntentsRequestOrBuilderpublic BatchUpdateIntentsRequest.Builder setIntentBatchInline(IntentBatch value)
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;public BatchUpdateIntentsRequest.Builder setIntentBatchInline(IntentBatch.Builder builderForValue)
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;public BatchUpdateIntentsRequest.Builder mergeIntentBatchInline(IntentBatch value)
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;public BatchUpdateIntentsRequest.Builder clearIntentBatchInline()
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;public IntentBatch.Builder getIntentBatchInlineBuilder()
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;public IntentBatchOrBuilder getIntentBatchInlineOrBuilder()
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;getIntentBatchInlineOrBuilder in interface BatchUpdateIntentsRequestOrBuilderpublic 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];getLanguageCode in interface BatchUpdateIntentsRequestOrBuilderpublic 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];getLanguageCodeBytes in interface BatchUpdateIntentsRequestOrBuilderpublic BatchUpdateIntentsRequest.Builder setLanguageCode(String value)
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];value - The languageCode to set.public BatchUpdateIntentsRequest.Builder clearLanguageCode()
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];public BatchUpdateIntentsRequest.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
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];value - The bytes for languageCode to set.public boolean hasUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;hasUpdateMask in interface BatchUpdateIntentsRequestOrBuilderpublic com.google.protobuf.FieldMask getUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;getUpdateMask in interface BatchUpdateIntentsRequestOrBuilderpublic BatchUpdateIntentsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;public BatchUpdateIntentsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;public BatchUpdateIntentsRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;public BatchUpdateIntentsRequest.Builder clearUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;getUpdateMaskOrBuilder in interface BatchUpdateIntentsRequestOrBuilderpublic int getIntentViewValue()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;getIntentViewValue in interface BatchUpdateIntentsRequestOrBuilderpublic BatchUpdateIntentsRequest.Builder setIntentViewValue(int value)
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;value - The enum numeric value on the wire for intentView to set.public IntentView getIntentView()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;getIntentView in interface BatchUpdateIntentsRequestOrBuilderpublic BatchUpdateIntentsRequest.Builder setIntentView(IntentView value)
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;value - The intentView to set.public BatchUpdateIntentsRequest.Builder clearIntentView()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;public final BatchUpdateIntentsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>public final BatchUpdateIntentsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.