public static final class ObjectTrackingConfig.Builder extends GeneratedMessageV3.Builder<ObjectTrackingConfig.Builder> implements ObjectTrackingConfigOrBuilder
Config for OBJECT_TRACKING.
Protobuf type google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ObjectTrackingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ObjectTrackingConfig build()
Returns
buildPartial()
public ObjectTrackingConfig buildPartial()
Returns
clear()
public ObjectTrackingConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ObjectTrackingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ObjectTrackingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ObjectTrackingConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ObjectTrackingConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getModel()
Model to use for object tracking.
Supported values: "builtin/stable" (the default if unset) and
"builtin/latest".
string model = 1;
Returns
Type | Description |
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ObjectTrackingConfig other)
public ObjectTrackingConfig.Builder mergeFrom(ObjectTrackingConfig other)
Parameter
Returns
public ObjectTrackingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ObjectTrackingConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ObjectTrackingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ObjectTrackingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | String
The model to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for model to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ObjectTrackingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ObjectTrackingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides