Package com.google.cloud.dataproc.v1
Interface DriverSchedulingConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DriverSchedulingConfig,DriverSchedulingConfig.Builder
public interface DriverSchedulingConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMemoryMb()Required.intgetVcores()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMemoryMb
int getMemoryMb()
Required. The amount of memory in MB the driver is requesting.
int32 memory_mb = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The memoryMb.
-
getVcores
int getVcores()
Required. The number of vCPUs the driver is requesting.
int32 vcores = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The vcores.
-
-