Class StreamingLabelDetectionConfig.Builder (2.82.0)

public static final class StreamingLabelDetectionConfig.Builder extends GeneratedMessage.Builder<StreamingLabelDetectionConfig.Builder> implements StreamingLabelDetectionConfigOrBuilder

Config for STREAMING_LABEL_DETECTION.

Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig

Static Methods

getDescriptor()

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

Methods

build()

public StreamingLabelDetectionConfig build()
Returns
Type Description
StreamingLabelDetectionConfig

buildPartial()

public StreamingLabelDetectionConfig buildPartial()
Returns
Type Description
StreamingLabelDetectionConfig

clear()

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

clearStationaryCamera()

public StreamingLabelDetectionConfig.Builder clearStationaryCamera()

Whether the video has been captured from a stationary (i.e. non-moving) camera. When set to true, might improve detection accuracy for moving objects. Default: false.

bool stationary_camera = 1;

Returns
Type Description
StreamingLabelDetectionConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public StreamingLabelDetectionConfig getDefaultInstanceForType()
Returns
Type Description
StreamingLabelDetectionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getStationaryCamera()

public boolean getStationaryCamera()

Whether the video has been captured from a stationary (i.e. non-moving) camera. When set to true, might improve detection accuracy for moving objects. Default: false.

bool stationary_camera = 1;

Returns
Type Description
boolean

The stationaryCamera.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StreamingLabelDetectionConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setStationaryCamera(boolean value)

public StreamingLabelDetectionConfig.Builder setStationaryCamera(boolean value)

Whether the video has been captured from a stationary (i.e. non-moving) camera. When set to true, might improve detection accuracy for moving objects. Default: false.

bool stationary_camera = 1;

Parameter
Name Description
value boolean

The stationaryCamera to set.

Returns
Type Description
StreamingLabelDetectionConfig.Builder

This builder for chaining.