Class InstanceGroupManagerInstanceLifecyclePolicy.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceLifecyclePolicy.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.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceLifecyclePolicy.Builder>
      • getDefaultInstanceForType

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceGroupManagerInstanceLifecyclePolicy.Builder>
      • hasForceUpdateOnRepair

        public boolean hasForceUpdateOnRepair()
         A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
         Check the ForceUpdateOnRepair enum for the list of possible values.
         
        optional string force_update_on_repair = 356302027;
        Specified by:
        hasForceUpdateOnRepair in interface InstanceGroupManagerInstanceLifecyclePolicyOrBuilder
        Returns:
        Whether the forceUpdateOnRepair field is set.
      • getForceUpdateOnRepair

        public String getForceUpdateOnRepair()
         A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
         Check the ForceUpdateOnRepair enum for the list of possible values.
         
        optional string force_update_on_repair = 356302027;
        Specified by:
        getForceUpdateOnRepair in interface InstanceGroupManagerInstanceLifecyclePolicyOrBuilder
        Returns:
        The forceUpdateOnRepair.
      • getForceUpdateOnRepairBytes

        public com.google.protobuf.ByteString getForceUpdateOnRepairBytes()
         A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
         Check the ForceUpdateOnRepair enum for the list of possible values.
         
        optional string force_update_on_repair = 356302027;
        Specified by:
        getForceUpdateOnRepairBytes in interface InstanceGroupManagerInstanceLifecyclePolicyOrBuilder
        Returns:
        The bytes for forceUpdateOnRepair.
      • setForceUpdateOnRepair

        public InstanceGroupManagerInstanceLifecyclePolicy.Builder setForceUpdateOnRepair​(String value)
         A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
         Check the ForceUpdateOnRepair enum for the list of possible values.
         
        optional string force_update_on_repair = 356302027;
        Parameters:
        value - The forceUpdateOnRepair to set.
        Returns:
        This builder for chaining.
      • clearForceUpdateOnRepair

        public InstanceGroupManagerInstanceLifecyclePolicy.Builder clearForceUpdateOnRepair()
         A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
         Check the ForceUpdateOnRepair enum for the list of possible values.
         
        optional string force_update_on_repair = 356302027;
        Returns:
        This builder for chaining.
      • setForceUpdateOnRepairBytes

        public InstanceGroupManagerInstanceLifecyclePolicy.Builder setForceUpdateOnRepairBytes​(com.google.protobuf.ByteString value)
         A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
         Check the ForceUpdateOnRepair enum for the list of possible values.
         
        optional string force_update_on_repair = 356302027;
        Parameters:
        value - The bytes for forceUpdateOnRepair to set.
        Returns:
        This builder for chaining.