Class PatchJobs.ZypperSettings (2.23.0)

public static final class PatchJobs.ZypperSettings extends GeneratedMessageV3 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

Static Fields

CATEGORIES_FIELD_NUMBER

public static final int CATEGORIES_FIELD_NUMBER
Field Value
TypeDescription
int

EXCLUDES_FIELD_NUMBER

public static final int EXCLUDES_FIELD_NUMBER
Field Value
TypeDescription
int

EXCLUSIVE_PATCHES_FIELD_NUMBER

public static final int EXCLUSIVE_PATCHES_FIELD_NUMBER
Field Value
TypeDescription
int

SEVERITIES_FIELD_NUMBER

public static final int SEVERITIES_FIELD_NUMBER
Field Value
TypeDescription
int

WITH_OPTIONAL_FIELD_NUMBER

public static final int WITH_OPTIONAL_FIELD_NUMBER
Field Value
TypeDescription
int

WITH_UPDATE_FIELD_NUMBER

public static final int WITH_UPDATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PatchJobs.ZypperSettings getDefaultInstance()
Returns
TypeDescription
PatchJobs.ZypperSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PatchJobs.ZypperSettings.Builder newBuilder()
Returns
TypeDescription
PatchJobs.ZypperSettings.Builder

newBuilder(PatchJobs.ZypperSettings prototype)

public static PatchJobs.ZypperSettings.Builder newBuilder(PatchJobs.ZypperSettings prototype)
Parameter
NameDescription
prototypePatchJobs.ZypperSettings
Returns
TypeDescription
PatchJobs.ZypperSettings.Builder

parseDelimitedFrom(InputStream input)

public static PatchJobs.ZypperSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PatchJobs.ZypperSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.ZypperSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.ZypperSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PatchJobs.ZypperSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PatchJobs.ZypperSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.ZypperSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.ZypperSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PatchJobs.ZypperSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PatchJobs.ZypperSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.ZypperSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.ZypperSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PatchJobs.ZypperSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PatchJobs.ZypperSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.ZypperSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.ZypperSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PatchJobs.ZypperSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PatchJobs.ZypperSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.ZypperSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.ZypperSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PatchJobs.ZypperSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PatchJobs.ZypperSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.ZypperSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PatchJobs.ZypperSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PatchJobs.ZypperSettings> parser()
Returns
TypeDescription
Parser<ZypperSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCategories(int index)

public String getCategories(int index)

Install only patches with these categories. Common categories include security, recommended, and feature.

repeated string categories = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The categories at the given index.

getCategoriesBytes(int index)

public ByteString getCategoriesBytes(int index)

Install only patches with these categories. Common categories include security, recommended, and feature.

repeated string categories = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the categories at the given index.

getCategoriesCount()

public int getCategoriesCount()

Install only patches with these categories. Common categories include security, recommended, and feature.

repeated string categories = 3;

Returns
TypeDescription
int

The count of categories.

getCategoriesList()

public ProtocolStringList getCategoriesList()

Install only patches with these categories. Common categories include security, recommended, and feature.

repeated string categories = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the categories.

getDefaultInstanceForType()

public PatchJobs.ZypperSettings getDefaultInstanceForType()
Returns
TypeDescription
PatchJobs.ZypperSettings

getExcludes(int index)

public String getExcludes(int index)

List of patches to exclude from update.

repeated string excludes = 5;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The excludes at the given index.

getExcludesBytes(int index)

public ByteString getExcludesBytes(int index)

List of patches to exclude from update.

repeated string excludes = 5;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the excludes at the given index.

getExcludesCount()

public int getExcludesCount()

List of patches to exclude from update.

repeated string excludes = 5;

Returns
TypeDescription
int

The count of excludes.

getExcludesList()

public ProtocolStringList getExcludesList()

List of patches to exclude from update.

repeated string excludes = 5;

Returns
TypeDescription
ProtocolStringList

A list containing the excludes.

getExclusivePatches(int index)

public String getExclusivePatches(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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The exclusivePatches at the given index.

getExclusivePatchesBytes(int index)

public 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the exclusivePatches at the given index.

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;

Returns
TypeDescription
int

The count of exclusivePatches.

getExclusivePatchesList()

public 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;

Returns
TypeDescription
ProtocolStringList

A list containing the exclusivePatches.

getParserForType()

public Parser<PatchJobs.ZypperSettings> getParserForType()
Returns
TypeDescription
Parser<ZypperSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSeverities(int index)

public String getSeverities(int index)

Install only patches with these severities. Common severities include critical, important, moderate, and low.

repeated string severities = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The severities at the given index.

getSeveritiesBytes(int index)

public ByteString getSeveritiesBytes(int index)

Install only patches with these severities. Common severities include critical, important, moderate, and low.

repeated string severities = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the severities at the given index.

getSeveritiesCount()

public int getSeveritiesCount()

Install only patches with these severities. Common severities include critical, important, moderate, and low.

repeated string severities = 4;

Returns
TypeDescription
int

The count of severities.

getSeveritiesList()

public ProtocolStringList getSeveritiesList()

Install only patches with these severities. Common severities include critical, important, moderate, and low.

repeated string severities = 4;

Returns
TypeDescription
ProtocolStringList

A list containing the severities.

getWithOptional()

public boolean getWithOptional()

Adds the --with-optional flag to zypper patch.

bool with_optional = 1;

Returns
TypeDescription
boolean

The withOptional.

getWithUpdate()

public boolean getWithUpdate()

Adds the --with-update flag, to zypper patch.

bool with_update = 2;

Returns
TypeDescription
boolean

The withUpdate.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PatchJobs.ZypperSettings.Builder newBuilderForType()
Returns
TypeDescription
PatchJobs.ZypperSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PatchJobs.ZypperSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PatchJobs.ZypperSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PatchJobs.ZypperSettings.Builder toBuilder()
Returns
TypeDescription
PatchJobs.ZypperSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException