Skip to content

Commit

Permalink
feat: [cloudbuild] added e2-medium machine type (#9620)
Browse files Browse the repository at this point in the history
* feat: added e2-medium machine type

Clients can now specify the e2-medium machine type.

PiperOrigin-RevId: 546077446

Source-Link: googleapis/googleapis@b98e88f

Source-Link: googleapis/googleapis-gen@d5619d9
Copy-Tag: eyJwIjoiamF2YS1jbG91ZGJ1aWxkLy5Pd2xCb3QueWFtbCIsImgiOiJkNTYxOWQ5YWFlNzU0YzU2NTE3NWVmNzNhNmI2NGU4ODRiNTQ5YTA2In0=

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Jul 7, 2023
1 parent d072400 commit 9c52160
Show file tree
Hide file tree
Showing 4 changed files with 258 additions and 233 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,16 @@ public enum MachineType implements com.google.protobuf.ProtocolMessageEnum {
* <code>E2_HIGHCPU_32 = 6;</code>
*/
E2_HIGHCPU_32(6),
/**
*
*
* <pre>
* E2 machine with 1 CPU.
* </pre>
*
* <code>E2_MEDIUM = 7;</code>
*/
E2_MEDIUM(7),
UNRECOGNIZED(-1),
;

Expand Down Expand Up @@ -322,6 +332,16 @@ public enum MachineType implements com.google.protobuf.ProtocolMessageEnum {
* <code>E2_HIGHCPU_32 = 6;</code>
*/
public static final int E2_HIGHCPU_32_VALUE = 6;
/**
*
*
* <pre>
* E2 machine with 1 CPU.
* </pre>
*
* <code>E2_MEDIUM = 7;</code>
*/
public static final int E2_MEDIUM_VALUE = 7;

public final int getNumber() {
if (this == UNRECOGNIZED) {
Expand Down Expand Up @@ -357,6 +377,8 @@ public static MachineType forNumber(int value) {
return E2_HIGHCPU_8;
case 6:
return E2_HIGHCPU_32;
case 7:
return E2_MEDIUM;
default:
return null;
}
Expand Down Expand Up @@ -2088,7 +2110,7 @@ public com.google.cloudbuild.v1.BuildOptions.LogStreamingOption getLogStreamingO
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2014
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2017
* @return The workerPool.
*/
@java.lang.Override
Expand All @@ -2114,7 +2136,7 @@ public java.lang.String getWorkerPool() {
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2014
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2017
* @return The bytes for workerPool.
*/
@java.lang.Override
Expand Down Expand Up @@ -4114,7 +4136,7 @@ public Builder clearLogStreamingOption() {
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2014
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2017
* @return The workerPool.
*/
@java.lang.Deprecated
Expand All @@ -4139,7 +4161,7 @@ public java.lang.String getWorkerPool() {
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2014
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2017
* @return The bytes for workerPool.
*/
@java.lang.Deprecated
Expand All @@ -4164,7 +4186,7 @@ public com.google.protobuf.ByteString getWorkerPoolBytes() {
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2014
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2017
* @param value The workerPool to set.
* @return This builder for chaining.
*/
Expand All @@ -4188,7 +4210,7 @@ public Builder setWorkerPool(java.lang.String value) {
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2014
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2017
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand All @@ -4208,7 +4230,7 @@ public Builder clearWorkerPool() {
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2014
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2017
* @param value The bytes for workerPool to set.
* @return This builder for chaining.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public interface BuildOptionsOrBuilder
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2014
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2017
* @return The workerPool.
*/
@java.lang.Deprecated
Expand All @@ -262,7 +262,7 @@ public interface BuildOptionsOrBuilder
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2014
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=2017
* @return The bytes for workerPool.
*/
@java.lang.Deprecated
Expand Down
Loading

0 comments on commit 9c52160

Please sign in to comment.