Class StreamingVideoConfig (2.50.0)

public final class StreamingVideoConfig extends GeneratedMessageV3 implements StreamingVideoConfigOrBuilder

Provides information to the annotator that specifies how to process the request.

Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig

Static Fields

AUTOML_ACTION_RECOGNITION_CONFIG_FIELD_NUMBER

public static final int AUTOML_ACTION_RECOGNITION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

AUTOML_CLASSIFICATION_CONFIG_FIELD_NUMBER

public static final int AUTOML_CLASSIFICATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

AUTOML_OBJECT_TRACKING_CONFIG_FIELD_NUMBER

public static final int AUTOML_OBJECT_TRACKING_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER

public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

FEATURE_FIELD_NUMBER

public static final int FEATURE_FIELD_NUMBER
Field Value
Type Description
int

LABEL_DETECTION_CONFIG_FIELD_NUMBER

public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

OBJECT_TRACKING_CONFIG_FIELD_NUMBER

public static final int OBJECT_TRACKING_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER

public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

STORAGE_CONFIG_FIELD_NUMBER

public static final int STORAGE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StreamingVideoConfig getDefaultInstance()
Returns
Type Description
StreamingVideoConfig

getDescriptor()

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

newBuilder()

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

newBuilder(StreamingVideoConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAutomlActionRecognitionConfig()

public StreamingAutomlActionRecognitionConfig getAutomlActionRecognitionConfig()

Config for STREAMING_AUTOML_ACTION_RECOGNITION.

.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23;

Returns
Type Description
StreamingAutomlActionRecognitionConfig

The automlActionRecognitionConfig.

getAutomlActionRecognitionConfigOrBuilder()

public StreamingAutomlActionRecognitionConfigOrBuilder getAutomlActionRecognitionConfigOrBuilder()

Config for STREAMING_AUTOML_ACTION_RECOGNITION.

.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23;

Returns
Type Description
StreamingAutomlActionRecognitionConfigOrBuilder

getAutomlClassificationConfig()

public StreamingAutomlClassificationConfig getAutomlClassificationConfig()

Config for STREAMING_AUTOML_CLASSIFICATION.

.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21;

Returns
Type Description
StreamingAutomlClassificationConfig

The automlClassificationConfig.

getAutomlClassificationConfigOrBuilder()

public StreamingAutomlClassificationConfigOrBuilder getAutomlClassificationConfigOrBuilder()

Config for STREAMING_AUTOML_CLASSIFICATION.

.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21;

Returns
Type Description
StreamingAutomlClassificationConfigOrBuilder

getAutomlObjectTrackingConfig()

public StreamingAutomlObjectTrackingConfig getAutomlObjectTrackingConfig()

Config for STREAMING_AUTOML_OBJECT_TRACKING.

.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22;

Returns
Type Description
StreamingAutomlObjectTrackingConfig

The automlObjectTrackingConfig.

getAutomlObjectTrackingConfigOrBuilder()

public StreamingAutomlObjectTrackingConfigOrBuilder getAutomlObjectTrackingConfigOrBuilder()

Config for STREAMING_AUTOML_OBJECT_TRACKING.

.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22;

Returns
Type Description
StreamingAutomlObjectTrackingConfigOrBuilder

getDefaultInstanceForType()

public StreamingVideoConfig getDefaultInstanceForType()
Returns
Type Description
StreamingVideoConfig

getExplicitContentDetectionConfig()

public StreamingExplicitContentDetectionConfig getExplicitContentDetectionConfig()

Config for STREAMING_EXPLICIT_CONTENT_DETECTION.

.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4;

Returns
Type Description
StreamingExplicitContentDetectionConfig

The explicitContentDetectionConfig.

getExplicitContentDetectionConfigOrBuilder()

public StreamingExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder()

Config for STREAMING_EXPLICIT_CONTENT_DETECTION.

.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4;

Returns
Type Description
StreamingExplicitContentDetectionConfigOrBuilder

getFeature()

public StreamingFeature getFeature()

Requested annotation feature.

.google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1;

Returns
Type Description
StreamingFeature

The feature.

getFeatureValue()

public int getFeatureValue()

Requested annotation feature.

.google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1;

Returns
Type Description
int

The enum numeric value on the wire for feature.

getLabelDetectionConfig()

public StreamingLabelDetectionConfig getLabelDetectionConfig()

Config for STREAMING_LABEL_DETECTION.

.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3;

Returns
Type Description
StreamingLabelDetectionConfig

The labelDetectionConfig.

getLabelDetectionConfigOrBuilder()

public StreamingLabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder()

Config for STREAMING_LABEL_DETECTION.

.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3;

Returns
Type Description
StreamingLabelDetectionConfigOrBuilder

getObjectTrackingConfig()

public StreamingObjectTrackingConfig getObjectTrackingConfig()

Config for STREAMING_OBJECT_TRACKING.

.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5;

Returns
Type Description
StreamingObjectTrackingConfig

The objectTrackingConfig.

getObjectTrackingConfigOrBuilder()

public StreamingObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder()

Config for STREAMING_OBJECT_TRACKING.

.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5;

Returns
Type Description
StreamingObjectTrackingConfigOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getShotChangeDetectionConfig()

public StreamingShotChangeDetectionConfig getShotChangeDetectionConfig()

Config for STREAMING_SHOT_CHANGE_DETECTION.

.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2;

Returns
Type Description
StreamingShotChangeDetectionConfig

The shotChangeDetectionConfig.

getShotChangeDetectionConfigOrBuilder()

public StreamingShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder()

Config for STREAMING_SHOT_CHANGE_DETECTION.

.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2;

Returns
Type Description
StreamingShotChangeDetectionConfigOrBuilder

getStorageConfig()

public StreamingStorageConfig getStorageConfig()

Streaming storage option. By default: storage is disabled.

.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30;

Returns
Type Description
StreamingStorageConfig

The storageConfig.

getStorageConfigOrBuilder()

public StreamingStorageConfigOrBuilder getStorageConfigOrBuilder()

Streaming storage option. By default: storage is disabled.

.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30;

Returns
Type Description
StreamingStorageConfigOrBuilder

getStreamingConfigCase()

public StreamingVideoConfig.StreamingConfigCase getStreamingConfigCase()
Returns
Type Description
StreamingVideoConfig.StreamingConfigCase

hasAutomlActionRecognitionConfig()

public boolean hasAutomlActionRecognitionConfig()

Config for STREAMING_AUTOML_ACTION_RECOGNITION.

.google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23;

Returns
Type Description
boolean

Whether the automlActionRecognitionConfig field is set.

hasAutomlClassificationConfig()

public boolean hasAutomlClassificationConfig()

Config for STREAMING_AUTOML_CLASSIFICATION.

.google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21;

Returns
Type Description
boolean

Whether the automlClassificationConfig field is set.

hasAutomlObjectTrackingConfig()

public boolean hasAutomlObjectTrackingConfig()

Config for STREAMING_AUTOML_OBJECT_TRACKING.

.google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22;

Returns
Type Description
boolean

Whether the automlObjectTrackingConfig field is set.

hasExplicitContentDetectionConfig()

public boolean hasExplicitContentDetectionConfig()

Config for STREAMING_EXPLICIT_CONTENT_DETECTION.

.google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4;

Returns
Type Description
boolean

Whether the explicitContentDetectionConfig field is set.

hasLabelDetectionConfig()

public boolean hasLabelDetectionConfig()

Config for STREAMING_LABEL_DETECTION.

.google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3;

Returns
Type Description
boolean

Whether the labelDetectionConfig field is set.

hasObjectTrackingConfig()

public boolean hasObjectTrackingConfig()

Config for STREAMING_OBJECT_TRACKING.

.google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5;

Returns
Type Description
boolean

Whether the objectTrackingConfig field is set.

hasShotChangeDetectionConfig()

public boolean hasShotChangeDetectionConfig()

Config for STREAMING_SHOT_CHANGE_DETECTION.

.google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2;

Returns
Type Description
boolean

Whether the shotChangeDetectionConfig field is set.

hasStorageConfig()

public boolean hasStorageConfig()

Streaming storage option. By default: storage is disabled.

.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30;

Returns
Type Description
boolean

Whether the storageConfig field is set.

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 StreamingVideoConfig.Builder newBuilderForType()
Returns
Type Description
StreamingVideoConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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