- 4.51.0 (latest)
- 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 AutoscalingPolicy.Builder extends GeneratedMessageV3.Builder<AutoscalingPolicy.Builder> implements AutoscalingPolicyOrBuilder
Describes an autoscaling policy for Dataproc cluster autoscaler.
Protobuf type google.cloud.dataproc.v1.AutoscalingPolicy
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutoscalingPolicy.BuilderImplements
AutoscalingPolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AutoscalingPolicy.Builder |
build()
public AutoscalingPolicy build()
Type | Description |
AutoscalingPolicy |
buildPartial()
public AutoscalingPolicy buildPartial()
Type | Description |
AutoscalingPolicy |
clear()
public AutoscalingPolicy.Builder clear()
Type | Description |
AutoscalingPolicy.Builder |
clearAlgorithm()
public AutoscalingPolicy.Builder clearAlgorithm()
Type | Description |
AutoscalingPolicy.Builder |
clearBasicAlgorithm()
public AutoscalingPolicy.Builder clearBasicAlgorithm()
.google.cloud.dataproc.v1.BasicAutoscalingAlgorithm basic_algorithm = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AutoscalingPolicy.Builder |
clearField(Descriptors.FieldDescriptor field)
public AutoscalingPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AutoscalingPolicy.Builder |
clearId()
public AutoscalingPolicy.Builder clearId()
Required. The policy id. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
string id = 1;
Type | Description |
AutoscalingPolicy.Builder | This builder for chaining. |
clearLabels()
public AutoscalingPolicy.Builder clearLabels()
Type | Description |
AutoscalingPolicy.Builder |
clearName()
public AutoscalingPolicy.Builder clearName()
Output only. The "resource name" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names.
- For
projects.regions.autoscalingPolicies
, the resource name of the policy has the following format:projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}
- For
projects.locations.autoscalingPolicies
, the resource name of the policy has the following format:projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}
string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AutoscalingPolicy.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoscalingPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AutoscalingPolicy.Builder |
clearSecondaryWorkerConfig()
public AutoscalingPolicy.Builder clearSecondaryWorkerConfig()
Optional. Describes how the autoscaler will operate for secondary workers.
.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
AutoscalingPolicy.Builder |
clearWorkerConfig()
public AutoscalingPolicy.Builder clearWorkerConfig()
Required. Describes how the autoscaler will operate for primary workers.
.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AutoscalingPolicy.Builder |
clone()
public AutoscalingPolicy.Builder clone()
Type | Description |
AutoscalingPolicy.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with an autoscaling policy.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
boolean |
getAlgorithmCase()
public AutoscalingPolicy.AlgorithmCase getAlgorithmCase()
Type | Description |
AutoscalingPolicy.AlgorithmCase |
getBasicAlgorithm()
public BasicAutoscalingAlgorithm getBasicAlgorithm()
.google.cloud.dataproc.v1.BasicAutoscalingAlgorithm basic_algorithm = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
BasicAutoscalingAlgorithm | The basicAlgorithm. |
getBasicAlgorithmBuilder()
public BasicAutoscalingAlgorithm.Builder getBasicAlgorithmBuilder()
.google.cloud.dataproc.v1.BasicAutoscalingAlgorithm basic_algorithm = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
BasicAutoscalingAlgorithm.Builder |
getBasicAlgorithmOrBuilder()
public BasicAutoscalingAlgorithmOrBuilder getBasicAlgorithmOrBuilder()
.google.cloud.dataproc.v1.BasicAutoscalingAlgorithm basic_algorithm = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
BasicAutoscalingAlgorithmOrBuilder |
getDefaultInstanceForType()
public AutoscalingPolicy getDefaultInstanceForType()
Type | Description |
AutoscalingPolicy |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getId()
public String getId()
Required. The policy id. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
string id = 1;
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
Required. The policy id. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
string id = 1;
Type | Description |
ByteString | The bytes for id. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with an autoscaling policy.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with an autoscaling policy.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with an autoscaling policy.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with an autoscaling policy.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Output only. The "resource name" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names.
- For
projects.regions.autoscalingPolicies
, the resource name of the policy has the following format:projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}
- For
projects.locations.autoscalingPolicies
, the resource name of the policy has the following format:projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}
string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The "resource name" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names.
- For
projects.regions.autoscalingPolicies
, the resource name of the policy has the following format:projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}
- For
projects.locations.autoscalingPolicies
, the resource name of the policy has the following format:projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}
string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getSecondaryWorkerConfig()
public InstanceGroupAutoscalingPolicyConfig getSecondaryWorkerConfig()
Optional. Describes how the autoscaler will operate for secondary workers.
.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
InstanceGroupAutoscalingPolicyConfig | The secondaryWorkerConfig. |
getSecondaryWorkerConfigBuilder()
public InstanceGroupAutoscalingPolicyConfig.Builder getSecondaryWorkerConfigBuilder()
Optional. Describes how the autoscaler will operate for secondary workers.
.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
InstanceGroupAutoscalingPolicyConfig.Builder |
getSecondaryWorkerConfigOrBuilder()
public InstanceGroupAutoscalingPolicyConfigOrBuilder getSecondaryWorkerConfigOrBuilder()
Optional. Describes how the autoscaler will operate for secondary workers.
.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
InstanceGroupAutoscalingPolicyConfigOrBuilder |
getWorkerConfig()
public InstanceGroupAutoscalingPolicyConfig getWorkerConfig()
Required. Describes how the autoscaler will operate for primary workers.
.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
InstanceGroupAutoscalingPolicyConfig | The workerConfig. |
getWorkerConfigBuilder()
public InstanceGroupAutoscalingPolicyConfig.Builder getWorkerConfigBuilder()
Required. Describes how the autoscaler will operate for primary workers.
.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
InstanceGroupAutoscalingPolicyConfig.Builder |
getWorkerConfigOrBuilder()
public InstanceGroupAutoscalingPolicyConfigOrBuilder getWorkerConfigOrBuilder()
Required. Describes how the autoscaler will operate for primary workers.
.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
InstanceGroupAutoscalingPolicyConfigOrBuilder |
hasBasicAlgorithm()
public boolean hasBasicAlgorithm()
.google.cloud.dataproc.v1.BasicAutoscalingAlgorithm basic_algorithm = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the basicAlgorithm field is set. |
hasSecondaryWorkerConfig()
public boolean hasSecondaryWorkerConfig()
Optional. Describes how the autoscaler will operate for secondary workers.
.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the secondaryWorkerConfig field is set. |
hasWorkerConfig()
public boolean hasWorkerConfig()
Required. Describes how the autoscaler will operate for primary workers.
.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the workerConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeBasicAlgorithm(BasicAutoscalingAlgorithm value)
public AutoscalingPolicy.Builder mergeBasicAlgorithm(BasicAutoscalingAlgorithm value)
.google.cloud.dataproc.v1.BasicAutoscalingAlgorithm basic_algorithm = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | BasicAutoscalingAlgorithm |
Type | Description |
AutoscalingPolicy.Builder |
mergeFrom(AutoscalingPolicy other)
public AutoscalingPolicy.Builder mergeFrom(AutoscalingPolicy other)
Name | Description |
other | AutoscalingPolicy |
Type | Description |
AutoscalingPolicy.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutoscalingPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AutoscalingPolicy.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AutoscalingPolicy.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AutoscalingPolicy.Builder |
mergeSecondaryWorkerConfig(InstanceGroupAutoscalingPolicyConfig value)
public AutoscalingPolicy.Builder mergeSecondaryWorkerConfig(InstanceGroupAutoscalingPolicyConfig value)
Optional. Describes how the autoscaler will operate for secondary workers.
.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | InstanceGroupAutoscalingPolicyConfig |
Type | Description |
AutoscalingPolicy.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AutoscalingPolicy.Builder |
mergeWorkerConfig(InstanceGroupAutoscalingPolicyConfig value)
public AutoscalingPolicy.Builder mergeWorkerConfig(InstanceGroupAutoscalingPolicyConfig value)
Required. Describes how the autoscaler will operate for primary workers.
.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | InstanceGroupAutoscalingPolicyConfig |
Type | Description |
AutoscalingPolicy.Builder |
putAllLabels(Map<String,String> values)
public AutoscalingPolicy.Builder putAllLabels(Map<String,String> values)
Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with an autoscaling policy.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Map<String,String> |
Type | Description |
AutoscalingPolicy.Builder |
putLabels(String key, String value)
public AutoscalingPolicy.Builder putLabels(String key, String value)
Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with an autoscaling policy.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
value | String |
Type | Description |
AutoscalingPolicy.Builder |
removeLabels(String key)
public AutoscalingPolicy.Builder removeLabels(String key)
Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with an autoscaling policy.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
AutoscalingPolicy.Builder |
setBasicAlgorithm(BasicAutoscalingAlgorithm value)
public AutoscalingPolicy.Builder setBasicAlgorithm(BasicAutoscalingAlgorithm value)
.google.cloud.dataproc.v1.BasicAutoscalingAlgorithm basic_algorithm = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | BasicAutoscalingAlgorithm |
Type | Description |
AutoscalingPolicy.Builder |
setBasicAlgorithm(BasicAutoscalingAlgorithm.Builder builderForValue)
public AutoscalingPolicy.Builder setBasicAlgorithm(BasicAutoscalingAlgorithm.Builder builderForValue)
.google.cloud.dataproc.v1.BasicAutoscalingAlgorithm basic_algorithm = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | BasicAutoscalingAlgorithm.Builder |
Type | Description |
AutoscalingPolicy.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AutoscalingPolicy.Builder |
setId(String value)
public AutoscalingPolicy.Builder setId(String value)
Required. The policy id. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
string id = 1;
Name | Description |
value | String The id to set. |
Type | Description |
AutoscalingPolicy.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public AutoscalingPolicy.Builder setIdBytes(ByteString value)
Required. The policy id. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
string id = 1;
Name | Description |
value | ByteString The bytes for id to set. |
Type | Description |
AutoscalingPolicy.Builder | This builder for chaining. |
setName(String value)
public AutoscalingPolicy.Builder setName(String value)
Output only. The "resource name" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names.
- For
projects.regions.autoscalingPolicies
, the resource name of the policy has the following format:projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}
- For
projects.locations.autoscalingPolicies
, the resource name of the policy has the following format:projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}
string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
AutoscalingPolicy.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public AutoscalingPolicy.Builder setNameBytes(ByteString value)
Output only. The "resource name" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names.
- For
projects.regions.autoscalingPolicies
, the resource name of the policy has the following format:projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}
- For
projects.locations.autoscalingPolicies
, the resource name of the policy has the following format:projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}
string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
AutoscalingPolicy.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutoscalingPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AutoscalingPolicy.Builder |
setSecondaryWorkerConfig(InstanceGroupAutoscalingPolicyConfig value)
public AutoscalingPolicy.Builder setSecondaryWorkerConfig(InstanceGroupAutoscalingPolicyConfig value)
Optional. Describes how the autoscaler will operate for secondary workers.
.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | InstanceGroupAutoscalingPolicyConfig |
Type | Description |
AutoscalingPolicy.Builder |
setSecondaryWorkerConfig(InstanceGroupAutoscalingPolicyConfig.Builder builderForValue)
public AutoscalingPolicy.Builder setSecondaryWorkerConfig(InstanceGroupAutoscalingPolicyConfig.Builder builderForValue)
Optional. Describes how the autoscaler will operate for secondary workers.
.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig secondary_worker_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | InstanceGroupAutoscalingPolicyConfig.Builder |
Type | Description |
AutoscalingPolicy.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AutoscalingPolicy.Builder |
setWorkerConfig(InstanceGroupAutoscalingPolicyConfig value)
public AutoscalingPolicy.Builder setWorkerConfig(InstanceGroupAutoscalingPolicyConfig value)
Required. Describes how the autoscaler will operate for primary workers.
.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | InstanceGroupAutoscalingPolicyConfig |
Type | Description |
AutoscalingPolicy.Builder |
setWorkerConfig(InstanceGroupAutoscalingPolicyConfig.Builder builderForValue)
public AutoscalingPolicy.Builder setWorkerConfig(InstanceGroupAutoscalingPolicyConfig.Builder builderForValue)
Required. Describes how the autoscaler will operate for primary workers.
.google.cloud.dataproc.v1.InstanceGroupAutoscalingPolicyConfig worker_config = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | InstanceGroupAutoscalingPolicyConfig.Builder |
Type | Description |
AutoscalingPolicy.Builder |