Debian Codegraph @

cloudtasks/apiv2beta3/cloudtaskspb/task.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/tasks/v2beta3/task.proto
20
21 package cloudtaskspb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 status "google.golang.org/genproto/googleapis/rpc/status"
26 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
27 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
28 durationpb "google.golang.org/protobuf/types/known/durationpb"
29 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
30 reflect "reflect"
31 sync "sync"
32 )
33
34 const (
35 // Verify that this generated code is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37 // Verify that runtime/protoimpl is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39 )
40
41 // The view specifies a subset of [Task][google.cloud.tasks.v2beta3.Task]
42 // data.
43 //
44 // When a task is returned in a response, not all
45 // information is retrieved by default because some data, such as
46 // payloads, might be desirable to return only when needed because
47 // of its large size or because of the sensitivity of data that it
48 // contains.
49 type Task_View int32
50
51 const (
52 // Unspecified. Defaults to BASIC.
53 Task_VIEW_UNSPECIFIED Task_View = 0
54 // The basic view omits fields which can be large or can contain
55 // sensitive data.
56 //
57 // This view does not include the
58 // [body in
59 // AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body].
60 // Bodies are desirable to return only when needed, because they
61 // can be large and because of the sensitivity of the data that you
62 // choose to store in it.
63 Task_BASIC Task_View = 1
64 // All information is returned.
65 //
66 // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
67 // requires `cloudtasks.tasks.fullView` [Google
68 // IAM](https://cloud.google.com/iam/) permission on the
69 // [Queue][google.cloud.tasks.v2beta3.Queue] resource.
70 Task_FULL Task_View = 2
71 )
72
73 // Enum value maps for Task_View.
74 var (
75 Task_View_name = map[int32]string{
76 0: "VIEW_UNSPECIFIED",
77 1: "BASIC",
78 2: "FULL",
79 }
80 Task_View_value = map[string]int32{
81 "VIEW_UNSPECIFIED": 0,
82 "BASIC": 1,
83 "FULL": 2,
84 }
85 )
86
87 func (x Task_View) Enum() *Task_View {
88 p := new(Task_View)
89 *p = x
90 return p
91 }
92
93 func (x Task_View) String() string {
94 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
95 }
96
97 func (Task_View) Descriptor() protoreflect.EnumDescriptor {
98 return file_google_cloud_tasks_v2beta3_task_proto_enumTypes[0].Descriptor()
99 }
100
101 func (Task_View) Type() protoreflect.EnumType {
102 return &file_google_cloud_tasks_v2beta3_task_proto_enumTypes[0]
103 }
104
105 func (x Task_View) Number() protoreflect.EnumNumber {
106 return protoreflect.EnumNumber(x)
107 }
108
109 // Deprecated: Use Task_View.Descriptor instead.
110 func (Task_View) EnumDescriptor() ([]byte, []int) {
111 return file_google_cloud_tasks_v2beta3_task_proto_rawDescGZIP(), []int{0, 0}
112 }
113
114 // A unit of scheduled work.
115 type Task struct {
116 state protoimpl.MessageState
117 sizeCache protoimpl.SizeCache
118 unknownFields protoimpl.UnknownFields
119
120 // Optionally caller-specified in
121 // [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
122 //
123 // The task name.
124 //
125 // The task name must have the following format:
126 // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
127 //
128 // - `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
129 // hyphens (-), colons (:), or periods (.).
130 // For more information, see
131 // [Identifying
132 // projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)
133 // - `LOCATION_ID` is the canonical ID for the task's location.
134 // The list of available locations can be obtained by calling
135 // [ListLocations][google.cloud.location.Locations.ListLocations].
136 // For more information, see https://cloud.google.com/about/locations/.
137 // - `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
138 // hyphens (-). The maximum length is 100 characters.
139 // - `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
140 // hyphens (-), or underscores (_). The maximum length is 500 characters.
141 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
142 // Required. The message to send to the worker.
143 //
144 // Types that are assignable to PayloadType:
145 //
146 // *Task_AppEngineHttpRequest
147 // *Task_HttpRequest
148 // *Task_PullMessage
149 PayloadType isTask_PayloadType `protobuf_oneof:"payload_type"`
150 // The time when the task is scheduled to be attempted.
151 //
152 // For App Engine queues, this is when the task will be attempted or retried.
153 //
154 // `schedule_time` will be truncated to the nearest microsecond.
155 ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
156 // Output only. The time that the task was created.
157 //
158 // `create_time` will be truncated to the nearest second.
159 CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
160 // The deadline for requests sent to the worker. If the worker does not
161 // respond by this deadline then the request is cancelled and the attempt
162 // is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
163 // task according to the
164 // [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
165 //
166 // Note that when the request is cancelled, Cloud Tasks will stop listening
167 // for the response, but whether the worker stops processing depends on the
168 // worker. For example, if the worker is stuck, it may not react to cancelled
169 // requests.
170 //
171 // The default and maximum values depend on the type of request:
172 //
173 // * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is
174 // 10 minutes. The deadline
175 //
176 // must be in the interval [15 seconds, 30 minutes].
177 //
178 // * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest],
179 // 0 indicates that the
180 //
181 // request has the default deadline. The default deadline depends on the
182 // [scaling
183 // type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
184 // of the service: 10 minutes for standard apps with automatic scaling, 24
185 // hours for standard apps with manual and basic scaling, and 60 minutes for
186 // flex apps. If the request deadline is set, it must be in the interval [15
187 // seconds, 24 hours 15 seconds]. Regardless of the task's
188 // `dispatch_deadline`, the app handler will not run for longer than than
189 // the service's timeout. We recommend setting the `dispatch_deadline` to
190 // at most a few seconds more than the app handler's timeout. For more
191 // information see
192 // [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
193 //
194 // `dispatch_deadline` will be truncated to the nearest millisecond. The
195 // deadline is an approximate deadline.
196 DispatchDeadline *durationpb.Duration `protobuf:"bytes,12,opt,name=dispatch_deadline,json=dispatchDeadline,proto3" json:"dispatch_deadline,omitempty"`
197 // Output only. The number of attempts dispatched.
198 //
199 // This count includes attempts which have been dispatched but haven't
200 // received a response.
201 DispatchCount int32 `protobuf:"varint,6,opt,name=dispatch_count,json=dispatchCount,proto3" json:"dispatch_count,omitempty"`
202 // Output only. The number of attempts which have received a response.
203 ResponseCount int32 `protobuf:"varint,7,opt,name=response_count,json=responseCount,proto3" json:"response_count,omitempty"`
204 // Output only. The status of the task's first attempt.
205 //
206 // Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will
207 // be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information
208 // is not retained by Cloud Tasks.
209 FirstAttempt *Attempt `protobuf:"bytes,8,opt,name=first_attempt,json=firstAttempt,proto3" json:"first_attempt,omitempty"`
210 // Output only. The status of the task's last attempt.
211 LastAttempt *Attempt `protobuf:"bytes,9,opt,name=last_attempt,json=lastAttempt,proto3" json:"last_attempt,omitempty"`
212 // Output only. The view specifies which subset of the
213 // [Task][google.cloud.tasks.v2beta3.Task] has been returned.
214 View Task_View `protobuf:"varint,10,opt,name=view,proto3,enum=google.cloud.tasks.v2beta3.Task_View" json:"view,omitempty"`
215 }
216
217 func (x *Task) Reset() {
218 *x = Task{}
219 mi := &file_google_cloud_tasks_v2beta3_task_proto_msgTypes[0]
220 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
221 ms.StoreMessageInfo(mi)
222 }
223
224 func (x *Task) String() string {
225 return protoimpl.X.MessageStringOf(x)
226 }
227
228 func (*Task) ProtoMessage() {}
229
230 func (x *Task) ProtoReflect() protoreflect.Message {
231 mi := &file_google_cloud_tasks_v2beta3_task_proto_msgTypes[0]
232 if x != nil {
233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
234 if ms.LoadMessageInfo() == nil {
235 ms.StoreMessageInfo(mi)
236 }
237 return ms
238 }
239 return mi.MessageOf(x)
240 }
241
242 // Deprecated: Use Task.ProtoReflect.Descriptor instead.
243 func (*Task) Descriptor() ([]byte, []int) {
244 return file_google_cloud_tasks_v2beta3_task_proto_rawDescGZIP(), []int{0}
245 }
246
247 func (x *Task) GetName() string {
248 if x != nil {
249 return x.Name
250 }
251 return ""
252 }
253
254 func (m *Task) GetPayloadType() isTask_PayloadType {
255 if m != nil {
256 return m.PayloadType
257 }
258 return nil
259 }
260
261 func (x *Task) GetAppEngineHttpRequest() *AppEngineHttpRequest {
262 if x, ok := x.GetPayloadType().(*Task_AppEngineHttpRequest); ok {
263 return x.AppEngineHttpRequest
264 }
265 return nil
266 }
267
268 func (x *Task) GetHttpRequest() *HttpRequest {
269 if x, ok := x.GetPayloadType().(*Task_HttpRequest); ok {
270 return x.HttpRequest
271 }
272 return nil
273 }
274
275 func (x *Task) GetPullMessage() *PullMessage {
276 if x, ok := x.GetPayloadType().(*Task_PullMessage); ok {
277 return x.PullMessage
278 }
279 return nil
280 }
281
282 func (x *Task) GetScheduleTime() *timestamppb.Timestamp {
283 if x != nil {
284 return x.ScheduleTime
285 }
286 return nil
287 }
288
289 func (x *Task) GetCreateTime() *timestamppb.Timestamp {
290 if x != nil {
291 return x.CreateTime
292 }
293 return nil
294 }
295
296 func (x *Task) GetDispatchDeadline() *durationpb.Duration {
297 if x != nil {
298 return x.DispatchDeadline
299 }
300 return nil
301 }
302
303 func (x *Task) GetDispatchCount() int32 {
304 if x != nil {
305 return x.DispatchCount
306 }
307 return 0
308 }
309
310 func (x *Task) GetResponseCount() int32 {
311 if x != nil {
312 return x.ResponseCount
313 }
314 return 0
315 }
316
317 func (x *Task) GetFirstAttempt() *Attempt {
318 if x != nil {
319 return x.FirstAttempt
320 }
321 return nil
322 }
323
324 func (x *Task) GetLastAttempt() *Attempt {
325 if x != nil {
326 return x.LastAttempt
327 }
328 return nil
329 }
330
331 func (x *Task) GetView() Task_View {
332 if x != nil {
333 return x.View
334 }
335 return Task_VIEW_UNSPECIFIED
336 }
337
338 type isTask_PayloadType interface {
339 isTask_PayloadType()
340 }
341
342 type Task_AppEngineHttpRequest struct {
343 // HTTP request that is sent to the App Engine app handler.
344 //
345 // An App Engine task is a task that has
346 // [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
347 // set.
348 AppEngineHttpRequest *AppEngineHttpRequest `protobuf:"bytes,3,opt,name=app_engine_http_request,json=appEngineHttpRequest,proto3,oneof"`
349 }
350
351 type Task_HttpRequest struct {
352 // HTTP request that is sent to the task's target.
353 //
354 // An HTTP task is a task that has
355 // [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
356 HttpRequest *HttpRequest `protobuf:"bytes,11,opt,name=http_request,json=httpRequest,proto3,oneof"`
357 }
358
359 type Task_PullMessage struct {
360 // Pull Message contained in a task in a
361 // [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This payload
362 // type cannot be explicitly set through Cloud Tasks API. Its purpose,
363 // currently is to provide backward compatibility with App Engine Task Queue
364 // [pull](https://cloud.google.com/appengine/docs/standard/java/taskqueue/pull/)
365 // queues to provide a way to inspect contents of pull tasks through the
366 // [CloudTasks.GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
367 PullMessage *PullMessage `protobuf:"bytes,13,opt,name=pull_message,json=pullMessage,proto3,oneof"`
368 }
369
370 func (*Task_AppEngineHttpRequest) isTask_PayloadType() {}
371
372 func (*Task_HttpRequest) isTask_PayloadType() {}
373
374 func (*Task_PullMessage) isTask_PayloadType() {}
375
376 // The status of a task attempt.
377 type Attempt struct {
378 state protoimpl.MessageState
379 sizeCache protoimpl.SizeCache
380 unknownFields protoimpl.UnknownFields
381
382 // Output only. The time that this attempt was scheduled.
383 //
384 // `schedule_time` will be truncated to the nearest microsecond.
385 ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
386 // Output only. The time that this attempt was dispatched.
387 //
388 // `dispatch_time` will be truncated to the nearest microsecond.
389 DispatchTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=dispatch_time,json=dispatchTime,proto3" json:"dispatch_time,omitempty"`
390 // Output only. The time that this attempt response was received.
391 //
392 // `response_time` will be truncated to the nearest microsecond.
393 ResponseTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=response_time,json=responseTime,proto3" json:"response_time,omitempty"`
394 // Output only. The response from the worker for this attempt.
395 //
396 // If `response_time` is unset, then the task has not been attempted or is
397 // currently running and the `response_status` field is meaningless.
398 ResponseStatus *status.Status `protobuf:"bytes,4,opt,name=response_status,json=responseStatus,proto3" json:"response_status,omitempty"`
399 }
400
401 func (x *Attempt) Reset() {
402 *x = Attempt{}
403 mi := &file_google_cloud_tasks_v2beta3_task_proto_msgTypes[1]
404 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
405 ms.StoreMessageInfo(mi)
406 }
407
408 func (x *Attempt) String() string {
409 return protoimpl.X.MessageStringOf(x)
410 }
411
412 func (*Attempt) ProtoMessage() {}
413
414 func (x *Attempt) ProtoReflect() protoreflect.Message {
415 mi := &file_google_cloud_tasks_v2beta3_task_proto_msgTypes[1]
416 if x != nil {
417 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
418 if ms.LoadMessageInfo() == nil {
419 ms.StoreMessageInfo(mi)
420 }
421 return ms
422 }
423 return mi.MessageOf(x)
424 }
425
426 // Deprecated: Use Attempt.ProtoReflect.Descriptor instead.
427 func (*Attempt) Descriptor() ([]byte, []int) {
428 return file_google_cloud_tasks_v2beta3_task_proto_rawDescGZIP(), []int{1}
429 }
430
431 func (x *Attempt) GetScheduleTime() *timestamppb.Timestamp {
432 if x != nil {
433 return x.ScheduleTime
434 }
435 return nil
436 }
437
438 func (x *Attempt) GetDispatchTime() *timestamppb.Timestamp {
439 if x != nil {
440 return x.DispatchTime
441 }
442 return nil
443 }
444
445 func (x *Attempt) GetResponseTime() *timestamppb.Timestamp {
446 if x != nil {
447 return x.ResponseTime
448 }
449 return nil
450 }
451
452 func (x *Attempt) GetResponseStatus() *status.Status {
453 if x != nil {
454 return x.ResponseStatus
455 }
456 return nil
457 }
458
459 var File_google_cloud_tasks_v2beta3_task_proto protoreflect.FileDescriptor
460
461 var file_google_cloud_tasks_v2beta3_task_proto_rawDesc = []byte{
462 0x0a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74,
463 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2f, 0x74, 0x61, 0x73,
464 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
465 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65,
466 0x74, 0x61, 0x33, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
467 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27,
468 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74, 0x61, 0x73,
469 0x6b, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2f, 0x74, 0x61, 0x72, 0x67, 0x65,
470 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
471 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
472 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
473 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
474 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
475 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
476 0x6f, 0x22, 0xaf, 0x07, 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
477 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x69,
478 0x0a, 0x17, 0x61, 0x70, 0x70, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x68, 0x74, 0x74,
479 0x70, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
480 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74,
481 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x41, 0x70, 0x70,
482 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
483 0x74, 0x48, 0x00, 0x52, 0x14, 0x61, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x48, 0x74,
484 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x0c, 0x68, 0x74, 0x74,
485 0x70, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32,
486 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74,
487 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x48, 0x74, 0x74,
488 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x68, 0x74, 0x74, 0x70,
489 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x0c, 0x70, 0x75, 0x6c, 0x6c, 0x5f,
490 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e,
491 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73,
492 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x50, 0x75, 0x6c, 0x6c, 0x4d,
493 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x75, 0x6c, 0x6c, 0x4d, 0x65,
494 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c,
495 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
496 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
497 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75,
498 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
499 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
500 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
501 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,
502 0x69, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x11, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f,
503 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
504 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
505 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x64, 0x69, 0x73, 0x70, 0x61,
506 0x74, 0x63, 0x68, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x64,
507 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20,
508 0x01, 0x28, 0x05, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x75,
509 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63,
510 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x70,
511 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x48, 0x0a, 0x0d, 0x66, 0x69, 0x72,
512 0x73, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
513 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
514 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x41, 0x74,
515 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x41, 0x74, 0x74, 0x65,
516 0x6d, 0x70, 0x74, 0x12, 0x46, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x65,
517 0x6d, 0x70, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
518 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76,
519 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x52, 0x0b,
520 0x6c, 0x61, 0x73, 0x74, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x76,
521 0x69, 0x65, 0x77, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
522 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76,
523 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x56, 0x69, 0x65, 0x77,
524 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x22, 0x31, 0x0a, 0x04, 0x56, 0x69, 0x65, 0x77, 0x12, 0x14,
525 0x0a, 0x10, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
526 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12,
527 0x08, 0x0a, 0x04, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x3a, 0x68, 0xea, 0x41, 0x65, 0x0a, 0x1e,
528 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
529 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x43,
530 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
531 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f,
532 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x2f, 0x7b,
533 0x71, 0x75, 0x65, 0x75, 0x65, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x7b, 0x74, 0x61,
534 0x73, 0x6b, 0x7d, 0x42, 0x0e, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x74,
535 0x79, 0x70, 0x65, 0x22, 0x89, 0x02, 0x0a, 0x07, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x12,
536 0x3f, 0x0a, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
537 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
538 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
539 0x6d, 0x70, 0x52, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65,
540 0x12, 0x3f, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x69, 0x6d,
541 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
542 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
543 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x54, 0x69, 0x6d,
544 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x69,
545 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
546 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
547 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x69,
548 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x73,
549 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f,
550 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
551 0x0e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42,
552 0x72, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
553 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61,
554 0x33, 0x42, 0x09, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43,
555 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
556 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x61,
557 0x70, 0x69, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74,
558 0x61, 0x73, 0x6b, 0x73, 0x70, 0x62, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b,
559 0x73, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
560 }
561
562 var (
563 file_google_cloud_tasks_v2beta3_task_proto_rawDescOnce sync.Once
564 file_google_cloud_tasks_v2beta3_task_proto_rawDescData = file_google_cloud_tasks_v2beta3_task_proto_rawDesc
565 )
566
567 func file_google_cloud_tasks_v2beta3_task_proto_rawDescGZIP() []byte {
568 file_google_cloud_tasks_v2beta3_task_proto_rawDescOnce.Do(func() {
569 file_google_cloud_tasks_v2beta3_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_tasks_v2beta3_task_proto_rawDescData)
570 })
571 return file_google_cloud_tasks_v2beta3_task_proto_rawDescData
572 }
573
574 var file_google_cloud_tasks_v2beta3_task_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
575 var file_google_cloud_tasks_v2beta3_task_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
576 var file_google_cloud_tasks_v2beta3_task_proto_goTypes = []any{
577 (Task_View)(0), // 0: google.cloud.tasks.v2beta3.Task.View
578 (*Task)(nil), // 1: google.cloud.tasks.v2beta3.Task
579 (*Attempt)(nil), // 2: google.cloud.tasks.v2beta3.Attempt
580 (*AppEngineHttpRequest)(nil), // 3: google.cloud.tasks.v2beta3.AppEngineHttpRequest
581 (*HttpRequest)(nil), // 4: google.cloud.tasks.v2beta3.HttpRequest
582 (*PullMessage)(nil), // 5: google.cloud.tasks.v2beta3.PullMessage
583 (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
584 (*durationpb.Duration)(nil), // 7: google.protobuf.Duration
585 (*status.Status)(nil), // 8: google.rpc.Status
586 }
587 var file_google_cloud_tasks_v2beta3_task_proto_depIdxs = []int32{
588 3, // 0: google.cloud.tasks.v2beta3.Task.app_engine_http_request:type_name -> google.cloud.tasks.v2beta3.AppEngineHttpRequest
589 4, // 1: google.cloud.tasks.v2beta3.Task.http_request:type_name -> google.cloud.tasks.v2beta3.HttpRequest
590 5, // 2: google.cloud.tasks.v2beta3.Task.pull_message:type_name -> google.cloud.tasks.v2beta3.PullMessage
591 6, // 3: google.cloud.tasks.v2beta3.Task.schedule_time:type_name -> google.protobuf.Timestamp
592 6, // 4: google.cloud.tasks.v2beta3.Task.create_time:type_name -> google.protobuf.Timestamp
593 7, // 5: google.cloud.tasks.v2beta3.Task.dispatch_deadline:type_name -> google.protobuf.Duration
594 2, // 6: google.cloud.tasks.v2beta3.Task.first_attempt:type_name -> google.cloud.tasks.v2beta3.Attempt
595 2, // 7: google.cloud.tasks.v2beta3.Task.last_attempt:type_name -> google.cloud.tasks.v2beta3.Attempt
596 0, // 8: google.cloud.tasks.v2beta3.Task.view:type_name -> google.cloud.tasks.v2beta3.Task.View
597 6, // 9: google.cloud.tasks.v2beta3.Attempt.schedule_time:type_name -> google.protobuf.Timestamp
598 6, // 10: google.cloud.tasks.v2beta3.Attempt.dispatch_time:type_name -> google.protobuf.Timestamp
599 6, // 11: google.cloud.tasks.v2beta3.Attempt.response_time:type_name -> google.protobuf.Timestamp
600 8, // 12: google.cloud.tasks.v2beta3.Attempt.response_status:type_name -> google.rpc.Status
601 13, // [13:13] is the sub-list for method output_type
602 13, // [13:13] is the sub-list for method input_type
603 13, // [13:13] is the sub-list for extension type_name
604 13, // [13:13] is the sub-list for extension extendee
605 0, // [0:13] is the sub-list for field type_name
606 }
607
608 func init() { file_google_cloud_tasks_v2beta3_task_proto_init() }
609 func file_google_cloud_tasks_v2beta3_task_proto_init() {
610 if File_google_cloud_tasks_v2beta3_task_proto != nil {
611 return
612 }
613 file_google_cloud_tasks_v2beta3_target_proto_init()
614 file_google_cloud_tasks_v2beta3_task_proto_msgTypes[0].OneofWrappers = []any{
615 (*Task_AppEngineHttpRequest)(nil),
616 (*Task_HttpRequest)(nil),
617 (*Task_PullMessage)(nil),
618 }
619 type x struct{}
620 out := protoimpl.TypeBuilder{
621 File: protoimpl.DescBuilder{
622 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
623 RawDescriptor: file_google_cloud_tasks_v2beta3_task_proto_rawDesc,
624 NumEnums: 1,
625 NumMessages: 2,
626 NumExtensions: 0,
627 NumServices: 0,
628 },
629 GoTypes: file_google_cloud_tasks_v2beta3_task_proto_goTypes,
630 DependencyIndexes: file_google_cloud_tasks_v2beta3_task_proto_depIdxs,
631 EnumInfos: file_google_cloud_tasks_v2beta3_task_proto_enumTypes,
632 MessageInfos: file_google_cloud_tasks_v2beta3_task_proto_msgTypes,
633 }.Build()
634 File_google_cloud_tasks_v2beta3_task_proto = out.File
635 file_google_cloud_tasks_v2beta3_task_proto_rawDesc = nil
636 file_google_cloud_tasks_v2beta3_task_proto_goTypes = nil
637 file_google_cloud_tasks_v2beta3_task_proto_depIdxs = nil
638 }