Send feedback
Class TrainCustomModelResponse (0.31.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.31.0 keyboard_arrow_down
public final class TrainCustomModelResponse extends GeneratedMessageV3 implements TrainCustomModelResponseOrBuilder
Response of the
TrainCustomModelRequest .
This message is returned by the google.longrunning.Operations.response field.
Protobuf type google.cloud.discoveryengine.v1alpha.TrainCustomModelResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ERROR_CONFIG_FIELD_NUMBER
public static final int ERROR_CONFIG_FIELD_NUMBER
Field Value Type Description int
ERROR_SAMPLES_FIELD_NUMBER
public static final int ERROR_SAMPLES_FIELD_NUMBER
Field Value Type Description int
MODEL_STATUS_FIELD_NUMBER
public static final int MODEL_STATUS_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static TrainCustomModelResponse getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static TrainCustomModelResponse . Builder newBuilder ()
newBuilder(TrainCustomModelResponse prototype)
public static TrainCustomModelResponse . Builder newBuilder ( TrainCustomModelResponse prototype )
public static TrainCustomModelResponse parseDelimitedFrom ( InputStream input )
public static TrainCustomModelResponse parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static TrainCustomModelResponse parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TrainCustomModelResponse parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static TrainCustomModelResponse parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TrainCustomModelResponse parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static TrainCustomModelResponse parseFrom ( CodedInputStream input )
public static TrainCustomModelResponse parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static TrainCustomModelResponse parseFrom ( InputStream input )
public static TrainCustomModelResponse parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static TrainCustomModelResponse parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TrainCustomModelResponse parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<TrainCustomModelResponse> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public TrainCustomModelResponse getDefaultInstanceForType ()
getErrorConfig()
public ImportErrorConfig getErrorConfig ()
Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 2;
getErrorConfigOrBuilder()
public ImportErrorConfigOrBuilder getErrorConfigOrBuilder ()
Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 2;
getErrorSamples(int index)
public Status getErrorSamples ( int index )
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;
Parameter Name Description index
int
Returns Type Description com.google.rpc.Status
getErrorSamplesCount()
public int getErrorSamplesCount ()
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;
Returns Type Description int
getErrorSamplesList()
public List<Status> getErrorSamplesList ()
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;
Returns Type Description List <com.google.rpc.Status >
getErrorSamplesOrBuilder(int index)
public StatusOrBuilder getErrorSamplesOrBuilder ( int index )
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;
Parameter Name Description index
int
Returns Type Description com.google.rpc.StatusOrBuilder
getErrorSamplesOrBuilderList()
public List <? extends StatusOrBuilder > getErrorSamplesOrBuilderList ()
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;
Returns Type Description List <? extends com.google.rpc.StatusOrBuilder >
getModelStatus()
public 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 is in progress.
ready : The model is ready for serving.
string model_status = 3;
Returns Type Description String
The modelStatus.
getModelStatusBytes()
public 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 is in progress.
ready : The model is ready for serving.
string model_status = 3;
Returns Type Description ByteString
The bytes for modelStatus.
getParserForType()
public Parser<TrainCustomModelResponse> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
hasErrorConfig()
public boolean hasErrorConfig ()
Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 2;
Returns Type Description boolean
Whether the errorConfig field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public TrainCustomModelResponse . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TrainCustomModelResponse . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public TrainCustomModelResponse . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]