AllocationRecord.Builder

public static final class AllocationRecord.Builder

 An allocation/de-allocation operation performed by the allocator.
 
Protobuf type tensorflow.AllocationRecord

Public Methods

AllocationRecord.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AllocationRecord
AllocationRecord
AllocationRecord.Builder
AllocationRecord.Builder
clearAllocBytes ()
 Number of bytes allocated, or de-allocated if negative.
AllocationRecord.Builder
clearAllocMicros ()
 The timestamp of the operation.
AllocationRecord.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
AllocationRecord.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
AllocationRecord.Builder
long
getAllocBytes ()
 Number of bytes allocated, or de-allocated if negative.
long
getAllocMicros ()
 The timestamp of the operation.
AllocationRecord
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
final boolean
AllocationRecord.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AllocationRecord.Builder
mergeFrom (com.google.protobuf.Message other)
final AllocationRecord.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
AllocationRecord.Builder
setAllocBytes (long value)
 Number of bytes allocated, or de-allocated if negative.
AllocationRecord.Builder
setAllocMicros (long value)
 The timestamp of the operation.
AllocationRecord.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AllocationRecord.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final AllocationRecord.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

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

public AllocationRecord build ()

public AllocationRecord buildPartial ()

public AllocationRecord.Builder clearAllocBytes ()

 Number of bytes allocated, or de-allocated if negative.
 
int64 alloc_bytes = 2;

public AllocationRecord.Builder clearAllocMicros ()

 The timestamp of the operation.
 
int64 alloc_micros = 1;

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

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

public long getAllocBytes ()

 Number of bytes allocated, or de-allocated if negative.
 
int64 alloc_bytes = 2;

public long getAllocMicros ()

 The timestamp of the operation.
 
int64 alloc_micros = 1;

public AllocationRecord getDefaultInstanceForType ()

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

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

public final boolean isInitialized ()

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

Throws
IOException

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

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

public AllocationRecord.Builder setAllocBytes (long value)

 Number of bytes allocated, or de-allocated if negative.
 
int64 alloc_bytes = 2;

public AllocationRecord.Builder setAllocMicros (long value)

 The timestamp of the operation.
 
int64 alloc_micros = 1;

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

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

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