Interface TrainCustomModelRequestOrBuilder (0.32.0)

public interface TrainCustomModelRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataStore()

public abstract String getDataStore()

Required. The resource name of the Data Store, such as projects/*/locations/global/collections/default_collection/dataStores/default_data_store. This field is used to identify the data store where to train the models.

string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The dataStore.

getDataStoreBytes()

public abstract ByteString getDataStoreBytes()

Required. The resource name of the Data Store, such as projects/*/locations/global/collections/default_collection/dataStores/default_data_store. This field is used to identify the data store where to train the models.

string data_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for dataStore.

getErrorConfig()

public abstract ImportErrorConfig getErrorConfig()

The desired location of errors incurred during the data ingestion and training.

.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 4;

Returns
TypeDescription
ImportErrorConfig

The errorConfig.

getErrorConfigOrBuilder()

public abstract ImportErrorConfigOrBuilder getErrorConfigOrBuilder()

The desired location of errors incurred during the data ingestion and training.

.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 4;

Returns
TypeDescription
ImportErrorConfigOrBuilder

getGcsTrainingInput()

public abstract TrainCustomModelRequest.GcsTrainingInput getGcsTrainingInput()

Gcs training input.

.google.cloud.discoveryengine.v1alpha.TrainCustomModelRequest.GcsTrainingInput gcs_training_input = 2;

Returns
TypeDescription
TrainCustomModelRequest.GcsTrainingInput

The gcsTrainingInput.

getGcsTrainingInputOrBuilder()

public abstract TrainCustomModelRequest.GcsTrainingInputOrBuilder getGcsTrainingInputOrBuilder()

Gcs training input.

.google.cloud.discoveryengine.v1alpha.TrainCustomModelRequest.GcsTrainingInput gcs_training_input = 2;

Returns
TypeDescription
TrainCustomModelRequest.GcsTrainingInputOrBuilder

getModelType()

public abstract String getModelType()

Model to be trained. Supported values are:

  • search-tuning: Fine tuning the search system based on data provided.

string model_type = 3;

Returns
TypeDescription
String

The modelType.

getModelTypeBytes()

public abstract ByteString getModelTypeBytes()

Model to be trained. Supported values are:

  • search-tuning: Fine tuning the search system based on data provided.

string model_type = 3;

Returns
TypeDescription
ByteString

The bytes for modelType.

getTrainingInputCase()

public abstract TrainCustomModelRequest.TrainingInputCase getTrainingInputCase()
Returns
TypeDescription
TrainCustomModelRequest.TrainingInputCase

hasErrorConfig()

public abstract boolean hasErrorConfig()

The desired location of errors incurred during the data ingestion and training.

.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 4;

Returns
TypeDescription
boolean

Whether the errorConfig field is set.

hasGcsTrainingInput()

public abstract boolean hasGcsTrainingInput()

Gcs training input.

.google.cloud.discoveryengine.v1alpha.TrainCustomModelRequest.GcsTrainingInput gcs_training_input = 2;

Returns
TypeDescription
boolean

Whether the gcsTrainingInput field is set.