Class AutoMlImageObjectDetectionMetadata.Builder (3.84.0)

public static final class AutoMlImageObjectDetectionMetadata.Builder extends GeneratedMessage.Builder<AutoMlImageObjectDetectionMetadata.Builder> implements AutoMlImageObjectDetectionMetadataOrBuilder

Protobuf type google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public AutoMlImageObjectDetectionMetadata build()
Returns
Type Description
AutoMlImageObjectDetectionMetadata

buildPartial()

public AutoMlImageObjectDetectionMetadata buildPartial()
Returns
Type Description
AutoMlImageObjectDetectionMetadata

clear()

public AutoMlImageObjectDetectionMetadata.Builder clear()
Returns
Type Description
AutoMlImageObjectDetectionMetadata.Builder
Overrides

clearCostMilliNodeHours()

public AutoMlImageObjectDetectionMetadata.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
Type Description
AutoMlImageObjectDetectionMetadata.Builder

This builder for chaining.

clearSuccessfulStopReason()

public AutoMlImageObjectDetectionMetadata.Builder clearSuccessfulStopReason()

For successful job completions, this is the reason why the job has finished.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata.SuccessfulStopReason successful_stop_reason = 2;

Returns
Type Description
AutoMlImageObjectDetectionMetadata.Builder

This builder for chaining.

getCostMilliNodeHours()

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.

getDefaultInstanceForType()

public AutoMlImageObjectDetectionMetadata getDefaultInstanceForType()
Returns
Type Description
AutoMlImageObjectDetectionMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSuccessfulStopReason()

public AutoMlImageObjectDetectionMetadata.SuccessfulStopReason getSuccessfulStopReason()

For successful job completions, this is the reason why the job has finished.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata.SuccessfulStopReason successful_stop_reason = 2;

Returns
Type Description
AutoMlImageObjectDetectionMetadata.SuccessfulStopReason

The successfulStopReason.

getSuccessfulStopReasonValue()

public int getSuccessfulStopReasonValue()

For successful job completions, this is the reason why the job has finished.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata.SuccessfulStopReason successful_stop_reason = 2;

Returns
Type Description
int

The enum numeric value on the wire for successfulStopReason.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AutoMlImageObjectDetectionMetadata other)

public AutoMlImageObjectDetectionMetadata.Builder mergeFrom(AutoMlImageObjectDetectionMetadata other)
Parameter
Name Description
other AutoMlImageObjectDetectionMetadata
Returns
Type Description
AutoMlImageObjectDetectionMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutoMlImageObjectDetectionMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoMlImageObjectDetectionMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AutoMlImageObjectDetectionMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AutoMlImageObjectDetectionMetadata.Builder
Overrides

setCostMilliNodeHours(long value)

public AutoMlImageObjectDetectionMetadata.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
Type Description
AutoMlImageObjectDetectionMetadata.Builder

This builder for chaining.

setSuccessfulStopReason(AutoMlImageObjectDetectionMetadata.SuccessfulStopReason value)

public AutoMlImageObjectDetectionMetadata.Builder setSuccessfulStopReason(AutoMlImageObjectDetectionMetadata.SuccessfulStopReason value)

For successful job completions, this is the reason why the job has finished.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata.SuccessfulStopReason successful_stop_reason = 2;

Parameter
Name Description
value AutoMlImageObjectDetectionMetadata.SuccessfulStopReason

The successfulStopReason to set.

Returns
Type Description
AutoMlImageObjectDetectionMetadata.Builder

This builder for chaining.

setSuccessfulStopReasonValue(int value)

public AutoMlImageObjectDetectionMetadata.Builder setSuccessfulStopReasonValue(int value)

For successful job completions, this is the reason why the job has finished.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata.SuccessfulStopReason successful_stop_reason = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for successfulStopReason to set.

Returns
Type Description
AutoMlImageObjectDetectionMetadata.Builder

This builder for chaining.