Package org.platanios.tensorflow.proto
Class AllocatorMemoryUsed.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
- org.platanios.tensorflow.proto.AllocatorMemoryUsed.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
,AllocatorMemoryUsedOrBuilder
- Enclosing class:
- AllocatorMemoryUsed
public static final class AllocatorMemoryUsed.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder> implements AllocatorMemoryUsedOrBuilder
Protobuf typeorg.platanios.tensorflow.proto.AllocatorMemoryUsed
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AllocatorMemoryUsed.Builder
addAllAllocationRecords(java.lang.Iterable<? extends AllocationRecord> values)
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
addAllocationRecords(int index, AllocationRecord value)
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
addAllocationRecords(int index, AllocationRecord.Builder builderForValue)
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
addAllocationRecords(AllocationRecord value)
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
addAllocationRecords(AllocationRecord.Builder builderForValue)
The allocation and deallocation timeline.AllocationRecord.Builder
addAllocationRecordsBuilder()
The allocation and deallocation timeline.AllocationRecord.Builder
addAllocationRecordsBuilder(int index)
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AllocatorMemoryUsed
build()
AllocatorMemoryUsed
buildPartial()
AllocatorMemoryUsed.Builder
clear()
AllocatorMemoryUsed.Builder
clearAllocationRecords()
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
clearAllocatorBytesInUse()
These are snapshots of the overall allocator memory stats.AllocatorMemoryUsed.Builder
clearAllocatorName()
string allocator_name = 1;
AllocatorMemoryUsed.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AllocatorMemoryUsed.Builder
clearLiveBytes()
The bytes that are not deallocated.AllocatorMemoryUsed.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AllocatorMemoryUsed.Builder
clearPeakBytes()
int64 peak_bytes = 3;
AllocatorMemoryUsed.Builder
clearTotalBytes()
These are per-node allocator memory stats.AllocatorMemoryUsed.Builder
clone()
AllocationRecord
getAllocationRecords(int index)
The allocation and deallocation timeline.AllocationRecord.Builder
getAllocationRecordsBuilder(int index)
The allocation and deallocation timeline.java.util.List<AllocationRecord.Builder>
getAllocationRecordsBuilderList()
The allocation and deallocation timeline.int
getAllocationRecordsCount()
The allocation and deallocation timeline.java.util.List<AllocationRecord>
getAllocationRecordsList()
The allocation and deallocation timeline.AllocationRecordOrBuilder
getAllocationRecordsOrBuilder(int index)
The allocation and deallocation timeline.java.util.List<? extends AllocationRecordOrBuilder>
getAllocationRecordsOrBuilderList()
The allocation and deallocation timeline.long
getAllocatorBytesInUse()
These are snapshots of the overall allocator memory stats.java.lang.String
getAllocatorName()
string allocator_name = 1;
com.google.protobuf.ByteString
getAllocatorNameBytes()
string allocator_name = 1;
AllocatorMemoryUsed
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getLiveBytes()
The bytes that are not deallocated.long
getPeakBytes()
int64 peak_bytes = 3;
long
getTotalBytes()
These are per-node allocator memory stats.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AllocatorMemoryUsed.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AllocatorMemoryUsed.Builder
mergeFrom(com.google.protobuf.Message other)
AllocatorMemoryUsed.Builder
mergeFrom(AllocatorMemoryUsed other)
AllocatorMemoryUsed.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AllocatorMemoryUsed.Builder
removeAllocationRecords(int index)
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
setAllocationRecords(int index, AllocationRecord value)
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
setAllocationRecords(int index, AllocationRecord.Builder builderForValue)
The allocation and deallocation timeline.AllocatorMemoryUsed.Builder
setAllocatorBytesInUse(long value)
These are snapshots of the overall allocator memory stats.AllocatorMemoryUsed.Builder
setAllocatorName(java.lang.String value)
string allocator_name = 1;
AllocatorMemoryUsed.Builder
setAllocatorNameBytes(com.google.protobuf.ByteString value)
string allocator_name = 1;
AllocatorMemoryUsed.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AllocatorMemoryUsed.Builder
setLiveBytes(long value)
The bytes that are not deallocated.AllocatorMemoryUsed.Builder
setPeakBytes(long value)
int64 peak_bytes = 3;
AllocatorMemoryUsed.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
AllocatorMemoryUsed.Builder
setTotalBytes(long value)
These are per-node allocator memory stats.AllocatorMemoryUsed.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<AllocatorMemoryUsed.Builder>
-
clear
public AllocatorMemoryUsed.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<AllocatorMemoryUsed.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<AllocatorMemoryUsed.Builder>
-
getDefaultInstanceForType
public AllocatorMemoryUsed getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AllocatorMemoryUsed build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AllocatorMemoryUsed buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AllocatorMemoryUsed.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<AllocatorMemoryUsed.Builder>
-
setField
public AllocatorMemoryUsed.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<AllocatorMemoryUsed.Builder>
-
clearField
public AllocatorMemoryUsed.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<AllocatorMemoryUsed.Builder>
-
clearOneof
public AllocatorMemoryUsed.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<AllocatorMemoryUsed.Builder>
-
setRepeatedField
public AllocatorMemoryUsed.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<AllocatorMemoryUsed.Builder>
-
addRepeatedField
public AllocatorMemoryUsed.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<AllocatorMemoryUsed.Builder>
-
mergeFrom
public AllocatorMemoryUsed.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AllocatorMemoryUsed.Builder>
-
mergeFrom
public AllocatorMemoryUsed.Builder mergeFrom(AllocatorMemoryUsed other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
mergeFrom
public AllocatorMemoryUsed.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<AllocatorMemoryUsed.Builder>
- Throws:
java.io.IOException
-
getAllocatorName
public java.lang.String getAllocatorName()
string allocator_name = 1;
- Specified by:
getAllocatorName
in interfaceAllocatorMemoryUsedOrBuilder
- Returns:
- The allocatorName.
-
getAllocatorNameBytes
public com.google.protobuf.ByteString getAllocatorNameBytes()
string allocator_name = 1;
- Specified by:
getAllocatorNameBytes
in interfaceAllocatorMemoryUsedOrBuilder
- Returns:
- The bytes for allocatorName.
-
setAllocatorName
public AllocatorMemoryUsed.Builder setAllocatorName(java.lang.String value)
string allocator_name = 1;
- Parameters:
value
- The allocatorName to set.- Returns:
- This builder for chaining.
-
clearAllocatorName
public AllocatorMemoryUsed.Builder clearAllocatorName()
string allocator_name = 1;
- Returns:
- This builder for chaining.
-
setAllocatorNameBytes
public AllocatorMemoryUsed.Builder setAllocatorNameBytes(com.google.protobuf.ByteString value)
string allocator_name = 1;
- Parameters:
value
- The bytes for allocatorName to set.- Returns:
- This builder for chaining.
-
getTotalBytes
public long getTotalBytes()
These are per-node allocator memory stats.
int64 total_bytes = 2;
- Specified by:
getTotalBytes
in interfaceAllocatorMemoryUsedOrBuilder
- Returns:
- The totalBytes.
-
setTotalBytes
public AllocatorMemoryUsed.Builder setTotalBytes(long value)
These are per-node allocator memory stats.
int64 total_bytes = 2;
- Parameters:
value
- The totalBytes to set.- Returns:
- This builder for chaining.
-
clearTotalBytes
public AllocatorMemoryUsed.Builder clearTotalBytes()
These are per-node allocator memory stats.
int64 total_bytes = 2;
- Returns:
- This builder for chaining.
-
getPeakBytes
public long getPeakBytes()
int64 peak_bytes = 3;
- Specified by:
getPeakBytes
in interfaceAllocatorMemoryUsedOrBuilder
- Returns:
- The peakBytes.
-
setPeakBytes
public AllocatorMemoryUsed.Builder setPeakBytes(long value)
int64 peak_bytes = 3;
- Parameters:
value
- The peakBytes to set.- Returns:
- This builder for chaining.
-
clearPeakBytes
public AllocatorMemoryUsed.Builder clearPeakBytes()
int64 peak_bytes = 3;
- Returns:
- This builder for chaining.
-
getLiveBytes
public long getLiveBytes()
The bytes that are not deallocated.
int64 live_bytes = 4;
- Specified by:
getLiveBytes
in interfaceAllocatorMemoryUsedOrBuilder
- Returns:
- The liveBytes.
-
setLiveBytes
public AllocatorMemoryUsed.Builder setLiveBytes(long value)
The bytes that are not deallocated.
int64 live_bytes = 4;
- Parameters:
value
- The liveBytes to set.- Returns:
- This builder for chaining.
-
clearLiveBytes
public AllocatorMemoryUsed.Builder clearLiveBytes()
The bytes that are not deallocated.
int64 live_bytes = 4;
- Returns:
- This builder for chaining.
-
getAllocationRecordsList
public java.util.List<AllocationRecord> getAllocationRecordsList()
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
- Specified by:
getAllocationRecordsList
in interfaceAllocatorMemoryUsedOrBuilder
-
getAllocationRecordsCount
public int getAllocationRecordsCount()
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
- Specified by:
getAllocationRecordsCount
in interfaceAllocatorMemoryUsedOrBuilder
-
getAllocationRecords
public AllocationRecord getAllocationRecords(int index)
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
- Specified by:
getAllocationRecords
in interfaceAllocatorMemoryUsedOrBuilder
-
setAllocationRecords
public AllocatorMemoryUsed.Builder setAllocationRecords(int index, AllocationRecord value)
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
setAllocationRecords
public AllocatorMemoryUsed.Builder setAllocationRecords(int index, AllocationRecord.Builder builderForValue)
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
addAllocationRecords
public AllocatorMemoryUsed.Builder addAllocationRecords(AllocationRecord value)
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
addAllocationRecords
public AllocatorMemoryUsed.Builder addAllocationRecords(int index, AllocationRecord value)
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
addAllocationRecords
public AllocatorMemoryUsed.Builder addAllocationRecords(AllocationRecord.Builder builderForValue)
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
addAllocationRecords
public AllocatorMemoryUsed.Builder addAllocationRecords(int index, AllocationRecord.Builder builderForValue)
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
addAllAllocationRecords
public AllocatorMemoryUsed.Builder addAllAllocationRecords(java.lang.Iterable<? extends AllocationRecord> values)
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
clearAllocationRecords
public AllocatorMemoryUsed.Builder clearAllocationRecords()
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
removeAllocationRecords
public AllocatorMemoryUsed.Builder removeAllocationRecords(int index)
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
getAllocationRecordsBuilder
public AllocationRecord.Builder getAllocationRecordsBuilder(int index)
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
getAllocationRecordsOrBuilder
public AllocationRecordOrBuilder getAllocationRecordsOrBuilder(int index)
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
- Specified by:
getAllocationRecordsOrBuilder
in interfaceAllocatorMemoryUsedOrBuilder
-
getAllocationRecordsOrBuilderList
public java.util.List<? extends AllocationRecordOrBuilder> getAllocationRecordsOrBuilderList()
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
- Specified by:
getAllocationRecordsOrBuilderList
in interfaceAllocatorMemoryUsedOrBuilder
-
addAllocationRecordsBuilder
public AllocationRecord.Builder addAllocationRecordsBuilder()
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
addAllocationRecordsBuilder
public AllocationRecord.Builder addAllocationRecordsBuilder(int index)
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
getAllocationRecordsBuilderList
public java.util.List<AllocationRecord.Builder> getAllocationRecordsBuilderList()
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
getAllocatorBytesInUse
public long getAllocatorBytesInUse()
These are snapshots of the overall allocator memory stats. The number of live bytes currently allocated by the allocator.
int64 allocator_bytes_in_use = 5;
- Specified by:
getAllocatorBytesInUse
in interfaceAllocatorMemoryUsedOrBuilder
- Returns:
- The allocatorBytesInUse.
-
setAllocatorBytesInUse
public AllocatorMemoryUsed.Builder setAllocatorBytesInUse(long value)
These are snapshots of the overall allocator memory stats. The number of live bytes currently allocated by the allocator.
int64 allocator_bytes_in_use = 5;
- Parameters:
value
- The allocatorBytesInUse to set.- Returns:
- This builder for chaining.
-
clearAllocatorBytesInUse
public AllocatorMemoryUsed.Builder clearAllocatorBytesInUse()
These are snapshots of the overall allocator memory stats. The number of live bytes currently allocated by the allocator.
int64 allocator_bytes_in_use = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final AllocatorMemoryUsed.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
mergeUnknownFields
public final AllocatorMemoryUsed.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
-