public static final class MemoryLogRawAllocation.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder> implements MemoryLogRawAllocationOrBuilder
tensorflow.MemoryLogRawAllocation
Modifier and Type | Method and Description |
---|---|
MemoryLogRawAllocation.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MemoryLogRawAllocation |
build() |
MemoryLogRawAllocation |
buildPartial() |
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(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
MemoryLogRawAllocation.Builder |
clearNumBytes()
Number of bytes in the allocation.
|
MemoryLogRawAllocation.Builder |
clearOneof(org.nd4j.shade.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.
|
org.nd4j.shade.protobuf.ByteString |
getAllocatorNameBytes()
Name of the allocator used.
|
MemoryLogRawAllocation |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getNumBytes()
Number of bytes in the allocation.
|
String |
getOperation()
Name of the operation making the allocation.
|
org.nd4j.shade.protobuf.ByteString |
getOperationBytes()
Name of the operation making the allocation.
|
long |
getPtr()
Address of the allocation.
|
long |
getStepId()
Process-unique step id.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MemoryLogRawAllocation.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
MemoryLogRawAllocation.Builder |
mergeFrom(MemoryLogRawAllocation other) |
MemoryLogRawAllocation.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
MemoryLogRawAllocation.Builder |
mergeUnknownFields(org.nd4j.shade.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(org.nd4j.shade.protobuf.ByteString value)
Name of the allocator used.
|
MemoryLogRawAllocation.Builder |
setField(org.nd4j.shade.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(org.nd4j.shade.protobuf.ByteString value)
Name of the operation making the allocation.
|
MemoryLogRawAllocation.Builder |
setPtr(long value)
Address of the allocation.
|
MemoryLogRawAllocation.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MemoryLogRawAllocation.Builder |
setStepId(long value)
Process-unique step id.
|
MemoryLogRawAllocation.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
public MemoryLogRawAllocation.Builder clear()
clear
in interface org.nd4j.shade.protobuf.Message.Builder
clear
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clear
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface org.nd4j.shade.protobuf.Message.Builder
getDescriptorForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getDescriptorForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
public MemoryLogRawAllocation getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public MemoryLogRawAllocation build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public MemoryLogRawAllocation buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public MemoryLogRawAllocation.Builder clone()
clone
in interface org.nd4j.shade.protobuf.Message.Builder
clone
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clone
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
public MemoryLogRawAllocation.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface org.nd4j.shade.protobuf.Message.Builder
setField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
public MemoryLogRawAllocation.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface org.nd4j.shade.protobuf.Message.Builder
clearField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
public MemoryLogRawAllocation.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface org.nd4j.shade.protobuf.Message.Builder
clearOneof
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
public MemoryLogRawAllocation.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface org.nd4j.shade.protobuf.Message.Builder
setRepeatedField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
public MemoryLogRawAllocation.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface org.nd4j.shade.protobuf.Message.Builder
addRepeatedField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
public MemoryLogRawAllocation.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom
in interface org.nd4j.shade.protobuf.Message.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<MemoryLogRawAllocation.Builder>
public MemoryLogRawAllocation.Builder mergeFrom(MemoryLogRawAllocation other)
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
public MemoryLogRawAllocation.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface org.nd4j.shade.protobuf.Message.Builder
mergeFrom
in interface org.nd4j.shade.protobuf.MessageLite.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<MemoryLogRawAllocation.Builder>
IOException
public long getStepId()
Process-unique step id.
int64 step_id = 1;
getStepId
in interface MemoryLogRawAllocationOrBuilder
public MemoryLogRawAllocation.Builder setStepId(long value)
Process-unique step id.
int64 step_id = 1;
public MemoryLogRawAllocation.Builder clearStepId()
Process-unique step id.
int64 step_id = 1;
public String getOperation()
Name of the operation making the allocation.
string operation = 2;
getOperation
in interface MemoryLogRawAllocationOrBuilder
public org.nd4j.shade.protobuf.ByteString getOperationBytes()
Name of the operation making the allocation.
string operation = 2;
getOperationBytes
in interface MemoryLogRawAllocationOrBuilder
public MemoryLogRawAllocation.Builder setOperation(String value)
Name of the operation making the allocation.
string operation = 2;
public MemoryLogRawAllocation.Builder clearOperation()
Name of the operation making the allocation.
string operation = 2;
public MemoryLogRawAllocation.Builder setOperationBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the operation making the allocation.
string operation = 2;
public long getNumBytes()
Number of bytes in the allocation.
int64 num_bytes = 3;
getNumBytes
in interface MemoryLogRawAllocationOrBuilder
public MemoryLogRawAllocation.Builder setNumBytes(long value)
Number of bytes in the allocation.
int64 num_bytes = 3;
public MemoryLogRawAllocation.Builder clearNumBytes()
Number of bytes in the allocation.
int64 num_bytes = 3;
public long getPtr()
Address of the allocation.
uint64 ptr = 4;
getPtr
in interface MemoryLogRawAllocationOrBuilder
public MemoryLogRawAllocation.Builder setPtr(long value)
Address of the allocation.
uint64 ptr = 4;
public MemoryLogRawAllocation.Builder clearPtr()
Address of the allocation.
uint64 ptr = 4;
public long getAllocationId()
Id of the tensor buffer being allocated, used to match to a corresponding deallocation.
int64 allocation_id = 5;
getAllocationId
in interface MemoryLogRawAllocationOrBuilder
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 clearAllocationId()
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;
getAllocatorName
in interface MemoryLogRawAllocationOrBuilder
public org.nd4j.shade.protobuf.ByteString getAllocatorNameBytes()
Name of the allocator used.
string allocator_name = 6;
getAllocatorNameBytes
in interface MemoryLogRawAllocationOrBuilder
public MemoryLogRawAllocation.Builder setAllocatorName(String value)
Name of the allocator used.
string allocator_name = 6;
public MemoryLogRawAllocation.Builder clearAllocatorName()
Name of the allocator used.
string allocator_name = 6;
public MemoryLogRawAllocation.Builder setAllocatorNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the allocator used.
string allocator_name = 6;
public final MemoryLogRawAllocation.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface org.nd4j.shade.protobuf.Message.Builder
setUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
public final MemoryLogRawAllocation.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface org.nd4j.shade.protobuf.Message.Builder
mergeUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
Copyright © 2020. All rights reserved.