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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.List<String>
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.List<String>
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`.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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<String> 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
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;
- 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
List<String> 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
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;
- 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.
-
-