Interface AnnotateVideoRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnnotateVideoRequest,AnnotateVideoRequest.Builder
public interface AnnotateVideoRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FeaturegetFeatures(int index)Required.intgetFeaturesCount()Required.List<Feature>getFeaturesList()Required.intgetFeaturesValue(int index)Required.List<Integer>getFeaturesValueList()Required.com.google.protobuf.ByteStringgetInputContent()The video data bytes.StringgetInputUri()Input video location.com.google.protobuf.ByteStringgetInputUriBytes()Input video location.StringgetLocationId()Optional.com.google.protobuf.ByteStringgetLocationIdBytes()Optional.StringgetOutputUri()Optional.com.google.protobuf.ByteStringgetOutputUriBytes()Optional.VideoContextgetVideoContext()Additional video context and/or feature-specific parameters.VideoContextOrBuildergetVideoContextOrBuilder()Additional video context and/or feature-specific parameters.booleanhasVideoContext()Additional video context and/or feature-specific parameters.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getInputUri
String 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;- Returns:
- The inputUri.
-
getInputUriBytes
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;- Returns:
- The bytes for inputUri.
-
getInputContent
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;- Returns:
- The inputContent.
-
getFeaturesList
List<Feature> getFeaturesList()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- A list containing the features.
-
getFeaturesCount
int getFeaturesCount()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The count of features.
-
getFeatures
Feature getFeatures(int index)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the element to return.- Returns:
- The features at the given index.
-
getFeaturesValueList
List<Integer> getFeaturesValueList()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- A list containing the enum numeric values on the wire for features.
-
getFeaturesValue
int getFeaturesValue(int index)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of features at the given index.
-
hasVideoContext
boolean hasVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1.VideoContext video_context = 3;- Returns:
- Whether the videoContext field is set.
-
getVideoContext
VideoContext getVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1.VideoContext video_context = 3;- Returns:
- The videoContext.
-
getVideoContextOrBuilder
VideoContextOrBuilder getVideoContextOrBuilder()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1.VideoContext video_context = 3;
-
getOutputUri
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];- Returns:
- The outputUri.
-
getOutputUriBytes
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];- Returns:
- The bytes for outputUri.
-
getLocationId
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];- Returns:
- The locationId.
-
getLocationIdBytes
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];- Returns:
- The bytes for locationId.
-
-