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.v1beta2.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.v1beta2.AnnotateVideoRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotateVideoRequest.Builder
addAllFeatures(Iterable<? extends Feature> values)
Required.AnnotateVideoRequest.Builder
addAllFeaturesValue(Iterable<Integer> values)
Required.AnnotateVideoRequest.Builder
addFeatures(Feature value)
Required.AnnotateVideoRequest.Builder
addFeaturesValue(int value)
Required.AnnotateVideoRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AnnotateVideoRequest
build()
AnnotateVideoRequest
buildPartial()
AnnotateVideoRequest.Builder
clear()
AnnotateVideoRequest.Builder
clearFeatures()
Required.AnnotateVideoRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AnnotateVideoRequest.Builder
clearInputContent()
The video data bytes.AnnotateVideoRequest.Builder
clearInputUri()
Input video location.AnnotateVideoRequest.Builder
clearLocationId()
Optional.AnnotateVideoRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AnnotateVideoRequest.Builder
clearOutputUri()
Optional.AnnotateVideoRequest.Builder
clearVideoContext()
Additional video context and/or feature-specific parameters.AnnotateVideoRequest.Builder
clone()
AnnotateVideoRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.VideoContext.Builder
getVideoContextBuilder()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AnnotateVideoRequest.Builder
mergeFrom(AnnotateVideoRequest other)
AnnotateVideoRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AnnotateVideoRequest.Builder
mergeFrom(com.google.protobuf.Message other)
AnnotateVideoRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AnnotateVideoRequest.Builder
mergeVideoContext(VideoContext value)
Additional video context and/or feature-specific parameters.AnnotateVideoRequest.Builder
setFeatures(int index, Feature value)
Required.AnnotateVideoRequest.Builder
setFeaturesValue(int index, int value)
Required.AnnotateVideoRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AnnotateVideoRequest.Builder
setInputContent(com.google.protobuf.ByteString value)
The video data bytes.AnnotateVideoRequest.Builder
setInputUri(String value)
Input video location.AnnotateVideoRequest.Builder
setInputUriBytes(com.google.protobuf.ByteString value)
Input video location.AnnotateVideoRequest.Builder
setLocationId(String value)
Optional.AnnotateVideoRequest.Builder
setLocationIdBytes(com.google.protobuf.ByteString value)
Optional.AnnotateVideoRequest.Builder
setOutputUri(String value)
Optional.AnnotateVideoRequest.Builder
setOutputUriBytes(com.google.protobuf.ByteString value)
Optional.AnnotateVideoRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AnnotateVideoRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AnnotateVideoRequest.Builder
setVideoContext(VideoContext value)
Additional video context and/or feature-specific parameters.AnnotateVideoRequest.Builder
setVideoContext(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
clear
public AnnotateVideoRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
getDefaultInstanceForType
public AnnotateVideoRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AnnotateVideoRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AnnotateVideoRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AnnotateVideoRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
setField
public AnnotateVideoRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
clearField
public AnnotateVideoRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
clearOneof
public AnnotateVideoRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
setRepeatedField
public AnnotateVideoRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
addRepeatedField
public AnnotateVideoRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
mergeFrom
public AnnotateVideoRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AnnotateVideoRequest.Builder>
-
mergeFrom
public AnnotateVideoRequest.Builder mergeFrom(AnnotateVideoRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getInputUri
in 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:
getInputUriBytes
in 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:
getInputContent
in 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.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getFeaturesList
in interfaceAnnotateVideoRequestOrBuilder
- Returns:
- A list containing the features.
-
getFeaturesCount
public int getFeaturesCount()
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getFeaturesCount
in interfaceAnnotateVideoRequestOrBuilder
- Returns:
- The count of features.
-
getFeatures
public Feature getFeatures(int index)
Required. Requested video annotation features.
repeated .google.cloud.videointelligence.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getFeatures
in 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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getFeaturesValueList
in 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.v1beta2.Feature features = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getFeaturesValue
in 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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.VideoContext video_context = 3;
- Specified by:
hasVideoContext
in interfaceAnnotateVideoRequestOrBuilder
- Returns:
- Whether the videoContext field is set.
-
getVideoContext
public VideoContext getVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1beta2.VideoContext video_context = 3;
- Specified by:
getVideoContext
in interfaceAnnotateVideoRequestOrBuilder
- Returns:
- The videoContext.
-
setVideoContext
public AnnotateVideoRequest.Builder setVideoContext(VideoContext value)
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1beta2.VideoContext video_context = 3;
-
setVideoContext
public AnnotateVideoRequest.Builder setVideoContext(VideoContext.Builder builderForValue)
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1beta2.VideoContext video_context = 3;
-
mergeVideoContext
public AnnotateVideoRequest.Builder mergeVideoContext(VideoContext value)
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1beta2.VideoContext video_context = 3;
-
clearVideoContext
public AnnotateVideoRequest.Builder clearVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1beta2.VideoContext video_context = 3;
-
getVideoContextBuilder
public VideoContext.Builder getVideoContextBuilder()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1beta2.VideoContext video_context = 3;
-
getVideoContextOrBuilder
public VideoContextOrBuilder getVideoContextOrBuilder()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1beta2.VideoContext video_context = 3;
- Specified by:
getVideoContextOrBuilder
in 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:
getOutputUri
in 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:
getOutputUriBytes
in 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:
getLocationId
in 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:
getLocationIdBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
mergeUnknownFields
public final AnnotateVideoRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateVideoRequest.Builder>
-
-