public static final class ImportEntityTypesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ImportEntityTypesRequest.Builder> implements ImportEntityTypesRequestOrBuilder
The request message for [EntityTypes.ImportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes].Protobuf type
google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest| Modifier and Type | Method and Description |
|---|---|
ImportEntityTypesRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportEntityTypesRequest |
build() |
ImportEntityTypesRequest |
buildPartial() |
ImportEntityTypesRequest.Builder |
clear() |
ImportEntityTypesRequest.Builder |
clearEntityTypes() |
ImportEntityTypesRequest.Builder |
clearEntityTypesContent()
Uncompressed byte content of entity types.
|
ImportEntityTypesRequest.Builder |
clearEntityTypesUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
to import entity types from.
|
ImportEntityTypesRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ImportEntityTypesRequest.Builder |
clearMergeOption()
Required.
|
ImportEntityTypesRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ImportEntityTypesRequest.Builder |
clearParent()
Required.
|
ImportEntityTypesRequest.Builder |
clearTargetEntityType()
Optional.
|
ImportEntityTypesRequest.Builder |
clone() |
ImportEntityTypesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ImportEntityTypesRequest.EntityTypesCase |
getEntityTypesCase() |
InlineSource |
getEntityTypesContent()
Uncompressed byte content of entity types.
|
InlineSource.Builder |
getEntityTypesContentBuilder()
Uncompressed byte content of entity types.
|
InlineSourceOrBuilder |
getEntityTypesContentOrBuilder()
Uncompressed byte content of entity types.
|
String |
getEntityTypesUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
to import entity types from.
|
com.google.protobuf.ByteString |
getEntityTypesUriBytes()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
to import entity types from.
|
ImportEntityTypesRequest.MergeOption |
getMergeOption()
Required.
|
int |
getMergeOptionValue()
Required.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
String |
getTargetEntityType()
Optional.
|
com.google.protobuf.ByteString |
getTargetEntityTypeBytes()
Optional.
|
boolean |
hasEntityTypesContent()
Uncompressed byte content of entity types.
|
boolean |
hasEntityTypesUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
to import entity types from.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ImportEntityTypesRequest.Builder |
mergeEntityTypesContent(InlineSource value)
Uncompressed byte content of entity types.
|
ImportEntityTypesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ImportEntityTypesRequest.Builder |
mergeFrom(ImportEntityTypesRequest other) |
ImportEntityTypesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ImportEntityTypesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ImportEntityTypesRequest.Builder |
setEntityTypesContent(InlineSource.Builder builderForValue)
Uncompressed byte content of entity types.
|
ImportEntityTypesRequest.Builder |
setEntityTypesContent(InlineSource value)
Uncompressed byte content of entity types.
|
ImportEntityTypesRequest.Builder |
setEntityTypesUri(String value)
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
to import entity types from.
|
ImportEntityTypesRequest.Builder |
setEntityTypesUriBytes(com.google.protobuf.ByteString value)
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
to import entity types from.
|
ImportEntityTypesRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportEntityTypesRequest.Builder |
setMergeOption(ImportEntityTypesRequest.MergeOption value)
Required.
|
ImportEntityTypesRequest.Builder |
setMergeOptionValue(int value)
Required.
|
ImportEntityTypesRequest.Builder |
setParent(String value)
Required.
|
ImportEntityTypesRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ImportEntityTypesRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ImportEntityTypesRequest.Builder |
setTargetEntityType(String value)
Optional.
|
ImportEntityTypesRequest.Builder |
setTargetEntityTypeBytes(com.google.protobuf.ByteString value)
Optional.
|
ImportEntityTypesRequest.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<ImportEntityTypesRequest.Builder>public ImportEntityTypesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ImportEntityTypesRequest.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<ImportEntityTypesRequest.Builder>public ImportEntityTypesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ImportEntityTypesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ImportEntityTypesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ImportEntityTypesRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ImportEntityTypesRequest.Builder>public ImportEntityTypesRequest.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<ImportEntityTypesRequest.Builder>public ImportEntityTypesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportEntityTypesRequest.Builder>public ImportEntityTypesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ImportEntityTypesRequest.Builder>public ImportEntityTypesRequest.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<ImportEntityTypesRequest.Builder>public ImportEntityTypesRequest.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<ImportEntityTypesRequest.Builder>public ImportEntityTypesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportEntityTypesRequest.Builder>public ImportEntityTypesRequest.Builder mergeFrom(ImportEntityTypesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ImportEntityTypesRequest.Builder>public ImportEntityTypesRequest.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<ImportEntityTypesRequest.Builder>IOExceptionpublic ImportEntityTypesRequest.EntityTypesCase getEntityTypesCase()
getEntityTypesCase in interface ImportEntityTypesRequestOrBuilderpublic ImportEntityTypesRequest.Builder clearEntityTypes()
public String getParent()
Required. The agent to import the entity types into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ImportEntityTypesRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The agent to import the entity types into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ImportEntityTypesRequestOrBuilderpublic ImportEntityTypesRequest.Builder setParent(String value)
Required. The agent to import the entity types 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 ImportEntityTypesRequest.Builder clearParent()
Required. The agent to import the entity types into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ImportEntityTypesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The agent to import the entity types 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 hasEntityTypesUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import entity types 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 entity_types_uri = 2;hasEntityTypesUri in interface ImportEntityTypesRequestOrBuilderpublic String getEntityTypesUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import entity types 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 entity_types_uri = 2;getEntityTypesUri in interface ImportEntityTypesRequestOrBuilderpublic com.google.protobuf.ByteString getEntityTypesUriBytes()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import entity types 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 entity_types_uri = 2;getEntityTypesUriBytes in interface ImportEntityTypesRequestOrBuilderpublic ImportEntityTypesRequest.Builder setEntityTypesUri(String value)
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import entity types 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 entity_types_uri = 2;value - The entityTypesUri to set.public ImportEntityTypesRequest.Builder clearEntityTypesUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import entity types 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 entity_types_uri = 2;public ImportEntityTypesRequest.Builder setEntityTypesUriBytes(com.google.protobuf.ByteString value)
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import entity types 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 entity_types_uri = 2;value - The bytes for entityTypesUri to set.public boolean hasEntityTypesContent()
Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3.InlineSource entity_types_content = 3;hasEntityTypesContent in interface ImportEntityTypesRequestOrBuilderpublic InlineSource getEntityTypesContent()
Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3.InlineSource entity_types_content = 3;getEntityTypesContent in interface ImportEntityTypesRequestOrBuilderpublic ImportEntityTypesRequest.Builder setEntityTypesContent(InlineSource value)
Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3.InlineSource entity_types_content = 3;public ImportEntityTypesRequest.Builder setEntityTypesContent(InlineSource.Builder builderForValue)
Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3.InlineSource entity_types_content = 3;public ImportEntityTypesRequest.Builder mergeEntityTypesContent(InlineSource value)
Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3.InlineSource entity_types_content = 3;public ImportEntityTypesRequest.Builder clearEntityTypesContent()
Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3.InlineSource entity_types_content = 3;public InlineSource.Builder getEntityTypesContentBuilder()
Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3.InlineSource entity_types_content = 3;public InlineSourceOrBuilder getEntityTypesContentOrBuilder()
Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3.InlineSource entity_types_content = 3;getEntityTypesContentOrBuilder in interface ImportEntityTypesRequestOrBuilderpublic int getMergeOptionValue()
Required. Merge option for importing entity types.
.google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.MergeOption merge_option = 4 [(.google.api.field_behavior) = REQUIRED];
getMergeOptionValue in interface ImportEntityTypesRequestOrBuilderpublic ImportEntityTypesRequest.Builder setMergeOptionValue(int value)
Required. Merge option for importing entity types.
.google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.MergeOption merge_option = 4 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for mergeOption to set.public ImportEntityTypesRequest.MergeOption getMergeOption()
Required. Merge option for importing entity types.
.google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.MergeOption merge_option = 4 [(.google.api.field_behavior) = REQUIRED];
getMergeOption in interface ImportEntityTypesRequestOrBuilderpublic ImportEntityTypesRequest.Builder setMergeOption(ImportEntityTypesRequest.MergeOption value)
Required. Merge option for importing entity types.
.google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.MergeOption merge_option = 4 [(.google.api.field_behavior) = REQUIRED];
value - The mergeOption to set.public ImportEntityTypesRequest.Builder clearMergeOption()
Required. Merge option for importing entity types.
.google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.MergeOption merge_option = 4 [(.google.api.field_behavior) = REQUIRED];
public String getTargetEntityType()
Optional. The target entity type to import into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`. If set, there should be only one entity type included in [entity_types][google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.entity_types], of which the type should match the type of the target entity type. All [entities][google.cloud.dialogflow.cx.v3.EntityType.entities] in the imported entity type will be added to the target entity type.
string target_entity_type = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getTargetEntityType in interface ImportEntityTypesRequestOrBuilderpublic com.google.protobuf.ByteString getTargetEntityTypeBytes()
Optional. The target entity type to import into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`. If set, there should be only one entity type included in [entity_types][google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.entity_types], of which the type should match the type of the target entity type. All [entities][google.cloud.dialogflow.cx.v3.EntityType.entities] in the imported entity type will be added to the target entity type.
string target_entity_type = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getTargetEntityTypeBytes in interface ImportEntityTypesRequestOrBuilderpublic ImportEntityTypesRequest.Builder setTargetEntityType(String value)
Optional. The target entity type to import into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`. If set, there should be only one entity type included in [entity_types][google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.entity_types], of which the type should match the type of the target entity type. All [entities][google.cloud.dialogflow.cx.v3.EntityType.entities] in the imported entity type will be added to the target entity type.
string target_entity_type = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
value - The targetEntityType to set.public ImportEntityTypesRequest.Builder clearTargetEntityType()
Optional. The target entity type to import into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`. If set, there should be only one entity type included in [entity_types][google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.entity_types], of which the type should match the type of the target entity type. All [entities][google.cloud.dialogflow.cx.v3.EntityType.entities] in the imported entity type will be added to the target entity type.
string target_entity_type = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
public ImportEntityTypesRequest.Builder setTargetEntityTypeBytes(com.google.protobuf.ByteString value)
Optional. The target entity type to import into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`. If set, there should be only one entity type included in [entity_types][google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.entity_types], of which the type should match the type of the target entity type. All [entities][google.cloud.dialogflow.cx.v3.EntityType.entities] in the imported entity type will be added to the target entity type.
string target_entity_type = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
value - The bytes for targetEntityType to set.public final ImportEntityTypesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportEntityTypesRequest.Builder>public final ImportEntityTypesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportEntityTypesRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.