Class StreamingVideoConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig
All Implemented Interfaces:
StreamingVideoConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class StreamingVideoConfig extends com.google.protobuf.GeneratedMessage implements StreamingVideoConfigOrBuilder
 Provides information to the annotator that specifies how to process the
 request.
 
Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig
See Also:
  • Field Details

    • SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER

      public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER
      See Also:
    • LABEL_DETECTION_CONFIG_FIELD_NUMBER

      public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER
      See Also:
    • EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER

      public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER
      See Also:
    • OBJECT_TRACKING_CONFIG_FIELD_NUMBER

      public static final int OBJECT_TRACKING_CONFIG_FIELD_NUMBER
      See Also:
    • AUTOML_ACTION_RECOGNITION_CONFIG_FIELD_NUMBER

      public static final int AUTOML_ACTION_RECOGNITION_CONFIG_FIELD_NUMBER
      See Also:
    • AUTOML_CLASSIFICATION_CONFIG_FIELD_NUMBER

      public static final int AUTOML_CLASSIFICATION_CONFIG_FIELD_NUMBER
      See Also:
    • AUTOML_OBJECT_TRACKING_CONFIG_FIELD_NUMBER

      public static final int AUTOML_OBJECT_TRACKING_CONFIG_FIELD_NUMBER
      See Also:
    • FEATURE_FIELD_NUMBER

      public static final int FEATURE_FIELD_NUMBER
      See Also:
    • STORAGE_CONFIG_FIELD_NUMBER

      public static final int STORAGE_CONFIG_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getStreamingConfigCase

      public StreamingVideoConfig.StreamingConfigCase getStreamingConfigCase()
      Specified by:
      getStreamingConfigCase in interface StreamingVideoConfigOrBuilder
    • hasShotChangeDetectionConfig

      public boolean hasShotChangeDetectionConfig()
       Config for STREAMING_SHOT_CHANGE_DETECTION.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2;
      Specified by:
      hasShotChangeDetectionConfig in interface StreamingVideoConfigOrBuilder
      Returns:
      Whether the shotChangeDetectionConfig field is set.
    • getShotChangeDetectionConfig

      public StreamingShotChangeDetectionConfig getShotChangeDetectionConfig()
       Config for STREAMING_SHOT_CHANGE_DETECTION.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2;
      Specified by:
      getShotChangeDetectionConfig in interface StreamingVideoConfigOrBuilder
      Returns:
      The shotChangeDetectionConfig.
    • getShotChangeDetectionConfigOrBuilder

      public StreamingShotChangeDetectionConfigOrBuilder getShotChangeDetectionConfigOrBuilder()
       Config for STREAMING_SHOT_CHANGE_DETECTION.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig shot_change_detection_config = 2;
      Specified by:
      getShotChangeDetectionConfigOrBuilder in interface StreamingVideoConfigOrBuilder
    • hasLabelDetectionConfig

      public boolean hasLabelDetectionConfig()
       Config for STREAMING_LABEL_DETECTION.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3;
      Specified by:
      hasLabelDetectionConfig in interface StreamingVideoConfigOrBuilder
      Returns:
      Whether the labelDetectionConfig field is set.
    • getLabelDetectionConfig

      public StreamingLabelDetectionConfig getLabelDetectionConfig()
       Config for STREAMING_LABEL_DETECTION.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3;
      Specified by:
      getLabelDetectionConfig in interface StreamingVideoConfigOrBuilder
      Returns:
      The labelDetectionConfig.
    • getLabelDetectionConfigOrBuilder

      public StreamingLabelDetectionConfigOrBuilder getLabelDetectionConfigOrBuilder()
       Config for STREAMING_LABEL_DETECTION.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig label_detection_config = 3;
      Specified by:
      getLabelDetectionConfigOrBuilder in interface StreamingVideoConfigOrBuilder
    • hasExplicitContentDetectionConfig

      public boolean hasExplicitContentDetectionConfig()
       Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4;
      Specified by:
      hasExplicitContentDetectionConfig in interface StreamingVideoConfigOrBuilder
      Returns:
      Whether the explicitContentDetectionConfig field is set.
    • getExplicitContentDetectionConfig

      public StreamingExplicitContentDetectionConfig getExplicitContentDetectionConfig()
       Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4;
      Specified by:
      getExplicitContentDetectionConfig in interface StreamingVideoConfigOrBuilder
      Returns:
      The explicitContentDetectionConfig.
    • getExplicitContentDetectionConfigOrBuilder

      public StreamingExplicitContentDetectionConfigOrBuilder getExplicitContentDetectionConfigOrBuilder()
       Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig explicit_content_detection_config = 4;
      Specified by:
      getExplicitContentDetectionConfigOrBuilder in interface StreamingVideoConfigOrBuilder
    • hasObjectTrackingConfig

      public boolean hasObjectTrackingConfig()
       Config for STREAMING_OBJECT_TRACKING.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5;
      Specified by:
      hasObjectTrackingConfig in interface StreamingVideoConfigOrBuilder
      Returns:
      Whether the objectTrackingConfig field is set.
    • getObjectTrackingConfig

      public StreamingObjectTrackingConfig getObjectTrackingConfig()
       Config for STREAMING_OBJECT_TRACKING.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5;
      Specified by:
      getObjectTrackingConfig in interface StreamingVideoConfigOrBuilder
      Returns:
      The objectTrackingConfig.
    • getObjectTrackingConfigOrBuilder

      public StreamingObjectTrackingConfigOrBuilder getObjectTrackingConfigOrBuilder()
       Config for STREAMING_OBJECT_TRACKING.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig object_tracking_config = 5;
      Specified by:
      getObjectTrackingConfigOrBuilder in interface StreamingVideoConfigOrBuilder
    • hasAutomlActionRecognitionConfig

      public boolean hasAutomlActionRecognitionConfig()
       Config for STREAMING_AUTOML_ACTION_RECOGNITION.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23;
      Specified by:
      hasAutomlActionRecognitionConfig in interface StreamingVideoConfigOrBuilder
      Returns:
      Whether the automlActionRecognitionConfig field is set.
    • getAutomlActionRecognitionConfig

      public StreamingAutomlActionRecognitionConfig getAutomlActionRecognitionConfig()
       Config for STREAMING_AUTOML_ACTION_RECOGNITION.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23;
      Specified by:
      getAutomlActionRecognitionConfig in interface StreamingVideoConfigOrBuilder
      Returns:
      The automlActionRecognitionConfig.
    • getAutomlActionRecognitionConfigOrBuilder

      public StreamingAutomlActionRecognitionConfigOrBuilder getAutomlActionRecognitionConfigOrBuilder()
       Config for STREAMING_AUTOML_ACTION_RECOGNITION.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig automl_action_recognition_config = 23;
      Specified by:
      getAutomlActionRecognitionConfigOrBuilder in interface StreamingVideoConfigOrBuilder
    • hasAutomlClassificationConfig

      public boolean hasAutomlClassificationConfig()
       Config for STREAMING_AUTOML_CLASSIFICATION.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21;
      Specified by:
      hasAutomlClassificationConfig in interface StreamingVideoConfigOrBuilder
      Returns:
      Whether the automlClassificationConfig field is set.
    • getAutomlClassificationConfig

      public StreamingAutomlClassificationConfig getAutomlClassificationConfig()
       Config for STREAMING_AUTOML_CLASSIFICATION.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21;
      Specified by:
      getAutomlClassificationConfig in interface StreamingVideoConfigOrBuilder
      Returns:
      The automlClassificationConfig.
    • getAutomlClassificationConfigOrBuilder

      public StreamingAutomlClassificationConfigOrBuilder getAutomlClassificationConfigOrBuilder()
       Config for STREAMING_AUTOML_CLASSIFICATION.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig automl_classification_config = 21;
      Specified by:
      getAutomlClassificationConfigOrBuilder in interface StreamingVideoConfigOrBuilder
    • hasAutomlObjectTrackingConfig

      public boolean hasAutomlObjectTrackingConfig()
       Config for STREAMING_AUTOML_OBJECT_TRACKING.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22;
      Specified by:
      hasAutomlObjectTrackingConfig in interface StreamingVideoConfigOrBuilder
      Returns:
      Whether the automlObjectTrackingConfig field is set.
    • getAutomlObjectTrackingConfig

      public StreamingAutomlObjectTrackingConfig getAutomlObjectTrackingConfig()
       Config for STREAMING_AUTOML_OBJECT_TRACKING.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22;
      Specified by:
      getAutomlObjectTrackingConfig in interface StreamingVideoConfigOrBuilder
      Returns:
      The automlObjectTrackingConfig.
    • getAutomlObjectTrackingConfigOrBuilder

      public StreamingAutomlObjectTrackingConfigOrBuilder getAutomlObjectTrackingConfigOrBuilder()
       Config for STREAMING_AUTOML_OBJECT_TRACKING.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig automl_object_tracking_config = 22;
      Specified by:
      getAutomlObjectTrackingConfigOrBuilder in interface StreamingVideoConfigOrBuilder
    • getFeatureValue

      public int getFeatureValue()
       Requested annotation feature.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1;
      Specified by:
      getFeatureValue in interface StreamingVideoConfigOrBuilder
      Returns:
      The enum numeric value on the wire for feature.
    • getFeature

      public StreamingFeature getFeature()
       Requested annotation feature.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingFeature feature = 1;
      Specified by:
      getFeature in interface StreamingVideoConfigOrBuilder
      Returns:
      The feature.
    • hasStorageConfig

      public boolean hasStorageConfig()
       Streaming storage option. By default: storage is disabled.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30;
      Specified by:
      hasStorageConfig in interface StreamingVideoConfigOrBuilder
      Returns:
      Whether the storageConfig field is set.
    • getStorageConfig

      public StreamingStorageConfig getStorageConfig()
       Streaming storage option. By default: storage is disabled.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30;
      Specified by:
      getStorageConfig in interface StreamingVideoConfigOrBuilder
      Returns:
      The storageConfig.
    • getStorageConfigOrBuilder

      public StreamingStorageConfigOrBuilder getStorageConfigOrBuilder()
       Streaming storage option. By default: storage is disabled.
       
      .google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig storage_config = 30;
      Specified by:
      getStorageConfigOrBuilder in interface StreamingVideoConfigOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static StreamingVideoConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamingVideoConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamingVideoConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamingVideoConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamingVideoConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamingVideoConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StreamingVideoConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StreamingVideoConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StreamingVideoConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StreamingVideoConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StreamingVideoConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StreamingVideoConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public StreamingVideoConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static StreamingVideoConfig.Builder newBuilder()
    • newBuilder

      public static StreamingVideoConfig.Builder newBuilder(StreamingVideoConfig prototype)
    • toBuilder

      public StreamingVideoConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected StreamingVideoConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static StreamingVideoConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<StreamingVideoConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<StreamingVideoConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public StreamingVideoConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder