final case class DeviceAttributes(name: String = "", deviceType: String = "", memoryLimit: Long = 0L, locality: Option[DeviceLocality] = _root_.scala.None, incarnation: Long = 0L, physicalDeviceDesc: String = "", unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[DeviceAttributes] with Product with Serializable
- name
Fully specified name of the device within a cluster.
- deviceType
String representation of device_type.
- memoryLimit
Memory capacity of device in bytes.
- locality
Platform-specific data about device that may be useful for supporting efficient data transfers.
- incarnation
A device is assigned a global unique number each time it is initialized. "incarnation" should never be 0.
- physicalDeviceDesc
String representation of the physical device that this device maps to.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- DeviceAttributes
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
DeviceAttributes(name: String = "", deviceType: String = "", memoryLimit: Long = 0L, locality: Option[DeviceLocality] = _root_.scala.None, incarnation: Long = 0L, physicalDeviceDesc: String = "", unknownFields: UnknownFieldSet = ...)
- name
Fully specified name of the device within a cluster.
- deviceType
String representation of device_type.
- memoryLimit
Memory capacity of device in bytes.
- locality
Platform-specific data about device that may be useful for supporting efficient data transfers.
- incarnation
A device is assigned a global unique number each time it is initialized. "incarnation" should never be 0.
- physicalDeviceDesc
String representation of the physical device that this device maps to.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearLocality: DeviceAttributes
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
companion: DeviceAttributes.type
- Definition Classes
- DeviceAttributes → GeneratedMessage
- val deviceType: String
- def discardUnknownFields: DeviceAttributes
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- DeviceAttributes → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- DeviceAttributes → GeneratedMessage
- def getLocality: DeviceLocality
- val incarnation: Long
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val locality: Option[DeviceLocality]
- val memoryLimit: Long
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val physicalDeviceDesc: String
-
def
serializedSize: Int
- Definition Classes
- DeviceAttributes → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- DeviceAttributes → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[DeviceAttributes, DeviceAttributes]) ⇒ Mutation[DeviceAttributes]*): DeviceAttributes
- Definition Classes
- Updatable
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withDeviceType(__v: String): DeviceAttributes
- def withIncarnation(__v: Long): DeviceAttributes
- def withLocality(__v: DeviceLocality): DeviceAttributes
- def withMemoryLimit(__v: Long): DeviceAttributes
- def withName(__v: String): DeviceAttributes
- def withPhysicalDeviceDesc(__v: String): DeviceAttributes
- def withUnknownFields(__v: UnknownFieldSet): DeviceAttributes
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- DeviceAttributes → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated