Class OccupancyCountingPredictionResult.TrackInfo.Builder (0.4.0)

public static final class OccupancyCountingPredictionResult.TrackInfo.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public OccupancyCountingPredictionResult.TrackInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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