MemoryInfo.Builder

public static final class MemoryInfo.Builder

Protobuf type tensorflow.MemoryInfo

Public Methods

MemoryInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MemoryInfo
build()
MemoryInfo
MemoryInfo.Builder
clear()
MemoryInfo.Builder
clearAvailable()
 Immediately available memory in bytes
 
int64 available = 2;
MemoryInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
MemoryInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MemoryInfo.Builder
clearTotal()
 Total virtual memory in bytes
 
int64 total = 1;
MemoryInfo.Builder
clone()
long
getAvailable()
 Immediately available memory in bytes
 
int64 available = 2;
MemoryInfo
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
getTotal()
 Total virtual memory in bytes
 
int64 total = 1;
final boolean
MemoryInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MemoryInfo.Builder
mergeFrom(com.google.protobuf.Message other)
final MemoryInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MemoryInfo.Builder
setAvailable(long value)
 Immediately available memory in bytes
 
int64 available = 2;
MemoryInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MemoryInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
MemoryInfo.Builder
setTotal(long value)
 Total virtual memory in bytes
 
int64 total = 1;
final MemoryInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public MemoryInfo.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public MemoryInfo build ()

public MemoryInfo buildPartial ()

public MemoryInfo.Builder clear ()

public MemoryInfo.Builder clearAvailable ()

 Immediately available memory in bytes
 
int64 available = 2;

public MemoryInfo.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public MemoryInfo.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public MemoryInfo.Builder clearTotal ()

 Total virtual memory in bytes
 
int64 total = 1;

public MemoryInfo.Builder clone ()

public long getAvailable ()

 Immediately available memory in bytes
 
int64 available = 2;

public MemoryInfo getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public long getTotal ()

 Total virtual memory in bytes
 
int64 total = 1;

public final boolean isInitialized ()

public MemoryInfo.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public MemoryInfo.Builder mergeFrom (com.google.protobuf.Message other)

public final MemoryInfo.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public MemoryInfo.Builder setAvailable (long value)

 Immediately available memory in bytes
 
int64 available = 2;

public MemoryInfo.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public MemoryInfo.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public MemoryInfo.Builder setTotal (long value)

 Total virtual memory in bytes
 
int64 total = 1;

public final MemoryInfo.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)