Class PatchJobs.PatchConfig.Builder (2.31.0)

public static final class PatchJobs.PatchConfig.Builder extends GeneratedMessageV3.Builder<PatchJobs.PatchConfig.Builder> implements PatchJobs.PatchConfigOrBuilder

Patch configuration specifications. Contains details on how to apply the patch(es) to a VM instance.

Protobuf type google.cloud.osconfig.v1beta.PatchConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PatchJobs.PatchConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PatchJobs.PatchConfig.Builder
Overrides

build()

public PatchJobs.PatchConfig build()
Returns
TypeDescription
PatchJobs.PatchConfig

buildPartial()

public PatchJobs.PatchConfig buildPartial()
Returns
TypeDescription
PatchJobs.PatchConfig

clear()

public PatchJobs.PatchConfig.Builder clear()
Returns
TypeDescription
PatchJobs.PatchConfig.Builder
Overrides

clearApt()

public PatchJobs.PatchConfig.Builder clearApt()

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

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

Returns
TypeDescription
PatchJobs.PatchConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public PatchJobs.PatchConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PatchJobs.PatchConfig.Builder
Overrides

clearGoo()

public PatchJobs.PatchConfig.Builder clearGoo()

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

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

Returns
TypeDescription
PatchJobs.PatchConfig.Builder

clearMigInstancesAllowed()

public PatchJobs.PatchConfig.Builder clearMigInstancesAllowed()

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

bool mig_instances_allowed = 10;

Returns
TypeDescription
PatchJobs.PatchConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PatchJobs.PatchConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PatchJobs.PatchConfig.Builder
Overrides

clearPostStep()

public PatchJobs.PatchConfig.Builder clearPostStep()

The ExecStep to run after the patch update.

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

Returns
TypeDescription
PatchJobs.PatchConfig.Builder

clearPreStep()

public PatchJobs.PatchConfig.Builder clearPreStep()

The ExecStep to run before the patch update.

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

Returns
TypeDescription
PatchJobs.PatchConfig.Builder

clearRebootConfig()

public PatchJobs.PatchConfig.Builder clearRebootConfig()

Post-patch reboot settings.

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

Returns
TypeDescription
PatchJobs.PatchConfig.Builder

This builder for chaining.

clearWindowsUpdate()

public PatchJobs.PatchConfig.Builder clearWindowsUpdate()

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

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

Returns
TypeDescription
PatchJobs.PatchConfig.Builder

clearYum()

public PatchJobs.PatchConfig.Builder clearYum()

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

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

Returns
TypeDescription
PatchJobs.PatchConfig.Builder

clearZypper()

public PatchJobs.PatchConfig.Builder clearZypper()

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

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

Returns
TypeDescription
PatchJobs.PatchConfig.Builder

clone()

public PatchJobs.PatchConfig.Builder clone()
Returns
TypeDescription
PatchJobs.PatchConfig.Builder
Overrides

getApt()

public PatchJobs.AptSettings getApt()

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

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

Returns
TypeDescription
PatchJobs.AptSettings

The apt.

getAptBuilder()

public PatchJobs.AptSettings.Builder getAptBuilder()

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

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

Returns
TypeDescription
PatchJobs.AptSettings.Builder

getAptOrBuilder()

public PatchJobs.AptSettingsOrBuilder getAptOrBuilder()

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

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

Returns
TypeDescription
PatchJobs.AptSettingsOrBuilder

getDefaultInstanceForType()

public PatchJobs.PatchConfig getDefaultInstanceForType()
Returns
TypeDescription
PatchJobs.PatchConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGoo()

public PatchJobs.GooSettings getGoo()

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

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

Returns
TypeDescription
PatchJobs.GooSettings

The goo.

getGooBuilder()

public PatchJobs.GooSettings.Builder getGooBuilder()

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

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

Returns
TypeDescription
PatchJobs.GooSettings.Builder

getGooOrBuilder()

public PatchJobs.GooSettingsOrBuilder getGooOrBuilder()

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

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

Returns
TypeDescription
PatchJobs.GooSettingsOrBuilder

getMigInstancesAllowed()

public 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 PatchJobs.ExecStep getPostStep()

The ExecStep to run after the patch update.

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

Returns
TypeDescription
PatchJobs.ExecStep

The postStep.

getPostStepBuilder()

public PatchJobs.ExecStep.Builder getPostStepBuilder()

The ExecStep to run after the patch update.

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

Returns
TypeDescription
PatchJobs.ExecStep.Builder

getPostStepOrBuilder()

public PatchJobs.ExecStepOrBuilder getPostStepOrBuilder()

The ExecStep to run after the patch update.

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

Returns
TypeDescription
PatchJobs.ExecStepOrBuilder

getPreStep()

public PatchJobs.ExecStep getPreStep()

The ExecStep to run before the patch update.

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

Returns
TypeDescription
PatchJobs.ExecStep

The preStep.

getPreStepBuilder()

public PatchJobs.ExecStep.Builder getPreStepBuilder()

The ExecStep to run before the patch update.

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

Returns
TypeDescription
PatchJobs.ExecStep.Builder

getPreStepOrBuilder()

public PatchJobs.ExecStepOrBuilder getPreStepOrBuilder()

The ExecStep to run before the patch update.

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

Returns
TypeDescription
PatchJobs.ExecStepOrBuilder

getRebootConfig()

public PatchJobs.PatchConfig.RebootConfig getRebootConfig()

Post-patch reboot settings.

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

Returns
TypeDescription
PatchJobs.PatchConfig.RebootConfig

The rebootConfig.

getRebootConfigValue()

public int getRebootConfigValue()

Post-patch reboot settings.

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

Returns
TypeDescription
int

The enum numeric value on the wire for rebootConfig.

getWindowsUpdate()

public PatchJobs.WindowsUpdateSettings getWindowsUpdate()

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

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

Returns
TypeDescription
PatchJobs.WindowsUpdateSettings

The windowsUpdate.

getWindowsUpdateBuilder()

public PatchJobs.WindowsUpdateSettings.Builder getWindowsUpdateBuilder()

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

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

Returns
TypeDescription
PatchJobs.WindowsUpdateSettings.Builder

getWindowsUpdateOrBuilder()

public PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder()

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

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

Returns
TypeDescription
PatchJobs.WindowsUpdateSettingsOrBuilder

getYum()

public PatchJobs.YumSettings getYum()

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

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

Returns
TypeDescription
PatchJobs.YumSettings

The yum.

getYumBuilder()

public PatchJobs.YumSettings.Builder getYumBuilder()

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

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

Returns
TypeDescription
PatchJobs.YumSettings.Builder

getYumOrBuilder()

public PatchJobs.YumSettingsOrBuilder getYumOrBuilder()

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

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

Returns
TypeDescription
PatchJobs.YumSettingsOrBuilder

getZypper()

public PatchJobs.ZypperSettings getZypper()

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

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

Returns
TypeDescription
PatchJobs.ZypperSettings

The zypper.

getZypperBuilder()

public PatchJobs.ZypperSettings.Builder getZypperBuilder()

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

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

Returns
TypeDescription
PatchJobs.ZypperSettings.Builder

getZypperOrBuilder()

public PatchJobs.ZypperSettingsOrBuilder getZypperOrBuilder()

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

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

Returns
TypeDescription
PatchJobs.ZypperSettingsOrBuilder

hasApt()

public boolean hasApt()

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

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

Returns
TypeDescription
boolean

Whether the apt field is set.

hasGoo()

public boolean hasGoo()

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

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

Returns
TypeDescription
boolean

Whether the goo field is set.

hasPostStep()

public boolean hasPostStep()

The ExecStep to run after the patch update.

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

Returns
TypeDescription
boolean

Whether the postStep field is set.

hasPreStep()

public boolean hasPreStep()

The ExecStep to run before the patch update.

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

Returns
TypeDescription
boolean

Whether the preStep field is set.

hasWindowsUpdate()

public boolean hasWindowsUpdate()

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

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

Returns
TypeDescription
boolean

Whether the windowsUpdate field is set.

hasYum()

public boolean hasYum()

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

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

Returns
TypeDescription
boolean

Whether the yum field is set.

hasZypper()

public boolean hasZypper()

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

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

Returns
TypeDescription
boolean

Whether the zypper field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeApt(PatchJobs.AptSettings value)

public PatchJobs.PatchConfig.Builder mergeApt(PatchJobs.AptSettings value)

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

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

Parameter
NameDescription
valuePatchJobs.AptSettings
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

mergeFrom(PatchJobs.PatchConfig other)

public PatchJobs.PatchConfig.Builder mergeFrom(PatchJobs.PatchConfig other)
Parameter
NameDescription
otherPatchJobs.PatchConfig
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PatchJobs.PatchConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.PatchConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PatchJobs.PatchConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PatchJobs.PatchConfig.Builder
Overrides

mergeGoo(PatchJobs.GooSettings value)

public PatchJobs.PatchConfig.Builder mergeGoo(PatchJobs.GooSettings value)

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

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

Parameter
NameDescription
valuePatchJobs.GooSettings
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

mergePostStep(PatchJobs.ExecStep value)

public PatchJobs.PatchConfig.Builder mergePostStep(PatchJobs.ExecStep value)

The ExecStep to run after the patch update.

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

Parameter
NameDescription
valuePatchJobs.ExecStep
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

mergePreStep(PatchJobs.ExecStep value)

public PatchJobs.PatchConfig.Builder mergePreStep(PatchJobs.ExecStep value)

The ExecStep to run before the patch update.

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

Parameter
NameDescription
valuePatchJobs.ExecStep
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PatchJobs.PatchConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PatchJobs.PatchConfig.Builder
Overrides

mergeWindowsUpdate(PatchJobs.WindowsUpdateSettings value)

public PatchJobs.PatchConfig.Builder mergeWindowsUpdate(PatchJobs.WindowsUpdateSettings value)

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

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

Parameter
NameDescription
valuePatchJobs.WindowsUpdateSettings
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

mergeYum(PatchJobs.YumSettings value)

public PatchJobs.PatchConfig.Builder mergeYum(PatchJobs.YumSettings value)

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

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

Parameter
NameDescription
valuePatchJobs.YumSettings
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

mergeZypper(PatchJobs.ZypperSettings value)

public PatchJobs.PatchConfig.Builder mergeZypper(PatchJobs.ZypperSettings value)

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

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

Parameter
NameDescription
valuePatchJobs.ZypperSettings
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

setApt(PatchJobs.AptSettings value)

public PatchJobs.PatchConfig.Builder setApt(PatchJobs.AptSettings value)

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

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

Parameter
NameDescription
valuePatchJobs.AptSettings
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

setApt(PatchJobs.AptSettings.Builder builderForValue)

public PatchJobs.PatchConfig.Builder setApt(PatchJobs.AptSettings.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValuePatchJobs.AptSettings.Builder
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PatchJobs.PatchConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PatchJobs.PatchConfig.Builder
Overrides

setGoo(PatchJobs.GooSettings value)

public PatchJobs.PatchConfig.Builder setGoo(PatchJobs.GooSettings value)

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

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

Parameter
NameDescription
valuePatchJobs.GooSettings
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

setGoo(PatchJobs.GooSettings.Builder builderForValue)

public PatchJobs.PatchConfig.Builder setGoo(PatchJobs.GooSettings.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValuePatchJobs.GooSettings.Builder
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

setMigInstancesAllowed(boolean value)

public PatchJobs.PatchConfig.Builder setMigInstancesAllowed(boolean value)

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

bool mig_instances_allowed = 10;

Parameter
NameDescription
valueboolean

The migInstancesAllowed to set.

Returns
TypeDescription
PatchJobs.PatchConfig.Builder

This builder for chaining.

setPostStep(PatchJobs.ExecStep value)

public PatchJobs.PatchConfig.Builder setPostStep(PatchJobs.ExecStep value)

The ExecStep to run after the patch update.

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

Parameter
NameDescription
valuePatchJobs.ExecStep
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

setPostStep(PatchJobs.ExecStep.Builder builderForValue)

public PatchJobs.PatchConfig.Builder setPostStep(PatchJobs.ExecStep.Builder builderForValue)

The ExecStep to run after the patch update.

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

Parameter
NameDescription
builderForValuePatchJobs.ExecStep.Builder
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

setPreStep(PatchJobs.ExecStep value)

public PatchJobs.PatchConfig.Builder setPreStep(PatchJobs.ExecStep value)

The ExecStep to run before the patch update.

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

Parameter
NameDescription
valuePatchJobs.ExecStep
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

setPreStep(PatchJobs.ExecStep.Builder builderForValue)

public PatchJobs.PatchConfig.Builder setPreStep(PatchJobs.ExecStep.Builder builderForValue)

The ExecStep to run before the patch update.

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

Parameter
NameDescription
builderForValuePatchJobs.ExecStep.Builder
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

setRebootConfig(PatchJobs.PatchConfig.RebootConfig value)

public PatchJobs.PatchConfig.Builder setRebootConfig(PatchJobs.PatchConfig.RebootConfig value)

Post-patch reboot settings.

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

Parameter
NameDescription
valuePatchJobs.PatchConfig.RebootConfig

The rebootConfig to set.

Returns
TypeDescription
PatchJobs.PatchConfig.Builder

This builder for chaining.

setRebootConfigValue(int value)

public PatchJobs.PatchConfig.Builder setRebootConfigValue(int value)

Post-patch reboot settings.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for rebootConfig to set.

Returns
TypeDescription
PatchJobs.PatchConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PatchJobs.PatchConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PatchJobs.PatchConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PatchJobs.PatchConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PatchJobs.PatchConfig.Builder
Overrides

setWindowsUpdate(PatchJobs.WindowsUpdateSettings value)

public PatchJobs.PatchConfig.Builder setWindowsUpdate(PatchJobs.WindowsUpdateSettings value)

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

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

Parameter
NameDescription
valuePatchJobs.WindowsUpdateSettings
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

setWindowsUpdate(PatchJobs.WindowsUpdateSettings.Builder builderForValue)

public PatchJobs.PatchConfig.Builder setWindowsUpdate(PatchJobs.WindowsUpdateSettings.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValuePatchJobs.WindowsUpdateSettings.Builder
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

setYum(PatchJobs.YumSettings value)

public PatchJobs.PatchConfig.Builder setYum(PatchJobs.YumSettings value)

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

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

Parameter
NameDescription
valuePatchJobs.YumSettings
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

setYum(PatchJobs.YumSettings.Builder builderForValue)

public PatchJobs.PatchConfig.Builder setYum(PatchJobs.YumSettings.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValuePatchJobs.YumSettings.Builder
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

setZypper(PatchJobs.ZypperSettings value)

public PatchJobs.PatchConfig.Builder setZypper(PatchJobs.ZypperSettings value)

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

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

Parameter
NameDescription
valuePatchJobs.ZypperSettings
Returns
TypeDescription
PatchJobs.PatchConfig.Builder

setZypper(PatchJobs.ZypperSettings.Builder builderForValue)

public PatchJobs.PatchConfig.Builder setZypper(PatchJobs.ZypperSettings.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValuePatchJobs.ZypperSettings.Builder
Returns
TypeDescription
PatchJobs.PatchConfig.Builder