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
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.RelativeTemporalPartition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Partition.RelativeTemporalPartition build()
buildPartial()
public Partition.RelativeTemporalPartition buildPartial()
clear()
public Partition.RelativeTemporalPartition.Builder clear()
Overrides
clearEndOffset()
public Partition.RelativeTemporalPartition.Builder clearEndOffset()
End time offset of the partition.
.google.protobuf.Duration end_offset = 2;
clearField(Descriptors.FieldDescriptor field)
public Partition.RelativeTemporalPartition.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Partition.RelativeTemporalPartition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStartOffset()
public Partition.RelativeTemporalPartition.Builder clearStartOffset()
Start time offset of the partition.
.google.protobuf.Duration start_offset = 1;
clone()
public Partition.RelativeTemporalPartition.Builder clone()
Overrides
getDefaultInstanceForType()
public Partition.RelativeTemporalPartition getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getEndOffsetOrBuilder()
public DurationOrBuilder getEndOffsetOrBuilder()
End time offset of the partition.
.google.protobuf.Duration end_offset = 2;
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;
getStartOffsetOrBuilder()
public DurationOrBuilder getStartOffsetOrBuilder()
Start time offset of the partition.
.google.protobuf.Duration start_offset = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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
|
mergeFrom(Partition.RelativeTemporalPartition other)
public Partition.RelativeTemporalPartition.Builder mergeFrom(Partition.RelativeTemporalPartition other)
public Partition.RelativeTemporalPartition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Partition.RelativeTemporalPartition.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Partition.RelativeTemporalPartition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public Partition.RelativeTemporalPartition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Partition.RelativeTemporalPartition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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
|
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Partition.RelativeTemporalPartition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides