Package com.google.cloud.osconfig.v1
Interface PatchJobs.AptSettingsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PatchJobs.AptSettings
,PatchJobs.AptSettings.Builder
- Enclosing class:
- PatchJobs
public static interface PatchJobs.AptSettingsOrBuilder 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.PatchJobs.AptSettings.Type
getType()
By changing the type to DIST, the patching is performed using `apt-get dist-upgrade` instead.int
getTypeValue()
By changing the type to DIST, the patching is performed using `apt-get dist-upgrade` instead.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypeValue
int getTypeValue()
By changing the type to DIST, the patching is performed using `apt-get dist-upgrade` instead.
.google.cloud.osconfig.v1.AptSettings.Type type = 1;
- Returns:
- The enum numeric value on the wire for type.
-
getType
PatchJobs.AptSettings.Type getType()
By changing the type to DIST, the patching is performed using `apt-get dist-upgrade` instead.
.google.cloud.osconfig.v1.AptSettings.Type type = 1;
- Returns:
- The type.
-
getExcludesList
List<String> getExcludesList()
List of packages to exclude from update. These packages will be excluded
repeated string excludes = 2;
- Returns:
- A list containing the excludes.
-
getExcludesCount
int getExcludesCount()
List of packages to exclude from update. These packages will be excluded
repeated string excludes = 2;
- Returns:
- The count of excludes.
-
getExcludes
String getExcludes(int index)
List of packages to exclude from update. These packages will be excluded
repeated string excludes = 2;
- 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 will be excluded
repeated string excludes = 2;
- 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 cannot be specified with any other patch configuration fields.
repeated string exclusive_packages = 3;
- 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 cannot be specified with any other patch configuration fields.
repeated string exclusive_packages = 3;
- 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 cannot be specified with any other patch configuration fields.
repeated string exclusive_packages = 3;
- 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 cannot be specified with any other patch configuration fields.
repeated string exclusive_packages = 3;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the exclusivePackages at the given index.
-
-