Class AnnotateVideoProgress (2.52.0)

public final class AnnotateVideoProgress extends GeneratedMessageV3 implements AnnotateVideoProgressOrBuilder

Video annotation progress. Included in the metadata field of the Operation returned by the GetOperation call of the google::longrunning::Operations service.

Protobuf type google.cloud.videointelligence.v1.AnnotateVideoProgress

Static Fields

ANNOTATION_PROGRESS_FIELD_NUMBER

public static final int ANNOTATION_PROGRESS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AnnotateVideoProgress getDefaultInstance()
Returns
Type Description
AnnotateVideoProgress

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AnnotateVideoProgress.Builder newBuilder()
Returns
Type Description
AnnotateVideoProgress.Builder

newBuilder(AnnotateVideoProgress prototype)

public static AnnotateVideoProgress.Builder newBuilder(AnnotateVideoProgress prototype)
Parameter
Name Description
prototype AnnotateVideoProgress
Returns
Type Description
AnnotateVideoProgress.Builder

parseDelimitedFrom(InputStream input)

public static AnnotateVideoProgress parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnnotateVideoProgress
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoProgress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotateVideoProgress
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AnnotateVideoProgress parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AnnotateVideoProgress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoProgress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotateVideoProgress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnnotateVideoProgress parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AnnotateVideoProgress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoProgress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotateVideoProgress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnnotateVideoProgress parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AnnotateVideoProgress
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoProgress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotateVideoProgress
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AnnotateVideoProgress parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnnotateVideoProgress
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoProgress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotateVideoProgress
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AnnotateVideoProgress parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AnnotateVideoProgress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoProgress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnnotateVideoProgress
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AnnotateVideoProgress> parser()
Returns
Type Description
Parser<AnnotateVideoProgress>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAnnotationProgress(int index)

public VideoAnnotationProgress getAnnotationProgress(int index)

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1;

Parameter
Name Description
index int
Returns
Type Description
VideoAnnotationProgress

getAnnotationProgressCount()

public int getAnnotationProgressCount()

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1;

Returns
Type Description
int

getAnnotationProgressList()

public List<VideoAnnotationProgress> getAnnotationProgressList()

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1;

Returns
Type Description
List<VideoAnnotationProgress>

getAnnotationProgressOrBuilder(int index)

public VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder(int index)

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1;

Parameter
Name Description
index int
Returns
Type Description
VideoAnnotationProgressOrBuilder

getAnnotationProgressOrBuilderList()

public List<? extends VideoAnnotationProgressOrBuilder> getAnnotationProgressOrBuilderList()

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1.VideoAnnotationProgress annotation_progress = 1;

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder>

getDefaultInstanceForType()

public AnnotateVideoProgress getDefaultInstanceForType()
Returns
Type Description
AnnotateVideoProgress

getParserForType()

public Parser<AnnotateVideoProgress> getParserForType()
Returns
Type Description
Parser<AnnotateVideoProgress>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AnnotateVideoProgress.Builder newBuilderForType()
Returns
Type Description
AnnotateVideoProgress.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnnotateVideoProgress.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AnnotateVideoProgress.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AnnotateVideoProgress.Builder toBuilder()
Returns
Type Description
AnnotateVideoProgress.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException