Class InstanceGroupManagerStatusStateful.Builder

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

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

      public InstanceGroupManagerStatusStateful 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 InstanceGroupManagerStatusStateful buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public InstanceGroupManagerStatusStateful.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<InstanceGroupManagerStatusStateful.Builder>
      Throws:
      IOException
    • hasHasStatefulConfig

      public boolean hasHasStatefulConfig()
       Output only. A bit indicating whether the managed instance group
       has stateful configuration, that is, if you have configured any items
       in a stateful policy or in per-instance configs.
       The group might report that it has no stateful configuration even when
       there is still some preserved state on a managed instance, for example,
       if you have deleted all PICs but not yet applied those deletions.
       
      optional bool has_stateful_config = 110474224;
      Specified by:
      hasHasStatefulConfig in interface InstanceGroupManagerStatusStatefulOrBuilder
      Returns:
      Whether the hasStatefulConfig field is set.
    • getHasStatefulConfig

      public boolean getHasStatefulConfig()
       Output only. A bit indicating whether the managed instance group
       has stateful configuration, that is, if you have configured any items
       in a stateful policy or in per-instance configs.
       The group might report that it has no stateful configuration even when
       there is still some preserved state on a managed instance, for example,
       if you have deleted all PICs but not yet applied those deletions.
       
      optional bool has_stateful_config = 110474224;
      Specified by:
      getHasStatefulConfig in interface InstanceGroupManagerStatusStatefulOrBuilder
      Returns:
      The hasStatefulConfig.
    • setHasStatefulConfig

      public InstanceGroupManagerStatusStateful.Builder setHasStatefulConfig(boolean value)
       Output only. A bit indicating whether the managed instance group
       has stateful configuration, that is, if you have configured any items
       in a stateful policy or in per-instance configs.
       The group might report that it has no stateful configuration even when
       there is still some preserved state on a managed instance, for example,
       if you have deleted all PICs but not yet applied those deletions.
       
      optional bool has_stateful_config = 110474224;
      Parameters:
      value - The hasStatefulConfig to set.
      Returns:
      This builder for chaining.
    • clearHasStatefulConfig

      public InstanceGroupManagerStatusStateful.Builder clearHasStatefulConfig()
       Output only. A bit indicating whether the managed instance group
       has stateful configuration, that is, if you have configured any items
       in a stateful policy or in per-instance configs.
       The group might report that it has no stateful configuration even when
       there is still some preserved state on a managed instance, for example,
       if you have deleted all PICs but not yet applied those deletions.
       
      optional bool has_stateful_config = 110474224;
      Returns:
      This builder for chaining.
    • hasPerInstanceConfigs

      public boolean hasPerInstanceConfigs()
       Output only. Status of per-instance configurations on the instances.
       
      optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
      Specified by:
      hasPerInstanceConfigs in interface InstanceGroupManagerStatusStatefulOrBuilder
      Returns:
      Whether the perInstanceConfigs field is set.
    • getPerInstanceConfigs

       Output only. Status of per-instance configurations on the instances.
       
      optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
      Specified by:
      getPerInstanceConfigs in interface InstanceGroupManagerStatusStatefulOrBuilder
      Returns:
      The perInstanceConfigs.
    • setPerInstanceConfigs

       Output only. Status of per-instance configurations on the instances.
       
      optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
    • setPerInstanceConfigs

       Output only. Status of per-instance configurations on the instances.
       
      optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
    • mergePerInstanceConfigs

       Output only. Status of per-instance configurations on the instances.
       
      optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
    • clearPerInstanceConfigs

      public InstanceGroupManagerStatusStateful.Builder clearPerInstanceConfigs()
       Output only. Status of per-instance configurations on the instances.
       
      optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
    • getPerInstanceConfigsBuilder

      public InstanceGroupManagerStatusStatefulPerInstanceConfigs.Builder getPerInstanceConfigsBuilder()
       Output only. Status of per-instance configurations on the instances.
       
      optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
    • getPerInstanceConfigsOrBuilder

      public InstanceGroupManagerStatusStatefulPerInstanceConfigsOrBuilder getPerInstanceConfigsOrBuilder()
       Output only. Status of per-instance configurations on the instances.
       
      optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
      Specified by:
      getPerInstanceConfigsOrBuilder in interface InstanceGroupManagerStatusStatefulOrBuilder