public final class TrainCustomModelRequest extends com.google.protobuf.GeneratedMessageV3 implements TrainCustomModelRequestOrBuilder
Request message for [SearchTuningService.TrainCustomModel][google.cloud.discoveryengine.v1alpha.SearchTuningService.TrainCustomModel] method.Protobuf type
google.cloud.discoveryengine.v1alpha.TrainCustomModelRequest| Modifier and Type | Class and Description |
|---|---|
static class |
TrainCustomModelRequest.Builder
Request message for
[SearchTuningService.TrainCustomModel][google.cloud.discoveryengine.v1alpha.SearchTuningService.TrainCustomModel]
method.
|
static class |
TrainCustomModelRequest.GcsTrainingInput
Cloud Storage training data input.
|
static interface |
TrainCustomModelRequest.GcsTrainingInputOrBuilder |
static class |
TrainCustomModelRequest.TrainingInputCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DATA_STORE_FIELD_NUMBER |
static int |
ERROR_CONFIG_FIELD_NUMBER |
static int |
GCS_TRAINING_INPUT_FIELD_NUMBER |
static int |
MODEL_ID_FIELD_NUMBER |
static int |
MODEL_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDataStore()
Required.
|
com.google.protobuf.ByteString |
getDataStoreBytes()
Required.
|
static TrainCustomModelRequest |
getDefaultInstance() |
TrainCustomModelRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ImportErrorConfig |
getErrorConfig()
The desired location of errors incurred during the data ingestion and
training.
|
ImportErrorConfigOrBuilder |
getErrorConfigOrBuilder()
The desired location of errors incurred during the data ingestion and
training.
|
TrainCustomModelRequest.GcsTrainingInput |
getGcsTrainingInput()
Cloud Storage training input.
|
TrainCustomModelRequest.GcsTrainingInputOrBuilder |
getGcsTrainingInputOrBuilder()
Cloud Storage training input.
|
String |
getModelId()
If not provided, a UUID will be generated.
|
com.google.protobuf.ByteString |
getModelIdBytes()
If not provided, a UUID will be generated.
|
String |
getModelType()
Model to be trained.
|
com.google.protobuf.ByteString |
getModelTypeBytes()
Model to be trained.
|
com.google.protobuf.Parser<TrainCustomModelRequest> |
getParserForType() |
int |
getSerializedSize() |
TrainCustomModelRequest.TrainingInputCase |
getTrainingInputCase() |
boolean |
hasErrorConfig()
The desired location of errors incurred during the data ingestion and
training.
|
boolean |
hasGcsTrainingInput()
Cloud Storage training input.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TrainCustomModelRequest.Builder |
newBuilder() |
static TrainCustomModelRequest.Builder |
newBuilder(TrainCustomModelRequest prototype) |
TrainCustomModelRequest.Builder |
newBuilderForType() |
protected TrainCustomModelRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TrainCustomModelRequest |
parseDelimitedFrom(InputStream input) |
static TrainCustomModelRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrainCustomModelRequest |
parseFrom(byte[] data) |
static TrainCustomModelRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrainCustomModelRequest |
parseFrom(ByteBuffer data) |
static TrainCustomModelRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrainCustomModelRequest |
parseFrom(com.google.protobuf.ByteString data) |
static TrainCustomModelRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrainCustomModelRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TrainCustomModelRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrainCustomModelRequest |
parseFrom(InputStream input) |
static TrainCustomModelRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TrainCustomModelRequest> |
parser() |
TrainCustomModelRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int GCS_TRAINING_INPUT_FIELD_NUMBER
public static final int DATA_STORE_FIELD_NUMBER
public static final int MODEL_TYPE_FIELD_NUMBER
public static final int ERROR_CONFIG_FIELD_NUMBER
public static final int MODEL_ID_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public TrainCustomModelRequest.TrainingInputCase getTrainingInputCase()
getTrainingInputCase in interface TrainCustomModelRequestOrBuilderpublic boolean hasGcsTrainingInput()
Cloud Storage training input.
.google.cloud.discoveryengine.v1alpha.TrainCustomModelRequest.GcsTrainingInput gcs_training_input = 2;
hasGcsTrainingInput in interface TrainCustomModelRequestOrBuilderpublic TrainCustomModelRequest.GcsTrainingInput getGcsTrainingInput()
Cloud Storage training input.
.google.cloud.discoveryengine.v1alpha.TrainCustomModelRequest.GcsTrainingInput gcs_training_input = 2;
getGcsTrainingInput in interface TrainCustomModelRequestOrBuilderpublic TrainCustomModelRequest.GcsTrainingInputOrBuilder getGcsTrainingInputOrBuilder()
Cloud Storage training input.
.google.cloud.discoveryengine.v1alpha.TrainCustomModelRequest.GcsTrainingInput gcs_training_input = 2;
getGcsTrainingInputOrBuilder in interface TrainCustomModelRequestOrBuilderpublic 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) = { ... }
getDataStore in interface TrainCustomModelRequestOrBuilderpublic 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) = { ... }
getDataStoreBytes in interface TrainCustomModelRequestOrBuilderpublic String getModelType()
Model to be trained. Supported values are: * **search-tuning**: Fine tuning the search system based on data provided.
string model_type = 3;getModelType in interface TrainCustomModelRequestOrBuilderpublic 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;getModelTypeBytes in interface TrainCustomModelRequestOrBuilderpublic boolean hasErrorConfig()
The desired location of errors incurred during the data ingestion and training.
.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 4;hasErrorConfig in interface TrainCustomModelRequestOrBuilderpublic ImportErrorConfig getErrorConfig()
The desired location of errors incurred during the data ingestion and training.
.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 4;getErrorConfig in interface TrainCustomModelRequestOrBuilderpublic ImportErrorConfigOrBuilder getErrorConfigOrBuilder()
The desired location of errors incurred during the data ingestion and training.
.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 4;getErrorConfigOrBuilder in interface TrainCustomModelRequestOrBuilderpublic String getModelId()
If not provided, a UUID will be generated.
string model_id = 5;getModelId in interface TrainCustomModelRequestOrBuilderpublic com.google.protobuf.ByteString getModelIdBytes()
If not provided, a UUID will be generated.
string model_id = 5;getModelIdBytes in interface TrainCustomModelRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TrainCustomModelRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainCustomModelRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainCustomModelRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainCustomModelRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainCustomModelRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainCustomModelRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainCustomModelRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static TrainCustomModelRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TrainCustomModelRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TrainCustomModelRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TrainCustomModelRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TrainCustomModelRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TrainCustomModelRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TrainCustomModelRequest.Builder newBuilder()
public static TrainCustomModelRequest.Builder newBuilder(TrainCustomModelRequest prototype)
public TrainCustomModelRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TrainCustomModelRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TrainCustomModelRequest getDefaultInstance()
public static com.google.protobuf.Parser<TrainCustomModelRequest> parser()
public com.google.protobuf.Parser<TrainCustomModelRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TrainCustomModelRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.