Class PatchJobs.ZypperSettings (2.44.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.v1.ZypperSettings

Static Fields

CATEGORIES_FIELD_NUMBER

public static final int CATEGORIES_FIELD_NUMBER
Field Value
Type Description
int

EXCLUDES_FIELD_NUMBER

public static final int EXCLUDES_FIELD_NUMBER
Field Value
Type Description
int

EXCLUSIVE_PATCHES_FIELD_NUMBER

public static final int EXCLUSIVE_PATCHES_FIELD_NUMBER
Field Value
Type Description
int

SEVERITIES_FIELD_NUMBER

public static final int SEVERITIES_FIELD_NUMBER
Field Value
Type Description
int

WITH_OPTIONAL_FIELD_NUMBER

public static final int WITH_OPTIONAL_FIELD_NUMBER
Field Value
Type Description
int

WITH_UPDATE_FIELD_NUMBER

public static final int WITH_UPDATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PatchJobs.ZypperSettings getDefaultInstance()
Returns
Type Description
PatchJobs.ZypperSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PatchJobs.ZypperSettings.Builder newBuilder()
Returns
Type Description
PatchJobs.ZypperSettings.Builder

newBuilder(PatchJobs.ZypperSettings prototype)

public static PatchJobs.ZypperSettings.Builder newBuilder(PatchJobs.ZypperSettings prototype)
Parameter
Name Description
prototype PatchJobs.ZypperSettings
Returns
Type Description
PatchJobs.ZypperSettings.Builder

parseDelimitedFrom(InputStream input)

public static PatchJobs.ZypperSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PatchJobs.ZypperSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.ZypperSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.ZypperSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PatchJobs.ZypperSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PatchJobs.ZypperSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.ZypperSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.ZypperSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PatchJobs.ZypperSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PatchJobs.ZypperSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.ZypperSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.ZypperSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PatchJobs.ZypperSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PatchJobs.ZypperSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.ZypperSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.ZypperSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PatchJobs.ZypperSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PatchJobs.ZypperSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.ZypperSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.ZypperSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PatchJobs.ZypperSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PatchJobs.ZypperSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PatchJobs.ZypperSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PatchJobs.ZypperSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the categories.

getDefaultInstanceForType()

public PatchJobs.ZypperSettings getDefaultInstanceForType()
Returns
Type Description
PatchJobs.ZypperSettings

getExcludes(int index)

public String getExcludes(int index)

List of patches to exclude from update.

repeated string excludes = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
int

The count of excludes.

getExcludesList()

public ProtocolStringList getExcludesList()

List of patches to exclude from update.

repeated string excludes = 5;

Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the exclusivePatches.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the severities.

getWithOptional()

public boolean getWithOptional()

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

bool with_optional = 1;

Returns
Type Description
boolean

The withOptional.

getWithUpdate()

public boolean getWithUpdate()

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

bool with_update = 2;

Returns
Type Description
boolean

The withUpdate.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PatchJobs.ZypperSettings.Builder newBuilderForType()
Returns
Type Description
PatchJobs.ZypperSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PatchJobs.ZypperSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PatchJobs.ZypperSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PatchJobs.ZypperSettings.Builder toBuilder()
Returns
Type Description
PatchJobs.ZypperSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException