Class VertexAutoMLVideoConfig.Builder (0.14.1)

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

Message describing VertexAutoMLVideoConfig.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The blockedLabels to add.

Returns
TypeDescription
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
NameDescription
valueString

The blockedLabels to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the blockedLabels to add.

Returns
TypeDescription
VertexAutoMLVideoConfig.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VertexAutoMLVideoConfig build()
Returns
TypeDescription
VertexAutoMLVideoConfig

buildPartial()

public VertexAutoMLVideoConfig buildPartial()
Returns
TypeDescription
VertexAutoMLVideoConfig

clear()

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

clearBlockedLabels()

public VertexAutoMLVideoConfig.Builder clearBlockedLabels()

Labels specified in this field won't be returned.

repeated string blocked_labels = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
VertexAutoMLVideoConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public VertexAutoMLVideoConfig.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of blockedLabels.

getBlockedLabelsList()

public ProtocolStringList getBlockedLabelsList()

Labels specified in this field won't be returned.

repeated string blocked_labels = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
float

The confidenceThreshold.

getDefaultInstanceForType()

public VertexAutoMLVideoConfig getDefaultInstanceForType()
Returns
TypeDescription
VertexAutoMLVideoConfig

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

Returns
TypeDescription
int

The maxPredictions.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VertexAutoMLVideoConfig other)

public VertexAutoMLVideoConfig.Builder mergeFrom(VertexAutoMLVideoConfig other)
Parameter
NameDescription
otherVertexAutoMLVideoConfig
Returns
TypeDescription
VertexAutoMLVideoConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The blockedLabels to set.

Returns
TypeDescription
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
NameDescription
valuefloat

The boundingBoxSizeLimit to set.

Returns
TypeDescription
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
NameDescription
valuefloat

The confidenceThreshold to set.

Returns
TypeDescription
VertexAutoMLVideoConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The maxPredictions to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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