public static final class AllocationRecord.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationRecord.Builder> implements AllocationRecordOrBuilder
An allocation/de-allocation operation performed by the allocator.Protobuf type
tensorflow.AllocationRecord
Modifier and Type | Method and Description |
---|---|
AllocationRecord.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
AllocationRecord |
build() |
AllocationRecord |
buildPartial() |
AllocationRecord.Builder |
clear() |
AllocationRecord.Builder |
clearAllocBytes()
Number of bytes allocated, or de-allocated if negative.
|
AllocationRecord.Builder |
clearAllocMicros()
The timestamp of the operation.
|
AllocationRecord.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
AllocationRecord.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
AllocationRecord.Builder |
clone() |
long |
getAllocBytes()
Number of bytes allocated, or de-allocated if negative.
|
long |
getAllocMicros()
The timestamp of the operation.
|
AllocationRecord |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AllocationRecord.Builder |
mergeFrom(AllocationRecord other) |
AllocationRecord.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
AllocationRecord.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
AllocationRecord.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
AllocationRecord.Builder |
setAllocBytes(long value)
Number of bytes allocated, or de-allocated if negative.
|
AllocationRecord.Builder |
setAllocMicros(long value)
The timestamp of the operation.
|
AllocationRecord.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
AllocationRecord.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
AllocationRecord.Builder |
setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationRecord.Builder>
public AllocationRecord.Builder clear()
clear
in interface com.github.os72.protobuf351.Message.Builder
clear
in interface com.github.os72.protobuf351.MessageLite.Builder
clear
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationRecord.Builder>
public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.github.os72.protobuf351.Message.Builder
getDescriptorForType
in interface com.github.os72.protobuf351.MessageOrBuilder
getDescriptorForType
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationRecord.Builder>
public AllocationRecord getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
public AllocationRecord build()
build
in interface com.github.os72.protobuf351.Message.Builder
build
in interface com.github.os72.protobuf351.MessageLite.Builder
public AllocationRecord buildPartial()
buildPartial
in interface com.github.os72.protobuf351.Message.Builder
buildPartial
in interface com.github.os72.protobuf351.MessageLite.Builder
public AllocationRecord.Builder clone()
clone
in interface com.github.os72.protobuf351.Message.Builder
clone
in interface com.github.os72.protobuf351.MessageLite.Builder
clone
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationRecord.Builder>
public AllocationRecord.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.github.os72.protobuf351.Message.Builder
setField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationRecord.Builder>
public AllocationRecord.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField
in interface com.github.os72.protobuf351.Message.Builder
clearField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationRecord.Builder>
public AllocationRecord.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.github.os72.protobuf351.Message.Builder
clearOneof
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationRecord.Builder>
public AllocationRecord.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.github.os72.protobuf351.Message.Builder
setRepeatedField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationRecord.Builder>
public AllocationRecord.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.github.os72.protobuf351.Message.Builder
addRepeatedField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationRecord.Builder>
public AllocationRecord.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom
in interface com.github.os72.protobuf351.Message.Builder
mergeFrom
in class com.github.os72.protobuf351.AbstractMessage.Builder<AllocationRecord.Builder>
public AllocationRecord.Builder mergeFrom(AllocationRecord other)
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationRecord.Builder>
public AllocationRecord.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.github.os72.protobuf351.Message.Builder
mergeFrom
in interface com.github.os72.protobuf351.MessageLite.Builder
mergeFrom
in class com.github.os72.protobuf351.AbstractMessage.Builder<AllocationRecord.Builder>
IOException
public long getAllocMicros()
The timestamp of the operation.
int64 alloc_micros = 1;
getAllocMicros
in interface AllocationRecordOrBuilder
public AllocationRecord.Builder setAllocMicros(long value)
The timestamp of the operation.
int64 alloc_micros = 1;
public AllocationRecord.Builder clearAllocMicros()
The timestamp of the operation.
int64 alloc_micros = 1;
public long getAllocBytes()
Number of bytes allocated, or de-allocated if negative.
int64 alloc_bytes = 2;
getAllocBytes
in interface AllocationRecordOrBuilder
public AllocationRecord.Builder setAllocBytes(long value)
Number of bytes allocated, or de-allocated if negative.
int64 alloc_bytes = 2;
public AllocationRecord.Builder clearAllocBytes()
Number of bytes allocated, or de-allocated if negative.
int64 alloc_bytes = 2;
public final AllocationRecord.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.github.os72.protobuf351.Message.Builder
setUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationRecord.Builder>
public final AllocationRecord.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.github.os72.protobuf351.Message.Builder
mergeUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<AllocationRecord.Builder>
Copyright © 2018. All rights reserved.