Class Inventory.ZypperPatch.Builder (2.45.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.v1alpha.Inventory.ZypperPatch

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Inventory.ZypperPatch.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Inventory.ZypperPatch.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public Inventory.ZypperPatch.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Inventory.ZypperPatch.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Inventory.ZypperPatch.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Inventory.ZypperPatch.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Inventory.ZypperPatch.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public Inventory.ZypperPatch.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Inventory.ZypperPatch.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Inventory.ZypperPatch.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Inventory.ZypperPatch.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final Inventory.ZypperPatch.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Inventory.ZypperPatch.Builder
Overrides