Package com.google.cloud.osconfig.v1beta
Class PatchJobs.PatchConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.osconfig.v1beta.PatchJobs.PatchConfig
-
- All Implemented Interfaces:
PatchJobs.PatchConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- PatchJobs
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 typegoogle.cloud.osconfig.v1beta.PatchConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPatchJobs.PatchConfig.BuilderPatch configuration specifications.static classPatchJobs.PatchConfig.RebootConfigPost-patch reboot settings.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intAPT_FIELD_NUMBERstatic intGOO_FIELD_NUMBERstatic intMIG_INSTANCES_ALLOWED_FIELD_NUMBERstatic intPOST_STEP_FIELD_NUMBERstatic intPRE_STEP_FIELD_NUMBERstatic intREBOOT_CONFIG_FIELD_NUMBERstatic intWINDOWS_UPDATE_FIELD_NUMBERstatic intYUM_FIELD_NUMBERstatic intZYPPER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)PatchJobs.AptSettingsgetApt()Apt update settings.PatchJobs.AptSettingsOrBuildergetAptOrBuilder()Apt update settings.static PatchJobs.PatchConfiggetDefaultInstance()PatchJobs.PatchConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()PatchJobs.GooSettingsgetGoo()Goo update settings.PatchJobs.GooSettingsOrBuildergetGooOrBuilder()Goo update settings.booleangetMigInstancesAllowed()Allows the patch job to run on Managed instance groups (MIGs).com.google.protobuf.Parser<PatchJobs.PatchConfig>getParserForType()PatchJobs.ExecStepgetPostStep()The `ExecStep` to run after the patch update.PatchJobs.ExecStepOrBuildergetPostStepOrBuilder()The `ExecStep` to run after the patch update.PatchJobs.ExecStepgetPreStep()The `ExecStep` to run before the patch update.PatchJobs.ExecStepOrBuildergetPreStepOrBuilder()The `ExecStep` to run before the patch update.PatchJobs.PatchConfig.RebootConfiggetRebootConfig()Post-patch reboot settings.intgetRebootConfigValue()Post-patch reboot settings.intgetSerializedSize()PatchJobs.WindowsUpdateSettingsgetWindowsUpdate()Windows update settings.PatchJobs.WindowsUpdateSettingsOrBuildergetWindowsUpdateOrBuilder()Windows update settings.PatchJobs.YumSettingsgetYum()Yum update settings.PatchJobs.YumSettingsOrBuildergetYumOrBuilder()Yum update settings.PatchJobs.ZypperSettingsgetZypper()Zypper update settings.PatchJobs.ZypperSettingsOrBuildergetZypperOrBuilder()Zypper update settings.booleanhasApt()Apt update settings.booleanhasGoo()Goo update settings.inthashCode()booleanhasPostStep()The `ExecStep` to run after the patch update.booleanhasPreStep()The `ExecStep` to run before the patch update.booleanhasWindowsUpdate()Windows update settings.booleanhasYum()Yum update settings.booleanhasZypper()Zypper update settings.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static PatchJobs.PatchConfig.BuildernewBuilder()static PatchJobs.PatchConfig.BuildernewBuilder(PatchJobs.PatchConfig prototype)PatchJobs.PatchConfig.BuildernewBuilderForType()protected PatchJobs.PatchConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PatchJobs.PatchConfigparseDelimitedFrom(InputStream input)static PatchJobs.PatchConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PatchJobs.PatchConfigparseFrom(byte[] data)static PatchJobs.PatchConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PatchJobs.PatchConfigparseFrom(com.google.protobuf.ByteString data)static PatchJobs.PatchConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PatchJobs.PatchConfigparseFrom(com.google.protobuf.CodedInputStream input)static PatchJobs.PatchConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PatchJobs.PatchConfigparseFrom(InputStream input)static PatchJobs.PatchConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PatchJobs.PatchConfigparseFrom(ByteBuffer data)static PatchJobs.PatchConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PatchJobs.PatchConfig>parser()PatchJobs.PatchConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
REBOOT_CONFIG_FIELD_NUMBER
public static final int REBOOT_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APT_FIELD_NUMBER
public static final int APT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
YUM_FIELD_NUMBER
public static final int YUM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GOO_FIELD_NUMBER
public static final int GOO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZYPPER_FIELD_NUMBER
public static final int ZYPPER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WINDOWS_UPDATE_FIELD_NUMBER
public static final int WINDOWS_UPDATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRE_STEP_FIELD_NUMBER
public static final int PRE_STEP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POST_STEP_FIELD_NUMBER
public static final int POST_STEP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MIG_INSTANCES_ALLOWED_FIELD_NUMBER
public static final int MIG_INSTANCES_ALLOWED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getRebootConfigValue
public int getRebootConfigValue()
Post-patch reboot settings.
.google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1;- Specified by:
getRebootConfigValuein interfacePatchJobs.PatchConfigOrBuilder- Returns:
- The enum numeric value on the wire for rebootConfig.
-
getRebootConfig
public PatchJobs.PatchConfig.RebootConfig getRebootConfig()
Post-patch reboot settings.
.google.cloud.osconfig.v1beta.PatchConfig.RebootConfig reboot_config = 1;- Specified by:
getRebootConfigin interfacePatchJobs.PatchConfigOrBuilder- Returns:
- The rebootConfig.
-
hasApt
public boolean hasApt()
Apt update settings. Use this setting to override the default `apt` patch rules.
.google.cloud.osconfig.v1beta.AptSettings apt = 3;- Specified by:
hasAptin interfacePatchJobs.PatchConfigOrBuilder- Returns:
- Whether the apt field is set.
-
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;- Specified by:
getAptin interfacePatchJobs.PatchConfigOrBuilder- Returns:
- The apt.
-
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;- Specified by:
getAptOrBuilderin interfacePatchJobs.PatchConfigOrBuilder
-
hasYum
public boolean hasYum()
Yum update settings. Use this setting to override the default `yum` patch rules.
.google.cloud.osconfig.v1beta.YumSettings yum = 4;- Specified by:
hasYumin interfacePatchJobs.PatchConfigOrBuilder- Returns:
- Whether the yum field is set.
-
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;- Specified by:
getYumin interfacePatchJobs.PatchConfigOrBuilder- Returns:
- The yum.
-
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;- Specified by:
getYumOrBuilderin interfacePatchJobs.PatchConfigOrBuilder
-
hasGoo
public boolean hasGoo()
Goo update settings. Use this setting to override the default `goo` patch rules.
.google.cloud.osconfig.v1beta.GooSettings goo = 5;- Specified by:
hasGooin interfacePatchJobs.PatchConfigOrBuilder- Returns:
- Whether the goo field is set.
-
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;- Specified by:
getGooin interfacePatchJobs.PatchConfigOrBuilder- Returns:
- The goo.
-
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;- Specified by:
getGooOrBuilderin interfacePatchJobs.PatchConfigOrBuilder
-
hasZypper
public boolean hasZypper()
Zypper update settings. Use this setting to override the default `zypper` patch rules.
.google.cloud.osconfig.v1beta.ZypperSettings zypper = 6;- Specified by:
hasZypperin interfacePatchJobs.PatchConfigOrBuilder- Returns:
- Whether the zypper field is set.
-
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;- Specified by:
getZypperin interfacePatchJobs.PatchConfigOrBuilder- Returns:
- The zypper.
-
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;- Specified by:
getZypperOrBuilderin interfacePatchJobs.PatchConfigOrBuilder
-
hasWindowsUpdate
public boolean hasWindowsUpdate()
Windows update settings. Use this override the default windows patch rules.
.google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7;- Specified by:
hasWindowsUpdatein interfacePatchJobs.PatchConfigOrBuilder- Returns:
- Whether the windowsUpdate field is set.
-
getWindowsUpdate
public PatchJobs.WindowsUpdateSettings getWindowsUpdate()
Windows update settings. Use this override the default windows patch rules.
.google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7;- Specified by:
getWindowsUpdatein interfacePatchJobs.PatchConfigOrBuilder- Returns:
- The windowsUpdate.
-
getWindowsUpdateOrBuilder
public PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder()
Windows update settings. Use this override the default windows patch rules.
.google.cloud.osconfig.v1beta.WindowsUpdateSettings windows_update = 7;- Specified by:
getWindowsUpdateOrBuilderin interfacePatchJobs.PatchConfigOrBuilder
-
hasPreStep
public boolean hasPreStep()
The `ExecStep` to run before the patch update.
.google.cloud.osconfig.v1beta.ExecStep pre_step = 8;- Specified by:
hasPreStepin interfacePatchJobs.PatchConfigOrBuilder- Returns:
- Whether the preStep field is set.
-
getPreStep
public PatchJobs.ExecStep getPreStep()
The `ExecStep` to run before the patch update.
.google.cloud.osconfig.v1beta.ExecStep pre_step = 8;- Specified by:
getPreStepin interfacePatchJobs.PatchConfigOrBuilder- Returns:
- The preStep.
-
getPreStepOrBuilder
public PatchJobs.ExecStepOrBuilder getPreStepOrBuilder()
The `ExecStep` to run before the patch update.
.google.cloud.osconfig.v1beta.ExecStep pre_step = 8;- Specified by:
getPreStepOrBuilderin interfacePatchJobs.PatchConfigOrBuilder
-
hasPostStep
public boolean hasPostStep()
The `ExecStep` to run after the patch update.
.google.cloud.osconfig.v1beta.ExecStep post_step = 9;- Specified by:
hasPostStepin interfacePatchJobs.PatchConfigOrBuilder- Returns:
- Whether the postStep field is set.
-
getPostStep
public PatchJobs.ExecStep getPostStep()
The `ExecStep` to run after the patch update.
.google.cloud.osconfig.v1beta.ExecStep post_step = 9;- Specified by:
getPostStepin interfacePatchJobs.PatchConfigOrBuilder- Returns:
- The postStep.
-
getPostStepOrBuilder
public PatchJobs.ExecStepOrBuilder getPostStepOrBuilder()
The `ExecStep` to run after the patch update.
.google.cloud.osconfig.v1beta.ExecStep post_step = 9;- Specified by:
getPostStepOrBuilderin interfacePatchJobs.PatchConfigOrBuilder
-
getMigInstancesAllowed
public boolean getMigInstancesAllowed()
Allows the patch job to run on Managed instance groups (MIGs).
bool mig_instances_allowed = 10;- Specified by:
getMigInstancesAllowedin interfacePatchJobs.PatchConfigOrBuilder- Returns:
- The migInstancesAllowed.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PatchJobs.PatchConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.PatchConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.PatchConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.PatchConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.PatchConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.PatchConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.PatchConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PatchJobs.PatchConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PatchJobs.PatchConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PatchJobs.PatchConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static PatchJobs.PatchConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PatchJobs.PatchConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public PatchJobs.PatchConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PatchJobs.PatchConfig.Builder newBuilder()
-
newBuilder
public static PatchJobs.PatchConfig.Builder newBuilder(PatchJobs.PatchConfig prototype)
-
toBuilder
public PatchJobs.PatchConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PatchJobs.PatchConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PatchJobs.PatchConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PatchJobs.PatchConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<PatchJobs.PatchConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PatchJobs.PatchConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-