• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/tasks/v2beta2/queue.proto
18 
19 package com.google.cloud.tasks.v2beta2;
20 
21 public final class QueueProto {
QueueProto()22   private QueueProto() {}
23 
registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
25 
registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
27     registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
28   }
29 
30   static final com.google.protobuf.Descriptors.Descriptor
31       internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
32   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
33       internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable;
34   static final com.google.protobuf.Descriptors.Descriptor
35       internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
36   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
37       internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable;
38   static final com.google.protobuf.Descriptors.Descriptor
39       internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
40   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
41       internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable;
42   static final com.google.protobuf.Descriptors.Descriptor
43       internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor;
44   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
45       internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable;
46 
getDescriptor()47   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
48     return descriptor;
49   }
50 
51   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
52 
53   static {
54     java.lang.String[] descriptorData = {
55       "\n&google/cloud/tasks/v2beta2/queue.proto"
56           + "\022\032google.cloud.tasks.v2beta2\032\037google/api"
57           + "/field_behavior.proto\032\031google/api/resour"
58           + "ce.proto\032\'google/cloud/tasks/v2beta2/tar"
59           + "get.proto\032\036google/protobuf/duration.prot"
60           + "o\032\037google/protobuf/timestamp.proto\"\332\005\n\005Q"
61           + "ueue\022\014\n\004name\030\001 \001(\t\022Q\n\026app_engine_http_ta"
62           + "rget\030\003 \001(\0132/.google.cloud.tasks.v2beta2."
63           + "AppEngineHttpTargetH\000\022=\n\013pull_target\030\004 \001"
64           + "(\0132&.google.cloud.tasks.v2beta2.PullTarg"
65           + "etH\000\022;\n\013rate_limits\030\005 \001(\0132&.google.cloud"
66           + ".tasks.v2beta2.RateLimits\022=\n\014retry_confi"
67           + "g\030\006 \001(\0132\'.google.cloud.tasks.v2beta2.Ret"
68           + "ryConfig\0226\n\005state\030\007 \001(\0162\'.google.cloud.t"
69           + "asks.v2beta2.Queue.State\022.\n\npurge_time\030\010"
70           + " \001(\0132\032.google.protobuf.Timestamp\022+\n\010task"
71           + "_ttl\030\t \001(\0132\031.google.protobuf.Duration\0220\n"
72           + "\rtombstone_ttl\030\n \001(\0132\031.google.protobuf.D"
73           + "uration\022:\n\005stats\030\020 \001(\0132&.google.cloud.ta"
74           + "sks.v2beta2.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021"
75           + "STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUS"
76           + "ED\020\002\022\014\n\010DISABLED\020\003:\\\352AY\n\037cloudtasks.goog"
77           + "leapis.com/Queue\0226projects/{project}/loc"
78           + "ations/{location}/queues/{queue}B\r\n\013targ"
79           + "et_type\"k\n\nRateLimits\022\'\n\037max_tasks_dispa"
80           + "tched_per_second\030\001 \001(\001\022\026\n\016max_burst_size"
81           + "\030\002 \001(\005\022\034\n\024max_concurrent_tasks\030\003 \001(\005\"\201\002\n"
82           + "\013RetryConfig\022\026\n\014max_attempts\030\001 \001(\005H\000\022\034\n\022"
83           + "unlimited_attempts\030\002 \001(\010H\000\0225\n\022max_retry_"
84           + "duration\030\003 \001(\0132\031.google.protobuf.Duratio"
85           + "n\022.\n\013min_backoff\030\004 \001(\0132\031.google.protobuf"
86           + ".Duration\022.\n\013max_backoff\030\005 \001(\0132\031.google."
87           + "protobuf.Duration\022\025\n\rmax_doublings\030\006 \001(\005"
88           + "B\016\n\014num_attempts\"\350\001\n\nQueueStats\022\030\n\013tasks"
89           + "_count\030\001 \001(\003B\003\340A\003\022F\n\035oldest_estimated_ar"
90           + "rival_time\030\002 \001(\0132\032.google.protobuf.Times"
91           + "tampB\003\340A\003\022\'\n\032executed_last_minute_count\030"
92           + "\003 \001(\003B\003\340A\003\022(\n\033concurrent_dispatches_coun"
93           + "t\030\004 \001(\003B\003\340A\003\022%\n\030effective_execution_rate"
94           + "\030\005 \001(\001B\003\340A\003Bs\n\036com.google.cloud.tasks.v2"
95           + "beta2B\nQueueProtoP\001ZCcloud.google.com/go"
96           + "/cloudtasks/apiv2beta2/cloudtaskspb;clou"
97           + "dtaskspbb\006proto3"
98     };
99     descriptor =
100         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
101             descriptorData,
102             new com.google.protobuf.Descriptors.FileDescriptor[] {
103               com.google.api.FieldBehaviorProto.getDescriptor(),
104               com.google.api.ResourceProto.getDescriptor(),
105               com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(),
106               com.google.protobuf.DurationProto.getDescriptor(),
107               com.google.protobuf.TimestampProto.getDescriptor(),
108             });
109     internal_static_google_cloud_tasks_v2beta2_Queue_descriptor =
110         getDescriptor().getMessageTypes().get(0);
111     internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable =
112         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
113             internal_static_google_cloud_tasks_v2beta2_Queue_descriptor,
114             new java.lang.String[] {
115               "Name",
116               "AppEngineHttpTarget",
117               "PullTarget",
118               "RateLimits",
119               "RetryConfig",
120               "State",
121               "PurgeTime",
122               "TaskTtl",
123               "TombstoneTtl",
124               "Stats",
125               "TargetType",
126             });
127     internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor =
128         getDescriptor().getMessageTypes().get(1);
129     internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable =
130         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
131             internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor,
132             new java.lang.String[] {
133               "MaxTasksDispatchedPerSecond", "MaxBurstSize", "MaxConcurrentTasks",
134             });
135     internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor =
136         getDescriptor().getMessageTypes().get(2);
137     internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable =
138         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
139             internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor,
140             new java.lang.String[] {
141               "MaxAttempts",
142               "UnlimitedAttempts",
143               "MaxRetryDuration",
144               "MinBackoff",
145               "MaxBackoff",
146               "MaxDoublings",
147               "NumAttempts",
148             });
149     internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor =
150         getDescriptor().getMessageTypes().get(3);
151     internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable =
152         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
153             internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor,
154             new java.lang.String[] {
155               "TasksCount",
156               "OldestEstimatedArrivalTime",
157               "ExecutedLastMinuteCount",
158               "ConcurrentDispatchesCount",
159               "EffectiveExecutionRate",
160             });
161     com.google.protobuf.ExtensionRegistry registry =
162         com.google.protobuf.ExtensionRegistry.newInstance();
163     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
164     registry.add(com.google.api.ResourceProto.resource);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)165     com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
166         descriptor, registry);
com.google.api.FieldBehaviorProto.getDescriptor()167     com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor()168     com.google.api.ResourceProto.getDescriptor();
com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor()169     com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor();
com.google.protobuf.DurationProto.getDescriptor()170     com.google.protobuf.DurationProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor()171     com.google.protobuf.TimestampProto.getDescriptor();
172   }
173 
174   // @@protoc_insertion_point(outer_class_scope)
175 }
176