Interface VideoClassificationPredictionInstanceOrBuilder (3.15.0)

public interface VideoClassificationPredictionInstanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract String getContent()

The Google Cloud Storage location of the video on which to perform the prediction.

string content = 1;

Returns
TypeDescription
String

The content.

getContentBytes()

public abstract ByteString getContentBytes()

The Google Cloud Storage location of the video on which to perform the prediction.

string content = 1;

Returns
TypeDescription
ByteString

The bytes for content.

getMimeType()

public abstract String getMimeType()

The MIME type of the content of the video. Only the following are supported: video/mp4 video/avi video/quicktime

string mime_type = 2;

Returns
TypeDescription
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

The MIME type of the content of the video. Only the following are supported: video/mp4 video/avi video/quicktime

string mime_type = 2;

Returns
TypeDescription
ByteString

The bytes for mimeType.

getTimeSegmentEnd()

public abstract String getTimeSegmentEnd()

The end, exclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with "s" appended at the end. Fractions are allowed, up to a microsecond precision, and "inf" or "Infinity" is allowed, which means the end of the video.

string time_segment_end = 4;

Returns
TypeDescription
String

The timeSegmentEnd.

getTimeSegmentEndBytes()

public abstract ByteString getTimeSegmentEndBytes()

The end, exclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with "s" appended at the end. Fractions are allowed, up to a microsecond precision, and "inf" or "Infinity" is allowed, which means the end of the video.

string time_segment_end = 4;

Returns
TypeDescription
ByteString

The bytes for timeSegmentEnd.

getTimeSegmentStart()

public abstract String getTimeSegmentStart()

The beginning, inclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with "s" appended at the end. Fractions are allowed, up to a microsecond precision.

string time_segment_start = 3;

Returns
TypeDescription
String

The timeSegmentStart.

getTimeSegmentStartBytes()

public abstract ByteString getTimeSegmentStartBytes()

The beginning, inclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with "s" appended at the end. Fractions are allowed, up to a microsecond precision.

string time_segment_start = 3;

Returns
TypeDescription
ByteString

The bytes for timeSegmentStart.