Class InstanceGroupManagerActionsSummary.Builder

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

public static final class InstanceGroupManagerActionsSummary.Builder extends com.google.protobuf.GeneratedMessage.Builder<InstanceGroupManagerActionsSummary.Builder> implements InstanceGroupManagerActionsSummaryOrBuilder
 
Protobuf type google.cloud.compute.v1.InstanceGroupManagerActionsSummary
  • 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<InstanceGroupManagerActionsSummary.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<InstanceGroupManagerActionsSummary.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<InstanceGroupManagerActionsSummary.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public InstanceGroupManagerActionsSummary.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<InstanceGroupManagerActionsSummary.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<InstanceGroupManagerActionsSummary.Builder>
    • mergeFrom

      public InstanceGroupManagerActionsSummary.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<InstanceGroupManagerActionsSummary.Builder>
      Throws:
      IOException
    • hasAbandoning

      public boolean hasAbandoning()
       Output only. The total number of instances in the managed instance group
       that are scheduled to be abandoned. Abandoning an instance removes it
       from the managed instance group without deleting it.
       
      optional int32 abandoning = 440023373;
      Specified by:
      hasAbandoning in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      Whether the abandoning field is set.
    • getAbandoning

      public int getAbandoning()
       Output only. The total number of instances in the managed instance group
       that are scheduled to be abandoned. Abandoning an instance removes it
       from the managed instance group without deleting it.
       
      optional int32 abandoning = 440023373;
      Specified by:
      getAbandoning in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      The abandoning.
    • setAbandoning

      public InstanceGroupManagerActionsSummary.Builder setAbandoning(int value)
       Output only. The total number of instances in the managed instance group
       that are scheduled to be abandoned. Abandoning an instance removes it
       from the managed instance group without deleting it.
       
      optional int32 abandoning = 440023373;
      Parameters:
      value - The abandoning to set.
      Returns:
      This builder for chaining.
    • clearAbandoning

       Output only. The total number of instances in the managed instance group
       that are scheduled to be abandoned. Abandoning an instance removes it
       from the managed instance group without deleting it.
       
      optional int32 abandoning = 440023373;
      Returns:
      This builder for chaining.
    • hasCreating

      public boolean hasCreating()
       Output only. The number of instances in the managed instance group that
       are scheduled to be created or are currently being created. If the group
       fails to create any of these instances, it tries again until it creates
       the instance successfully.
      
       If you have disabled creation retries, this field will not be populated;
       instead, the creatingWithoutRetries field will be populated.
       
      optional int32 creating = 209809081;
      Specified by:
      hasCreating in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      Whether the creating field is set.
    • getCreating

      public int getCreating()
       Output only. The number of instances in the managed instance group that
       are scheduled to be created or are currently being created. If the group
       fails to create any of these instances, it tries again until it creates
       the instance successfully.
      
       If you have disabled creation retries, this field will not be populated;
       instead, the creatingWithoutRetries field will be populated.
       
      optional int32 creating = 209809081;
      Specified by:
      getCreating in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      The creating.
    • setCreating

      public InstanceGroupManagerActionsSummary.Builder setCreating(int value)
       Output only. The number of instances in the managed instance group that
       are scheduled to be created or are currently being created. If the group
       fails to create any of these instances, it tries again until it creates
       the instance successfully.
      
       If you have disabled creation retries, this field will not be populated;
       instead, the creatingWithoutRetries field will be populated.
       
      optional int32 creating = 209809081;
      Parameters:
      value - The creating to set.
      Returns:
      This builder for chaining.
    • clearCreating

       Output only. The number of instances in the managed instance group that
       are scheduled to be created or are currently being created. If the group
       fails to create any of these instances, it tries again until it creates
       the instance successfully.
      
       If you have disabled creation retries, this field will not be populated;
       instead, the creatingWithoutRetries field will be populated.
       
      optional int32 creating = 209809081;
      Returns:
      This builder for chaining.
    • hasCreatingWithoutRetries

      public boolean hasCreatingWithoutRetries()
       Output only. The number of instances that the managed instance group
       will attempt to create. The group attempts to create each instance
       only once. If the group fails to create any of these instances, it
       decreases the group's targetSize value accordingly.
       
      optional int32 creating_without_retries = 369916745;
      Specified by:
      hasCreatingWithoutRetries in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      Whether the creatingWithoutRetries field is set.
    • getCreatingWithoutRetries

      public int getCreatingWithoutRetries()
       Output only. The number of instances that the managed instance group
       will attempt to create. The group attempts to create each instance
       only once. If the group fails to create any of these instances, it
       decreases the group's targetSize value accordingly.
       
      optional int32 creating_without_retries = 369916745;
      Specified by:
      getCreatingWithoutRetries in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      The creatingWithoutRetries.
    • setCreatingWithoutRetries

      public InstanceGroupManagerActionsSummary.Builder setCreatingWithoutRetries(int value)
       Output only. The number of instances that the managed instance group
       will attempt to create. The group attempts to create each instance
       only once. If the group fails to create any of these instances, it
       decreases the group's targetSize value accordingly.
       
      optional int32 creating_without_retries = 369916745;
      Parameters:
      value - The creatingWithoutRetries to set.
      Returns:
      This builder for chaining.
    • clearCreatingWithoutRetries

      public InstanceGroupManagerActionsSummary.Builder clearCreatingWithoutRetries()
       Output only. The number of instances that the managed instance group
       will attempt to create. The group attempts to create each instance
       only once. If the group fails to create any of these instances, it
       decreases the group's targetSize value accordingly.
       
      optional int32 creating_without_retries = 369916745;
      Returns:
      This builder for chaining.
    • hasDeleting

      public boolean hasDeleting()
       Output only. The number of instances in the managed instance group that
       are scheduled to be deleted or are currently being deleted.
       
      optional int32 deleting = 282846120;
      Specified by:
      hasDeleting in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      Whether the deleting field is set.
    • getDeleting

      public int getDeleting()
       Output only. The number of instances in the managed instance group that
       are scheduled to be deleted or are currently being deleted.
       
      optional int32 deleting = 282846120;
      Specified by:
      getDeleting in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      The deleting.
    • setDeleting

      public InstanceGroupManagerActionsSummary.Builder setDeleting(int value)
       Output only. The number of instances in the managed instance group that
       are scheduled to be deleted or are currently being deleted.
       
      optional int32 deleting = 282846120;
      Parameters:
      value - The deleting to set.
      Returns:
      This builder for chaining.
    • clearDeleting

       Output only. The number of instances in the managed instance group that
       are scheduled to be deleted or are currently being deleted.
       
      optional int32 deleting = 282846120;
      Returns:
      This builder for chaining.
    • hasNone

      public boolean hasNone()
       Output only. The number of instances in the managed instance group that
       are running and have no scheduled actions.
       
      optional int32 none = 3387192;
      Specified by:
      hasNone in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      Whether the none field is set.
    • getNone

      public int getNone()
       Output only. The number of instances in the managed instance group that
       are running and have no scheduled actions.
       
      optional int32 none = 3387192;
      Specified by:
      getNone in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      The none.
    • setNone

      public InstanceGroupManagerActionsSummary.Builder setNone(int value)
       Output only. The number of instances in the managed instance group that
       are running and have no scheduled actions.
       
      optional int32 none = 3387192;
      Parameters:
      value - The none to set.
      Returns:
      This builder for chaining.
    • clearNone

       Output only. The number of instances in the managed instance group that
       are running and have no scheduled actions.
       
      optional int32 none = 3387192;
      Returns:
      This builder for chaining.
    • hasRecreating

      public boolean hasRecreating()
       Output only. The number of instances in the managed instance group that
       are scheduled to be recreated or are currently being being recreated.
       Recreating an instance deletes the existing root persistent disk
       and creates a new disk from the image that is defined in the
       instance template.
       
      optional int32 recreating = 339057132;
      Specified by:
      hasRecreating in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      Whether the recreating field is set.
    • getRecreating

      public int getRecreating()
       Output only. The number of instances in the managed instance group that
       are scheduled to be recreated or are currently being being recreated.
       Recreating an instance deletes the existing root persistent disk
       and creates a new disk from the image that is defined in the
       instance template.
       
      optional int32 recreating = 339057132;
      Specified by:
      getRecreating in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      The recreating.
    • setRecreating

      public InstanceGroupManagerActionsSummary.Builder setRecreating(int value)
       Output only. The number of instances in the managed instance group that
       are scheduled to be recreated or are currently being being recreated.
       Recreating an instance deletes the existing root persistent disk
       and creates a new disk from the image that is defined in the
       instance template.
       
      optional int32 recreating = 339057132;
      Parameters:
      value - The recreating to set.
      Returns:
      This builder for chaining.
    • clearRecreating

       Output only. The number of instances in the managed instance group that
       are scheduled to be recreated or are currently being being recreated.
       Recreating an instance deletes the existing root persistent disk
       and creates a new disk from the image that is defined in the
       instance template.
       
      optional int32 recreating = 339057132;
      Returns:
      This builder for chaining.
    • hasRefreshing

      public boolean hasRefreshing()
       Output only. The number of instances in the managed instance group that
       are being reconfigured with properties that do not require a restart
       or a recreate action. For example, setting or removing target
       pools for the instance.
       
      optional int32 refreshing = 215044903;
      Specified by:
      hasRefreshing in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      Whether the refreshing field is set.
    • getRefreshing

      public int getRefreshing()
       Output only. The number of instances in the managed instance group that
       are being reconfigured with properties that do not require a restart
       or a recreate action. For example, setting or removing target
       pools for the instance.
       
      optional int32 refreshing = 215044903;
      Specified by:
      getRefreshing in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      The refreshing.
    • setRefreshing

      public InstanceGroupManagerActionsSummary.Builder setRefreshing(int value)
       Output only. The number of instances in the managed instance group that
       are being reconfigured with properties that do not require a restart
       or a recreate action. For example, setting or removing target
       pools for the instance.
       
      optional int32 refreshing = 215044903;
      Parameters:
      value - The refreshing to set.
      Returns:
      This builder for chaining.
    • clearRefreshing

       Output only. The number of instances in the managed instance group that
       are being reconfigured with properties that do not require a restart
       or a recreate action. For example, setting or removing target
       pools for the instance.
       
      optional int32 refreshing = 215044903;
      Returns:
      This builder for chaining.
    • hasRestarting

      public boolean hasRestarting()
       Output only. The number of instances in the managed instance group that
       are scheduled to be restarted or are currently being restarted.
       
      optional int32 restarting = 372312947;
      Specified by:
      hasRestarting in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      Whether the restarting field is set.
    • getRestarting

      public int getRestarting()
       Output only. The number of instances in the managed instance group that
       are scheduled to be restarted or are currently being restarted.
       
      optional int32 restarting = 372312947;
      Specified by:
      getRestarting in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      The restarting.
    • setRestarting

      public InstanceGroupManagerActionsSummary.Builder setRestarting(int value)
       Output only. The number of instances in the managed instance group that
       are scheduled to be restarted or are currently being restarted.
       
      optional int32 restarting = 372312947;
      Parameters:
      value - The restarting to set.
      Returns:
      This builder for chaining.
    • clearRestarting

       Output only. The number of instances in the managed instance group that
       are scheduled to be restarted or are currently being restarted.
       
      optional int32 restarting = 372312947;
      Returns:
      This builder for chaining.
    • hasResuming

      public boolean hasResuming()
       Output only. The number of instances in the managed instance group that
       are scheduled to be resumed or are currently being resumed.
       
      optional int32 resuming = 201100714;
      Specified by:
      hasResuming in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      Whether the resuming field is set.
    • getResuming

      public int getResuming()
       Output only. The number of instances in the managed instance group that
       are scheduled to be resumed or are currently being resumed.
       
      optional int32 resuming = 201100714;
      Specified by:
      getResuming in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      The resuming.
    • setResuming

      public InstanceGroupManagerActionsSummary.Builder setResuming(int value)
       Output only. The number of instances in the managed instance group that
       are scheduled to be resumed or are currently being resumed.
       
      optional int32 resuming = 201100714;
      Parameters:
      value - The resuming to set.
      Returns:
      This builder for chaining.
    • clearResuming

       Output only. The number of instances in the managed instance group that
       are scheduled to be resumed or are currently being resumed.
       
      optional int32 resuming = 201100714;
      Returns:
      This builder for chaining.
    • hasStarting

      public boolean hasStarting()
       Output only. The number of instances in the managed instance group that
       are scheduled to be started or are currently being started.
       
      optional int32 starting = 243064896;
      Specified by:
      hasStarting in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      Whether the starting field is set.
    • getStarting

      public int getStarting()
       Output only. The number of instances in the managed instance group that
       are scheduled to be started or are currently being started.
       
      optional int32 starting = 243064896;
      Specified by:
      getStarting in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      The starting.
    • setStarting

      public InstanceGroupManagerActionsSummary.Builder setStarting(int value)
       Output only. The number of instances in the managed instance group that
       are scheduled to be started or are currently being started.
       
      optional int32 starting = 243064896;
      Parameters:
      value - The starting to set.
      Returns:
      This builder for chaining.
    • clearStarting

       Output only. The number of instances in the managed instance group that
       are scheduled to be started or are currently being started.
       
      optional int32 starting = 243064896;
      Returns:
      This builder for chaining.
    • hasStopping

      public boolean hasStopping()
       Output only. The number of instances in the managed instance group that
       are scheduled to be stopped or are currently being stopped.
       
      optional int32 stopping = 105035892;
      Specified by:
      hasStopping in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      Whether the stopping field is set.
    • getStopping

      public int getStopping()
       Output only. The number of instances in the managed instance group that
       are scheduled to be stopped or are currently being stopped.
       
      optional int32 stopping = 105035892;
      Specified by:
      getStopping in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      The stopping.
    • setStopping

      public InstanceGroupManagerActionsSummary.Builder setStopping(int value)
       Output only. The number of instances in the managed instance group that
       are scheduled to be stopped or are currently being stopped.
       
      optional int32 stopping = 105035892;
      Parameters:
      value - The stopping to set.
      Returns:
      This builder for chaining.
    • clearStopping

       Output only. The number of instances in the managed instance group that
       are scheduled to be stopped or are currently being stopped.
       
      optional int32 stopping = 105035892;
      Returns:
      This builder for chaining.
    • hasSuspending

      public boolean hasSuspending()
       Output only. The number of instances in the managed instance group that
       are scheduled to be suspended or are currently being suspended.
       
      optional int32 suspending = 29113894;
      Specified by:
      hasSuspending in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      Whether the suspending field is set.
    • getSuspending

      public int getSuspending()
       Output only. The number of instances in the managed instance group that
       are scheduled to be suspended or are currently being suspended.
       
      optional int32 suspending = 29113894;
      Specified by:
      getSuspending in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      The suspending.
    • setSuspending

      public InstanceGroupManagerActionsSummary.Builder setSuspending(int value)
       Output only. The number of instances in the managed instance group that
       are scheduled to be suspended or are currently being suspended.
       
      optional int32 suspending = 29113894;
      Parameters:
      value - The suspending to set.
      Returns:
      This builder for chaining.
    • clearSuspending

       Output only. The number of instances in the managed instance group that
       are scheduled to be suspended or are currently being suspended.
       
      optional int32 suspending = 29113894;
      Returns:
      This builder for chaining.
    • hasVerifying

      public boolean hasVerifying()
       Output only. The number of instances in the managed instance group that
       are being verified. See the managedInstances[].currentAction
       property in the listManagedInstances method documentation.
       
      optional int32 verifying = 451612873;
      Specified by:
      hasVerifying in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      Whether the verifying field is set.
    • getVerifying

      public int getVerifying()
       Output only. The number of instances in the managed instance group that
       are being verified. See the managedInstances[].currentAction
       property in the listManagedInstances method documentation.
       
      optional int32 verifying = 451612873;
      Specified by:
      getVerifying in interface InstanceGroupManagerActionsSummaryOrBuilder
      Returns:
      The verifying.
    • setVerifying

      public InstanceGroupManagerActionsSummary.Builder setVerifying(int value)
       Output only. The number of instances in the managed instance group that
       are being verified. See the managedInstances[].currentAction
       property in the listManagedInstances method documentation.
       
      optional int32 verifying = 451612873;
      Parameters:
      value - The verifying to set.
      Returns:
      This builder for chaining.
    • clearVerifying

       Output only. The number of instances in the managed instance group that
       are being verified. See the managedInstances[].currentAction
       property in the listManagedInstances method documentation.
       
      optional int32 verifying = 451612873;
      Returns:
      This builder for chaining.