Class Inventory.ZypperPatch.Builder (2.85.0)

public static final class Inventory.ZypperPatch.Builder extends GeneratedMessage.Builder<Inventory.ZypperPatch.Builder> implements Inventory.ZypperPatchOrBuilder

Details related to a Zypper Patch.

Protobuf type google.cloud.osconfig.v1alpha.Inventory.ZypperPatch

Static Methods

getDescriptor()

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

Methods

build()

public Inventory.ZypperPatch build()
Returns
Type Description
Inventory.ZypperPatch

buildPartial()

public Inventory.ZypperPatch buildPartial()
Returns
Type Description
Inventory.ZypperPatch

clear()

public Inventory.ZypperPatch.Builder clear()
Returns
Type Description
Inventory.ZypperPatch.Builder
Overrides

clearCategory()

public Inventory.ZypperPatch.Builder clearCategory()

The category of the patch.

string category = 2;

Returns
Type Description
Inventory.ZypperPatch.Builder

This builder for chaining.

clearPatchName()

public Inventory.ZypperPatch.Builder clearPatchName()

The name of the patch.

string patch_name = 5;

Returns
Type Description
Inventory.ZypperPatch.Builder

This builder for chaining.

clearSeverity()

public Inventory.ZypperPatch.Builder clearSeverity()

The severity specified for this patch

string severity = 3;

Returns
Type Description
Inventory.ZypperPatch.Builder

This builder for chaining.

clearSummary()

public Inventory.ZypperPatch.Builder clearSummary()

Any summary information provided about this patch.

string summary = 4;

Returns
Type Description
Inventory.ZypperPatch.Builder

This builder for chaining.

getCategory()

public String getCategory()

The category of the patch.

string category = 2;

Returns
Type Description
String

The category.

getCategoryBytes()

public ByteString getCategoryBytes()

The category of the patch.

string category = 2;

Returns
Type Description
ByteString

The bytes for category.

getDefaultInstanceForType()

public Inventory.ZypperPatch getDefaultInstanceForType()
Returns
Type Description
Inventory.ZypperPatch

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPatchName()

public String getPatchName()

The name of the patch.

string patch_name = 5;

Returns
Type Description
String

The patchName.

getPatchNameBytes()

public ByteString getPatchNameBytes()

The name of the patch.

string patch_name = 5;

Returns
Type Description
ByteString

The bytes for patchName.

getSeverity()

public String getSeverity()

The severity specified for this patch

string severity = 3;

Returns
Type Description
String

The severity.

getSeverityBytes()

public ByteString getSeverityBytes()

The severity specified for this patch

string severity = 3;

Returns
Type Description
ByteString

The bytes for severity.

getSummary()

public String getSummary()

Any summary information provided about this patch.

string summary = 4;

Returns
Type Description
String

The summary.

getSummaryBytes()

public ByteString getSummaryBytes()

Any summary information provided about this patch.

string summary = 4;

Returns
Type Description
ByteString

The bytes for summary.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Inventory.ZypperPatch other)

public Inventory.ZypperPatch.Builder mergeFrom(Inventory.ZypperPatch other)
Parameter
Name Description
other Inventory.ZypperPatch
Returns
Type Description
Inventory.ZypperPatch.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Inventory.ZypperPatch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.ZypperPatch.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Inventory.ZypperPatch.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Inventory.ZypperPatch.Builder
Overrides

setCategory(String value)

public Inventory.ZypperPatch.Builder setCategory(String value)

The category of the patch.

string category = 2;

Parameter
Name Description
value String

The category to set.

Returns
Type Description
Inventory.ZypperPatch.Builder

This builder for chaining.

setCategoryBytes(ByteString value)

public Inventory.ZypperPatch.Builder setCategoryBytes(ByteString value)

The category of the patch.

string category = 2;

Parameter
Name Description
value ByteString

The bytes for category to set.

Returns
Type Description
Inventory.ZypperPatch.Builder

This builder for chaining.

setPatchName(String value)

public Inventory.ZypperPatch.Builder setPatchName(String value)

The name of the patch.

string patch_name = 5;

Parameter
Name Description
value String

The patchName to set.

Returns
Type Description
Inventory.ZypperPatch.Builder

This builder for chaining.

setPatchNameBytes(ByteString value)

public Inventory.ZypperPatch.Builder setPatchNameBytes(ByteString value)

The name of the patch.

string patch_name = 5;

Parameter
Name Description
value ByteString

The bytes for patchName to set.

Returns
Type Description
Inventory.ZypperPatch.Builder

This builder for chaining.

setSeverity(String value)

public Inventory.ZypperPatch.Builder setSeverity(String value)

The severity specified for this patch

string severity = 3;

Parameter
Name Description
value String

The severity to set.

Returns
Type Description
Inventory.ZypperPatch.Builder

This builder for chaining.

setSeverityBytes(ByteString value)

public Inventory.ZypperPatch.Builder setSeverityBytes(ByteString value)

The severity specified for this patch

string severity = 3;

Parameter
Name Description
value ByteString

The bytes for severity to set.

Returns
Type Description
Inventory.ZypperPatch.Builder

This builder for chaining.

setSummary(String value)

public Inventory.ZypperPatch.Builder setSummary(String value)

Any summary information provided about this patch.

string summary = 4;

Parameter
Name Description
value String

The summary to set.

Returns
Type Description
Inventory.ZypperPatch.Builder

This builder for chaining.

setSummaryBytes(ByteString value)

public Inventory.ZypperPatch.Builder setSummaryBytes(ByteString value)

Any summary information provided about this patch.

string summary = 4;

Parameter
Name Description
value ByteString

The bytes for summary to set.

Returns
Type Description
Inventory.ZypperPatch.Builder

This builder for chaining.