Class VideoAnnotationProgress (2.44.0)

public final class VideoAnnotationProgress extends GeneratedMessageV3 implements VideoAnnotationProgressOrBuilder

Annotation progress for a single video.

Protobuf type google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress

Static Fields

FEATURE_FIELD_NUMBER

public static final int FEATURE_FIELD_NUMBER
Field Value
Type Description
int

INPUT_URI_FIELD_NUMBER

public static final int INPUT_URI_FIELD_NUMBER
Field Value
Type Description
int

PROGRESS_PERCENT_FIELD_NUMBER

public static final int PROGRESS_PERCENT_FIELD_NUMBER
Field Value
Type Description
int

SEGMENT_FIELD_NUMBER

public static final int SEGMENT_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VideoAnnotationProgress getDefaultInstance()
Returns
Type Description
VideoAnnotationProgress

getDescriptor()

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

newBuilder()

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

newBuilder(VideoAnnotationProgress prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public VideoAnnotationProgress getDefaultInstanceForType()
Returns
Type Description
VideoAnnotationProgress

getFeature()

public Feature getFeature()

Specifies which feature is being tracked if the request contains more than one feature.

.google.cloud.videointelligence.v1p3beta1.Feature feature = 5;

Returns
Type Description
Feature

The feature.

getFeatureValue()

public int getFeatureValue()

Specifies which feature is being tracked if the request contains more than one feature.

.google.cloud.videointelligence.v1p3beta1.Feature feature = 5;

Returns
Type Description
int

The enum numeric value on the wire for feature.

getInputUri()

public String getInputUri()

Video file location in Cloud Storage.

string input_uri = 1;

Returns
Type Description
String

The inputUri.

getInputUriBytes()

public ByteString getInputUriBytes()

Video file location in Cloud Storage.

string input_uri = 1;

Returns
Type Description
ByteString

The bytes for inputUri.

getParserForType()

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

getProgressPercent()

public int getProgressPercent()

Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.

int32 progress_percent = 2;

Returns
Type Description
int

The progressPercent.

getSegment()

public VideoSegment getSegment()

Specifies which segment is being tracked if the request contains more than one segment.

.google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6;

Returns
Type Description
VideoSegment

The segment.

getSegmentOrBuilder()

public VideoSegmentOrBuilder getSegmentOrBuilder()

Specifies which segment is being tracked if the request contains more than one segment.

.google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6;

Returns
Type Description
VideoSegmentOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
TimestampOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
TimestampOrBuilder

hasSegment()

public boolean hasSegment()

Specifies which segment is being tracked if the request contains more than one segment.

.google.cloud.videointelligence.v1p3beta1.VideoSegment segment = 6;

Returns
Type Description
boolean

Whether the segment field is set.

hasStartTime()

public boolean hasStartTime()

Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
boolean

Whether the startTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
boolean

Whether the updateTime field is set.

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 VideoAnnotationProgress.Builder newBuilderForType()
Returns
Type Description
VideoAnnotationProgress.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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