public static final class DeviceAttributes.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DeviceAttributes.Builder> implements DeviceAttributesOrBuilder
tensorflow.DeviceAttributes
Modifier and Type | Method and Description |
---|---|
DeviceAttributes.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DeviceAttributes |
build() |
DeviceAttributes |
buildPartial() |
DeviceAttributes.Builder |
clear() |
DeviceAttributes.Builder |
clearDeviceType()
String representation of device_type.
|
DeviceAttributes.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
DeviceAttributes.Builder |
clearIncarnation()
A device is assigned a global unique number each time it is
initialized.
|
DeviceAttributes.Builder |
clearLocality()
Platform-specific data about device that may be useful
for supporting efficient data transfers.
|
DeviceAttributes.Builder |
clearMemoryLimit()
Memory capacity of device in bytes.
|
DeviceAttributes.Builder |
clearName()
Fully specified name of the device within a cluster.
|
DeviceAttributes.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
DeviceAttributes.Builder |
clearPhysicalDeviceDesc()
String representation of the physical device that this device maps to.
|
DeviceAttributes.Builder |
clone() |
DeviceAttributes |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDeviceType()
String representation of device_type.
|
org.nd4j.shade.protobuf.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.
|
DeviceLocality.Builder |
getLocalityBuilder()
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.
|
org.nd4j.shade.protobuf.ByteString |
getNameBytes()
Fully specified name of the device within a cluster.
|
String |
getPhysicalDeviceDesc()
String representation of the physical device that this device maps to.
|
org.nd4j.shade.protobuf.ByteString |
getPhysicalDeviceDescBytes()
String representation of the physical device that this device maps to.
|
boolean |
hasLocality()
Platform-specific data about device that may be useful
for supporting efficient data transfers.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DeviceAttributes.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
DeviceAttributes.Builder |
mergeFrom(DeviceAttributes other) |
DeviceAttributes.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
DeviceAttributes.Builder |
mergeLocality(DeviceLocality value)
Platform-specific data about device that may be useful
for supporting efficient data transfers.
|
DeviceAttributes.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
DeviceAttributes.Builder |
setDeviceType(String value)
String representation of device_type.
|
DeviceAttributes.Builder |
setDeviceTypeBytes(org.nd4j.shade.protobuf.ByteString value)
String representation of device_type.
|
DeviceAttributes.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DeviceAttributes.Builder |
setIncarnation(long value)
A device is assigned a global unique number each time it is
initialized.
|
DeviceAttributes.Builder |
setLocality(DeviceLocality.Builder builderForValue)
Platform-specific data about device that may be useful
for supporting efficient data transfers.
|
DeviceAttributes.Builder |
setLocality(DeviceLocality value)
Platform-specific data about device that may be useful
for supporting efficient data transfers.
|
DeviceAttributes.Builder |
setMemoryLimit(long value)
Memory capacity of device in bytes.
|
DeviceAttributes.Builder |
setName(String value)
Fully specified name of the device within a cluster.
|
DeviceAttributes.Builder |
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
Fully specified name of the device within a cluster.
|
DeviceAttributes.Builder |
setPhysicalDeviceDesc(String value)
String representation of the physical device that this device maps to.
|
DeviceAttributes.Builder |
setPhysicalDeviceDescBytes(org.nd4j.shade.protobuf.ByteString value)
String representation of the physical device that this device maps to.
|
DeviceAttributes.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DeviceAttributes.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DeviceAttributes.Builder>
public DeviceAttributes.Builder clear()
clear
in interface org.nd4j.shade.protobuf.Message.Builder
clear
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clear
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DeviceAttributes.Builder>
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface org.nd4j.shade.protobuf.Message.Builder
getDescriptorForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getDescriptorForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DeviceAttributes.Builder>
public DeviceAttributes getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public DeviceAttributes build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public DeviceAttributes buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public DeviceAttributes.Builder clone()
clone
in interface org.nd4j.shade.protobuf.Message.Builder
clone
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clone
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DeviceAttributes.Builder>
public DeviceAttributes.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface org.nd4j.shade.protobuf.Message.Builder
setField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DeviceAttributes.Builder>
public DeviceAttributes.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface org.nd4j.shade.protobuf.Message.Builder
clearField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DeviceAttributes.Builder>
public DeviceAttributes.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface org.nd4j.shade.protobuf.Message.Builder
clearOneof
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DeviceAttributes.Builder>
public DeviceAttributes.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface org.nd4j.shade.protobuf.Message.Builder
setRepeatedField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DeviceAttributes.Builder>
public DeviceAttributes.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface org.nd4j.shade.protobuf.Message.Builder
addRepeatedField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DeviceAttributes.Builder>
public DeviceAttributes.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom
in interface org.nd4j.shade.protobuf.Message.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<DeviceAttributes.Builder>
public DeviceAttributes.Builder mergeFrom(DeviceAttributes other)
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DeviceAttributes.Builder>
public DeviceAttributes.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface org.nd4j.shade.protobuf.Message.Builder
mergeFrom
in interface org.nd4j.shade.protobuf.MessageLite.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<DeviceAttributes.Builder>
IOException
public String getName()
Fully specified name of the device within a cluster.
string name = 1;
getName
in interface DeviceAttributesOrBuilder
public org.nd4j.shade.protobuf.ByteString getNameBytes()
Fully specified name of the device within a cluster.
string name = 1;
getNameBytes
in interface DeviceAttributesOrBuilder
public DeviceAttributes.Builder setName(String value)
Fully specified name of the device within a cluster.
string name = 1;
public DeviceAttributes.Builder clearName()
Fully specified name of the device within a cluster.
string name = 1;
public DeviceAttributes.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
Fully specified name of the device within a cluster.
string name = 1;
public String getDeviceType()
String representation of device_type.
string device_type = 2;
getDeviceType
in interface DeviceAttributesOrBuilder
public org.nd4j.shade.protobuf.ByteString getDeviceTypeBytes()
String representation of device_type.
string device_type = 2;
getDeviceTypeBytes
in interface DeviceAttributesOrBuilder
public DeviceAttributes.Builder setDeviceType(String value)
String representation of device_type.
string device_type = 2;
public DeviceAttributes.Builder clearDeviceType()
String representation of device_type.
string device_type = 2;
public DeviceAttributes.Builder setDeviceTypeBytes(org.nd4j.shade.protobuf.ByteString value)
String representation of device_type.
string device_type = 2;
public long getMemoryLimit()
Memory capacity of device in bytes.
int64 memory_limit = 4;
getMemoryLimit
in interface DeviceAttributesOrBuilder
public DeviceAttributes.Builder setMemoryLimit(long value)
Memory capacity of device in bytes.
int64 memory_limit = 4;
public DeviceAttributes.Builder clearMemoryLimit()
Memory capacity of device in bytes.
int64 memory_limit = 4;
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 DeviceAttributes.Builder setLocality(DeviceLocality value)
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;
public DeviceAttributes.Builder setLocality(DeviceLocality.Builder builderForValue)
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;
public DeviceAttributes.Builder mergeLocality(DeviceLocality value)
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;
public DeviceAttributes.Builder clearLocality()
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;
public DeviceLocality.Builder getLocalityBuilder()
Platform-specific data about device that may be useful for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;
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 DeviceAttributes.Builder setIncarnation(long value)
A device is assigned a global unique number each time it is initialized. "incarnation" should never be 0.
fixed64 incarnation = 6;
public DeviceAttributes.Builder clearIncarnation()
A device is assigned a global unique number each time it is initialized. "incarnation" should never be 0.
fixed64 incarnation = 6;
public String getPhysicalDeviceDesc()
String representation of the physical device that this device maps to.
string physical_device_desc = 7;
getPhysicalDeviceDesc
in interface DeviceAttributesOrBuilder
public org.nd4j.shade.protobuf.ByteString getPhysicalDeviceDescBytes()
String representation of the physical device that this device maps to.
string physical_device_desc = 7;
getPhysicalDeviceDescBytes
in interface DeviceAttributesOrBuilder
public DeviceAttributes.Builder setPhysicalDeviceDesc(String value)
String representation of the physical device that this device maps to.
string physical_device_desc = 7;
public DeviceAttributes.Builder clearPhysicalDeviceDesc()
String representation of the physical device that this device maps to.
string physical_device_desc = 7;
public DeviceAttributes.Builder setPhysicalDeviceDescBytes(org.nd4j.shade.protobuf.ByteString value)
String representation of the physical device that this device maps to.
string physical_device_desc = 7;
public final DeviceAttributes.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface org.nd4j.shade.protobuf.Message.Builder
setUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DeviceAttributes.Builder>
public final DeviceAttributes.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface org.nd4j.shade.protobuf.Message.Builder
mergeUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DeviceAttributes.Builder>
Copyright © 2020. All rights reserved.