public final class DeviceAttributes extends com.github.os72.protobuf351.GeneratedMessageV3 implements DeviceAttributesOrBuilder
tensorflow.DeviceAttributes| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceAttributes.Builder
Protobuf type
tensorflow.DeviceAttributes |
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
DEVICE_TYPE_FIELD_NUMBER |
static int |
INCARNATION_FIELD_NUMBER |
static int |
LOCALITY_FIELD_NUMBER |
static int |
MEMORY_LIMIT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PHYSICAL_DEVICE_DESC_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DeviceAttributes |
getDefaultInstance() |
DeviceAttributes |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
String |
getDeviceType()
String representation of device_type.
|
com.github.os72.protobuf351.ByteString |
getDeviceTypeBytes()
String representation of device_type.
|
long |
getIncarnation()
A device is assigned a global unique number each time it is
initialized.
|
DeviceLocality |
getLocality()
Platform-specific data about device that may be useful
for supporting efficient data transfers.
|
DeviceLocalityOrBuilder |
getLocalityOrBuilder()
Platform-specific data about device that may be useful
for supporting efficient data transfers.
|
long |
getMemoryLimit()
Memory capacity of device in bytes.
|
String |
getName()
Fully specified name of the device within a cluster.
|
com.github.os72.protobuf351.ByteString |
getNameBytes()
Fully specified name of the device within a cluster.
|
com.github.os72.protobuf351.Parser<DeviceAttributes> |
getParserForType() |
String |
getPhysicalDeviceDesc()
String representation of the physical device that this device maps to.
|
com.github.os72.protobuf351.ByteString |
getPhysicalDeviceDescBytes()
String representation of the physical device that this device maps to.
|
int |
getSerializedSize() |
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasLocality()
Platform-specific data about device that may be useful
for supporting efficient data transfers.
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DeviceAttributes.Builder |
newBuilder() |
static DeviceAttributes.Builder |
newBuilder(DeviceAttributes prototype) |
DeviceAttributes.Builder |
newBuilderForType() |
protected DeviceAttributes.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static DeviceAttributes |
parseDelimitedFrom(InputStream input) |
static DeviceAttributes |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static DeviceAttributes |
parseFrom(byte[] data) |
static DeviceAttributes |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static DeviceAttributes |
parseFrom(ByteBuffer data) |
static DeviceAttributes |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static DeviceAttributes |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static DeviceAttributes |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static DeviceAttributes |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static DeviceAttributes |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static DeviceAttributes |
parseFrom(InputStream input) |
static DeviceAttributes |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<DeviceAttributes> |
parser() |
DeviceAttributes.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DEVICE_TYPE_FIELD_NUMBER
public static final int MEMORY_LIMIT_FIELD_NUMBER
public static final int LOCALITY_FIELD_NUMBER
public static final int INCARNATION_FIELD_NUMBER
public static final int PHYSICAL_DEVICE_DESC_FIELD_NUMBER
public final com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.github.os72.protobuf351.MessageOrBuildergetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3public String getName()
Fully specified name of the device within a cluster.
string name = 1;getName in interface DeviceAttributesOrBuilderpublic com.github.os72.protobuf351.ByteString getNameBytes()
Fully specified name of the device within a cluster.
string name = 1;getNameBytes in interface DeviceAttributesOrBuilderpublic String getDeviceType()
String representation of device_type.
string device_type = 2;getDeviceType in interface DeviceAttributesOrBuilderpublic com.github.os72.protobuf351.ByteString getDeviceTypeBytes()
String representation of device_type.
string device_type = 2;getDeviceTypeBytes in interface DeviceAttributesOrBuilderpublic long getMemoryLimit()
Memory capacity of device in bytes.
int64 memory_limit = 4;getMemoryLimit in interface DeviceAttributesOrBuilderpublic boolean hasLocality()
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;hasLocality in interface DeviceAttributesOrBuilderpublic DeviceLocality getLocality()
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;getLocality in interface DeviceAttributesOrBuilderpublic DeviceLocalityOrBuilder getLocalityOrBuilder()
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;getLocalityOrBuilder in interface DeviceAttributesOrBuilderpublic long getIncarnation()
A device is assigned a global unique number each time it is initialized. "incarnation" should never be 0.
fixed64 incarnation = 6;getIncarnation in interface DeviceAttributesOrBuilderpublic String getPhysicalDeviceDesc()
String representation of the physical device that this device maps to.
string physical_device_desc = 7;getPhysicalDeviceDesc in interface DeviceAttributesOrBuilderpublic com.github.os72.protobuf351.ByteString getPhysicalDeviceDescBytes()
String representation of the physical device that this device maps to.
string physical_device_desc = 7;getPhysicalDeviceDescBytes in interface DeviceAttributesOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3public void writeTo(com.github.os72.protobuf351.CodedOutputStream output)
throws IOException
writeTo in interface com.github.os72.protobuf351.MessageLitewriteTo in class com.github.os72.protobuf351.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.github.os72.protobuf351.MessageLitegetSerializedSize in class com.github.os72.protobuf351.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.github.os72.protobuf351.Messageequals in class com.github.os72.protobuf351.AbstractMessagepublic int hashCode()
hashCode in interface com.github.os72.protobuf351.MessagehashCode in class com.github.os72.protobuf351.AbstractMessagepublic static DeviceAttributes parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static DeviceAttributes parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static DeviceAttributes parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static DeviceAttributes parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static DeviceAttributes parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static DeviceAttributes parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferExceptionpublic static DeviceAttributes parseFrom(InputStream input) throws IOException
IOExceptionpublic static DeviceAttributes parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DeviceAttributes parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DeviceAttributes parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DeviceAttributes parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOExceptionpublic static DeviceAttributes parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DeviceAttributes.Builder newBuilderForType()
newBuilderForType in interface com.github.os72.protobuf351.MessagenewBuilderForType in interface com.github.os72.protobuf351.MessageLitepublic static DeviceAttributes.Builder newBuilder()
public static DeviceAttributes.Builder newBuilder(DeviceAttributes prototype)
public DeviceAttributes.Builder toBuilder()
toBuilder in interface com.github.os72.protobuf351.MessagetoBuilder in interface com.github.os72.protobuf351.MessageLiteprotected DeviceAttributes.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.github.os72.protobuf351.GeneratedMessageV3public static DeviceAttributes getDefaultInstance()
public static com.github.os72.protobuf351.Parser<DeviceAttributes> parser()
public com.github.os72.protobuf351.Parser<DeviceAttributes> getParserForType()
getParserForType in interface com.github.os72.protobuf351.MessagegetParserForType in interface com.github.os72.protobuf351.MessageLitegetParserForType in class com.github.os72.protobuf351.GeneratedMessageV3public DeviceAttributes getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderCopyright © 2018. All rights reserved.