Package org.tensorflow.framework
Class MemoryLogRawAllocation.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
-
- org.tensorflow.framework.MemoryLogRawAllocation.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,MemoryLogRawAllocationOrBuilder
- Enclosing class:
- MemoryLogRawAllocation
public static final class MemoryLogRawAllocation.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder> implements MemoryLogRawAllocationOrBuilder
Protobuf typetensorflow.MemoryLogRawAllocation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MemoryLogRawAllocation.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)MemoryLogRawAllocationbuild()MemoryLogRawAllocationbuildPartial()MemoryLogRawAllocation.Builderclear()MemoryLogRawAllocation.BuilderclearAllocationId()Id of the tensor buffer being allocated, used to match to a corresponding deallocation.MemoryLogRawAllocation.BuilderclearAllocatorName()Name of the allocator used.MemoryLogRawAllocation.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)MemoryLogRawAllocation.BuilderclearNumBytes()Number of bytes in the allocation.MemoryLogRawAllocation.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)MemoryLogRawAllocation.BuilderclearOperation()Name of the operation making the allocation.MemoryLogRawAllocation.BuilderclearPtr()Address of the allocation.MemoryLogRawAllocation.BuilderclearStepId()Process-unique step id.MemoryLogRawAllocation.Builderclone()longgetAllocationId()Id of the tensor buffer being allocated, used to match to a corresponding deallocation.StringgetAllocatorName()Name of the allocator used.org.nd4j.shade.protobuf.ByteStringgetAllocatorNameBytes()Name of the allocator used.MemoryLogRawAllocationgetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetNumBytes()Number of bytes in the allocation.StringgetOperation()Name of the operation making the allocation.org.nd4j.shade.protobuf.ByteStringgetOperationBytes()Name of the operation making the allocation.longgetPtr()Address of the allocation.longgetStepId()Process-unique step id.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MemoryLogRawAllocation.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)MemoryLogRawAllocation.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)MemoryLogRawAllocation.BuildermergeFrom(MemoryLogRawAllocation other)MemoryLogRawAllocation.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)MemoryLogRawAllocation.BuildersetAllocationId(long value)Id of the tensor buffer being allocated, used to match to a corresponding deallocation.MemoryLogRawAllocation.BuildersetAllocatorName(String value)Name of the allocator used.MemoryLogRawAllocation.BuildersetAllocatorNameBytes(org.nd4j.shade.protobuf.ByteString value)Name of the allocator used.MemoryLogRawAllocation.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)MemoryLogRawAllocation.BuildersetNumBytes(long value)Number of bytes in the allocation.MemoryLogRawAllocation.BuildersetOperation(String value)Name of the operation making the allocation.MemoryLogRawAllocation.BuildersetOperationBytes(org.nd4j.shade.protobuf.ByteString value)Name of the operation making the allocation.MemoryLogRawAllocation.BuildersetPtr(long value)Address of the allocation.MemoryLogRawAllocation.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MemoryLogRawAllocation.BuildersetStepId(long value)Process-unique step id.MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
-
clear
public MemoryLogRawAllocation.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<MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
-
getDefaultInstanceForType
public MemoryLogRawAllocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public MemoryLogRawAllocation build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public MemoryLogRawAllocation buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
-
setField
public MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
-
clearField
public MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
-
clearOneof
public MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
-
setRepeatedField
public MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
-
addRepeatedField
public MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
-
mergeFrom
public MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
-
mergeFrom
public MemoryLogRawAllocation.Builder mergeFrom(MemoryLogRawAllocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
-
mergeFrom
public MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>- Throws:
IOException
-
getStepId
public long getStepId()
Process-unique step id.
int64 step_id = 1;- Specified by:
getStepIdin interfaceMemoryLogRawAllocationOrBuilder- Returns:
- The stepId.
-
setStepId
public MemoryLogRawAllocation.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 MemoryLogRawAllocation.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 allocation.
string operation = 2;- Specified by:
getOperationin interfaceMemoryLogRawAllocationOrBuilder- Returns:
- The operation.
-
getOperationBytes
public org.nd4j.shade.protobuf.ByteString getOperationBytes()
Name of the operation making the allocation.
string operation = 2;- Specified by:
getOperationBytesin interfaceMemoryLogRawAllocationOrBuilder- Returns:
- The bytes for operation.
-
setOperation
public MemoryLogRawAllocation.Builder setOperation(String value)
Name of the operation making the allocation.
string operation = 2;- Parameters:
value- The operation to set.- Returns:
- This builder for chaining.
-
clearOperation
public MemoryLogRawAllocation.Builder clearOperation()
Name of the operation making the allocation.
string operation = 2;- Returns:
- This builder for chaining.
-
setOperationBytes
public MemoryLogRawAllocation.Builder setOperationBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the operation making the allocation.
string operation = 2;- Parameters:
value- The bytes for operation to set.- Returns:
- This builder for chaining.
-
getNumBytes
public long getNumBytes()
Number of bytes in the allocation.
int64 num_bytes = 3;- Specified by:
getNumBytesin interfaceMemoryLogRawAllocationOrBuilder- Returns:
- The numBytes.
-
setNumBytes
public MemoryLogRawAllocation.Builder setNumBytes(long value)
Number of bytes in the allocation.
int64 num_bytes = 3;- Parameters:
value- The numBytes to set.- Returns:
- This builder for chaining.
-
clearNumBytes
public MemoryLogRawAllocation.Builder clearNumBytes()
Number of bytes in the allocation.
int64 num_bytes = 3;- Returns:
- This builder for chaining.
-
getPtr
public long getPtr()
Address of the allocation.
uint64 ptr = 4;- Specified by:
getPtrin interfaceMemoryLogRawAllocationOrBuilder- Returns:
- The ptr.
-
setPtr
public MemoryLogRawAllocation.Builder setPtr(long value)
Address of the allocation.
uint64 ptr = 4;- Parameters:
value- The ptr to set.- Returns:
- This builder for chaining.
-
clearPtr
public MemoryLogRawAllocation.Builder clearPtr()
Address of the allocation.
uint64 ptr = 4;- Returns:
- This builder for chaining.
-
getAllocationId
public long getAllocationId()
Id of the tensor buffer being allocated, used to match to a corresponding deallocation.
int64 allocation_id = 5;- Specified by:
getAllocationIdin interfaceMemoryLogRawAllocationOrBuilder- Returns:
- The allocationId.
-
setAllocationId
public MemoryLogRawAllocation.Builder setAllocationId(long value)
Id of the tensor buffer being allocated, used to match to a corresponding deallocation.
int64 allocation_id = 5;- Parameters:
value- The allocationId to set.- Returns:
- This builder for chaining.
-
clearAllocationId
public MemoryLogRawAllocation.Builder clearAllocationId()
Id of the tensor buffer being allocated, used to match to a corresponding deallocation.
int64 allocation_id = 5;- Returns:
- This builder for chaining.
-
getAllocatorName
public String getAllocatorName()
Name of the allocator used.
string allocator_name = 6;- Specified by:
getAllocatorNamein interfaceMemoryLogRawAllocationOrBuilder- Returns:
- The allocatorName.
-
getAllocatorNameBytes
public org.nd4j.shade.protobuf.ByteString getAllocatorNameBytes()
Name of the allocator used.
string allocator_name = 6;- Specified by:
getAllocatorNameBytesin interfaceMemoryLogRawAllocationOrBuilder- Returns:
- The bytes for allocatorName.
-
setAllocatorName
public MemoryLogRawAllocation.Builder setAllocatorName(String value)
Name of the allocator used.
string allocator_name = 6;- Parameters:
value- The allocatorName to set.- Returns:
- This builder for chaining.
-
clearAllocatorName
public MemoryLogRawAllocation.Builder clearAllocatorName()
Name of the allocator used.
string allocator_name = 6;- Returns:
- This builder for chaining.
-
setAllocatorNameBytes
public MemoryLogRawAllocation.Builder setAllocatorNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the allocator used.
string allocator_name = 6;- Parameters:
value- The bytes for allocatorName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
-
mergeUnknownFields
public final MemoryLogRawAllocation.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<MemoryLogRawAllocation.Builder>
-
-