Class Software (0.3.0)

public final class Software extends GeneratedMessage implements SoftwareOrBuilder

Information about a software package or application.

Protobuf type google.backstory.Software

Implements

SoftwareOrBuilder

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PERMISSIONS_FIELD_NUMBER

public static final int PERMISSIONS_FIELD_NUMBER
Field Value
Type Description
int

VENDOR_NAME_FIELD_NUMBER

public static final int VENDOR_NAME_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Software getDefaultInstance()
Returns
Type Description
Software

getDescriptor()

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

newBuilder()

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

newBuilder(Software prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Software getDefaultInstanceForType()
Returns
Type Description
Software

getDescription()

public String getDescription()

The description of the software.

string description = 4;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the software.

string description = 4;

Returns
Type Description
ByteString

The bytes for description.

getName()

public String getName()

The name of the software.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the software.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getPermissions(int index)

public Permission getPermissions(int index)

System permissions granted to the software. For example, "android.permission.WRITE_EXTERNAL_STORAGE"

repeated .google.backstory.Permission permissions = 3;

Parameter
Name Description
index int
Returns
Type Description
Permission

getPermissionsCount()

public int getPermissionsCount()

System permissions granted to the software. For example, "android.permission.WRITE_EXTERNAL_STORAGE"

repeated .google.backstory.Permission permissions = 3;

Returns
Type Description
int

getPermissionsList()

public List<Permission> getPermissionsList()

System permissions granted to the software. For example, "android.permission.WRITE_EXTERNAL_STORAGE"

repeated .google.backstory.Permission permissions = 3;

Returns
Type Description
List<Permission>

getPermissionsOrBuilder(int index)

public PermissionOrBuilder getPermissionsOrBuilder(int index)

System permissions granted to the software. For example, "android.permission.WRITE_EXTERNAL_STORAGE"

repeated .google.backstory.Permission permissions = 3;

Parameter
Name Description
index int
Returns
Type Description
PermissionOrBuilder

getPermissionsOrBuilderList()

public List<? extends PermissionOrBuilder> getPermissionsOrBuilderList()

System permissions granted to the software. For example, "android.permission.WRITE_EXTERNAL_STORAGE"

repeated .google.backstory.Permission permissions = 3;

Returns
Type Description
List<? extends com.google.backstory.PermissionOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVendorName()

public String getVendorName()

The name of the software vendor.

string vendor_name = 5;

Returns
Type Description
String

The vendorName.

getVendorNameBytes()

public ByteString getVendorNameBytes()

The name of the software vendor.

string vendor_name = 5;

Returns
Type Description
ByteString

The bytes for vendorName.

getVersion()

public String getVersion()

The version of the software.

string version = 2;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The version of the software.

string version = 2;

Returns
Type Description
ByteString

The bytes for version.

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 Software.Builder newBuilderForType()
Returns
Type Description
Software.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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