public static final class ImportIntentsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ImportIntentsRequest.Builder> implements ImportIntentsRequestOrBuilder
The request message for [Intents.ImportIntents][google.cloud.dialogflow.cx.v3.Intents.ImportIntents].Protobuf type
google.cloud.dialogflow.cx.v3.ImportIntentsRequest| Modifier and Type | Method and Description |
|---|---|
ImportIntentsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportIntentsRequest |
build() |
ImportIntentsRequest |
buildPartial() |
ImportIntentsRequest.Builder |
clear() |
ImportIntentsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ImportIntentsRequest.Builder |
clearIntents() |
ImportIntentsRequest.Builder |
clearIntentsContent()
Uncompressed byte content of intents.
|
ImportIntentsRequest.Builder |
clearIntentsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
to import intents from.
|
ImportIntentsRequest.Builder |
clearMergeOption()
Merge option for importing intents.
|
ImportIntentsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ImportIntentsRequest.Builder |
clearParent()
Required.
|
ImportIntentsRequest.Builder |
clone() |
ImportIntentsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ImportIntentsRequest.IntentsCase |
getIntentsCase() |
InlineSource |
getIntentsContent()
Uncompressed byte content of intents.
|
InlineSource.Builder |
getIntentsContentBuilder()
Uncompressed byte content of intents.
|
InlineSourceOrBuilder |
getIntentsContentOrBuilder()
Uncompressed byte content of intents.
|
String |
getIntentsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
to import intents from.
|
com.google.protobuf.ByteString |
getIntentsUriBytes()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
to import intents from.
|
ImportIntentsRequest.MergeOption |
getMergeOption()
Merge option for importing intents.
|
int |
getMergeOptionValue()
Merge option for importing intents.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
boolean |
hasIntentsContent()
Uncompressed byte content of intents.
|
boolean |
hasIntentsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
to import intents from.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ImportIntentsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ImportIntentsRequest.Builder |
mergeFrom(ImportIntentsRequest other) |
ImportIntentsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ImportIntentsRequest.Builder |
mergeIntentsContent(InlineSource value)
Uncompressed byte content of intents.
|
ImportIntentsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ImportIntentsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportIntentsRequest.Builder |
setIntentsContent(InlineSource.Builder builderForValue)
Uncompressed byte content of intents.
|
ImportIntentsRequest.Builder |
setIntentsContent(InlineSource value)
Uncompressed byte content of intents.
|
ImportIntentsRequest.Builder |
setIntentsUri(String value)
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
to import intents from.
|
ImportIntentsRequest.Builder |
setIntentsUriBytes(com.google.protobuf.ByteString value)
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
to import intents from.
|
ImportIntentsRequest.Builder |
setMergeOption(ImportIntentsRequest.MergeOption value)
Merge option for importing intents.
|
ImportIntentsRequest.Builder |
setMergeOptionValue(int value)
Merge option for importing intents.
|
ImportIntentsRequest.Builder |
setParent(String value)
Required.
|
ImportIntentsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ImportIntentsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ImportIntentsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ImportIntentsRequest.Builder>public ImportIntentsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ImportIntentsRequest.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<ImportIntentsRequest.Builder>public ImportIntentsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ImportIntentsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ImportIntentsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ImportIntentsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ImportIntentsRequest.Builder>public ImportIntentsRequest.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<ImportIntentsRequest.Builder>public ImportIntentsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportIntentsRequest.Builder>public ImportIntentsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ImportIntentsRequest.Builder>public ImportIntentsRequest.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<ImportIntentsRequest.Builder>public ImportIntentsRequest.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<ImportIntentsRequest.Builder>public ImportIntentsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportIntentsRequest.Builder>public ImportIntentsRequest.Builder mergeFrom(ImportIntentsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ImportIntentsRequest.Builder>public ImportIntentsRequest.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<ImportIntentsRequest.Builder>IOExceptionpublic ImportIntentsRequest.IntentsCase getIntentsCase()
getIntentsCase in interface ImportIntentsRequestOrBuilderpublic ImportIntentsRequest.Builder clearIntents()
public String getParent()
Required. The agent to import the intents into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ImportIntentsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The agent to import the intents into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ImportIntentsRequestOrBuilderpublic ImportIntentsRequest.Builder setParent(String value)
Required. The agent to import the intents into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ImportIntentsRequest.Builder clearParent()
Required. The agent to import the intents into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ImportIntentsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The agent to import the intents into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public boolean hasIntentsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string intents_uri = 2;hasIntentsUri in interface ImportIntentsRequestOrBuilderpublic String getIntentsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string intents_uri = 2;getIntentsUri in interface ImportIntentsRequestOrBuilderpublic com.google.protobuf.ByteString getIntentsUriBytes()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string intents_uri = 2;getIntentsUriBytes in interface ImportIntentsRequestOrBuilderpublic ImportIntentsRequest.Builder setIntentsUri(String value)
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string intents_uri = 2;value - The intentsUri to set.public ImportIntentsRequest.Builder clearIntentsUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string intents_uri = 2;public ImportIntentsRequest.Builder setIntentsUriBytes(com.google.protobuf.ByteString value)
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string intents_uri = 2;value - The bytes for intentsUri to set.public boolean hasIntentsContent()
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;hasIntentsContent in interface ImportIntentsRequestOrBuilderpublic InlineSource getIntentsContent()
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;getIntentsContent in interface ImportIntentsRequestOrBuilderpublic ImportIntentsRequest.Builder setIntentsContent(InlineSource value)
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;public ImportIntentsRequest.Builder setIntentsContent(InlineSource.Builder builderForValue)
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;public ImportIntentsRequest.Builder mergeIntentsContent(InlineSource value)
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;public ImportIntentsRequest.Builder clearIntentsContent()
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;public InlineSource.Builder getIntentsContentBuilder()
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;public InlineSourceOrBuilder getIntentsContentOrBuilder()
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;getIntentsContentOrBuilder in interface ImportIntentsRequestOrBuilderpublic int getMergeOptionValue()
Merge option for importing intents. If not specified, `REJECT` is assumed.
.google.cloud.dialogflow.cx.v3.ImportIntentsRequest.MergeOption merge_option = 4;
getMergeOptionValue in interface ImportIntentsRequestOrBuilderpublic ImportIntentsRequest.Builder setMergeOptionValue(int value)
Merge option for importing intents. If not specified, `REJECT` is assumed.
.google.cloud.dialogflow.cx.v3.ImportIntentsRequest.MergeOption merge_option = 4;
value - The enum numeric value on the wire for mergeOption to set.public ImportIntentsRequest.MergeOption getMergeOption()
Merge option for importing intents. If not specified, `REJECT` is assumed.
.google.cloud.dialogflow.cx.v3.ImportIntentsRequest.MergeOption merge_option = 4;
getMergeOption in interface ImportIntentsRequestOrBuilderpublic ImportIntentsRequest.Builder setMergeOption(ImportIntentsRequest.MergeOption value)
Merge option for importing intents. If not specified, `REJECT` is assumed.
.google.cloud.dialogflow.cx.v3.ImportIntentsRequest.MergeOption merge_option = 4;
value - The mergeOption to set.public ImportIntentsRequest.Builder clearMergeOption()
Merge option for importing intents. If not specified, `REJECT` is assumed.
.google.cloud.dialogflow.cx.v3.ImportIntentsRequest.MergeOption merge_option = 4;
public final ImportIntentsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportIntentsRequest.Builder>public final ImportIntentsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportIntentsRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.