Class OccupancyCountConfig (0.14.1)

public final class OccupancyCountConfig extends GeneratedMessageV3 implements OccupancyCountConfigOrBuilder

Message describing OccupancyCountConfig.

Protobuf type google.events.cloud.visionai.v1.OccupancyCountConfig

Static Fields

ENABLE_DWELLING_TIME_TRACKING_FIELD_NUMBER

public static final int ENABLE_DWELLING_TIME_TRACKING_FIELD_NUMBER
Field Value
TypeDescription
int

ENABLE_PEOPLE_COUNTING_FIELD_NUMBER

public static final int ENABLE_PEOPLE_COUNTING_FIELD_NUMBER
Field Value
TypeDescription
int

ENABLE_VEHICLE_COUNTING_FIELD_NUMBER

public static final int ENABLE_VEHICLE_COUNTING_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OccupancyCountConfig getDefaultInstance()
Returns
TypeDescription
OccupancyCountConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static OccupancyCountConfig.Builder newBuilder()
Returns
TypeDescription
OccupancyCountConfig.Builder

newBuilder(OccupancyCountConfig prototype)

public static OccupancyCountConfig.Builder newBuilder(OccupancyCountConfig prototype)
Parameter
NameDescription
prototypeOccupancyCountConfig
Returns
TypeDescription
OccupancyCountConfig.Builder

parseDelimitedFrom(InputStream input)

public static OccupancyCountConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OccupancyCountConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OccupancyCountConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static OccupancyCountConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
OccupancyCountConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OccupancyCountConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OccupancyCountConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
OccupancyCountConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OccupancyCountConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OccupancyCountConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
OccupancyCountConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OccupancyCountConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static OccupancyCountConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OccupancyCountConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OccupancyCountConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static OccupancyCountConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
OccupancyCountConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OccupancyCountConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OccupancyCountConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<OccupancyCountConfig> parser()
Returns
TypeDescription
Parser<OccupancyCountConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public OccupancyCountConfig getDefaultInstanceForType()
Returns
TypeDescription
OccupancyCountConfig

getEnableDwellingTimeTracking()

public boolean getEnableDwellingTimeTracking()

Whether to track each invidual object's loitering time inside the scene or specific zone.

bool enable_dwelling_time_tracking = 3;

Returns
TypeDescription
boolean

The enableDwellingTimeTracking.

getEnablePeopleCounting()

public boolean getEnablePeopleCounting()

Whether to count the appearances of people, output counts have 'people' as the key.

bool enable_people_counting = 1;

Returns
TypeDescription
boolean

The enablePeopleCounting.

getEnableVehicleCounting()

public boolean getEnableVehicleCounting()

Whether to count the appearances of vehicles, output counts will have 'vehicle' as the key.

bool enable_vehicle_counting = 2;

Returns
TypeDescription
boolean

The enableVehicleCounting.

getParserForType()

public Parser<OccupancyCountConfig> getParserForType()
Returns
TypeDescription
Parser<OccupancyCountConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public OccupancyCountConfig.Builder newBuilderForType()
Returns
TypeDescription
OccupancyCountConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OccupancyCountConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
OccupancyCountConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public OccupancyCountConfig.Builder toBuilder()
Returns
TypeDescription
OccupancyCountConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException