Class StreamingVideoConfig

  • All Implemented Interfaces:
    StreamingVideoConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class StreamingVideoConfig
    extends com.google.protobuf.GeneratedMessageV3
    implements StreamingVideoConfigOrBuilder
     Provides information to the annotator that specifies how to process the
     request.
     
    Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig
    See Also:
    Serialized Form
    • Field Detail

      • SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER

        public static final int SHOT_CHANGE_DETECTION_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LABEL_DETECTION_CONFIG_FIELD_NUMBER

        public static final int LABEL_DETECTION_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER

        public static final int EXPLICIT_CONTENT_DETECTION_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • OBJECT_TRACKING_CONFIG_FIELD_NUMBER

        public static final int OBJECT_TRACKING_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AUTOML_ACTION_RECOGNITION_CONFIG_FIELD_NUMBER

        public static final int AUTOML_ACTION_RECOGNITION_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AUTOML_CLASSIFICATION_CONFIG_FIELD_NUMBER

        public static final int AUTOML_CLASSIFICATION_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AUTOML_OBJECT_TRACKING_CONFIG_FIELD_NUMBER

        public static final int AUTOML_OBJECT_TRACKING_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STORAGE_CONFIG_FIELD_NUMBER

        public static final int STORAGE_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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
      • newBuilderForType

        public StreamingVideoConfig.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • 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.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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