Class PlatformSoftware.Builder (0.3.0)

public static final class PlatformSoftware.Builder extends GeneratedMessage.Builder<PlatformSoftware.Builder> implements PlatformSoftwareOrBuilder

Platform software information about an operating system.

Protobuf type google.backstory.PlatformSoftware

Static Methods

getDescriptor()

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

Methods

build()

public PlatformSoftware build()
Returns
Type Description
PlatformSoftware

buildPartial()

public PlatformSoftware buildPartial()
Returns
Type Description
PlatformSoftware

clear()

public PlatformSoftware.Builder clear()
Returns
Type Description
PlatformSoftware.Builder
Overrides

clearPlatform()

public PlatformSoftware.Builder clearPlatform()

The platform operating system.

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

Returns
Type Description
PlatformSoftware.Builder

This builder for chaining.

clearPlatformPatchLevel()

public PlatformSoftware.Builder clearPlatformPatchLevel()

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

string platform_patch_level = 3;

Returns
Type Description
PlatformSoftware.Builder

This builder for chaining.

clearPlatformVersion()

public PlatformSoftware.Builder clearPlatformVersion()

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

string platform_version = 2;

Returns
Type Description
PlatformSoftware.Builder

This builder for chaining.

getDefaultInstanceForType()

public PlatformSoftware getDefaultInstanceForType()
Returns
Type Description
PlatformSoftware

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PlatformSoftware other)

public PlatformSoftware.Builder mergeFrom(PlatformSoftware other)
Parameter
Name Description
other PlatformSoftware
Returns
Type Description
PlatformSoftware.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PlatformSoftware.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlatformSoftware.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PlatformSoftware.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PlatformSoftware.Builder
Overrides

setPlatform(Noun.Platform value)

public PlatformSoftware.Builder setPlatform(Noun.Platform value)

The platform operating system.

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

Parameter
Name Description
value Noun.Platform

The platform to set.

Returns
Type Description
PlatformSoftware.Builder

This builder for chaining.

setPlatformPatchLevel(String value)

public PlatformSoftware.Builder setPlatformPatchLevel(String value)

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

string platform_patch_level = 3;

Parameter
Name Description
value String

The platformPatchLevel to set.

Returns
Type Description
PlatformSoftware.Builder

This builder for chaining.

setPlatformPatchLevelBytes(ByteString value)

public PlatformSoftware.Builder setPlatformPatchLevelBytes(ByteString value)

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

string platform_patch_level = 3;

Parameter
Name Description
value ByteString

The bytes for platformPatchLevel to set.

Returns
Type Description
PlatformSoftware.Builder

This builder for chaining.

setPlatformValue(int value)

public PlatformSoftware.Builder setPlatformValue(int value)

The platform operating system.

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

Parameter
Name Description
value int

The enum numeric value on the wire for platform to set.

Returns
Type Description
PlatformSoftware.Builder

This builder for chaining.

setPlatformVersion(String value)

public PlatformSoftware.Builder setPlatformVersion(String value)

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

string platform_version = 2;

Parameter
Name Description
value String

The platformVersion to set.

Returns
Type Description
PlatformSoftware.Builder

This builder for chaining.

setPlatformVersionBytes(ByteString value)

public PlatformSoftware.Builder setPlatformVersionBytes(ByteString value)

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

string platform_version = 2;

Parameter
Name Description
value ByteString

The bytes for platformVersion to set.

Returns
Type Description
PlatformSoftware.Builder

This builder for chaining.