- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 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 static final class AnnotateVideoRequest.Builder extends GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder> implements AnnotateVideoRequestOrBuilder
Video annotation request.
Protobuf type google.cloud.videointelligence.v1.AnnotateVideoRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnnotateVideoRequest.BuilderImplements
AnnotateVideoRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllFeatures(Iterable<? extends Feature> values)
public AnnotateVideoRequest.Builder addAllFeatures(Iterable<? extends Feature> values)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.Feature> The features to add. |
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
addAllFeaturesValue(Iterable<Integer> values)
public AnnotateVideoRequest.Builder addAllFeaturesValue(Iterable<Integer> values)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for features to add. |
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
addFeatures(Feature value)
public AnnotateVideoRequest.Builder addFeatures(Feature value)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Feature The features to add. |
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
addFeaturesValue(int value)
public AnnotateVideoRequest.Builder addFeaturesValue(int value)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for features to add. |
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnnotateVideoRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AnnotateVideoRequest.Builder |
build()
public AnnotateVideoRequest build()
Type | Description |
AnnotateVideoRequest |
buildPartial()
public AnnotateVideoRequest buildPartial()
Type | Description |
AnnotateVideoRequest |
clear()
public AnnotateVideoRequest.Builder clear()
Type | Description |
AnnotateVideoRequest.Builder |
clearFeatures()
public AnnotateVideoRequest.Builder clearFeatures()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AnnotateVideoRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AnnotateVideoRequest.Builder |
clearInputContent()
public AnnotateVideoRequest.Builder clearInputContent()
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;
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
clearInputUri()
public AnnotateVideoRequest.Builder clearInputUri()
Input video location. Currently, only
Cloud 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). For
more information, see Request
URIs. 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;
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
clearLocationId()
public AnnotateVideoRequest.Builder clearLocationId()
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];
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnnotateVideoRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AnnotateVideoRequest.Builder |
clearOutputUri()
public AnnotateVideoRequest.Builder clearOutputUri()
Optional. Location where the output (in JSON format) should be stored.
Currently, only Cloud 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). For
more information, see Request
URIs.
string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
clearVideoContext()
public AnnotateVideoRequest.Builder clearVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1.VideoContext video_context = 3;
Type | Description |
AnnotateVideoRequest.Builder |
clone()
public AnnotateVideoRequest.Builder clone()
Type | Description |
AnnotateVideoRequest.Builder |
getDefaultInstanceForType()
public AnnotateVideoRequest getDefaultInstanceForType()
Type | Description |
AnnotateVideoRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFeatures(int index)
public Feature getFeatures(int index)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index of the element to return. |
Type | Description |
Feature | The features at the given index. |
getFeaturesCount()
public int getFeaturesCount()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The count of features. |
getFeaturesList()
public List<Feature> getFeaturesList()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
List<Feature> | A list containing the features. |
getFeaturesValue(int index)
public int getFeaturesValue(int index)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of features at the given index. |
getFeaturesValueList()
public List<Integer> getFeaturesValueList()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for features. |
getInputContent()
public 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;
Type | Description |
ByteString | The inputContent. |
getInputUri()
public String getInputUri()
Input video location. Currently, only
Cloud 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). For
more information, see Request
URIs. 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;
Type | Description |
String | The inputUri. |
getInputUriBytes()
public ByteString getInputUriBytes()
Input video location. Currently, only
Cloud 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). For
more information, see Request
URIs. 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;
Type | Description |
ByteString | The bytes for inputUri. |
getLocationId()
public 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];
Type | Description |
String | The locationId. |
getLocationIdBytes()
public 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];
Type | Description |
ByteString | The bytes for locationId. |
getOutputUri()
public String getOutputUri()
Optional. Location where the output (in JSON format) should be stored.
Currently, only Cloud 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). For
more information, see Request
URIs.
string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The outputUri. |
getOutputUriBytes()
public ByteString getOutputUriBytes()
Optional. Location where the output (in JSON format) should be stored.
Currently, only Cloud 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). For
more information, see Request
URIs.
string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for outputUri. |
getVideoContext()
public VideoContext getVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1.VideoContext video_context = 3;
Type | Description |
VideoContext | The videoContext. |
getVideoContextBuilder()
public VideoContext.Builder getVideoContextBuilder()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1.VideoContext video_context = 3;
Type | Description |
VideoContext.Builder |
getVideoContextOrBuilder()
public VideoContextOrBuilder getVideoContextOrBuilder()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1.VideoContext video_context = 3;
Type | Description |
VideoContextOrBuilder |
hasVideoContext()
public boolean hasVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1.VideoContext video_context = 3;
Type | Description |
boolean | Whether the videoContext field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AnnotateVideoRequest other)
public AnnotateVideoRequest.Builder mergeFrom(AnnotateVideoRequest other)
Name | Description |
other | AnnotateVideoRequest |
Type | Description |
AnnotateVideoRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnnotateVideoRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AnnotateVideoRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AnnotateVideoRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AnnotateVideoRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnnotateVideoRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AnnotateVideoRequest.Builder |
mergeVideoContext(VideoContext value)
public AnnotateVideoRequest.Builder mergeVideoContext(VideoContext value)
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1.VideoContext video_context = 3;
Name | Description |
value | VideoContext |
Type | Description |
AnnotateVideoRequest.Builder |
setFeatures(int index, Feature value)
public AnnotateVideoRequest.Builder setFeatures(int index, Feature value)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index to set the value at. |
value | Feature The features to set. |
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
setFeaturesValue(int index, int value)
public AnnotateVideoRequest.Builder setFeaturesValue(int index, int value)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index of the value to return. |
value | int |
Type | Description |
AnnotateVideoRequest.Builder | The enum numeric value on the wire of features at the given index. |
setField(Descriptors.FieldDescriptor field, Object value)
public AnnotateVideoRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AnnotateVideoRequest.Builder |
setInputContent(ByteString value)
public AnnotateVideoRequest.Builder setInputContent(ByteString value)
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;
Name | Description |
value | ByteString The inputContent to set. |
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
setInputUri(String value)
public AnnotateVideoRequest.Builder setInputUri(String value)
Input video location. Currently, only
Cloud 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). For
more information, see Request
URIs. 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;
Name | Description |
value | String The inputUri to set. |
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
setInputUriBytes(ByteString value)
public AnnotateVideoRequest.Builder setInputUriBytes(ByteString value)
Input video location. Currently, only
Cloud 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). For
more information, see Request
URIs. 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;
Name | Description |
value | ByteString The bytes for inputUri to set. |
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
setLocationId(String value)
public AnnotateVideoRequest.Builder setLocationId(String value)
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];
Name | Description |
value | String The locationId to set. |
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
setLocationIdBytes(ByteString value)
public AnnotateVideoRequest.Builder setLocationIdBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for locationId to set. |
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
setOutputUri(String value)
public AnnotateVideoRequest.Builder setOutputUri(String value)
Optional. Location where the output (in JSON format) should be stored.
Currently, only Cloud 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). For
more information, see Request
URIs.
string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The outputUri to set. |
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
setOutputUriBytes(ByteString value)
public AnnotateVideoRequest.Builder setOutputUriBytes(ByteString value)
Optional. Location where the output (in JSON format) should be stored.
Currently, only Cloud 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). For
more information, see Request
URIs.
string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for outputUri to set. |
Type | Description |
AnnotateVideoRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnnotateVideoRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AnnotateVideoRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnnotateVideoRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AnnotateVideoRequest.Builder |
setVideoContext(VideoContext value)
public AnnotateVideoRequest.Builder setVideoContext(VideoContext value)
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1.VideoContext video_context = 3;
Name | Description |
value | VideoContext |
Type | Description |
AnnotateVideoRequest.Builder |
setVideoContext(VideoContext.Builder builderForValue)
public AnnotateVideoRequest.Builder setVideoContext(VideoContext.Builder builderForValue)
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1.VideoContext video_context = 3;
Name | Description |
builderForValue | VideoContext.Builder |
Type | Description |
AnnotateVideoRequest.Builder |