Interface PatchJobs.PatchConfigOrBuilder (2.51.0)

public static interface PatchJobs.PatchConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApt()

public abstract PatchJobs.AptSettings getApt()

Apt update settings. Use this setting to override the default apt patch rules.

.google.cloud.osconfig.v1.AptSettings apt = 3;

Returns
Type Description
PatchJobs.AptSettings

The apt.

getAptOrBuilder()

public abstract PatchJobs.AptSettingsOrBuilder getAptOrBuilder()

Apt update settings. Use this setting to override the default apt patch rules.

.google.cloud.osconfig.v1.AptSettings apt = 3;

Returns
Type Description
PatchJobs.AptSettingsOrBuilder

getGoo()

public abstract PatchJobs.GooSettings getGoo()

Goo update settings. Use this setting to override the default goo patch rules.

.google.cloud.osconfig.v1.GooSettings goo = 5;

Returns
Type Description
PatchJobs.GooSettings

The goo.

getGooOrBuilder()

public abstract PatchJobs.GooSettingsOrBuilder getGooOrBuilder()

Goo update settings. Use this setting to override the default goo patch rules.

.google.cloud.osconfig.v1.GooSettings goo = 5;

Returns
Type Description
PatchJobs.GooSettingsOrBuilder

getMigInstancesAllowed()

public abstract boolean getMigInstancesAllowed()

Allows the patch job to run on Managed instance groups (MIGs).

bool mig_instances_allowed = 10;

Returns
Type Description
boolean

The migInstancesAllowed.

getPostStep()

public abstract PatchJobs.ExecStep getPostStep()

The ExecStep to run after the patch update.

.google.cloud.osconfig.v1.ExecStep post_step = 9;

Returns
Type Description
PatchJobs.ExecStep

The postStep.

getPostStepOrBuilder()

public abstract PatchJobs.ExecStepOrBuilder getPostStepOrBuilder()

The ExecStep to run after the patch update.

.google.cloud.osconfig.v1.ExecStep post_step = 9;

Returns
Type Description
PatchJobs.ExecStepOrBuilder

getPreStep()

public abstract PatchJobs.ExecStep getPreStep()

The ExecStep to run before the patch update.

.google.cloud.osconfig.v1.ExecStep pre_step = 8;

Returns
Type Description
PatchJobs.ExecStep

The preStep.

getPreStepOrBuilder()

public abstract PatchJobs.ExecStepOrBuilder getPreStepOrBuilder()

The ExecStep to run before the patch update.

.google.cloud.osconfig.v1.ExecStep pre_step = 8;

Returns
Type Description
PatchJobs.ExecStepOrBuilder

getRebootConfig()

public abstract PatchJobs.PatchConfig.RebootConfig getRebootConfig()

Post-patch reboot settings.

.google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1;

Returns
Type Description
PatchJobs.PatchConfig.RebootConfig

The rebootConfig.

getRebootConfigValue()

public abstract int getRebootConfigValue()

Post-patch reboot settings.

.google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1;

Returns
Type Description
int

The enum numeric value on the wire for rebootConfig.

getWindowsUpdate()

public abstract PatchJobs.WindowsUpdateSettings getWindowsUpdate()

Windows update settings. Use this override the default windows patch rules.

.google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7;

Returns
Type Description
PatchJobs.WindowsUpdateSettings

The windowsUpdate.

getWindowsUpdateOrBuilder()

public abstract PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder()

Windows update settings. Use this override the default windows patch rules.

.google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7;

Returns
Type Description
PatchJobs.WindowsUpdateSettingsOrBuilder

getYum()

public abstract PatchJobs.YumSettings getYum()

Yum update settings. Use this setting to override the default yum patch rules.

.google.cloud.osconfig.v1.YumSettings yum = 4;

Returns
Type Description
PatchJobs.YumSettings

The yum.

getYumOrBuilder()

public abstract PatchJobs.YumSettingsOrBuilder getYumOrBuilder()

Yum update settings. Use this setting to override the default yum patch rules.

.google.cloud.osconfig.v1.YumSettings yum = 4;

Returns
Type Description
PatchJobs.YumSettingsOrBuilder

getZypper()

public abstract PatchJobs.ZypperSettings getZypper()

Zypper update settings. Use this setting to override the default zypper patch rules.

.google.cloud.osconfig.v1.ZypperSettings zypper = 6;

Returns
Type Description
PatchJobs.ZypperSettings

The zypper.

getZypperOrBuilder()

public abstract PatchJobs.ZypperSettingsOrBuilder getZypperOrBuilder()

Zypper update settings. Use this setting to override the default zypper patch rules.

.google.cloud.osconfig.v1.ZypperSettings zypper = 6;

Returns
Type Description
PatchJobs.ZypperSettingsOrBuilder

hasApt()

public abstract boolean hasApt()

Apt update settings. Use this setting to override the default apt patch rules.

.google.cloud.osconfig.v1.AptSettings apt = 3;

Returns
Type Description
boolean

Whether the apt field is set.

hasGoo()

public abstract boolean hasGoo()

Goo update settings. Use this setting to override the default goo patch rules.

.google.cloud.osconfig.v1.GooSettings goo = 5;

Returns
Type Description
boolean

Whether the goo field is set.

hasPostStep()

public abstract boolean hasPostStep()

The ExecStep to run after the patch update.

.google.cloud.osconfig.v1.ExecStep post_step = 9;

Returns
Type Description
boolean

Whether the postStep field is set.

hasPreStep()

public abstract boolean hasPreStep()

The ExecStep to run before the patch update.

.google.cloud.osconfig.v1.ExecStep pre_step = 8;

Returns
Type Description
boolean

Whether the preStep field is set.

hasWindowsUpdate()

public abstract boolean hasWindowsUpdate()

Windows update settings. Use this override the default windows patch rules.

.google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7;

Returns
Type Description
boolean

Whether the windowsUpdate field is set.

hasYum()

public abstract boolean hasYum()

Yum update settings. Use this setting to override the default yum patch rules.

.google.cloud.osconfig.v1.YumSettings yum = 4;

Returns
Type Description
boolean

Whether the yum field is set.

hasZypper()

public abstract boolean hasZypper()

Zypper update settings. Use this setting to override the default zypper patch rules.

.google.cloud.osconfig.v1.ZypperSettings zypper = 6;

Returns
Type Description
boolean

Whether the zypper field is set.