Package viam.app.v1

Class App.FragmentUsage.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.FragmentUsage,App.FragmentUsage.Builder>
viam.app.v1.App.FragmentUsage.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, App.FragmentUsageOrBuilder
Enclosing class:
App.FragmentUsage

public static final class App.FragmentUsage.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<App.FragmentUsage,App.FragmentUsage.Builder> implements App.FragmentUsageOrBuilder
Protobuf type viam.app.v1.FragmentUsage
  • Method Details

    • getFragmentId

      public String getFragmentId()
      string fragment_id = 1 [json_name = "fragmentId"];
      Specified by:
      getFragmentId in interface App.FragmentUsageOrBuilder
      Returns:
      The fragmentId.
    • getFragmentIdBytes

      public com.google.protobuf.ByteString getFragmentIdBytes()
      string fragment_id = 1 [json_name = "fragmentId"];
      Specified by:
      getFragmentIdBytes in interface App.FragmentUsageOrBuilder
      Returns:
      The bytes for fragmentId.
    • setFragmentId

      public App.FragmentUsage.Builder setFragmentId(String value)
      string fragment_id = 1 [json_name = "fragmentId"];
      Parameters:
      value - The fragmentId to set.
      Returns:
      This builder for chaining.
    • clearFragmentId

      public App.FragmentUsage.Builder clearFragmentId()
      string fragment_id = 1 [json_name = "fragmentId"];
      Returns:
      This builder for chaining.
    • setFragmentIdBytes

      public App.FragmentUsage.Builder setFragmentIdBytes(com.google.protobuf.ByteString value)
      string fragment_id = 1 [json_name = "fragmentId"];
      Parameters:
      value - The bytes for fragmentId to set.
      Returns:
      This builder for chaining.
    • getOrganizations

      public int getOrganizations()
      int32 organizations = 2 [json_name = "organizations"];
      Specified by:
      getOrganizations in interface App.FragmentUsageOrBuilder
      Returns:
      The organizations.
    • setOrganizations

      public App.FragmentUsage.Builder setOrganizations(int value)
      int32 organizations = 2 [json_name = "organizations"];
      Parameters:
      value - The organizations to set.
      Returns:
      This builder for chaining.
    • clearOrganizations

      public App.FragmentUsage.Builder clearOrganizations()
      int32 organizations = 2 [json_name = "organizations"];
      Returns:
      This builder for chaining.
    • getMachines

      public int getMachines()
      int32 machines = 3 [json_name = "machines"];
      Specified by:
      getMachines in interface App.FragmentUsageOrBuilder
      Returns:
      The machines.
    • setMachines

      public App.FragmentUsage.Builder setMachines(int value)
      int32 machines = 3 [json_name = "machines"];
      Parameters:
      value - The machines to set.
      Returns:
      This builder for chaining.
    • clearMachines

      public App.FragmentUsage.Builder clearMachines()
      int32 machines = 3 [json_name = "machines"];
      Returns:
      This builder for chaining.
    • getMachinesInCurrentOrg

      public int getMachinesInCurrentOrg()
      int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"];
      Specified by:
      getMachinesInCurrentOrg in interface App.FragmentUsageOrBuilder
      Returns:
      The machinesInCurrentOrg.
    • setMachinesInCurrentOrg

      public App.FragmentUsage.Builder setMachinesInCurrentOrg(int value)
      int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"];
      Parameters:
      value - The machinesInCurrentOrg to set.
      Returns:
      This builder for chaining.
    • clearMachinesInCurrentOrg

      public App.FragmentUsage.Builder clearMachinesInCurrentOrg()
      int32 machines_in_current_org = 4 [json_name = "machinesInCurrentOrg"];
      Returns:
      This builder for chaining.