MemoryLogRawAllocation.Builder

public static final class MemoryLogRawAllocation.Builder

Protobuf type tensorflow.MemoryLogRawAllocation

Public Methods

MemoryLogRawAllocation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MemoryLogRawAllocation
build()
MemoryLogRawAllocation
MemoryLogRawAllocation.Builder
clear()
MemoryLogRawAllocation.Builder
clearAllocationId()
 Id of the tensor buffer being allocated, used to match to a
 corresponding deallocation.
MemoryLogRawAllocation.Builder
clearAllocatorName()
 Name of the allocator used.
MemoryLogRawAllocation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
MemoryLogRawAllocation.Builder
clearNumBytes()
 Number of bytes in the allocation.
MemoryLogRawAllocation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MemoryLogRawAllocation.Builder
clearOperation()
 Name of the operation making the allocation.
MemoryLogRawAllocation.Builder
clearPtr()
 Address of the allocation.
MemoryLogRawAllocation.Builder
clearStepId()
 Process-unique step id.
MemoryLogRawAllocation.Builder
clone()
long
getAllocationId()
 Id of the tensor buffer being allocated, used to match to a
 corresponding deallocation.
String
getAllocatorName()
 Name of the allocator used.
com.google.protobuf.ByteString
getAllocatorNameBytes()
 Name of the allocator used.
MemoryLogRawAllocation
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
getNumBytes()
 Number of bytes in the allocation.
String
getOperation()
 Name of the operation making the allocation.
com.google.protobuf.ByteString
getOperationBytes()
 Name of the operation making the allocation.
long
getPtr()
 Address of the allocation.
long
getStepId()
 Process-unique step id.
final boolean
MemoryLogRawAllocation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MemoryLogRawAllocation.Builder
mergeFrom(com.google.protobuf.Message other)
final MemoryLogRawAllocation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MemoryLogRawAllocation.Builder
setAllocationId(long value)
 Id of the tensor buffer being allocated, used to match to a
 corresponding deallocation.
MemoryLogRawAllocation.Builder
setAllocatorName(String value)
 Name of the allocator used.
MemoryLogRawAllocation.Builder
setAllocatorNameBytes(com.google.protobuf.ByteString value)
 Name of the allocator used.
MemoryLogRawAllocation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MemoryLogRawAllocation.Builder
setNumBytes(long value)
 Number of bytes in the allocation.
MemoryLogRawAllocation.Builder
setOperation(String value)
 Name of the operation making the allocation.
MemoryLogRawAllocation.Builder
setOperationBytes(com.google.protobuf.ByteString value)
 Name of the operation making the allocation.
MemoryLogRawAllocation.Builder
setPtr(long value)
 Address of the allocation.
MemoryLogRawAllocation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
MemoryLogRawAllocation.Builder
setStepId(long value)
 Process-unique step id.
final MemoryLogRawAllocation.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public MemoryLogRawAllocation.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public MemoryLogRawAllocation build ()

public MemoryLogRawAllocation buildPartial ()

public MemoryLogRawAllocation.Builder clearAllocationId ()

 Id of the tensor buffer being allocated, used to match to a
 corresponding deallocation.
 
int64 allocation_id = 5;

public MemoryLogRawAllocation.Builder clearAllocatorName ()

 Name of the allocator used.
 
string allocator_name = 6;

public MemoryLogRawAllocation.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public MemoryLogRawAllocation.Builder clearNumBytes ()

 Number of bytes in the allocation.
 
int64 num_bytes = 3;

public MemoryLogRawAllocation.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public MemoryLogRawAllocation.Builder clearOperation ()

 Name of the operation making the allocation.
 
string operation = 2;

public MemoryLogRawAllocation.Builder clearPtr ()

 Address of the allocation.
 
uint64 ptr = 4;

public MemoryLogRawAllocation.Builder clearStepId ()

 Process-unique step id.
 
int64 step_id = 1;

public long getAllocationId ()

 Id of the tensor buffer being allocated, used to match to a
 corresponding deallocation.
 
int64 allocation_id = 5;

public String getAllocatorName ()

 Name of the allocator used.
 
string allocator_name = 6;

public com.google.protobuf.ByteString getAllocatorNameBytes ()

 Name of the allocator used.
 
string allocator_name = 6;

public MemoryLogRawAllocation getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public long getNumBytes ()

 Number of bytes in the allocation.
 
int64 num_bytes = 3;

public String getOperation ()

 Name of the operation making the allocation.
 
string operation = 2;

public com.google.protobuf.ByteString getOperationBytes ()

 Name of the operation making the allocation.
 
string operation = 2;

public long getPtr ()

 Address of the allocation.
 
uint64 ptr = 4;

public long getStepId ()

 Process-unique step id.
 
int64 step_id = 1;

public final boolean isInitialized ()

public MemoryLogRawAllocation.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public MemoryLogRawAllocation.Builder mergeFrom (com.google.protobuf.Message other)

public final MemoryLogRawAllocation.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public MemoryLogRawAllocation.Builder setAllocationId (long value)

 Id of the tensor buffer being allocated, used to match to a
 corresponding deallocation.
 
int64 allocation_id = 5;

public MemoryLogRawAllocation.Builder setAllocatorName (String value)

 Name of the allocator used.
 
string allocator_name = 6;

public MemoryLogRawAllocation.Builder setAllocatorNameBytes (com.google.protobuf.ByteString value)

 Name of the allocator used.
 
string allocator_name = 6;

public MemoryLogRawAllocation.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public MemoryLogRawAllocation.Builder setNumBytes (long value)

 Number of bytes in the allocation.
 
int64 num_bytes = 3;

public MemoryLogRawAllocation.Builder setOperation (String value)

 Name of the operation making the allocation.
 
string operation = 2;

public MemoryLogRawAllocation.Builder setOperationBytes (com.google.protobuf.ByteString value)

 Name of the operation making the allocation.
 
string operation = 2;

public MemoryLogRawAllocation.Builder setPtr (long value)

 Address of the allocation.
 
uint64 ptr = 4;

public MemoryLogRawAllocation.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public MemoryLogRawAllocation.Builder setStepId (long value)

 Process-unique step id.
 
int64 step_id = 1;

public final MemoryLogRawAllocation.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)