Class Inventory.ZypperPatch.Builder (2.30.0)

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

Details related to a Zypper Patch.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Inventory.ZypperPatch.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Inventory.ZypperPatch.Builder
Overrides

build()

public Inventory.ZypperPatch build()
Returns
TypeDescription
Inventory.ZypperPatch

buildPartial()

public Inventory.ZypperPatch buildPartial()
Returns
TypeDescription
Inventory.ZypperPatch

clear()

public Inventory.ZypperPatch.Builder clear()
Returns
TypeDescription
Inventory.ZypperPatch.Builder
Overrides

clearCategory()

public Inventory.ZypperPatch.Builder clearCategory()

The category of the patch.

string category = 2;

Returns
TypeDescription
Inventory.ZypperPatch.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Inventory.ZypperPatch.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Inventory.ZypperPatch.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Inventory.ZypperPatch.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Inventory.ZypperPatch.Builder
Overrides

clearPatchName()

public Inventory.ZypperPatch.Builder clearPatchName()

The name of the patch.

string patch_name = 5;

Returns
TypeDescription
Inventory.ZypperPatch.Builder

This builder for chaining.

clearSeverity()

public Inventory.ZypperPatch.Builder clearSeverity()

The severity specified for this patch

string severity = 3;

Returns
TypeDescription
Inventory.ZypperPatch.Builder

This builder for chaining.

clearSummary()

public Inventory.ZypperPatch.Builder clearSummary()

Any summary information provided about this patch.

string summary = 4;

Returns
TypeDescription
Inventory.ZypperPatch.Builder

This builder for chaining.

clone()

public Inventory.ZypperPatch.Builder clone()
Returns
TypeDescription
Inventory.ZypperPatch.Builder
Overrides

getCategory()

public String getCategory()

The category of the patch.

string category = 2;

Returns
TypeDescription
String

The category.

getCategoryBytes()

public ByteString getCategoryBytes()

The category of the patch.

string category = 2;

Returns
TypeDescription
ByteString

The bytes for category.

getDefaultInstanceForType()

public Inventory.ZypperPatch getDefaultInstanceForType()
Returns
TypeDescription
Inventory.ZypperPatch

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPatchName()

public String getPatchName()

The name of the patch.

string patch_name = 5;

Returns
TypeDescription
String

T