Package org.platanios.tensorflow.proto
Class MemoryLogRawAllocation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
-
- org.platanios.tensorflow.proto.MemoryLogRawAllocation.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,MemoryLogRawAllocationOrBuilder
- Enclosing class:
- MemoryLogRawAllocation
public static final class MemoryLogRawAllocation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder> implements MemoryLogRawAllocationOrBuilder
Protobuf typeorg.platanios.tensorflow.proto.MemoryLogRawAllocation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MemoryLogRawAllocation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
MemoryLogRawAllocation
build()
MemoryLogRawAllocation
buildPartial()
MemoryLogRawAllocation.Builder
clear()
MemoryLogRawAllocation.Builder
clearAllocationId()
Id of the tensor buffer being allocated, used to match to a corresponding deallocation.MemoryLogRawAllocation.Builder
clearAllocatorName()
Name of the allocator used.MemoryLogRawAllocation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
MemoryLogRawAllocation.Builder
clearNumBytes()
Number of bytes in the allocation.MemoryLogRawAllocation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MemoryLogRawAllocation.Builder
clearOperation()
Name of the operation making the allocation.MemoryLogRawAllocation.Builder
clearPtr()
Address of the allocation.MemoryLogRawAllocation.Builder
clearStepId()
Process-unique step id.MemoryLogRawAllocation.Builder
clone()
long
getAllocationId()
Id of the tensor buffer being allocated, used to match to a corresponding deallocation.java.lang.String
getAllocatorName()
Name of the allocator used.com.google.protobuf.ByteString
getAllocatorNameBytes()
Name of the allocator used.MemoryLogRawAllocation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getNumBytes()
Number of bytes in the allocation.java.lang.String
getOperation()
Name of the operation making the allocation.com.google.protobuf.ByteString
getOperationBytes()
Name of the operation making the allocation.long
getPtr()
Address of the allocation.long
getStepId()
Process-unique step id.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
MemoryLogRawAllocation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MemoryLogRawAllocation.Builder
mergeFrom(com.google.protobuf.Message other)
MemoryLogRawAllocation.Builder
mergeFrom(MemoryLogRawAllocation other)
MemoryLogRawAllocation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MemoryLogRawAllocation.Builder
setAllocationId(long value)
Id of the tensor buffer being allocated, used to match to a corresponding deallocation.MemoryLogRawAllocation.Builder
setAllocatorName(java.lang.String value)
Name of the allocator used.MemoryLogRawAllocation.Builder
setAllocatorNameBytes(com.google.protobuf.ByteString value)
Name of the allocator used.MemoryLogRawAllocation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
MemoryLogRawAllocation.Builder
setNumBytes(long value)
Number of bytes in the allocation.MemoryLogRawAllocation.Builder
setOperation(java.lang.String value)
Name of the operation making the allocation.MemoryLogRawAllocation.Builder
setOperationBytes(com.google.protobuf.ByteString value)
Name of the operation making the allocation.MemoryLogRawAllocation.Builder
setPtr(long value)
Address of the allocation.MemoryLogRawAllocation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
MemoryLogRawAllocation.Builder
setStepId(long value)
Process-unique step id.MemoryLogRawAllocation.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.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 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
-
clear
public MemoryLogRawAllocation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
-
getDefaultInstanceForType
public MemoryLogRawAllocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public MemoryLogRawAllocation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MemoryLogRawAllocation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MemoryLogRawAllocation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
-
setField
public MemoryLogRawAllocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
-
clearField
public MemoryLogRawAllocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
-
clearOneof
public MemoryLogRawAllocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
-
setRepeatedField
public MemoryLogRawAllocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
-
addRepeatedField
public MemoryLogRawAllocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
-
mergeFrom
public MemoryLogRawAllocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MemoryLogRawAllocation.Builder>
-
mergeFrom
public MemoryLogRawAllocation.Builder mergeFrom(MemoryLogRawAllocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
-
mergeFrom
public MemoryLogRawAllocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MemoryLogRawAllocation.Builder>
- Throws:
java.io.IOException
-
getStepId
public long getStepId()
Process-unique step id.
int64 step_id = 1;
- Specified by:
getStepId
in 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 java.lang.String getOperation()
Name of the operation making the allocation.
string operation = 2;
- Specified by:
getOperation
in interfaceMemoryLogRawAllocationOrBuilder
- Returns:
- The operation.
-
getOperationBytes
public com.google.protobuf.ByteString getOperationBytes()
Name of the operation making the allocation.
string operation = 2;
- Specified by:
getOperationBytes
in interfaceMemoryLogRawAllocationOrBuilder
- Returns:
- The bytes for operation.
-
setOperation
public MemoryLogRawAllocation.Builder setOperation(java.lang.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(com.google.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:
getNumBytes
in 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:
getPtr
in 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:
getAllocationId
in 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 java.lang.String getAllocatorName()
Name of the allocator used.
string allocator_name = 6;
- Specified by:
getAllocatorName
in interfaceMemoryLogRawAllocationOrBuilder
- Returns:
- The allocatorName.
-
getAllocatorNameBytes
public com.google.protobuf.ByteString getAllocatorNameBytes()
Name of the allocator used.
string allocator_name = 6;
- Specified by:
getAllocatorNameBytes
in interfaceMemoryLogRawAllocationOrBuilder
- Returns:
- The bytes for allocatorName.
-
setAllocatorName
public MemoryLogRawAllocation.Builder setAllocatorName(java.lang.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(com.google.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(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
-
mergeUnknownFields
public final MemoryLogRawAllocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MemoryLogRawAllocation.Builder>
-
-