Package com.google.cloud.notebooks.v2
Interface AcceleratorConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AcceleratorConfig
,AcceleratorConfig.Builder
public interface AcceleratorConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCoreCount()
Optional.AcceleratorConfig.AcceleratorType
getType()
Optional.int
getTypeValue()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypeValue
int getTypeValue()
Optional. Type of this accelerator.
.google.cloud.notebooks.v2.AcceleratorConfig.AcceleratorType type = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The enum numeric value on the wire for type.
-
getType
AcceleratorConfig.AcceleratorType getType()
Optional. Type of this accelerator.
.google.cloud.notebooks.v2.AcceleratorConfig.AcceleratorType type = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The type.
-
getCoreCount
long getCoreCount()
Optional. Count of cores of this accelerator.
int64 core_count = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The coreCount.
-
-