Class StreamingLabelDetectionConfig.Builder (2.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamingLabelDetectionConfig build()
Returns
TypeDescription
StreamingLabelDetectionConfig

buildPartial()

public StreamingLabelDetectionConfig buildPartial()
Returns
TypeDescription
StreamingLabelDetectionConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingLabelDetectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
StreamingLabelDetectionConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public StreamingLabelDetectionConfig getDefaultInstanceForType()
Returns
TypeDescription
StreamingLabelDetectionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

The stationaryCamera.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StreamingLabelDetectionConfig other)

public StreamingLabelDetectionConfig.Builder mergeFrom(StreamingLabelDetectionConfig other)
Parameter
NameDescription
otherStreamingLabelDetectionConfig
Returns
TypeDescription
StreamingLabelDetectionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public StreamingLabelDetectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The stationaryCamera to set.

Returns
TypeDescription
StreamingLabelDetectionConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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