public static final class OccupancyCountingPredictionResult.TrackInfo.Builder extends GeneratedMessage.Builder<OccupancyCountingPredictionResult.TrackInfo.Builder> implements OccupancyCountingPredictionResult.TrackInfoOrBuilderThe track info for annotations from occupancy counting operator.
Protobuf type google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OccupancyCountingPredictionResult.TrackInfo.BuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for trackId to set. |
| Returns | |
|---|---|
| Type | Description |
OccupancyCountingPredictionResult.TrackInfo.Builder |
This builder for chaining. |