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

feat(v2beta3): add type to Queue #181

Merged
merged 3 commits into from Jun 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>7.0.0</version>
<version>7.0.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
19 changes: 19 additions & 0 deletions proto-google-cloud-tasks-v2beta2/clirr-ignored-differences.xml
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/tasks/v2beta2/*OrBuilder</className>
<method>* get*(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/tasks/v2beta2/*OrBuilder</className>
<method>boolean contains*(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/tasks/v2beta2/*OrBuilder</className>
<method>boolean has*(*)</method>
</difference>
</differences>
19 changes: 19 additions & 0 deletions proto-google-cloud-tasks-v2beta3/clirr-ignored-differences.xml
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/tasks/v2beta3/*OrBuilder</className>
<method>* get*(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/tasks/v2beta3/*OrBuilder</className>
<method>boolean contains*(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/tasks/v2beta3/*OrBuilder</className>
<method>boolean has*(*)</method>
</difference>
</differences>
Expand Up @@ -45,10 +45,10 @@
* The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to construct the URL that the task is
* delivered to can be set at the queue-level or task-level:
* * If set,
* [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override]
* is used for all tasks in the queue, no matter what the setting
* is for the
* [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
* [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override]
* is used for all tasks in the queue, no matter what the setting
* is for the
* [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
* The `url` that the task will be sent to is:
* * `url =` [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] `+`
* [relative_uri][google.cloud.tasks.v2beta3.AppEngineHttpRequest.relative_uri]
Expand Down Expand Up @@ -224,14 +224,11 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
* <pre>
* The HTTP method to use for the request. The default is POST.
* The app's request handler for the task's target URL must be able to handle
* HTTP requests with this http_method, otherwise the task attempt will fail
* with error code 405 (Method Not Allowed). See
* [Writing a push task request
* HTTP requests with this http_method, otherwise the task attempt fails with
* error code 405 (Method Not Allowed). See [Writing a push task request
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
* and the documentation for the request handlers in the language your app is
* written in e.g.
* [Python Request
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
* and the App Engine documentation for your runtime on [How Requests are
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>
Expand All @@ -248,14 +245,11 @@ public int getHttpMethodValue() {
* <pre>
* The HTTP method to use for the request. The default is POST.
* The app's request handler for the task's target URL must be able to handle
* HTTP requests with this http_method, otherwise the task attempt will fail
* with error code 405 (Method Not Allowed). See
* [Writing a push task request
* HTTP requests with this http_method, otherwise the task attempt fails with
* error code 405 (Method Not Allowed). See [Writing a push task request
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
* and the documentation for the request handlers in the language your app is
* written in e.g.
* [Python Request
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
* and the App Engine documentation for your runtime on [How Requests are
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>
Expand Down Expand Up @@ -870,10 +864,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to construct the URL that the task is
* delivered to can be set at the queue-level or task-level:
* * If set,
* [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override]
* is used for all tasks in the queue, no matter what the setting
* is for the
* [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
* [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override]
* is used for all tasks in the queue, no matter what the setting
* is for the
* [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
* The `url` that the task will be sent to is:
* * `url =` [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] `+`
* [relative_uri][google.cloud.tasks.v2beta3.AppEngineHttpRequest.relative_uri]
Expand Down Expand Up @@ -1111,14 +1105,11 @@ public Builder mergeFrom(
* <pre>
* The HTTP method to use for the request. The default is POST.
* The app's request handler for the task's target URL must be able to handle
* HTTP requests with this http_method, otherwise the task attempt will fail
* with error code 405 (Method Not Allowed). See
* [Writing a push task request
* HTTP requests with this http_method, otherwise the task attempt fails with
* error code 405 (Method Not Allowed). See [Writing a push task request
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
* and the documentation for the request handlers in the language your app is
* written in e.g.
* [Python Request
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
* and the App Engine documentation for your runtime on [How Requests are
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>
Expand All @@ -1135,14 +1126,11 @@ public int getHttpMethodValue() {
* <pre>
* The HTTP method to use for the request. The default is POST.
* The app's request handler for the task's target URL must be able to handle
* HTTP requests with this http_method, otherwise the task attempt will fail
* with error code 405 (Method Not Allowed). See
* [Writing a push task request
* HTTP requests with this http_method, otherwise the task attempt fails with
* error code 405 (Method Not Allowed). See [Writing a push task request
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
* and the documentation for the request handlers in the language your app is
* written in e.g.
* [Python Request
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
* and the App Engine documentation for your runtime on [How Requests are
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>
Expand All @@ -1162,14 +1150,11 @@ public Builder setHttpMethodValue(int value) {
* <pre>
* The HTTP method to use for the request. The default is POST.
* The app's request handler for the task's target URL must be able to handle
* HTTP requests with this http_method, otherwise the task attempt will fail
* with error code 405 (Method Not Allowed). See
* [Writing a push task request
* HTTP requests with this http_method, otherwise the task attempt fails with
* error code 405 (Method Not Allowed). See [Writing a push task request
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
* and the documentation for the request handlers in the language your app is
* written in e.g.
* [Python Request
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
* and the App Engine documentation for your runtime on [How Requests are
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>
Expand All @@ -1189,14 +1174,11 @@ public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() {
* <pre>
* The HTTP method to use for the request. The default is POST.
* The app's request handler for the task's target URL must be able to handle
* HTTP requests with this http_method, otherwise the task attempt will fail
* with error code 405 (Method Not Allowed). See
* [Writing a push task request
* HTTP requests with this http_method, otherwise the task attempt fails with
* error code 405 (Method Not Allowed). See [Writing a push task request
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
* and the documentation for the request handlers in the language your app is
* written in e.g.
* [Python Request
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
* and the App Engine documentation for your runtime on [How Requests are
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>
Expand All @@ -1219,14 +1201,11 @@ public Builder setHttpMethod(com.google.cloud.tasks.v2beta3.HttpMethod value) {
* <pre>
* The HTTP method to use for the request. The default is POST.
* The app's request handler for the task's target URL must be able to handle
* HTTP requests with this http_method, otherwise the task attempt will fail
* with error code 405 (Method Not Allowed). See
* [Writing a push task request
* HTTP requests with this http_method, otherwise the task attempt fails with
* error code 405 (Method Not Allowed). See [Writing a push task request
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
* and the documentation for the request handlers in the language your app is
* written in e.g.
* [Python Request
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
* and the App Engine documentation for your runtime on [How Requests are
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>
Expand Down
Expand Up @@ -29,14 +29,11 @@ public interface AppEngineHttpRequestOrBuilder
* <pre>
* The HTTP method to use for the request. The default is POST.
* The app's request handler for the task's target URL must be able to handle
* HTTP requests with this http_method, otherwise the task attempt will fail
* with error code 405 (Method Not Allowed). See
* [Writing a push task request
* HTTP requests with this http_method, otherwise the task attempt fails with
* error code 405 (Method Not Allowed). See [Writing a push task request
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
* and the documentation for the request handlers in the language your app is
* written in e.g.
* [Python Request
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
* and the App Engine documentation for your runtime on [How Requests are
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>
Expand All @@ -50,14 +47,11 @@ public interface AppEngineHttpRequestOrBuilder
* <pre>
* The HTTP method to use for the request. The default is POST.
* The app's request handler for the task's target URL must be able to handle
* HTTP requests with this http_method, otherwise the task attempt will fail
* with error code 405 (Method Not Allowed). See
* [Writing a push task request
* HTTP requests with this http_method, otherwise the task attempt fails with
* error code 405 (Method Not Allowed). See [Writing a push task request
* handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
* and the documentation for the request handlers in the language your app is
* written in e.g.
* [Python Request
* Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
* and the App Engine documentation for your runtime on [How Requests are
* Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 1;</code>
Expand Down