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
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 StreamingLabelDetectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StreamingLabelDetectionConfig build()
Returns
buildPartial()
public StreamingLabelDetectionConfig buildPartial()
Returns
clear()
public StreamingLabelDetectionConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public StreamingLabelDetectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingLabelDetectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public StreamingLabelDetectionConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public StreamingLabelDetectionConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(StreamingLabelDetectionConfig other)
public StreamingLabelDetectionConfig.Builder mergeFrom(StreamingLabelDetectionConfig other)
Parameter
Returns
public StreamingLabelDetectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StreamingLabelDetectionConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingLabelDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingLabelDetectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingLabelDetectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingLabelDetectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides