DeviceInfo

class DeviceInfo : GeneratedMessage, DeviceInfoOrBuilder
Describes info for a connected peripheral or device.
Protobuf type elide.machine.DeviceInfo

Types

Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , DeviceInfoOrBuilder
Describes info for a connected peripheral or device.
Protobuf type elide.machine.DeviceInfo

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
inline fun DeviceInfo.copy(block: DeviceInfoKt.Dsl.() -> Unit): DeviceInfo
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
Link copied to clipboard
open fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
open fun getAvailable(): Boolean
Whether this device or peripheral is available for use.
bool available = 6;
Link copied to clipboard
open fun getCapacity(): Int
Capacity rating for this device; for storage, this is expressed as a count of gigabytes. For network devices, this
is expressed as a count of megabits per second. For accelerators, this is expressed as a count of compute units.
uint32 capacity = 5;
Link copied to clipboard
Link copied to clipboard
abstract fun getDefaultInstanceForType(): MessageLite
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
Family or type of device.
.elide.machine.DeviceFamily family = 2;
Link copied to clipboard
open fun getFamilyValue(): Int
Family or type of device.
.elide.machine.DeviceFamily family = 2;
Link copied to clipboard
open fun getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
open fun getId(): String
ID assigned to this device.
string id = 1;
Link copied to clipboard
open fun getIdBytes(): ByteString
ID assigned to this device.
string id = 1;
Link copied to clipboard
open fun getModel(): String
Model of this device.
string model = 4;
Link copied to clipboard
open fun getModelBytes(): ByteString
Model of this device.
string model = 4;
Link copied to clipboard
open fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
abstract fun getParserForType(): Parser<out Message>
abstract fun getParserForType(): Parser<out MessageLite>
open fun getParserForType(): Parser<DeviceInfo>
Link copied to clipboard
open fun getRepeatedField(field: Descriptors.FieldDescriptor, index: Int): Any
Link copied to clipboard
open fun getRepeatedFieldCount(field: Descriptors.FieldDescriptor): Int
Link copied to clipboard
Link copied to clipboard
open fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
open fun getVendor(): String
Vendor of this device.
string vendor = 3;
Link copied to clipboard
open fun getVendorBytes(): ByteString
Vendor of this device.
string vendor = 3;
Link copied to clipboard
open fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <ContainingT : Message?, T> newFileScopedGeneratedExtension(singularType: Class<out Any>, defaultInstance: Message): GeneratedMessage.GeneratedExtension<ContainingT, T>
Link copied to clipboard
open fun <ContainingT : Message?, T> newMessageScopedGeneratedExtension(scope: Message, descriptorIndex: Int, singularType: Class<out Any>, defaultInstance: Message): GeneratedMessage.GeneratedExtension<ContainingT, T>
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): DeviceInfo
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): DeviceInfo
open fun parseFrom(data: ByteString): DeviceInfo
open fun parseFrom(input: CodedInputStream): DeviceInfo
open fun parseFrom(input: InputStream): DeviceInfo
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): DeviceInfo
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): DeviceInfo
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): DeviceInfo
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): DeviceInfo
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): DeviceInfo
Link copied to clipboard
open fun parser(): Parser<DeviceInfo>
Link copied to clipboard
Link copied to clipboard
open fun toByteArray(): Array<Byte>
Link copied to clipboard
open fun toByteString(): ByteString
Link copied to clipboard
Link copied to clipboard
open fun writeDelimitedTo(output: OutputStream)
Link copied to clipboard
open fun writeTo(output: CodedOutputStream)