public static final class ExportEntityTypesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExportEntityTypesRequest.Builder> implements ExportEntityTypesRequestOrBuilder
The request message for [EntityTypes.ExportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes].Protobuf type
google.cloud.dialogflow.cx.v3.ExportEntityTypesRequestgetAllFields, 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<ExportEntityTypesRequest.Builder>public ExportEntityTypesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntityTypesRequest.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<ExportEntityTypesRequest.Builder>public ExportEntityTypesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExportEntityTypesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExportEntityTypesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExportEntityTypesRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntityTypesRequest.Builder>public ExportEntityTypesRequest.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<ExportEntityTypesRequest.Builder>public ExportEntityTypesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntityTypesRequest.Builder>public ExportEntityTypesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntityTypesRequest.Builder>public ExportEntityTypesRequest.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<ExportEntityTypesRequest.Builder>public ExportEntityTypesRequest.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<ExportEntityTypesRequest.Builder>public ExportEntityTypesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportEntityTypesRequest.Builder>public ExportEntityTypesRequest.Builder mergeFrom(ExportEntityTypesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntityTypesRequest.Builder>public ExportEntityTypesRequest.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<ExportEntityTypesRequest.Builder>IOExceptionpublic ExportEntityTypesRequest.DestinationCase getDestinationCase()
getDestinationCase in interface ExportEntityTypesRequestOrBuilderpublic ExportEntityTypesRequest.Builder clearDestination()
public String getParent()
Required. The name of the parent agent to export entity types. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ExportEntityTypesRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The name of the parent agent to export entity types. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ExportEntityTypesRequestOrBuilderpublic ExportEntityTypesRequest.Builder setParent(String value)
Required. The name of the parent agent to export entity types. 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 ExportEntityTypesRequest.Builder clearParent()
Required. The name of the parent agent to export entity types. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ExportEntityTypesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The name of the parent agent to export entity types. 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 com.google.protobuf.ProtocolStringList getEntityTypesList()
Required. The name of the entity types to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];getEntityTypesList in interface ExportEntityTypesRequestOrBuilderpublic int getEntityTypesCount()
Required. The name of the entity types to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];getEntityTypesCount in interface ExportEntityTypesRequestOrBuilderpublic String getEntityTypes(int index)
Required. The name of the entity types to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];getEntityTypes in interface ExportEntityTypesRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getEntityTypesBytes(int index)
Required. The name of the entity types to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];getEntityTypesBytes in interface ExportEntityTypesRequestOrBuilderindex - The index of the value to return.public ExportEntityTypesRequest.Builder setEntityTypes(int index, String value)
Required. The name of the entity types to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];index - The index to set the value at.value - The entityTypes to set.public ExportEntityTypesRequest.Builder addEntityTypes(String value)
Required. The name of the entity types to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];value - The entityTypes to add.public ExportEntityTypesRequest.Builder addAllEntityTypes(Iterable<String> values)
Required. The name of the entity types to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];values - The entityTypes to add.public ExportEntityTypesRequest.Builder clearEntityTypes()
Required. The name of the entity types to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];public ExportEntityTypesRequest.Builder addEntityTypesBytes(com.google.protobuf.ByteString value)
Required. The name of the entity types to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes of the entityTypes to add.public boolean hasEntityTypesUri()
Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the entity types to. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write 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 = 3 [(.google.api.field_behavior) = OPTIONAL];hasEntityTypesUri in interface ExportEntityTypesRequestOrBuilderpublic String getEntityTypesUri()
Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the entity types to. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write 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 = 3 [(.google.api.field_behavior) = OPTIONAL];getEntityTypesUri in interface ExportEntityTypesRequestOrBuilderpublic com.google.protobuf.ByteString getEntityTypesUriBytes()
Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the entity types to. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write 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 = 3 [(.google.api.field_behavior) = OPTIONAL];getEntityTypesUriBytes in interface ExportEntityTypesRequestOrBuilderpublic ExportEntityTypesRequest.Builder setEntityTypesUri(String value)
Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the entity types to. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write 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 = 3 [(.google.api.field_behavior) = OPTIONAL];value - The entityTypesUri to set.public ExportEntityTypesRequest.Builder clearEntityTypesUri()
Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the entity types to. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write 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 = 3 [(.google.api.field_behavior) = OPTIONAL];public ExportEntityTypesRequest.Builder setEntityTypesUriBytes(com.google.protobuf.ByteString value)
Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the entity types to. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write 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 = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for entityTypesUri to set.public boolean hasEntityTypesContentInline()
Optional. The option to return the serialized entity types inline.
bool entity_types_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];hasEntityTypesContentInline in interface ExportEntityTypesRequestOrBuilderpublic boolean getEntityTypesContentInline()
Optional. The option to return the serialized entity types inline.
bool entity_types_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];getEntityTypesContentInline in interface ExportEntityTypesRequestOrBuilderpublic ExportEntityTypesRequest.Builder setEntityTypesContentInline(boolean value)
Optional. The option to return the serialized entity types inline.
bool entity_types_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];value - The entityTypesContentInline to set.public ExportEntityTypesRequest.Builder clearEntityTypesContentInline()
Optional. The option to return the serialized entity types inline.
bool entity_types_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];public int getDataFormatValue()
Optional. The data format of the exported entity types. If not specified, `BLOB` is assumed.
.google.cloud.dialogflow.cx.v3.ExportEntityTypesRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
getDataFormatValue in interface ExportEntityTypesRequestOrBuilderpublic ExportEntityTypesRequest.Builder setDataFormatValue(int value)
Optional. The data format of the exported entity types. If not specified, `BLOB` is assumed.
.google.cloud.dialogflow.cx.v3.ExportEntityTypesRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for dataFormat to set.public ExportEntityTypesRequest.DataFormat getDataFormat()
Optional. The data format of the exported entity types. If not specified, `BLOB` is assumed.
.google.cloud.dialogflow.cx.v3.ExportEntityTypesRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
getDataFormat in interface ExportEntityTypesRequestOrBuilderpublic ExportEntityTypesRequest.Builder setDataFormat(ExportEntityTypesRequest.DataFormat value)
Optional. The data format of the exported entity types. If not specified, `BLOB` is assumed.
.google.cloud.dialogflow.cx.v3.ExportEntityTypesRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
value - The dataFormat to set.public ExportEntityTypesRequest.Builder clearDataFormat()
Optional. The data format of the exported entity types. If not specified, `BLOB` is assumed.
.google.cloud.dialogflow.cx.v3.ExportEntityTypesRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
public String getLanguageCode()
Optional. The language to retrieve the entity type for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, all language dependent fields will be retrieved. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
string language_code = 6 [(.google.api.field_behavior) = OPTIONAL];getLanguageCode in interface ExportEntityTypesRequestOrBuilderpublic com.google.protobuf.ByteString getLanguageCodeBytes()
Optional. The language to retrieve the entity type for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, all language dependent fields will be retrieved. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
string language_code = 6 [(.google.api.field_behavior) = OPTIONAL];getLanguageCodeBytes in interface ExportEntityTypesRequestOrBuilderpublic ExportEntityTypesRequest.Builder setLanguageCode(String value)
Optional. The language to retrieve the entity type for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, all language dependent fields will be retrieved. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
string language_code = 6 [(.google.api.field_behavior) = OPTIONAL];value - The languageCode to set.public ExportEntityTypesRequest.Builder clearLanguageCode()
Optional. The language to retrieve the entity type for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, all language dependent fields will be retrieved. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
string language_code = 6 [(.google.api.field_behavior) = OPTIONAL];public ExportEntityTypesRequest.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
Optional. The language to retrieve the entity type for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, all language dependent fields will be retrieved. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
string language_code = 6 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for languageCode to set.public final ExportEntityTypesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntityTypesRequest.Builder>public final ExportEntityTypesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportEntityTypesRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.