Class OccupancyCountConfig.Builder (0.1.0)

public static final class OccupancyCountConfig.Builder extends GeneratedMessageV3.Builder<OccupancyCountConfig.Builder> implements OccupancyCountConfigOrBuilder

Message describing OccupancyCountConfig.

Protobuf type google.cloud.visionai.v1.OccupancyCountConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OccupancyCountConfig build()
Returns
Type Description
OccupancyCountConfig

buildPartial()

public OccupancyCountConfig buildPartial()
Returns
Type Description
OccupancyCountConfig

clear()

public OccupancyCountConfig.Builder clear()
Returns
Type Description
OccupancyCountConfig.Builder
Overrides

clearEnableDwellingTimeTracking()

public OccupancyCountConfig.Builder clearEnableDwellingTimeTracking()

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

bool enable_dwelling_time_tracking = 3;

Returns
Type Description
OccupancyCountConfig.Builder

This builder for chaining.

clearEnablePeopleCounting()

public OccupancyCountConfig.Builder clearEnablePeopleCounting()

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

bool enable_people_counting = 1;

Returns
Type Description
OccupancyCountConfig.Builder

This builder for chaining.

clearEnableVehicleCounting()

public OccupancyCountConfig.Builder clearEnableVehicleCounting()

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

bool enable_vehicle_counting = 2;

Returns
Type Description
OccupancyCountConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public OccupancyCountConfig.Builder clone()
Returns
Type Description
OccupancyCountConfig.Builder
Overrides

getDefaultInstanceForType()

public OccupancyCountConfig getDefaultInstanceForType()
Returns
Type Description
OccupancyCountConfig

getDescriptorForType()

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OccupancyCountConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnableDwellingTimeTracking(boolean value)

public OccupancyCountConfig.Builder setEnableDwellingTimeTracking(boolean value)

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

bool enable_dwelling_time_tracking = 3;

Parameter
Name Description
value boolean

The enableDwellingTimeTracking to set.

Returns
Type Description
OccupancyCountConfig.Builder

This builder for chaining.

setEnablePeopleCounting(boolean value)

public OccupancyCountConfig.Builder setEnablePeopleCounting(boolean value)

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

bool enable_people_counting = 1;

Parameter
Name Description
value boolean

The enablePeopleCounting to set.

Returns
Type Description
OccupancyCountConfig.Builder

This builder for chaining.

setEnableVehicleCounting(boolean value)

public OccupancyCountConfig.Builder setEnableVehicleCounting(boolean value)

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

bool enable_vehicle_counting = 2;

Parameter
Name Description
value boolean

The enableVehicleCounting to set.

Returns
Type Description
OccupancyCountConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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