Class StreamingLabelDetectionConfig (2.48.0)

public final class StreamingLabelDetectionConfig extends GeneratedMessageV3 implements StreamingLabelDetectionConfigOrBuilder

Config for STREAMING_LABEL_DETECTION.

Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig

Static Fields

STATIONARY_CAMERA_FIELD_NUMBER

public static final int STATIONARY_CAMERA_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StreamingLabelDetectionConfig getDefaultInstance()
Returns
Type Description
StreamingLabelDetectionConfig

getDescriptor()

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

newBuilder()

public static StreamingLabelDetectionConfig.Builder newBuilder()
Returns
Type Description
StreamingLabelDetectionConfig.Builder

newBuilder(StreamingLabelDetectionConfig prototype)

public static StreamingLabelDetectionConfig.Builder newBuilder(StreamingLabelDetectionConfig prototype)
Parameter
Name Description
prototype StreamingLabelDetectionConfig
Returns
Type Description
StreamingLabelDetectionConfig.Builder

parseDelimitedFrom(InputStream input)

public static StreamingLabelDetectionConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamingLabelDetectionConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingLabelDetectionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingLabelDetectionConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StreamingLabelDetectionConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StreamingLabelDetectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StreamingLabelDetectionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingLabelDetectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StreamingLabelDetectionConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StreamingLabelDetectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StreamingLabelDetectionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingLabelDetectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StreamingLabelDetectionConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StreamingLabelDetectionConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingLabelDetectionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingLabelDetectionConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StreamingLabelDetectionConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamingLabelDetectionConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingLabelDetectionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingLabelDetectionConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StreamingLabelDetectionConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StreamingLabelDetectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StreamingLabelDetectionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingLabelDetectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StreamingLabelDetectionConfig> parser()
Returns
Type Description
Parser<StreamingLabelDetectionConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StreamingLabelDetectionConfig getDefaultInstanceForType()
Returns
Type Description
StreamingLabelDetectionConfig

getParserForType()

public Parser<StreamingLabelDetectionConfig> getParserForType()
Returns
Type Description
Parser<StreamingLabelDetectionConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StreamingLabelDetectionConfig.Builder newBuilderForType()
Returns
Type Description
StreamingLabelDetectionConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamingLabelDetectionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StreamingLabelDetectionConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StreamingLabelDetectionConfig.Builder toBuilder()
Returns
Type Description
StreamingLabelDetectionConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException