Class MemoryLogRawDeallocation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<MemoryLogRawDeallocation.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
org.tensorflow.proto.MemoryLogRawDeallocation.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, MemoryLogRawDeallocationOrBuilder
- Enclosing class:
MemoryLogRawDeallocation
public static final class MemoryLogRawDeallocation.Builder
extends GeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
implements MemoryLogRawDeallocationOrBuilder
Protobuf type
tensorflow.MemoryLogRawDeallocation-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()Id of the tensor buffer being deallocated, used to match to a corresponding allocation.Name of the allocator used.True if the deallocation is queued and will be performed later, e.g. for GPU lazy freeing of buffers.Name of the operation making the deallocation.Process-unique step id.clone()longId of the tensor buffer being deallocated, used to match to a corresponding allocation.Name of the allocator used.Name of the allocator used.booleanTrue if the deallocation is queued and will be performed later, e.g. for GPU lazy freeing of buffers.static final Descriptors.DescriptorName of the operation making the deallocation.Name of the operation making the deallocation.longProcess-unique step id.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeUnknownFields(UnknownFieldSet unknownFields) 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.setDeferred(boolean value) True if the deallocation is queued and will be performed later, e.g. for GPU lazy freeing of buffers.setField(Descriptors.FieldDescriptor field, Object value) setOperation(String value) Name of the operation making the deallocation.setOperationBytes(ByteString value) Name of the operation making the deallocation.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setStepId(long value) Process-unique step id.setUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<MemoryLogRawDeallocation.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
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
setRepeatedField
public MemoryLogRawDeallocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
addRepeatedField
public MemoryLogRawDeallocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<MemoryLogRawDeallocation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
mergeFrom
public MemoryLogRawDeallocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<MemoryLogRawDeallocation.Builder>- Throws:
IOException
-
getStepId
public long getStepId()Process-unique step id.
int64 step_id = 1;- Specified by:
getStepIdin interfaceMemoryLogRawDeallocationOrBuilder- Returns:
- The stepId.
-
setStepId
Process-unique step id.
int64 step_id = 1;- Parameters:
value- The stepId to set.- Returns:
- This builder for chaining.
-
clearStepId
Process-unique step id.
int64 step_id = 1;- Returns:
- This builder for chaining.
-
getOperation
Name of the operation making the deallocation.
string operation = 2;- Specified by:
getOperationin interfaceMemoryLogRawDeallocationOrBuilder- Returns:
- The operation.
-
getOperationBytes
Name of the operation making the deallocation.
string operation = 2;- Specified by:
getOperationBytesin interfaceMemoryLogRawDeallocationOrBuilder- Returns:
- The bytes for operation.
-
setOperation
Name of the operation making the deallocation.
string operation = 2;- Parameters:
value- The operation to set.- Returns:
- This builder for chaining.
-
clearOperation
Name of the operation making the deallocation.
string operation = 2;- Returns:
- This builder for chaining.
-
setOperationBytes
Name of the operation making the deallocation.
string operation = 2;- Parameters:
value- The bytes for operation to set.- Returns:
- This builder for chaining.
-
getAllocationId
public long getAllocationId()Id of the tensor buffer being deallocated, used to match to a corresponding allocation.
int64 allocation_id = 3;- Specified by:
getAllocationIdin interfaceMemoryLogRawDeallocationOrBuilder- Returns:
- The allocationId.
-
setAllocationId
Id of the tensor buffer being deallocated, used to match to a corresponding allocation.
int64 allocation_id = 3;- 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 = 3;- Returns:
- This builder for chaining.
-
getAllocatorName
Name of the allocator used.
string allocator_name = 4;- Specified by:
getAllocatorNamein interfaceMemoryLogRawDeallocationOrBuilder- Returns:
- The allocatorName.
-
getAllocatorNameBytes
Name of the allocator used.
string allocator_name = 4;- Specified by:
getAllocatorNameBytesin interfaceMemoryLogRawDeallocationOrBuilder- Returns:
- The bytes for allocatorName.
-
setAllocatorName
Name of the allocator used.
string allocator_name = 4;- Parameters:
value- The allocatorName to set.- Returns:
- This builder for chaining.
-
clearAllocatorName
Name of the allocator used.
string allocator_name = 4;- Returns:
- This builder for chaining.
-
setAllocatorNameBytes
Name of the allocator used.
string allocator_name = 4;- Parameters:
value- The bytes for allocatorName to set.- Returns:
- This builder for chaining.
-
getDeferred
public boolean getDeferred()True if the deallocation is queued and will be performed later, e.g. for GPU lazy freeing of buffers.
bool deferred = 5;- Specified by:
getDeferredin interfaceMemoryLogRawDeallocationOrBuilder- Returns:
- The deferred.
-
setDeferred
True if the deallocation is queued and will be performed later, e.g. for GPU lazy freeing of buffers.
bool deferred = 5;- Parameters:
value- The deferred to set.- Returns:
- This builder for chaining.
-
clearDeferred
True if the deallocation is queued and will be performed later, e.g. for GPU lazy freeing of buffers.
bool deferred = 5;- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-