public interface AnnotateVideoRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Feature |
getFeatures(int index)
Required.
|
int |
getFeaturesCount()
Required.
|
List<Feature> |
getFeaturesList()
Required.
|
int |
getFeaturesValue(int index)
Required.
|
List<Integer> |
getFeaturesValueList()
Required.
|
com.google.protobuf.ByteString |
getInputContent()
The video data bytes.
|
String |
getInputUri()
Input video location.
|
com.google.protobuf.ByteString |
getInputUriBytes()
Input video location.
|
String |
getLocationId()
Optional.
|
com.google.protobuf.ByteString |
getLocationIdBytes()
Optional.
|
String |
getOutputUri()
Optional.
|
com.google.protobuf.ByteString |
getOutputUriBytes()
Optional.
|
VideoContext |
getVideoContext()
Additional video context and/or feature-specific parameters.
|
VideoContextOrBuilder |
getVideoContextOrBuilder()
Additional video context and/or feature-specific parameters.
|
boolean |
hasVideoContext()
Additional video context and/or feature-specific parameters.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getInputUri()
Input video location. Currently, only [Cloud Storage](https://cloud.google.com/storage/) URIs are supported. URIs must be specified in the following format: `gs://bucket-id/object-id` (other URI formats return [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints). To identify multiple videos, a video URI may include wildcards in the `object-id`. 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` must be unset.
string input_uri = 1;com.google.protobuf.ByteString getInputUriBytes()
Input video location. Currently, only [Cloud Storage](https://cloud.google.com/storage/) URIs are supported. URIs must be specified in the following format: `gs://bucket-id/object-id` (other URI formats return [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints). To identify multiple videos, a video URI may include wildcards in the `object-id`. 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` must be unset.
string input_uri = 1;com.google.protobuf.ByteString getInputContent()
The video data bytes. If unset, the input video(s) should be specified via the `input_uri`. If set, `input_uri` must be unset.
bytes input_content = 6;List<Feature> getFeaturesList()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
int getFeaturesCount()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Feature getFeatures(int index)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
index - The index of the element to return.List<Integer> getFeaturesValueList()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
int getFeaturesValue(int index)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p3beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
index - The index of the value to return.boolean hasVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3;VideoContext getVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3;VideoContextOrBuilder getVideoContextOrBuilder()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p3beta1.VideoContext video_context = 3;String getOutputUri()
Optional. Location where the output (in JSON format) should be stored. Currently, only [Cloud Storage](https://cloud.google.com/storage/) URIs are supported. These must be specified in the following format: `gs://bucket-id/object-id` (other URI formats return [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getOutputUriBytes()
Optional. Location where the output (in JSON format) should be stored. Currently, only [Cloud Storage](https://cloud.google.com/storage/) URIs are supported. These must be specified in the following format: `gs://bucket-id/object-id` (other URI formats return [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL];String getLocationId()
Optional. Cloud region where annotation should take place. Supported cloud regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region is specified, the region will be determined based on video file location.
string location_id = 5 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getLocationIdBytes()
Optional. Cloud region where annotation should take place. Supported cloud regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region is specified, the region will be determined based on video file location.
string location_id = 5 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2024 Google LLC. All rights reserved.