Package org.tensorflow.framework
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.tensorflow.framework.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 typetensorflow.AllocatorMemoryUsed
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AllocatorMemoryUsed.BuilderaddAllAllocationRecords(java.lang.Iterable<? extends AllocationRecord> values)The allocation and deallocation timeline.AllocatorMemoryUsed.BuilderaddAllocationRecords(int index, AllocationRecord value)The allocation and deallocation timeline.AllocatorMemoryUsed.BuilderaddAllocationRecords(int index, AllocationRecord.Builder builderForValue)The allocation and deallocation timeline.AllocatorMemoryUsed.BuilderaddAllocationRecords(AllocationRecord value)The allocation and deallocation timeline.AllocatorMemoryUsed.BuilderaddAllocationRecords(AllocationRecord.Builder builderForValue)The allocation and deallocation timeline.AllocationRecord.BuilderaddAllocationRecordsBuilder()The allocation and deallocation timeline.AllocationRecord.BuilderaddAllocationRecordsBuilder(int index)The allocation and deallocation timeline.AllocatorMemoryUsed.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AllocatorMemoryUsedbuild()AllocatorMemoryUsedbuildPartial()AllocatorMemoryUsed.Builderclear()AllocatorMemoryUsed.BuilderclearAllocationRecords()The allocation and deallocation timeline.AllocatorMemoryUsed.BuilderclearAllocatorBytesInUse()These are snapshots of the overall allocator memory stats.AllocatorMemoryUsed.BuilderclearAllocatorName()string allocator_name = 1;AllocatorMemoryUsed.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AllocatorMemoryUsed.BuilderclearLiveBytes()The bytes that are not deallocated.AllocatorMemoryUsed.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AllocatorMemoryUsed.BuilderclearPeakBytes()int64 peak_bytes = 3;AllocatorMemoryUsed.BuilderclearTotalBytes()These are per-node allocator memory stats.AllocatorMemoryUsed.Builderclone()AllocationRecordgetAllocationRecords(int index)The allocation and deallocation timeline.AllocationRecord.BuildergetAllocationRecordsBuilder(int index)The allocation and deallocation timeline.java.util.List<AllocationRecord.Builder>getAllocationRecordsBuilderList()The allocation and deallocation timeline.intgetAllocationRecordsCount()The allocation and deallocation timeline.java.util.List<AllocationRecord>getAllocationRecordsList()The allocation and deallocation timeline.AllocationRecordOrBuildergetAllocationRecordsOrBuilder(int index)The allocation and deallocation timeline.java.util.List<? extends AllocationRecordOrBuilder>getAllocationRecordsOrBuilderList()The allocation and deallocation timeline.longgetAllocatorBytesInUse()These are snapshots of the overall allocator memory stats.java.lang.StringgetAllocatorName()string allocator_name = 1;com.google.protobuf.ByteStringgetAllocatorNameBytes()string allocator_name = 1;AllocatorMemoryUsedgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetLiveBytes()The bytes that are not deallocated.longgetPeakBytes()int64 peak_bytes = 3;longgetTotalBytes()These are per-node allocator memory stats.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AllocatorMemoryUsed.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AllocatorMemoryUsed.BuildermergeFrom(com.google.protobuf.Message other)AllocatorMemoryUsed.BuildermergeFrom(AllocatorMemoryUsed other)AllocatorMemoryUsed.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AllocatorMemoryUsed.BuilderremoveAllocationRecords(int index)The allocation and deallocation timeline.AllocatorMemoryUsed.BuildersetAllocationRecords(int index, AllocationRecord value)The allocation and deallocation timeline.AllocatorMemoryUsed.BuildersetAllocationRecords(int index, AllocationRecord.Builder builderForValue)The allocation and deallocation timeline.AllocatorMemoryUsed.BuildersetAllocatorBytesInUse(long value)These are snapshots of the overall allocator memory stats.AllocatorMemoryUsed.BuildersetAllocatorName(java.lang.String value)string allocator_name = 1;AllocatorMemoryUsed.BuildersetAllocatorNameBytes(com.google.protobuf.ByteString value)string allocator_name = 1;AllocatorMemoryUsed.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AllocatorMemoryUsed.BuildersetLiveBytes(long value)The bytes that are not deallocated.AllocatorMemoryUsed.BuildersetPeakBytes(long value)int64 peak_bytes = 3;AllocatorMemoryUsed.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)AllocatorMemoryUsed.BuildersetTotalBytes(long value)These are per-node allocator memory stats.AllocatorMemoryUsed.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
clear
public AllocatorMemoryUsed.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
getDefaultInstanceForType
public AllocatorMemoryUsed getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AllocatorMemoryUsed build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AllocatorMemoryUsed buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AllocatorMemoryUsed.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
setField
public AllocatorMemoryUsed.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
clearField
public AllocatorMemoryUsed.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
clearOneof
public AllocatorMemoryUsed.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
addRepeatedField
public AllocatorMemoryUsed.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
mergeFrom
public AllocatorMemoryUsed.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AllocatorMemoryUsed.Builder>
-
mergeFrom
public AllocatorMemoryUsed.Builder mergeFrom(AllocatorMemoryUsed other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AllocatorMemoryUsed.Builder>- Throws:
java.io.IOException
-
getAllocatorName
public java.lang.String getAllocatorName()
string allocator_name = 1;- Specified by:
getAllocatorNamein interfaceAllocatorMemoryUsedOrBuilder- Returns:
- The allocatorName.
-
getAllocatorNameBytes
public com.google.protobuf.ByteString getAllocatorNameBytes()
string allocator_name = 1;- Specified by:
getAllocatorNameBytesin 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:
getTotalBytesin 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:
getPeakBytesin 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:
getLiveBytesin 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 .tensorflow.AllocationRecord allocation_records = 6;- Specified by:
getAllocationRecordsListin interfaceAllocatorMemoryUsedOrBuilder
-
getAllocationRecordsCount
public int getAllocationRecordsCount()
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;- Specified by:
getAllocationRecordsCountin interfaceAllocatorMemoryUsedOrBuilder
-
getAllocationRecords
public AllocationRecord getAllocationRecords(int index)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;- Specified by:
getAllocationRecordsin interfaceAllocatorMemoryUsedOrBuilder
-
setAllocationRecords
public AllocatorMemoryUsed.Builder setAllocationRecords(int index, AllocationRecord value)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
setAllocationRecords
public AllocatorMemoryUsed.Builder setAllocationRecords(int index, AllocationRecord.Builder builderForValue)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
addAllocationRecords
public AllocatorMemoryUsed.Builder addAllocationRecords(AllocationRecord value)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
addAllocationRecords
public AllocatorMemoryUsed.Builder addAllocationRecords(int index, AllocationRecord value)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
addAllocationRecords
public AllocatorMemoryUsed.Builder addAllocationRecords(AllocationRecord.Builder builderForValue)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
addAllocationRecords
public AllocatorMemoryUsed.Builder addAllocationRecords(int index, AllocationRecord.Builder builderForValue)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
addAllAllocationRecords
public AllocatorMemoryUsed.Builder addAllAllocationRecords(java.lang.Iterable<? extends AllocationRecord> values)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
clearAllocationRecords
public AllocatorMemoryUsed.Builder clearAllocationRecords()
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
removeAllocationRecords
public AllocatorMemoryUsed.Builder removeAllocationRecords(int index)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
getAllocationRecordsBuilder
public AllocationRecord.Builder getAllocationRecordsBuilder(int index)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
getAllocationRecordsOrBuilder
public AllocationRecordOrBuilder getAllocationRecordsOrBuilder(int index)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;- Specified by:
getAllocationRecordsOrBuilderin interfaceAllocatorMemoryUsedOrBuilder
-
getAllocationRecordsOrBuilderList
public java.util.List<? extends AllocationRecordOrBuilder> getAllocationRecordsOrBuilderList()
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;- Specified by:
getAllocationRecordsOrBuilderListin interfaceAllocatorMemoryUsedOrBuilder
-
addAllocationRecordsBuilder
public AllocationRecord.Builder addAllocationRecordsBuilder()
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
addAllocationRecordsBuilder
public AllocationRecord.Builder addAllocationRecordsBuilder(int index)
The allocation and deallocation timeline.
repeated .tensorflow.AllocationRecord allocation_records = 6;
-
getAllocationRecordsBuilderList
public java.util.List<AllocationRecord.Builder> getAllocationRecordsBuilderList()
The allocation and deallocation timeline.
repeated .tensorflow.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:
getAllocatorBytesInUsein 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
mergeUnknownFields
public final AllocatorMemoryUsed.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocatorMemoryUsed.Builder>
-
-