public static final class TrainCustomModelResponse.Builder extends GeneratedMessageV3.Builder<TrainCustomModelResponse.Builder> implements TrainCustomModelResponseOrBuilder
Response of the
TrainCustomModelRequest.
This message is returned by the google.longrunning.Operations.response field.
Protobuf type google.cloud.discoveryengine.v1beta.TrainCustomModelResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllErrorSamples(Iterable<? extends Status> values)
public TrainCustomModelResponse.Builder addAllErrorSamples(Iterable<? extends Status> values)
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.rpc.Status>
|
addErrorSamples(Status value)
public TrainCustomModelResponse.Builder addErrorSamples(Status value)
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;
Parameter |
---|
Name | Description |
value | com.google.rpc.Status
|
addErrorSamples(Status.Builder builderForValue)
public TrainCustomModelResponse.Builder addErrorSamples(Status.Builder builderForValue)
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;
Parameter |
---|
Name | Description |
builderForValue | com.google.rpc.Status.Builder
|
addErrorSamples(int index, Status value)
public TrainCustomModelResponse.Builder addErrorSamples(int index, Status value)
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;
Parameters |
---|
Name | Description |
index | int
|
value | com.google.rpc.Status
|
addErrorSamples(int index, Status.Builder builderForValue)
public TrainCustomModelResponse.Builder addErrorSamples(int index, Status.Builder builderForValue)
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;
Parameters |
---|
Name | Description |
index | int
|
builderForValue | com.google.rpc.Status.Builder
|
addErrorSamplesBuilder()
public Status.Builder addErrorSamplesBuilder()
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;
Returns |
---|
Type | Description |
com.google.rpc.Status.Builder | |
addErrorSamplesBuilder(int index)
public Status.Builder addErrorSamplesBuilder(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.Builder | |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TrainCustomModelResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TrainCustomModelResponse build()
buildPartial()
public TrainCustomModelResponse buildPartial()
clear()
public TrainCustomModelResponse.Builder clear()
Overrides
clearErrorConfig()
public TrainCustomModelResponse.Builder clearErrorConfig()
Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;
clearErrorSamples()
public TrainCustomModelResponse.Builder clearErrorSamples()
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;
clearField(Descriptors.FieldDescriptor field)
public TrainCustomModelResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearModelStatus()
public TrainCustomModelResponse.Builder clearModelStatus()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public TrainCustomModelResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public TrainCustomModelResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public TrainCustomModelResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getErrorConfig()
public ImportErrorConfig getErrorConfig()
Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;
getErrorConfigBuilder()
public ImportErrorConfig.Builder getErrorConfigBuilder()
Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;
getErrorConfigOrBuilder()
public ImportErrorConfigOrBuilder getErrorConfigOrBuilder()
Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1beta.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 | |
getErrorSamplesBuilder(int index)
public Status.Builder getErrorSamplesBuilder(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.Builder | |
getErrorSamplesBuilderList()
public List<Status.Builder> getErrorSamplesBuilderList()
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;
Returns |
---|
Type | Description |
List<com.google.rpc.Status.Builder> | |
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.
|
hasErrorConfig()
public boolean hasErrorConfig()
Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;
Returns |
---|
Type | Description |
boolean | Whether the errorConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeErrorConfig(ImportErrorConfig value)
public TrainCustomModelResponse.Builder mergeErrorConfig(ImportErrorConfig value)
Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;
mergeFrom(TrainCustomModelResponse other)
public TrainCustomModelResponse.Builder mergeFrom(TrainCustomModelResponse other)
public TrainCustomModelResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TrainCustomModelResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TrainCustomModelResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeErrorSamples(int index)
public TrainCustomModelResponse.Builder removeErrorSamples(int index)
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;
Parameter |
---|
Name | Description |
index | int
|
setErrorConfig(ImportErrorConfig value)
public TrainCustomModelResponse.Builder setErrorConfig(ImportErrorConfig value)
Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;
setErrorConfig(ImportErrorConfig.Builder builderForValue)
public TrainCustomModelResponse.Builder setErrorConfig(ImportErrorConfig.Builder builderForValue)
Echoes the destination for the complete errors in the request if set.
.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;
setErrorSamples(int index, Status value)
public TrainCustomModelResponse.Builder setErrorSamples(int index, Status value)
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;
Parameters |
---|
Name | Description |
index | int
|
value | com.google.rpc.Status
|
setErrorSamples(int index, Status.Builder builderForValue)
public TrainCustomModelResponse.Builder setErrorSamples(int index, Status.Builder builderForValue)
A sample of errors encountered while processing the data.
repeated .google.rpc.Status error_samples = 1;
Parameters |
---|
Name | Description |
index | int
|
builderForValue | com.google.rpc.Status.Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public TrainCustomModelResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setModelStatus(String value)
public TrainCustomModelResponse.Builder setModelStatus(String value)
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;
Parameter |
---|
Name | Description |
value | String
The modelStatus to set.
|
setModelStatusBytes(ByteString value)
public TrainCustomModelResponse.Builder setModelStatusBytes(ByteString value)
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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for modelStatus to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TrainCustomModelResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TrainCustomModelResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides