Package com.google.cloud.osconfig.v1beta
Class PatchJobs.PatchConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPatch configuration specifications.static enumPost-patch reboot settings.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetApt()Apt update settings.Apt update settings.static PatchJobs.PatchConfigstatic final com.google.protobuf.Descriptors.DescriptorgetGoo()Goo update settings.Goo update settings.booleanAllows the patch job to run on Managed instance groups (MIGs).com.google.protobuf.Parser<PatchJobs.PatchConfig>The `ExecStep` to run after the patch update.The `ExecStep` to run after the patch update.The `ExecStep` to run before the patch update.The `ExecStep` to run before the patch update.Post-patch reboot settings.intPost-patch reboot settings.intWindows update settings.Windows update settings.getYum()Yum update settings.Yum update settings.Zypper update settings.Zypper update settings.booleanhasApt()Apt update settings.booleanhasGoo()Goo update settings.inthashCode()booleanThe `ExecStep` to run after the patch update.booleanThe `ExecStep` to run before the patch update.booleanWindows update settings.booleanhasYum()Yum update settings.booleanZypper update settings.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(PatchJobs.PatchConfig prototype) protected PatchJobs.PatchConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
REBOOT_CONFIG_FIELD_NUMBER
public static final int REBOOT_CONFIG_FIELD_NUMBER- See Also:
-
APT_FIELD_NUMBER
public static final int APT_FIELD_NUMBER- See Also:
-
YUM_FIELD_NUMBER
public static final int YUM_FIELD_NUMBER- See Also:
-
GOO_FIELD_NUMBER
public static final int GOO_FIELD_NUMBER- See Also:
-
ZYPPER_FIELD_NUMBER
public static final int ZYPPER_FIELD_NUMBER- See Also:
-
WINDOWS_UPDATE_FIELD_NUMBER
public static final int WINDOWS_UPDATE_FIELD_NUMBER- See Also:
-
PRE_STEP_FIELD_NUMBER
public static final int PRE_STEP_FIELD_NUMBER- See Also:
-
POST_STEP_FIELD_NUMBER
public static final int POST_STEP_FIELD_NUMBER- See Also:
-
MIG_INSTANCES_ALLOWED_FIELD_NUMBER
public static final int MIG_INSTANCES_ALLOWED_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static PatchJobs.PatchConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PatchJobs.PatchConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-