Class OccupancyCountConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OccupancyCountConfig.Builder>
com.google.cloud.visionai.v1.OccupancyCountConfig.Builder
All Implemented Interfaces:
OccupancyCountConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
OccupancyCountConfig

public static final class OccupancyCountConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<OccupancyCountConfig.Builder> implements OccupancyCountConfigOrBuilder
 Message describing OccupancyCountConfig.
 
Protobuf type google.cloud.visionai.v1.OccupancyCountConfig
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<OccupancyCountConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<OccupancyCountConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<OccupancyCountConfig.Builder>
    • getDefaultInstanceForType

      public OccupancyCountConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public OccupancyCountConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public OccupancyCountConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public OccupancyCountConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OccupancyCountConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<OccupancyCountConfig.Builder>
    • mergeFrom

      public OccupancyCountConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OccupancyCountConfig.Builder>
      Throws:
      IOException
    • getEnablePeopleCounting

      public boolean getEnablePeopleCounting()
       Whether to count the appearances of people, output counts have 'people' as
       the key.
       
      bool enable_people_counting = 1;
      Specified by:
      getEnablePeopleCounting in interface OccupancyCountConfigOrBuilder
      Returns:
      The enablePeopleCounting.
    • setEnablePeopleCounting

      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;
      Parameters:
      value - The enablePeopleCounting to set.
      Returns:
      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:
      This builder for chaining.
    • getEnableVehicleCounting

      public boolean getEnableVehicleCounting()
       Whether to count the appearances of vehicles, output counts will have
       'vehicle' as the key.
       
      bool enable_vehicle_counting = 2;
      Specified by:
      getEnableVehicleCounting in interface OccupancyCountConfigOrBuilder
      Returns:
      The enableVehicleCounting.
    • setEnableVehicleCounting

      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;
      Parameters:
      value - The enableVehicleCounting to set.
      Returns:
      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:
      This builder for chaining.
    • 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;
      Specified by:
      getEnableDwellingTimeTracking in interface OccupancyCountConfigOrBuilder
      Returns:
      The enableDwellingTimeTracking.
    • setEnableDwellingTimeTracking

      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;
      Parameters:
      value - The enableDwellingTimeTracking to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.