public final class AnnotateVideoRequest extends com.google.protobuf.GeneratedMessageV3 implements AnnotateVideoRequestOrBuilder
Video annotation request.Protobuf type
google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotateVideoRequest.Builder
Video annotation request.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
FEATURES_FIELD_NUMBER |
static int |
INPUT_CONTENT_FIELD_NUMBER |
static int |
INPUT_URI_FIELD_NUMBER |
static int |
LOCATION_ID_FIELD_NUMBER |
static int |
OUTPUT_URI_FIELD_NUMBER |
static int |
VIDEO_CONTEXT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static AnnotateVideoRequest |
getDefaultInstance() |
AnnotateVideoRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Feature |
getFeatures(int index)
Requested video annotation features.
|
int |
getFeaturesCount()
Requested video annotation features.
|
List<Feature> |
getFeaturesList()
Requested video annotation features.
|
int |
getFeaturesValue(int index)
Requested video annotation features.
|
List<Integer> |
getFeaturesValueList()
Requested video annotation features.
|
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 cloud region where annotation should take place.
|
com.google.protobuf.ByteString |
getLocationIdBytes()
Optional cloud region where annotation should take place.
|
String |
getOutputUri()
Optional location where the output (in JSON format) should be stored.
|
com.google.protobuf.ByteString |
getOutputUriBytes()
Optional location where the output (in JSON format) should be stored.
|
com.google.protobuf.Parser<AnnotateVideoRequest> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
VideoContext |
getVideoContext()
Additional video context and/or feature-specific parameters.
|
VideoContextOrBuilder |
getVideoContextOrBuilder()
Additional video context and/or feature-specific parameters.
|
int |
hashCode() |
boolean |
hasVideoContext()
Additional video context and/or feature-specific parameters.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AnnotateVideoRequest.Builder |
newBuilder() |
static AnnotateVideoRequest.Builder |
newBuilder(AnnotateVideoRequest prototype) |
AnnotateVideoRequest.Builder |
newBuilderForType() |
protected AnnotateVideoRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static AnnotateVideoRequest |
parseDelimitedFrom(InputStream input) |
static AnnotateVideoRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotateVideoRequest |
parseFrom(byte[] data) |
static AnnotateVideoRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotateVideoRequest |
parseFrom(ByteBuffer data) |
static AnnotateVideoRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotateVideoRequest |
parseFrom(com.google.protobuf.ByteString data) |
static AnnotateVideoRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotateVideoRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AnnotateVideoRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AnnotateVideoRequest |
parseFrom(InputStream input) |
static AnnotateVideoRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AnnotateVideoRequest> |
parser() |
AnnotateVideoRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int INPUT_URI_FIELD_NUMBER
public static final int INPUT_CONTENT_FIELD_NUMBER
public static final int FEATURES_FIELD_NUMBER
public static final int VIDEO_CONTEXT_FIELD_NUMBER
public static final int OUTPUT_URI_FIELD_NUMBER
public static final int LOCATION_ID_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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](/storage/docs/reference-uris). 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;getInputUri in interface AnnotateVideoRequestOrBuilderpublic 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](/storage/docs/reference-uris). 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;getInputUriBytes in interface AnnotateVideoRequestOrBuilderpublic 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;getInputContent in interface AnnotateVideoRequestOrBuilderpublic List<Feature> getFeaturesList()
Requested video annotation features.
repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2;getFeaturesList in interface AnnotateVideoRequestOrBuilderpublic int getFeaturesCount()
Requested video annotation features.
repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2;getFeaturesCount in interface AnnotateVideoRequestOrBuilderpublic Feature getFeatures(int index)
Requested video annotation features.
repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2;getFeatures in interface AnnotateVideoRequestOrBuilderpublic List<Integer> getFeaturesValueList()
Requested video annotation features.
repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2;getFeaturesValueList in interface AnnotateVideoRequestOrBuilderpublic int getFeaturesValue(int index)
Requested video annotation features.
repeated .google.cloud.videointelligence.v1p2beta1.Feature features = 2;getFeaturesValue in interface AnnotateVideoRequestOrBuilderpublic boolean hasVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3;hasVideoContext in interface AnnotateVideoRequestOrBuilderpublic VideoContext getVideoContext()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3;getVideoContext in interface AnnotateVideoRequestOrBuilderpublic VideoContextOrBuilder getVideoContextOrBuilder()
Additional video context and/or feature-specific parameters.
.google.cloud.videointelligence.v1p2beta1.VideoContext video_context = 3;getVideoContextOrBuilder in interface AnnotateVideoRequestOrBuilderpublic 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](/storage/docs/reference-uris).
string output_uri = 4;getOutputUri in interface AnnotateVideoRequestOrBuilderpublic 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](/storage/docs/reference-uris).
string output_uri = 4;getOutputUriBytes in interface AnnotateVideoRequestOrBuilderpublic 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;getLocationId in interface AnnotateVideoRequestOrBuilderpublic 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;getLocationIdBytes in interface AnnotateVideoRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AnnotateVideoRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotateVideoRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotateVideoRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotateVideoRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotateVideoRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotateVideoRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AnnotateVideoRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static AnnotateVideoRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AnnotateVideoRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AnnotateVideoRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AnnotateVideoRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AnnotateVideoRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AnnotateVideoRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AnnotateVideoRequest.Builder newBuilder()
public static AnnotateVideoRequest.Builder newBuilder(AnnotateVideoRequest prototype)
public AnnotateVideoRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AnnotateVideoRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AnnotateVideoRequest getDefaultInstance()
public static com.google.protobuf.Parser<AnnotateVideoRequest> parser()
public com.google.protobuf.Parser<AnnotateVideoRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AnnotateVideoRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 Google LLC. All rights reserved.