public static final class PatchJobs.YumSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.YumSettings.Builder> implements PatchJobs.YumSettingsOrBuilder
Yum patching is performed by executing `yum update`. Additional options can be set to control how this is executed. Note that not all settings are supported on all platforms.Protobuf type
google.cloud.osconfig.v1.YumSettings| Modifier and Type | Method and Description |
|---|---|
PatchJobs.YumSettings.Builder |
addAllExcludes(Iterable<String> values)
List of packages to exclude from update.
|
PatchJobs.YumSettings.Builder |
addAllExclusivePackages(Iterable<String> values)
An exclusive list of packages to be updated.
|
PatchJobs.YumSettings.Builder |
addExcludes(String value)
List of packages to exclude from update.
|
PatchJobs.YumSettings.Builder |
addExcludesBytes(com.google.protobuf.ByteString value)
List of packages to exclude from update.
|
PatchJobs.YumSettings.Builder |
addExclusivePackages(String value)
An exclusive list of packages to be updated.
|
PatchJobs.YumSettings.Builder |
addExclusivePackagesBytes(com.google.protobuf.ByteString value)
An exclusive list of packages to be updated.
|
PatchJobs.YumSettings.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PatchJobs.YumSettings |
build() |
PatchJobs.YumSettings |
buildPartial() |
PatchJobs.YumSettings.Builder |
clear() |
PatchJobs.YumSettings.Builder |
clearExcludes()
List of packages to exclude from update.
|
PatchJobs.YumSettings.Builder |
clearExclusivePackages()
An exclusive list of packages to be updated.
|
PatchJobs.YumSettings.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PatchJobs.YumSettings.Builder |
clearMinimal()
Will cause patch to run `yum update-minimal` instead.
|
PatchJobs.YumSettings.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PatchJobs.YumSettings.Builder |
clearSecurity()
Adds the `--security` flag to `yum update`.
|
PatchJobs.YumSettings.Builder |
clone() |
PatchJobs.YumSettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getExcludes(int index)
List of packages to exclude from update.
|
com.google.protobuf.ByteString |
getExcludesBytes(int index)
List of packages to exclude from update.
|
int |
getExcludesCount()
List of packages to exclude from update.
|
com.google.protobuf.ProtocolStringList |
getExcludesList()
List of packages to exclude from update.
|
String |
getExclusivePackages(int index)
An exclusive list of packages to be updated.
|
com.google.protobuf.ByteString |
getExclusivePackagesBytes(int index)
An exclusive list of packages to be updated.
|
int |
getExclusivePackagesCount()
An exclusive list of packages to be updated.
|
com.google.protobuf.ProtocolStringList |
getExclusivePackagesList()
An exclusive list of packages to be updated.
|
boolean |
getMinimal()
Will cause patch to run `yum update-minimal` instead.
|
boolean |
getSecurity()
Adds the `--security` flag to `yum update`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PatchJobs.YumSettings.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PatchJobs.YumSettings.Builder |
mergeFrom(com.google.protobuf.Message other) |
PatchJobs.YumSettings.Builder |
mergeFrom(PatchJobs.YumSettings other) |
PatchJobs.YumSettings.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PatchJobs.YumSettings.Builder |
setExcludes(int index,
String value)
List of packages to exclude from update.
|
PatchJobs.YumSettings.Builder |
setExclusivePackages(int index,
String value)
An exclusive list of packages to be updated.
|
PatchJobs.YumSettings.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PatchJobs.YumSettings.Builder |
setMinimal(boolean value)
Will cause patch to run `yum update-minimal` instead.
|
PatchJobs.YumSettings.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PatchJobs.YumSettings.Builder |
setSecurity(boolean value)
Adds the `--security` flag to `yum update`.
|
PatchJobs.YumSettings.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.YumSettings.Builder>public PatchJobs.YumSettings.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.YumSettings.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.YumSettings.Builder>public PatchJobs.YumSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PatchJobs.YumSettings build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PatchJobs.YumSettings buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PatchJobs.YumSettings.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.YumSettings.Builder>public PatchJobs.YumSettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.YumSettings.Builder>public PatchJobs.YumSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.YumSettings.Builder>public PatchJobs.YumSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.YumSettings.Builder>public PatchJobs.YumSettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.YumSettings.Builder>public PatchJobs.YumSettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.YumSettings.Builder>public PatchJobs.YumSettings.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PatchJobs.YumSettings.Builder>public PatchJobs.YumSettings.Builder mergeFrom(PatchJobs.YumSettings other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.YumSettings.Builder>public PatchJobs.YumSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PatchJobs.YumSettings.Builder>IOExceptionpublic boolean getSecurity()
Adds the `--security` flag to `yum update`. Not supported on all platforms.
bool security = 1;getSecurity in interface PatchJobs.YumSettingsOrBuilderpublic PatchJobs.YumSettings.Builder setSecurity(boolean value)
Adds the `--security` flag to `yum update`. Not supported on all platforms.
bool security = 1;value - The security to set.public PatchJobs.YumSettings.Builder clearSecurity()
Adds the `--security` flag to `yum update`. Not supported on all platforms.
bool security = 1;public boolean getMinimal()
Will cause patch to run `yum update-minimal` instead.
bool minimal = 2;getMinimal in interface PatchJobs.YumSettingsOrBuilderpublic PatchJobs.YumSettings.Builder setMinimal(boolean value)
Will cause patch to run `yum update-minimal` instead.
bool minimal = 2;value - The minimal to set.public PatchJobs.YumSettings.Builder clearMinimal()
Will cause patch to run `yum update-minimal` instead.
bool minimal = 2;public com.google.protobuf.ProtocolStringList getExcludesList()
List of packages to exclude from update. These packages are excluded by using the yum `--exclude` flag.
repeated string excludes = 3;getExcludesList in interface PatchJobs.YumSettingsOrBuilderpublic int getExcludesCount()
List of packages to exclude from update. These packages are excluded by using the yum `--exclude` flag.
repeated string excludes = 3;getExcludesCount in interface PatchJobs.YumSettingsOrBuilderpublic String getExcludes(int index)
List of packages to exclude from update. These packages are excluded by using the yum `--exclude` flag.
repeated string excludes = 3;getExcludes in interface PatchJobs.YumSettingsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExcludesBytes(int index)
List of packages to exclude from update. These packages are excluded by using the yum `--exclude` flag.
repeated string excludes = 3;getExcludesBytes in interface PatchJobs.YumSettingsOrBuilderindex - The index of the value to return.public PatchJobs.YumSettings.Builder setExcludes(int index, String value)
List of packages to exclude from update. These packages are excluded by using the yum `--exclude` flag.
repeated string excludes = 3;index - The index to set the value at.value - The excludes to set.public PatchJobs.YumSettings.Builder addExcludes(String value)
List of packages to exclude from update. These packages are excluded by using the yum `--exclude` flag.
repeated string excludes = 3;value - The excludes to add.public PatchJobs.YumSettings.Builder addAllExcludes(Iterable<String> values)
List of packages to exclude from update. These packages are excluded by using the yum `--exclude` flag.
repeated string excludes = 3;values - The excludes to add.public PatchJobs.YumSettings.Builder clearExcludes()
List of packages to exclude from update. These packages are excluded by using the yum `--exclude` flag.
repeated string excludes = 3;public PatchJobs.YumSettings.Builder addExcludesBytes(com.google.protobuf.ByteString value)
List of packages to exclude from update. These packages are excluded by using the yum `--exclude` flag.
repeated string excludes = 3;value - The bytes of the excludes to add.public com.google.protobuf.ProtocolStringList getExclusivePackagesList()
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field must not be specified with any other patch configuration fields.
repeated string exclusive_packages = 4;getExclusivePackagesList in interface PatchJobs.YumSettingsOrBuilderpublic int getExclusivePackagesCount()
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field must not be specified with any other patch configuration fields.
repeated string exclusive_packages = 4;getExclusivePackagesCount in interface PatchJobs.YumSettingsOrBuilderpublic String getExclusivePackages(int index)
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field must not be specified with any other patch configuration fields.
repeated string exclusive_packages = 4;getExclusivePackages in interface PatchJobs.YumSettingsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExclusivePackagesBytes(int index)
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field must not be specified with any other patch configuration fields.
repeated string exclusive_packages = 4;getExclusivePackagesBytes in interface PatchJobs.YumSettingsOrBuilderindex - The index of the value to return.public PatchJobs.YumSettings.Builder setExclusivePackages(int index, String value)
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field must not be specified with any other patch configuration fields.
repeated string exclusive_packages = 4;index - The index to set the value at.value - The exclusivePackages to set.public PatchJobs.YumSettings.Builder addExclusivePackages(String value)
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field must not be specified with any other patch configuration fields.
repeated string exclusive_packages = 4;value - The exclusivePackages to add.public PatchJobs.YumSettings.Builder addAllExclusivePackages(Iterable<String> values)
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field must not be specified with any other patch configuration fields.
repeated string exclusive_packages = 4;values - The exclusivePackages to add.public PatchJobs.YumSettings.Builder clearExclusivePackages()
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field must not be specified with any other patch configuration fields.
repeated string exclusive_packages = 4;public PatchJobs.YumSettings.Builder addExclusivePackagesBytes(com.google.protobuf.ByteString value)
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field must not be specified with any other patch configuration fields.
repeated string exclusive_packages = 4;value - The bytes of the exclusivePackages to add.public final PatchJobs.YumSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.YumSettings.Builder>public final PatchJobs.YumSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.YumSettings.Builder>Copyright © 2023 Google LLC. All rights reserved.