Class AutoMlImageObjectDetectionMetadata.Builder (3.41.0)

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

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutoMlImageObjectDetectionMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoMlImageObjectDetectionMetadata.Builder
Overrides

build()

public AutoMlImageObjectDetectionMetadata build()
Returns
TypeDescription
AutoMlImageObjectDetectionMetadata

buildPartial()

public AutoMlImageObjectDetectionMetadata buildPartial()
Returns
TypeDescription
AutoMlImageObjectDetectionMetadata

clear()

public AutoMlImageObjectDetectionMetadata.Builder clear()
Returns
TypeDescription
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
TypeDescription
AutoMlImageObjectDetectionMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutoMlImageObjectDetectionMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AutoMlImageObjectDetectionMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoMlImageObjectDetectionMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AutoMlImageObjectDetectionMetadata.Builder
Overrides

clearSuccessfulStopReason()

public AutoMlImageObjectDetectionMetadata.Builder clearSuccessfulStopReason()

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

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

Returns
TypeDescription
AutoMlImageObjectDetectionMetadata.Builder

This builder for chaining.

clone()

public AutoMlImageObjectDetectionMetadata.Builder clone()
Returns
TypeDescription
AutoMlImageObjectDetectionMetadata.Builder
Overrides

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
TypeDescription
long

The costMilliNodeHours.

getDefaultInstanceForType()

public AutoMlImageObjectDetectionMetadata getDefaultInstanceForType()
Returns
TypeDescription
AutoMlImageObjectDetectionMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSuccessfulStopReason()

public AutoMlImageObjectDetectionMetadata.SuccessfulStopReason getSuccessfulStopReason()

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

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

Returns
TypeDescription
AutoMlImageObjectDetectionMetadata.SuccessfulStopReason

The successfulStopReason.

getSuccessfulStopReasonValue()

public int getSuccessfulStopReasonValue()

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

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

Returns
TypeDescription
int

The enum numeric value on the wire for successfulStopReason.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutoMlImageObjectDetectionMetadata other)

public AutoMlImageObjectDetectionMetadata.Builder mergeFrom(AutoMlImageObjectDetectionMetadata other)
Parameter
NameDescription
otherAutoMlImageObjectDetectionMetadata
Returns
TypeDescription
AutoMlImageObjectDetectionMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutoMlImageObjectDetectionMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlImageObjectDetectionMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AutoMlImageObjectDetectionMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AutoMlImageObjectDetectionMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlImageObjectDetectionMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuelong

The costMilliNodeHours to set.

Returns
TypeDescription
AutoMlImageObjectDetectionMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AutoMlImageObjectDetectionMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoMlImageObjectDetectionMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutoMlImageObjectDetectionMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AutoMlImageObjectDetectionMetadata.Builder
Overrides

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.v1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata.SuccessfulStopReason successful_stop_reason = 2;

Parameter
NameDescription
valueAutoMlImageObjectDetectionMetadata.SuccessfulStopReason

The successfulStopReason to set.

Returns
TypeDescription
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.v1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata.SuccessfulStopReason successful_stop_reason = 2;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
AutoMlImageObjectDetectionMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlImageObjectDetectionMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoMlImageObjectDetectionMetadata.Builder
Overrides