Class MachineConfiguration
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.MachineConfiguration
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, MachineConfigurationOrBuilder
public final class MachineConfiguration
extends GeneratedMessageV3
implements MachineConfigurationOrBuilder
Protobuf type
tensorflow.MachineConfiguration- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetensorflow.MachineConfigurationNested classes/interfaces inherited from class GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>, GeneratedMessageV3.ExtendableMessage<MessageType>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterNested classes/interfaces inherited from class AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAvailableDeviceInfo(int index) 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.static MachineConfigurationstatic final Descriptors.DescriptorgetDeviceInfo(int index) 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;Additional platform information.Additional platform information.Unique serial number of the machine.Unique serial number of the machine.intfinal UnknownFieldSetbooleanCPU Information.inthashCode()boolean.tensorflow.MemoryInfo memory_info = 6;booleanAdditional platform information.protected GeneratedMessageV3.FieldAccessorTablefinal booleanstatic MachineConfiguration.Builderstatic MachineConfiguration.BuildernewBuilder(MachineConfiguration prototype) protected MachineConfiguration.Builderprotected Objectstatic MachineConfigurationparseDelimitedFrom(InputStream input) static MachineConfigurationparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static MachineConfigurationparseFrom(byte[] data) static MachineConfigurationparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static MachineConfigurationparseFrom(ByteString data) static MachineConfigurationparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static MachineConfigurationparseFrom(CodedInputStream input) static MachineConfigurationparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static MachineConfigurationparseFrom(InputStream input) static MachineConfigurationparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static MachineConfigurationparseFrom(ByteBuffer data) static MachineConfigurationparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<MachineConfiguration> parser()voidwriteTo(CodedOutputStream output) Methods inherited from class GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
HOSTNAME_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER- See Also:
-
SERIAL_IDENTIFIER_FIELD_NUMBER
public static final int SERIAL_IDENTIFIER_FIELD_NUMBER- See Also:
-
PLATFORM_INFO_FIELD_NUMBER
public static final int PLATFORM_INFO_FIELD_NUMBER- See Also:
-
CPU_INFO_FIELD_NUMBER
public static final int CPU_INFO_FIELD_NUMBER- See Also:
-
DEVICE_INFO_FIELD_NUMBER
public static final int DEVICE_INFO_FIELD_NUMBER- See Also:
-
AVAILABLE_DEVICE_INFO_FIELD_NUMBER
public static final int AVAILABLE_DEVICE_INFO_FIELD_NUMBER- See Also:
-
MEMORY_INFO_FIELD_NUMBER
public static final int MEMORY_INFO_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
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.
-
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.
-
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.
-
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.
-
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
-
getDeviceInfoOrBuilderList
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4;- Specified by:
getDeviceInfoOrBuilderListin 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
-
getDeviceInfoOrBuilder
Other devices that are attached and relevant (e.g. GPUInfo).
repeated .google.protobuf.Any device_info = 4;- Specified by:
getDeviceInfoOrBuilderin interfaceMachineConfigurationOrBuilder
-
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
-
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
-
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
-
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
-
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.
-
getMemoryInfoOrBuilder
.tensorflow.MemoryInfo memory_info = 6;- Specified by:
getMemoryInfoOrBuilderin interfaceMachineConfigurationOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static MachineConfiguration parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static MachineConfiguration parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static MachineConfiguration parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MachineConfiguration parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static MachineConfiguration parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MachineConfiguration parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
- Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-