Class VideoAnnotationProgress.Builder (2.50.0)

public static final class VideoAnnotationProgress.Builder extends GeneratedMessageV3.Builder<VideoAnnotationProgress.Builder> implements VideoAnnotationProgressOrBuilder

Annotation progress for a single video.

Protobuf type google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VideoAnnotationProgress.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoAnnotationProgress.Builder
Overrides

build()

public VideoAnnotationProgress build()
Returns
Type Description
VideoAnnotationProgress

buildPartial()

public VideoAnnotationProgress buildPartial()
Returns
Type Description
VideoAnnotationProgress

clear()

public VideoAnnotationProgress.Builder clear()
Returns
Type Description
VideoAnnotationProgress.Builder
Overrides

clearFeature()

public VideoAnnotationProgress.Builder clearFeature()

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

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

Returns
Type Description
VideoAnnotationProgress.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VideoAnnotationProgress.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VideoAnnotationProgress.Builder
Overrides

clearInputUri()

public VideoAnnotationProgress.Builder clearInputUri()

Video file location in Cloud Storage.

string input_uri = 1;

Returns
Type Description
VideoAnnotationProgress.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoAnnotationProgress.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VideoAnnotationProgress.Builder
Overrides

clearProgressPercent()

public VideoAnnotationProgress.Builder clearProgressPercent()

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

int32 progress_percent = 2;

Returns
Type Description
VideoAnnotationProgress.Builder

This builder for chaining.

clearSegment()

public VideoAnnotationProgress.Builder clearSegment()

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

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

Returns
Type Description
VideoAnnotationProgress.Builder

clearStartTime()

public VideoAnnotationProgress.Builder clearStartTime()

Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
VideoAnnotationProgress.Builder

clearUpdateTime()

public VideoAnnotationProgress.Builder clearUpdateTime()

Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
VideoAnnotationProgress.Builder

clone()

public VideoAnnotationProgress.Builder clone()
Returns
Type Description
VideoAnnotationProgress.Builder
Overrides

getDefaultInstanceForType()

public VideoAnnotationProgress getDefaultInstanceForType()
Returns
Type Description
VideoAnnotationProgress

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

getSegmentBuilder()

public VideoSegment.Builder getSegmentBuilder()

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.Builder

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

getStartTime()

public Timestamp getStartTime()

Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Builder

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.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VideoAnnotationProgress other)

public VideoAnnotationProgress.Builder mergeFrom(VideoAnnotationProgress other)
Parameter
Name Description
other VideoAnnotationProgress
Returns
Type Description
VideoAnnotationProgress.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VideoAnnotationProgress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoAnnotationProgress.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VideoAnnotationProgress.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VideoAnnotationProgress.Builder
Overrides

mergeSegment(VideoSegment value)

public VideoAnnotationProgress.Builder mergeSegment(VideoSegment value)

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

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

Parameter
Name Description
value VideoSegment
Returns
Type Description
VideoAnnotationProgress.Builder

mergeStartTime(Timestamp value)

public VideoAnnotationProgress.Builder mergeStartTime(Timestamp value)

Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
VideoAnnotationProgress.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoAnnotationProgress.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VideoAnnotationProgress.Builder
Overrides

mergeUpdateTime(Timestamp value)

public VideoAnnotationProgress.Builder mergeUpdateTime(Timestamp value)

Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
VideoAnnotationProgress.Builder

setFeature(Feature value)

public VideoAnnotationProgress.Builder setFeature(Feature value)

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

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

Parameter
Name Description
value Feature

The feature to set.

Returns
Type Description
VideoAnnotationProgress.Builder

This builder for chaining.

setFeatureValue(int value)

public VideoAnnotationProgress.Builder setFeatureValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for feature to set.

Returns
Type Description
VideoAnnotationProgress.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VideoAnnotationProgress.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoAnnotationProgress.Builder
Overrides

setInputUri(String value)

public VideoAnnotationProgress.Builder setInputUri(String value)

Video file location in Cloud Storage.

string input_uri = 1;

Parameter
Name Description
value String

The inputUri to set.

Returns
Type Description
VideoAnnotationProgress.Builder

This builder for chaining.

setInputUriBytes(ByteString value)

public VideoAnnotationProgress.Builder setInputUriBytes(ByteString value)

Video file location in Cloud Storage.

string input_uri = 1;

Parameter
Name Description
value ByteString

The bytes for inputUri to set.

Returns
Type Description
VideoAnnotationProgress.Builder

This builder for chaining.

setProgressPercent(int value)

public VideoAnnotationProgress.Builder setProgressPercent(int value)

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

int32 progress_percent = 2;

Parameter
Name Description
value int

The progressPercent to set.

Returns
Type Description
VideoAnnotationProgress.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VideoAnnotationProgress.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VideoAnnotationProgress.Builder
Overrides

setSegment(VideoSegment value)

public VideoAnnotationProgress.Builder setSegment(VideoSegment value)

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

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

Parameter
Name Description
value VideoSegment
Returns
Type Description
VideoAnnotationProgress.Builder

setSegment(VideoSegment.Builder builderForValue)

public VideoAnnotationProgress.Builder setSegment(VideoSegment.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue VideoSegment.Builder
Returns
Type Description
VideoAnnotationProgress.Builder

setStartTime(Timestamp value)

public VideoAnnotationProgress.Builder setStartTime(Timestamp value)

Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
VideoAnnotationProgress.Builder

setStartTime(Timestamp.Builder builderForValue)

public VideoAnnotationProgress.Builder setStartTime(Timestamp.Builder builderForValue)

Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VideoAnnotationProgress.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoAnnotationProgress.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VideoAnnotationProgress.Builder
Overrides

setUpdateTime(Timestamp value)

public VideoAnnotationProgress.Builder setUpdateTime(Timestamp value)

Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
VideoAnnotationProgress.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public VideoAnnotationProgress.Builder setUpdateTime(Timestamp.Builder builderForValue)

Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VideoAnnotationProgress.Builder