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

The patchName.

getPatchNameBytes()

public ByteString getPatchNameBytes()

The name of the patch.

string patch_name = 5;

Returns
TypeDescription
ByteString

The bytes for patchName.

getSeverity()

public String getSeverity()

The severity specified for this patch

string severity = 3;

Returns
TypeDescription
String

The severity.

getSeverityBytes()

public ByteString getSeverityBytes()

The severity specified for this patch

string severity = 3;

Returns
TypeDescription
ByteString

The bytes for severity.

getSummary()

public String getSummary()

Any summary information provided about this patch.

string summary = 4;

Returns
TypeDescription
String

The summary.

getSummaryBytes()

public ByteString getSummaryBytes()

Any summary information provided about this patch.

string summary = 4;

Returns
TypeDescription
ByteString

The bytes for summary.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Inventory.ZypperPatch other)

public Inventory.ZypperPatch.Builder mergeFrom(Inventory.ZypperPatch other)
Parameter
NameDescription
otherInventory.ZypperPatch
Returns
TypeDescription
Inventory.ZypperPatch.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Inventory.ZypperPatch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.ZypperPatch.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Inventory.ZypperPatch.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Inventory.ZypperPatch.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Inventory.ZypperPatch.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Inventory.ZypperPatch.Builder
Overrides

setCategory(String value)

public Inventory.ZypperPatch.Builder setCategory(String value)

The category of the patch.

string category = 2;

Parameter
NameDescription
valueString

The category to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for category to set.

Returns
TypeDescription
Inventory.ZypperPatch.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setPatchName(String value)

public Inventory.ZypperPatch.Builder setPatchName(String value)

The name of the patch.

string patch_name = 5;

Parameter
NameDescription
valueString

The patchName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for patchName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Inventory.ZypperPatch.Builder
Overrides

setSeverity(String value)

public Inventory.ZypperPatch.Builder setSeverity(String value)

The severity specified for this patch

string severity = 3;

Parameter
NameDescription
valueString

The severity to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for severity to set.

Returns
TypeDescription
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
NameDescription
valueString

The summary to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for summary to set.

Returns
TypeDescription
Inventory.ZypperPatch.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Inventory.ZypperPatch.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Inventory.ZypperPatch.Builder
Overrides