Class MemoryLogRawAllocation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.MemoryLogRawAllocation
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, MemoryLogRawAllocationOrBuilder
public final class MemoryLogRawAllocation
extends GeneratedMessageV3
implements MemoryLogRawAllocationOrBuilder
Protobuf type
tensorflow.MemoryLogRawAllocation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetensorflow.MemoryLogRawAllocationNested 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 intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongId of the tensor buffer being allocated, used to match to a corresponding deallocation.Name of the allocator used.Name of the allocator used.static MemoryLogRawAllocationstatic final Descriptors.DescriptorlongNumber of bytes in the allocation.Name of the operation making the allocation.Name of the operation making the allocation.longgetPtr()Address of the allocation.intlongProcess-unique step id.final UnknownFieldSetinthashCode()protected GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(MemoryLogRawAllocation prototype) protected MemoryLogRawAllocation.Builderprotected Objectstatic MemoryLogRawAllocationparseDelimitedFrom(InputStream input) static MemoryLogRawAllocationparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static MemoryLogRawAllocationparseFrom(byte[] data) static MemoryLogRawAllocationparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static MemoryLogRawAllocationparseFrom(ByteString data) static MemoryLogRawAllocationparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static MemoryLogRawAllocationparseFrom(CodedInputStream input) static MemoryLogRawAllocationparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static MemoryLogRawAllocationparseFrom(InputStream input) static MemoryLogRawAllocationparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static MemoryLogRawAllocationparseFrom(ByteBuffer data) static MemoryLogRawAllocationparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<MemoryLogRawAllocation> 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
-
STEP_ID_FIELD_NUMBER
public static final int STEP_ID_FIELD_NUMBER- See Also:
-
OPERATION_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER- See Also:
-
NUM_BYTES_FIELD_NUMBER
public static final int NUM_BYTES_FIELD_NUMBER- See Also:
-
PTR_FIELD_NUMBER
public static final int PTR_FIELD_NUMBER- See Also:
-
ALLOCATION_ID_FIELD_NUMBER
public static final int ALLOCATION_ID_FIELD_NUMBER- See Also:
-
ALLOCATOR_NAME_FIELD_NUMBER
public static final int ALLOCATOR_NAME_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getStepId
public long getStepId()Process-unique step id.
int64 step_id = 1;- Specified by:
getStepIdin interfaceMemoryLogRawAllocationOrBuilder- Returns:
- The stepId.
-
getOperation
Name of the operation making the allocation.
string operation = 2;- Specified by:
getOperationin interfaceMemoryLogRawAllocationOrBuilder- Returns:
- The operation.
-
getOperationBytes
Name of the operation making the allocation.
string operation = 2;- Specified by:
getOperationBytesin interfaceMemoryLogRawAllocationOrBuilder- Returns:
- The bytes for operation.
-
getNumBytes
public long getNumBytes()Number of bytes in the allocation.
int64 num_bytes = 3;- Specified by:
getNumBytesin interfaceMemoryLogRawAllocationOrBuilder- Returns:
- The numBytes.
-
getPtr
public long getPtr()Address of the allocation.
uint64 ptr = 4;- Specified by:
getPtrin interfaceMemoryLogRawAllocationOrBuilder- Returns:
- The ptr.
-
getAllocationId
public long getAllocationId()Id of the tensor buffer being allocated, used to match to a corresponding deallocation.
int64 allocation_id = 5;- Specified by:
getAllocationIdin interfaceMemoryLogRawAllocationOrBuilder- Returns:
- The allocationId.
-
getAllocatorName
Name of the allocator used.
string allocator_name = 6;- Specified by:
getAllocatorNamein interfaceMemoryLogRawAllocationOrBuilder- Returns:
- The allocatorName.
-
getAllocatorNameBytes
Name of the allocator used.
string allocator_name = 6;- Specified by:
getAllocatorNameBytesin interfaceMemoryLogRawAllocationOrBuilder- Returns:
- The bytes for allocatorName.
-
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
public static MemoryLogRawAllocation parseFrom(ByteBuffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static MemoryLogRawAllocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static MemoryLogRawAllocation parseFrom(ByteString data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static MemoryLogRawAllocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static MemoryLogRawAllocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MemoryLogRawAllocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static MemoryLogRawAllocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MemoryLogRawAllocation 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
-