- 2.49.0 (latest)
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
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.v1.PatchConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PatchJobs.PatchConfig.BuilderImplements
PatchJobs.PatchConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PatchJobs.PatchConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
build()
public PatchJobs.PatchConfig build()
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig |
buildPartial()
public PatchJobs.PatchConfig buildPartial()
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig |
clear()
public PatchJobs.PatchConfig.Builder clear()
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
clearApt()
public PatchJobs.PatchConfig.Builder clearApt()
Apt update settings. Use this setting to override the default apt
patch
rules.
.google.cloud.osconfig.v1.AptSettings apt = 3;
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public PatchJobs.PatchConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
clearGoo()
public PatchJobs.PatchConfig.Builder clearGoo()
Goo update settings. Use this setting to override the default goo
patch
rules.
.google.cloud.osconfig.v1.GooSettings goo = 5;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PatchJobs.PatchConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
clearPostStep()
public PatchJobs.PatchConfig.Builder clearPostStep()
The ExecStep
to run after the patch update.
.google.cloud.osconfig.v1.ExecStep post_step = 9;
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
clearPreStep()
public PatchJobs.PatchConfig.Builder clearPreStep()
The ExecStep
to run before the patch update.
.google.cloud.osconfig.v1.ExecStep pre_step = 8;
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
clearRebootConfig()
public PatchJobs.PatchConfig.Builder clearRebootConfig()
Post-patch reboot settings.
.google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1;
Returns | |
---|---|
Type | Description |
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.v1.WindowsUpdateSettings windows_update = 7;
Returns | |
---|---|
Type | Description |
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.v1.YumSettings yum = 4;
Returns | |
---|---|
Type | Description |
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.v1.ZypperSettings zypper = 6;
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
clone()
public PatchJobs.PatchConfig.Builder clone()
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
getApt()
public 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. |
getAptBuilder()
public PatchJobs.AptSettings.Builder getAptBuilder()
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.Builder |
getAptOrBuilder()
public 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 |
getDefaultInstanceForType()
public PatchJobs.PatchConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGoo()
public 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. |
getGooBuilder()
public PatchJobs.GooSettings.Builder getGooBuilder()
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.Builder |
getGooOrBuilder()
public 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 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 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. |
getPostStepBuilder()
public PatchJobs.ExecStep.Builder getPostStepBuilder()
The ExecStep
to run after the patch update.
.google.cloud.osconfig.v1.ExecStep post_step = 9;
Returns | |
---|---|
Type | Description |
PatchJobs.ExecStep.Builder |
getPostStepOrBuilder()
public 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 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. |
getPreStepBuilder()
public PatchJobs.ExecStep.Builder getPreStepBuilder()
The ExecStep
to run before the patch update.
.google.cloud.osconfig.v1.ExecStep pre_step = 8;
Returns | |
---|---|
Type | Description |
PatchJobs.ExecStep.Builder |
getPreStepOrBuilder()
public 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 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 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 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. |
getWindowsUpdateBuilder()
public PatchJobs.WindowsUpdateSettings.Builder getWindowsUpdateBuilder()
Windows update settings. Use this override the default windows patch rules.
.google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7;
Returns | |
---|---|
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder |
getWindowsUpdateOrBuilder()
public 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 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. |
getYumBuilder()
public PatchJobs.YumSettings.Builder getYumBuilder()
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.Builder |
getYumOrBuilder()
public 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 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. |
getZypperBuilder()
public PatchJobs.ZypperSettings.Builder getZypperBuilder()
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.Builder |
getZypperOrBuilder()
public 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 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 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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.v1.AptSettings apt = 3;
Parameter | |
---|---|
Name | Description |
value | PatchJobs.AptSettings |
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
mergeFrom(PatchJobs.PatchConfig other)
public PatchJobs.PatchConfig.Builder mergeFrom(PatchJobs.PatchConfig other)
Parameter | |
---|---|
Name | Description |
other | PatchJobs.PatchConfig |
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PatchJobs.PatchConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PatchJobs.PatchConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
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.v1.GooSettings goo = 5;
Parameter | |
---|---|
Name | Description |
value | PatchJobs.GooSettings |
Returns | |
---|---|
Type | Description |
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.v1.ExecStep post_step = 9;
Parameter | |
---|---|
Name | Description |
value | PatchJobs.ExecStep |
Returns | |
---|---|
Type | Description |
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.v1.ExecStep pre_step = 8;
Parameter | |
---|---|
Name | Description |
value | PatchJobs.ExecStep |
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PatchJobs.PatchConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
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.v1.WindowsUpdateSettings windows_update = 7;
Parameter | |
---|---|
Name | Description |
value | PatchJobs.WindowsUpdateSettings |
Returns | |
---|---|
Type | Description |
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.v1.YumSettings yum = 4;
Parameter | |
---|---|
Name | Description |
value | PatchJobs.YumSettings |
Returns | |
---|---|
Type | Description |
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.v1.ZypperSettings zypper = 6;
Parameter | |
---|---|
Name | Description |
value | PatchJobs.ZypperSettings |
Returns | |
---|---|
Type | Description |
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.v1.AptSettings apt = 3;
Parameter | |
---|---|
Name | Description |
value | PatchJobs.AptSettings |
Returns | |
---|---|
Type | Description |
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.v1.AptSettings apt = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | PatchJobs.AptSettings.Builder |
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PatchJobs.PatchConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
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.v1.GooSettings goo = 5;
Parameter | |
---|---|
Name | Description |
value | PatchJobs.GooSettings |
Returns | |
---|---|
Type | Description |
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.v1.GooSettings goo = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | PatchJobs.GooSettings.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | boolean The migInstancesAllowed to set. |
Returns | |
---|---|
Type | Description |
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.v1.ExecStep post_step = 9;
Parameter | |
---|---|
Name | Description |
value | PatchJobs.ExecStep |
Returns | |
---|---|
Type | Description |
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.v1.ExecStep post_step = 9;
Parameter | |
---|---|
Name | Description |
builderForValue | PatchJobs.ExecStep.Builder |
Returns | |
---|---|
Type | Description |
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.v1.ExecStep pre_step = 8;
Parameter | |
---|---|
Name | Description |
value | PatchJobs.ExecStep |
Returns | |
---|---|
Type | Description |
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.v1.ExecStep pre_step = 8;
Parameter | |
---|---|
Name | Description |
builderForValue | PatchJobs.ExecStep.Builder |
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
setRebootConfig(PatchJobs.PatchConfig.RebootConfig value)
public PatchJobs.PatchConfig.Builder setRebootConfig(PatchJobs.PatchConfig.RebootConfig value)
Post-patch reboot settings.
.google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1;
Parameter | |
---|---|
Name | Description |
value | PatchJobs.PatchConfig.RebootConfig The rebootConfig to set. |
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder | This builder for chaining. |
setRebootConfigValue(int value)
public PatchJobs.PatchConfig.Builder setRebootConfigValue(int value)
Post-patch reboot settings.
.google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for rebootConfig to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PatchJobs.PatchConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |
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.v1.WindowsUpdateSettings windows_update = 7;
Parameter | |
---|---|
Name | Description |
value | PatchJobs.WindowsUpdateSettings |
Returns | |
---|---|
Type | Description |
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.v1.WindowsUpdateSettings windows_update = 7;
Parameter | |
---|---|
Name | Description |
builderForValue | PatchJobs.WindowsUpdateSettings.Builder |
Returns | |
---|---|
Type | Description |
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.v1.YumSettings yum = 4;
Parameter | |
---|---|
Name | Description |
value | PatchJobs.YumSettings |
Returns | |
---|---|
Type | Description |
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.v1.YumSettings yum = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | PatchJobs.YumSettings.Builder |
Returns | |
---|---|
Type | Description |
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.v1.ZypperSettings zypper = 6;
Parameter | |
---|---|
Name | Description |
value | PatchJobs.ZypperSettings |
Returns | |
---|---|
Type | Description |
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.v1.ZypperSettings zypper = 6;
Parameter | |
---|---|
Name | Description |
builderForValue | PatchJobs.ZypperSettings.Builder |
Returns | |
---|---|
Type | Description |
PatchJobs.PatchConfig.Builder |