Class MachineConfiguration.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<MachineConfiguration.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<MachineConfiguration.Builder>
org.tensorflow.proto.MachineConfiguration.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, MachineConfigurationOrBuilder
- Enclosing class:
MachineConfiguration
public static final class MachineConfiguration.Builder
extends GeneratedMessageV3.Builder<MachineConfiguration.Builder>
implements MachineConfigurationOrBuilder
Protobuf type
tensorflow.MachineConfiguration-
Method Summary
Modifier and TypeMethodDescriptionaddAllAvailableDeviceInfo(Iterable<? extends AvailableDeviceInfo> values) Devices accessible to the test (e.g. as given by list_local_devices).addAllDeviceInfo(Iterable<? extends Any> values) Other devices that are attached and relevant (e.g.addAvailableDeviceInfo(int index, AvailableDeviceInfo value) Devices accessible to the test (e.g. as given by list_local_devices).addAvailableDeviceInfo(int index, AvailableDeviceInfo.Builder builderForValue) Devices accessible to the test (e.g. as given by list_local_devices).Devices accessible to the test (e.g. as given by list_local_devices).addAvailableDeviceInfo(AvailableDeviceInfo.Builder builderForValue) Devices accessible to the test (e.g. as given by list_local_devices).Devices accessible to the test (e.g. as given by list_local_devices).addAvailableDeviceInfoBuilder(int index) Devices accessible to the test (e.g. as given by list_local_devices).addDeviceInfo(int index, Any value) Other devices that are attached and relevant (e.g.addDeviceInfo(int index, Any.Builder builderForValue) Other devices that are attached and relevant (e.g.addDeviceInfo(Any value) Other devices that are attached and relevant (e.g.addDeviceInfo(Any.Builder builderForValue) Other devices that are attached and relevant (e.g.Other devices that are attached and relevant (e.g.addDeviceInfoBuilder(int index) Other devices that are attached and relevant (e.g.addRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()Devices accessible to the test (e.g. as given by list_local_devices).CPU Information.Other devices that are attached and relevant (e.g.Host name of machine that ran the benchmark..tensorflow.MemoryInfo memory_info = 6;Additional platform information.Unique serial number of the machine.clone()getAvailableDeviceInfo(int index) Devices accessible to the test (e.g. as given by list_local_devices).getAvailableDeviceInfoBuilder(int index) Devices accessible to the test (e.g. as given by list_local_devices).Devices accessible to the test (e.g. as given by list_local_devices).intDevices accessible to the test (e.g. as given by list_local_devices).Devices accessible to the test (e.g. as given by list_local_devices).getAvailableDeviceInfoOrBuilder(int index) Devices accessible to the test (e.g. as given by list_local_devices).List<? extends AvailableDeviceInfoOrBuilder> Devices accessible to the test (e.g. as given by list_local_devices).CPU Information.CPU Information.CPU Information.static final Descriptors.DescriptorgetDeviceInfo(int index) Other devices that are attached and relevant (e.g.getDeviceInfoBuilder(int index) Other devices that are attached and relevant (e.g.Other devices that are attached and relevant (e.g.intOther devices that are attached and relevant (e.g.Other devices that are attached and relevant (e.g.getDeviceInfoOrBuilder(int index) Other devices that are attached and relevant (e.g.List<? extends AnyOrBuilder> Other devices that are attached and relevant (e.g.Host name of machine that ran the benchmark.Host name of machine that ran the benchmark..tensorflow.MemoryInfo memory_info = 6;.tensorflow.MemoryInfo memory_info = 6;.tensorflow.MemoryInfo memory_info = 6;Additional platform information.Additional platform information.Additional platform information.Unique serial number of the machine.Unique serial number of the machine.booleanCPU Information.boolean.tensorflow.MemoryInfo memory_info = 6;booleanAdditional platform information.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCpuInfo(CPUInfo value) CPU Information.mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(MachineConfiguration other) mergeMemoryInfo(MemoryInfo value) .tensorflow.MemoryInfo memory_info = 6;mergePlatformInfo(PlatformInfo value) Additional platform information.mergeUnknownFields(UnknownFieldSet unknownFields) removeAvailableDeviceInfo(int index) Devices accessible to the test (e.g. as given by list_local_devices).removeDeviceInfo(int index) Other devices that are attached and relevant (e.g.setAvailableDeviceInfo(int index, AvailableDeviceInfo value) Devices accessible to the test (e.g. as given by list_local_devices).setAvailableDeviceInfo(int index, AvailableDeviceInfo.Builder builderForValue) Devices accessible to the test (e.g. as given by list_local_devices).setCpuInfo(CPUInfo value) CPU Information.setCpuInfo(CPUInfo.Builder builderForValue) CPU Information.setDeviceInfo(int index, Any value) Other devices that are attached and relevant (e.g.setDeviceInfo(int index, Any.Builder builderForValue) Other devices that are attached and relevant (e.g.setField(Descriptors.FieldDescriptor field, Object value) setHostname(String value) Host name of machine that ran the benchmark.setHostnameBytes(ByteString value) Host name of machine that ran the benchmark.setMemoryInfo(MemoryInfo value) .tensorflow.MemoryInfo memory_info = 6;setMemoryInfo(MemoryInfo.Builder builderForValue) .tensorflow.MemoryInfo memory_info = 6;setPlatformInfo(PlatformInfo value) Additional platform information.setPlatformInfo(PlatformInfo.Builder builderForValue) Additional platform information.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setSerialIdentifier(String value) Unique serial number of the machine.Unique serial number of the machine.setUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<MachineConfiguration.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<MachineConfiguration.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<MachineConfiguration.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<MachineConfiguration.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<MachineConfiguration.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<MachineConfiguration.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<MachineConfiguration.Builder>
-
setRepeatedField
public MachineConfiguration.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<MachineConfiguration.Builder>
-
addRepeatedField
public MachineConfiguration.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<MachineConfiguration.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<MachineConfiguration.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<MachineConfiguration.Builder>
-
mergeFrom
public MachineConfiguration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<MachineConfiguration.Builder>- Throws:
IOException
-
getHostname
Host name of machine that ran the benchmark.
string hostname = 1;- Specified by:
getHostnamein interfaceMachineConfigurationOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
Host name of machine that ran the benchmark.
string hostname = 1;- Specified by:
getHostnameBytesin interfaceMachineConfigurationOrBuilder- Returns:
- The bytes for hostname.
-
setHostname
Host name of machine that ran the benchmark.
string hostname = 1;- Parameters:
value- The hostname to set.- Returns:
- This builder for chaining.
-
clearHostname
Host name of machine that ran the benchmark.
string hostname = 1;- Returns:
- This builder for chaining.
-
setHostnameBytes
Host name of machine that ran the benchmark.
string hostname = 1;- Parameters:
value- The bytes for hostname to set.- Returns:
- This builder for chaining.
-
getSerialIdentifier
Unique serial number of the machine.
string serial_identifier = 7;- Specified by:
getSerialIdentifierin interfaceMachineConfigurationOrBuilder- Returns:
- The serialIdentifier.
-
getSerialIdentifierBytes
Unique serial number of the machine.
string serial_identifier = 7;- Specified by:
getSerialIdentifierBytesin interfaceMachineConfigurationOrBuilder- Returns:
- The bytes for serialIdentifier.
-
setSerialIdentifier
Unique serial number of the machine.
string serial_identifier = 7;- Parameters:
value- The serialIdentifier to set.- Returns:
- This builder for chaining.
-
clearSerialIdentifier
Unique serial number of the machine.
string serial_identifier = 7;- Returns:
- This builder for chaining.
-
setSerialIdentifierBytes
Unique serial number of the machine.
string serial_identifier = 7;- Parameters:
value- The bytes for serialIdentifier to set.- Returns:
- This builder for chaining.
-
hasPlatformInfo
public boolean hasPlatformInfo()Additional platform information.
.tensorflow.PlatformInfo platform_info = 2;- Specified by:
hasPlatformInfoin interfaceMachineConfigurationOrBuilder- Returns:
- Whether the platformInfo field is set.
-
getPlatformInfo
Additional platform information.
.tensorflow.PlatformInfo platform_info = 2;- Specified by:
getPlatformInfoin interfaceMachineConfigurationOrBuilder- Returns:
- The platformInfo.
-
setPlatformInfo
Additional platform information.
.tensorflow.PlatformInfo platform_info = 2; -
setPlatformInfo
Additional platform information.
.tensorflow.PlatformInfo platform_info = 2; -
mergePlatformInfo
Additional platform information.
.tensorflow.PlatformInfo platform_info = 2; -
clearPlatformInfo
Additional platform information.
.tensorflow.PlatformInfo platform_info = 2; -
getPlatformInfoBuilder
Additional platform information.
.tensorflow.PlatformInfo platform_info = 2; -
getPlatformInfoOrBuilder
Additional platform information.
.tensorflow.PlatformInfo platform_info = 2;- Specified by:
getPlatformInfoOrBuilderin interfaceMachineConfigurationOrBuilder
-
hasCpuInfo
public boolean hasCpuInfo()CPU Information.
.tensorflow.CPUInfo cpu_info = 3;- Specified by:
hasCpuInfoin interfaceMachineConfigurationOrBuilder- Returns:
- Whether the cpuInfo field is set.
-
getCpuInfo
CPU Information.
.tensorflow.CPUInfo cpu_info = 3;- Specified by:
getCpuInfoin interfaceMachineConfigurationOrBuilder- Returns:
- The cpuInfo.
-
setCpuInfo
CPU Information.
.tensorflow.CPUInfo cpu_info = 3; -
setCpuInfo
CPU Information.
.tensorflow.CPUInfo cpu_info = 3; -
mergeCpuInfo
CPU Information.
.tensorflow.CPUInfo cpu_info = 3; -
clearCpuInfo
CPU Information.
.tensorflow.CPUInfo cpu_info = 3; -
getCpuInfoBuilder
CPU Information.
.tensorflow.CPUInfo cpu_info = 3; -
getCpuInfoOrBuilder
CPU Information.
.tensorflow.CPUInfo cpu_info = 3;- Specified by:
getCpuInfoOrBuilderin interfaceMachineConfigurationOrBuilder
-
getDeviceInfoList
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4;- Specified by:
getDeviceInfoListin interfaceMachineConfigurationOrBuilder
-
getDeviceInfoCount
public int getDeviceInfoCount()Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4;- Specified by:
getDeviceInfoCountin interfaceMachineConfigurationOrBuilder
-
getDeviceInfo
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4;- Specified by:
getDeviceInfoin interfaceMachineConfigurationOrBuilder
-
setDeviceInfo
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4; -
setDeviceInfo
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4; -
addDeviceInfo
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4; -
addDeviceInfo
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4; -
addDeviceInfo
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4; -
addDeviceInfo
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4; -
addAllDeviceInfo
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4; -
clearDeviceInfo
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4; -
removeDeviceInfo
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4; -
getDeviceInfoBuilder
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4; -
getDeviceInfoOrBuilder
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4;- Specified by:
getDeviceInfoOrBuilderin interfaceMachineConfigurationOrBuilder
-
getDeviceInfoOrBuilderList
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4;- Specified by:
getDeviceInfoOrBuilderListin interfaceMachineConfigurationOrBuilder
-
addDeviceInfoBuilder
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4; -
addDeviceInfoBuilder
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4; -
getDeviceInfoBuilderList
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4; -
getAvailableDeviceInfoList
Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5;- Specified by:
getAvailableDeviceInfoListin interfaceMachineConfigurationOrBuilder
-
getAvailableDeviceInfoCount
public int getAvailableDeviceInfoCount()Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5;- Specified by:
getAvailableDeviceInfoCountin interfaceMachineConfigurationOrBuilder
-
getAvailableDeviceInfo
Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5;- Specified by:
getAvailableDeviceInfoin interfaceMachineConfigurationOrBuilder
-
setAvailableDeviceInfo
Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5; -
setAvailableDeviceInfo
public MachineConfiguration.Builder setAvailableDeviceInfo(int index, AvailableDeviceInfo.Builder builderForValue) Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5; -
addAvailableDeviceInfo
Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5; -
addAvailableDeviceInfo
Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5; -
addAvailableDeviceInfo
public MachineConfiguration.Builder addAvailableDeviceInfo(AvailableDeviceInfo.Builder builderForValue) Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5; -
addAvailableDeviceInfo
public MachineConfiguration.Builder addAvailableDeviceInfo(int index, AvailableDeviceInfo.Builder builderForValue) Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5; -
addAllAvailableDeviceInfo
public MachineConfiguration.Builder addAllAvailableDeviceInfo(Iterable<? extends AvailableDeviceInfo> values) Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5; -
clearAvailableDeviceInfo
Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5; -
removeAvailableDeviceInfo
Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5; -
getAvailableDeviceInfoBuilder
Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5; -
getAvailableDeviceInfoOrBuilder
Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5;- Specified by:
getAvailableDeviceInfoOrBuilderin interfaceMachineConfigurationOrBuilder
-
getAvailableDeviceInfoOrBuilderList
Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5;- Specified by:
getAvailableDeviceInfoOrBuilderListin interfaceMachineConfigurationOrBuilder
-
addAvailableDeviceInfoBuilder
Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5; -
addAvailableDeviceInfoBuilder
Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5; -
getAvailableDeviceInfoBuilderList
Devices accessible to the test (e.g. as given by list_local_devices).
repeated .tensorflow.AvailableDeviceInfo available_device_info = 5; -
hasMemoryInfo
public boolean hasMemoryInfo().tensorflow.MemoryInfo memory_info = 6;- Specified by:
hasMemoryInfoin interfaceMachineConfigurationOrBuilder- Returns:
- Whether the memoryInfo field is set.
-
getMemoryInfo
.tensorflow.MemoryInfo memory_info = 6;- Specified by:
getMemoryInfoin interfaceMachineConfigurationOrBuilder- Returns:
- The memoryInfo.
-
setMemoryInfo
.tensorflow.MemoryInfo memory_info = 6; -
setMemoryInfo
.tensorflow.MemoryInfo memory_info = 6; -
mergeMemoryInfo
.tensorflow.MemoryInfo memory_info = 6; -
clearMemoryInfo
.tensorflow.MemoryInfo memory_info = 6; -
getMemoryInfoBuilder
.tensorflow.MemoryInfo memory_info = 6; -
getMemoryInfoOrBuilder
.tensorflow.MemoryInfo memory_info = 6;- Specified by:
getMemoryInfoOrBuilderin interfaceMachineConfigurationOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<MachineConfiguration.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<MachineConfiguration.Builder>
-