Interface PatchJobs.PatchConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    PatchJobs.PatchConfig, PatchJobs.PatchConfig.Builder
    Enclosing class:
    PatchJobs

    public static interface PatchJobs.PatchConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getRebootConfigValue

        int getRebootConfigValue()
         Post-patch reboot settings.
         
        .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1;
        Returns:
        The enum numeric value on the wire for rebootConfig.
      • getRebootConfig

        PatchJobs.PatchConfig.RebootConfig getRebootConfig()
         Post-patch reboot settings.
         
        .google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1;
        Returns:
        The rebootConfig.
      • hasApt

        boolean hasApt()
         Apt update settings. Use this setting to override the default `apt` patch
         rules.
         
        .google.cloud.osconfig.v1.AptSettings apt = 3;
        Returns:
        Whether the apt field is set.
      • getApt

        PatchJobs.AptSettings getApt()
         Apt update settings. Use this setting to override the default `apt` patch
         rules.
         
        .google.cloud.osconfig.v1.AptSettings apt = 3;
        Returns:
        The apt.
      • getAptOrBuilder

        PatchJobs.AptSettingsOrBuilder getAptOrBuilder()
         Apt update settings. Use this setting to override the default `apt` patch
         rules.
         
        .google.cloud.osconfig.v1.AptSettings apt = 3;
      • hasYum

        boolean hasYum()
         Yum update settings. Use this setting to override the default `yum` patch
         rules.
         
        .google.cloud.osconfig.v1.YumSettings yum = 4;
        Returns:
        Whether the yum field is set.
      • getYum

        PatchJobs.YumSettings getYum()
         Yum update settings. Use this setting to override the default `yum` patch
         rules.
         
        .google.cloud.osconfig.v1.YumSettings yum = 4;
        Returns:
        The yum.
      • getYumOrBuilder

        PatchJobs.YumSettingsOrBuilder getYumOrBuilder()
         Yum update settings. Use this setting to override the default `yum` patch
         rules.
         
        .google.cloud.osconfig.v1.YumSettings yum = 4;
      • hasGoo

        boolean hasGoo()
         Goo update settings. Use this setting to override the default `goo` patch
         rules.
         
        .google.cloud.osconfig.v1.GooSettings goo = 5;
        Returns:
        Whether the goo field is set.
      • getGoo

        PatchJobs.GooSettings getGoo()
         Goo update settings. Use this setting to override the default `goo` patch
         rules.
         
        .google.cloud.osconfig.v1.GooSettings goo = 5;
        Returns:
        The goo.
      • getGooOrBuilder

        PatchJobs.GooSettingsOrBuilder getGooOrBuilder()
         Goo update settings. Use this setting to override the default `goo` patch
         rules.
         
        .google.cloud.osconfig.v1.GooSettings goo = 5;
      • hasZypper

        boolean hasZypper()
         Zypper update settings. Use this setting to override the default `zypper`
         patch rules.
         
        .google.cloud.osconfig.v1.ZypperSettings zypper = 6;
        Returns:
        Whether the zypper field is set.
      • getZypper

        PatchJobs.ZypperSettings getZypper()
         Zypper update settings. Use this setting to override the default `zypper`
         patch rules.
         
        .google.cloud.osconfig.v1.ZypperSettings zypper = 6;
        Returns:
        The zypper.
      • getZypperOrBuilder

        PatchJobs.ZypperSettingsOrBuilder getZypperOrBuilder()
         Zypper update settings. Use this setting to override the default `zypper`
         patch rules.
         
        .google.cloud.osconfig.v1.ZypperSettings zypper = 6;
      • hasWindowsUpdate

        boolean hasWindowsUpdate()
         Windows update settings. Use this override the default windows patch rules.
         
        .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7;
        Returns:
        Whether the windowsUpdate field is set.
      • getWindowsUpdate

        PatchJobs.WindowsUpdateSettings getWindowsUpdate()
         Windows update settings. Use this override the default windows patch rules.
         
        .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7;
        Returns:
        The windowsUpdate.
      • getWindowsUpdateOrBuilder

        PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder()
         Windows update settings. Use this override the default windows patch rules.
         
        .google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7;
      • hasPreStep

        boolean hasPreStep()
         The `ExecStep` to run before the patch update.
         
        .google.cloud.osconfig.v1.ExecStep pre_step = 8;
        Returns:
        Whether the preStep field is set.
      • getPreStep

        PatchJobs.ExecStep getPreStep()
         The `ExecStep` to run before the patch update.
         
        .google.cloud.osconfig.v1.ExecStep pre_step = 8;
        Returns:
        The preStep.
      • getPreStepOrBuilder

        PatchJobs.ExecStepOrBuilder getPreStepOrBuilder()
         The `ExecStep` to run before the patch update.
         
        .google.cloud.osconfig.v1.ExecStep pre_step = 8;
      • hasPostStep

        boolean hasPostStep()
         The `ExecStep` to run after the patch update.
         
        .google.cloud.osconfig.v1.ExecStep post_step = 9;
        Returns:
        Whether the postStep field is set.
      • getPostStep

        PatchJobs.ExecStep getPostStep()
         The `ExecStep` to run after the patch update.
         
        .google.cloud.osconfig.v1.ExecStep post_step = 9;
        Returns:
        The postStep.
      • getPostStepOrBuilder

        PatchJobs.ExecStepOrBuilder getPostStepOrBuilder()
         The `ExecStep` to run after the patch update.
         
        .google.cloud.osconfig.v1.ExecStep post_step = 9;
      • getMigInstancesAllowed

        boolean getMigInstancesAllowed()
         Allows the patch job to run on Managed instance groups (MIGs).
         
        bool mig_instances_allowed = 10;
        Returns:
        The migInstancesAllowed.