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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
APT_FIELD_NUMBER
public static final int APT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
GOO_FIELD_NUMBER
public static final int GOO_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MIG_INSTANCES_ALLOWED_FIELD_NUMBER
public static final int MIG_INSTANCES_ALLOWED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
POST_STEP_FIELD_NUMBER
public static final int POST_STEP_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PRE_STEP_FIELD_NUMBER
public static final int PRE_STEP_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
REBOOT_CONFIG_FIELD_NUMBER
public static final int REBOOT_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
WINDOWS_UPDATE_FIELD_NUMBER
public static final int WINDOWS_UPDATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
YUM_FIELD_NUMBER
public static final int YUM_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ZYPPER_FIELD_NUMBER
public static final int ZYPPER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static PatchJobs.PatchConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PatchJobs.PatchConfig.Builder newBuilder()
newBuilder(PatchJobs.PatchConfig prototype)
public static PatchJobs.PatchConfig.Builder newBuilder(PatchJobs.PatchConfig prototype)
public static PatchJobs.PatchConfig parseDelimitedFrom(InputStream input)
public static PatchJobs.PatchConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PatchJobs.PatchConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs.PatchConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PatchJobs.PatchConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs.PatchConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs.PatchConfig parseFrom(CodedInputStream input)
public static PatchJobs.PatchConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PatchJobs.PatchConfig parseFrom(InputStream input)
public static PatchJobs.PatchConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PatchJobs.PatchConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs.PatchConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PatchJobs.PatchConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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;
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;
getDefaultInstanceForType()
public PatchJobs.PatchConfig getDefaultInstanceForType()
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;
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;
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.
|
getParserForType()
public Parser<PatchJobs.PatchConfig> getParserForType()
Overrides
getPostStep()
public PatchJobs.ExecStep getPostStep()
The ExecStep
to run after the patch update.
.google.cloud.osconfig.v1beta.ExecStep post_step = 9;
getPostStepOrBuilder()
public PatchJobs.ExecStepOrBuilder getPostStepOrBuilder()
The ExecStep
to run after the patch update.
.google.cloud.osconfig.v1beta.ExecStep post_step = 9;
getPreStep()
public PatchJobs.ExecStep getPreStep()
The ExecStep
to run before the patch update.
.google.cloud.osconfig.v1beta.ExecStep pre_step = 8;
getPreStepOrBuilder()
public PatchJobs.ExecStepOrBuilder getPreStepOrBuilder()
The ExecStep
to run before the patch update.
.google.cloud.osconfig.v1beta.ExecStep pre_step = 8;
getRebootConfig()
public PatchJobs.PatchConfig.RebootConfig getRebootConfig()
Post-patch reboot settings.
.google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1;
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 |
---|
Type | Description |
int | |
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;
getWindowsUpdateOrBuilder()
public PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder()
Windows update settings. Use this override the default windows patch rules.
.google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7;
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;
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;
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;
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;
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PatchJobs.PatchConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PatchJobs.PatchConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public PatchJobs.PatchConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides