public static final class AutoMlImageClassificationMetadata.Builder extends GeneratedMessageV3.Builder<AutoMlImageClassificationMetadata.Builder> implements AutoMlImageClassificationMetadataOrBuilder
Protobuf type
google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassificationMetadata
Methods
public AutoMlImageClassificationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public AutoMlImageClassificationMetadata build()
Returns
public AutoMlImageClassificationMetadata buildPartial()
Returns
public AutoMlImageClassificationMetadata.Builder clear()
Returns
Overrides
public AutoMlImageClassificationMetadata.Builder clearCostMilliNodeHours()
The actual training cost of creating this model, expressed in
milli node hours, i.e. 1,000 value in this field means 1 node hour.
Guaranteed to not exceed inputs.budgetMilliNodeHours.
int64 cost_milli_node_hours = 1;
Returns
public AutoMlImageClassificationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public AutoMlImageClassificationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public AutoMlImageClassificationMetadata.Builder clearSuccessfulStopReason()
For successful job completions, this is the reason why the job has
finished.
.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassificationMetadata.SuccessfulStopReason successful_stop_reason = 2;
Returns
public AutoMlImageClassificationMetadata.Builder clone()
Returns
Overrides
public long getCostMilliNodeHours()
The actual training cost of creating this model, expressed in
milli node hours, i.e. 1,000 value in this field means 1 node hour.
Guaranteed to not exceed inputs.budgetMilliNodeHours.
int64 cost_milli_node_hours = 1;
Returns
Type | Description |
long | The costMilliNodeHours.
|
public AutoMlImageClassificationMetadata getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public AutoMlImageClassificationMetadata.SuccessfulStopReason getSuccessfulStopReason()
For successful job completions, this is the reason why the job has
finished.
.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassificationMetadata.SuccessfulStopReason successful_stop_reason = 2;
Returns
public int getSuccessfulStopReasonValue()
For successful job completions, this is the reason why the job has
finished.
.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassificationMetadata.SuccessfulStopReason successful_stop_reason = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for successfulStopReason.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public AutoMlImageClassificationMetadata.Builder mergeFrom(AutoMlImageClassificationMetadata other)
Parameter
Returns
public AutoMlImageClassificationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public AutoMlImageClassificationMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final AutoMlImageClassificationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public AutoMlImageClassificationMetadata.Builder setCostMilliNodeHours(long value)
The actual training cost of creating this model, expressed in
milli node hours, i.e. 1,000 value in this field means 1 node hour.
Guaranteed to not exceed inputs.budgetMilliNodeHours.
int64 cost_milli_node_hours = 1;
Parameter
Name | Description |
value | long
The costMilliNodeHours to set.
|
Returns
public AutoMlImageClassificationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public AutoMlImageClassificationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public AutoMlImageClassificationMetadata.Builder setSuccessfulStopReason(AutoMlImageClassificationMetadata.SuccessfulStopReason value)
For successful job completions, this is the reason why the job has
finished.
.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassificationMetadata.SuccessfulStopReason successful_stop_reason = 2;
Parameter
Returns
public AutoMlImageClassificationMetadata.Builder setSuccessfulStopReasonValue(int value)
For successful job completions, this is the reason why the job has
finished.
.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassificationMetadata.SuccessfulStopReason successful_stop_reason = 2;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for successfulStopReason to set.
|
Returns
public final AutoMlImageClassificationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides