Class AnnotateVideoRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
- com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest.Builder
-
- All Implemented Interfaces:
AnnotateVideoRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AnnotateVideoRequest
public static final class AnnotateVideoRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder> implements AnnotateVideoRequestOrBuilder
Video annotation request.
Protobuf typegoogle.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotateVideoRequest.BuilderaddAllFeatures(Iterable<? extends Feature> values)Required.AnnotateVideoRequest.BuilderaddAllFeaturesValue(Iterable<Integer> values)Required.AnnotateVideoRequest.BuilderaddFeatures(Feature value)Required.AnnotateVideoRequest.BuilderaddFeaturesValue(int value)Required.AnnotateVideoRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AnnotateVideoRequestbuild()AnnotateVideoRequestbuildPartial()AnnotateVideoRequest.Builderclear()AnnotateVideoRequest.BuilderclearFeatures()Required.AnnotateVideoRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AnnotateVideoRequest.BuilderclearInputContent()The video data bytes.AnnotateVideoRequest.BuilderclearInputUri()Input video location.AnnotateVideoRequest.BuilderclearLocationId()Optional.AnnotateVideoRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AnnotateVideoRequest.BuilderclearOutputUri()Optional.AnnotateVideoRequest.BuilderclearVideoContext()Additional video context and/or feature-specific parameters.AnnotateVideoRequest.Builderclone()AnnotateVideoRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.VideoContext.BuildergetVideoContextBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AnnotateVideoRequest.BuildermergeFrom(AnnotateVideoRequest other)AnnotateVideoRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AnnotateVideoRequest.BuildermergeFrom(com.google.protobuf.Message other)AnnotateVideoRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AnnotateVideoRequest.BuildermergeVideoContext(VideoContext value)Additional video context and/or feature-specific parameters.AnnotateVideoRequest.BuildersetFeatures(int index, Feature value)Required.AnnotateVideoRequest.BuildersetFeaturesValue(int index, int value)Required.AnnotateVideoRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AnnotateVideoRequest.BuildersetInputContent(com.google.protobuf.ByteString value)The video data bytes.AnnotateVideoRequest.BuildersetInputUri(String value)Input video location.AnnotateVideoRequest.BuildersetInputUriBytes(com.google.protobuf.ByteString value)Input video location.AnnotateVideoRequest.BuildersetLocationId(String value)Optional.AnnotateVideoRequest.BuildersetLocationIdBytes(com.google.protobuf.ByteString value)Optional.AnnotateVideoRequest.BuildersetOutputUri(String value)Optional.AnnotateVideoRequest.BuildersetOutputUriBytes(com.google.protobuf.ByteString value)Optional.AnnotateVideoRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AnnotateVideoRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AnnotateVideoRequest.BuildersetVideoContext(VideoContext value)Additional video context and/or feature-specific parameters.AnnotateVideoRequest.BuildersetVideoContext(VideoContext.Builder builderForValue)Additional video context and/or feature-specific parameters.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
clear
public AnnotateVideoRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
getDefaultInstanceForType
public AnnotateVideoRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AnnotateVideoRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AnnotateVideoRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AnnotateVideoRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
setField
public AnnotateVideoRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
clearField
public AnnotateVideoRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
clearOneof
public AnnotateVideoRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
setRepeatedField
public AnnotateVideoRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
addRepeatedField
public AnnotateVideoRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
mergeFrom
public AnnotateVideoRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnnotateVideoRequest.Builder>
-
mergeFrom
public AnnotateVideoRequest.Builder mergeFrom(AnnotateVideoRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
mergeFrom
public AnnotateVideoRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnnotateVideoRequest.Builder>- Throws:
IOException
-
getInputUri
public 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;- Specified by:
getInputUriin interfaceAnnotateVideoRequestOrBuilder- Returns:
- The inputUri.
-
getInputUriBytes
public 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;- Specified by:
getInputUriBytesin interfaceAnnotateVideoRequestOrBuilder- Returns:
- The bytes for inputUri.
-
setInputUri
public AnnotateVideoRequest.Builder setInputUri(String value)
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;- Parameters:
value- The inputUri to set.- Returns:
- This builder for chaining.
-
clearInputUri
public AnnotateVideoRequest.Builder clearInputUri()
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:
- This builder for chaining.
-
setInputUriBytes
public AnnotateVideoRequest.Builder setInputUriBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for inputUri to set.- Returns:
- This builder for chaining.
-
getInputContent
public 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;- Specified by:
getInputContentin interfaceAnnotateVideoRequestOrBuilder- Returns:
- The inputContent.
-
setInputContent
public AnnotateVideoRequest.Builder setInputContent(com.google.protobuf.ByteString value)
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;- Parameters:
value- The inputContent to set.- Returns:
- This builder for chaining.
-
clearInputContent
public AnnotateVideoRequest.Builder clearInputContent()
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:
- This builder for chaining.
-
getFeaturesList
public List<Feature> getFeaturesList()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeaturesListin interfaceAnnotateVideoRequestOrBuilder- Returns:
- A list containing the features.
-
getFeaturesCount
public int getFeaturesCount()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeaturesCountin interfaceAnnotateVideoRequestOrBuilder- Returns:
- The count of features.
-
getFeatures
public Feature getFeatures(int index)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeaturesin interfaceAnnotateVideoRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The features at the given index.
-
setFeatures
public AnnotateVideoRequest.Builder setFeatures(int index, Feature value)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index to set the value at.value- The features to set.- Returns:
- This builder for chaining.
-
addFeatures
public AnnotateVideoRequest.Builder addFeatures(Feature value)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The features to add.- Returns:
- This builder for chaining.
-
addAllFeatures
public AnnotateVideoRequest.Builder addAllFeatures(Iterable<? extends Feature> values)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
values- The features to add.- Returns:
- This builder for chaining.
-
clearFeatures
public AnnotateVideoRequest.Builder clearFeatures()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
getFeaturesValueList
public List<Integer> getFeaturesValueList()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeaturesValueListin interfaceAnnotateVideoRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for features.
-
getFeaturesValue
public int getFeaturesValue(int index)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeaturesValuein interfaceAnnotateVideoRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of features at the given index.
-
setFeaturesValue
public AnnotateVideoRequest.Builder setFeaturesValue(int index, int value)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for features to set.- Returns:
- This builder for chaining.
-
addFeaturesValue
public AnnotateVideoRequest.Builder addFeaturesValue(int value)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for features to add.- Returns:
- This builder for chaining.
-
addAllFeaturesValue
public AnnotateVideoRequest.Builder addAllFeaturesValue(Iterable<Integer> values)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1p1beta1.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
values- The enum numeric values on the wire for features to add.- Returns:
- This builder for chaining.
-
hasVideoContext
public boolean hasVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3;- Specified by:
hasVideoContextin interfaceAnnotateVideoRequestOrBuilder- Returns:
- Whether the videoContext field is set.
-
getVideoContext
public VideoContext getVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3;- Specified by:
getVideoContextin interfaceAnnotateVideoRequestOrBuilder- Returns:
- The videoContext.
-
setVideoContext
public AnnotateVideoRequest.Builder setVideoContext(VideoContext value)
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3;
-
setVideoContext
public AnnotateVideoRequest.Builder setVideoContext(VideoContext.Builder builderForValue)
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3;
-
mergeVideoContext
public AnnotateVideoRequest.Builder mergeVideoContext(VideoContext value)
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3;
-
clearVideoContext
public AnnotateVideoRequest.Builder clearVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3;
-
getVideoContextBuilder
public VideoContext.Builder getVideoContextBuilder()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3;
-
getVideoContextOrBuilder
public VideoContextOrBuilder getVideoContextOrBuilder()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p1beta1.VideoContext video_context = 3;- Specified by:
getVideoContextOrBuilderin interfaceAnnotateVideoRequestOrBuilder
-
getOutputUri
public 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];- Specified by:
getOutputUriin interfaceAnnotateVideoRequestOrBuilder- Returns:
- The outputUri.
-
getOutputUriBytes
public 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];- Specified by:
getOutputUriBytesin interfaceAnnotateVideoRequestOrBuilder- Returns:
- The bytes for outputUri.
-
setOutputUri
public AnnotateVideoRequest.Builder setOutputUri(String value)
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];- Parameters:
value- The outputUri to set.- Returns:
- This builder for chaining.
-
clearOutputUri
public AnnotateVideoRequest.Builder clearOutputUri()
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:
- This builder for chaining.
-
setOutputUriBytes
public AnnotateVideoRequest.Builder setOutputUriBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for outputUri to set.- Returns:
- This builder for chaining.
-
getLocationId
public 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];- Specified by:
getLocationIdin interfaceAnnotateVideoRequestOrBuilder- Returns:
- The locationId.
-
getLocationIdBytes
public 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];- Specified by:
getLocationIdBytesin interfaceAnnotateVideoRequestOrBuilder- Returns:
- The bytes for locationId.
-
setLocationId
public AnnotateVideoRequest.Builder setLocationId(String value)
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];- Parameters:
value- The locationId to set.- Returns:
- This builder for chaining.
-
clearLocationId
public AnnotateVideoRequest.Builder clearLocationId()
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:
- This builder for chaining.
-
setLocationIdBytes
public AnnotateVideoRequest.Builder setLocationIdBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for locationId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AnnotateVideoRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
mergeUnknownFields
public final AnnotateVideoRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
-