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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear 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.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DeviceAttributes.Builder>public DeviceAttributes getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic DeviceAttributes build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic DeviceAttributes buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic DeviceAttributes.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone 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.BuildersetField 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.BuilderclearField 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.BuilderclearOneof 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.BuildersetRepeatedField 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.BuilderaddRepeatedField 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.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<DeviceAttributes.Builder>IOExceptionpublic String getName()
Fully specified name of the device within a cluster.
string name = 1;getName in interface DeviceAttributesOrBuilderpublic org.nd4j.shade.protobuf.ByteString getNameBytes()
Fully specified name of the device within a cluster.
string name = 1;getNameBytes in interface DeviceAttributesOrBuilderpublic 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 DeviceAttributesOrBuilderpublic org.nd4j.shade.protobuf.ByteString getDeviceTypeBytes()
String representation of device_type.
string device_type = 2;getDeviceTypeBytes in interface DeviceAttributesOrBuilderpublic 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 DeviceAttributesOrBuilderpublic 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 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 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 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 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 DeviceAttributesOrBuilderpublic 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 DeviceAttributesOrBuilderpublic 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.BuildersetUnknownFields 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.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DeviceAttributes.Builder>Copyright © 2021. All rights reserved.