Class Partition.TemporalPartition.Builder (0.5.0)

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

Partition of asset in UTC Epoch time. Supported by STREAM_VIDEO corpus type.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearEndTime()

public Partition.TemporalPartition.Builder clearEndTime()

End time of the partition.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Partition.TemporalPartition.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public Partition.TemporalPartition.Builder clearStartTime()

Start time of the partition.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Partition.TemporalPartition.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

End time of the partition.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

End time of the partition.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

End time of the partition.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getStartTime()

public Timestamp getStartTime()

Start time of the partition.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Start time of the partition.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Start time of the partition.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

hasEndTime()

public boolean hasEndTime()

End time of the partition.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

Start time of the partition.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public Partition.TemporalPartition.Builder mergeEndTime(Timestamp value)

End time of the partition.

.google.protobuf.Timestamp end_time = 2;

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

mergeFrom(Partition.TemporalPartition other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public Partition.TemporalPartition.Builder mergeStartTime(Timestamp value)

Start time of the partition.

.google.protobuf.Timestamp start_time = 1;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEndTime(Timestamp value)

public Partition.TemporalPartition.Builder setEndTime(Timestamp value)

End time of the partition.

.google.protobuf.Timestamp end_time = 2;

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

setEndTime(Timestamp.Builder builderForValue)

public Partition.TemporalPartition.Builder setEndTime(Timestamp.Builder builderForValue)

End time of the partition.

.google.protobuf.Timestamp end_time = 2;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStartTime(Timestamp value)

public Partition.TemporalPartition.Builder setStartTime(Timestamp value)

Start time of the partition.

.google.protobuf.Timestamp start_time = 1;

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

setStartTime(Timestamp.Builder builderForValue)

public Partition.TemporalPartition.Builder setStartTime(Timestamp.Builder builderForValue)

Start time of the partition.

.google.protobuf.Timestamp start_time = 1;

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

setUnknownFields(UnknownFieldSet unknownFields)

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