Class AnnotateVideoProgress (2.32.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnnotateVideoProgress getDefaultInstance()
Returns
TypeDescription
AnnotateVideoProgress

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AnnotateVideoProgress.Builder newBuilder()
Returns
TypeDescription
AnnotateVideoProgress.Builder

newBuilder(AnnotateVideoProgress prototype)

public static AnnotateVideoProgress.Builder newBuilder(AnnotateVideoProgress prototype)
Parameter
NameDescription
prototypeAnnotateVideoProgress
Returns
TypeDescription
AnnotateVideoProgress.Builder

parseDelimitedFrom(InputStream input)

public static AnnotateVideoProgress parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnnotateVideoProgress
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoProgress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotateVideoProgress
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AnnotateVideoProgress parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AnnotateVideoProgress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoProgress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotateVideoProgress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnnotateVideoProgress parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AnnotateVideoProgress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoProgress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotateVideoProgress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnnotateVideoProgress parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AnnotateVideoProgress
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoProgress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotateVideoProgress
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AnnotateVideoProgress parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnnotateVideoProgress
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoProgress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotateVideoProgress
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AnnotateVideoProgress parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AnnotateVideoProgress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoProgress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotateVideoProgress
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AnnotateVideoProgress> parser()
Returns
TypeDescription
Parser<AnnotateVideoProgress>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
VideoAnnotationProgress

getAnnotationProgressCount()

public int getAnnotationProgressCount()

Progress metadata for all videos specified in AnnotateVideoRequest.

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

Returns
TypeDescription
int

getAnnotationProgressList()

public List<VideoAnnotationProgress> getAnnotationProgressList()

Progress metadata for all videos specified in AnnotateVideoRequest.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.videointelligence.v1.VideoAnnotationProgressOrBuilder>

getDefaultInstanceForType()

public AnnotateVideoProgress getDefaultInstanceForType()
Returns
TypeDescription
AnnotateVideoProgress

getParserForType()

public Parser<AnnotateVideoProgress> getParserForType()
Returns
TypeDescription
Parser<AnnotateVideoProgress>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AnnotateVideoProgress.Builder newBuilderForType()
Returns
TypeDescription
AnnotateVideoProgress.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnnotateVideoProgress.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AnnotateVideoProgress.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AnnotateVideoProgress.Builder toBuilder()
Returns
TypeDescription
AnnotateVideoProgress.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException