Class VertexAutoMLVisionConfig.Builder (0.11.0)

public static final class VertexAutoMLVisionConfig.Builder extends GeneratedMessageV3.Builder<VertexAutoMLVisionConfig.Builder> implements VertexAutoMLVisionConfigOrBuilder

Message of configurations of Vertex AutoML Vision Processors.

Protobuf type google.cloud.visionai.v1.VertexAutoMLVisionConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VertexAutoMLVisionConfig build()
Returns
Type Description
VertexAutoMLVisionConfig

buildPartial()

public VertexAutoMLVisionConfig buildPartial()
Returns
Type Description
VertexAutoMLVisionConfig

clear()

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

clearConfidenceThreshold()

public VertexAutoMLVisionConfig.Builder clearConfidenceThreshold()

Only entities with higher score than the threshold will be returned. Value 0.0 means to return all the detected entities.

float confidence_threshold = 1;

Returns
Type Description
VertexAutoMLVisionConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMaxPredictions()

public VertexAutoMLVisionConfig.Builder clearMaxPredictions()

At most this many predictions will be returned per output frame. Value 0 means to return all the detected entities.

int32 max_predictions = 2;

Returns
Type Description
VertexAutoMLVisionConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public VertexAutoMLVisionConfig.Builder clone()
Returns
Type Description
VertexAutoMLVisionConfig.Builder
Overrides

getConfidenceThreshold()

public float getConfidenceThreshold()

Only entities with higher score than the threshold will be returned. Value 0.0 means to return all the detected entities.

float confidence_threshold = 1;

Returns
Type Description
float

The confidenceThreshold.

getDefaultInstanceForType()

public VertexAutoMLVisionConfig getDefaultInstanceForType()
Returns
Type Description
VertexAutoMLVisionConfig

getDescriptorForType()

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

getMaxPredictions()

public int getMaxPredictions()

At most this many predictions will be returned per output frame. Value 0 means to return all the detected entities.

int32 max_predictions = 2;

Returns
Type Description
int

The maxPredictions.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VertexAutoMLVisionConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConfidenceThreshold(float value)

public VertexAutoMLVisionConfig.Builder setConfidenceThreshold(float value)

Only entities with higher score than the threshold will be returned. Value 0.0 means to return all the detected entities.

float confidence_threshold = 1;

Parameter
Name Description
value float

The confidenceThreshold to set.

Returns
Type Description
VertexAutoMLVisionConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMaxPredictions(int value)

public VertexAutoMLVisionConfig.Builder setMaxPredictions(int value)

At most this many predictions will be returned per output frame. Value 0 means to return all the detected entities.

int32 max_predictions = 2;

Parameter
Name Description
value int

The maxPredictions to set.

Returns
Type Description
VertexAutoMLVisionConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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