public final class CreateDataStoreRequest extends GeneratedMessage implements CreateDataStoreRequestOrBuilder
Request for
DataStoreService.CreateDataStore
method.
Protobuf type google.cloud.discoveryengine.v1.CreateDataStoreRequest
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CMEK_CONFIG_NAME_FIELD_NUMBER
public static final int CMEK_CONFIG_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CREATE_ADVANCED_SITE_SEARCH_FIELD_NUMBER
public static final int CREATE_ADVANCED_SITE_SEARCH_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DATA_STORE_FIELD_NUMBER
public static final int DATA_STORE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DATA_STORE_ID_FIELD_NUMBER
public static final int DATA_STORE_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DISABLE_CMEK_FIELD_NUMBER
public static final int DISABLE_CMEK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SKIP_DEFAULT_SCHEMA_CREATION_FIELD_NUMBER
public static final int SKIP_DEFAULT_SCHEMA_CREATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static CreateDataStoreRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CreateDataStoreRequest.Builder newBuilder()
newBuilder(CreateDataStoreRequest prototype)
public static CreateDataStoreRequest.Builder newBuilder(CreateDataStoreRequest prototype)
public static CreateDataStoreRequest parseDelimitedFrom(InputStream input)
public static CreateDataStoreRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CreateDataStoreRequest parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateDataStoreRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CreateDataStoreRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateDataStoreRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateDataStoreRequest parseFrom(CodedInputStream input)
public static CreateDataStoreRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateDataStoreRequest parseFrom(InputStream input)
public static CreateDataStoreRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CreateDataStoreRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateDataStoreRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CreateDataStoreRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCmekConfigName()
public String getCmekConfigName()
Resource name of the CmekConfig to use for protecting this DataStore.
string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The cmekConfigName.
|
getCmekConfigNameBytes()
public ByteString getCmekConfigNameBytes()
Resource name of the CmekConfig to use for protecting this DataStore.
string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for cmekConfigName.
|
getCmekOptionsCase()
public CreateDataStoreRequest.CmekOptionsCase getCmekOptionsCase()
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;
| Returns |
| Type |
Description |
boolean |
The createAdvancedSiteSearch.
|
getDataStore()
public DataStore getDataStore()
Required. The DataStore to
create.
.google.cloud.discoveryengine.v1.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
DataStore |
The dataStore.
|
getDataStoreId()
public String getDataStoreId()
Required. The ID to use for the
DataStore, which will become
the final component of the
DataStore's resource name.
This field must conform to RFC-1034
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];
| Returns |
| Type |
Description |
String |
The dataStoreId.
|
getDataStoreIdBytes()
public ByteString getDataStoreIdBytes()
Required. The ID to use for the
DataStore, which will become
the final component of the
DataStore's resource name.
This field must conform to RFC-1034
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];
| Returns |
| Type |
Description |
ByteString |
The bytes for dataStoreId.
|
getDataStoreOrBuilder()
public DataStoreOrBuilder getDataStoreOrBuilder()
Required. The DataStore to
create.
.google.cloud.discoveryengine.v1.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateDataStoreRequest getDefaultInstanceForType()
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;
| Returns |
| Type |
Description |
boolean |
The disableCmek.
|
getParent()
public String 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) = { ... }
| Returns |
| Type |
Description |
String |
The parent.
|
getParentBytes()
public 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) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for parent.
|
getParserForType()
public Parser<CreateDataStoreRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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;
| Returns |
| Type |
Description |
boolean |
The skipDefaultSchemaCreation.
|
hasCmekConfigName()
public boolean hasCmekConfigName()
Resource name of the CmekConfig to use for protecting this DataStore.
string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
boolean |
Whether the cmekConfigName field is set.
|
hasDataStore()
public boolean hasDataStore()
Required. The DataStore to
create.
.google.cloud.discoveryengine.v1.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the dataStore field is set.
|
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;
| Returns |
| Type |
Description |
boolean |
Whether the disableCmek field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CreateDataStoreRequest.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CreateDataStoreRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public CreateDataStoreRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides