Interface AnnotateVideoRequestOrBuilder (2.13.0)

public interface AnnotateVideoRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFeatures(int index)

public abstract Feature getFeatures(int index)

Required. Requested video annotation features.

repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
Feature

The features at the given index.

getFeaturesCount()

public abstract int getFeaturesCount()

Required. Requested video annotation features.

repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of features.

getFeaturesList()

public abstract List<Feature> getFeaturesList()

Required. Requested video annotation features.

repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Feature>

A list containing the features.

getFeaturesValue(int index)

public abstract int getFeaturesValue(int index)

Required. Requested video annotation features.

repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of features at the given index.

getFeaturesValueList()

public abstract List<Integer> getFeaturesValueList()

Required. Requested video annotation features.

repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for features.

getInputContent()

public abstract ByteString getInputContent()

The video data bytes. If unset, the input video(s) should be specified via input_uri. If set, input_uri should be unset.

bytes input_content = 6;

Returns
TypeDescription
ByteString

The inputContent.

getInputUri()

public abstract String getInputUri()

Input video location. Currently, only Google Cloud Storage URIs are supported, which must be specified in the following format: gs://bucket-id/object-id (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For more information, see Request URIs. A video URI may include wildcards in object-id, and thus identify multiple videos. Supported wildcards: '*' to match 0 or more characters; '?' to match 1 character. If unset, the input video should be embedded in the request as input_content. If set, input_content should be unset.

string input_uri = 1;

Returns
TypeDescription
String

The inputUri.

getInputUriBytes()

public abstract ByteString getInputUriBytes()

Input video location. Currently, only Google Cloud Storage URIs are supported, which must be specified in the following format: gs://bucket-id/object-id (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For more information, see Request URIs. A video URI may include wildcards in object-id, and thus identify multiple videos. Supported wildcards: '*' to match 0 or more characters; '?' to match 1 character. If unset, the input video should be embedded in the request as input_content. If set, input_content should be unset.

string input_uri = 1;

Returns
TypeDescription
ByteString

The bytes for inputUri.

getLocationId()

public abstract String getLocationId()

Optional. Cloud region where annotation should take place. Supported cloud regions: us-east1, us-west1, europe-west1, asia-east1. If no region is specified, a region will be determined based on video file location.

string location_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The locationId.

getLocationIdBytes()

public abstract ByteString getLocationIdBytes()

Optional. Cloud region where annotation should take place. Supported cloud regions: us-east1, us-west1, europe-west1, asia-east1. If no region is specified, a region will be determined based on video file location.

string location_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for locationId.

getOutputUri()

public abstract String getOutputUri()

Optional. Location where the output (in JSON format) should be stored. Currently, only Google Cloud Storage URIs are supported, which must be specified in the following format: gs://bucket-id/object-id (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For more information, see Request URIs.

string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The outputUri.

getOutputUriBytes()

public abstract ByteString getOutputUriBytes()

Optional. Location where the output (in JSON format) should be stored. Currently, only Google Cloud Storage URIs are supported, which must be specified in the following format: gs://bucket-id/object-id (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For more information, see Request URIs.

string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for outputUri.

getVideoContext()

public abstract VideoContext getVideoContext()

Additional video context and/or feature-specific parameters.

.google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3;

Returns
TypeDescription
VideoContext

The videoContext.

getVideoContextOrBuilder()

public abstract VideoContextOrBuilder getVideoContextOrBuilder()

Additional video context and/or feature-specific parameters.

.google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3;

Returns
TypeDescription
VideoContextOrBuilder

hasVideoContext()

public abstract boolean hasVideoContext()

Additional video context and/or feature-specific parameters.

.google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3;

Returns
TypeDescription
boolean

Whether the videoContext field is set.