public static final class AllocationDescription.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocationDescription.Builder> implements AllocationDescriptionOrBuilder
tensorflow.AllocationDescription| Modifier and Type | Method and Description |
|---|---|
AllocationDescription.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AllocationDescription |
build() |
AllocationDescription |
buildPartial() |
AllocationDescription.Builder |
clear() |
AllocationDescription.Builder |
clearAllocatedBytes()
Total number of bytes allocated if known
|
AllocationDescription.Builder |
clearAllocationId()
Identifier of the allocated buffer if known
|
AllocationDescription.Builder |
clearAllocatorName()
Name of the allocator used
|
AllocationDescription.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
AllocationDescription.Builder |
clearHasSingleReference()
Set if this tensor only has one remaining reference
|
AllocationDescription.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
AllocationDescription.Builder |
clearPtr()
Address of the allocation.
|
AllocationDescription.Builder |
clearRequestedBytes()
Total number of bytes requested
|
AllocationDescription.Builder |
clone() |
long |
getAllocatedBytes()
Total number of bytes allocated if known
|
long |
getAllocationId()
Identifier of the allocated buffer if known
|
String |
getAllocatorName()
Name of the allocator used
|
org.nd4j.shade.protobuf.ByteString |
getAllocatorNameBytes()
Name of the allocator used
|
AllocationDescription |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getHasSingleReference()
Set if this tensor only has one remaining reference
|
long |
getPtr()
Address of the allocation.
|
long |
getRequestedBytes()
Total number of bytes requested
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AllocationDescription.Builder |
mergeFrom(AllocationDescription other) |
AllocationDescription.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
AllocationDescription.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
AllocationDescription.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
AllocationDescription.Builder |
setAllocatedBytes(long value)
Total number of bytes allocated if known
|
AllocationDescription.Builder |
setAllocationId(long value)
Identifier of the allocated buffer if known
|
AllocationDescription.Builder |
setAllocatorName(String value)
Name of the allocator used
|
AllocationDescription.Builder |
setAllocatorNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the allocator used
|
AllocationDescription.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AllocationDescription.Builder |
setHasSingleReference(boolean value)
Set if this tensor only has one remaining reference
|
AllocationDescription.Builder |
setPtr(long value)
Address of the allocation.
|
AllocationDescription.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AllocationDescription.Builder |
setRequestedBytes(long value)
Total number of bytes requested
|
AllocationDescription.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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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<AllocationDescription.Builder>public AllocationDescription.Builder clear()
clear in interface org.nd4j.shade.protobuf.Message.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocationDescription.Builder>public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.Message.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic AllocationDescription build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic AllocationDescription buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic AllocationDescription.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.nd4j.shade.protobuf.Message.BuildersetField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.nd4j.shade.protobuf.Message.BuilderclearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.nd4j.shade.protobuf.Message.BuilderclearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.nd4j.shade.protobuf.Message.BuildersetRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.nd4j.shade.protobuf.Message.BuilderaddRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<AllocationDescription.Builder>public AllocationDescription.Builder mergeFrom(AllocationDescription other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<AllocationDescription.Builder>IOExceptionpublic long getRequestedBytes()
Total number of bytes requested
int64 requested_bytes = 1;getRequestedBytes in interface AllocationDescriptionOrBuilderpublic AllocationDescription.Builder setRequestedBytes(long value)
Total number of bytes requested
int64 requested_bytes = 1;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;getAllocatedBytes in interface AllocationDescriptionOrBuilderpublic AllocationDescription.Builder setAllocatedBytes(long value)
Total number of bytes allocated if known
int64 allocated_bytes = 2;public AllocationDescription.Builder clearAllocatedBytes()
Total number of bytes allocated if known
int64 allocated_bytes = 2;public String getAllocatorName()
Name of the allocator used
string allocator_name = 3;getAllocatorName in interface AllocationDescriptionOrBuilderpublic org.nd4j.shade.protobuf.ByteString getAllocatorNameBytes()
Name of the allocator used
string allocator_name = 3;getAllocatorNameBytes in interface AllocationDescriptionOrBuilderpublic AllocationDescription.Builder setAllocatorName(String value)
Name of the allocator used
string allocator_name = 3;public AllocationDescription.Builder clearAllocatorName()
Name of the allocator used
string allocator_name = 3;public AllocationDescription.Builder setAllocatorNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the allocator used
string allocator_name = 3;public long getAllocationId()
Identifier of the allocated buffer if known
int64 allocation_id = 4;getAllocationId in interface AllocationDescriptionOrBuilderpublic AllocationDescription.Builder setAllocationId(long value)
Identifier of the allocated buffer if known
int64 allocation_id = 4;public AllocationDescription.Builder clearAllocationId()
Identifier of the allocated buffer if known
int64 allocation_id = 4;public boolean getHasSingleReference()
Set if this tensor only has one remaining reference
bool has_single_reference = 5;getHasSingleReference in interface AllocationDescriptionOrBuilderpublic AllocationDescription.Builder setHasSingleReference(boolean value)
Set if this tensor only has one remaining reference
bool has_single_reference = 5;public AllocationDescription.Builder clearHasSingleReference()
Set if this tensor only has one remaining reference
bool has_single_reference = 5;public long getPtr()
Address of the allocation.
uint64 ptr = 6;getPtr in interface AllocationDescriptionOrBuilderpublic AllocationDescription.Builder setPtr(long value)
Address of the allocation.
uint64 ptr = 6;public AllocationDescription.Builder clearPtr()
Address of the allocation.
uint64 ptr = 6;public final AllocationDescription.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildersetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocationDescription.Builder>public final AllocationDescription.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocationDescription.Builder>Copyright © 2021. All rights reserved.