DeviceLocality

public final class DeviceLocality

Protobuf type tensorflow.DeviceLocality

Nested Classes

class DeviceLocality.Builder Protobuf type tensorflow.DeviceLocality

Constants

int BUS_ID_FIELD_NUMBER
int LINKS_FIELD_NUMBER
int NUMA_NODE_FIELD_NUMBER

Public Methods

boolean
equals (Object obj)
int
getBusId ()
 Optional bus locality of device.
static DeviceLocality
DeviceLocality
final static com.google.protobuf.Descriptors.Descriptor
LocalLinks
getLinks ()
 Optional local interconnect links to other devices.
LocalLinksOrBuilder
getLinksOrBuilder ()
 Optional local interconnect links to other devices.
int
getNumaNode ()
 Optional NUMA locality of device.
int
final com.google.protobuf.UnknownFieldSet
boolean
hasLinks ()
 Optional local interconnect links to other devices.
int
final boolean
static DeviceLocality.Builder
static DeviceLocality.Builder
DeviceLocality.Builder
static DeviceLocality
parseDelimitedFrom (InputStream input)
static DeviceLocality
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceLocality
parseFrom (ByteBuffer data)
static DeviceLocality
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceLocality
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceLocality
parseFrom (com.google.protobuf.CodedInputStream input)
static DeviceLocality
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceLocality
parseFrom (com.google.protobuf.ByteString data)
static DeviceLocality
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeviceLocality
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
DeviceLocality.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int BUS_ID_FIELD_NUMBER

Constant Value: 1

Constant Value: 3

public static final int NUMA_NODE_FIELD_NUMBER

Constant Value: 2

Public Methods

public boolean equals (Object obj)

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 static DeviceLocality getDefaultInstance ()

public DeviceLocality getDefaultInstanceForType ()

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

 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;

public getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

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

public int hashCode ()

public final boolean isInitialized ()

public static DeviceLocality.Builder newBuilder ()

public static DeviceLocality.Builder newBuilder ( DeviceLocality prototype)

public DeviceLocality.Builder newBuilderForType ()

public static DeviceLocality parseDelimitedFrom (InputStream input)

Throws
IOException

public static DeviceLocality parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static DeviceLocality parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static DeviceLocality parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static DeviceLocality parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static DeviceLocality parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static DeviceLocality parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static DeviceLocality parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static DeviceLocality parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static DeviceLocality parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public DeviceLocality.Builder toBuilder ()