Class Partition.RelativeTemporalPartition.Builder (0.12.0)

public static final class Partition.RelativeTemporalPartition.Builder extends GeneratedMessageV3.Builder<Partition.RelativeTemporalPartition.Builder> implements Partition.RelativeTemporalPartitionOrBuilder

Partition of asset in relative time. Supported by VIDEO_ON_DEMAND corpus type.

Protobuf type google.cloud.visionai.v1.Partition.RelativeTemporalPartition

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Partition.RelativeTemporalPartition build()
Returns
Type Description
Partition.RelativeTemporalPartition

buildPartial()

public Partition.RelativeTemporalPartition buildPartial()
Returns
Type Description
Partition.RelativeTemporalPartition

clear()

public Partition.RelativeTemporalPartition.Builder clear()
Returns
Type Description
Partition.RelativeTemporalPartition.Builder
Overrides

clearEndOffset()

public Partition.RelativeTemporalPartition.Builder clearEndOffset()

End time offset of the partition.

.google.protobuf.Duration end_offset = 2;

Returns
Type Description
Partition.RelativeTemporalPartition.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartOffset()

public Partition.RelativeTemporalPartition.Builder clearStartOffset()

Start time offset of the partition.

.google.protobuf.Duration start_offset = 1;

Returns
Type Description
Partition.RelativeTemporalPartition.Builder

clone()

public Partition.RelativeTemporalPartition.Builder clone()
Returns
Type Description
Partition.RelativeTemporalPartition.Builder
Overrides

getDefaultInstanceForType()

public Partition.RelativeTemporalPartition getDefaultInstanceForType()
Returns
Type Description
Partition.RelativeTemporalPartition

getDescriptorForType()

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

getEndOffset()

public Duration getEndOffset()

End time offset of the partition.

.google.protobuf.Duration end_offset = 2;

Returns
Type Description
Duration

The endOffset.

getEndOffsetBuilder()

public Duration.Builder getEndOffsetBuilder()

End time offset of the partition.

.google.protobuf.Duration end_offset = 2;

Returns
Type Description
Builder

getEndOffsetOrBuilder()

public DurationOrBuilder getEndOffsetOrBuilder()

End time offset of the partition.

.google.protobuf.Duration end_offset = 2;

Returns
Type Description
DurationOrBuilder

getStartOffset()

public Duration getStartOffset()

Start time offset of the partition.

.google.protobuf.Duration start_offset = 1;

Returns
Type Description
Duration

The startOffset.

getStartOffsetBuilder()

public Duration.Builder getStartOffsetBuilder()

Start time offset of the partition.

.google.protobuf.Duration start_offset = 1;

Returns
Type Description
Builder

getStartOffsetOrBuilder()

public DurationOrBuilder getStartOffsetOrBuilder()

Start time offset of the partition.

.google.protobuf.Duration start_offset = 1;

Returns
Type Description
DurationOrBuilder

hasEndOffset()

public boolean hasEndOffset()

End time offset of the partition.

.google.protobuf.Duration end_offset = 2;

Returns
Type Description
boolean

Whether the endOffset field is set.

hasStartOffset()

public boolean hasStartOffset()

Start time offset of the partition.

.google.protobuf.Duration start_offset = 1;

Returns
Type Description
boolean

Whether the startOffset field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndOffset(Duration value)

public Partition.RelativeTemporalPartition.Builder mergeEndOffset(Duration value)

End time offset of the partition.

.google.protobuf.Duration end_offset = 2;

Parameter
Name Description
value Duration
Returns
Type Description
Partition.RelativeTemporalPartition.Builder

mergeFrom(Partition.RelativeTemporalPartition other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartOffset(Duration value)

public Partition.RelativeTemporalPartition.Builder mergeStartOffset(Duration value)

Start time offset of the partition.

.google.protobuf.Duration start_offset = 1;

Parameter
Name Description
value Duration
Returns
Type Description
Partition.RelativeTemporalPartition.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEndOffset(Duration value)

public Partition.RelativeTemporalPartition.Builder setEndOffset(Duration value)

End time offset of the partition.

.google.protobuf.Duration end_offset = 2;

Parameter
Name Description
value Duration
Returns
Type Description
Partition.RelativeTemporalPartition.Builder

setEndOffset(Duration.Builder builderForValue)

public Partition.RelativeTemporalPartition.Builder setEndOffset(Duration.Builder builderForValue)

End time offset of the partition.

.google.protobuf.Duration end_offset = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Partition.RelativeTemporalPartition.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStartOffset(Duration value)

public Partition.RelativeTemporalPartition.Builder setStartOffset(Duration value)

Start time offset of the partition.

.google.protobuf.Duration start_offset = 1;

Parameter
Name Description
value Duration
Returns
Type Description
Partition.RelativeTemporalPartition.Builder

setStartOffset(Duration.Builder builderForValue)

public Partition.RelativeTemporalPartition.Builder setStartOffset(Duration.Builder builderForValue)

Start time offset of the partition.

.google.protobuf.Duration start_offset = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Partition.RelativeTemporalPartition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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