public interface AnnotateVideoRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Feature |
getFeatures(int index)
Requested video annotation features.
|
int |
getFeaturesCount()
Requested video annotation features.
|
java.util.List<Feature> |
getFeaturesList()
Requested video annotation features.
|
int |
getFeaturesValue(int index)
Requested video annotation features.
|
java.util.List<java.lang.Integer> |
getFeaturesValueList()
Requested video annotation features.
|
java.lang.String |
getInputContent()
The video data bytes.
|
ByteString |
getInputContentBytes()
The video data bytes.
|
java.lang.String |
getInputUri()
Input video location.
|
ByteString |
getInputUriBytes()
Input video location.
|
java.lang.String |
getLocationId()
Optional cloud region where annotation should take place.
|
ByteString |
getLocationIdBytes()
Optional cloud region where annotation should take place.
|
java.lang.String |
getOutputUri()
Optional location where the output (in JSON format) should be stored.
|
ByteString |
getOutputUriBytes()
Optional location where the output (in JSON format) should be stored.
|
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, hasOneof
isInitialized
java.lang.String getInputUri()
Input video location. Currently, only [Google Cloud Storage](https://cloud.google.com/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][google.rpc.Code.INVALID_ARGUMENT]). For more information, see [Request URIs](/storage/docs/reference-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;
ByteString getInputUriBytes()
Input video location. Currently, only [Google Cloud Storage](https://cloud.google.com/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][google.rpc.Code.INVALID_ARGUMENT]). For more information, see [Request URIs](/storage/docs/reference-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;
java.lang.String getInputContent()
The video data bytes. Encoding: base64. If unset, the input video(s) should be specified via `input_uri`. If set, `input_uri` should be unset.
string input_content = 6;
ByteString getInputContentBytes()
The video data bytes. Encoding: base64. If unset, the input video(s) should be specified via `input_uri`. If set, `input_uri` should be unset.
string input_content = 6;
java.util.List<Feature> getFeaturesList()
Requested video annotation features.
repeated .google.cloud.videointelligence.v1beta1.Feature features = 2;
int getFeaturesCount()
Requested video annotation features.
repeated .google.cloud.videointelligence.v1beta1.Feature features = 2;
Feature getFeatures(int index)
Requested video annotation features.
repeated .google.cloud.videointelligence.v1beta1.Feature features = 2;
java.util.List<java.lang.Integer> getFeaturesValueList()
Requested video annotation features.
repeated .google.cloud.videointelligence.v1beta1.Feature features = 2;
int getFeaturesValue(int index)
Requested video annotation features.
repeated .google.cloud.videointelligence.v1beta1.Feature features = 2;
boolean hasVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1beta1.VideoContext video_context = 3;
VideoContext getVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1beta1.VideoContext video_context = 3;
VideoContextOrBuilder getVideoContextOrBuilder()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1beta1.VideoContext video_context = 3;
java.lang.String getOutputUri()
Optional location where the output (in JSON format) should be stored. Currently, only [Google Cloud Storage](https://cloud.google.com/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][google.rpc.Code.INVALID_ARGUMENT]). For more information, see [Request URIs](/storage/docs/reference-uris).
string output_uri = 4;
ByteString getOutputUriBytes()
Optional location where the output (in JSON format) should be stored. Currently, only [Google Cloud Storage](https://cloud.google.com/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][google.rpc.Code.INVALID_ARGUMENT]). For more information, see [Request URIs](/storage/docs/reference-uris).
string output_uri = 4;
java.lang.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;
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;