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 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.-
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 [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](https://cloud.google.com/storage/docs/request-endpoints). 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:
- The inputUri.
-
getInputUriBytes
com.google.protobuf.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](https://cloud.google.com/storage/docs/request-endpoints). 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:
- The bytes for inputUri.
-
getInputContent
com.google.protobuf.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:
- The inputContent.
-
getFeaturesList
List<Feature> getFeaturesList()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.VideoContext video_context = 3;
- Returns:
- The videoContext.
-
getVideoContextOrBuilder
VideoContextOrBuilder getVideoContextOrBuilder()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1beta2.VideoContext video_context = 3;
-
getOutputUri
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](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 [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](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: `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:
- The locationId.
-
getLocationIdBytes
com.google.protobuf.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:
- The bytes for locationId.
-
-