public static final class PatchJobs.PatchConfig extends GeneratedMessageV3 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 Fields
APT_FIELD_NUMBER
public static final int APT_FIELD_NUMBER
Field Value
GOO_FIELD_NUMBER
public static final int GOO_FIELD_NUMBER
Field Value
POST_STEP_FIELD_NUMBER
public static final int POST_STEP_FIELD_NUMBER
Field Value
PRE_STEP_FIELD_NUMBER
public static final int PRE_STEP_FIELD_NUMBER
Field Value
REBOOT_CONFIG_FIELD_NUMBER
public static final int REBOOT_CONFIG_FIELD_NUMBER
Field Value
WINDOWS_UPDATE_FIELD_NUMBER
public static final int WINDOWS_UPDATE_FIELD_NUMBER
Field Value
YUM_FIELD_NUMBER
public static final int YUM_FIELD_NUMBER
Field Value
ZYPPER_FIELD_NUMBER
public static final int ZYPPER_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PatchJobs.PatchConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PatchJobs.PatchConfig.Builder newBuilder()
Returns
newBuilder(PatchJobs.PatchConfig prototype)
public static PatchJobs.PatchConfig.Builder newBuilder(PatchJobs.PatchConfig prototype)
Parameter
Returns
public static PatchJobs.PatchConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PatchJobs.PatchConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PatchJobs.PatchConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs.PatchConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PatchJobs.PatchConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs.PatchConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PatchJobs.PatchConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PatchJobs.PatchConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PatchJobs.PatchConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PatchJobs.PatchConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PatchJobs.PatchConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs.PatchConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PatchJobs.PatchConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
getDefaultInstanceForType()
public PatchJobs.PatchConfig getDefaultInstanceForType()
Returns
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
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
getParserForType()
public Parser<PatchJobs.PatchConfig> getParserForType()
Returns
Overrides
getPostStep()
public PatchJobs.ExecStep getPostStep()
The ExecStep
to run after the patch update.
.google.cloud.osconfig.v1beta.ExecStep post_step = 9;
Returns
getPostStepOrBuilder()
public PatchJobs.ExecStepOrBuilder getPostStepOrBuilder()
The ExecStep
to run after the patch update.
.google.cloud.osconfig.v1beta.ExecStep post_step = 9;
Returns
getPreStep()
public PatchJobs.ExecStep getPreStep()
The ExecStep
to run before the patch update.
.google.cloud.osconfig.v1beta.ExecStep pre_step = 8;
Returns
getPreStepOrBuilder()
public PatchJobs.ExecStepOrBuilder getPreStepOrBuilder()
The ExecStep
to run before the patch update.
.google.cloud.osconfig.v1beta.ExecStep pre_step = 8;
Returns
getRebootConfig()
public PatchJobs.PatchConfig.RebootConfig getRebootConfig()
Post-patch reboot settings.
.google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1;
Returns
getRebootConfigValue()
public int getRebootConfigValue()
Post-patch reboot settings.
.google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for rebootConfig.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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
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
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
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
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
hasApt()
Apt update settings. Use this setting to override the default apt
patch
rules.
.google.cloud.osconfig.v1beta.AptSettings apt = 3;
Returns
Type | Description |
boolean | Whether the apt field is set.
|
hasGoo()
Goo update settings. Use this setting to override the default goo
patch
rules.
.google.cloud.osconfig.v1beta.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.v1beta.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.v1beta.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.v1beta.WindowsUpdateSettings windows_update = 7;
Returns
Type | Description |
boolean | Whether the windowsUpdate field is set.
|
hasYum()
Yum update settings. Use this setting to override the default yum
patch
rules.
.google.cloud.osconfig.v1beta.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.v1beta.ZypperSettings zypper = 6;
Returns
Type | Description |
boolean | Whether the zypper field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PatchJobs.PatchConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PatchJobs.PatchConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PatchJobs.PatchConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions