Class VertexAutoMLVideoConfig.Builder (0.12.0)

public static final class VertexAutoMLVideoConfig.Builder extends GeneratedMessageV3.Builder<VertexAutoMLVideoConfig.Builder> implements VertexAutoMLVideoConfigOrBuilder

Message describing VertexAutoMLVideoConfig.

Protobuf type google.cloud.visionai.v1.VertexAutoMLVideoConfig

Static Methods

getDescriptor()

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

Methods

addAllBlockedLabels(Iterable<String> values)

public VertexAutoMLVideoConfig.Builder addAllBlockedLabels(Iterable<String> values)

Labels specified in this field won't be returned.

repeated string blocked_labels = 2;

Parameter
Name Description
values Iterable<String>

The blockedLabels to add.

Returns
Type Description
VertexAutoMLVideoConfig.Builder

This builder for chaining.

addBlockedLabels(String value)

public VertexAutoMLVideoConfig.Builder addBlockedLabels(String value)

Labels specified in this field won't be returned.

repeated string blocked_labels = 2;

Parameter
Name Description
value String

The blockedLabels to add.

Returns
Type Description
VertexAutoMLVideoConfig.Builder

This builder for chaining.

addBlockedLabelsBytes(ByteString value)

public VertexAutoMLVideoConfig.Builder addBlockedLabelsBytes(ByteString value)

Labels specified in this field won't be returned.

repeated string blocked_labels = 2;

Parameter
Name Description
value ByteString

The bytes of the blockedLabels to add.

Returns
Type Description
VertexAutoMLVideoConfig.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VertexAutoMLVideoConfig build()
Returns
Type Description
VertexAutoMLVideoConfig

buildPartial()

public VertexAutoMLVideoConfig buildPartial()
Returns
Type Description
VertexAutoMLVideoConfig

clear()

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

clearBlockedLabels()

public VertexAutoMLVideoConfig.Builder clearBlockedLabels()

Labels specified in this field won't be returned.

repeated string blocked_labels = 2;

Returns
Type Description
VertexAutoMLVideoConfig.Builder

This builder for chaining.

clearBoundingBoxSizeLimit()

public VertexAutoMLVideoConfig.Builder clearBoundingBoxSizeLimit()

Only Bounding Box whose size is larger than this limit will be returned. Object Tracking only. Value 0.0 means to return all the detected entities.

float bounding_box_size_limit = 4;

Returns
Type Description
VertexAutoMLVideoConfig.Builder

This builder for chaining.

clearConfidenceThreshold()

public VertexAutoMLVideoConfig.Builder clearConfidenceThreshold()

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

float confidence_threshold = 1;

Returns
Type Description
VertexAutoMLVideoConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMaxPredictions()

public VertexAutoMLVideoConfig.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 = 3;

Returns
Type Description
VertexAutoMLVideoConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBlockedLabels(int index)

public String getBlockedLabels(int index)

Labels specified in this field won't be returned.

repeated string blocked_labels = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The blockedLabels at the given index.

getBlockedLabelsBytes(int index)

public ByteString getBlockedLabelsBytes(int index)

Labels specified in this field won't be returned.

repeated string blocked_labels = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the blockedLabels at the given index.

getBlockedLabelsCount()

public int getBlockedLabelsCount()

Labels specified in this field won't be returned.

repeated string blocked_labels = 2;

Returns
Type Description
int

The count of blockedLabels.

getBlockedLabelsList()

public ProtocolStringList getBlockedLabelsList()

Labels specified in this field won't be returned.

repeated string blocked_labels = 2;

Returns
Type Description
ProtocolStringList

A list containing the blockedLabels.

getBoundingBoxSizeLimit()

public float getBoundingBoxSizeLimit()

Only Bounding Box whose size is larger than this limit will be returned. Object Tracking only. Value 0.0 means to return all the detected entities.

float bounding_box_size_limit = 4;

Returns
Type Description
float

The boundingBoxSizeLimit.

getConfidenceThreshold()

public float getConfidenceThreshold()

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

float confidence_threshold = 1;

Returns
Type Description
float

The confidenceThreshold.

getDefaultInstanceForType()

public VertexAutoMLVideoConfig getDefaultInstanceForType()
Returns
Type Description
VertexAutoMLVideoConfig

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 = 3;

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(VertexAutoMLVideoConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBlockedLabels(int index, String value)

public VertexAutoMLVideoConfig.Builder setBlockedLabels(int index, String value)

Labels specified in this field won't be returned.

repeated string blocked_labels = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The blockedLabels to set.

Returns
Type Description
VertexAutoMLVideoConfig.Builder

This builder for chaining.

setBoundingBoxSizeLimit(float value)

public VertexAutoMLVideoConfig.Builder setBoundingBoxSizeLimit(float value)

Only Bounding Box whose size is larger than this limit will be returned. Object Tracking only. Value 0.0 means to return all the detected entities.

float bounding_box_size_limit = 4;

Parameter
Name Description
value float

The boundingBoxSizeLimit to set.

Returns
Type Description
VertexAutoMLVideoConfig.Builder

This builder for chaining.

setConfidenceThreshold(float value)

public VertexAutoMLVideoConfig.Builder setConfidenceThreshold(float value)

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

float confidence_threshold = 1;

Parameter
Name Description
value float

The confidenceThreshold to set.

Returns
Type Description
VertexAutoMLVideoConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMaxPredictions(int value)

public VertexAutoMLVideoConfig.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 = 3;

Parameter
Name Description
value int

The maxPredictions to set.

Returns
Type Description
VertexAutoMLVideoConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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