Package com.google.cloud.osconfig.v1
Class PatchJobs.PatchConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.osconfig.v1.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.v1.PatchConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PatchJobs.PatchConfig.Builder
Patch configuration specifications.static class
PatchJobs.PatchConfig.RebootConfig
Post-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 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(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 PatchJobs.PatchConfig
parseFrom(ByteBuffer data)
static PatchJobs.PatchConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<PatchJobs.PatchConfig>
parser()
PatchJobs.PatchConfig.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getRebootConfigValue
public int getRebootConfigValue()
Post-patch reboot settings.
.google.cloud.osconfig.v1.PatchConfig.RebootConfig reboot_config = 1;
- Specified by:
getRebootConfigValue
in 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.v1.PatchConfig.RebootConfig reboot_config = 1;
- Specified by:
getRebootConfig
in 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.v1.AptSettings apt = 3;
- Specified by:
hasApt
in 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.v1.AptSettings apt = 3;
- Specified by:
getApt
in 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.v1.AptSettings apt = 3;
- Specified by:
getAptOrBuilder
in interfacePatchJobs.PatchConfigOrBuilder
-
hasYum
public boolean hasYum()
Yum update settings. Use this setting to override the default `yum` patch rules.
.google.cloud.osconfig.v1.YumSettings yum = 4;
- Specified by:
hasYum
in 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.v1.YumSettings yum = 4;
- Specified by:
getYum
in 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.v1.YumSettings yum = 4;
- Specified by:
getYumOrBuilder
in interfacePatchJobs.PatchConfigOrBuilder
-
hasGoo
public boolean hasGoo()
Goo update settings. Use this setting to override the default `goo` patch rules.
.google.cloud.osconfig.v1.GooSettings goo = 5;
- Specified by:
hasGoo
in 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.v1.GooSettings goo = 5;
- Specified by:
getGoo
in 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.v1.GooSettings goo = 5;
- Specified by:
getGooOrBuilder
in interfacePatchJobs.PatchConfigOrBuilder
-
hasZypper
public boolean hasZypper()
Zypper update settings. Use this setting to override the default `zypper` patch rules.
.google.cloud.osconfig.v1.ZypperSettings zypper = 6;
- Specified by:
hasZypper
in 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.v1.ZypperSettings zypper = 6;
- Specified by:
getZypper
in 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.v1.ZypperSettings zypper = 6;
- Specified by:
getZypperOrBuilder
in interfacePatchJobs.PatchConfigOrBuilder
-
hasWindowsUpdate
public boolean hasWindowsUpdate()
Windows update settings. Use this override the default windows patch rules.
.google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7;
- Specified by:
hasWindowsUpdate
in 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.v1.WindowsUpdateSettings windows_update = 7;
- Specified by:
getWindowsUpdate
in interfacePatchJobs.PatchConfigOrBuilder
- Returns:
- The windowsUpdate.
-
getWindowsUpdateOrBuilder
public PatchJobs.WindowsUpdateSettingsOrBuilder getWindowsUpdateOrBuilder()
Windows update settings. Use this override the default windows patch rules.
.google.cloud.osconfig.v1.WindowsUpdateSettings windows_update = 7;
- Specified by:
getWindowsUpdateOrBuilder
in interfacePatchJobs.PatchConfigOrBuilder
-
hasPreStep
public boolean hasPreStep()
The `ExecStep` to run before the patch update.
.google.cloud.osconfig.v1.ExecStep pre_step = 8;
- Specified by:
hasPreStep
in 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.v1.ExecStep pre_step = 8;
- Specified by:
getPreStep
in interfacePatchJobs.PatchConfigOrBuilder
- Returns:
- The preStep.
-
getPreStepOrBuilder
public PatchJobs.ExecStepOrBuilder getPreStepOrBuilder()
The `ExecStep` to run before the patch update.
.google.cloud.osconfig.v1.ExecStep pre_step = 8;
- Specified by:
getPreStepOrBuilder
in interfacePatchJobs.PatchConfigOrBuilder
-
hasPostStep
public boolean hasPostStep()
The `ExecStep` to run after the patch update.
.google.cloud.osconfig.v1.ExecStep post_step = 9;
- Specified by:
hasPostStep
in 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.v1.ExecStep post_step = 9;
- Specified by:
getPostStep
in interfacePatchJobs.PatchConfigOrBuilder
- Returns:
- The postStep.
-
getPostStepOrBuilder
public PatchJobs.ExecStepOrBuilder getPostStepOrBuilder()
The `ExecStep` to run after the patch update.
.google.cloud.osconfig.v1.ExecStep post_step = 9;
- Specified by:
getPostStepOrBuilder
in interfacePatchJobs.PatchConfigOrBuilder
-
getMigInstancesAllowed
public boolean getMigInstancesAllowed()
Allows the patch job to run on Managed instance groups (MIGs).
bool mig_instances_allowed = 10;
- Specified by:
getMigInstancesAllowed
in interfacePatchJobs.PatchConfigOrBuilder
- Returns:
- The migInstancesAllowed.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PatchJobs.PatchConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PatchJobs.PatchConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-