Interface PatchJobs.PatchConfigOrBuilder (2.33.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PatchJobs.GooSettingsOrBuilder

getMigInstancesAllowed()

public abstract boolean getMigInstancesAllowed()

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

bool mig_instances_allowed = 10;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PatchJobs.ExecStepOrBuilder

getRebootConfig()

public abstract PatchJobs.PatchConfig.RebootConfig getRebootConfig()

Post-patch reboot settings.

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

Returns
TypeDescription
PatchJobs.PatchConfig.RebootConfig

The rebootConfig.

getRebootConfigValue()

public abstract int getRebootConfigValue()

Post-patch reboot settings.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the zypper field is set.