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

Commit f76fe21

Browse files
feat(v2beta3): add type to Queue (#181)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/a3e09c0b-006d-4d98-8e96-744af862718e/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 317130948 Source-Link: googleapis/googleapis@eb37e68
1 parent 31c1c52 commit f76fe21

17 files changed

+573
-165
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
1717
<dependency>
1818
<groupId>com.google.cloud</groupId>
1919
<artifactId>libraries-bom</artifactId>
20-
<version>7.0.0</version>
20+
<version>7.0.1</version>
2121
<type>pom</type>
2222
<scope>import</scope>
2323
</dependency>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
3+
<differences>
4+
<difference>
5+
<differenceType>7012</differenceType>
6+
<className>com/google/cloud/tasks/v2beta2/*OrBuilder</className>
7+
<method>* get*(*)</method>
8+
</difference>
9+
<difference>
10+
<differenceType>7012</differenceType>
11+
<className>com/google/cloud/tasks/v2beta2/*OrBuilder</className>
12+
<method>boolean contains*(*)</method>
13+
</difference>
14+
<difference>
15+
<differenceType>7012</differenceType>
16+
<className>com/google/cloud/tasks/v2beta2/*OrBuilder</className>
17+
<method>boolean has*(*)</method>
18+
</difference>
19+
</differences>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
3+
<differences>
4+
<difference>
5+
<differenceType>7012</differenceType>
6+
<className>com/google/cloud/tasks/v2beta3/*OrBuilder</className>
7+
<method>* get*(*)</method>
8+
</difference>
9+
<difference>
10+
<differenceType>7012</differenceType>
11+
<className>com/google/cloud/tasks/v2beta3/*OrBuilder</className>
12+
<method>boolean contains*(*)</method>
13+
</difference>
14+
<difference>
15+
<differenceType>7012</differenceType>
16+
<className>com/google/cloud/tasks/v2beta3/*OrBuilder</className>
17+
<method>boolean has*(*)</method>
18+
</difference>
19+
</differences>

proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java

+36-57
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
* The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to construct the URL that the task is
4646
* delivered to can be set at the queue-level or task-level:
4747
* * If set,
48-
* [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override]
49-
* is used for all tasks in the queue, no matter what the setting
50-
* is for the
51-
* [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
48+
* [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override]
49+
* is used for all tasks in the queue, no matter what the setting
50+
* is for the
51+
* [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
5252
* The `url` that the task will be sent to is:
5353
* * `url =` [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] `+`
5454
* [relative_uri][google.cloud.tasks.v2beta3.AppEngineHttpRequest.relative_uri]
@@ -224,14 +224,11 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
224224
* <pre>
225225
* The HTTP method to use for the request. The default is POST.
226226
* The app's request handler for the task's target URL must be able to handle
227-
* HTTP requests with this http_method, otherwise the task attempt will fail
228-
* with error code 405 (Method Not Allowed). See
229-
* [Writing a push task request
227+
* HTTP requests with this http_method, otherwise the task attempt fails with
228+
* error code 405 (Method Not Allowed). See [Writing a push task request
230229
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
231-
* and the documentation for the request handlers in the language your app is
232-
* written in e.g.
233-
* [Python Request
234-
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
230+
* and the App Engine documentation for your runtime on [How Requests are
231+
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
235232
* </pre>
236233
*
237234
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>
@@ -248,14 +245,11 @@ public int getHttpMethodValue() {
248245
* <pre>
249246
* The HTTP method to use for the request. The default is POST.
250247
* The app's request handler for the task's target URL must be able to handle
251-
* HTTP requests with this http_method, otherwise the task attempt will fail
252-
* with error code 405 (Method Not Allowed). See
253-
* [Writing a push task request
248+
* HTTP requests with this http_method, otherwise the task attempt fails with
249+
* error code 405 (Method Not Allowed). See [Writing a push task request
254250
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
255-
* and the documentation for the request handlers in the language your app is
256-
* written in e.g.
257-
* [Python Request
258-
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
251+
* and the App Engine documentation for your runtime on [How Requests are
252+
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
259253
* </pre>
260254
*
261255
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>
@@ -870,10 +864,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
870864
* The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to construct the URL that the task is
871865
* delivered to can be set at the queue-level or task-level:
872866
* * If set,
873-
* [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override]
874-
* is used for all tasks in the queue, no matter what the setting
875-
* is for the
876-
* [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
867+
* [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override]
868+
* is used for all tasks in the queue, no matter what the setting
869+
* is for the
870+
* [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
877871
* The `url` that the task will be sent to is:
878872
* * `url =` [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] `+`
879873
* [relative_uri][google.cloud.tasks.v2beta3.AppEngineHttpRequest.relative_uri]
@@ -1111,14 +1105,11 @@ public Builder mergeFrom(
11111105
* <pre>
11121106
* The HTTP method to use for the request. The default is POST.
11131107
* The app's request handler for the task's target URL must be able to handle
1114-
* HTTP requests with this http_method, otherwise the task attempt will fail
1115-
* with error code 405 (Method Not Allowed). See
1116-
* [Writing a push task request
1108+
* HTTP requests with this http_method, otherwise the task attempt fails with
1109+
* error code 405 (Method Not Allowed). See [Writing a push task request
11171110
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
1118-
* and the documentation for the request handlers in the language your app is
1119-
* written in e.g.
1120-
* [Python Request
1121-
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
1111+
* and the App Engine documentation for your runtime on [How Requests are
1112+
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
11221113
* </pre>
11231114
*
11241115
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>
@@ -1135,14 +1126,11 @@ public int getHttpMethodValue() {
11351126
* <pre>
11361127
* The HTTP method to use for the request. The default is POST.
11371128
* The app's request handler for the task's target URL must be able to handle
1138-
* HTTP requests with this http_method, otherwise the task attempt will fail
1139-
* with error code 405 (Method Not Allowed). See
1140-
* [Writing a push task request
1129+
* HTTP requests with this http_method, otherwise the task attempt fails with
1130+
* error code 405 (Method Not Allowed). See [Writing a push task request
11411131
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
1142-
* and the documentation for the request handlers in the language your app is
1143-
* written in e.g.
1144-
* [Python Request
1145-
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
1132+
* and the App Engine documentation for your runtime on [How Requests are
1133+
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
11461134
* </pre>
11471135
*
11481136
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>
@@ -1162,14 +1150,11 @@ public Builder setHttpMethodValue(int value) {
11621150
* <pre>
11631151
* The HTTP method to use for the request. The default is POST.
11641152
* The app's request handler for the task's target URL must be able to handle
1165-
* HTTP requests with this http_method, otherwise the task attempt will fail
1166-
* with error code 405 (Method Not Allowed). See
1167-
* [Writing a push task request
1153+
* HTTP requests with this http_method, otherwise the task attempt fails with
1154+
* error code 405 (Method Not Allowed). See [Writing a push task request
11681155
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
1169-
* and the documentation for the request handlers in the language your app is
1170-
* written in e.g.
1171-
* [Python Request
1172-
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
1156+
* and the App Engine documentation for your runtime on [How Requests are
1157+
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
11731158
* </pre>
11741159
*
11751160
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>
@@ -1189,14 +1174,11 @@ public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() {
11891174
* <pre>
11901175
* The HTTP method to use for the request. The default is POST.
11911176
* The app's request handler for the task's target URL must be able to handle
1192-
* HTTP requests with this http_method, otherwise the task attempt will fail
1193-
* with error code 405 (Method Not Allowed). See
1194-
* [Writing a push task request
1177+
* HTTP requests with this http_method, otherwise the task attempt fails with
1178+
* error code 405 (Method Not Allowed). See [Writing a push task request
11951179
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
1196-
* and the documentation for the request handlers in the language your app is
1197-
* written in e.g.
1198-
* [Python Request
1199-
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
1180+
* and the App Engine documentation for your runtime on [How Requests are
1181+
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
12001182
* </pre>
12011183
*
12021184
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>
@@ -1219,14 +1201,11 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) {
12191201
* <pre>
12201202
* The HTTP method to use for the request. The default is POST.
12211203
* The app's request handler for the task's target URL must be able to handle
1222-
* HTTP requests with this http_method, otherwise the task attempt will fail
1223-
* with error code 405 (Method Not Allowed). See
1224-
* [Writing a push task request
1204+
* HTTP requests with this http_method, otherwise the task attempt fails with
1205+
* error code 405 (Method Not Allowed). See [Writing a push task request
12251206
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
1226-
* and the documentation for the request handlers in the language your app is
1227-
* written in e.g.
1228-
* [Python Request
1229-
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
1207+
* and the App Engine documentation for your runtime on [How Requests are
1208+
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
12301209
* </pre>
12311210
*
12321211
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>

proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java

+8-14
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,11 @@ public interface AppEngineHttpRequestOrBuilder
2929
* <pre>
3030
* The HTTP method to use for the request. The default is POST.
3131
* The app's request handler for the task's target URL must be able to handle
32-
* HTTP requests with this http_method, otherwise the task attempt will fail
33-
* with error code 405 (Method Not Allowed). See
34-
* [Writing a push task request
32+
* HTTP requests with this http_method, otherwise the task attempt fails with
33+
* error code 405 (Method Not Allowed). See [Writing a push task request
3534
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
36-
* and the documentation for the request handlers in the language your app is
37-
* written in e.g.
38-
* [Python Request
39-
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
35+
* and the App Engine documentation for your runtime on [How Requests are
36+
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
4037
* </pre>
4138
*
4239
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>
@@ -50,14 +47,11 @@ public interface AppEngineHttpRequestOrBuilder
5047
* <pre>
5148
* The HTTP method to use for the request. The default is POST.
5249
* The app's request handler for the task's target URL must be able to handle
53-
* HTTP requests with this http_method, otherwise the task attempt will fail
54-
* with error code 405 (Method Not Allowed). See
55-
* [Writing a push task request
50+
* HTTP requests with this http_method, otherwise the task attempt fails with
51+
* error code 405 (Method Not Allowed). See [Writing a push task request
5652
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
57-
* and the documentation for the request handlers in the language your app is
58-
* written in e.g.
59-
* [Python Request
60-
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
53+
* and the App Engine documentation for your runtime on [How Requests are
54+
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
6155
* </pre>
6256
*
6357
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>

0 commit comments

Comments
 (0)