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, 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.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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>
public CPUInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CPUInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CPUInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CPUInfo.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CPUInfo.Builder>
IOException
public long getNumCores()
int64 num_cores = 1;
getNumCores
in interface CPUInfoOrBuilder
public 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 CPUInfoOrBuilder
public 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 CPUInfoOrBuilder
public 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 CPUInfoOrBuilder
public 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 CPUInfoOrBuilder
public 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 CPUInfoOrBuilder
public 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 CPUInfoOrBuilder
public 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()
CPUInfoOrBuilder
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
getCacheSizeCount
in interface CPUInfoOrBuilder
public 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 CPUInfoOrBuilder
public Map<String,Long> getCacheSizeMap()
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
getCacheSizeMap
in interface CPUInfoOrBuilder
public 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 CPUInfoOrBuilder
public long getCacheSizeOrThrow(String key)
Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
map<string, int64> cache_size = 6;
getCacheSizeOrThrow
in interface CPUInfoOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CPUInfo.Builder>
Copyright © 2015–2019. All rights reserved.