Class StreamingVideoConfig (2.26.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
TypeDescription
int

AUTOML_CLASSIFICATION_CONFIG_FIELD_NUMBER

public static final int AUTOML_CLASSIFICATION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

AUTOML_OBJECT_TRACKING_CONFIG_FIELD_NUMBER

public static final int AUTOML_OBJECT_TRACKING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER

public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

FEATURE_FIELD_NUMBER

public static final int FEATURE_FIELD_NUMBER
Field Value
TypeDescription
int

LABEL_DETECTION_CONFIG_FIELD_NUMBER

public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECT_TRACKING_CONFIG_FIELD_NUMBER

public static final int OBJECT_TRACKING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER

public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

STORAGE_CONFIG_FIELD_NUMBER

public static final int STORAGE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StreamingVideoConfig getDefaultInstance()
Returns
TypeDescription
StreamingVideoConfig

getDescriptor()

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

newBuilder()

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

newBuilder(StreamingVideoConfig prototype)

public static StreamingVideoConfig.Builder newBuilder(StreamingVideoConfig prototype)
Parameter
NameDescription
prototypeStreamingVideoConfig
Returns
TypeDescription
StreamingVideoConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAutomlActionRecognitionConfig()

public StreamingAutomlActionRecognitionConfig getAutomlActionRecognitionConfig()

Config for STREAMING_AUTOML_ACTION_RECOGNITION.

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

Returns
TypeDescription
StreamingAutomlActionRecognitionConfig

The automlActionRecognitionConfig.

getAutomlActionRecognitionConfigOrBuilder()

public StreamingAutomlActionRecognitionConfigOrBuilder getAutomlActionRecognitionConfigOrBuilder()

Config for STREAMING_AUTOML_ACTION_RECOGNITION.

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

Returns
TypeDescription
StreamingAutomlActionRecognitionConfigOrBuilder

getAutomlClassificationConfig()

public StreamingAutomlClassificationConfig getAutomlClassificationConfig()

Config for STREAMING_AUTOML_CLASSIFICATION.

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

Returns
TypeDescription
StreamingAutomlClassificationConfig

The automlClassificationConfig.

getAutomlClassificationConfigOrBuilder()

public StreamingAutomlClassificationConfigOrBuilder getAutomlClassificationConfigOrBuilder()

Config for STREAMING_AUTOML_CLASSIFICATION.

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

Returns
TypeDescription
StreamingAutomlClassificationConfigOrBuilder

getAutomlObjectTrackingConfig()

public StreamingAutomlObjectTrackingConfig getAutomlObjectTrackingConfig()

Config for STREAMING_AUTOML_OBJECT_TRACKING.

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

Returns
TypeDescription
StreamingAutomlObjectTrackingConfig

The automlObjectTrackingConfig.

getAutomlObjectTrackingConfigOrBuilder()

public StreamingAutomlObjectTrackingConfigOrBuilder getAutomlObjectTrackingConfigOrBuilder()

Config for STREAMING_AUTOML_OBJECT_TRACKING.

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

Returns
TypeDescription
StreamingAutomlObjectTrackingConfigOrBuilder

getDefaultInstanceForType()

public StreamingVideoConfig getDefaultInstanceForType()
Returns
TypeDescription
StreamingVideoConfig

getExplicitContentDetectionConfig()

public StreamingExplicitContentDetectionConfig getExplicitContentDetectionConfig()

Config for STREAMING_EXPLICIT_CONTENT_DETECTION.

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

Returns
TypeDescription
StreamingExplicitContentDetectionConfig

The explicitContentDetectionConfig.

getExplicitContentDetectionConfigOrBuilder()

public StreamingExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder()

Config for STREAMING_EXPLICIT_CONTENT_DETECTION.

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

Returns
TypeDescription
StreamingExplicitContentDetectionConfigOrBuilder

getFeature()

public StreamingFeature getFeature()

Requested annotation feature.

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

Returns
TypeDescription
StreamingFeature

The feature.

getFeatureValue()

public int getFeatureValue()

Requested annotation feature.

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

Returns
TypeDescription
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
TypeDescription
StreamingLabelDetectionConfig

The labelDetectionConfig.

getLabelDetectionConfigOrBuilder()

public StreamingLabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder()

Config for STREAMING_LABEL_DETECTION.

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

Returns
TypeDescription
StreamingLabelDetectionConfigOrBuilder

getObjectTrackingConfig()

public StreamingObjectTrackingConfig getObjectTrackingConfig()

Config for STREAMING_OBJECT_TRACKING.

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

Returns
TypeDescription
StreamingObjectTrackingConfig

The objectTrackingConfig.

getObjectTrackingConfigOrBuilder()

public StreamingObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder()

Config for STREAMING_OBJECT_TRACKING.

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

Returns
TypeDescription
StreamingObjectTrackingConfigOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getShotChangeDetectionConfig()

public StreamingShotChangeDetectionConfig getShotChangeDetectionConfig()

Config for STREAMING_SHOT_CHANGE_DETECTION.

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

Returns
TypeDescription
StreamingShotChangeDetectionConfig

The shotChangeDetectionConfig.

getShotChangeDetectionConfigOrBuilder()

public StreamingShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder()

Config for STREAMING_SHOT_CHANGE_DETECTION.

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

Returns
TypeDescription
StreamingShotChangeDetectionConfigOrBuilder

getStorageConfig()

public StreamingStorageConfig getStorageConfig()

Streaming storage option. By default: storage is disabled.

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

Returns
TypeDescription
StreamingStorageConfig

The storageConfig.

getStorageConfigOrBuilder()

public StreamingStorageConfigOrBuilder getStorageConfigOrBuilder()

Streaming storage option. By default: storage is disabled.

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

Returns
TypeDescription
StreamingStorageConfigOrBuilder

getStreamingConfigCase()

public StreamingVideoConfig.StreamingConfigCase getStreamingConfigCase()
Returns
TypeDescription
StreamingVideoConfig.StreamingConfigCase

hasAutomlActionRecognitionConfig()

public boolean hasAutomlActionRecognitionConfig()

Config for STREAMING_AUTOML_ACTION_RECOGNITION.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the storageConfig field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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