Class MemoryLogTensorDeallocation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<MemoryLogTensorDeallocation.Builder>
com.google.protobuf.GeneratedMessage.Builder<MemoryLogTensorDeallocation.Builder>
org.tensorflow.proto.MemoryLogTensorDeallocation.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, MemoryLogTensorDeallocationOrBuilder
- Enclosing class:
MemoryLogTensorDeallocation
public static final class MemoryLogTensorDeallocation.Builder
extends GeneratedMessage.Builder<MemoryLogTensorDeallocation.Builder>
implements MemoryLogTensorDeallocationOrBuilder
Protobuf type
tensorflow.MemoryLogTensorDeallocation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Id of the tensor buffer being deallocated, used to match to a corresponding allocation.Name of the allocator used.longId of the tensor buffer being deallocated, used to match to a corresponding allocation.Name of the allocator used.Name of the allocator used.static final Descriptors.Descriptorprotected GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) setAllocationId(long value) Id of the tensor buffer being deallocated, used to match to a corresponding allocation.setAllocatorName(String value) Name of the allocator used.setAllocatorNameBytes(ByteString value) Name of the allocator used.Methods inherited from class GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage.Builder<MemoryLogTensorDeallocation.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessage.Builder<MemoryLogTensorDeallocation.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessage.Builder<MemoryLogTensorDeallocation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<MemoryLogTensorDeallocation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage.Builder<MemoryLogTensorDeallocation.Builder>
-
mergeFrom
public MemoryLogTensorDeallocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<MemoryLogTensorDeallocation.Builder>- Throws:
IOException
-
getAllocationId
public long getAllocationId()Id of the tensor buffer being deallocated, used to match to a corresponding allocation.
int64 allocation_id = 1;- Specified by:
getAllocationIdin interfaceMemoryLogTensorDeallocationOrBuilder- Returns:
- The allocationId.
-
setAllocationId
Id of the tensor buffer being deallocated, used to match to a corresponding allocation.
int64 allocation_id = 1;- Parameters:
value- The allocationId to set.- Returns:
- This builder for chaining.
-
clearAllocationId
Id of the tensor buffer being deallocated, used to match to a corresponding allocation.
int64 allocation_id = 1;- Returns:
- This builder for chaining.
-
getAllocatorName
Name of the allocator used.
string allocator_name = 2;- Specified by:
getAllocatorNamein interfaceMemoryLogTensorDeallocationOrBuilder- Returns:
- The allocatorName.
-
getAllocatorNameBytes
Name of the allocator used.
string allocator_name = 2;- Specified by:
getAllocatorNameBytesin interfaceMemoryLogTensorDeallocationOrBuilder- Returns:
- The bytes for allocatorName.
-
setAllocatorName
Name of the allocator used.
string allocator_name = 2;- Parameters:
value- The allocatorName to set.- Returns:
- This builder for chaining.
-
clearAllocatorName
Name of the allocator used.
string allocator_name = 2;- Returns:
- This builder for chaining.
-
setAllocatorNameBytes
Name of the allocator used.
string allocator_name = 2;- Parameters:
value- The bytes for allocatorName to set.- Returns:
- This builder for chaining.
-