Class Inventory.ZypperPatch (2.26.0)

public static final class Inventory.ZypperPatch extends GeneratedMessageV3 implements Inventory.ZypperPatchOrBuilder

Details related to a Zypper Patch.

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

Static Fields

CATEGORY_FIELD_NUMBER

public static final int CATEGORY_FIELD_NUMBER
Field Value
TypeDescription
int

PATCH_NAME_FIELD_NUMBER

public static final int PATCH_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
TypeDescription
int

SUMMARY_FIELD_NUMBER

public static final int SUMMARY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Inventory.ZypperPatch getDefaultInstance()
Returns
TypeDescription
Inventory.ZypperPatch

getDescriptor()

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

newBuilder()

public static Inventory.ZypperPatch.Builder newBuilder()
Returns
TypeDescription
Inventory.ZypperPatch.Builder

newBuilder(Inventory.ZypperPatch prototype)

public static Inventory.ZypperPatch.Builder newBuilder(Inventory.ZypperPatch prototype)
Parameter
NameDescription
prototypeInventory.ZypperPatch
Returns
TypeDescription
Inventory.ZypperPatch.Builder

parseDelimitedFrom(InputStream input)

public static Inventory.ZypperPatch parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Inventory.ZypperPatch
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.ZypperPatch parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.ZypperPatch
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Inventory.ZypperPatch parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Inventory.ZypperPatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Inventory.ZypperPatch parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.ZypperPatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Inventory.ZypperPatch parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Inventory.ZypperPatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Inventory.ZypperPatch parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.ZypperPatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Inventory.ZypperPatch parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Inventory.ZypperPatch
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.ZypperPatch parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.ZypperPatch
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Inventory.ZypperPatch parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Inventory.ZypperPatch
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.ZypperPatch parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.ZypperPatch
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Inventory.ZypperPatch parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Inventory.ZypperPatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Inventory.ZypperPatch parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.ZypperPatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Inventory.ZypperPatch> parser()
Returns
TypeDescription
Parser<ZypperPatch>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

public Parser<Inventory.ZypperPatch> getParserForType()
Returns
TypeDescription
Parser<ZypperPatch>
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Inventory.ZypperPatch.Builder newBuilderForType()
Returns
TypeDescription
Inventory.ZypperPatch.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Inventory.ZypperPatch.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Inventory.ZypperPatch.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Inventory.ZypperPatch.Builder toBuilder()
Returns
TypeDescription
Inventory.ZypperPatch.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException