public static final class DevicePropertiesProtos.DeviceProperties.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder> implements DevicePropertiesProtos.DevicePropertiesOrBuilder
tensorflow.DevicePropertiesgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, 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.MapField internalGetMapField(int number)
internalGetMapField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>protected com.github.os72.protobuf351.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.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<DevicePropertiesProtos.DeviceProperties.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<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic DevicePropertiesProtos.DeviceProperties build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic DevicePropertiesProtos.DeviceProperties buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic DevicePropertiesProtos.DeviceProperties.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<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.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<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.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<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.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<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.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<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.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<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.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<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.Builder mergeFrom(DevicePropertiesProtos.DeviceProperties other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>public DevicePropertiesProtos.DeviceProperties.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<DevicePropertiesProtos.DeviceProperties.Builder>IOExceptionpublic String getType()
Device type (CPU, GPU, ...)
string type = 1;getType in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic com.github.os72.protobuf351.ByteString getTypeBytes()
Device type (CPU, GPU, ...)
string type = 1;getTypeBytes in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setType(String value)
Device type (CPU, GPU, ...)
string type = 1;public DevicePropertiesProtos.DeviceProperties.Builder clearType()
Device type (CPU, GPU, ...)
string type = 1;public DevicePropertiesProtos.DeviceProperties.Builder setTypeBytes(com.github.os72.protobuf351.ByteString value)
Device type (CPU, GPU, ...)
string type = 1;public String getVendor()
Vendor (Intel, nvidia, ...)
string vendor = 2;getVendor in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic com.github.os72.protobuf351.ByteString getVendorBytes()
Vendor (Intel, nvidia, ...)
string vendor = 2;getVendorBytes in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setVendor(String value)
Vendor (Intel, nvidia, ...)
string vendor = 2;public DevicePropertiesProtos.DeviceProperties.Builder clearVendor()
Vendor (Intel, nvidia, ...)
string vendor = 2;public DevicePropertiesProtos.DeviceProperties.Builder setVendorBytes(com.github.os72.protobuf351.ByteString value)
Vendor (Intel, nvidia, ...)
string vendor = 2;public String getModel()
Model (Haswell, K40, ...)
string model = 3;getModel in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic com.github.os72.protobuf351.ByteString getModelBytes()
Model (Haswell, K40, ...)
string model = 3;getModelBytes in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setModel(String value)
Model (Haswell, K40, ...)
string model = 3;public DevicePropertiesProtos.DeviceProperties.Builder clearModel()
Model (Haswell, K40, ...)
string model = 3;public DevicePropertiesProtos.DeviceProperties.Builder setModelBytes(com.github.os72.protobuf351.ByteString value)
Model (Haswell, K40, ...)
string model = 3;public long getFrequency()
Core Frequency in Mhz
int64 frequency = 4;getFrequency in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setFrequency(long value)
Core Frequency in Mhz
int64 frequency = 4;public DevicePropertiesProtos.DeviceProperties.Builder clearFrequency()
Core Frequency in Mhz
int64 frequency = 4;public long getNumCores()
Number of cores
int64 num_cores = 5;getNumCores in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setNumCores(long value)
Number of cores
int64 num_cores = 5;public DevicePropertiesProtos.DeviceProperties.Builder clearNumCores()
Number of cores
int64 num_cores = 5;public int getEnvironmentCount()
DevicePropertiesProtos.DevicePropertiesOrBuilderVersion of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6;getEnvironmentCount in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic boolean containsEnvironment(String key)
Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6;containsEnvironment in interface DevicePropertiesProtos.DevicePropertiesOrBuilder@Deprecated public Map<String,String> getEnvironment()
getEnvironmentMap() instead.getEnvironment in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic Map<String,String> getEnvironmentMap()
Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6;getEnvironmentMap in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic String getEnvironmentOrDefault(String key, String defaultValue)
Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6;getEnvironmentOrDefault in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic String getEnvironmentOrThrow(String key)
Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6;getEnvironmentOrThrow in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder clearEnvironment()
public DevicePropertiesProtos.DeviceProperties.Builder removeEnvironment(String key)
Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6;@Deprecated public Map<String,String> getMutableEnvironment()
public DevicePropertiesProtos.DeviceProperties.Builder putEnvironment(String key, String value)
Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6;public DevicePropertiesProtos.DeviceProperties.Builder putAllEnvironment(Map<String,String> values)
Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6;public long getNumRegisters()
Number of registers per core.
int64 num_registers = 7;getNumRegisters in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setNumRegisters(long value)
Number of registers per core.
int64 num_registers = 7;public DevicePropertiesProtos.DeviceProperties.Builder clearNumRegisters()
Number of registers per core.
int64 num_registers = 7;public long getL1CacheSize()
L1 cache size in bytes
int64 l1_cache_size = 8;getL1CacheSize in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setL1CacheSize(long value)
L1 cache size in bytes
int64 l1_cache_size = 8;public DevicePropertiesProtos.DeviceProperties.Builder clearL1CacheSize()
L1 cache size in bytes
int64 l1_cache_size = 8;public long getL2CacheSize()
L2 cache size in bytes
int64 l2_cache_size = 9;getL2CacheSize in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setL2CacheSize(long value)
L2 cache size in bytes
int64 l2_cache_size = 9;public DevicePropertiesProtos.DeviceProperties.Builder clearL2CacheSize()
L2 cache size in bytes
int64 l2_cache_size = 9;public long getL3CacheSize()
L3 cache size in bytes
int64 l3_cache_size = 10;getL3CacheSize in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setL3CacheSize(long value)
L3 cache size in bytes
int64 l3_cache_size = 10;public DevicePropertiesProtos.DeviceProperties.Builder clearL3CacheSize()
L3 cache size in bytes
int64 l3_cache_size = 10;public long getSharedMemorySizePerMultiprocessor()
Shared memory size per multiprocessor in bytes. This field is applicable to GPUs only.
int64 shared_memory_size_per_multiprocessor = 11;getSharedMemorySizePerMultiprocessor in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setSharedMemorySizePerMultiprocessor(long value)
Shared memory size per multiprocessor in bytes. This field is applicable to GPUs only.
int64 shared_memory_size_per_multiprocessor = 11;public DevicePropertiesProtos.DeviceProperties.Builder clearSharedMemorySizePerMultiprocessor()
Shared memory size per multiprocessor in bytes. This field is applicable to GPUs only.
int64 shared_memory_size_per_multiprocessor = 11;public long getMemorySize()
Memory size in bytes
int64 memory_size = 12;getMemorySize in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setMemorySize(long value)
Memory size in bytes
int64 memory_size = 12;public DevicePropertiesProtos.DeviceProperties.Builder clearMemorySize()
Memory size in bytes
int64 memory_size = 12;public long getBandwidth()
Memory bandwidth in KB/s
int64 bandwidth = 13;getBandwidth in interface DevicePropertiesProtos.DevicePropertiesOrBuilderpublic DevicePropertiesProtos.DeviceProperties.Builder setBandwidth(long value)
Memory bandwidth in KB/s
int64 bandwidth = 13;public DevicePropertiesProtos.DeviceProperties.Builder clearBandwidth()
Memory bandwidth in KB/s
int64 bandwidth = 13;public final DevicePropertiesProtos.DeviceProperties.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<DevicePropertiesProtos.DeviceProperties.Builder>public final DevicePropertiesProtos.DeviceProperties.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<DevicePropertiesProtos.DeviceProperties.Builder>Copyright © 2018. All rights reserved.