Package org.tensorflow.framework
Class MemoryLogRawDeallocation.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
- org.tensorflow.framework.MemoryLogRawDeallocation.Builder
-
- All Implemented Interfaces:
Cloneable
,org.nd4j.shade.protobuf.Message.Builder
,org.nd4j.shade.protobuf.MessageLite.Builder
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
,MemoryLogRawDeallocationOrBuilder
- Enclosing class:
- MemoryLogRawDeallocation
public static final class MemoryLogRawDeallocation.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder> implements MemoryLogRawDeallocationOrBuilder
Protobuf typetensorflow.MemoryLogRawDeallocation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MemoryLogRawDeallocation.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
MemoryLogRawDeallocation
build()
MemoryLogRawDeallocation
buildPartial()
MemoryLogRawDeallocation.Builder
clear()
MemoryLogRawDeallocation.Builder
clearAllocationId()
Id of the tensor buffer being deallocated, used to match to a corresponding allocation.MemoryLogRawDeallocation.Builder
clearAllocatorName()
Name of the allocator used.MemoryLogRawDeallocation.Builder
clearDeferred()
True if the deallocation is queued and will be performed later, e.g.MemoryLogRawDeallocation.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
MemoryLogRawDeallocation.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
MemoryLogRawDeallocation.Builder
clearOperation()
Name of the operation making the deallocation.MemoryLogRawDeallocation.Builder
clearStepId()
Process-unique step id.MemoryLogRawDeallocation.Builder
clone()
long
getAllocationId()
Id of the tensor buffer being deallocated, used to match to a corresponding allocation.String
getAllocatorName()
Name of the allocator used.org.nd4j.shade.protobuf.ByteString
getAllocatorNameBytes()
Name of the allocator used.MemoryLogRawDeallocation
getDefaultInstanceForType()
boolean
getDeferred()
True if the deallocation is queued and will be performed later, e.g.static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getOperation()
Name of the operation making the deallocation.org.nd4j.shade.protobuf.ByteString
getOperationBytes()
Name of the operation making the deallocation.long
getStepId()
Process-unique step id.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
MemoryLogRawDeallocation.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
MemoryLogRawDeallocation.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
MemoryLogRawDeallocation.Builder
mergeFrom(MemoryLogRawDeallocation other)
MemoryLogRawDeallocation.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
MemoryLogRawDeallocation.Builder
setAllocationId(long value)
Id of the tensor buffer being deallocated, used to match to a corresponding allocation.MemoryLogRawDeallocation.Builder
setAllocatorName(String value)
Name of the allocator used.MemoryLogRawDeallocation.Builder
setAllocatorNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the allocator used.MemoryLogRawDeallocation.Builder
setDeferred(boolean value)
True if the deallocation is queued and will be performed later, e.g.MemoryLogRawDeallocation.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
MemoryLogRawDeallocation.Builder
setOperation(String value)
Name of the operation making the deallocation.MemoryLogRawDeallocation.Builder
setOperationBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the operation making the deallocation.MemoryLogRawDeallocation.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
MemoryLogRawDeallocation.Builder
setStepId(long value)
Process-unique step id.MemoryLogRawDeallocation.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
clear
public MemoryLogRawDeallocation.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
getDefaultInstanceForType
public MemoryLogRawDeallocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public MemoryLogRawDeallocation build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public MemoryLogRawDeallocation buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public MemoryLogRawDeallocation.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
setField
public MemoryLogRawDeallocation.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
clearField
public MemoryLogRawDeallocation.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
clearOneof
public MemoryLogRawDeallocation.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
setRepeatedField
public MemoryLogRawDeallocation.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
addRepeatedField
public MemoryLogRawDeallocation.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
mergeFrom
public MemoryLogRawDeallocation.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<MemoryLogRawDeallocation.Builder>
-
mergeFrom
public MemoryLogRawDeallocation.Builder mergeFrom(MemoryLogRawDeallocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
mergeFrom
public MemoryLogRawDeallocation.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<MemoryLogRawDeallocation.Builder>
- Throws:
IOException
-
getStepId
public long getStepId()
Process-unique step id.
int64 step_id = 1;
- Specified by:
getStepId
in interfaceMemoryLogRawDeallocationOrBuilder
- Returns:
- The stepId.
-
setStepId
public MemoryLogRawDeallocation.Builder setStepId(long value)
Process-unique step id.
int64 step_id = 1;
- Parameters:
value
- The stepId to set.- Returns:
- This builder for chaining.
-
clearStepId
public MemoryLogRawDeallocation.Builder clearStepId()
Process-unique step id.
int64 step_id = 1;
- Returns:
- This builder for chaining.
-
getOperation
public String getOperation()
Name of the operation making the deallocation.
string operation = 2;
- Specified by:
getOperation
in interfaceMemoryLogRawDeallocationOrBuilder
- Returns:
- The operation.
-
getOperationBytes
public org.nd4j.shade.protobuf.ByteString getOperationBytes()
Name of the operation making the deallocation.
string operation = 2;
- Specified by:
getOperationBytes
in interfaceMemoryLogRawDeallocationOrBuilder
- Returns:
- The bytes for operation.
-
setOperation
public MemoryLogRawDeallocation.Builder setOperation(String value)
Name of the operation making the deallocation.
string operation = 2;
- Parameters:
value
- The operation to set.- Returns:
- This builder for chaining.
-
clearOperation
public MemoryLogRawDeallocation.Builder clearOperation()
Name of the operation making the deallocation.
string operation = 2;
- Returns:
- This builder for chaining.
-
setOperationBytes
public MemoryLogRawDeallocation.Builder setOperationBytes(org.nd4j.shade.protobuf.ByteString value)
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:
getAllocationId
in interfaceMemoryLogRawDeallocationOrBuilder
- Returns:
- The allocationId.
-
setAllocationId
public MemoryLogRawDeallocation.Builder setAllocationId(long value)
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
public MemoryLogRawDeallocation.Builder 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
public String getAllocatorName()
Name of the allocator used.
string allocator_name = 4;
- Specified by:
getAllocatorName
in interfaceMemoryLogRawDeallocationOrBuilder
- Returns:
- The allocatorName.
-
getAllocatorNameBytes
public org.nd4j.shade.protobuf.ByteString getAllocatorNameBytes()
Name of the allocator used.
string allocator_name = 4;
- Specified by:
getAllocatorNameBytes
in interfaceMemoryLogRawDeallocationOrBuilder
- Returns:
- The bytes for allocatorName.
-
setAllocatorName
public MemoryLogRawDeallocation.Builder setAllocatorName(String value)
Name of the allocator used.
string allocator_name = 4;
- Parameters:
value
- The allocatorName to set.- Returns:
- This builder for chaining.
-
clearAllocatorName
public MemoryLogRawDeallocation.Builder clearAllocatorName()
Name of the allocator used.
string allocator_name = 4;
- Returns:
- This builder for chaining.
-
setAllocatorNameBytes
public MemoryLogRawDeallocation.Builder setAllocatorNameBytes(org.nd4j.shade.protobuf.ByteString value)
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:
getDeferred
in interfaceMemoryLogRawDeallocationOrBuilder
- Returns:
- The deferred.
-
setDeferred
public MemoryLogRawDeallocation.Builder setDeferred(boolean value)
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
public MemoryLogRawDeallocation.Builder 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
public final MemoryLogRawDeallocation.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
mergeUnknownFields
public final MemoryLogRawDeallocation.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawDeallocation.Builder>
-
-