DeviceLocality.Builder

public static final class DeviceLocality.Builder

Protobuf type tensorflow.DeviceLocality

Public Methods

DeviceLocality.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DeviceLocality
build()
DeviceLocality
DeviceLocality.Builder
clear()
DeviceLocality.Builder
clearBusId()
 Optional bus locality of device.
DeviceLocality.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DeviceLocality.Builder
clearLinks()
 Optional local interconnect links to other devices.
DeviceLocality.Builder
clearNumaNode()
 Optional NUMA locality of device.
DeviceLocality.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DeviceLocality.Builder
clone()
int
getBusId()
 Optional bus locality of device.
DeviceLocality
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
LocalLinks
getLinks()
 Optional local interconnect links to other devices.
LocalLinks.Builder
getLinksBuilder()
 Optional local interconnect links to other devices.
LocalLinksOrBuilder
getLinksOrBuilder()
 Optional local interconnect links to other devices.
int
getNumaNode()
 Optional NUMA locality of device.
boolean
hasLinks()
 Optional local interconnect links to other devices.
final boolean
DeviceLocality.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DeviceLocality.Builder
mergeFrom(com.google.protobuf.Message other)
DeviceLocality.Builder
mergeLinks(LocalLinks value)
 Optional local interconnect links to other devices.
final DeviceLocality.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DeviceLocality.Builder
setBusId(int value)
 Optional bus locality of device.
DeviceLocality.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DeviceLocality.Builder
setLinks(LocalLinks.Builder builderForValue)
 Optional local interconnect links to other devices.
DeviceLocality.Builder
setLinks(LocalLinks value)
 Optional local interconnect links to other devices.
DeviceLocality.Builder
setNumaNode(int value)
 Optional NUMA locality of device.
DeviceLocality.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final DeviceLocality.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

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

public DeviceLocality build ()

public DeviceLocality buildPartial ()

public DeviceLocality.Builder clear ()

public DeviceLocality.Builder clearBusId ()

 Optional bus locality of device.  Default value of 0 means
 no specific locality.  Specific localities are indexed from 1.
 
int32 bus_id = 1;

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

 Optional local interconnect links to other devices.
 
.tensorflow.LocalLinks links = 3;

public DeviceLocality.Builder clearNumaNode ()

 Optional NUMA locality of device.
 
int32 numa_node = 2;

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

public DeviceLocality.Builder clone ()

public int getBusId ()

 Optional bus locality of device.  Default value of 0 means
 no specific locality.  Specific localities are indexed from 1.
 
int32 bus_id = 1;

public DeviceLocality getDefaultInstanceForType ()

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

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

 Optional local interconnect links to other devices.
 
.tensorflow.LocalLinks links = 3;

public LocalLinks.Builder getLinksBuilder ()

 Optional local interconnect links to other devices.
 
.tensorflow.LocalLinks links = 3;

public LocalLinksOrBuilder getLinksOrBuilder ()

 Optional local interconnect links to other devices.
 
.tensorflow.LocalLinks links = 3;

public int getNumaNode ()

 Optional NUMA locality of device.
 
int32 numa_node = 2;

 Optional local interconnect links to other devices.
 
.tensorflow.LocalLinks links = 3;

public final boolean isInitialized ()

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

Throws
IOException

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

 Optional local interconnect links to other devices.
 
.tensorflow.LocalLinks links = 3;

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

public DeviceLocality.Builder setBusId (int value)

 Optional bus locality of device.  Default value of 0 means
 no specific locality.  Specific localities are indexed from 1.
 
int32 bus_id = 1;

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

 Optional local interconnect links to other devices.
 
.tensorflow.LocalLinks links = 3;

 Optional local interconnect links to other devices.
 
.tensorflow.LocalLinks links = 3;

public DeviceLocality.Builder setNumaNode (int value)

 Optional NUMA locality of device.
 
int32 numa_node = 2;

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

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