Interface WorkstationConfig.Host.GceInstance.AcceleratorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkstationConfig.Host.GceInstance.Accelerator
,WorkstationConfig.Host.GceInstance.Accelerator.Builder
- Enclosing class:
- WorkstationConfig.Host.GceInstance
public static interface WorkstationConfig.Host.GceInstance.AcceleratorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCount()
Optional.String
getType()
Optional.com.google.protobuf.ByteString
getTypeBytes()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getType
String getType()
Optional. Type of accelerator resource to attach to the instance, for example, `"nvidia-tesla-p100"`.
string type = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
Optional. Type of accelerator resource to attach to the instance, for example, `"nvidia-tesla-p100"`.
string type = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for type.
-
getCount
int getCount()
Optional. Number of accelerator cards exposed to the instance.
int32 count = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The count.
-
-