Class StreamingLabelDetectionConfig.Builder (2.51.0)

public static final class StreamingLabelDetectionConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingLabelDetectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public StreamingLabelDetectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

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