Interface TrainCustomModelRequestOrBuilder (0.43.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
Type Description
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
Type Description
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
Type Description
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
Type Description
ImportErrorConfigOrBuilder

getGcsTrainingInput()

public abstract TrainCustomModelRequest.GcsTrainingInput getGcsTrainingInput()

Cloud Storage training input.

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

Returns
Type Description
TrainCustomModelRequest.GcsTrainingInput

The gcsTrainingInput.

getGcsTrainingInputOrBuilder()

public abstract TrainCustomModelRequest.GcsTrainingInputOrBuilder getGcsTrainingInputOrBuilder()

Cloud Storage training input.

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

Returns
Type Description
TrainCustomModelRequest.GcsTrainingInputOrBuilder

getModelId()

public abstract String getModelId()

If not provided, a UUID will be generated.

string model_id = 5;

Returns
Type Description
String

The modelId.

getModelIdBytes()

public abstract ByteString getModelIdBytes()

If not provided, a UUID will be generated.

string model_id = 5;

Returns
Type Description
ByteString

The bytes for modelId.

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
Type Description
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
Type Description
ByteString

The bytes for modelType.

getTrainingInputCase()

public abstract TrainCustomModelRequest.TrainingInputCase getTrainingInputCase()
Returns
Type Description
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
Type Description
boolean

Whether the errorConfig field is set.

hasGcsTrainingInput()

public abstract boolean hasGcsTrainingInput()

Cloud Storage training input.

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

Returns
Type Description
boolean

Whether the gcsTrainingInput field is set.