GPUInfo.Builder

public static final class GPUInfo.Builder

Protobuf type tensorflow.GPUInfo

Public Methods

GPUInfo.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GPUInfo
GPUInfo
GPUInfo.Builder
GPUInfo.Builder
clearBusId ()
 e.g.
GPUInfo.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
GPUInfo.Builder
clearModel ()
 e.g.
GPUInfo.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
GPUInfo.Builder
clearUuid ()
 Final entry in output of "nvidia-smi -L"
 
string uuid = 2;
GPUInfo.Builder
String
getBusId ()
 e.g.
com.google.protobuf.ByteString
GPUInfo
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getModel ()
 e.g.
com.google.protobuf.ByteString
String
getUuid ()
 Final entry in output of "nvidia-smi -L"
 
string uuid = 2;
com.google.protobuf.ByteString
getUuidBytes ()
 Final entry in output of "nvidia-smi -L"
 
string uuid = 2;
final boolean
GPUInfo.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GPUInfo.Builder
mergeFrom (com.google.protobuf.Message other)
final GPUInfo.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
GPUInfo.Builder
setBusId (String value)
 e.g.
GPUInfo.Builder
setBusIdBytes (com.google.protobuf.ByteString value)
 e.g.
GPUInfo.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GPUInfo.Builder
setModel (String value)
 e.g.
GPUInfo.Builder
setModelBytes (com.google.protobuf.ByteString value)
 e.g.
GPUInfo.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final GPUInfo.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
GPUInfo.Builder
setUuid (String value)
 Final entry in output of "nvidia-smi -L"
 
string uuid = 2;
GPUInfo.Builder
setUuidBytes (com.google.protobuf.ByteString value)
 Final entry in output of "nvidia-smi -L"
 
string uuid = 2;

Inherited Methods

Public Methods

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

public GPUInfo build ()

public GPUInfo buildPartial ()

public GPUInfo.Builder clear ()

public GPUInfo.Builder clearBusId ()

 e.g. "0000:04:00.0"
 
string bus_id = 3;

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

public GPUInfo.Builder clearModel ()

 e.g. "Tesla K40c"
 
string model = 1;

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

public GPUInfo.Builder clearUuid ()

 Final entry in output of "nvidia-smi -L"
 
string uuid = 2;

public GPUInfo.Builder clone ()

public String getBusId ()

 e.g. "0000:04:00.0"
 
string bus_id = 3;

public com.google.protobuf.ByteString getBusIdBytes ()

 e.g. "0000:04:00.0"
 
string bus_id = 3;

public GPUInfo getDefaultInstanceForType ()

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

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

public String getModel ()

 e.g. "Tesla K40c"
 
string model = 1;

public com.google.protobuf.ByteString getModelBytes ()

 e.g. "Tesla K40c"
 
string model = 1;

public String getUuid ()

 Final entry in output of "nvidia-smi -L"
 
string uuid = 2;

public com.google.protobuf.ByteString getUuidBytes ()

 Final entry in output of "nvidia-smi -L"
 
string uuid = 2;

public final boolean isInitialized ()

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

Throws
IOException

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

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

public GPUInfo.Builder setBusId (String value)

 e.g. "0000:04:00.0"
 
string bus_id = 3;

public GPUInfo.Builder setBusIdBytes (com.google.protobuf.ByteString value)

 e.g. "0000:04:00.0"
 
string bus_id = 3;

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

public GPUInfo.Builder setModel (String value)

 e.g. "Tesla K40c"
 
string model = 1;

public GPUInfo.Builder setModelBytes (com.google.protobuf.ByteString value)

 e.g. "Tesla K40c"
 
string model = 1;

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

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

public GPUInfo.Builder setUuid (String value)

 Final entry in output of "nvidia-smi -L"
 
string uuid = 2;

public GPUInfo.Builder setUuidBytes (com.google.protobuf.ByteString value)

 Final entry in output of "nvidia-smi -L"
 
string uuid = 2;

<