Class AutoMlImageSegmentationMetadata.Builder (3.24.0)

public static final class AutoMlImageSegmentationMetadata.Builder extends GeneratedMessageV3.Builder<AutoMlImageSegmentationMetadata.Builder> implements AutoMlImageSegmentationMetadataOrBuilder

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AutoMlImageSegmentationMetadata build()
Returns
TypeDescription
AutoMlImageSegmentationMetadata

buildPartial()

public AutoMlImageSegmentationMetadata buildPartial()
Returns
TypeDescription
AutoMlImageSegmentationMetadata

clear()

public AutoMlImageSegmentationMetadata.Builder clear()
Returns
TypeDescription
AutoMlImageSegmentationMetadata.Builder
Overrides

clearCostMilliNodeHours()

public AutoMlImageSegmentationMetadata.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
AutoMlImageSegmentationMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSuccessfulStopReason()

public AutoMlImageSegmentationMetadata.Builder clearSuccessfulStopReason()

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

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

Returns
TypeDescription
AutoMlImageSegmentationMetadata.Builder

This builder for chaining.

clone()

public AutoMlImageSegmentationMetadata.Builder clone()
Returns
TypeDescription
AutoMlImageSegmentationMetadata.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 AutoMlImageSegmentationMetadata getDefaultInstanceForType()
Returns
TypeDescription
AutoMlImageSegmentationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSuccessfulStopReason()

public AutoMlImageSegmentationMetadata.SuccessfulStopReason getSuccessfulStopReason()

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

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

Returns
TypeDescription
AutoMlImageSegmentationMetadata.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.AutoMlImageSegmentationMetadata.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(AutoMlImageSegmentationMetadata other)

public AutoMlImageSegmentationMetadata.Builder mergeFrom(AutoMlImageSegmentationMetadata other)
Parameter
NameDescription
otherAutoMlImageSegmentationMetadata
Returns
TypeDescription
AutoMlImageSegmentationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlImageSegmentationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoMlImageSegmentationMetadata.Builder
Overrides

setCostMilliNodeHours(long value)

public AutoMlImageSegmentationMetadata.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
AutoMlImageSegmentationMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSuccessfulStopReason(AutoMlImageSegmentationMetadata.SuccessfulStopReason value)

public AutoMlImageSegmentationMetadata.Builder setSuccessfulStopReason(AutoMlImageSegmentationMetadata.SuccessfulStopReason value)

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

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

Parameter
NameDescription
valueAutoMlImageSegmentationMetadata.SuccessfulStopReason

The successfulStopReason to set.

Returns
TypeDescription
AutoMlImageSegmentationMetadata.Builder

This builder for chaining.

setSuccessfulStopReasonValue(int value)

public AutoMlImageSegmentationMetadata.Builder setSuccessfulStopReasonValue(int value)

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

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
AutoMlImageSegmentationMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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