Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 9f43c64

Browse files
feat: Additional fields for the ClusterConfig and InstanceGroupConfig messages. (#253)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/6d3f7836-3a4c-492a-9e6c-360f4c2d6fc1/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 323829608 Source-Link: googleapis/googleapis@d8a3dfb
1 parent 60d3066 commit 9f43c64

34 files changed

Lines changed: 3725 additions & 673 deletions

‎proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicYarnAutoscalingConfig.java‎

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,14 @@ public com.google.protobuf.DurationOrBuilder getGracefulDecommissionTimeoutOrBui
209209
*
210210
*
211211
* <pre>
212-
* Required. Fraction of average pending memory in the last cooldown period
212+
* Required. Fraction of average YARN pending memory in the last cooldown period
213213
* for which to add workers. A scale-up factor of 1.0 will result in scaling
214214
* up so that there is no pending memory remaining after the update (more
215215
* aggressive scaling). A scale-up factor closer to 0 will result in a smaller
216216
* magnitude of scaling up (less aggressive scaling).
217+
* See [How autoscaling
218+
* works](/dataproc/docs/concepts/configuring-clusters/autoscaling#how_autoscaling_works)
219+
* for more information.
217220
* Bounds: [0.0, 1.0].
218221
* </pre>
219222
*
@@ -232,11 +235,14 @@ public double getScaleUpFactor() {
232235
*
233236
*
234237
* <pre>
235-
* Required. Fraction of average pending memory in the last cooldown period
238+
* Required. Fraction of average YARN pending memory in the last cooldown period
236239
* for which to remove workers. A scale-down factor of 1 will result in
237240
* scaling down so that there is no available memory remaining after the
238241
* update (more aggressive scaling). A scale-down factor of 0 disables
239242
* removing workers, which can be beneficial for autoscaling a single job.
243+
* See [How autoscaling
244+
* works](/dataproc/docs/concepts/configuring-clusters/autoscaling#how_autoscaling_works)
245+
* for more information.
240246
* Bounds: [0.0, 1.0].
241247
* </pre>
242248
*
@@ -952,11 +958,14 @@ public com.google.protobuf.DurationOrBuilder getGracefulDecommissionTimeoutOrBui
952958
*
953959
*
954960
* <pre>
955-
* Required. Fraction of average pending memory in the last cooldown period
961+
* Required. Fraction of average YARN pending memory in the last cooldown period
956962
* for which to add workers. A scale-up factor of 1.0 will result in scaling
957963
* up so that there is no pending memory remaining after the update (more
958964
* aggressive scaling). A scale-up factor closer to 0 will result in a smaller
959965
* magnitude of scaling up (less aggressive scaling).
966+
* See [How autoscaling
967+
* works](/dataproc/docs/concepts/configuring-clusters/autoscaling#how_autoscaling_works)
968+
* for more information.
960969
* Bounds: [0.0, 1.0].
961970
* </pre>
962971
*
@@ -972,11 +981,14 @@ public double getScaleUpFactor() {
972981
*
973982
*
974983
* <pre>
975-
* Required. Fraction of average pending memory in the last cooldown period
984+
* Required. Fraction of average YARN pending memory in the last cooldown period
976985
* for which to add workers. A scale-up factor of 1.0 will result in scaling
977986
* up so that there is no pending memory remaining after the update (more
978987
* aggressive scaling). A scale-up factor closer to 0 will result in a smaller
979988
* magnitude of scaling up (less aggressive scaling).
989+
* See [How autoscaling
990+
* works](/dataproc/docs/concepts/configuring-clusters/autoscaling#how_autoscaling_works)
991+
* for more information.
980992
* Bounds: [0.0, 1.0].
981993
* </pre>
982994
*
@@ -995,11 +1007,14 @@ public Builder setScaleUpFactor(double value) {
9951007
*
9961008
*
9971009
* <pre>
998-
* Required. Fraction of average pending memory in the last cooldown period
1010+
* Required. Fraction of average YARN pending memory in the last cooldown period
9991011
* for which to add workers. A scale-up factor of 1.0 will result in scaling
10001012
* up so that there is no pending memory remaining after the update (more
10011013
* aggressive scaling). A scale-up factor closer to 0 will result in a smaller
10021014
* magnitude of scaling up (less aggressive scaling).
1015+
* See [How autoscaling
1016+
* works](/dataproc/docs/concepts/configuring-clusters/autoscaling#how_autoscaling_works)
1017+
* for more information.
10031018
* Bounds: [0.0, 1.0].
10041019
* </pre>
10051020
*
@@ -1019,11 +1034,14 @@ public Builder clearScaleUpFactor() {
10191034
*
10201035
*
10211036
* <pre>
1022-
* Required. Fraction of average pending memory in the last cooldown period
1037+
* Required. Fraction of average YARN pending memory in the last cooldown period
10231038
* for which to remove workers. A scale-down factor of 1 will result in
10241039
* scaling down so that there is no available memory remaining after the
10251040
* update (more aggressive scaling). A scale-down factor of 0 disables
10261041
* removing workers, which can be beneficial for autoscaling a single job.
1042+
* See [How autoscaling
1043+
* works](/dataproc/docs/concepts/configuring-clusters/autoscaling#how_autoscaling_works)
1044+
* for more information.
10271045
* Bounds: [0.0, 1.0].
10281046
* </pre>
10291047
*
@@ -1039,11 +1057,14 @@ public double getScaleDownFactor() {
10391057
*
10401058
*
10411059
* <pre>
1042-
* Required. Fraction of average pending memory in the last cooldown period
1060+
* Required. Fraction of average YARN pending memory in the last cooldown period
10431061
* for which to remove workers. A scale-down factor of 1 will result in
10441062
* scaling down so that there is no available memory remaining after the
10451063
* update (more aggressive scaling). A scale-down factor of 0 disables
10461064
* removing workers, which can be beneficial for autoscaling a single job.
1065+
* See [How autoscaling
1066+
* works](/dataproc/docs/concepts/configuring-clusters/autoscaling#how_autoscaling_works)
1067+
* for more information.
10471068
* Bounds: [0.0, 1.0].
10481069
* </pre>
10491070
*
@@ -1062,11 +1083,14 @@ public Builder setScaleDownFactor(double value) {
10621083
*
10631084
*
10641085
* <pre>
1065-
* Required. Fraction of average pending memory in the last cooldown period
1086+
* Required. Fraction of average YARN pending memory in the last cooldown period
10661087
* for which to remove workers. A scale-down factor of 1 will result in
10671088
* scaling down so that there is no available memory remaining after the
10681089
* update (more aggressive scaling). A scale-down factor of 0 disables
10691090
* removing workers, which can be beneficial for autoscaling a single job.
1091+
* See [How autoscaling
1092+
* works](/dataproc/docs/concepts/configuring-clusters/autoscaling#how_autoscaling_works)
1093+
* for more information.
10701094
* Bounds: [0.0, 1.0].
10711095
* </pre>
10721096
*

‎proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BasicYarnAutoscalingConfigOrBuilder.java‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,14 @@ public interface BasicYarnAutoscalingConfigOrBuilder
8080
*
8181
*
8282
* <pre>
83-
* Required. Fraction of average pending memory in the last cooldown period
83+
* Required. Fraction of average YARN pending memory in the last cooldown period
8484
* for which to add workers. A scale-up factor of 1.0 will result in scaling
8585
* up so that there is no pending memory remaining after the update (more
8686
* aggressive scaling). A scale-up factor closer to 0 will result in a smaller
8787
* magnitude of scaling up (less aggressive scaling).
88+
* See [How autoscaling
89+
* works](/dataproc/docs/concepts/configuring-clusters/autoscaling#how_autoscaling_works)
90+
* for more information.
8891
* Bounds: [0.0, 1.0].
8992
* </pre>
9093
*
@@ -98,11 +101,14 @@ public interface BasicYarnAutoscalingConfigOrBuilder
98101
*
99102
*
100103
* <pre>
101-
* Required. Fraction of average pending memory in the last cooldown period
104+
* Required. Fraction of average YARN pending memory in the last cooldown period
102105
* for which to remove workers. A scale-down factor of 1 will result in
103106
* scaling down so that there is no available memory remaining after the
104107
* update (more aggressive scaling). A scale-down factor of 0 disables
105108
* removing workers, which can be beneficial for autoscaling a single job.
109+
* See [How autoscaling
110+
* works](/dataproc/docs/concepts/configuring-clusters/autoscaling#how_autoscaling_works)
111+
* for more information.
106112
* Bounds: [0.0, 1.0].
107113
* </pre>
108114
*

0 commit comments

Comments
 (0)