Package com.google.cloud.osconfig.v1beta
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 Summary
Modifier and TypeMethodDescriptiongetApt()Apt update settings.Apt update settings.getGoo()Goo update settings.Goo update settings.booleanAllows the patch job to run on Managed instance groups (MIGs).The `ExecStep` to run after the patch update.The `ExecStep` to run after the patch update.The `ExecStep` to run before the patch update.The `ExecStep` to run before the patch update.Post-patch reboot settings.intPost-patch reboot settings.Windows update settings.Windows update settings.getYum()Yum update settings.Yum update settings.Zypper update settings.Zypper update settings.booleanhasApt()Apt update settings.booleanhasGoo()Goo update settings.booleanThe `ExecStep` to run after the patch update.booleanThe `ExecStep` to run before the patch update.booleanWindows update settings.booleanhasYum()Yum update settings.booleanZypper update settings.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRebootConfigValue
int getRebootConfigValue()Post-patch reboot settings.
.google.cloud.osconfig.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.AptSettings apt = 3; -
hasYum
boolean hasYum()Yum update settings. Use this setting to override the default `yum` patch rules.
.google.cloud.osconfig.v1beta.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.v1beta.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.v1beta.YumSettings yum = 4; -
hasGoo
boolean hasGoo()Goo update settings. Use this setting to override the default `goo` patch rules.
.google.cloud.osconfig.v1beta.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.v1beta.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.v1beta.GooSettings goo = 5; -
hasZypper
boolean hasZypper()Zypper update settings. Use this setting to override the default `zypper` patch rules.
.google.cloud.osconfig.v1beta.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.v1beta.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.v1beta.ZypperSettings zypper = 6; -
hasWindowsUpdate
boolean hasWindowsUpdate()Windows update settings. Use this override the default windows patch rules.
.google.cloud.osconfig.v1beta.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.v1beta.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.v1beta.WindowsUpdateSettings windows_update = 7; -
hasPreStep
boolean hasPreStep()The `ExecStep` to run before the patch update.
.google.cloud.osconfig.v1beta.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.v1beta.ExecStep pre_step = 8;- Returns:
- The preStep.
-
getPreStepOrBuilder
PatchJobs.ExecStepOrBuilder getPreStepOrBuilder()The `ExecStep` to run before the patch update.
.google.cloud.osconfig.v1beta.ExecStep pre_step = 8; -
hasPostStep
boolean hasPostStep()The `ExecStep` to run after the patch update.
.google.cloud.osconfig.v1beta.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.v1beta.ExecStep post_step = 9;- Returns:
- The postStep.
-
getPostStepOrBuilder
PatchJobs.ExecStepOrBuilder getPostStepOrBuilder()The `ExecStep` to run after the patch update.
.google.cloud.osconfig.v1beta.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.
-