Class OccupancyCountingPredictionResult.DwellTimeInfo (0.5.0)

public static final class OccupancyCountingPredictionResult.DwellTimeInfo extends GeneratedMessageV3 implements OccupancyCountingPredictionResult.DwellTimeInfoOrBuilder

The dwell time info for annotations from occupancy counting operator.

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

Inheritance

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

Static Fields

DWELL_END_TIME_FIELD_NUMBER

public static final int DWELL_END_TIME_FIELD_NUMBER
Field Value
Type Description
int

DWELL_START_TIME_FIELD_NUMBER

public static final int DWELL_START_TIME_FIELD_NUMBER
Field Value
Type Description
int

TRACK_ID_FIELD_NUMBER

public static final int TRACK_ID_FIELD_NUMBER
Field Value
Type Description
int

ZONE_ID_FIELD_NUMBER

public static final int ZONE_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OccupancyCountingPredictionResult.DwellTimeInfo getDefaultInstance()
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo

getDescriptor()

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

newBuilder()

public static OccupancyCountingPredictionResult.DwellTimeInfo.Builder newBuilder()
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo.Builder

newBuilder(OccupancyCountingPredictionResult.DwellTimeInfo prototype)

public static OccupancyCountingPredictionResult.DwellTimeInfo.Builder newBuilder(OccupancyCountingPredictionResult.DwellTimeInfo prototype)
Parameter
Name Description
prototype OccupancyCountingPredictionResult.DwellTimeInfo
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo.Builder

parseDelimitedFrom(InputStream input)

public static OccupancyCountingPredictionResult.DwellTimeInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult.DwellTimeInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OccupancyCountingPredictionResult.DwellTimeInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult.DwellTimeInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OccupancyCountingPredictionResult.DwellTimeInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult.DwellTimeInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OccupancyCountingPredictionResult.DwellTimeInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult.DwellTimeInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OccupancyCountingPredictionResult.DwellTimeInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult.DwellTimeInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OccupancyCountingPredictionResult.DwellTimeInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountingPredictionResult.DwellTimeInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OccupancyCountingPredictionResult.DwellTimeInfo> parser()
Returns
Type Description
Parser<DwellTimeInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

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.

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

getParserForType()

public Parser<OccupancyCountingPredictionResult.DwellTimeInfo> getParserForType()
Returns
Type Description
Parser<DwellTimeInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder newBuilderForType()
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OccupancyCountingPredictionResult.DwellTimeInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public OccupancyCountingPredictionResult.DwellTimeInfo.Builder toBuilder()
Returns
Type Description
OccupancyCountingPredictionResult.DwellTimeInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException