AvailableDeviceInfo.Builder

public static final class AvailableDeviceInfo.Builder

 Matches DeviceAttributes
 
Protobuf type tensorflow.AvailableDeviceInfo

Public Methods

AvailableDeviceInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AvailableDeviceInfo
build()
AvailableDeviceInfo
AvailableDeviceInfo.Builder
clear()
AvailableDeviceInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AvailableDeviceInfo.Builder
clearMemoryLimit()
 Memory capacity in bytes.
AvailableDeviceInfo.Builder
clearName()
 Device name.
AvailableDeviceInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AvailableDeviceInfo.Builder
clearPhysicalDescription()
 The physical description of this device.
AvailableDeviceInfo.Builder
clearType()
 Device type, e.g.
AvailableDeviceInfo.Builder
clone()
AvailableDeviceInfo
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
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.
final boolean
AvailableDeviceInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AvailableDeviceInfo.Builder
mergeFrom(com.google.protobuf.Message other)
final AvailableDeviceInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AvailableDeviceInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AvailableDeviceInfo.Builder
setMemoryLimit(long value)
 Memory capacity in bytes.
AvailableDeviceInfo.Builder
setName(String value)
 Device name.
AvailableDeviceInfo.Builder
setNameBytes(com.google.protobuf.ByteString value)
 Device name.
AvailableDeviceInfo.Builder
setPhysicalDescription(String value)
 The physical description of this device.
AvailableDeviceInfo.Builder
setPhysicalDescriptionBytes(com.google.protobuf.ByteString value)
 The physical description of this device.
AvailableDeviceInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AvailableDeviceInfo.Builder
setType(String value)
 Device type, e.g.
AvailableDeviceInfo.Builder
setTypeBytes(com.google.protobuf.ByteString value)
 Device type, e.g.
final AvailableDeviceInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public AvailableDeviceInfo.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public AvailableDeviceInfo build ()

public AvailableDeviceInfo buildPartial ()

public AvailableDeviceInfo.Builder clear ()

public AvailableDeviceInfo.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public AvailableDeviceInfo.Builder clearMemoryLimit ()

 Memory capacity in bytes.
 
int64 memory_limit = 3;

public AvailableDeviceInfo.Builder clearName ()

 Device name.
 
string name = 1;

public AvailableDeviceInfo.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public AvailableDeviceInfo.Builder clearPhysicalDescription ()

 The physical description of this device.
 
string physical_description = 4;

public AvailableDeviceInfo.Builder clearType ()

 Device type, e.g. 'CPU' or 'GPU'.
 
string type = 2;

public AvailableDeviceInfo.Builder clone ()

public AvailableDeviceInfo getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public long getMemoryLimit ()

 Memory capacity in bytes.
 
int64 memory_limit = 3;

public String getName ()

 Device name.
 
string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

 Device name.
 
string name = 1;

public String getPhysicalDescription ()

 The physical description of this device.
 
string physical_description = 4;

public com.google.protobuf.ByteString getPhysicalDescriptionBytes ()

 The physical description of this device.
 
string physical_description = 4;

public String getType ()

 Device type, e.g. 'CPU' or 'GPU'.
 
string type = 2;

public com.google.protobuf.ByteString getTypeBytes ()

 Device type, e.g. 'CPU' or 'GPU'.
 
string type = 2;

public final boolean isInitialized ()

public AvailableDeviceInfo.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public AvailableDeviceInfo.Builder mergeFrom (com.google.protobuf.Message other)

public final AvailableDeviceInfo.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public AvailableDeviceInfo.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public AvailableDeviceInfo.Builder setMemoryLimit (long value)

 Memory capacity in bytes.
 
int64 memory_limit = 3;

public AvailableDeviceInfo.Builder setName (String value)

 Device name.
 
string name = 1;

public AvailableDeviceInfo.Builder setNameBytes (com.google.protobuf.ByteString value)

 Device name.
 
string name = 1;

public AvailableDeviceInfo.Builder setPhysicalDescription (String value)

 The physical description of this device.
 
string physical_description = 4;

public AvailableDeviceInfo.Builder setPhysicalDescriptionBytes (com.google.protobuf.ByteString value)

 The physical description of this device.
 
string physical_description = 4;

public AvailableDeviceInfo.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public AvailableDeviceInfo.Builder setType (String value)

 Device type, e.g. 'CPU' or 'GPU'.
 
string type = 2;

public AvailableDeviceInfo.Builder setTypeBytes (com.google.protobuf.ByteString value)

 Device type, e.g. 'CPU' or 'GPU'.
 
string type = 2;

public final AvailableDeviceInfo.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)