public interface AvailableDeviceInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getMemoryLimit()
Memory capacity in bytes.
|
String |
getName()
Device name.
|
com.google.protobuf.ByteString |
getNameBytes()
Device name.
|
String |
getPhysicalDescription()
The physical description of this device.
|
com.google.protobuf.ByteString |
getPhysicalDescriptionBytes()
The physical description of this device.
|
String |
getType()
Device type, e.g.
|
com.google.protobuf.ByteString |
getTypeBytes()
Device type, e.g.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getName()
Device name.
string name = 1;
com.google.protobuf.ByteString getNameBytes()
Device name.
string name = 1;
String getType()
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;
com.google.protobuf.ByteString getTypeBytes()
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;
long getMemoryLimit()
Memory capacity in bytes.
int64 memory_limit = 3;
String getPhysicalDescription()
The physical description of this device.
string physical_description = 4;
com.google.protobuf.ByteString getPhysicalDescriptionBytes()
The physical description of this device.
string physical_description = 4;
Copyright © 2015–2019. All rights reserved.