Class OccupancyCountConfig.Builder (0.14.1)

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

Message describing OccupancyCountConfig.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OccupancyCountConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OccupancyCountConfig.Builder
Overrides

build()

public OccupancyCountConfig build()
Returns
TypeDescription
OccupancyCountConfig

buildPartial()

public OccupancyCountConfig buildPartial()
Returns
TypeDescription
OccupancyCountConfig

clear()

public OccupancyCountConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
OccupancyCountConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public OccupancyCountConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
OccupancyCountConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public OccupancyCountConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
OccupancyCountConfig.Builder
Overrides

clone()

public OccupancyCountConfig.Builder clone()
Returns
TypeDescription
OccupancyCountConfig.Builder
Overrides

getDefaultInstanceForType()

public OccupancyCountConfig getDefaultInstanceForType()
Returns
TypeDescription
OccupancyCountConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(OccupancyCountConfig other)

public OccupancyCountConfig.Builder mergeFrom(OccupancyCountConfig other)
Parameter
NameDescription
otherOccupancyCountConfig
Returns
TypeDescription
OccupancyCountConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OccupancyCountConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OccupancyCountConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public OccupancyCountConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
OccupancyCountConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OccupancyCountConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The enableDwellingTimeTracking to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The enablePeopleCounting to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The enableVehicleCounting to set.

Returns
TypeDescription
OccupancyCountConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public OccupancyCountConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OccupancyCountConfig.Builder
Overrides

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

public OccupancyCountConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
OccupancyCountConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OccupancyCountConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OccupancyCountConfig.Builder
Overrides