Class OccupancyCountingPredictionResult.TrackInfo.Builder (0.40.0)

public static final class OccupancyCountingPredictionResult.TrackInfo.Builder extends GeneratedMessage.Builder<OccupancyCountingPredictionResult.TrackInfo.Builder> implements OccupancyCountingPredictionResult.TrackInfoOrBuilder

The track info for annotations from occupancy counting operator.

Protobuf type google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo

Static Methods

getDescriptor()

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

Methods

build()

public OccupancyCountingPredictionResult.TrackInfo build()
Returns
Type Description
OccupancyCountingPredictionResult.TrackInfo

buildPartial()

public OccupancyCountingPredictionResult.TrackInfo buildPartial()
Returns
Type Description
OccupancyCountingPredictionResult.TrackInfo

clear()

public OccupancyCountingPredictionResult.TrackInfo.Builder clear()
Returns
Type Description
OccupancyCountingPredictionResult.TrackInfo.Builder
Overrides

clearStartTime()

public OccupancyCountingPredictionResult.TrackInfo.Builder clearStartTime()

Start timestamp of this track.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
OccupancyCountingPredictionResult.TrackInfo.Builder

clearTrackId()

public OccupancyCountingPredictionResult.TrackInfo.Builder clearTrackId()

An unique id to identify a track. It should be consistent across frames.

string track_id = 1;

Returns
Type Description
OccupancyCountingPredictionResult.TrackInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public OccupancyCountingPredictionResult.TrackInfo getDefaultInstanceForType()
Returns
Type Description
OccupancyCountingPredictionResult.TrackInfo

getDescriptorForType()

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

getStartTime()

public Timestamp getStartTime()

Start timestamp of this track.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Start timestamp of this track.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Start timestamp of this track.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
TimestampOrBuilder

getTrackId()

public String getTrackId()

An unique id to identify a track. It should be consistent across frames.

string track_id = 1;

Returns
Type Description
String

The trackId.

getTrackIdBytes()

public ByteString getTrackIdBytes()

An unique id to identify a track. It should be consistent across frames.

string track_id = 1;

Returns
Type Description
ByteString

The bytes for trackId.

hasStartTime()

public boolean hasStartTime()

Start timestamp of this track.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OccupancyCountingPredictionResult.TrackInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public OccupancyCountingPredictionResult.TrackInfo.Builder mergeStartTime(Timestamp value)

Start timestamp of this track.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
OccupancyCountingPredictionResult.TrackInfo.Builder

setStartTime(Timestamp value)

public OccupancyCountingPredictionResult.TrackInfo.Builder setStartTime(Timestamp value)

Start timestamp of this track.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
OccupancyCountingPredictionResult.TrackInfo.Builder

setStartTime(Timestamp.Builder builderForValue)

public OccupancyCountingPredictionResult.TrackInfo.Builder setStartTime(Timestamp.Builder builderForValue)

Start timestamp of this track.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
OccupancyCountingPredictionResult.TrackInfo.Builder

setTrackId(String value)

public OccupancyCountingPredictionResult.TrackInfo.Builder setTrackId(String value)

An unique id to identify a track. It should be consistent across frames.

string track_id = 1;

Parameter
Name Description
value String

The trackId to set.

Returns
Type Description
OccupancyCountingPredictionResult.TrackInfo.Builder

This builder for chaining.

setTrackIdBytes(ByteString value)

public OccupancyCountingPredictionResult.TrackInfo.Builder setTrackIdBytes(ByteString value)

An unique id to identify a track. It should be consistent across frames.

string track_id = 1;

Parameter
Name Description
value ByteString

The bytes for trackId to set.

Returns
Type Description
OccupancyCountingPredictionResult.TrackInfo.Builder

This builder for chaining.