Class VideoAnnotationProgress.Builder (2.54.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.v1p1beta1.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

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()

Output only. Video file location in Google 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()

Output only. 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.

clearStartTime()

public VideoAnnotationProgress.Builder clearStartTime()

Output only. Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
VideoAnnotationProgress.Builder

clearUpdateTime()

public VideoAnnotationProgress.Builder clearUpdateTime()

Output only. 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

getInputUri()

public String getInputUri()

Output only. Video file location in Google Cloud Storage.

string input_uri = 1;

Returns
Type Description
String

The inputUri.

getInputUriBytes()

public ByteString getInputUriBytes()

Output only. Video file location in Google Cloud Storage.

string input_uri = 1;

Returns
Type Description
ByteString

The bytes for inputUri.

getProgressPercent()

public int getProgressPercent()

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

int32 progress_percent = 2;

Returns
Type Description
int

The progressPercent.

getStartTime()

public Timestamp getStartTime()

Output only. Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. Time when the request was received.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
TimestampOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Returns
Type Description
TimestampOrBuilder

hasStartTime()

public boolean hasStartTime()

Output only. 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()

Output only. 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

mergeStartTime(Timestamp value)

public VideoAnnotationProgress.Builder mergeStartTime(Timestamp value)

Output only. 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)

Output only. Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
VideoAnnotationProgress.Builder

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)

Output only. Video file location in Google 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)

Output only. Video file location in Google 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)

Output only. 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

setStartTime(Timestamp value)

public VideoAnnotationProgress.Builder setStartTime(Timestamp value)

Output only. 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)

Output only. 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)

Output only. 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)

Output only. Time of the most recent update.

.google.protobuf.Timestamp update_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VideoAnnotationProgress.Builder