Package com.google.cloud.osconfig.v1beta
Interface PatchJobs.YumSettingsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PatchJobs.YumSettings,PatchJobs.YumSettings.Builder
- Enclosing class:
- PatchJobs
public static interface PatchJobs.YumSettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetExcludes(int index) List of packages to exclude from update.com.google.protobuf.ByteStringgetExcludesBytes(int index) List of packages to exclude from update.intList of packages to exclude from update.List of packages to exclude from update.getExclusivePackages(int index) An exclusive list of packages to be updated.com.google.protobuf.ByteStringgetExclusivePackagesBytes(int index) An exclusive list of packages to be updated.intAn exclusive list of packages to be updated.An exclusive list of packages to be updated.booleanWill cause patch to run `yum update-minimal` instead.booleanAdds the `--security` flag to `yum update`.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSecurity
boolean getSecurity()Adds the `--security` flag to `yum update`. Not supported on all platforms.
bool security = 1;- Returns:
- The security.
-
getMinimal
boolean getMinimal()Will cause patch to run `yum update-minimal` instead.
bool minimal = 2;- Returns:
- The minimal.
-
getExcludesList
List of packages to exclude from update. These packages are excluded by using the yum `--exclude` flag.
repeated string excludes = 3;- Returns:
- A list containing the excludes.
-
getExcludesCount
int getExcludesCount()List of packages to exclude from update. These packages are excluded by using the yum `--exclude` flag.
repeated string excludes = 3;- Returns:
- The count of excludes.
-
getExcludes
List of packages to exclude from update. These packages are excluded by using the yum `--exclude` flag.
repeated string excludes = 3;- Parameters:
index- The index of the element to return.- Returns:
- The excludes at the given index.
-
getExcludesBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludes at the given index.
-
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;- Returns:
- A list containing the exclusivePackages.
-
getExclusivePackagesCount
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;- Returns:
- The count of exclusivePackages.
-
getExclusivePackages
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;- Parameters:
index- The index of the element to return.- Returns:
- The exclusivePackages at the given index.
-
getExclusivePackagesBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the exclusivePackages at the given index.
-