public static final class PatchJobs.PatchConfig extends com.google.protobuf.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.v1.PatchConfig| Modifier and Type | Class and Description |
|---|---|
static class |
PatchJobs.PatchConfig.Builder
Patch configuration specifications.
|
static class |
PatchJobs.PatchConfig.RebootConfig
Post-patch reboot settings.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
APT_FIELD_NUMBER |
static int |
GOO_FIELD_NUMBER |
static int |
MIG_INSTANCES_ALLOWED_FIELD_NUMBER |
static int |
POST_STEP_FIELD_NUMBER |
static int |
PRE_STEP_FIELD_NUMBER |
static int |
REBOOT_CONFIG_FIELD_NUMBER |
static int |
WINDOWS_UPDATE_FIELD_NUMBER |
static int |
YUM_FIELD_NUMBER |
static int |
ZYPPER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
PatchJobs.AptSettings |
getApt()
Apt update settings.
|
PatchJobs.AptSettingsOrBuilder |
getAptOrBuilder()
Apt update settings.
|
static PatchJobs.PatchConfig |
getDefaultInstance() |
PatchJobs.PatchConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
PatchJobs.GooSettings |
getGoo()
Goo update settings.
|
PatchJobs.GooSettingsOrBuilder |
getGooOrBuilder()
Goo update settings.
|
boolean |
getMigInstancesAllowed()
Allows the patch job to run on Managed instance groups (MIGs).
|
com.google.protobuf.Parser<PatchJobs.PatchConfig> |
getParserForType() |
PatchJobs.ExecStep |
getPostStep()
The `ExecStep` to run after the patch update.
|
PatchJobs.ExecStepOrBuilder |
getPostStepOrBuilder()
The `ExecStep` to run after the patch update.
|
PatchJobs.ExecStep |
getPreStep()
The `ExecStep` to run before the patch update.
|
PatchJobs.ExecStepOrBuilder |
getPreStepOrBuilder()
The `ExecStep` to run before the patch update.
|
PatchJobs.PatchConfig.RebootConfig |
getRebootConfig()
Post-patch reboot settings.
|
int |
getRebootConfigValue()
Post-patch reboot settings.
|
int |
getSerializedSize() |
PatchJobs.WindowsUpdateSettings |
getWindowsUpdate()
Windows update settings.
|
PatchJobs.WindowsUpdateSettingsOrBuilder |
getWindowsUpdateOrBuilder()
Windows update settings.
|
PatchJobs.YumSettings |
getYum()
Yum update settings.
|
PatchJobs.YumSettingsOrBuilder |
getYumOrBuilder()
Yum update settings.
|
PatchJobs.ZypperSettings |
getZypper()
Zypper update settings.
|
PatchJobs.ZypperSettingsOrBuilder |
getZypperOrBuilder()
Zypper update settings.
|
boolean |
hasApt()
Apt update settings.
|
boolean |
hasGoo()
Goo update settings.
|
int |
hashCode() |
boolean |
hasPostStep()
The `ExecStep` to run after the patch update.
|
boolean |
hasPreStep()
The `ExecStep` to run before the patch update.
|
boolean |
hasWindowsUpdate()
Windows update settings.
|
boolean |
hasYum()
Yum update settings.
|
boolean |
hasZypper()
Zypper update settings.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PatchJobs.PatchConfig.Builder |
newBuilder() |
static PatchJobs.PatchConfig.Builder |
newBuilder(PatchJobs.PatchConfig prototype) |
PatchJobs.PatchConfig.Builder |
newBuilderForType() |
protected PatchJobs.PatchConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PatchJobs.PatchConfig |
parseDelimitedFrom(InputStream input) |
static PatchJobs.PatchConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.PatchConfig |
parseFrom(byte[] data) |
static PatchJobs.PatchConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.PatchConfig |
parseFrom(ByteBuffer data) |
static PatchJobs.PatchConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.PatchConfig |
parseFrom(com.google.protobuf.ByteString data) |
static PatchJobs.PatchConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.PatchConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PatchJobs.PatchConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.PatchConfig |
parseFrom(InputStream input) |
static PatchJobs.PatchConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PatchJobs.PatchConfig> |
parser() |
PatchJobs.PatchConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REBOOT_CONFIG_FIELD_NUMBER
public static final int APT_FIELD_NUMBER
public static final int YUM_FIELD_NUMBER
public static final int GOO_FIELD_NUMBER
public static final int ZYPPER_FIELD_NUMBER
public static final int WINDOWS_UPDATE_FIELD_NUMBER
public static final int PRE_STEP_FIELD_NUMBER
public static final int POST_STEP_FIELD_NUMBER
public static final int MIG_INSTANCES_ALLOWED_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getRebootConfigValue()
Post-patch reboot settings.
.google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1;getRebootConfigValue in interface PatchJobs.PatchConfigOrBuilderpublic PatchJobs.PatchConfig.RebootConfig getRebootConfig()
Post-patch reboot settings.
.google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1;getRebootConfig in interface PatchJobs.PatchConfigOrBuilderpublic boolean hasApt()
Apt update settings. Use this setting to override the default `apt` patch rules.
.google.cloud.osconfig.v1.AptSettings apt = 3;hasApt in interface PatchJobs.PatchConfigOrBuilderpublic PatchJobs.AptSettings getApt()
Apt update settings. Use this setting to override the default `apt` patch rules.
.google.cloud.osconfig.v1.AptSettings apt = 3;getApt in interface PatchJobs.PatchConfigOrBuilderpublic PatchJobs.AptSettingsOrBuilder getAptOrBuilder()
Apt update settings. Use this setting to override the default `apt` patch rules.
.google.cloud.osconfig.v1.AptSettings apt = 3;getAptOrBuilder in interface PatchJobs.PatchConfigOrBuilderpublic boolean hasYum()
Yum update settings. Use this setting to override the default `yum` patch rules.
.google.cloud.osconfig.v1.YumSettings yum = 4;hasYum in interface PatchJobs.PatchConfigOrBuilderpublic PatchJobs.YumSettings getYum()
Yum update settings. Use this setting to override the default `yum` patch rules.
.google.cloud.osconfig.v1.YumSettings yum = 4;getYum in interface PatchJobs.PatchConfigOrBuilderpublic PatchJobs.YumSettingsOrBuilder getYumOrBuilder()
Yum update settings. Use this setting to override the default `yum` patch rules.
.google.cloud.osconfig.v1.YumSettings yum = 4;getYumOrBuilder in interface PatchJobs.PatchConfigOrBuilderpublic boolean hasGoo()
Goo update settings. Use this setting to override the default `goo` patch rules.
.google.cloud.osconfig.v1.GooSettings goo = 5;hasGoo in interface PatchJobs.PatchConfigOrBuilderpublic PatchJobs.GooSettings getGoo()
Goo update settings. Use this setting to override the default `goo` patch rules.
.google.cloud.osconfig.v1.GooSettings goo = 5;getGoo in interface PatchJobs.PatchConfigOrBuilderpublic PatchJobs.GooSettingsOrBuilder getGooOrBuilder()
Goo update settings. Use this setting to override the default `goo` patch rules.
.google.cloud.osconfig.v1.GooSettings goo = 5;getGooOrBuilder in interface PatchJobs.PatchConfigOrBuilderpublic boolean hasZypper()
Zypper update settings. Use this setting to override the default `zypper` patch rules.
.google.cloud.osconfig.v1.ZypperSettings zypper = 6;hasZypper in interface PatchJobs.PatchConfigOrBuilderpublic PatchJobs.ZypperSettings getZypper()
Zypper update settings. Use this setting to override the default `zypper` patch rules.
.google.cloud.osconfig.v1.ZypperSettings zypper = 6;getZypper in interface PatchJobs.PatchConfigOrBuilderpublic PatchJobs.ZypperSettingsOrBuilder getZypperOrBuilder()
Zypper update settings. Use this setting to override the default `zypper` patch rules.
.google.cloud.osconfig.v1.ZypperSettings zypper = 6;getZypperOrBuilder in interface PatchJobs.PatchConfigOrBuilderpublic boolean hasWindowsUpdate()
Windows update settings. Use this override the default windows patch rules.
.google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7;hasWindowsUpdate in interface PatchJobs.PatchConfigOrBuilderpublic PatchJobs.WindowsUpdateSettings getWindowsUpdate()
Windows update settings. Use this override the default windows patch rules.
.google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7;getWindowsUpdate in interface PatchJobs.PatchConfigOrBuilderpublic PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder()
Windows update settings. Use this override the default windows patch rules.
.google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7;getWindowsUpdateOrBuilder in interface PatchJobs.PatchConfigOrBuilderpublic boolean hasPreStep()
The `ExecStep` to run before the patch update.
.google.cloud.osconfig.v1.ExecStep pre_step = 8;hasPreStep in interface PatchJobs.PatchConfigOrBuilderpublic PatchJobs.ExecStep getPreStep()
The `ExecStep` to run before the patch update.
.google.cloud.osconfig.v1.ExecStep pre_step = 8;getPreStep in interface PatchJobs.PatchConfigOrBuilderpublic PatchJobs.ExecStepOrBuilder getPreStepOrBuilder()
The `ExecStep` to run before the patch update.
.google.cloud.osconfig.v1.ExecStep pre_step = 8;getPreStepOrBuilder in interface PatchJobs.PatchConfigOrBuilderpublic boolean hasPostStep()
The `ExecStep` to run after the patch update.
.google.cloud.osconfig.v1.ExecStep post_step = 9;hasPostStep in interface PatchJobs.PatchConfigOrBuilderpublic PatchJobs.ExecStep getPostStep()
The `ExecStep` to run after the patch update.
.google.cloud.osconfig.v1.ExecStep post_step = 9;getPostStep in interface PatchJobs.PatchConfigOrBuilderpublic PatchJobs.ExecStepOrBuilder getPostStepOrBuilder()
The `ExecStep` to run after the patch update.
.google.cloud.osconfig.v1.ExecStep post_step = 9;getPostStepOrBuilder in interface PatchJobs.PatchConfigOrBuilderpublic boolean getMigInstancesAllowed()
Allows the patch job to run on Managed instance groups (MIGs).
bool mig_instances_allowed = 10;getMigInstancesAllowed in interface PatchJobs.PatchConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PatchJobs.PatchConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.PatchConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.PatchConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.PatchConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.PatchConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.PatchConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.PatchConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static PatchJobs.PatchConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PatchJobs.PatchConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PatchJobs.PatchConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PatchJobs.PatchConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PatchJobs.PatchConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PatchJobs.PatchConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PatchJobs.PatchConfig.Builder newBuilder()
public static PatchJobs.PatchConfig.Builder newBuilder(PatchJobs.PatchConfig prototype)
public PatchJobs.PatchConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PatchJobs.PatchConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PatchJobs.PatchConfig getDefaultInstance()
public static com.google.protobuf.Parser<PatchJobs.PatchConfig> parser()
public com.google.protobuf.Parser<PatchJobs.PatchConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PatchJobs.PatchConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.