public static final class DeviceAttributes.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<DeviceAttributes.Builder> implements DeviceAttributesOrBuilder
tensorflow.DeviceAttributes| Modifier and Type | Method and Description |
|---|---|
DeviceAttributes.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
DeviceAttributes |
build() |
DeviceAttributes |
buildPartial() |
DeviceAttributes.Builder |
clear() |
DeviceAttributes.Builder |
clearDeviceType()
String representation of device_type.
|
DeviceAttributes.Builder |
clearField(com.github.os72.protobuf351.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(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
DeviceAttributes.Builder |
clearPhysicalDeviceDesc()
String representation of the physical device that this device maps to.
|
DeviceAttributes.Builder |
clone() |
DeviceAttributes |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
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.
|
com.github.os72.protobuf351.ByteString |
getNameBytes()
Fully specified name of the device within a cluster.
|
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.
|
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() |
DeviceAttributes.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
DeviceAttributes.Builder |
mergeFrom(DeviceAttributes other) |
DeviceAttributes.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
DeviceAttributes.Builder |
mergeLocality(DeviceLocality value)
Platform-specific data about device that may be useful
for supporting efficient data transfers.
|
DeviceAttributes.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
DeviceAttributes.Builder |
setDeviceType(String value)
String representation of device_type.
|
DeviceAttributes.Builder |
setDeviceTypeBytes(com.github.os72.protobuf351.ByteString value)
String representation of device_type.
|
DeviceAttributes.Builder |
setField(com.github.os72.protobuf351.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(com.github.os72.protobuf351.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(com.github.os72.protobuf351.ByteString value)
String representation of the physical device that this device maps to.
|
DeviceAttributes.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
DeviceAttributes.Builder |
setUnknownFields(com.github.os72.protobuf351.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 com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DeviceAttributes.Builder>public DeviceAttributes.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DeviceAttributes.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DeviceAttributes.Builder>public DeviceAttributes getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic DeviceAttributes build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic DeviceAttributes buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic DeviceAttributes.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DeviceAttributes.Builder>public DeviceAttributes.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DeviceAttributes.Builder>public DeviceAttributes.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DeviceAttributes.Builder>public DeviceAttributes.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DeviceAttributes.Builder>public DeviceAttributes.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DeviceAttributes.Builder>public DeviceAttributes.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DeviceAttributes.Builder>public DeviceAttributes.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<DeviceAttributes.Builder>public DeviceAttributes.Builder mergeFrom(DeviceAttributes other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DeviceAttributes.Builder>public DeviceAttributes.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<DeviceAttributes.Builder>IOExceptionpublic 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 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(com.github.os72.protobuf351.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 com.github.os72.protobuf351.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(com.github.os72.protobuf351.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 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 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(com.github.os72.protobuf351.ByteString value)
String representation of the physical device that this device maps to.
string physical_device_desc = 7;public final DeviceAttributes.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DeviceAttributes.Builder>public final DeviceAttributes.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DeviceAttributes.Builder>Copyright © 2018. All rights reserved.