Package inference
Interface GrpcService.MemoryUsageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GrpcService.MemoryUsage,GrpcService.MemoryUsage.Builder
- Enclosing class:
GrpcService
public static interface GrpcService.MemoryUsageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getType
String getType()@@ .. cpp:var:: string type @@ @@ The type of memory, the value can be "CPU", "CPU_PINNED", "GPU". @@
string type = 1;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()@@ .. cpp:var:: string type @@ @@ The type of memory, the value can be "CPU", "CPU_PINNED", "GPU". @@
string type = 1;- Returns:
- The bytes for type.
-
getId
long getId()@@ .. cpp:var:: int64 id @@ @@ The id of the memory, typically used with "type" to identify @@ a device that hosts the memory. @@
int64 id = 2;- Returns:
- The id.
-
getByteSize
long getByteSize()@@ .. cpp:var:: uint64 byte_size @@ @@ The byte size of the memory. @@
uint64 byte_size = 3;- Returns:
- The byteSize.
-