Class VideoAnnotationProgress.Builder (2.19.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.v1.VideoAnnotationProgress

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VideoAnnotationProgress.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VideoAnnotationProgress.Builder
Overrides

build()

public VideoAnnotationProgress build()
Returns
TypeDescription
VideoAnnotationProgress

buildPartial()

public VideoAnnotationProgress buildPartial()
Returns
TypeDescription
VideoAnnotationProgress

clear()

public VideoAnnotationProgress.Builder clear()
Returns
TypeDescription
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.v1.Feature feature = 5;

Returns
TypeDescription
VideoAnnotationProgress.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VideoAnnotationProgress.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VideoAnnotationProgress.Builder
Overrides

clearInputUri()

public VideoAnnotationProgress.Builder clearInputUri()

Video file location in Cloud Storage.

string input_uri = 1;

Returns
TypeDescription
VideoAnnotationProgress.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoAnnotationProgress.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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.v1.VideoSegment segment = 6;

Returns
TypeDescription
VideoAnnotationProgress.Builder

clearStartTime()

public VideoAnnotationProgress.Builder clearStartTime()

Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
VideoAnnotationProgress.Builder

clearUpdateTime()

public VideoAnnotationProgress.Builder clearUpdateTime()

Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
VideoAnnotationProgress.Builder

clone()

public VideoAnnotationProgress.Builder clone()
Returns
TypeDescription
VideoAnnotationProgress.Builder
Overrides

getDefaultInstanceForType()

public VideoAnnotationProgress getDefaultInstanceForType()
Returns
TypeDescription
VideoAnnotationProgress

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFeature()

public Feature getFeature()

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

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

Returns
TypeDescription
Feature

The feature.

getFeatureValue()

public int getFeatureValue()

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

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

Returns
TypeDescription
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
TypeDescription
String

The inputUri.

getInputUriBytes()

public ByteString getInputUriBytes()

Video file location in Cloud Storage.

string input_uri = 1;

Returns
TypeDescription
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
TypeDescription
int

The progressPercent.

getSegment()

public VideoSegment getSegment()

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

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

Returns
TypeDescription
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.v1.VideoSegment segment = 6;

Returns
TypeDescription
VideoSegment.Builder

getSegmentOrBuilder()

public VideoSegmentOrBuilder getSegmentOrBuilder()

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

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

Returns
TypeDescription
VideoSegmentOrBuilder

getStartTime()

public Timestamp getStartTime()

Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
TimestampOrBuilder

hasSegment()

public boolean hasSegment()

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

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

Returns
TypeDescription
boolean

Whether the segment field is set.

hasStartTime()

public boolean hasStartTime()

Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
boolean

Whether the startTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VideoAnnotationProgress other)

public VideoAnnotationProgress.Builder mergeFrom(VideoAnnotationProgress other)
Parameter
NameDescription
otherVideoAnnotationProgress
Returns
TypeDescription
VideoAnnotationProgress.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VideoAnnotationProgress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoAnnotationProgress.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VideoAnnotationProgress.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1.VideoSegment segment = 6;

Parameter
NameDescription
valueVideoSegment
Returns
TypeDescription
VideoAnnotationProgress.Builder

mergeStartTime(Timestamp value)

public VideoAnnotationProgress.Builder mergeStartTime(Timestamp value)

Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
VideoAnnotationProgress.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoAnnotationProgress.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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.v1.Feature feature = 5;

Parameter
NameDescription
valueFeature

The feature to set.

Returns
TypeDescription
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.v1.Feature feature = 5;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
VideoAnnotationProgress.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VideoAnnotationProgress.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VideoAnnotationProgress.Builder
Overrides

setInputUri(String value)

public VideoAnnotationProgress.Builder setInputUri(String value)

Video file location in Cloud Storage.

string input_uri = 1;

Parameter
NameDescription
valueString

The inputUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for inputUri to set.

Returns
TypeDescription
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
NameDescription
valueint

The progressPercent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1.VideoSegment segment = 6;

Parameter
NameDescription
valueVideoSegment
Returns
TypeDescription
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.v1.VideoSegment segment = 6;

Parameter
NameDescription
builderForValueVideoSegment.Builder
Returns
TypeDescription
VideoAnnotationProgress.Builder

setStartTime(Timestamp value)

public VideoAnnotationProgress.Builder setStartTime(Timestamp value)

Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
VideoAnnotationProgress.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoAnnotationProgress.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
VideoAnnotationProgress.Builder