public static final class OccupancyCountConfig.Builder extends GeneratedMessage.Builder<OccupancyCountConfig.Builder> implements OccupancyCountConfigOrBuilderMessage describing OccupancyCountConfig.
Protobuf type google.cloud.visionai.v1.OccupancyCountConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OccupancyCountConfig.BuilderImplements
OccupancyCountConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
getDefaultInstanceForType()
public OccupancyCountConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OccupancyCountConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OccupancyCountConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OccupancyCountConfig.Builder |
|
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 |
booleanThe 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 |
booleanThe 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 |
booleanThe enableVehicleCounting to set. |
| Returns | |
|---|---|
| Type | Description |
OccupancyCountConfig.Builder |
This builder for chaining. |