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, 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<AllocationDescription.Builder>
public AllocationDescription.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<AllocationDescription.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<AllocationDescription.Builder>
public AllocationDescription getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public AllocationDescription build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public AllocationDescription buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public AllocationDescription.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<AllocationDescription.Builder>
public AllocationDescription.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<AllocationDescription.Builder>
public AllocationDescription.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<AllocationDescription.Builder>
public AllocationDescription.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<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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface org.nd4j.shade.protobuf.MessageLite.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<AllocationDescription.Builder>
IOException
public long getRequestedBytes()
Total number of bytes requested
int64 requested_bytes = 1;
getRequestedBytes
in interface AllocationDescriptionOrBuilder
public 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 AllocationDescriptionOrBuilder
public 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 AllocationDescriptionOrBuilder
public org.nd4j.shade.protobuf.ByteString getAllocatorNameBytes()
Name of the allocator used
string allocator_name = 3;
getAllocatorNameBytes
in interface AllocationDescriptionOrBuilder
public 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 AllocationDescriptionOrBuilder
public 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 AllocationDescriptionOrBuilder
public 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 AllocationDescriptionOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AllocationDescription.Builder>
Copyright © 2020. All rights reserved.