Class OccupancyCountingPredictionResult.DwellTimeInfo.Builder (0.12.0)

public static final class OccupancyCountingPredictionResult.DwellTimeInfo.Builder extends GeneratedMessageV3.Builder<OccupancyCountingPredictionResult.DwellTimeInfo.Builder> implements OccupancyCountingPredictionResult.DwellTimeInfoOrBuilder

The dwell time info for annotations from occupancy counting operator.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OccupancyCountingPredictionResult.DwellTimeInfo.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearDwellEndTime()

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder clearDwellEndTime()

The end time when a dwelling object has exited in a zone.

.google.protobuf.Timestamp dwell_end_time = 4;

Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo.Builder

clearDwellStartTime()

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder clearDwellStartTime()

The beginning time when a dwelling object has been identified in a zone.

.google.protobuf.Timestamp dwell_start_time = 3;

Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo.Builder
Overrides

clearTrackId()

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder clearTrackId()

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

string track_id = 1;

Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo.Builder

This builder for chaining.

clearZoneId()

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder clearZoneId()

The unique id for the zone in which the object is dwelling/waiting.

string zone_id = 2;

Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getDwellEndTime()

public Timestamp getDwellEndTime()

The end time when a dwelling object has exited in a zone.

.google.protobuf.Timestamp dwell_end_time = 4;

Returns
Type Description
Timestamp

The dwellEndTime.

getDwellEndTimeBuilder()

public Timestamp.Builder getDwellEndTimeBuilder()

The end time when a dwelling object has exited in a zone.

.google.protobuf.Timestamp dwell_end_time = 4;

Returns
Type Description
Builder

getDwellEndTimeOrBuilder()

public TimestampOrBuilder getDwellEndTimeOrBuilder()

The end time when a dwelling object has exited in a zone.

.google.protobuf.Timestamp dwell_end_time = 4;

Returns
Type Description
TimestampOrBuilder

getDwellStartTime()

public Timestamp getDwellStartTime()

The beginning time when a dwelling object has been identified in a zone.

.google.protobuf.Timestamp dwell_start_time = 3;

Returns
Type Description
Timestamp

The dwellStartTime.

getDwellStartTimeBuilder()

public Timestamp.Builder getDwellStartTimeBuilder()

The beginning time when a dwelling object has been identified in a zone.

.google.protobuf.Timestamp dwell_start_time = 3;

Returns
Type Description
Builder

getDwellStartTimeOrBuilder()

public TimestampOrBuilder getDwellStartTimeOrBuilder()

The beginning time when a dwelling object has been identified in a zone.

.google.protobuf.Timestamp dwell_start_time = 3;

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.

getZoneId()

public String getZoneId()

The unique id for the zone in which the object is dwelling/waiting.

string zone_id = 2;

Returns
Type Description
String

The zoneId.

getZoneIdBytes()

public ByteString getZoneIdBytes()

The unique id for the zone in which the object is dwelling/waiting.

string zone_id = 2;

Returns
Type Description
ByteString

The bytes for zoneId.

hasDwellEndTime()

public boolean hasDwellEndTime()

The end time when a dwelling object has exited in a zone.

.google.protobuf.Timestamp dwell_end_time = 4;

Returns
Type Description
boolean

Whether the dwellEndTime field is set.

hasDwellStartTime()

public boolean hasDwellStartTime()

The beginning time when a dwelling object has been identified in a zone.

.google.protobuf.Timestamp dwell_start_time = 3;

Returns
Type Description
boolean

Whether the dwellStartTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDwellEndTime(Timestamp value)

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder mergeDwellEndTime(Timestamp value)

The end time when a dwelling object has exited in a zone.

.google.protobuf.Timestamp dwell_end_time = 4;

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

mergeDwellStartTime(Timestamp value)

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder mergeDwellStartTime(Timestamp value)

The beginning time when a dwelling object has been identified in a zone.

.google.protobuf.Timestamp dwell_start_time = 3;

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

mergeFrom(OccupancyCountingPredictionResult.DwellTimeInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDwellEndTime(Timestamp value)

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder setDwellEndTime(Timestamp value)

The end time when a dwelling object has exited in a zone.

.google.protobuf.Timestamp dwell_end_time = 4;

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

setDwellEndTime(Timestamp.Builder builderForValue)

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder setDwellEndTime(Timestamp.Builder builderForValue)

The end time when a dwelling object has exited in a zone.

.google.protobuf.Timestamp dwell_end_time = 4;

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

setDwellStartTime(Timestamp value)

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder setDwellStartTime(Timestamp value)

The beginning time when a dwelling object has been identified in a zone.

.google.protobuf.Timestamp dwell_start_time = 3;

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

setDwellStartTime(Timestamp.Builder builderForValue)

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder setDwellStartTime(Timestamp.Builder builderForValue)

The beginning time when a dwelling object has been identified in a zone.

.google.protobuf.Timestamp dwell_start_time = 3;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTrackId(String value)

public OccupancyCountingPredictionResult.DwellTimeInfo.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.DwellTimeInfo.Builder

This builder for chaining.

setTrackIdBytes(ByteString value)

public OccupancyCountingPredictionResult.DwellTimeInfo.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.DwellTimeInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setZoneId(String value)

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder setZoneId(String value)

The unique id for the zone in which the object is dwelling/waiting.

string zone_id = 2;

Parameter
Name Description
value String

The zoneId to set.

Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo.Builder

This builder for chaining.

setZoneIdBytes(ByteString value)

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder setZoneIdBytes(ByteString value)

The unique id for the zone in which the object is dwelling/waiting.

string zone_id = 2;

Parameter
Name Description
value ByteString

The bytes for zoneId to set.

Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo.Builder

This builder for chaining.