public static final class CPUInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder> implements CPUInfoOrBuilder
tensorflow.CPUInfo| Modifier and Type | Method and Description |
|---|---|
CPUInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CPUInfo |
build() |
CPUInfo |
buildPartial() |
CPUInfo.Builder |
clear() |
CPUInfo.Builder |
clearCacheSize() |
CPUInfo.Builder |
clearCpuGovernor()
What kind of cpu scaling is enabled on the host.
|
CPUInfo.Builder |
clearCpuInfo()
Additional cpu information.
|
CPUInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CPUInfo.Builder |
clearMhzPerCpu()
How fast are these cpus?
|
CPUInfo.Builder |
clearNumCores()
int64 num_cores = 1; |
CPUInfo.Builder |
clearNumCoresAllowed()
int64 num_cores_allowed = 2; |
CPUInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CPUInfo.Builder |
clone() |
boolean |
containsCacheSize(String key)
Cache sizes (in bytes), e.g.
|
Map<String,Long> |
getCacheSize()
Deprecated.
|
int |
getCacheSizeCount()
Cache sizes (in bytes), e.g.
|
Map<String,Long> |
getCacheSizeMap()
Cache sizes (in bytes), e.g.
|
long |
getCacheSizeOrDefault(String key,
long defaultValue)
Cache sizes (in bytes), e.g.
|
long |
getCacheSizeOrThrow(String key)
Cache sizes (in bytes), e.g.
|
String |
getCpuGovernor()
What kind of cpu scaling is enabled on the host.
|
com.google.protobuf.ByteString |
getCpuGovernorBytes()
What kind of cpu scaling is enabled on the host.
|
String |
getCpuInfo()
Additional cpu information.
|
com.google.protobuf.ByteString |
getCpuInfoBytes()
Additional cpu information.
|
CPUInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getMhzPerCpu()
How fast are these cpus?
|
Map<String,Long> |
getMutableCacheSize()
Deprecated.
|
long |
getNumCores()
int64 num_cores = 1; |
long |
getNumCoresAllowed()
int64 num_cores_allowed = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
CPUInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CPUInfo.Builder |
mergeFrom(CPUInfo other) |
CPUInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
CPUInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CPUInfo.Builder |
putAllCacheSize(Map<String,Long> values)
Cache sizes (in bytes), e.g.
|
CPUInfo.Builder |
putCacheSize(String key,
long value)
Cache sizes (in bytes), e.g.
|
CPUInfo.Builder |
removeCacheSize(String key)
Cache sizes (in bytes), e.g.
|
CPUInfo.Builder |
setCpuGovernor(String value)
What kind of cpu scaling is enabled on the host.
|
CPUInfo.Builder |
setCpuGovernorBytes(com.google.protobuf.ByteString value)
What kind of cpu scaling is enabled on the host.
|
CPUInfo.Builder |
setCpuInfo(String value)
Additional cpu information.
|
CPUInfo.Builder |
setCpuInfoBytes(com.google.protobuf.ByteString value)
Additional cpu information.
|
CPUInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CPUInfo.Builder |
setMhzPerCpu(double value)
How fast are these cpus?
|
CPUInfo.Builder |
setNumCores(long value)
int64 num_cores = 1; |
CPUInfo.Builder |
setNumCoresAllowed(long value)
int64 num_cores_allowed = 2; |
CPUInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CPUInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, 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.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>public CPUInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>public CPUInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CPUInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CPUInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CPUInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>public CPUInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>public CPUInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>public CPUInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>public CPUInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>public CPUInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>public CPUInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CPUInfo.Builder>public CPUInfo.Builder mergeFrom(CPUInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>public CPUInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CPUInfo.Builder>IOExceptionpublic long getNumCores()
int64 num_cores = 1;getNumCores in interface CPUInfoOrBuilderpublic CPUInfo.Builder setNumCores(long value)
int64 num_cores = 1;public CPUInfo.Builder clearNumCores()
int64 num_cores = 1;public long getNumCoresAllowed()
int64 num_cores_allowed = 2;getNumCoresAllowed in interface CPUInfoOrBuilderpublic CPUInfo.Builder setNumCoresAllowed(long value)
int64 num_cores_allowed = 2;public CPUInfo.Builder clearNumCoresAllowed()
int64 num_cores_allowed = 2;public double getMhzPerCpu()
How fast are these cpus?
double mhz_per_cpu = 3;getMhzPerCpu in interface CPUInfoOrBuilderpublic CPUInfo.Builder setMhzPerCpu(double value)
How fast are these cpus?
double mhz_per_cpu = 3;public CPUInfo.Builder clearMhzPerCpu()
How fast are these cpus?
double mhz_per_cpu = 3;public String getCpuInfo()
Additional cpu information. For example, Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
string cpu_info = 4;getCpuInfo in interface CPUInfoOrBuilderpublic com.google.protobuf.ByteString getCpuInfoBytes()
Additional cpu information. For example, Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
string cpu_info = 4;getCpuInfoBytes in interface CPUInfoOrBuilderpublic CPUInfo.Builder setCpuInfo(String value)
Additional cpu information. For example, Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
string cpu_info = 4;public CPUInfo.Builder clearCpuInfo()
Additional cpu information. For example, Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
string cpu_info = 4;public CPUInfo.Builder setCpuInfoBytes(com.google.protobuf.ByteString value)
Additional cpu information. For example, Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
string cpu_info = 4;public String getCpuGovernor()
What kind of cpu scaling is enabled on the host. Examples include "performance", "ondemand", "conservative", "mixed".
string cpu_governor = 5;getCpuGovernor in interface CPUInfoOrBuilderpublic com.google.protobuf.ByteString getCpuGovernorBytes()
What kind of cpu scaling is enabled on the host. Examples include "performance", "ondemand", "conservative", "mixed".
string cpu_governor = 5;getCpuGovernorBytes in interface CPUInfoOrBuilderpublic CPUInfo.Builder setCpuGovernor(String value)
What kind of cpu scaling is enabled on the host. Examples include "performance", "ondemand", "conservative", "mixed".
string cpu_governor = 5;public CPUInfo.Builder clearCpuGovernor()
What kind of cpu scaling is enabled on the host. Examples include "performance", "ondemand", "conservative", "mixed".
string cpu_governor = 5;public CPUInfo.Builder setCpuGovernorBytes(com.google.protobuf.ByteString value)
What kind of cpu scaling is enabled on the host. Examples include "performance", "ondemand", "conservative", "mixed".
string cpu_governor = 5;public int getCacheSizeCount()
CPUInfoOrBuilderCache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;getCacheSizeCount in interface CPUInfoOrBuilderpublic boolean containsCacheSize(String key)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;containsCacheSize in interface CPUInfoOrBuilder@Deprecated public Map<String,Long> getCacheSize()
getCacheSizeMap() instead.getCacheSize in interface CPUInfoOrBuilderpublic Map<String,Long> getCacheSizeMap()
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;getCacheSizeMap in interface CPUInfoOrBuilderpublic long getCacheSizeOrDefault(String key, long defaultValue)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;getCacheSizeOrDefault in interface CPUInfoOrBuilderpublic long getCacheSizeOrThrow(String key)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;getCacheSizeOrThrow in interface CPUInfoOrBuilderpublic CPUInfo.Builder clearCacheSize()
public CPUInfo.Builder removeCacheSize(String key)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;@Deprecated public Map<String,Long> getMutableCacheSize()
public CPUInfo.Builder putCacheSize(String key, long value)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;public CPUInfo.Builder putAllCacheSize(Map<String,Long> values)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;public final CPUInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>public final CPUInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>Copyright © 2015–2019. All rights reserved.