Class PlatformSoftware (0.3.0)

public final class PlatformSoftware extends GeneratedMessage implements PlatformSoftwareOrBuilder

Platform software information about an operating system.

Protobuf type google.backstory.PlatformSoftware

Static Fields

PLATFORM_FIELD_NUMBER

public static final int PLATFORM_FIELD_NUMBER
Field Value
Type Description
int

PLATFORM_PATCH_LEVEL_FIELD_NUMBER

public static final int PLATFORM_PATCH_LEVEL_FIELD_NUMBER
Field Value
Type Description
int

PLATFORM_VERSION_FIELD_NUMBER

public static final int PLATFORM_VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PlatformSoftware getDefaultInstance()
Returns
Type Description
PlatformSoftware

getDescriptor()

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

newBuilder()

public static PlatformSoftware.Builder newBuilder()
Returns
Type Description
PlatformSoftware.Builder

newBuilder(PlatformSoftware prototype)

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

parseDelimitedFrom(InputStream input)

public static PlatformSoftware parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PlatformSoftware
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static PlatformSoftware parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PlatformSoftware
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static PlatformSoftware parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PlatformSoftware
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static PlatformSoftware parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PlatformSoftware
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static PlatformSoftware parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PlatformSoftware
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<PlatformSoftware> parser()
Returns
Type Description
Parser<PlatformSoftware>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PlatformSoftware getDefaultInstanceForType()
Returns
Type Description
PlatformSoftware

getParserForType()

public Parser<PlatformSoftware> getParserForType()
Returns
Type Description
Parser<PlatformSoftware>
Overrides

getPlatform()

public Noun.Platform getPlatform()

The platform operating system.

.google.backstory.Noun.Platform platform = 1;

Returns
Type Description
Noun.Platform

The platform.

getPlatformPatchLevel()

public String getPlatformPatchLevel()

The platform software patch level ( e.g. "Build 17134.48", "SP1").

string platform_patch_level = 3;

Returns
Type Description
String

The platformPatchLevel.

getPlatformPatchLevelBytes()

public ByteString getPlatformPatchLevelBytes()

The platform software patch level ( e.g. "Build 17134.48", "SP1").

string platform_patch_level = 3;

Returns
Type Description
ByteString

The bytes for platformPatchLevel.

getPlatformValue()

public int getPlatformValue()

The platform operating system.

.google.backstory.Noun.Platform platform = 1;

Returns
Type Description
int

The enum numeric value on the wire for platform.

getPlatformVersion()

public String getPlatformVersion()

The platform software version ( e.g. "Microsoft Windows 1803").

string platform_version = 2;

Returns
Type Description
String

The platformVersion.

getPlatformVersionBytes()

public ByteString getPlatformVersionBytes()

The platform software version ( e.g. "Microsoft Windows 1803").

string platform_version = 2;

Returns
Type Description
ByteString

The bytes for platformVersion.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PlatformSoftware.Builder newBuilderForType()
Returns
Type Description
PlatformSoftware.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected PlatformSoftware.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PlatformSoftware.Builder
Overrides

toBuilder()

public PlatformSoftware.Builder toBuilder()
Returns
Type Description
PlatformSoftware.Builder

writeTo(CodedOutputStream output)

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