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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3
public String getName()
Fully specified name of the device within a cluster.
string name = 1;
getName
in interface DeviceAttributesOrBuilder
public com.github.os72.protobuf351.ByteString getNameBytes()
Fully specified name of the device within a cluster.
string name = 1;
getNameBytes
in interface DeviceAttributesOrBuilder
public String getDeviceType()
String representation of device_type.
string device_type = 2;
getDeviceType
in interface DeviceAttributesOrBuilder
public com.github.os72.protobuf351.ByteString getDeviceTypeBytes()
String representation of device_type.
string device_type = 2;
getDeviceTypeBytes
in interface DeviceAttributesOrBuilder
public long getMemoryLimit()
Memory capacity of device in bytes.
int64 memory_limit = 4;
getMemoryLimit
in interface DeviceAttributesOrBuilder
public boolean hasLocality()
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;
hasLocality
in interface DeviceAttributesOrBuilder
public DeviceLocality getLocality()
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;
getLocality
in interface DeviceAttributesOrBuilder
public DeviceLocalityOrBuilder getLocalityOrBuilder()
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;
getLocalityOrBuilder
in interface DeviceAttributesOrBuilder
public 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 DeviceAttributesOrBuilder
public String getPhysicalDeviceDesc()
String representation of the physical device that this device maps to.
string physical_device_desc = 7;
getPhysicalDeviceDesc
in interface DeviceAttributesOrBuilder
public 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 DeviceAttributesOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws IOException
writeTo
in interface com.github.os72.protobuf351.MessageLite
writeTo
in class com.github.os72.protobuf351.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.github.os72.protobuf351.MessageLite
getSerializedSize
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.github.os72.protobuf351.Message
equals
in class com.github.os72.protobuf351.AbstractMessage
public int hashCode()
hashCode
in interface com.github.os72.protobuf351.Message
hashCode
in class com.github.os72.protobuf351.AbstractMessage
public static DeviceAttributes parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static DeviceAttributes parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static DeviceAttributes parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public 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.InvalidProtocolBufferException
public static DeviceAttributes parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static DeviceAttributes parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static DeviceAttributes parseFrom(InputStream input) throws IOException
IOException
public static DeviceAttributes parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DeviceAttributes parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DeviceAttributes parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DeviceAttributes parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static DeviceAttributes parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public DeviceAttributes.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static DeviceAttributes.Builder newBuilder()
public static DeviceAttributes.Builder newBuilder(DeviceAttributes prototype)
public DeviceAttributes.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected DeviceAttributes.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.github.os72.protobuf351.MessageLite
getParserForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public DeviceAttributes getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2018. All rights reserved.