Class StreamingLabelDetectionConfig (2.36.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static StreamingLabelDetectionConfig getDefaultInstance()
Returns
TypeDescription
StreamingLabelDetectionConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StreamingLabelDetectionConfig.Builder newBuilder()
Returns
TypeDescription
StreamingLabelDetectionConfig.Builder

newBuilder(StreamingLabelDetectionConfig prototype)

public static StreamingLabelDetectionConfig.Builder newBuilder(StreamingLabelDetectionConfig prototype)
Parameter
NameDescription
prototypeStreamingLabelDetectionConfig
Returns
TypeDescription
StreamingLabelDetectionConfig.Builder

parseDelimitedFrom(InputStream input)

public static StreamingLabelDetectionConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamingLabelDetectionConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingLabelDetectionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingLabelDetectionConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StreamingLabelDetectionConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StreamingLabelDetectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StreamingLabelDetectionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingLabelDetectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StreamingLabelDetectionConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StreamingLabelDetectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StreamingLabelDetectionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingLabelDetectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StreamingLabelDetectionConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StreamingLabelDetectionConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingLabelDetectionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingLabelDetectionConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StreamingLabelDetectionConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamingLabelDetectionConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingLabelDetectionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingLabelDetectionConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StreamingLabelDetectionConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StreamingLabelDetectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StreamingLabelDetectionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingLabelDetectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StreamingLabelDetectionConfig> parser()
Returns
TypeDescription
Parser<StreamingLabelDetectionConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public StreamingLabelDetectionConfig getDefaultInstanceForType()
Returns
TypeDescription
StreamingLabelDetectionConfig

getParserForType()

public Parser<StreamingLabelDetectionConfig> getParserForType()
Returns
TypeDescription
Parser<StreamingLabelDetectionConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

The stationaryCamera.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StreamingLabelDetectionConfig.Builder newBuilderForType()
Returns
TypeDescription
StreamingLabelDetectionConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamingLabelDetectionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StreamingLabelDetectionConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StreamingLabelDetectionConfig.Builder toBuilder()
Returns
TypeDescription
StreamingLabelDetectionConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException