public static final class PatchJobs.YumSettings extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
PatchJobs.YumSettings.Builder
Yum patching is performed by executing `yum update`.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
EXCLUDES_FIELD_NUMBER |
static int |
EXCLUSIVE_PACKAGES_FIELD_NUMBER |
static int |
MINIMAL_FIELD_NUMBER |
static int |
SECURITY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static PatchJobs.YumSettings |
getDefaultInstance() |
PatchJobs.YumSettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<PatchJobs.YumSettings> |
getParserForType() |
boolean |
getSecurity()
Adds the `--security` flag to `yum update`.
|
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PatchJobs.YumSettings.Builder |
newBuilder() |
static PatchJobs.YumSettings.Builder |
newBuilder(PatchJobs.YumSettings prototype) |
PatchJobs.YumSettings.Builder |
newBuilderForType() |
protected PatchJobs.YumSettings.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PatchJobs.YumSettings |
parseDelimitedFrom(InputStream input) |
static PatchJobs.YumSettings |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.YumSettings |
parseFrom(byte[] data) |
static PatchJobs.YumSettings |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.YumSettings |
parseFrom(ByteBuffer data) |
static PatchJobs.YumSettings |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.YumSettings |
parseFrom(com.google.protobuf.ByteString data) |
static PatchJobs.YumSettings |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.YumSettings |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PatchJobs.YumSettings |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.YumSettings |
parseFrom(InputStream input) |
static PatchJobs.YumSettings |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PatchJobs.YumSettings> |
parser() |
PatchJobs.YumSettings.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SECURITY_FIELD_NUMBER
public static final int MINIMAL_FIELD_NUMBER
public static final int EXCLUDES_FIELD_NUMBER
public static final int EXCLUSIVE_PACKAGES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean getSecurity()
Adds the `--security` flag to `yum update`. Not supported on all platforms.
bool security = 1;getSecurity in interface PatchJobs.YumSettingsOrBuilderpublic boolean getMinimal()
Will cause patch to run `yum update-minimal` instead.
bool minimal = 2;getMinimal in interface PatchJobs.YumSettingsOrBuilderpublic 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PatchJobs.YumSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.YumSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.YumSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.YumSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.YumSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.YumSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.YumSettings parseFrom(InputStream input) throws IOException
IOExceptionpublic static PatchJobs.YumSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PatchJobs.YumSettings parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PatchJobs.YumSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PatchJobs.YumSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PatchJobs.YumSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PatchJobs.YumSettings.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PatchJobs.YumSettings.Builder newBuilder()
public static PatchJobs.YumSettings.Builder newBuilder(PatchJobs.YumSettings prototype)
public PatchJobs.YumSettings.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PatchJobs.YumSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PatchJobs.YumSettings getDefaultInstance()
public static com.google.protobuf.Parser<PatchJobs.YumSettings> parser()
public com.google.protobuf.Parser<PatchJobs.YumSettings> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PatchJobs.YumSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.