public final class ImportEntityTypesRequest extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
ImportEntityTypesRequest.Builder
The request message for
[EntityTypes.ImportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes].
|
static class |
ImportEntityTypesRequest.EntityTypesCase |
static class |
ImportEntityTypesRequest.MergeOption
Merge option when display name conflicts exist during import.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ENTITY_TYPES_CONTENT_FIELD_NUMBER |
static int |
ENTITY_TYPES_URI_FIELD_NUMBER |
static int |
MERGE_OPTION_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
TARGET_ENTITY_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ImportEntityTypesRequest |
getDefaultInstance() |
ImportEntityTypesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ImportEntityTypesRequest.EntityTypesCase |
getEntityTypesCase() |
InlineSource |
getEntityTypesContent()
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.
|
com.google.protobuf.Parser<ImportEntityTypesRequest> |
getParserForType() |
int |
getSerializedSize() |
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ImportEntityTypesRequest.Builder |
newBuilder() |
static ImportEntityTypesRequest.Builder |
newBuilder(ImportEntityTypesRequest prototype) |
ImportEntityTypesRequest.Builder |
newBuilderForType() |
protected ImportEntityTypesRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ImportEntityTypesRequest |
parseDelimitedFrom(InputStream input) |
static ImportEntityTypesRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportEntityTypesRequest |
parseFrom(byte[] data) |
static ImportEntityTypesRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportEntityTypesRequest |
parseFrom(ByteBuffer data) |
static ImportEntityTypesRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportEntityTypesRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ImportEntityTypesRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportEntityTypesRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ImportEntityTypesRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportEntityTypesRequest |
parseFrom(InputStream input) |
static ImportEntityTypesRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ImportEntityTypesRequest> |
parser() |
ImportEntityTypesRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PARENT_FIELD_NUMBER
public static final int ENTITY_TYPES_URI_FIELD_NUMBER
public static final int ENTITY_TYPES_CONTENT_FIELD_NUMBER
public static final int MERGE_OPTION_FIELD_NUMBER
public static final int TARGET_ENTITY_TYPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ImportEntityTypesRequest.EntityTypesCase getEntityTypesCase()
getEntityTypesCase in interface ImportEntityTypesRequestOrBuilderpublic 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 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 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 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.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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ImportEntityTypesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportEntityTypesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportEntityTypesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportEntityTypesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportEntityTypesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportEntityTypesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportEntityTypesRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ImportEntityTypesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportEntityTypesRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ImportEntityTypesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportEntityTypesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ImportEntityTypesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ImportEntityTypesRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ImportEntityTypesRequest.Builder newBuilder()
public static ImportEntityTypesRequest.Builder newBuilder(ImportEntityTypesRequest prototype)
public ImportEntityTypesRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ImportEntityTypesRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ImportEntityTypesRequest getDefaultInstance()
public static com.google.protobuf.Parser<ImportEntityTypesRequest> parser()
public com.google.protobuf.Parser<ImportEntityTypesRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ImportEntityTypesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.