Class WindowsUpdate.Identity (2.24.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
TypeDescription
int

UPDATE_ID_FIELD_NUMBER

public static final int UPDATE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WindowsUpdate.Identity getDefaultInstance()
Returns
TypeDescription
WindowsUpdate.Identity

getDescriptor()

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

newBuilder()

public static WindowsUpdate.Identity.Builder newBuilder()
Returns
TypeDescription
WindowsUpdate.Identity.Builder

newBuilder(WindowsUpdate.Identity prototype)

public static WindowsUpdate.Identity.Builder newBuilder(WindowsUpdate.Identity prototype)
Parameter
NameDescription
prototypeWindowsUpdate.Identity
Returns
TypeDescription
WindowsUpdate.Identity.Builder

parseDelimitedFrom(InputStream input)

public static WindowsUpdate.Identity parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WindowsUpdate.Identity
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static WindowsUpdate.Identity parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WindowsUpdate.Identity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static WindowsUpdate.Identity parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WindowsUpdate.Identity
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static WindowsUpdate.Identity parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WindowsUpdate.Identity
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static WindowsUpdate.Identity parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WindowsUpdate.Identity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public WindowsUpdate.Identity getDefaultInstanceForType()
Returns
TypeDescription
WindowsUpdate.Identity

getParserForType()

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

getRevision()

public int getRevision()

The revision number of the update.

int32 revision = 2;

Returns
TypeDescription
int

The revision.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpdateId()

public String getUpdateId()

The revision independent identifier of the update.

string update_id = 1;

Returns
TypeDescription
String

The updateId.

getUpdateIdBytes()

public ByteString getUpdateIdBytes()

The revision independent identifier of the update.

string update_id = 1;

Returns
TypeDescription
ByteString

The bytes for updateId.

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 WindowsUpdate.Identity.Builder newBuilderForType()
Returns
TypeDescription
WindowsUpdate.Identity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WindowsUpdate.Identity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WindowsUpdate.Identity.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public WindowsUpdate.Identity.Builder toBuilder()
Returns
TypeDescription
WindowsUpdate.Identity.Builder

writeTo(CodedOutputStream output)

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