Class VideoAnnotationProgress.Builder (2.12.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.v1beta2.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

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

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

getInputUri()

public String getInputUri()

Video file location in Google Cloud Storage.

string input_uri = 1;

Returns
TypeDescription
String

The inputUri.

getInputUriBytes()

public ByteString getInputUriBytes()

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

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

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

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

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 Google 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 Google 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

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