Package com.google.cloud.visionai.v1
Class OccupancyCountingPredictionResult.DwellTimeInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OccupancyCountingPredictionResult.DwellTimeInfo.Builder>
com.google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo.Builder
- All Implemented Interfaces:
OccupancyCountingPredictionResult.DwellTimeInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OccupancyCountingPredictionResult.DwellTimeInfo
public static final class OccupancyCountingPredictionResult.DwellTimeInfo.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The end time when a dwelling object has exited in a zone.The beginning time when a dwelling object has been identified in a zone.An unique id to identify a track.The unique id for the zone in which the object is dwelling/waiting.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampThe end time when a dwelling object has exited in a zone.com.google.protobuf.Timestamp.BuilderThe end time when a dwelling object has exited in a zone.com.google.protobuf.TimestampOrBuilderThe end time when a dwelling object has exited in a zone.com.google.protobuf.TimestampThe beginning time when a dwelling object has been identified in a zone.com.google.protobuf.Timestamp.BuilderThe beginning time when a dwelling object has been identified in a zone.com.google.protobuf.TimestampOrBuilderThe beginning time when a dwelling object has been identified in a zone.An unique id to identify a track.com.google.protobuf.ByteStringAn unique id to identify a track.The unique id for the zone in which the object is dwelling/waiting.com.google.protobuf.ByteStringThe unique id for the zone in which the object is dwelling/waiting.booleanThe end time when a dwelling object has exited in a zone.booleanThe beginning time when a dwelling object has been identified in a zone.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDwellEndTime(com.google.protobuf.Timestamp value) The end time when a dwelling object has exited in a zone.mergeDwellStartTime(com.google.protobuf.Timestamp value) The beginning time when a dwelling object has been identified in a zone.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDwellEndTime(com.google.protobuf.Timestamp value) The end time when a dwelling object has exited in a zone.setDwellEndTime(com.google.protobuf.Timestamp.Builder builderForValue) The end time when a dwelling object has exited in a zone.setDwellStartTime(com.google.protobuf.Timestamp value) The beginning time when a dwelling object has been identified in a zone.setDwellStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The beginning time when a dwelling object has been identified in a zone.setTrackId(String value) An unique id to identify a track.setTrackIdBytes(com.google.protobuf.ByteString value) An unique id to identify a track.The unique id for the zone in which the object is dwelling/waiting.setZoneIdBytes(com.google.protobuf.ByteString value) The unique id for the zone in which the object is dwelling/waiting.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OccupancyCountingPredictionResult.DwellTimeInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OccupancyCountingPredictionResult.DwellTimeInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<OccupancyCountingPredictionResult.DwellTimeInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public OccupancyCountingPredictionResult.DwellTimeInfo.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OccupancyCountingPredictionResult.DwellTimeInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OccupancyCountingPredictionResult.DwellTimeInfo.Builder>
-
mergeFrom
public OccupancyCountingPredictionResult.DwellTimeInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OccupancyCountingPredictionResult.DwellTimeInfo.Builder>- Throws:
IOException
-
getTrackId
An unique id to identify a track. It should be consistent across frames.
string track_id = 1;- Specified by:
getTrackIdin interfaceOccupancyCountingPredictionResult.DwellTimeInfoOrBuilder- Returns:
- The trackId.
-
getTrackIdBytes
public com.google.protobuf.ByteString getTrackIdBytes()An unique id to identify a track. It should be consistent across frames.
string track_id = 1;- Specified by:
getTrackIdBytesin interfaceOccupancyCountingPredictionResult.DwellTimeInfoOrBuilder- Returns:
- The bytes for trackId.
-
setTrackId
An unique id to identify a track. It should be consistent across frames.
string track_id = 1;- Parameters:
value- The trackId to set.- Returns:
- This builder for chaining.
-
clearTrackId
An unique id to identify a track. It should be consistent across frames.
string track_id = 1;- Returns:
- This builder for chaining.
-
setTrackIdBytes
public OccupancyCountingPredictionResult.DwellTimeInfo.Builder setTrackIdBytes(com.google.protobuf.ByteString value) An unique id to identify a track. It should be consistent across frames.
string track_id = 1;- Parameters:
value- The bytes for trackId to set.- Returns:
- This builder for chaining.
-
getZoneId
The unique id for the zone in which the object is dwelling/waiting.
string zone_id = 2;- Specified by:
getZoneIdin interfaceOccupancyCountingPredictionResult.DwellTimeInfoOrBuilder- Returns:
- The zoneId.
-
getZoneIdBytes
public com.google.protobuf.ByteString getZoneIdBytes()The unique id for the zone in which the object is dwelling/waiting.
string zone_id = 2;- Specified by:
getZoneIdBytesin interfaceOccupancyCountingPredictionResult.DwellTimeInfoOrBuilder- Returns:
- The bytes for zoneId.
-
setZoneId
The unique id for the zone in which the object is dwelling/waiting.
string zone_id = 2;- Parameters:
value- The zoneId to set.- Returns:
- This builder for chaining.
-
clearZoneId
The unique id for the zone in which the object is dwelling/waiting.
string zone_id = 2;- Returns:
- This builder for chaining.
-
setZoneIdBytes
public OccupancyCountingPredictionResult.DwellTimeInfo.Builder setZoneIdBytes(com.google.protobuf.ByteString value) The unique id for the zone in which the object is dwelling/waiting.
string zone_id = 2;- Parameters:
value- The bytes for zoneId to set.- Returns:
- This builder for chaining.
-
hasDwellStartTime
public boolean hasDwellStartTime()The beginning time when a dwelling object has been identified in a zone.
.google.protobuf.Timestamp dwell_start_time = 3;- Specified by:
hasDwellStartTimein interfaceOccupancyCountingPredictionResult.DwellTimeInfoOrBuilder- Returns:
- Whether the dwellStartTime field is set.
-
getDwellStartTime
public com.google.protobuf.Timestamp getDwellStartTime()The beginning time when a dwelling object has been identified in a zone.
.google.protobuf.Timestamp dwell_start_time = 3;- Specified by:
getDwellStartTimein interfaceOccupancyCountingPredictionResult.DwellTimeInfoOrBuilder- Returns:
- The dwellStartTime.
-
setDwellStartTime
public OccupancyCountingPredictionResult.DwellTimeInfo.Builder setDwellStartTime(com.google.protobuf.Timestamp value) The beginning time when a dwelling object has been identified in a zone.
.google.protobuf.Timestamp dwell_start_time = 3; -
setDwellStartTime
public OccupancyCountingPredictionResult.DwellTimeInfo.Builder setDwellStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The beginning time when a dwelling object has been identified in a zone.
.google.protobuf.Timestamp dwell_start_time = 3; -
mergeDwellStartTime
public OccupancyCountingPredictionResult.DwellTimeInfo.Builder mergeDwellStartTime(com.google.protobuf.Timestamp value) The beginning time when a dwelling object has been identified in a zone.
.google.protobuf.Timestamp dwell_start_time = 3; -
clearDwellStartTime
The beginning time when a dwelling object has been identified in a zone.
.google.protobuf.Timestamp dwell_start_time = 3; -
getDwellStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getDwellStartTimeBuilder()The beginning time when a dwelling object has been identified in a zone.
.google.protobuf.Timestamp dwell_start_time = 3; -
getDwellStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDwellStartTimeOrBuilder()The beginning time when a dwelling object has been identified in a zone.
.google.protobuf.Timestamp dwell_start_time = 3;- Specified by:
getDwellStartTimeOrBuilderin interfaceOccupancyCountingPredictionResult.DwellTimeInfoOrBuilder
-
hasDwellEndTime
public boolean hasDwellEndTime()The end time when a dwelling object has exited in a zone.
.google.protobuf.Timestamp dwell_end_time = 4;- Specified by:
hasDwellEndTimein interfaceOccupancyCountingPredictionResult.DwellTimeInfoOrBuilder- Returns:
- Whether the dwellEndTime field is set.
-
getDwellEndTime
public com.google.protobuf.Timestamp getDwellEndTime()The end time when a dwelling object has exited in a zone.
.google.protobuf.Timestamp dwell_end_time = 4;- Specified by:
getDwellEndTimein interfaceOccupancyCountingPredictionResult.DwellTimeInfoOrBuilder- Returns:
- The dwellEndTime.
-
setDwellEndTime
public OccupancyCountingPredictionResult.DwellTimeInfo.Builder setDwellEndTime(com.google.protobuf.Timestamp value) The end time when a dwelling object has exited in a zone.
.google.protobuf.Timestamp dwell_end_time = 4; -
setDwellEndTime
public OccupancyCountingPredictionResult.DwellTimeInfo.Builder setDwellEndTime(com.google.protobuf.Timestamp.Builder builderForValue) The end time when a dwelling object has exited in a zone.
.google.protobuf.Timestamp dwell_end_time = 4; -
mergeDwellEndTime
public OccupancyCountingPredictionResult.DwellTimeInfo.Builder mergeDwellEndTime(com.google.protobuf.Timestamp value) The end time when a dwelling object has exited in a zone.
.google.protobuf.Timestamp dwell_end_time = 4; -
clearDwellEndTime
The end time when a dwelling object has exited in a zone.
.google.protobuf.Timestamp dwell_end_time = 4; -
getDwellEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getDwellEndTimeBuilder()The end time when a dwelling object has exited in a zone.
.google.protobuf.Timestamp dwell_end_time = 4; -
getDwellEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDwellEndTimeOrBuilder()The end time when a dwelling object has exited in a zone.
.google.protobuf.Timestamp dwell_end_time = 4;- Specified by:
getDwellEndTimeOrBuilderin interfaceOccupancyCountingPredictionResult.DwellTimeInfoOrBuilder
-