- 4.80.0 (latest)
- 4.79.0
- 4.78.0
- 4.77.0
- 4.75.0
- 4.73.0
- 4.72.0
- 4.71.0
- 4.70.0
- 4.69.0
- 4.67.0
- 4.65.0
- 4.64.0
- 4.61.0
- 4.60.0
- 4.59.0
- 4.57.0
- 4.56.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public static final class BasicAutoscalingAlgorithm.Builder extends GeneratedMessage.Builder<BasicAutoscalingAlgorithm.Builder> implements BasicAutoscalingAlgorithmOrBuilderBasic algorithm for autoscaling.
Protobuf type google.cloud.dataproc.v1.BasicAutoscalingAlgorithm
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BasicAutoscalingAlgorithm.BuilderImplements
BasicAutoscalingAlgorithmOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BasicAutoscalingAlgorithm build()| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm |
|
buildPartial()
public BasicAutoscalingAlgorithm buildPartial()| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm |
|
clear()
public BasicAutoscalingAlgorithm.Builder clear()| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm.Builder |
|
clearConfig()
public BasicAutoscalingAlgorithm.Builder clearConfig()| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm.Builder |
|
clearCooldownPeriod()
public BasicAutoscalingAlgorithm.Builder clearCooldownPeriod()Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.
Bounds: [2m, 1d]. Default: 2m.
.google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm.Builder |
|
clearYarnConfig()
public BasicAutoscalingAlgorithm.Builder clearYarnConfig()Required. YARN autoscaling configuration.
.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm.Builder |
|
getConfigCase()
public BasicAutoscalingAlgorithm.ConfigCase getConfigCase()| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm.ConfigCase |
|
getCooldownPeriod()
public Duration getCooldownPeriod()Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.
Bounds: [2m, 1d]. Default: 2m.
.google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Duration |
The cooldownPeriod. |
getCooldownPeriodBuilder()
public Duration.Builder getCooldownPeriodBuilder()Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.
Bounds: [2m, 1d]. Default: 2m.
.google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCooldownPeriodOrBuilder()
public DurationOrBuilder getCooldownPeriodOrBuilder()Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.
Bounds: [2m, 1d]. Default: 2m.
.google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getDefaultInstanceForType()
public BasicAutoscalingAlgorithm getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getYarnConfig()
public BasicYarnAutoscalingConfig getYarnConfig()Required. YARN autoscaling configuration.
.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BasicYarnAutoscalingConfig |
The yarnConfig. |
getYarnConfigBuilder()
public BasicYarnAutoscalingConfig.Builder getYarnConfigBuilder()Required. YARN autoscaling configuration.
.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BasicYarnAutoscalingConfig.Builder |
|
getYarnConfigOrBuilder()
public BasicYarnAutoscalingConfigOrBuilder getYarnConfigOrBuilder()Required. YARN autoscaling configuration.
.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BasicYarnAutoscalingConfigOrBuilder |
|
hasCooldownPeriod()
public boolean hasCooldownPeriod()Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.
Bounds: [2m, 1d]. Default: 2m.
.google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the cooldownPeriod field is set. |
hasYarnConfig()
public boolean hasYarnConfig()Required. YARN autoscaling configuration.
.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the yarnConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCooldownPeriod(Duration value)
public BasicAutoscalingAlgorithm.Builder mergeCooldownPeriod(Duration value)Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.
Bounds: [2m, 1d]. Default: 2m.
.google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm.Builder |
|
mergeFrom(BasicAutoscalingAlgorithm other)
public BasicAutoscalingAlgorithm.Builder mergeFrom(BasicAutoscalingAlgorithm other)| Parameter | |
|---|---|
| Name | Description |
other |
BasicAutoscalingAlgorithm |
| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BasicAutoscalingAlgorithm.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BasicAutoscalingAlgorithm.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm.Builder |
|
mergeYarnConfig(BasicYarnAutoscalingConfig value)
public BasicAutoscalingAlgorithm.Builder mergeYarnConfig(BasicYarnAutoscalingConfig value)Required. YARN autoscaling configuration.
.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
BasicYarnAutoscalingConfig |
| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm.Builder |
|
setCooldownPeriod(Duration value)
public BasicAutoscalingAlgorithm.Builder setCooldownPeriod(Duration value)Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.
Bounds: [2m, 1d]. Default: 2m.
.google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm.Builder |
|
setCooldownPeriod(Duration.Builder builderForValue)
public BasicAutoscalingAlgorithm.Builder setCooldownPeriod(Duration.Builder builderForValue)Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.
Bounds: [2m, 1d]. Default: 2m.
.google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm.Builder |
|
setYarnConfig(BasicYarnAutoscalingConfig value)
public BasicAutoscalingAlgorithm.Builder setYarnConfig(BasicYarnAutoscalingConfig value)Required. YARN autoscaling configuration.
.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
BasicYarnAutoscalingConfig |
| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm.Builder |
|
setYarnConfig(BasicYarnAutoscalingConfig.Builder builderForValue)
public BasicAutoscalingAlgorithm.Builder setYarnConfig(BasicYarnAutoscalingConfig.Builder builderForValue)Required. YARN autoscaling configuration.
.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BasicYarnAutoscalingConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
BasicAutoscalingAlgorithm.Builder |
|