Class OccupancyCountConfig (0.1.0)

public final class OccupancyCountConfig extends GeneratedMessageV3 implements OccupancyCountConfigOrBuilder

Message describing OccupancyCountConfig.

Protobuf type google.cloud.visionai.v1.OccupancyCountConfig

Static Fields

ENABLE_DWELLING_TIME_TRACKING_FIELD_NUMBER

public static final int ENABLE_DWELLING_TIME_TRACKING_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_PEOPLE_COUNTING_FIELD_NUMBER

public static final int ENABLE_PEOPLE_COUNTING_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_VEHICLE_COUNTING_FIELD_NUMBER

public static final int ENABLE_VEHICLE_COUNTING_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OccupancyCountConfig getDefaultInstance()
Returns
Type Description
OccupancyCountConfig

getDescriptor()

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

newBuilder()

public static OccupancyCountConfig.Builder newBuilder()
Returns
Type Description
OccupancyCountConfig.Builder

newBuilder(OccupancyCountConfig prototype)

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

parseDelimitedFrom(InputStream input)

public static OccupancyCountConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OccupancyCountConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static OccupancyCountConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OccupancyCountConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static OccupancyCountConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OccupancyCountConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static OccupancyCountConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OccupancyCountConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static OccupancyCountConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OccupancyCountConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<OccupancyCountConfig> parser()
Returns
Type Description
Parser<OccupancyCountConfig>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public OccupancyCountConfig getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

The enableVehicleCounting.

getParserForType()

public Parser<OccupancyCountConfig> getParserForType()
Returns
Type Description
Parser<OccupancyCountConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 OccupancyCountConfig.Builder newBuilderForType()
Returns
Type Description
OccupancyCountConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public OccupancyCountConfig.Builder toBuilder()
Returns
Type Description
OccupancyCountConfig.Builder

writeTo(CodedOutputStream output)

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