Class Partition.Builder (0.2.0)

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

Partition to specify the partition in time and space for sub-asset level annotation.

Protobuf type google.cloud.visionai.v1.Partition

Implements

PartitionOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Partition build()
Returns
Type Description
Partition

buildPartial()

public Partition buildPartial()
Returns
Type Description
Partition

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRelativeTemporalPartition()

public Partition.Builder clearRelativeTemporalPartition()

Partition of asset in time.

.google.cloud.visionai.v1.Partition.RelativeTemporalPartition relative_temporal_partition = 3;

Returns
Type Description
Partition.Builder

clearSpatialPartition()

public Partition.Builder clearSpatialPartition()

Partition of asset in space.

.google.cloud.visionai.v1.Partition.SpatialPartition spatial_partition = 2;

Returns
Type Description
Partition.Builder

clearTemporalPartition()

public Partition.Builder clearTemporalPartition()

Partition of asset in time.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;

Returns
Type Description
Partition.Builder

clone()

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

getDefaultInstanceForType()

public Partition getDefaultInstanceForType()
Returns
Type Description
Partition

getDescriptorForType()

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

getRelativeTemporalPartition()

public Partition.RelativeTemporalPartition getRelativeTemporalPartition()

Partition of asset in time.

.google.cloud.visionai.v1.Partition.RelativeTemporalPartition relative_temporal_partition = 3;

Returns
Type Description
Partition.RelativeTemporalPartition

The relativeTemporalPartition.

getRelativeTemporalPartitionBuilder()

public Partition.RelativeTemporalPartition.Builder getRelativeTemporalPartitionBuilder()

Partition of asset in time.

.google.cloud.visionai.v1.Partition.RelativeTemporalPartition relative_temporal_partition = 3;

Returns
Type Description
Partition.RelativeTemporalPartition.Builder

getRelativeTemporalPartitionOrBuilder()

public Partition.RelativeTemporalPartitionOrBuilder getRelativeTemporalPartitionOrBuilder()

Partition of asset in time.

.google.cloud.visionai.v1.Partition.RelativeTemporalPartition relative_temporal_partition = 3;

Returns
Type Description
Partition.RelativeTemporalPartitionOrBuilder

getSpatialPartition()

public Partition.SpatialPartition getSpatialPartition()

Partition of asset in space.

.google.cloud.visionai.v1.Partition.SpatialPartition spatial_partition = 2;

Returns
Type Description
Partition.SpatialPartition

The spatialPartition.

getSpatialPartitionBuilder()

public Partition.SpatialPartition.Builder getSpatialPartitionBuilder()

Partition of asset in space.

.google.cloud.visionai.v1.Partition.SpatialPartition spatial_partition = 2;

Returns
Type Description
Partition.SpatialPartition.Builder

getSpatialPartitionOrBuilder()

public Partition.SpatialPartitionOrBuilder getSpatialPartitionOrBuilder()

Partition of asset in space.

.google.cloud.visionai.v1.Partition.SpatialPartition spatial_partition = 2;

Returns
Type Description
Partition.SpatialPartitionOrBuilder

getTemporalPartition()

public Partition.TemporalPartition getTemporalPartition()

Partition of asset in time.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;

Returns
Type Description
Partition.TemporalPartition

The temporalPartition.

getTemporalPartitionBuilder()

public Partition.TemporalPartition.Builder getTemporalPartitionBuilder()

Partition of asset in time.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;

Returns
Type Description
Partition.TemporalPartition.Builder

getTemporalPartitionOrBuilder()

public Partition.TemporalPartitionOrBuilder getTemporalPartitionOrBuilder()

Partition of asset in time.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;

Returns
Type Description
Partition.TemporalPartitionOrBuilder

hasRelativeTemporalPartition()

public boolean hasRelativeTemporalPartition()

Partition of asset in time.

.google.cloud.visionai.v1.Partition.RelativeTemporalPartition relative_temporal_partition = 3;

Returns
Type Description
boolean

Whether the relativeTemporalPartition field is set.

hasSpatialPartition()

public boolean hasSpatialPartition()

Partition of asset in space.

.google.cloud.visionai.v1.Partition.SpatialPartition spatial_partition = 2;

Returns
Type Description
boolean

Whether the spatialPartition field is set.

hasTemporalPartition()

public boolean hasTemporalPartition()

Partition of asset in time.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;

Returns
Type Description
boolean

Whether the temporalPartition field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Partition other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRelativeTemporalPartition(Partition.RelativeTemporalPartition value)

public Partition.Builder mergeRelativeTemporalPartition(Partition.RelativeTemporalPartition value)

Partition of asset in time.

.google.cloud.visionai.v1.Partition.RelativeTemporalPartition relative_temporal_partition = 3;

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

mergeSpatialPartition(Partition.SpatialPartition value)

public Partition.Builder mergeSpatialPartition(Partition.SpatialPartition value)

Partition of asset in space.

.google.cloud.visionai.v1.Partition.SpatialPartition spatial_partition = 2;

Parameter
Name Description
value Partition.SpatialPartition
Returns
Type Description
Partition.Builder

mergeTemporalPartition(Partition.TemporalPartition value)

public Partition.Builder mergeTemporalPartition(Partition.TemporalPartition value)

Partition of asset in time.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;

Parameter
Name Description
value Partition.TemporalPartition
Returns
Type Description
Partition.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setRelativeTemporalPartition(Partition.RelativeTemporalPartition value)

public Partition.Builder setRelativeTemporalPartition(Partition.RelativeTemporalPartition value)

Partition of asset in time.

.google.cloud.visionai.v1.Partition.RelativeTemporalPartition relative_temporal_partition = 3;

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

setRelativeTemporalPartition(Partition.RelativeTemporalPartition.Builder builderForValue)

public Partition.Builder setRelativeTemporalPartition(Partition.RelativeTemporalPartition.Builder builderForValue)

Partition of asset in time.

.google.cloud.visionai.v1.Partition.RelativeTemporalPartition relative_temporal_partition = 3;

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

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

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

setSpatialPartition(Partition.SpatialPartition value)

public Partition.Builder setSpatialPartition(Partition.SpatialPartition value)

Partition of asset in space.

.google.cloud.visionai.v1.Partition.SpatialPartition spatial_partition = 2;

Parameter
Name Description
value Partition.SpatialPartition
Returns
Type Description
Partition.Builder

setSpatialPartition(Partition.SpatialPartition.Builder builderForValue)

public Partition.Builder setSpatialPartition(Partition.SpatialPartition.Builder builderForValue)

Partition of asset in space.

.google.cloud.visionai.v1.Partition.SpatialPartition spatial_partition = 2;

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

setTemporalPartition(Partition.TemporalPartition value)

public Partition.Builder setTemporalPartition(Partition.TemporalPartition value)

Partition of asset in time.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;

Parameter
Name Description
value Partition.TemporalPartition
Returns
Type Description
Partition.Builder

setTemporalPartition(Partition.TemporalPartition.Builder builderForValue)

public Partition.Builder setTemporalPartition(Partition.TemporalPartition.Builder builderForValue)

Partition of asset in time.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;

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

setUnknownFields(UnknownFieldSet unknownFields)

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