AllocationDescription.Builder

public static final class AllocationDescription.Builder

Protobuf type tensorflow.AllocationDescription

Public Methods

AllocationDescription.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AllocationDescription
AllocationDescription
AllocationDescription.Builder
AllocationDescription.Builder
clearAllocatedBytes ()
 Total number of bytes allocated if known
 
int64 allocated_bytes = 2;
AllocationDescription.Builder
clearAllocationId ()
 Identifier of the allocated buffer if known
 
int64 allocation_id = 4;
AllocationDescription.Builder
clearAllocatorName ()
 Name of the allocator used
 
string allocator_name = 3;
AllocationDescription.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
AllocationDescription.Builder
clearHasSingleReference ()
 Set if this tensor only has one remaining reference
 
bool has_single_reference = 5;
AllocationDescription.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
AllocationDescription.Builder
clearPtr ()
 Address of the allocation.
AllocationDescription.Builder
clearRequestedBytes ()
 Total number of bytes requested
 
int64 requested_bytes = 1;
AllocationDescription.Builder
long
getAllocatedBytes ()
 Total number of bytes allocated if known
 
int64 allocated_bytes = 2;
long
getAllocationId ()
 Identifier of the allocated buffer if known
 
int64 allocation_id = 4;
String
getAllocatorName ()
 Name of the allocator used
 
string allocator_name = 3;
com.google.protobuf.ByteString
getAllocatorNameBytes ()
 Name of the allocator used
 
string allocator_name = 3;
AllocationDescription
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
getHasSingleReference ()
 Set if this tensor only has one remaining reference
 
bool has_single_reference = 5;
long
getPtr ()
 Address of the allocation.
long
getRequestedBytes ()
 Total number of bytes requested
 
int64 requested_bytes = 1;
final boolean
AllocationDescription.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AllocationDescription.Builder
mergeFrom (com.google.protobuf.Message other)
final AllocationDescription.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
AllocationDescription.Builder
setAllocatedBytes (long value)
 Total number of bytes allocated if known
 
int64 allocated_bytes = 2;
AllocationDescription.Builder
setAllocationId (long value)
 Identifier of the allocated buffer if known
 
int64 allocation_id = 4;
AllocationDescription.Builder
setAllocatorName (String value)
 Name of the allocator used
 
string allocator_name = 3;
AllocationDescription.Builder
setAllocatorNameBytes (com.google.protobuf.ByteString value)
 Name of the allocator used
 
string allocator_name = 3;
AllocationDescription.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AllocationDescription.Builder
setHasSingleReference (boolean value)
 Set if this tensor only has one remaining reference
 
bool has_single_reference = 5;
AllocationDescription.Builder
setPtr (long value)
 Address of the allocation.
AllocationDescription.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AllocationDescription.Builder
setRequestedBytes (long value)
 Total number of bytes requested
 
int64 requested_bytes = 1;
final AllocationDescription.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

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

public AllocationDescription build ()

public AllocationDescription buildPartial ()

public AllocationDescription.Builder clearAllocatedBytes ()

 Total number of bytes allocated if known
 
int64 allocated_bytes = 2;

public AllocationDescription.Builder clearAllocationId ()

 Identifier of the allocated buffer if known
 
int64 allocation_id = 4;

public AllocationDescription.Builder clearAllocatorName ()

 Name of the allocator used
 
string allocator_name = 3;

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

public AllocationDescription.Builder clearHasSingleReference ()

 Set if this tensor only has one remaining reference
 
bool has_single_reference = 5;

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

public AllocationDescription.Builder clearPtr ()

 Address of the allocation.
 
uint64 ptr = 6;

public AllocationDescription.Builder clearRequestedBytes ()

 Total number of bytes requested
 
int64 requested_bytes = 1;

public long getAllocatedBytes ()

 Total number of bytes allocated if known
 
int64 allocated_bytes = 2;

public long getAllocationId ()

 Identifier of the allocated buffer if known
 
int64 allocation_id = 4;

public String getAllocatorName ()

 Name of the allocator used
 
string allocator_name = 3;

public com.google.protobuf.ByteString getAllocatorNameBytes ()

 Name of the allocator used
 
string allocator_name = 3;

public AllocationDescription getDefaultInstanceForType ()

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

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

public boolean getHasSingleReference ()

 Set if this tensor only has one remaining reference
 
bool has_single_reference = 5;

public long getPtr ()

 Address of the allocation.
 
uint64 ptr = 6;

public long getRequestedBytes ()

 Total number of bytes requested
 
int64 requested_bytes = 1;

public final boolean isInitialized ()

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

Throws
IOException

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

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

public AllocationDescription.Builder setAllocatedBytes (long value)

 Total number of bytes allocated if known
 
int64 allocated_bytes = 2;

public AllocationDescription.Builder setAllocationId (long value)

 Identifier of the allocated buffer if known
 
int64 allocation_id = 4;