-
- All Implemented Interfaces:
-
com.polygamma.ogm.util.ProtobufMessage
public final class BuildDescriptor implements ProtobufMessage
Device build descriptor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceBuildDescriptor.BuilderDevice build descriptor builder.
-
Method Summary
Modifier and Type Method Description static BuildDescriptor.BuilderofBuilder()Construct new empty builder. BuildDescriptormergeFrom(ProtobufReader reader)Read and merge from Protobuf wire-codec reader. voidwriteTo(ProtobufWriter writer)Write {@code this}to a Protobuf wire-codec writer.BuildDescriptor.BuildertoBuilder()Construct new builder initialized with {@code this}.Stringmake()Device manufacturer name. Stringmodel()Device model name. StringoperatingSystemVersion()Operating system version. StringsupportedAbis()Comma delimited list of ABIs supported by CPU. intlogicalProcessors()Number of logical processors. longtotalMemoryBytes()System RAM size, in bytes. inthashCode()booleanequals(@Nullable() Object other)StringtoString()-
-
Method Detail
-
ofBuilder
static BuildDescriptor.Builder ofBuilder()
Construct new empty builder.
-
mergeFrom
BuildDescriptor mergeFrom(ProtobufReader reader)
Read and merge from Protobuf wire-codec reader.
- Parameters:
reader- reader to merge from
-
writeTo
void writeTo(ProtobufWriter writer)
Write
{@code this}to a Protobuf wire-codec writer.- Parameters:
writer- writer to write to
-
toBuilder
BuildDescriptor.Builder toBuilder()
Construct new builder initialized with
{@code this}.
-
operatingSystemVersion
String operatingSystemVersion()
Operating system version.
-
supportedAbis
String supportedAbis()
Comma delimited list of ABIs supported by CPU.
-
logicalProcessors
int logicalProcessors()
Number of logical processors.
-
totalMemoryBytes
long totalMemoryBytes()
System RAM size, in bytes.
-
hashCode
int hashCode()
-
-
-
-