Skip to content

Commit ccb8866

Browse files
fix(deps): [clouddeploy] Update the Java code generator (gapic-generator-java) to 2.31.0 (#10192)
* feat: Add stable cutback duration configuration to the k8s gateway service mesh deployment strategy. This allows configuring the amount of time to migrate traffic back to the original Service in the stable phase feat: Updated logging protos with new fields docs: Fixed a number of comments PiperOrigin-RevId: 596610888 Source-Link: googleapis/googleapis@6f69d9a Source-Link: https://github.com/googleapis/googleapis-gen/commit/e2a9e76ef818ff4b82b33a0fb005936fbbe30d49 Copy-Tag: eyJwIjoiamF2YS1kZXBsb3kvLk93bEJvdC55YW1sIiwiaCI6ImUyYTllNzZlZjgxOGZmNGI4MmIzM2EwZmIwMDU5MzZmYmJlMzBkNDkifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix(deps): Update the Java code generator (gapic-generator-java) to 2.31.0 PiperOrigin-RevId: 596645164 Source-Link: googleapis/googleapis@4a0e62e Source-Link: https://github.com/googleapis/googleapis-gen/commit/a10ed6a77676c37e60799098d48d0afb16008613 Copy-Tag: eyJwIjoiamF2YS1kZXBsb3kvLk93bEJvdC55YW1sIiwiaCI6ImExMGVkNmE3NzY3NmMzN2U2MDc5OTA5OGQ0OGQwYWZiMTYwMDg2MTMifQ== * 🦉 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>
1 parent 4e23220 commit ccb8866

File tree

70 files changed

+5659
-2298
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+5659
-2298
lines changed

java-deploy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
195195
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
196196
[stability-image]: https://img.shields.io/badge/stability-stable-green
197197
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-deploy.svg
198-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.28.0
198+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.30.0
199199
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
200200
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
201201
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java

Lines changed: 870 additions & 25 deletions
Large diffs are not rendered by default.

java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,6 +1164,12 @@ public CloudDeployStub createStub() throws IOException {
11641164
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
11651165
}
11661166

1167+
/** Returns the default service name. */
1168+
@Override
1169+
public String getServiceName() {
1170+
return "clouddeploy";
1171+
}
1172+
11671173
/** Returns a builder for the default ExecutorProvider for this service. */
11681174
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() {
11691175
return InstantiatingExecutorProvider.newBuilder();

java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java

Lines changed: 988 additions & 986 deletions
Large diffs are not rendered by default.

java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfig.java

Lines changed: 52 additions & 52 deletions
Large diffs are not rendered by default.

java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfigOrBuilder.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public interface CloudRunConfigOrBuilder
4444
*
4545
* <pre>
4646
* Optional. A list of tags that are added to the canary revision while the
47-
* canary deployment is in progress.
47+
* canary phase is in progress.
4848
* </pre>
4949
*
5050
* <code>repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -58,7 +58,7 @@ public interface CloudRunConfigOrBuilder
5858
*
5959
* <pre>
6060
* Optional. A list of tags that are added to the canary revision while the
61-
* canary deployment is in progress.
61+
* canary phase is in progress.
6262
* </pre>
6363
*
6464
* <code>repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -72,7 +72,7 @@ public interface CloudRunConfigOrBuilder
7272
*
7373
* <pre>
7474
* Optional. A list of tags that are added to the canary revision while the
75-
* canary deployment is in progress.
75+
* canary phase is in progress.
7676
* </pre>
7777
*
7878
* <code>repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -87,7 +87,7 @@ public interface CloudRunConfigOrBuilder
8787
*
8888
* <pre>
8989
* Optional. A list of tags that are added to the canary revision while the
90-
* canary deployment is in progress.
90+
* canary phase is in progress.
9191
* </pre>
9292
*
9393
* <code>repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
@@ -103,7 +103,7 @@ public interface CloudRunConfigOrBuilder
103103
*
104104
* <pre>
105105
* Optional. A list of tags that are added to the prior revision while the
106-
* canary deployment is in progress.
106+
* canary phase is in progress.
107107
* </pre>
108108
*
109109
* <code>repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -116,7 +116,7 @@ public interface CloudRunConfigOrBuilder
116116
*
117117
* <pre>
118118
* Optional. A list of tags that are added to the prior revision while the
119-
* canary deployment is in progress.
119+
* canary phase is in progress.
120120
* </pre>
121121
*
122122
* <code>repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -129,7 +129,7 @@ public interface CloudRunConfigOrBuilder
129129
*
130130
* <pre>
131131
* Optional. A list of tags that are added to the prior revision while the
132-
* canary deployment is in progress.
132+
* canary phase is in progress.
133133
* </pre>
134134
*
135135
* <code>repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -143,7 +143,7 @@ public interface CloudRunConfigOrBuilder
143143
*
144144
* <pre>
145145
* Optional. A list of tags that are added to the prior revision while the
146-
* canary deployment is in progress.
146+
* canary phase is in progress.
147147
* </pre>
148148
*
149149
* <code>repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -157,8 +157,8 @@ public interface CloudRunConfigOrBuilder
157157
*
158158
*
159159
* <pre>
160-
* Optional. A list of tags that are added to the final stable revision after
161-
* the canary deployment is completed.
160+
* Optional. A list of tags that are added to the final stable revision when
161+
* the stable phase is applied.
162162
* </pre>
163163
*
164164
* <code>repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
@@ -171,8 +171,8 @@ public interface CloudRunConfigOrBuilder
171171
*
172172
*
173173
* <pre>
174-
* Optional. A list of tags that are added to the final stable revision after
175-
* the canary deployment is completed.
174+
* Optional. A list of tags that are added to the final stable revision when
175+
* the stable phase is applied.
176176
* </pre>
177177
*
178178
* <code>repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
@@ -185,8 +185,8 @@ public interface CloudRunConfigOrBuilder
185185
*
186186
*
187187
* <pre>
188-
* Optional. A list of tags that are added to the final stable revision after
189-
* the canary deployment is completed.
188+
* Optional. A list of tags that are added to the final stable revision when
189+
* the stable phase is applied.
190190
* </pre>
191191
*
192192
* <code>repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
@@ -200,8 +200,8 @@ public interface CloudRunConfigOrBuilder
200200
*
201201
*
202202
* <pre>
203-
* Optional. A list of tags that are added to the final stable revision after
204-
* the canary deployment is completed.
203+
* Optional. A list of tags that are added to the final stable revision when
204+
* the stable phase is applied.
205205
* </pre>
206206
*
207207
* <code>repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL];

java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateAutomationRequest.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,9 @@ public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationOrBuilder() {
239239
*
240240
* <pre>
241241
* Optional. A request ID to identify requests. Specify a unique request ID
242-
* so that if you must retry your request, the server will know to ignore
243-
* the request if it has already been completed. The server will guarantee
244-
* that for at least 60 minutes since the first request.
242+
* so that if you must retry your request, the server knows to ignore the
243+
* request if it has already been completed. The server guarantees that for
244+
* at least 60 minutes after the first request.
245245
*
246246
* For example, consider a situation where you make an initial request and the
247247
* request times out. If you make the request again with the same request ID,
@@ -274,9 +274,9 @@ public java.lang.String getRequestId() {
274274
*
275275
* <pre>
276276
* Optional. A request ID to identify requests. Specify a unique request ID
277-
* so that if you must retry your request, the server will know to ignore
278-
* the request if it has already been completed. The server will guarantee
279-
* that for at least 60 minutes since the first request.
277+
* so that if you must retry your request, the server knows to ignore the
278+
* request if it has already been completed. The server guarantees that for
279+
* at least 60 minutes after the first request.
280280
*
281281
* For example, consider a situation where you make an initial request and the
282282
* request times out. If you make the request again with the same request ID,
@@ -1206,9 +1206,9 @@ public com.google.cloud.deploy.v1.AutomationOrBuilder getAutomationOrBuilder() {
12061206
*
12071207
* <pre>
12081208
* Optional. A request ID to identify requests. Specify a unique request ID
1209-
* so that if you must retry your request, the server will know to ignore
1210-
* the request if it has already been completed. The server will guarantee
1211-
* that for at least 60 minutes since the first request.
1209+
* so that if you must retry your request, the server knows to ignore the
1210+
* request if it has already been completed. The server guarantees that for
1211+
* at least 60 minutes after the first request.
12121212
*
12131213
* For example, consider a situation where you make an initial request and the
12141214
* request times out. If you make the request again with the same request ID,
@@ -1240,9 +1240,9 @@ public java.lang.String getRequestId() {
12401240
*
12411241
* <pre>
12421242
* Optional. A request ID to identify requests. Specify a unique request ID
1243-
* so that if you must retry your request, the server will know to ignore
1244-
* the request if it has already been completed. The server will guarantee
1245-
* that for at least 60 minutes since the first request.
1243+
* so that if you must retry your request, the server knows to ignore the
1244+
* request if it has already been completed. The server guarantees that for
1245+
* at least 60 minutes after the first request.
12461246
*
12471247
* For example, consider a situation where you make an initial request and the
12481248
* request times out. If you make the request again with the same request ID,
@@ -1274,9 +1274,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
12741274
*
12751275
* <pre>
12761276
* Optional. A request ID to identify requests. Specify a unique request ID
1277-
* so that if you must retry your request, the server will know to ignore
1278-
* the request if it has already been completed. The server will guarantee
1279-
* that for at least 60 minutes since the first request.
1277+
* so that if you must retry your request, the server knows to ignore the
1278+
* request if it has already been completed. The server guarantees that for
1279+
* at least 60 minutes after the first request.
12801280
*
12811281
* For example, consider a situation where you make an initial request and the
12821282
* request times out. If you make the request again with the same request ID,
@@ -1307,9 +1307,9 @@ public Builder setRequestId(java.lang.String value) {
13071307
*
13081308
* <pre>
13091309
* Optional. A request ID to identify requests. Specify a unique request ID
1310-
* so that if you must retry your request, the server will know to ignore
1311-
* the request if it has already been completed. The server will guarantee
1312-
* that for at least 60 minutes since the first request.
1310+
* so that if you must retry your request, the server knows to ignore the
1311+
* request if it has already been completed. The server guarantees that for
1312+
* at least 60 minutes after the first request.
13131313
*
13141314
* For example, consider a situation where you make an initial request and the
13151315
* request times out. If you make the request again with the same request ID,
@@ -1336,9 +1336,9 @@ public Builder clearRequestId() {
13361336
*
13371337
* <pre>
13381338
* Optional. A request ID to identify requests. Specify a unique request ID
1339-
* so that if you must retry your request, the server will know to ignore
1340-
* the request if it has already been completed. The server will guarantee
1341-
* that for at least 60 minutes since the first request.
1339+
* so that if you must retry your request, the server knows to ignore the
1340+
* request if it has already been completed. The server guarantees that for
1341+
* at least 60 minutes after the first request.
13421342
*
13431343
* For example, consider a situation where you make an initial request and the
13441344
* request times out. If you make the request again with the same request ID,

java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateAutomationRequestOrBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ public interface CreateAutomationRequestOrBuilder
127127
*
128128
* <pre>
129129
* Optional. A request ID to identify requests. Specify a unique request ID
130-
* so that if you must retry your request, the server will know to ignore
131-
* the request if it has already been completed. The server will guarantee
132-
* that for at least 60 minutes since the first request.
130+
* so that if you must retry your request, the server knows to ignore the
131+
* request if it has already been completed. The server guarantees that for
132+
* at least 60 minutes after the first request.
133133
*
134134
* For example, consider a situation where you make an initial request and the
135135
* request times out. If you make the request again with the same request ID,
@@ -151,9 +151,9 @@ public interface CreateAutomationRequestOrBuilder
151151
*
152152
* <pre>
153153
* Optional. A request ID to identify requests. Specify a unique request ID
154-
* so that if you must retry your request, the server will know to ignore
155-
* the request if it has already been completed. The server will guarantee
156-
* that for at least 60 minutes since the first request.
154+
* so that if you must retry your request, the server knows to ignore the
155+
* request if it has already been completed. The server guarantees that for
156+
* at least 60 minutes after the first request.
157157
*
158158
* For example, consider a situation where you make an initial request and the
159159
* request times out. If you make the request again with the same request ID,

0 commit comments

Comments
 (0)