Package org.tensorflow.framework
Class MemoryLogTensorDeallocation.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
-
- org.tensorflow.framework.MemoryLogTensorDeallocation.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,MemoryLogTensorDeallocationOrBuilder
- Enclosing class:
- MemoryLogTensorDeallocation
public static final class MemoryLogTensorDeallocation.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder> implements MemoryLogTensorDeallocationOrBuilder
Protobuf typetensorflow.MemoryLogTensorDeallocation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MemoryLogTensorDeallocation.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)MemoryLogTensorDeallocationbuild()MemoryLogTensorDeallocationbuildPartial()MemoryLogTensorDeallocation.Builderclear()MemoryLogTensorDeallocation.BuilderclearAllocationId()Id of the tensor buffer being deallocated, used to match to a corresponding allocation.MemoryLogTensorDeallocation.BuilderclearAllocatorName()Name of the allocator used.MemoryLogTensorDeallocation.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)MemoryLogTensorDeallocation.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)MemoryLogTensorDeallocation.Builderclone()longgetAllocationId()Id of the tensor buffer being deallocated, used to match to a corresponding allocation.StringgetAllocatorName()Name of the allocator used.org.nd4j.shade.protobuf.ByteStringgetAllocatorNameBytes()Name of the allocator used.MemoryLogTensorDeallocationgetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MemoryLogTensorDeallocation.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)MemoryLogTensorDeallocation.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)MemoryLogTensorDeallocation.BuildermergeFrom(MemoryLogTensorDeallocation other)MemoryLogTensorDeallocation.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)MemoryLogTensorDeallocation.BuildersetAllocationId(long value)Id of the tensor buffer being deallocated, used to match to a corresponding allocation.MemoryLogTensorDeallocation.BuildersetAllocatorName(String value)Name of the allocator used.MemoryLogTensorDeallocation.BuildersetAllocatorNameBytes(org.nd4j.shade.protobuf.ByteString value)Name of the allocator used.MemoryLogTensorDeallocation.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)MemoryLogTensorDeallocation.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MemoryLogTensorDeallocation.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
-
clear
public MemoryLogTensorDeallocation.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
-
getDefaultInstanceForType
public MemoryLogTensorDeallocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public MemoryLogTensorDeallocation build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public MemoryLogTensorDeallocation buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public MemoryLogTensorDeallocation.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
-
setField
public MemoryLogTensorDeallocation.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
-
clearField
public MemoryLogTensorDeallocation.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
-
clearOneof
public MemoryLogTensorDeallocation.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
-
setRepeatedField
public MemoryLogTensorDeallocation.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
-
addRepeatedField
public MemoryLogTensorDeallocation.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
-
mergeFrom
public MemoryLogTensorDeallocation.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<MemoryLogTensorDeallocation.Builder>
-
mergeFrom
public MemoryLogTensorDeallocation.Builder mergeFrom(MemoryLogTensorDeallocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
-
mergeFrom
public MemoryLogTensorDeallocation.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.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
public MemoryLogTensorDeallocation.Builder setAllocationId(long value)
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
public MemoryLogTensorDeallocation.Builder 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
public String getAllocatorName()
Name of the allocator used.
string allocator_name = 2;- Specified by:
getAllocatorNamein interfaceMemoryLogTensorDeallocationOrBuilder- Returns:
- The allocatorName.
-
getAllocatorNameBytes
public org.nd4j.shade.protobuf.ByteString getAllocatorNameBytes()
Name of the allocator used.
string allocator_name = 2;- Specified by:
getAllocatorNameBytesin interfaceMemoryLogTensorDeallocationOrBuilder- Returns:
- The bytes for allocatorName.
-
setAllocatorName
public MemoryLogTensorDeallocation.Builder setAllocatorName(String value)
Name of the allocator used.
string allocator_name = 2;- Parameters:
value- The allocatorName to set.- Returns:
- This builder for chaining.
-
clearAllocatorName
public MemoryLogTensorDeallocation.Builder clearAllocatorName()
Name of the allocator used.
string allocator_name = 2;- Returns:
- This builder for chaining.
-
setAllocatorNameBytes
public MemoryLogTensorDeallocation.Builder setAllocatorNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the allocator used.
string allocator_name = 2;- Parameters:
value- The bytes for allocatorName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final MemoryLogTensorDeallocation.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
-
mergeUnknownFields
public final MemoryLogTensorDeallocation.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogTensorDeallocation.Builder>
-
-