Interface VideoClassificationPredictionResultOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.FloatValue getConfidence()
      The Model's confidence in correction of this prediction, higher value means higher confidence.
      com.google.protobuf.FloatValueOrBuilder getConfidenceOrBuilder()
      The Model's confidence in correction of this prediction, higher value means higher confidence.
      String getDisplayName()
      The display name of the AnnotationSpec that had been identified.
      com.google.protobuf.ByteString getDisplayNameBytes()
      The display name of the AnnotationSpec that had been identified.
      String getId()
      The resource ID of the AnnotationSpec that had been identified.
      com.google.protobuf.ByteString getIdBytes()
      The resource ID of the AnnotationSpec that had been identified.
      com.google.protobuf.Duration getTimeSegmentEnd()
      The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.
      com.google.protobuf.DurationOrBuilder getTimeSegmentEndOrBuilder()
      The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.
      com.google.protobuf.Duration getTimeSegmentStart()
      The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.
      com.google.protobuf.DurationOrBuilder getTimeSegmentStartOrBuilder()
      The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.
      String getType()
      The type of the prediction.
      com.google.protobuf.ByteString getTypeBytes()
      The type of the prediction.
      boolean hasConfidence()
      The Model's confidence in correction of this prediction, higher value means higher confidence.
      boolean hasTimeSegmentEnd()
      The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified.
      boolean hasTimeSegmentStart()
      The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getId

        String getId()
         The resource ID of the AnnotationSpec that had been identified.
         
        string id = 1;
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
         The resource ID of the AnnotationSpec that had been identified.
         
        string id = 1;
        Returns:
        The bytes for id.
      • getDisplayName

        String getDisplayName()
         The display name of the AnnotationSpec that had been identified.
         
        string display_name = 2;
        Returns:
        The displayName.
      • getDisplayNameBytes

        com.google.protobuf.ByteString getDisplayNameBytes()
         The display name of the AnnotationSpec that had been identified.
         
        string display_name = 2;
        Returns:
        The bytes for displayName.
      • getType

        String getType()
         The type of the prediction. The requested types can be configured
         via parameters. This will be one of
         - segment-classification
         - shot-classification
         - one-sec-interval-classification
         
        string type = 3;
        Returns:
        The type.
      • getTypeBytes

        com.google.protobuf.ByteString getTypeBytes()
         The type of the prediction. The requested types can be configured
         via parameters. This will be one of
         - segment-classification
         - shot-classification
         - one-sec-interval-classification
         
        string type = 3;
        Returns:
        The bytes for type.
      • hasTimeSegmentStart

        boolean hasTimeSegmentStart()
         The beginning, inclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end. Note that for
         'segment-classification' prediction type, this equals the original
         'timeSegmentStart' from the input instance, for other types it is the
         start of a shot or a 1 second interval respectively.
         
        .google.protobuf.Duration time_segment_start = 4;
        Returns:
        Whether the timeSegmentStart field is set.
      • getTimeSegmentStart

        com.google.protobuf.Duration getTimeSegmentStart()
         The beginning, inclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end. Note that for
         'segment-classification' prediction type, this equals the original
         'timeSegmentStart' from the input instance, for other types it is the
         start of a shot or a 1 second interval respectively.
         
        .google.protobuf.Duration time_segment_start = 4;
        Returns:
        The timeSegmentStart.
      • getTimeSegmentStartOrBuilder

        com.google.protobuf.DurationOrBuilder getTimeSegmentStartOrBuilder()
         The beginning, inclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end. Note that for
         'segment-classification' prediction type, this equals the original
         'timeSegmentStart' from the input instance, for other types it is the
         start of a shot or a 1 second interval respectively.
         
        .google.protobuf.Duration time_segment_start = 4;
      • hasTimeSegmentEnd

        boolean hasTimeSegmentEnd()
         The end, exclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end. Note that for
         'segment-classification' prediction type, this equals the original
         'timeSegmentEnd' from the input instance, for other types it is the end
         of a shot or a 1 second interval respectively.
         
        .google.protobuf.Duration time_segment_end = 5;
        Returns:
        Whether the timeSegmentEnd field is set.
      • getTimeSegmentEnd

        com.google.protobuf.Duration getTimeSegmentEnd()
         The end, exclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end. Note that for
         'segment-classification' prediction type, this equals the original
         'timeSegmentEnd' from the input instance, for other types it is the end
         of a shot or a 1 second interval respectively.
         
        .google.protobuf.Duration time_segment_end = 5;
        Returns:
        The timeSegmentEnd.
      • getTimeSegmentEndOrBuilder

        com.google.protobuf.DurationOrBuilder getTimeSegmentEndOrBuilder()
         The end, exclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end. Note that for
         'segment-classification' prediction type, this equals the original
         'timeSegmentEnd' from the input instance, for other types it is the end
         of a shot or a 1 second interval respectively.
         
        .google.protobuf.Duration time_segment_end = 5;
      • hasConfidence

        boolean hasConfidence()
         The Model's confidence in correction of this prediction, higher
         value means higher confidence.
         
        .google.protobuf.FloatValue confidence = 6;
        Returns:
        Whether the confidence field is set.
      • getConfidence

        com.google.protobuf.FloatValue getConfidence()
         The Model's confidence in correction of this prediction, higher
         value means higher confidence.
         
        .google.protobuf.FloatValue confidence = 6;
        Returns:
        The confidence.
      • getConfidenceOrBuilder

        com.google.protobuf.FloatValueOrBuilder getConfidenceOrBuilder()
         The Model's confidence in correction of this prediction, higher
         value means higher confidence.
         
        .google.protobuf.FloatValue confidence = 6;