public final class DataStore extends com.google.protobuf.GeneratedMessageV3 implements DataStoreOrBuilder
DataStore captures global settings and configs at the DataStore level.Protobuf type
google.cloud.discoveryengine.v1beta.DataStore| Modifier and Type | Class and Description |
|---|---|
static class |
DataStore.Builder
DataStore captures global settings and configs at the DataStore level.
|
static class |
DataStore.ContentConfig
Content config of the data store.
|
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 |
CONTENT_CONFIG_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DEFAULT_SCHEMA_ID_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
INDUSTRY_VERTICAL_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SOLUTION_TYPES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
DataStore.ContentConfig |
getContentConfig()
Immutable.
|
int |
getContentConfigValue()
Immutable.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static DataStore |
getDefaultInstance() |
DataStore |
getDefaultInstanceForType() |
String |
getDefaultSchemaId()
Output only.
|
com.google.protobuf.ByteString |
getDefaultSchemaIdBytes()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
IndustryVertical |
getIndustryVertical()
Immutable.
|
int |
getIndustryVerticalValue()
Immutable.
|
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
com.google.protobuf.Parser<DataStore> |
getParserForType() |
int |
getSerializedSize() |
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.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DataStore.Builder |
newBuilder() |
static DataStore.Builder |
newBuilder(DataStore prototype) |
DataStore.Builder |
newBuilderForType() |
protected DataStore.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DataStore |
parseDelimitedFrom(InputStream input) |
static DataStore |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataStore |
parseFrom(byte[] data) |
static DataStore |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataStore |
parseFrom(ByteBuffer data) |
static DataStore |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataStore |
parseFrom(com.google.protobuf.ByteString data) |
static DataStore |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataStore |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DataStore |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataStore |
parseFrom(InputStream input) |
static DataStore |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DataStore> |
parser() |
DataStore.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 NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int INDUSTRY_VERTICAL_FIELD_NUMBER
public static final int SOLUTION_TYPES_FIELD_NUMBER
public static final int DEFAULT_SCHEMA_ID_FIELD_NUMBER
public static final int CONTENT_CONFIG_FIELD_NUMBER
public static final int CREATE_TIME_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 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 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 int getIndustryVerticalValue()
Immutable. The industry vertical that the data store registers.
.google.cloud.discoveryengine.v1beta.IndustryVertical industry_vertical = 3 [(.google.api.field_behavior) = IMMUTABLE];
getIndustryVerticalValue in interface DataStoreOrBuilderpublic IndustryVertical getIndustryVertical()
Immutable. The industry vertical that the data store registers.
.google.cloud.discoveryengine.v1beta.IndustryVertical industry_vertical = 3 [(.google.api.field_behavior) = IMMUTABLE];
getIndustryVertical in interface DataStoreOrBuilderpublic List<SolutionType> getSolutionTypesList()
The solutions that the data store enrolls. Available solutions for each [industry_vertical][google.cloud.discoveryengine.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.SolutionType solution_types = 5;getSolutionTypes in interface DataStoreOrBuilderindex - The index of the element to return.public List<Integer> getSolutionTypesValueList()
The solutions that the data store enrolls. Available solutions for each [industry_vertical][google.cloud.discoveryengine.v1beta.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.v1beta.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.v1beta.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.v1beta.SolutionType solution_types = 5;getSolutionTypesValue in interface DataStoreOrBuilderindex - The index of the value to return.public String getDefaultSchemaId()
Output only. The id of the default [Schema][google.cloud.discoveryengine.v1beta.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.v1beta.Schema] asscociated to this data store.
string default_schema_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getDefaultSchemaIdBytes in interface DataStoreOrBuilderpublic 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.v1beta.DataStore.ContentConfig.NO_CONTENT].
.google.cloud.discoveryengine.v1beta.DataStore.ContentConfig content_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
getContentConfigValue in interface DataStoreOrBuilderpublic 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.v1beta.DataStore.ContentConfig.NO_CONTENT].
.google.cloud.discoveryengine.v1beta.DataStore.ContentConfig content_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
getContentConfig in interface DataStoreOrBuilderpublic boolean hasCreateTime()
Output only. Timestamp the [DataStore][google.cloud.discoveryengine.v1beta.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.v1beta.DataStore] was created at.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface DataStoreOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp the [DataStore][google.cloud.discoveryengine.v1beta.DataStore] was created at.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface DataStoreOrBuilderpublic 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 DataStore parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataStore parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataStore parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataStore parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataStore parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataStore parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataStore parseFrom(InputStream input) throws IOException
IOExceptionpublic static DataStore parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DataStore parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DataStore parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DataStore parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DataStore parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DataStore.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DataStore.Builder newBuilder()
public static DataStore.Builder newBuilder(DataStore prototype)
public DataStore.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DataStore.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DataStore getDefaultInstance()
public static com.google.protobuf.Parser<DataStore> parser()
public com.google.protobuf.Parser<DataStore> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DataStore getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.