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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Partition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Partition buildPartial()
clear()
public Partition.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Partition.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Partition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRelativeTemporalPartition()
public Partition.Builder clearRelativeTemporalPartition()
Partition of asset in time.
.google.cloud.visionai.v1.Partition.RelativeTemporalPartition relative_temporal_partition = 3;
clearSpatialPartition()
public Partition.Builder clearSpatialPartition()
Partition of asset in space.
.google.cloud.visionai.v1.Partition.SpatialPartition spatial_partition = 2;
clearTemporalPartition()
public Partition.Builder clearTemporalPartition()
Partition of asset in time.
.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;
clone()
public Partition.Builder clone()
Overrides
getDefaultInstanceForType()
public Partition getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRelativeTemporalPartition()
public Partition.RelativeTemporalPartition getRelativeTemporalPartition()
Partition of asset in time.
.google.cloud.visionai.v1.Partition.RelativeTemporalPartition relative_temporal_partition = 3;
getRelativeTemporalPartitionBuilder()
public Partition.RelativeTemporalPartition.Builder getRelativeTemporalPartitionBuilder()
Partition of asset in time.
.google.cloud.visionai.v1.Partition.RelativeTemporalPartition relative_temporal_partition = 3;
getRelativeTemporalPartitionOrBuilder()
public Partition.RelativeTemporalPartitionOrBuilder getRelativeTemporalPartitionOrBuilder()
Partition of asset in time.
.google.cloud.visionai.v1.Partition.RelativeTemporalPartition relative_temporal_partition = 3;
getSpatialPartition()
public Partition.SpatialPartition getSpatialPartition()
Partition of asset in space.
.google.cloud.visionai.v1.Partition.SpatialPartition spatial_partition = 2;
getSpatialPartitionBuilder()
public Partition.SpatialPartition.Builder getSpatialPartitionBuilder()
Partition of asset in space.
.google.cloud.visionai.v1.Partition.SpatialPartition spatial_partition = 2;
getSpatialPartitionOrBuilder()
public Partition.SpatialPartitionOrBuilder getSpatialPartitionOrBuilder()
Partition of asset in space.
.google.cloud.visionai.v1.Partition.SpatialPartition spatial_partition = 2;
getTemporalPartition()
public Partition.TemporalPartition getTemporalPartition()
Partition of asset in time.
.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;
getTemporalPartitionBuilder()
public Partition.TemporalPartition.Builder getTemporalPartitionBuilder()
Partition of asset in time.
.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;
getTemporalPartitionOrBuilder()
public Partition.TemporalPartitionOrBuilder getTemporalPartitionOrBuilder()
Partition of asset in time.
.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Partition other)
public Partition.Builder mergeFrom(Partition other)
public Partition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Partition.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
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;
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Partition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Partition.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Partition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final Partition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides