public static final class DataStore.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataStore.Builder> implements DataStoreOrBuilder
DataStore captures global settings and configs at the DataStore level.Protobuf type
google.cloud.discoveryengine.v1alpha.DataStore| Modifier and Type | Method and Description |
|---|---|
DataStore.Builder |
addAllSolutionTypes(Iterable<? extends SolutionType> values)
The solutions that the data store enrolls.
|
DataStore.Builder |
addAllSolutionTypesValue(Iterable<Integer> values)
The solutions that the data store enrolls.
|
DataStore.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DataStore.Builder |
addSolutionTypes(SolutionType value)
The solutions that the data store enrolls.
|
DataStore.Builder |
addSolutionTypesValue(int value)
The solutions that the data store enrolls.
|
DataStore |
build() |
DataStore |
buildPartial() |
DataStore.Builder |
clear() |
DataStore.Builder |
clearAclEnabled()
Immutable.
|
DataStore.Builder |
clearContentConfig()
Immutable.
|
DataStore.Builder |
clearCreateTime()
Output only.
|
DataStore.Builder |
clearDefaultSchemaId()
Output only.
|
DataStore.Builder |
clearDisplayName()
Required.
|
DataStore.Builder |
clearDocumentProcessingConfig()
Configuration for Document understanding and enrichment.
|
DataStore.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DataStore.Builder |
clearIdpConfig()
Output only.
|
DataStore.Builder |
clearIndustryVertical()
Immutable.
|
DataStore.Builder |
clearLanguageInfo()
Language info for DataStore.
|
DataStore.Builder |
clearName()
Immutable.
|
DataStore.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DataStore.Builder |
clearSolutionTypes()
The solutions that the data store enrolls.
|
DataStore.Builder |
clearStartingSchema()
The start schema to use for this
[DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when
provisioning it.
|
DataStore.Builder |
clone() |
boolean |
getAclEnabled()
Immutable.
|
DataStore.ContentConfig |
getContentConfig()
Immutable.
|
int |
getContentConfigValue()
Immutable.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
DataStore |
getDefaultInstanceForType() |
String |
getDefaultSchemaId()
Output only.
|
com.google.protobuf.ByteString |
getDefaultSchemaIdBytes()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
DocumentProcessingConfig |
getDocumentProcessingConfig()
Configuration for Document understanding and enrichment.
|
DocumentProcessingConfig.Builder |
getDocumentProcessingConfigBuilder()
Configuration for Document understanding and enrichment.
|
DocumentProcessingConfigOrBuilder |
getDocumentProcessingConfigOrBuilder()
Configuration for Document understanding and enrichment.
|
IdpConfig |
getIdpConfig()
Output only.
|
IdpConfig.Builder |
getIdpConfigBuilder()
Output only.
|
IdpConfigOrBuilder |
getIdpConfigOrBuilder()
Output only.
|
IndustryVertical |
getIndustryVertical()
Immutable.
|
int |
getIndustryVerticalValue()
Immutable.
|
LanguageInfo |
getLanguageInfo()
Language info for DataStore.
|
LanguageInfo.Builder |
getLanguageInfoBuilder()
Language info for DataStore.
|
LanguageInfoOrBuilder |
getLanguageInfoOrBuilder()
Language info for DataStore.
|
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
SolutionType |
getSolutionTypes(int index)
The solutions that the data store enrolls.
|
int |
getSolutionTypesCount()
The solutions that the data store enrolls.
|
List<SolutionType> |
getSolutionTypesList()
The solutions that the data store enrolls.
|
int |
getSolutionTypesValue(int index)
The solutions that the data store enrolls.
|
List<Integer> |
getSolutionTypesValueList()
The solutions that the data store enrolls.
|
Schema |
getStartingSchema()
The start schema to use for this
[DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when
provisioning it.
|
Schema.Builder |
getStartingSchemaBuilder()
The start schema to use for this
[DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when
provisioning it.
|
SchemaOrBuilder |
getStartingSchemaOrBuilder()
The start schema to use for this
[DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when
provisioning it.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDocumentProcessingConfig()
Configuration for Document understanding and enrichment.
|
boolean |
hasIdpConfig()
Output only.
|
boolean |
hasLanguageInfo()
Language info for DataStore.
|
boolean |
hasStartingSchema()
The start schema to use for this
[DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when
provisioning it.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DataStore.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
DataStore.Builder |
mergeDocumentProcessingConfig(DocumentProcessingConfig value)
Configuration for Document understanding and enrichment.
|
DataStore.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DataStore.Builder |
mergeFrom(DataStore other) |
DataStore.Builder |
mergeFrom(com.google.protobuf.Message other) |
DataStore.Builder |
mergeIdpConfig(IdpConfig value)
Output only.
|
DataStore.Builder |
mergeLanguageInfo(LanguageInfo value)
Language info for DataStore.
|
DataStore.Builder |
mergeStartingSchema(Schema value)
The start schema to use for this
[DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when
provisioning it.
|
DataStore.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DataStore.Builder |
setAclEnabled(boolean value)
Immutable.
|
DataStore.Builder |
setContentConfig(DataStore.ContentConfig value)
Immutable.
|
DataStore.Builder |
setContentConfigValue(int value)
Immutable.
|
DataStore.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
DataStore.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
DataStore.Builder |
setDefaultSchemaId(String value)
Output only.
|
DataStore.Builder |
setDefaultSchemaIdBytes(com.google.protobuf.ByteString value)
Output only.
|
DataStore.Builder |
setDisplayName(String value)
Required.
|
DataStore.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
DataStore.Builder |
setDocumentProcessingConfig(DocumentProcessingConfig.Builder builderForValue)
Configuration for Document understanding and enrichment.
|
DataStore.Builder |
setDocumentProcessingConfig(DocumentProcessingConfig value)
Configuration for Document understanding and enrichment.
|
DataStore.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DataStore.Builder |
setIdpConfig(IdpConfig.Builder builderForValue)
Output only.
|
DataStore.Builder |
setIdpConfig(IdpConfig value)
Output only.
|
DataStore.Builder |
setIndustryVertical(IndustryVertical value)
Immutable.
|
DataStore.Builder |
setIndustryVerticalValue(int value)
Immutable.
|
DataStore.Builder |
setLanguageInfo(LanguageInfo.Builder builderForValue)
Language info for DataStore.
|
DataStore.Builder |
setLanguageInfo(LanguageInfo value)
Language info for DataStore.
|
DataStore.Builder |
setName(String value)
Immutable.
|
DataStore.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Immutable.
|
DataStore.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DataStore.Builder |
setSolutionTypes(int index,
SolutionType value)
The solutions that the data store enrolls.
|
DataStore.Builder |
setSolutionTypesValue(int index,
int value)
The solutions that the data store enrolls.
|
DataStore.Builder |
setStartingSchema(Schema.Builder builderForValue)
The start schema to use for this
[DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when
provisioning it.
|
DataStore.Builder |
setStartingSchema(Schema value)
The start schema to use for this
[DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when
provisioning it.
|
DataStore.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<DataStore.Builder>public DataStore.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DataStore.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<DataStore.Builder>public DataStore getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DataStore build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DataStore buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DataStore.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DataStore.Builder>public DataStore.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<DataStore.Builder>public DataStore.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DataStore.Builder>public DataStore.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DataStore.Builder>public DataStore.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<DataStore.Builder>public DataStore.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<DataStore.Builder>public DataStore.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataStore.Builder>public DataStore.Builder mergeFrom(DataStore other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DataStore.Builder>public DataStore.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<DataStore.Builder>IOExceptionpublic String getName()
Immutable. The full resource name of the data store.
Format:
`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
This field must be a UTF-8 encoded string with a length limit of 1024
characters.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getName in interface DataStoreOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Immutable. The full resource name of the data store.
Format:
`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
This field must be a UTF-8 encoded string with a length limit of 1024
characters.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getNameBytes in interface DataStoreOrBuilderpublic DataStore.Builder setName(String value)
Immutable. The full resource name of the data store.
Format:
`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
This field must be a UTF-8 encoded string with a length limit of 1024
characters.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The name to set.public DataStore.Builder clearName()
Immutable. The full resource name of the data store.
Format:
`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
This field must be a UTF-8 encoded string with a length limit of 1024
characters.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];public DataStore.Builder setNameBytes(com.google.protobuf.ByteString value)
Immutable. The full resource name of the data store.
Format:
`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
This field must be a UTF-8 encoded string with a length limit of 1024
characters.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The bytes for name to set.public String getDisplayName()
Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface DataStoreOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface DataStoreOrBuilderpublic DataStore.Builder setDisplayName(String value)
Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The displayName to set.public DataStore.Builder clearDisplayName()
Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];public DataStore.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for displayName to set.public int getIndustryVerticalValue()
Immutable. The industry vertical that the data store registers.
.google.cloud.discoveryengine.v1alpha.IndustryVertical industry_vertical = 3 [(.google.api.field_behavior) = IMMUTABLE];
getIndustryVerticalValue in interface DataStoreOrBuilderpublic DataStore.Builder setIndustryVerticalValue(int value)
Immutable. The industry vertical that the data store registers.
.google.cloud.discoveryengine.v1alpha.IndustryVertical industry_vertical = 3 [(.google.api.field_behavior) = IMMUTABLE];
value - The enum numeric value on the wire for industryVertical to set.public IndustryVertical getIndustryVertical()
Immutable. The industry vertical that the data store registers.
.google.cloud.discoveryengine.v1alpha.IndustryVertical industry_vertical = 3 [(.google.api.field_behavior) = IMMUTABLE];
getIndustryVertical in interface DataStoreOrBuilderpublic DataStore.Builder setIndustryVertical(IndustryVertical value)
Immutable. The industry vertical that the data store registers.
.google.cloud.discoveryengine.v1alpha.IndustryVertical industry_vertical = 3 [(.google.api.field_behavior) = IMMUTABLE];
value - The industryVertical to set.public DataStore.Builder clearIndustryVertical()
Immutable. The industry vertical that the data store registers.
.google.cloud.discoveryengine.v1alpha.IndustryVertical industry_vertical = 3 [(.google.api.field_behavior) = IMMUTABLE];
public List<SolutionType> getSolutionTypesList()
The solutions that the data store enrolls. Available solutions for each [industry_vertical][google.cloud.discoveryengine.v1alpha.DataStore.industry_vertical]: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.
repeated .google.cloud.discoveryengine.v1alpha.SolutionType solution_types = 5;getSolutionTypesList in interface DataStoreOrBuilderpublic int getSolutionTypesCount()
The solutions that the data store enrolls. Available solutions for each [industry_vertical][google.cloud.discoveryengine.v1alpha.DataStore.industry_vertical]: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.
repeated .google.cloud.discoveryengine.v1alpha.SolutionType solution_types = 5;getSolutionTypesCount in interface DataStoreOrBuilderpublic SolutionType getSolutionTypes(int index)
The solutions that the data store enrolls. Available solutions for each [industry_vertical][google.cloud.discoveryengine.v1alpha.DataStore.industry_vertical]: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.
repeated .google.cloud.discoveryengine.v1alpha.SolutionType solution_types = 5;getSolutionTypes in interface DataStoreOrBuilderindex - The index of the element to return.public DataStore.Builder setSolutionTypes(int index, SolutionType value)
The solutions that the data store enrolls. Available solutions for each [industry_vertical][google.cloud.discoveryengine.v1alpha.DataStore.industry_vertical]: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.
repeated .google.cloud.discoveryengine.v1alpha.SolutionType solution_types = 5;index - The index to set the value at.value - The solutionTypes to set.public DataStore.Builder addSolutionTypes(SolutionType value)
The solutions that the data store enrolls. Available solutions for each [industry_vertical][google.cloud.discoveryengine.v1alpha.DataStore.industry_vertical]: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.
repeated .google.cloud.discoveryengine.v1alpha.SolutionType solution_types = 5;value - The solutionTypes to add.public DataStore.Builder addAllSolutionTypes(Iterable<? extends SolutionType> values)
The solutions that the data store enrolls. Available solutions for each [industry_vertical][google.cloud.discoveryengine.v1alpha.DataStore.industry_vertical]: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.
repeated .google.cloud.discoveryengine.v1alpha.SolutionType solution_types = 5;values - The solutionTypes to add.public DataStore.Builder clearSolutionTypes()
The solutions that the data store enrolls. Available solutions for each [industry_vertical][google.cloud.discoveryengine.v1alpha.DataStore.industry_vertical]: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.
repeated .google.cloud.discoveryengine.v1alpha.SolutionType solution_types = 5;public List<Integer> getSolutionTypesValueList()
The solutions that the data store enrolls. Available solutions for each [industry_vertical][google.cloud.discoveryengine.v1alpha.DataStore.industry_vertical]: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.
repeated .google.cloud.discoveryengine.v1alpha.SolutionType solution_types = 5;getSolutionTypesValueList in interface DataStoreOrBuilderpublic int getSolutionTypesValue(int index)
The solutions that the data store enrolls. Available solutions for each [industry_vertical][google.cloud.discoveryengine.v1alpha.DataStore.industry_vertical]: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.
repeated .google.cloud.discoveryengine.v1alpha.SolutionType solution_types = 5;getSolutionTypesValue in interface DataStoreOrBuilderindex - The index of the value to return.public DataStore.Builder setSolutionTypesValue(int index, int value)
The solutions that the data store enrolls. Available solutions for each [industry_vertical][google.cloud.discoveryengine.v1alpha.DataStore.industry_vertical]: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.
repeated .google.cloud.discoveryengine.v1alpha.SolutionType solution_types = 5;index - The index to set the value at.value - The enum numeric value on the wire for solutionTypes to set.public DataStore.Builder addSolutionTypesValue(int value)
The solutions that the data store enrolls. Available solutions for each [industry_vertical][google.cloud.discoveryengine.v1alpha.DataStore.industry_vertical]: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.
repeated .google.cloud.discoveryengine.v1alpha.SolutionType solution_types = 5;value - The enum numeric value on the wire for solutionTypes to add.public DataStore.Builder addAllSolutionTypesValue(Iterable<Integer> values)
The solutions that the data store enrolls. Available solutions for each [industry_vertical][google.cloud.discoveryengine.v1alpha.DataStore.industry_vertical]: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.
repeated .google.cloud.discoveryengine.v1alpha.SolutionType solution_types = 5;values - The enum numeric values on the wire for solutionTypes to add.public String getDefaultSchemaId()
Output only. The id of the default [Schema][google.cloud.discoveryengine.v1alpha.Schema] asscociated to this data store.
string default_schema_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getDefaultSchemaId in interface DataStoreOrBuilderpublic com.google.protobuf.ByteString getDefaultSchemaIdBytes()
Output only. The id of the default [Schema][google.cloud.discoveryengine.v1alpha.Schema] asscociated to this data store.
string default_schema_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getDefaultSchemaIdBytes in interface DataStoreOrBuilderpublic DataStore.Builder setDefaultSchemaId(String value)
Output only. The id of the default [Schema][google.cloud.discoveryengine.v1alpha.Schema] asscociated to this data store.
string default_schema_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The defaultSchemaId to set.public DataStore.Builder clearDefaultSchemaId()
Output only. The id of the default [Schema][google.cloud.discoveryengine.v1alpha.Schema] asscociated to this data store.
string default_schema_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];public DataStore.Builder setDefaultSchemaIdBytes(com.google.protobuf.ByteString value)
Output only. The id of the default [Schema][google.cloud.discoveryengine.v1alpha.Schema] asscociated to this data store.
string default_schema_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for defaultSchemaId to set.public int getContentConfigValue()
Immutable. The content config of the data store. If this field is unset, the server behavior defaults to [ContentConfig.NO_CONTENT][google.cloud.discoveryengine.v1alpha.DataStore.ContentConfig.NO_CONTENT].
.google.cloud.discoveryengine.v1alpha.DataStore.ContentConfig content_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
getContentConfigValue in interface DataStoreOrBuilderpublic DataStore.Builder setContentConfigValue(int value)
Immutable. The content config of the data store. If this field is unset, the server behavior defaults to [ContentConfig.NO_CONTENT][google.cloud.discoveryengine.v1alpha.DataStore.ContentConfig.NO_CONTENT].
.google.cloud.discoveryengine.v1alpha.DataStore.ContentConfig content_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
value - The enum numeric value on the wire for contentConfig to set.public DataStore.ContentConfig getContentConfig()
Immutable. The content config of the data store. If this field is unset, the server behavior defaults to [ContentConfig.NO_CONTENT][google.cloud.discoveryengine.v1alpha.DataStore.ContentConfig.NO_CONTENT].
.google.cloud.discoveryengine.v1alpha.DataStore.ContentConfig content_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
getContentConfig in interface DataStoreOrBuilderpublic DataStore.Builder setContentConfig(DataStore.ContentConfig value)
Immutable. The content config of the data store. If this field is unset, the server behavior defaults to [ContentConfig.NO_CONTENT][google.cloud.discoveryengine.v1alpha.DataStore.ContentConfig.NO_CONTENT].
.google.cloud.discoveryengine.v1alpha.DataStore.ContentConfig content_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
value - The contentConfig to set.public DataStore.Builder clearContentConfig()
Immutable. The content config of the data store. If this field is unset, the server behavior defaults to [ContentConfig.NO_CONTENT][google.cloud.discoveryengine.v1alpha.DataStore.ContentConfig.NO_CONTENT].
.google.cloud.discoveryengine.v1alpha.DataStore.ContentConfig content_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
public boolean hasCreateTime()
Output only. Timestamp the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] was created at.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface DataStoreOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] was created at.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface DataStoreOrBuilderpublic DataStore.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] was created at.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public DataStore.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] was created at.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public DataStore.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] was created at.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public DataStore.Builder clearCreateTime()
Output only. Timestamp the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] was created at.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] was created at.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] was created at.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface DataStoreOrBuilderpublic boolean hasLanguageInfo()
Language info for DataStore.
.google.cloud.discoveryengine.v1alpha.LanguageInfo language_info = 14;hasLanguageInfo in interface DataStoreOrBuilderpublic LanguageInfo getLanguageInfo()
Language info for DataStore.
.google.cloud.discoveryengine.v1alpha.LanguageInfo language_info = 14;getLanguageInfo in interface DataStoreOrBuilderpublic DataStore.Builder setLanguageInfo(LanguageInfo value)
Language info for DataStore.
.google.cloud.discoveryengine.v1alpha.LanguageInfo language_info = 14;public DataStore.Builder setLanguageInfo(LanguageInfo.Builder builderForValue)
Language info for DataStore.
.google.cloud.discoveryengine.v1alpha.LanguageInfo language_info = 14;public DataStore.Builder mergeLanguageInfo(LanguageInfo value)
Language info for DataStore.
.google.cloud.discoveryengine.v1alpha.LanguageInfo language_info = 14;public DataStore.Builder clearLanguageInfo()
Language info for DataStore.
.google.cloud.discoveryengine.v1alpha.LanguageInfo language_info = 14;public LanguageInfo.Builder getLanguageInfoBuilder()
Language info for DataStore.
.google.cloud.discoveryengine.v1alpha.LanguageInfo language_info = 14;public LanguageInfoOrBuilder getLanguageInfoOrBuilder()
Language info for DataStore.
.google.cloud.discoveryengine.v1alpha.LanguageInfo language_info = 14;getLanguageInfoOrBuilder in interface DataStoreOrBuilderpublic boolean hasIdpConfig()
Output only. Data store level identity provider config.
.google.cloud.discoveryengine.v1alpha.IdpConfig idp_config = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasIdpConfig in interface DataStoreOrBuilderpublic IdpConfig getIdpConfig()
Output only. Data store level identity provider config.
.google.cloud.discoveryengine.v1alpha.IdpConfig idp_config = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
getIdpConfig in interface DataStoreOrBuilderpublic DataStore.Builder setIdpConfig(IdpConfig value)
Output only. Data store level identity provider config.
.google.cloud.discoveryengine.v1alpha.IdpConfig idp_config = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
public DataStore.Builder setIdpConfig(IdpConfig.Builder builderForValue)
Output only. Data store level identity provider config.
.google.cloud.discoveryengine.v1alpha.IdpConfig idp_config = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
public DataStore.Builder mergeIdpConfig(IdpConfig value)
Output only. Data store level identity provider config.
.google.cloud.discoveryengine.v1alpha.IdpConfig idp_config = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
public DataStore.Builder clearIdpConfig()
Output only. Data store level identity provider config.
.google.cloud.discoveryengine.v1alpha.IdpConfig idp_config = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
public IdpConfig.Builder getIdpConfigBuilder()
Output only. Data store level identity provider config.
.google.cloud.discoveryengine.v1alpha.IdpConfig idp_config = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
public IdpConfigOrBuilder getIdpConfigOrBuilder()
Output only. Data store level identity provider config.
.google.cloud.discoveryengine.v1alpha.IdpConfig idp_config = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
getIdpConfigOrBuilder in interface DataStoreOrBuilderpublic boolean getAclEnabled()
Immutable. Whether data in the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by [DocumentService.ImportDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments] methods. When ACL is enabled for the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore], [Document][google.cloud.discoveryengine.v1alpha.Document] can't be accessed by calling [DocumentService.GetDocument][google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument] or [DocumentService.ListDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments]. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config.
bool acl_enabled = 24 [(.google.api.field_behavior) = IMMUTABLE];getAclEnabled in interface DataStoreOrBuilderpublic DataStore.Builder setAclEnabled(boolean value)
Immutable. Whether data in the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by [DocumentService.ImportDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments] methods. When ACL is enabled for the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore], [Document][google.cloud.discoveryengine.v1alpha.Document] can't be accessed by calling [DocumentService.GetDocument][google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument] or [DocumentService.ListDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments]. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config.
bool acl_enabled = 24 [(.google.api.field_behavior) = IMMUTABLE];value - The aclEnabled to set.public DataStore.Builder clearAclEnabled()
Immutable. Whether data in the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by [DocumentService.ImportDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments] methods. When ACL is enabled for the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore], [Document][google.cloud.discoveryengine.v1alpha.Document] can't be accessed by calling [DocumentService.GetDocument][google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument] or [DocumentService.ListDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments]. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config.
bool acl_enabled = 24 [(.google.api.field_behavior) = IMMUTABLE];public boolean hasDocumentProcessingConfig()
Configuration for Document understanding and enrichment.
.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig document_processing_config = 27;
hasDocumentProcessingConfig in interface DataStoreOrBuilderpublic DocumentProcessingConfig getDocumentProcessingConfig()
Configuration for Document understanding and enrichment.
.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig document_processing_config = 27;
getDocumentProcessingConfig in interface DataStoreOrBuilderpublic DataStore.Builder setDocumentProcessingConfig(DocumentProcessingConfig value)
Configuration for Document understanding and enrichment.
.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig document_processing_config = 27;
public DataStore.Builder setDocumentProcessingConfig(DocumentProcessingConfig.Builder builderForValue)
Configuration for Document understanding and enrichment.
.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig document_processing_config = 27;
public DataStore.Builder mergeDocumentProcessingConfig(DocumentProcessingConfig value)
Configuration for Document understanding and enrichment.
.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig document_processing_config = 27;
public DataStore.Builder clearDocumentProcessingConfig()
Configuration for Document understanding and enrichment.
.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig document_processing_config = 27;
public DocumentProcessingConfig.Builder getDocumentProcessingConfigBuilder()
Configuration for Document understanding and enrichment.
.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig document_processing_config = 27;
public DocumentProcessingConfigOrBuilder getDocumentProcessingConfigOrBuilder()
Configuration for Document understanding and enrichment.
.google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig document_processing_config = 27;
getDocumentProcessingConfigOrBuilder in interface DataStoreOrBuilderpublic boolean hasStartingSchema()
The start schema to use for this [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by [CreateDataStore][] API, and will be ignored if used in other APIs. This field will be omitted from all API responses including [CreateDataStore][] API. To retrieve a schema of a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore], use [SchemaService.GetSchema][google.cloud.discoveryengine.v1alpha.SchemaService.GetSchema] API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).
.google.cloud.discoveryengine.v1alpha.Schema starting_schema = 28;hasStartingSchema in interface DataStoreOrBuilderpublic Schema getStartingSchema()
The start schema to use for this [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by [CreateDataStore][] API, and will be ignored if used in other APIs. This field will be omitted from all API responses including [CreateDataStore][] API. To retrieve a schema of a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore], use [SchemaService.GetSchema][google.cloud.discoveryengine.v1alpha.SchemaService.GetSchema] API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).
.google.cloud.discoveryengine.v1alpha.Schema starting_schema = 28;getStartingSchema in interface DataStoreOrBuilderpublic DataStore.Builder setStartingSchema(Schema value)
The start schema to use for this [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by [CreateDataStore][] API, and will be ignored if used in other APIs. This field will be omitted from all API responses including [CreateDataStore][] API. To retrieve a schema of a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore], use [SchemaService.GetSchema][google.cloud.discoveryengine.v1alpha.SchemaService.GetSchema] API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).
.google.cloud.discoveryengine.v1alpha.Schema starting_schema = 28;public DataStore.Builder setStartingSchema(Schema.Builder builderForValue)
The start schema to use for this [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by [CreateDataStore][] API, and will be ignored if used in other APIs. This field will be omitted from all API responses including [CreateDataStore][] API. To retrieve a schema of a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore], use [SchemaService.GetSchema][google.cloud.discoveryengine.v1alpha.SchemaService.GetSchema] API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).
.google.cloud.discoveryengine.v1alpha.Schema starting_schema = 28;public DataStore.Builder mergeStartingSchema(Schema value)
The start schema to use for this [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by [CreateDataStore][] API, and will be ignored if used in other APIs. This field will be omitted from all API responses including [CreateDataStore][] API. To retrieve a schema of a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore], use [SchemaService.GetSchema][google.cloud.discoveryengine.v1alpha.SchemaService.GetSchema] API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).
.google.cloud.discoveryengine.v1alpha.Schema starting_schema = 28;public DataStore.Builder clearStartingSchema()
The start schema to use for this [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by [CreateDataStore][] API, and will be ignored if used in other APIs. This field will be omitted from all API responses including [CreateDataStore][] API. To retrieve a schema of a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore], use [SchemaService.GetSchema][google.cloud.discoveryengine.v1alpha.SchemaService.GetSchema] API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).
.google.cloud.discoveryengine.v1alpha.Schema starting_schema = 28;public Schema.Builder getStartingSchemaBuilder()
The start schema to use for this [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by [CreateDataStore][] API, and will be ignored if used in other APIs. This field will be omitted from all API responses including [CreateDataStore][] API. To retrieve a schema of a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore], use [SchemaService.GetSchema][google.cloud.discoveryengine.v1alpha.SchemaService.GetSchema] API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).
.google.cloud.discoveryengine.v1alpha.Schema starting_schema = 28;public SchemaOrBuilder getStartingSchemaOrBuilder()
The start schema to use for this [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by [CreateDataStore][] API, and will be ignored if used in other APIs. This field will be omitted from all API responses including [CreateDataStore][] API. To retrieve a schema of a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore], use [SchemaService.GetSchema][google.cloud.discoveryengine.v1alpha.SchemaService.GetSchema] API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).
.google.cloud.discoveryengine.v1alpha.Schema starting_schema = 28;getStartingSchemaOrBuilder in interface DataStoreOrBuilderpublic final DataStore.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataStore.Builder>public final DataStore.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataStore.Builder>Copyright © 2024 Google LLC. All rights reserved.