Class CreateDataStoreRequest (0.72.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.72.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  CreateDataStoreRequest   extends   GeneratedMessageV3   implements   CreateDataStoreRequestOrBuilder  
   Request for
 DataStoreService.CreateDataStore 
 method.
 Protobuf type google.cloud.discoveryengine.v1beta.CreateDataStoreRequest
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  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  
     
  
  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  
      
        databyte [] 
     
  
  
  
  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  
      
        objObject  
     
  
  
  Overrides 
  
  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.v1beta.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.v1beta.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];
 
getDefaultInstanceForType() 
  
    
public   CreateDataStoreRequest   getDefaultInstanceForType ()  
  
  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.
 
     
  
  hasDataStore() 
  
    
public   boolean   hasDataStore ()  
   Required. The DataStore  to
 create.
 
 .google.cloud.discoveryengine.v1beta.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the dataStore field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   CreateDataStoreRequest . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   CreateDataStoreRequest . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   CreateDataStoreRequest . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]