Class VertexAutoMLVisionConfig.Builder (0.14.1)

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

Message of configurations of Vertex AutoML Vision Processors.

Protobuf type google.events.cloud.visionai.v1.VertexAutoMLVisionConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VertexAutoMLVisionConfig build()
Returns
TypeDescription
VertexAutoMLVisionConfig

buildPartial()

public VertexAutoMLVisionConfig buildPartial()
Returns
TypeDescription
VertexAutoMLVisionConfig

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VertexAutoMLVisionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
VertexAutoMLVisionConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

The confidenceThreshold.

getDefaultInstanceForType()

public VertexAutoMLVisionConfig getDefaultInstanceForType()
Returns
TypeDescription
VertexAutoMLVisionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
int

The maxPredictions.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VertexAutoMLVisionConfig other)

public VertexAutoMLVisionConfig.Builder mergeFrom(VertexAutoMLVisionConfig other)
Parameter
NameDescription
otherVertexAutoMLVisionConfig
Returns
TypeDescription
VertexAutoMLVisionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The confidenceThreshold to set.

Returns
TypeDescription
VertexAutoMLVisionConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VertexAutoMLVisionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The maxPredictions to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VertexAutoMLVisionConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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