public static final class AllocationDescription.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationDescription.Builder> implements AllocationDescriptionOrBuilder
tensorflow.AllocationDescription| Modifier and Type | Method and Description |
|---|---|
AllocationDescription.Builder |
addRepeatedField(com.github.os72.protobuf351.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(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
AllocationDescription.Builder |
clearHasSingleReference()
Set if this tensor only has one remaining reference
|
AllocationDescription.Builder |
clearOneof(com.github.os72.protobuf351.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
|
com.github.os72.protobuf351.ByteString |
getAllocatorNameBytes()
Name of the allocator used
|
AllocationDescription |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.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 com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AllocationDescription.Builder |
mergeFrom(AllocationDescription other) |
AllocationDescription.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
AllocationDescription.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
AllocationDescription.Builder |
mergeUnknownFields(com.github.os72.protobuf351.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(com.github.os72.protobuf351.ByteString value)
Name of the allocator used
|
AllocationDescription.Builder |
setField(com.github.os72.protobuf351.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(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
AllocationDescription.Builder |
setRequestedBytes(long value)
Total number of bytes requested
|
AllocationDescription.Builder |
setUnknownFields(com.github.os72.protobuf351.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 com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationDescription.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic AllocationDescription build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic AllocationDescription buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic AllocationDescription.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<AllocationDescription.Builder>public AllocationDescription.Builder mergeFrom(AllocationDescription other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationDescription.Builder>public AllocationDescription.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.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 com.github.os72.protobuf351.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(com.github.os72.protobuf351.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(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationDescription.Builder>public final AllocationDescription.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationDescription.Builder>Copyright © 2018. All rights reserved.