Package com.google.cloud.osconfig.v1beta
Class PatchJobs.ZypperSettings
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.osconfig.v1beta.PatchJobs.ZypperSettings
- All Implemented Interfaces:
PatchJobs.ZypperSettingsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- PatchJobs
public static final class PatchJobs.ZypperSettings
extends com.google.protobuf.GeneratedMessage
implements PatchJobs.ZypperSettingsOrBuilder
Zypper patching is performed by running `zypper patch`. See also https://en.opensuse.org/SDB:Zypper_manual.Protobuf type
google.cloud.osconfig.v1beta.ZypperSettings- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classZypper patching is performed by running `zypper patch`.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCategories(int index) Install only patches with these categories.com.google.protobuf.ByteStringgetCategoriesBytes(int index) Install only patches with these categories.intInstall only patches with these categories.com.google.protobuf.ProtocolStringListInstall only patches with these categories.static PatchJobs.ZypperSettingsstatic final com.google.protobuf.Descriptors.DescriptorgetExcludes(int index) List of patches to exclude from update.com.google.protobuf.ByteStringgetExcludesBytes(int index) List of patches to exclude from update.intList of patches to exclude from update.com.google.protobuf.ProtocolStringListList of patches to exclude from update.getExclusivePatches(int index) An exclusive list of patches to be updated.com.google.protobuf.ByteStringgetExclusivePatchesBytes(int index) An exclusive list of patches to be updated.intAn exclusive list of patches to be updated.com.google.protobuf.ProtocolStringListAn exclusive list of patches to be updated.com.google.protobuf.Parser<PatchJobs.ZypperSettings>intgetSeverities(int index) Install only patches with these severities.com.google.protobuf.ByteStringgetSeveritiesBytes(int index) Install only patches with these severities.intInstall only patches with these severities.com.google.protobuf.ProtocolStringListInstall only patches with these severities.booleanAdds the `--with-optional` flag to `zypper patch`.booleanAdds the `--with-update` flag, to `zypper patch`.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(PatchJobs.ZypperSettings prototype) protected PatchJobs.ZypperSettings.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static PatchJobs.ZypperSettingsparseDelimitedFrom(InputStream input) static PatchJobs.ZypperSettingsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PatchJobs.ZypperSettingsparseFrom(byte[] data) static PatchJobs.ZypperSettingsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PatchJobs.ZypperSettingsparseFrom(com.google.protobuf.ByteString data) static PatchJobs.ZypperSettingsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PatchJobs.ZypperSettingsparseFrom(com.google.protobuf.CodedInputStream input) static PatchJobs.ZypperSettingsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PatchJobs.ZypperSettingsparseFrom(InputStream input) static PatchJobs.ZypperSettingsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PatchJobs.ZypperSettingsparseFrom(ByteBuffer data) static PatchJobs.ZypperSettingsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PatchJobs.ZypperSettings>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
WITH_OPTIONAL_FIELD_NUMBER
public static final int WITH_OPTIONAL_FIELD_NUMBER- See Also:
-
WITH_UPDATE_FIELD_NUMBER
public static final int WITH_UPDATE_FIELD_NUMBER- See Also:
-
CATEGORIES_FIELD_NUMBER
public static final int CATEGORIES_FIELD_NUMBER- See Also:
-
SEVERITIES_FIELD_NUMBER
public static final int SEVERITIES_FIELD_NUMBER- See Also:
-
EXCLUDES_FIELD_NUMBER
public static final int EXCLUDES_FIELD_NUMBER- See Also:
-
EXCLUSIVE_PATCHES_FIELD_NUMBER
public static final int EXCLUSIVE_PATCHES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getWithOptional
public boolean getWithOptional()Adds the `--with-optional` flag to `zypper patch`.
bool with_optional = 1;- Specified by:
getWithOptionalin interfacePatchJobs.ZypperSettingsOrBuilder- Returns:
- The withOptional.
-
getWithUpdate
public boolean getWithUpdate()Adds the `--with-update` flag, to `zypper patch`.
bool with_update = 2;- Specified by:
getWithUpdatein interfacePatchJobs.ZypperSettingsOrBuilder- Returns:
- The withUpdate.
-
getCategoriesList
public com.google.protobuf.ProtocolStringList getCategoriesList()Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;- Specified by:
getCategoriesListin interfacePatchJobs.ZypperSettingsOrBuilder- Returns:
- A list containing the categories.
-
getCategoriesCount
public int getCategoriesCount()Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;- Specified by:
getCategoriesCountin interfacePatchJobs.ZypperSettingsOrBuilder- Returns:
- The count of categories.
-
getCategories
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;- Specified by:
getCategoriesin interfacePatchJobs.ZypperSettingsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The categories at the given index.
-
getCategoriesBytes
public com.google.protobuf.ByteString getCategoriesBytes(int index) Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;- Specified by:
getCategoriesBytesin interfacePatchJobs.ZypperSettingsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the categories at the given index.
-
getSeveritiesList
public com.google.protobuf.ProtocolStringList getSeveritiesList()Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;- Specified by:
getSeveritiesListin interfacePatchJobs.ZypperSettingsOrBuilder- Returns:
- A list containing the severities.
-
getSeveritiesCount
public int getSeveritiesCount()Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;- Specified by:
getSeveritiesCountin interfacePatchJobs.ZypperSettingsOrBuilder- Returns:
- The count of severities.
-
getSeverities
Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;- Specified by:
getSeveritiesin interfacePatchJobs.ZypperSettingsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The severities at the given index.
-
getSeveritiesBytes
public com.google.protobuf.ByteString getSeveritiesBytes(int index) Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;- Specified by:
getSeveritiesBytesin interfacePatchJobs.ZypperSettingsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the severities at the given index.
-
getExcludesList
public com.google.protobuf.ProtocolStringList getExcludesList()List of patches to exclude from update.
repeated string excludes = 5;- Specified by:
getExcludesListin interfacePatchJobs.ZypperSettingsOrBuilder- Returns:
- A list containing the excludes.
-
getExcludesCount
public int getExcludesCount()List of patches to exclude from update.
repeated string excludes = 5;- Specified by:
getExcludesCountin interfacePatchJobs.ZypperSettingsOrBuilder- Returns:
- The count of excludes.
-
getExcludes
List of patches to exclude from update.
repeated string excludes = 5;- Specified by:
getExcludesin interfacePatchJobs.ZypperSettingsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The excludes at the given index.
-
getExcludesBytes
public com.google.protobuf.ByteString getExcludesBytes(int index) List of patches to exclude from update.
repeated string excludes = 5;- Specified by:
getExcludesBytesin interfacePatchJobs.ZypperSettingsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludes at the given index.
-
getExclusivePatchesList
public com.google.protobuf.ProtocolStringList getExclusivePatchesList()An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command. This field must not be used with any other patch configuration fields.
repeated string exclusive_patches = 6;- Specified by:
getExclusivePatchesListin interfacePatchJobs.ZypperSettingsOrBuilder- Returns:
- A list containing the exclusivePatches.
-
getExclusivePatchesCount
public int getExclusivePatchesCount()An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command. This field must not be used with any other patch configuration fields.
repeated string exclusive_patches = 6;- Specified by:
getExclusivePatchesCountin interfacePatchJobs.ZypperSettingsOrBuilder- Returns:
- The count of exclusivePatches.
-
getExclusivePatches
An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command. This field must not be used with any other patch configuration fields.
repeated string exclusive_patches = 6;- Specified by:
getExclusivePatchesin interfacePatchJobs.ZypperSettingsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The exclusivePatches at the given index.
-
getExclusivePatchesBytes
public com.google.protobuf.ByteString getExclusivePatchesBytes(int index) An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command. This field must not be used with any other patch configuration fields.
repeated string exclusive_patches = 6;- Specified by:
getExclusivePatchesBytesin interfacePatchJobs.ZypperSettingsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the exclusivePatches at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PatchJobs.ZypperSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.ZypperSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.ZypperSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.ZypperSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.ZypperSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PatchJobs.ZypperSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PatchJobs.ZypperSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PatchJobs.ZypperSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PatchJobs.ZypperSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PatchJobs.ZypperSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PatchJobs.ZypperSettings.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-