Class InstanceGroupManagerAutoHealingPolicy.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<InstanceGroupManagerAutoHealingPolicy.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<InstanceGroupManagerAutoHealingPolicy.Builder>
      • getDefaultInstanceForType

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

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

        public InstanceGroupManagerAutoHealingPolicy 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<InstanceGroupManagerAutoHealingPolicy.Builder>
      • setHealthCheck

        public InstanceGroupManagerAutoHealingPolicy.Builder setHealthCheck​(String value)
         The URL for the health check that signals autohealing.
         
        optional string health_check = 308876645;
        Parameters:
        value - The healthCheck to set.
        Returns:
        This builder for chaining.
      • clearHealthCheck

        public InstanceGroupManagerAutoHealingPolicy.Builder clearHealthCheck()
         The URL for the health check that signals autohealing.
         
        optional string health_check = 308876645;
        Returns:
        This builder for chaining.
      • setHealthCheckBytes

        public InstanceGroupManagerAutoHealingPolicy.Builder setHealthCheckBytes​(com.google.protobuf.ByteString value)
         The URL for the health check that signals autohealing.
         
        optional string health_check = 308876645;
        Parameters:
        value - The bytes for healthCheck to set.
        Returns:
        This builder for chaining.
      • hasInitialDelaySec

        public boolean hasInitialDelaySec()
         The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
         
        optional int32 initial_delay_sec = 263207002;
        Specified by:
        hasInitialDelaySec in interface InstanceGroupManagerAutoHealingPolicyOrBuilder
        Returns:
        Whether the initialDelaySec field is set.
      • getInitialDelaySec

        public int getInitialDelaySec()
         The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
         
        optional int32 initial_delay_sec = 263207002;
        Specified by:
        getInitialDelaySec in interface InstanceGroupManagerAutoHealingPolicyOrBuilder
        Returns:
        The initialDelaySec.
      • setInitialDelaySec

        public InstanceGroupManagerAutoHealingPolicy.Builder setInitialDelaySec​(int value)
         The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
         
        optional int32 initial_delay_sec = 263207002;
        Parameters:
        value - The initialDelaySec to set.
        Returns:
        This builder for chaining.
      • clearInitialDelaySec

        public InstanceGroupManagerAutoHealingPolicy.Builder clearInitialDelaySec()
         The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
         
        optional int32 initial_delay_sec = 263207002;
        Returns:
        This builder for chaining.