Interface VideoClassificationPredictionResultOrBuilder (2.5.3)

public interface VideoClassificationPredictionResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfidence()

public abstract FloatValue getConfidence()

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 6;

Returns
TypeDescription
FloatValue

The confidence.

getConfidenceOrBuilder()

public abstract FloatValueOrBuilder getConfidenceOrBuilder()

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 6;

Returns
TypeDescription
FloatValueOrBuilder

getDisplayName()

public abstract String getDisplayName()

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

The display name of the AnnotationSpec that had been identified.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getId()

public abstract String getId()

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

The resource ID of the AnnotationSpec that had been identified.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getTimeSegmentEnd()

public abstract 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
TypeDescription
Duration

The timeSegmentEnd.

getTimeSegmentEndOrBuilder()

public abstract 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;

Returns
TypeDescription
DurationOrBuilder

getTimeSegmentStart()

public abstract 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
TypeDescription
Duration

The timeSegmentStart.

getTimeSegmentStartOrBuilder()

public abstract 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;

Returns
TypeDescription
DurationOrBuilder

getType()

public abstract 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
TypeDescription
String

The type.

getTypeBytes()

public abstract 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
TypeDescription
ByteString

The bytes for type.

hasConfidence()

public abstract boolean hasConfidence()

The Model's confidence in correction of this prediction, higher value means higher confidence.

.google.protobuf.FloatValue confidence = 6;

Returns
TypeDescription
boolean

Whether the confidence field is set.

hasTimeSegmentEnd()

public abstract 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
TypeDescription
boolean

Whether the timeSegmentEnd field is set.

hasTimeSegmentStart()

public abstract 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
TypeDescription
boolean

Whether the timeSegmentStart field is set.