Class CreateDataStoreRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.discoveryengine.v1.CreateDataStoreRequest
- All Implemented Interfaces:
CreateDataStoreRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class CreateDataStoreRequest
extends com.google.protobuf.GeneratedMessage
implements CreateDataStoreRequestOrBuilder
Request for [DataStoreService.CreateDataStore][google.cloud.discoveryengine.v1.DataStoreService.CreateDataStore] method.Protobuf type
google.cloud.discoveryengine.v1.CreateDataStoreRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest for [DataStoreService.CreateDataStore][google.cloud.discoveryengine.v1.DataStoreService.CreateDataStore] method.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanResource name of the CmekConfig to use for protecting this DataStore.com.google.protobuf.ByteStringResource name of the CmekConfig to use for protecting this DataStore.booleanA boolean flag indicating whether user want to directly create an advanced data store for site search.Required.Required.com.google.protobuf.ByteStringRequired.Required.static CreateDataStoreRequeststatic final com.google.protobuf.Descriptors.DescriptorbooleanDataStore without CMEK protections.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.Parser<CreateDataStoreRequest>intbooleanA boolean flag indicating whether to skip the default schema creation for the data store.booleanResource name of the CmekConfig to use for protecting this DataStore.booleanRequired.booleanDataStore without CMEK protections.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(CreateDataStoreRequest prototype) protected CreateDataStoreRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CreateDataStoreRequestparseDelimitedFrom(InputStream input) static CreateDataStoreRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateDataStoreRequestparseFrom(byte[] data) static CreateDataStoreRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateDataStoreRequestparseFrom(com.google.protobuf.ByteString data) static CreateDataStoreRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateDataStoreRequestparseFrom(com.google.protobuf.CodedInputStream input) static CreateDataStoreRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateDataStoreRequestparseFrom(InputStream input) static CreateDataStoreRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateDataStoreRequestparseFrom(ByteBuffer data) static CreateDataStoreRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CreateDataStoreRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CMEK_CONFIG_NAME_FIELD_NUMBER
public static final int CMEK_CONFIG_NAME_FIELD_NUMBER- See Also:
-
DISABLE_CMEK_FIELD_NUMBER
public static final int DISABLE_CMEK_FIELD_NUMBER- See Also:
-
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER- See Also:
-
DATA_STORE_FIELD_NUMBER
public static final int DATA_STORE_FIELD_NUMBER- See Also:
-
DATA_STORE_ID_FIELD_NUMBER
public static final int DATA_STORE_ID_FIELD_NUMBER- See Also:
-
CREATE_ADVANCED_SITE_SEARCH_FIELD_NUMBER
public static final int CREATE_ADVANCED_SITE_SEARCH_FIELD_NUMBER- See Also:
-
SKIP_DEFAULT_SCHEMA_CREATION_FIELD_NUMBER
public static final int SKIP_DEFAULT_SCHEMA_CREATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getCmekOptionsCase
- Specified by:
getCmekOptionsCasein interfaceCreateDataStoreRequestOrBuilder
-
hasCmekConfigName
public boolean hasCmekConfigName()Resource name of the CmekConfig to use for protecting this DataStore.
string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }- Specified by:
hasCmekConfigNamein interfaceCreateDataStoreRequestOrBuilder- Returns:
- Whether the cmekConfigName field is set.
-
getCmekConfigName
Resource name of the CmekConfig to use for protecting this DataStore.
string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }- Specified by:
getCmekConfigNamein interfaceCreateDataStoreRequestOrBuilder- Returns:
- The cmekConfigName.
-
getCmekConfigNameBytes
public com.google.protobuf.ByteString getCmekConfigNameBytes()Resource name of the CmekConfig to use for protecting this DataStore.
string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }- Specified by:
getCmekConfigNameBytesin interfaceCreateDataStoreRequestOrBuilder- Returns:
- The bytes for cmekConfigName.
-
hasDisableCmek
public boolean hasDisableCmek()DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.
bool disable_cmek = 6;- Specified by:
hasDisableCmekin interfaceCreateDataStoreRequestOrBuilder- Returns:
- Whether the disableCmek field is set.
-
getDisableCmek
public boolean getDisableCmek()DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.
bool disable_cmek = 6;- Specified by:
getDisableCmekin interfaceCreateDataStoreRequestOrBuilder- Returns:
- The disableCmek.
-
getParent
Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceCreateDataStoreRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceCreateDataStoreRequestOrBuilder- Returns:
- The bytes for parent.
-
hasDataStore
public boolean hasDataStore()Required. The [DataStore][google.cloud.discoveryengine.v1.DataStore] to create.
.google.cloud.discoveryengine.v1.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasDataStorein interfaceCreateDataStoreRequestOrBuilder- Returns:
- Whether the dataStore field is set.
-
getDataStore
Required. The [DataStore][google.cloud.discoveryengine.v1.DataStore] to create.
.google.cloud.discoveryengine.v1.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDataStorein interfaceCreateDataStoreRequestOrBuilder- Returns:
- The dataStore.
-
getDataStoreOrBuilder
Required. The [DataStore][google.cloud.discoveryengine.v1.DataStore] to create.
.google.cloud.discoveryengine.v1.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDataStoreOrBuilderin interfaceCreateDataStoreRequestOrBuilder
-
getDataStoreId
Required. The ID to use for the [DataStore][google.cloud.discoveryengine.v1.DataStore], which will become the final component of the [DataStore][google.cloud.discoveryengine.v1.DataStore]'s resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string data_store_id = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDataStoreIdin interfaceCreateDataStoreRequestOrBuilder- Returns:
- The dataStoreId.
-
getDataStoreIdBytes
public com.google.protobuf.ByteString getDataStoreIdBytes()Required. The ID to use for the [DataStore][google.cloud.discoveryengine.v1.DataStore], which will become the final component of the [DataStore][google.cloud.discoveryengine.v1.DataStore]'s resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string data_store_id = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDataStoreIdBytesin interfaceCreateDataStoreRequestOrBuilder- Returns:
- The bytes for dataStoreId.
-
getCreateAdvancedSiteSearch
public boolean getCreateAdvancedSiteSearch()A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored.
bool create_advanced_site_search = 4;- Specified by:
getCreateAdvancedSiteSearchin interfaceCreateDataStoreRequestOrBuilder- Returns:
- The createAdvancedSiteSearch.
-
getSkipDefaultSchemaCreation
public boolean getSkipDefaultSchemaCreation()A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified.
bool skip_default_schema_creation = 7;- Specified by:
getSkipDefaultSchemaCreationin interfaceCreateDataStoreRequestOrBuilder- Returns:
- The skipDefaultSchemaCreation.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CreateDataStoreRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateDataStoreRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateDataStoreRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateDataStoreRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateDataStoreRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateDataStoreRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CreateDataStoreRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CreateDataStoreRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CreateDataStoreRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CreateDataStoreRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CreateDataStoreRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-