- 2.51.0 (latest)
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.13
- 2.1.0
- 2.0.27
public interface AnnotateVideoRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getFeatures(int index)
public abstract Feature getFeatures(int index)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
Feature |
The features at the given index. |
getFeaturesCount()
public abstract int getFeaturesCount()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The count of features. |
getFeaturesList()
public abstract List<Feature> getFeaturesList()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
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.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
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.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString |
The bytes for outputUri. |
getVideoContext()
public abstract VideoContext getVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3;
Returns | |
---|---|
Type | Description |
VideoContext |
The videoContext. |
getVideoContextOrBuilder()
public abstract VideoContextOrBuilder getVideoContextOrBuilder()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3;
Returns | |
---|---|
Type | Description |
VideoContextOrBuilder |
hasVideoContext()
public abstract boolean hasVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the videoContext field is set. |