Class CreateDataStoreRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.discoveryengine.v1beta.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.v1beta.DataStoreService.CreateDataStore]
 method.
 
Protobuf type google.cloud.discoveryengine.v1beta.CreateDataStoreRequest
See Also:
  • Field Details

    • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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) = { ... }
      Specified by:
      getParent in interface CreateDataStoreRequestOrBuilder
      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:
      getParentBytes in interface CreateDataStoreRequestOrBuilder
      Returns:
      The bytes for parent.
    • hasDataStore

      public boolean hasDataStore()
       Required. The [DataStore][google.cloud.discoveryengine.v1beta.DataStore] to
       create.
       
      .google.cloud.discoveryengine.v1beta.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDataStore in interface CreateDataStoreRequestOrBuilder
      Returns:
      Whether the dataStore field is set.
    • getDataStore

      public DataStore getDataStore()
       Required. The [DataStore][google.cloud.discoveryengine.v1beta.DataStore] to
       create.
       
      .google.cloud.discoveryengine.v1beta.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataStore in interface CreateDataStoreRequestOrBuilder
      Returns:
      The dataStore.
    • getDataStoreOrBuilder

      public DataStoreOrBuilder getDataStoreOrBuilder()
       Required. The [DataStore][google.cloud.discoveryengine.v1beta.DataStore] to
       create.
       
      .google.cloud.discoveryengine.v1beta.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataStoreOrBuilder in interface CreateDataStoreRequestOrBuilder
    • getDataStoreId

      public String getDataStoreId()
       Required. The ID to use for the
       [DataStore][google.cloud.discoveryengine.v1beta.DataStore], which will
       become the final component of the
       [DataStore][google.cloud.discoveryengine.v1beta.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:
      getDataStoreId in interface CreateDataStoreRequestOrBuilder
      Returns:
      The dataStoreId.
    • getDataStoreIdBytes

      public com.google.protobuf.ByteString getDataStoreIdBytes()
       Required. The ID to use for the
       [DataStore][google.cloud.discoveryengine.v1beta.DataStore], which will
       become the final component of the
       [DataStore][google.cloud.discoveryengine.v1beta.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:
      getDataStoreIdBytes in interface CreateDataStoreRequestOrBuilder
      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:
      getCreateAdvancedSiteSearch in interface CreateDataStoreRequestOrBuilder
      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:
      getSkipDefaultSchemaCreation in interface CreateDataStoreRequestOrBuilder
      Returns:
      The skipDefaultSchemaCreation.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static CreateDataStoreRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CreateDataStoreRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CreateDataStoreRequest parseDelimitedFrom(InputStream input) throws IOException
      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

      public CreateDataStoreRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static CreateDataStoreRequest.Builder newBuilder()
    • newBuilder

      public static CreateDataStoreRequest.Builder newBuilder(CreateDataStoreRequest prototype)
    • toBuilder

      public CreateDataStoreRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CreateDataStoreRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static CreateDataStoreRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CreateDataStoreRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<CreateDataStoreRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public CreateDataStoreRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder