Class AutoMlImageClassificationMetadata.Builder (3.46.0)

public static final class AutoMlImageClassificationMetadata.Builder extends GeneratedMessageV3.Builder<AutoMlImageClassificationMetadata.Builder> implements AutoMlImageClassificationMetadataOrBuilder

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutoMlImageClassificationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutoMlImageClassificationMetadata.Builder
Overrides

build()

public AutoMlImageClassificationMetadata build()
Returns
Type Description
AutoMlImageClassificationMetadata

buildPartial()

public AutoMlImageClassificationMetadata buildPartial()
Returns
Type Description
AutoMlImageClassificationMetadata

clear()

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

clearCostMilliNodeHours()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutoMlImageClassificationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AutoMlImageClassificationMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoMlImageClassificationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AutoMlImageClassificationMetadata.Builder
Overrides

clearSuccessfulStopReason()

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

This builder for chaining.

clone()

public AutoMlImageClassificationMetadata.Builder clone()
Returns
Type Description
AutoMlImageClassificationMetadata.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
Type Description
long

The costMilliNodeHours.

getDefaultInstanceForType()

public AutoMlImageClassificationMetadata getDefaultInstanceForType()
Returns
Type Description
AutoMlImageClassificationMetadata

getDescriptorForType()

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

getSuccessfulStopReason()

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
Type Description
AutoMlImageClassificationMetadata.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.AutoMlImageClassificationMetadata.SuccessfulStopReason successful_stop_reason = 2;

Returns
Type Description
int

The enum numeric value on the wire for successfulStopReason.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AutoMlImageClassificationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlImageClassificationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutoMlImageClassificationMetadata.Builder
Overrides

setCostMilliNodeHours(long value)

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

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AutoMlImageClassificationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutoMlImageClassificationMetadata.Builder
Overrides

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

public AutoMlImageClassificationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AutoMlImageClassificationMetadata.Builder
Overrides

setSuccessfulStopReason(AutoMlImageClassificationMetadata.SuccessfulStopReason value)

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
Name Description
value AutoMlImageClassificationMetadata.SuccessfulStopReason

The successfulStopReason to set.

Returns
Type Description
AutoMlImageClassificationMetadata.Builder

This builder for chaining.

setSuccessfulStopReasonValue(int value)

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

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlImageClassificationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutoMlImageClassificationMetadata.Builder
Overrides