public static final class DevicePropertiesProtos.DeviceProperties.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder> implements DevicePropertiesProtos.DevicePropertiesOrBuilder
tensorflow.DeviceProperties
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, 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 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.Builder
clear
in interface com.github.os72.protobuf351.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface com.github.os72.protobuf351.MessageOrBuilder
getDescriptorForType
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>
public DevicePropertiesProtos.DeviceProperties getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
public DevicePropertiesProtos.DeviceProperties build()
build
in interface com.github.os72.protobuf351.Message.Builder
build
in interface com.github.os72.protobuf351.MessageLite.Builder
public DevicePropertiesProtos.DeviceProperties buildPartial()
buildPartial
in interface com.github.os72.protobuf351.Message.Builder
buildPartial
in interface com.github.os72.protobuf351.MessageLite.Builder
public DevicePropertiesProtos.DeviceProperties.Builder clone()
clone
in interface com.github.os72.protobuf351.Message.Builder
clone
in interface com.github.os72.protobuf351.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.github.os72.protobuf351.MessageLite.Builder
mergeFrom
in class com.github.os72.protobuf351.AbstractMessage.Builder<DevicePropertiesProtos.DeviceProperties.Builder>
IOException
public String getType()
Device type (CPU, GPU, ...)
string type = 1;
getType
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public com.github.os72.protobuf351.ByteString getTypeBytes()
Device type (CPU, GPU, ...)
string type = 1;
getTypeBytes
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public com.github.os72.protobuf351.ByteString getVendorBytes()
Vendor (Intel, nvidia, ...)
string vendor = 2;
getVendorBytes
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public com.github.os72.protobuf351.ByteString getModelBytes()
Model (Haswell, K40, ...)
string model = 3;
getModelBytes
in interface DevicePropertiesProtos.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
Version 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.DevicePropertiesOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<DevicePropertiesProtos.DeviceProperties.Builder>
Copyright © 2019. All rights reserved.