Interface TrainCustomModelRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TrainCustomModelRequest,TrainCustomModelRequest.Builder
@Generated
public interface TrainCustomModelRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.The desired location of errors incurred during the data ingestion and training.The desired location of errors incurred during the data ingestion and training.Cloud Storage training input.Cloud Storage training input.If not provided, a UUID will be generated.com.google.protobuf.ByteStringIf not provided, a UUID will be generated.Model to be trained.com.google.protobuf.ByteStringModel to be trained.booleanThe desired location of errors incurred during the data ingestion and training.booleanCloud Storage training input.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasGcsTrainingInput
boolean hasGcsTrainingInput()Cloud Storage training input.
.google.cloud.discoveryengine.v1beta.TrainCustomModelRequest.GcsTrainingInput gcs_training_input = 2;- Returns:
- Whether the gcsTrainingInput field is set.
-
getGcsTrainingInput
TrainCustomModelRequest.GcsTrainingInput getGcsTrainingInput()Cloud Storage training input.
.google.cloud.discoveryengine.v1beta.TrainCustomModelRequest.GcsTrainingInput gcs_training_input = 2;- Returns:
- The gcsTrainingInput.
-
getGcsTrainingInputOrBuilder
TrainCustomModelRequest.GcsTrainingInputOrBuilder getGcsTrainingInputOrBuilder()Cloud Storage training input.
.google.cloud.discoveryengine.v1beta.TrainCustomModelRequest.GcsTrainingInput gcs_training_input = 2; -
getDataStore
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:
- The dataStore.
-
getDataStoreBytes
com.google.protobuf.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:
- The bytes for dataStore.
-
getModelType
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:
- The modelType.
-
getModelTypeBytes
com.google.protobuf.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:
- The bytes for modelType.
-
hasErrorConfig
boolean hasErrorConfig()The desired location of errors incurred during the data ingestion and training.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 4;- Returns:
- Whether the errorConfig field is set.
-
getErrorConfig
ImportErrorConfig getErrorConfig()The desired location of errors incurred during the data ingestion and training.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 4;- Returns:
- The errorConfig.
-
getErrorConfigOrBuilder
ImportErrorConfigOrBuilder getErrorConfigOrBuilder()The desired location of errors incurred during the data ingestion and training.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 4; -
getModelId
String getModelId()If not provided, a UUID will be generated.
string model_id = 5;- Returns:
- The modelId.
-
getModelIdBytes
com.google.protobuf.ByteString getModelIdBytes()If not provided, a UUID will be generated.
string model_id = 5;- Returns:
- The bytes for modelId.
-
getTrainingInputCase
TrainCustomModelRequest.TrainingInputCase getTrainingInputCase()
-