Interface ClassificationProto.VideoClassificationAnnotationOrBuilder (2.37.0)

public static interface ClassificationProto.VideoClassificationAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClassificationAnnotation()

public abstract ClassificationProto.ClassificationAnnotation getClassificationAnnotation()

Output only . The classification details of this annotation.

.google.cloud.automl.v1beta1.ClassificationAnnotation classification_annotation = 2;

Returns
TypeDescription
ClassificationProto.ClassificationAnnotation

The classificationAnnotation.

getClassificationAnnotationOrBuilder()

public abstract ClassificationProto.ClassificationAnnotationOrBuilder getClassificationAnnotationOrBuilder()

Output only . The classification details of this annotation.

.google.cloud.automl.v1beta1.ClassificationAnnotation classification_annotation = 2;

Returns
TypeDescription
ClassificationProto.ClassificationAnnotationOrBuilder

getTimeSegment()

public abstract TimeSegment getTimeSegment()

Output only . The time segment of the video to which the annotation applies.

.google.cloud.automl.v1beta1.TimeSegment time_segment = 3;

Returns
TypeDescription
TimeSegment

The timeSegment.

getTimeSegmentOrBuilder()

public abstract TimeSegmentOrBuilder getTimeSegmentOrBuilder()

Output only . The time segment of the video to which the annotation applies.

.google.cloud.automl.v1beta1.TimeSegment time_segment = 3;

Returns
TypeDescription
TimeSegmentOrBuilder

getType()

public abstract String getType()

Output only. Expresses the type of video classification. Possible values:

  • segment - Classification done on a specified by user time segment of a video. AnnotationSpec is answered to be present in that time segment, if it is present in any part of it. The video ML model evaluations are done only for this type of classification.

  • shot- Shot-level classification. AutoML Video Intelligence determines the boundaries for each camera shot in the entire segment of the video that user specified in the request configuration. AutoML Video Intelligence then returns labels and their confidence scores for each detected shot, along with the start and end time of the shot. WARNING: Model evaluation is not done for this classification type, the quality of it depends on training data, but there are no metrics provided to describe that quality.

  • 1s_interval - AutoML Video Intelligence returns labels and their confidence scores for each second of the entire segment of the video that user specified in the request configuration. WARNING: Model evaluation is not done for this classification type, the quality of it depends on training data, but there are no metrics provided to describe that quality.

string type = 1;

Returns
TypeDescription
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

Output only. Expresses the type of video classification. Possible values:

  • segment - Classification done on a specified by user time segment of a video. AnnotationSpec is answered to be present in that time segment, if it is present in any part of it. The video ML model evaluations are done only for this type of classification.

  • shot- Shot-level classification. AutoML Video Intelligence determines the boundaries for each camera shot in the entire segment of the video that user specified in the request configuration. AutoML Video Intelligence then returns labels and their confidence scores for each detected shot, along with the start and end time of the shot. WARNING: Model evaluation is not done for this classification type, the quality of it depends on training data, but there are no metrics provided to describe that quality.

  • 1s_interval - AutoML Video Intelligence returns labels and their confidence scores for each second of the entire segment of the video that user specified in the request configuration. WARNING: Model evaluation is not done for this classification type, the quality of it depends on training data, but there are no metrics provided to describe that quality.

string type = 1;

Returns
TypeDescription
ByteString

The bytes for type.

hasClassificationAnnotation()

public abstract boolean hasClassificationAnnotation()

Output only . The classification details of this annotation.

.google.cloud.automl.v1beta1.ClassificationAnnotation classification_annotation = 2;

Returns
TypeDescription
boolean

Whether the classificationAnnotation field is set.

hasTimeSegment()

public abstract boolean hasTimeSegment()

Output only . The time segment of the video to which the annotation applies.

.google.cloud.automl.v1beta1.TimeSegment time_segment = 3;

Returns
TypeDescription
boolean

Whether the timeSegment field is set.