public final class TrainCustomModelResponse extends com.google.protobuf.GeneratedMessageV3 implements TrainCustomModelResponseOrBuilder
Response of the [TrainCustomModelRequest][google.cloud.discoveryengine.v1alpha.TrainCustomModelRequest]. This message is returned by the google.longrunning.Operations.response field.Protobuf type
google.cloud.discoveryengine.v1alpha.TrainCustomModelResponse| Modifier and Type | Class and Description |
|---|---|
static class |
TrainCustomModelResponse.Builder
Response of the
[TrainCustomModelRequest][google.cloud.discoveryengine.v1alpha.TrainCustomModelRequest].
|
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 |
ERROR_CONFIG_FIELD_NUMBER |
static int |
ERROR_SAMPLES_FIELD_NUMBER |
static int |
METRICS_FIELD_NUMBER |
static int |
MODEL_NAME_FIELD_NUMBER |
static int |
MODEL_STATUS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetrics(String key)
The metrics of the trained model.
|
boolean |
equals(Object obj) |
static TrainCustomModelResponse |
getDefaultInstance() |
TrainCustomModelResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ImportErrorConfig |
getErrorConfig()
Echoes the destination for the complete errors in the request if set.
|
ImportErrorConfigOrBuilder |
getErrorConfigOrBuilder()
Echoes the destination for the complete errors in the request if set.
|
com.google.rpc.Status |
getErrorSamples(int index)
A sample of errors encountered while processing the data.
|
int |
getErrorSamplesCount()
A sample of errors encountered while processing the data.
|
List<com.google.rpc.Status> |
getErrorSamplesList()
A sample of errors encountered while processing the data.
|
com.google.rpc.StatusOrBuilder |
getErrorSamplesOrBuilder(int index)
A sample of errors encountered while processing the data.
|
List<? extends com.google.rpc.StatusOrBuilder> |
getErrorSamplesOrBuilderList()
A sample of errors encountered while processing the data.
|
Map<String,Double> |
getMetrics()
Deprecated.
|
int |
getMetricsCount()
The metrics of the trained model.
|
Map<String,Double> |
getMetricsMap()
The metrics of the trained model.
|
double |
getMetricsOrDefault(String key,
double defaultValue)
The metrics of the trained model.
|
double |
getMetricsOrThrow(String key)
The metrics of the trained model.
|
String |
getModelName()
Fully qualified name of the CustomTuningModel.
|
com.google.protobuf.ByteString |
getModelNameBytes()
Fully qualified name of the CustomTuningModel.
|
String |
getModelStatus()
The trained model status.
|
com.google.protobuf.ByteString |
getModelStatusBytes()
The trained model status.
|
com.google.protobuf.Parser<TrainCustomModelResponse> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasErrorConfig()
Echoes the destination for the complete errors in the request if set.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static TrainCustomModelResponse.Builder |
newBuilder() |
static TrainCustomModelResponse.Builder |
newBuilder(TrainCustomModelResponse prototype) |
TrainCustomModelResponse.Builder |
newBuilderForType() |
protected TrainCustomModelResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TrainCustomModelResponse |
parseDelimitedFrom(InputStream input) |
static TrainCustomModelResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrainCustomModelResponse |
parseFrom(byte[] data) |
static TrainCustomModelResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrainCustomModelResponse |
parseFrom(ByteBuffer data) |
static TrainCustomModelResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrainCustomModelResponse |
parseFrom(com.google.protobuf.ByteString data) |
static TrainCustomModelResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrainCustomModelResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TrainCustomModelResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrainCustomModelResponse |
parseFrom(InputStream input) |
static TrainCustomModelResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TrainCustomModelResponse> |
parser() |
TrainCustomModelResponse.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, 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 ERROR_SAMPLES_FIELD_NUMBER
public static final int ERROR_CONFIG_FIELD_NUMBER
public static final int MODEL_STATUS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
public static final int MODEL_NAME_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.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<com.google.rpc.Status> getErrorSamplesList()
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;getErrorSamplesList in interface TrainCustomModelResponseOrBuilderpublic List<? extends com.google.rpc.StatusOrBuilder> getErrorSamplesOrBuilderList()
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;getErrorSamplesOrBuilderList in interface TrainCustomModelResponseOrBuilderpublic int getErrorSamplesCount()
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;getErrorSamplesCount in interface TrainCustomModelResponseOrBuilderpublic com.google.rpc.Status getErrorSamples(int index)
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;getErrorSamples in interface TrainCustomModelResponseOrBuilderpublic com.google.rpc.StatusOrBuilder getErrorSamplesOrBuilder(int index)
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;getErrorSamplesOrBuilder in interface TrainCustomModelResponseOrBuilderpublic boolean hasErrorConfig()
Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 2;hasErrorConfig in interface TrainCustomModelResponseOrBuilderpublic ImportErrorConfig getErrorConfig()
Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 2;getErrorConfig in interface TrainCustomModelResponseOrBuilderpublic ImportErrorConfigOrBuilder getErrorConfigOrBuilder()
Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 2;getErrorConfigOrBuilder in interface TrainCustomModelResponseOrBuilderpublic String getModelStatus()
The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training job creation is in progress. * **training**: Model is actively training. * **evaluating**: The model is evaluating trained metrics. * **indexing**: The model trained metrics are indexing. * **ready**: The model is ready for serving.
string model_status = 3;getModelStatus in interface TrainCustomModelResponseOrBuilderpublic com.google.protobuf.ByteString getModelStatusBytes()
The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training job creation is in progress. * **training**: Model is actively training. * **evaluating**: The model is evaluating trained metrics. * **indexing**: The model trained metrics are indexing. * **ready**: The model is ready for serving.
string model_status = 3;getModelStatusBytes in interface TrainCustomModelResponseOrBuilderpublic int getMetricsCount()
TrainCustomModelResponseOrBuilderThe metrics of the trained model.
map<string, double> metrics = 4;getMetricsCount in interface TrainCustomModelResponseOrBuilderpublic boolean containsMetrics(String key)
The metrics of the trained model.
map<string, double> metrics = 4;containsMetrics in interface TrainCustomModelResponseOrBuilder@Deprecated public Map<String,Double> getMetrics()
getMetricsMap() instead.getMetrics in interface TrainCustomModelResponseOrBuilderpublic Map<String,Double> getMetricsMap()
The metrics of the trained model.
map<string, double> metrics = 4;getMetricsMap in interface TrainCustomModelResponseOrBuilderpublic double getMetricsOrDefault(String key, double defaultValue)
The metrics of the trained model.
map<string, double> metrics = 4;getMetricsOrDefault in interface TrainCustomModelResponseOrBuilderpublic double getMetricsOrThrow(String key)
The metrics of the trained model.
map<string, double> metrics = 4;getMetricsOrThrow in interface TrainCustomModelResponseOrBuilderpublic String getModelName()
Fully qualified name of the CustomTuningModel.
string model_name = 5;getModelName in interface TrainCustomModelResponseOrBuilderpublic com.google.protobuf.ByteString getModelNameBytes()
Fully qualified name of the CustomTuningModel.
string model_name = 5;getModelNameBytes in interface TrainCustomModelResponseOrBuilderpublic 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 TrainCustomModelResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainCustomModelResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainCustomModelResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainCustomModelResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainCustomModelResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainCustomModelResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TrainCustomModelResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static TrainCustomModelResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TrainCustomModelResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TrainCustomModelResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TrainCustomModelResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TrainCustomModelResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TrainCustomModelResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TrainCustomModelResponse.Builder newBuilder()
public static TrainCustomModelResponse.Builder newBuilder(TrainCustomModelResponse prototype)
public TrainCustomModelResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TrainCustomModelResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TrainCustomModelResponse getDefaultInstance()
public static com.google.protobuf.Parser<TrainCustomModelResponse> parser()
public com.google.protobuf.Parser<TrainCustomModelResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TrainCustomModelResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.