Class ObjectTrackingConfig.Builder (2.6.0)

public static final class ObjectTrackingConfig.Builder extends GeneratedMessageV3.Builder<ObjectTrackingConfig.Builder> implements ObjectTrackingConfigOrBuilder

Config for OBJECT_TRACKING.

Protobuf type google.cloud.videointelligence.v1.ObjectTrackingConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ObjectTrackingConfig build()
Returns
TypeDescription
ObjectTrackingConfig

buildPartial()

public ObjectTrackingConfig buildPartial()
Returns
TypeDescription
ObjectTrackingConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearModel()

public ObjectTrackingConfig.Builder clearModel()

Model to use for object tracking. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

string model = 1;

Returns
TypeDescription
ObjectTrackingConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ObjectTrackingConfig.Builder clone()
Returns
TypeDescription
ObjectTrackingConfig.Builder
Overrides

getDefaultInstanceForType()

public ObjectTrackingConfig getDefaultInstanceForType()
Returns
TypeDescription
ObjectTrackingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getModel()

public String getModel()

Model to use for object tracking. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

string model = 1;

Returns
TypeDescription
String

The model.

getModelBytes()

public ByteString getModelBytes()

Model to use for object tracking. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

string model = 1;

Returns
TypeDescription
ByteString

The bytes for model.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ObjectTrackingConfig other)

public ObjectTrackingConfig.Builder mergeFrom(ObjectTrackingConfig other)
Parameter
NameDescription
otherObjectTrackingConfig
Returns
TypeDescription
ObjectTrackingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setModel(String value)

public ObjectTrackingConfig.Builder setModel(String value)

Model to use for object tracking. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

string model = 1;

Parameter
NameDescription
valueString

The model to set.

Returns
TypeDescription
ObjectTrackingConfig.Builder

This builder for chaining.

setModelBytes(ByteString value)

public ObjectTrackingConfig.Builder setModelBytes(ByteString value)

Model to use for object tracking. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

string model = 1;

Parameter
NameDescription
valueByteString

The bytes for model to set.

Returns
TypeDescription
ObjectTrackingConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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