Class WindowsUpdate.Identity (2.52.0)

public static final class WindowsUpdate.Identity extends GeneratedMessageV3 implements WindowsUpdate.IdentityOrBuilder

The unique identifier of the update.

Protobuf type grafeas.v1.WindowsUpdate.Identity

Static Fields

REVISION_FIELD_NUMBER

public static final int REVISION_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_ID_FIELD_NUMBER

public static final int UPDATE_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WindowsUpdate.Identity getDefaultInstance()
Returns
Type Description
WindowsUpdate.Identity

getDescriptor()

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

newBuilder()

public static WindowsUpdate.Identity.Builder newBuilder()
Returns
Type Description
WindowsUpdate.Identity.Builder

newBuilder(WindowsUpdate.Identity prototype)

public static WindowsUpdate.Identity.Builder newBuilder(WindowsUpdate.Identity prototype)
Parameter
Name Description
prototype WindowsUpdate.Identity
Returns
Type Description
WindowsUpdate.Identity.Builder

parseDelimitedFrom(InputStream input)

public static WindowsUpdate.Identity parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WindowsUpdate.Identity
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate.Identity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsUpdate.Identity
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WindowsUpdate.Identity parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WindowsUpdate.Identity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate.Identity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsUpdate.Identity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WindowsUpdate.Identity parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WindowsUpdate.Identity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate.Identity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsUpdate.Identity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WindowsUpdate.Identity parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WindowsUpdate.Identity
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate.Identity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsUpdate.Identity
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WindowsUpdate.Identity parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WindowsUpdate.Identity
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate.Identity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsUpdate.Identity
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WindowsUpdate.Identity parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WindowsUpdate.Identity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate.Identity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsUpdate.Identity
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WindowsUpdate.Identity> parser()
Returns
Type Description
Parser<Identity>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public WindowsUpdate.Identity getDefaultInstanceForType()
Returns
Type Description
WindowsUpdate.Identity

getParserForType()

public Parser<WindowsUpdate.Identity> getParserForType()
Returns
Type Description
Parser<Identity>
Overrides

getRevision()

public int getRevision()

The revision number of the update.

int32 revision = 2;

Returns
Type Description
int

The revision.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateId()

public String getUpdateId()

The revision independent identifier of the update.

string update_id = 1;

Returns
Type Description
String

The updateId.

getUpdateIdBytes()

public ByteString getUpdateIdBytes()

The revision independent identifier of the update.

string update_id = 1;

Returns
Type Description
ByteString

The bytes for updateId.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WindowsUpdate.Identity.Builder newBuilderForType()
Returns
Type Description
WindowsUpdate.Identity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WindowsUpdate.Identity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WindowsUpdate.Identity.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public WindowsUpdate.Identity.Builder toBuilder()
Returns
Type Description
WindowsUpdate.Identity.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException