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, 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 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.Builder
clear
in interface com.github.os72.protobuf351.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface com.github.os72.protobuf351.MessageOrBuilder
getDescriptorForType
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationDescription.Builder>
public AllocationDescription getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
public AllocationDescription build()
build
in interface com.github.os72.protobuf351.Message.Builder
build
in interface com.github.os72.protobuf351.MessageLite.Builder
public AllocationDescription buildPartial()
buildPartial
in interface com.github.os72.protobuf351.Message.Builder
buildPartial
in interface com.github.os72.protobuf351.MessageLite.Builder
public AllocationDescription.Builder clone()
clone
in interface com.github.os72.protobuf351.Message.Builder
clone
in interface com.github.os72.protobuf351.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.github.os72.protobuf351.MessageLite.Builder
mergeFrom
in class com.github.os72.protobuf351.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 com.github.os72.protobuf351.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(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 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(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.github.os72.protobuf351.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationDescription.Builder>
Copyright © 2018. All rights reserved.