This repository has been archived by the owner on Sep 16, 2023. It is now read-only.
/
QueueOrBuilder.java
610 lines (596 loc) · 23.2 KB
/
QueueOrBuilder.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/tasks/v2beta3/queue.proto
package com.google.cloud.tasks.v2beta3;
public interface QueueOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.Queue)
com.google.protobuf.MessageOrBuilder {
/**
*
*
* <pre>
* Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
* after which it becomes output only.
* The queue name.
* The queue name must have the following format:
* `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
* * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
* hyphens (-), colons (:), or periods (.).
* For more information, see
* [Identifying
* projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)
* * `LOCATION_ID` is the canonical ID for the queue's location.
* The list of available locations can be obtained by calling
* [ListLocations][google.cloud.location.Locations.ListLocations].
* For more information, see https://cloud.google.com/about/locations/.
* * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
* hyphens (-). The maximum length is 100 characters.
* </pre>
*
* <code>string name = 1;</code>
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
* <pre>
* Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
* after which it becomes output only.
* The queue name.
* The queue name must have the following format:
* `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
* * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
* hyphens (-), colons (:), or periods (.).
* For more information, see
* [Identifying
* projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)
* * `LOCATION_ID` is the canonical ID for the queue's location.
* The list of available locations can be obtained by calling
* [ListLocations][google.cloud.location.Locations.ListLocations].
* For more information, see https://cloud.google.com/about/locations/.
* * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
* hyphens (-). The maximum length is 100 characters.
* </pre>
*
* <code>string name = 1;</code>
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
* <pre>
* [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
* [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
* [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;</code>
*
* @return Whether the appEngineHttpQueue field is set.
*/
boolean hasAppEngineHttpQueue();
/**
*
*
* <pre>
* [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
* [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
* [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;</code>
*
* @return The appEngineHttpQueue.
*/
com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue();
/**
*
*
* <pre>
* [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
* [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
* [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3;</code>
*/
com.google.cloud.tasks.v2beta3.AppEngineHttpQueueOrBuilder getAppEngineHttpQueueOrBuilder();
/**
*
*
* <pre>
* Rate limits for task dispatches.
* [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
* related because they both control task attempts. However they control task
* attempts in different ways:
* * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
* dispatches from a queue (i.e. all traffic dispatched from the
* queue, regardless of whether the dispatch is from a first
* attempt or a retry).
* * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
* particular a task after its first attempt fails. That is,
* [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
* second attempt, third attempt, etc).
* The queue's actual dispatch rate is the result of:
* * Number of tasks in the queue
* * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
* [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
* [queue's state][google.cloud.tasks.v2beta3.Queue.state].
* * System throttling due to `429` (Too Many Requests) or `503` (Service
* Unavailable) responses from the worker, high error rates, or to smooth
* sudden large traffic spikes.
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.RateLimits rate_limits = 4;</code>
*
* @return Whether the rateLimits field is set.
*/
boolean hasRateLimits();
/**
*
*
* <pre>
* Rate limits for task dispatches.
* [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
* related because they both control task attempts. However they control task
* attempts in different ways:
* * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
* dispatches from a queue (i.e. all traffic dispatched from the
* queue, regardless of whether the dispatch is from a first
* attempt or a retry).
* * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
* particular a task after its first attempt fails. That is,
* [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
* second attempt, third attempt, etc).
* The queue's actual dispatch rate is the result of:
* * Number of tasks in the queue
* * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
* [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
* [queue's state][google.cloud.tasks.v2beta3.Queue.state].
* * System throttling due to `429` (Too Many Requests) or `503` (Service
* Unavailable) responses from the worker, high error rates, or to smooth
* sudden large traffic spikes.
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.RateLimits rate_limits = 4;</code>
*
* @return The rateLimits.
*/
com.google.cloud.tasks.v2beta3.RateLimits getRateLimits();
/**
*
*
* <pre>
* Rate limits for task dispatches.
* [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
* related because they both control task attempts. However they control task
* attempts in different ways:
* * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
* dispatches from a queue (i.e. all traffic dispatched from the
* queue, regardless of whether the dispatch is from a first
* attempt or a retry).
* * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
* particular a task after its first attempt fails. That is,
* [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
* second attempt, third attempt, etc).
* The queue's actual dispatch rate is the result of:
* * Number of tasks in the queue
* * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
* [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
* [queue's state][google.cloud.tasks.v2beta3.Queue.state].
* * System throttling due to `429` (Too Many Requests) or `503` (Service
* Unavailable) responses from the worker, high error rates, or to smooth
* sudden large traffic spikes.
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.RateLimits rate_limits = 4;</code>
*/
com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder();
/**
*
*
* <pre>
* Settings that determine the retry behavior.
* * For tasks created using Cloud Tasks: the queue-level retry settings
* apply to all tasks in the queue that were created using Cloud Tasks.
* Retry settings cannot be set on individual tasks.
* * For tasks created using the App Engine SDK: the queue-level retry
* settings apply to all tasks in the queue which do not have retry settings
* explicitly set on the task and were created by the App Engine SDK. See
* [App Engine
* documentation](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks).
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.RetryConfig retry_config = 5;</code>
*
* @return Whether the retryConfig field is set.
*/
boolean hasRetryConfig();
/**
*
*
* <pre>
* Settings that determine the retry behavior.
* * For tasks created using Cloud Tasks: the queue-level retry settings
* apply to all tasks in the queue that were created using Cloud Tasks.
* Retry settings cannot be set on individual tasks.
* * For tasks created using the App Engine SDK: the queue-level retry
* settings apply to all tasks in the queue which do not have retry settings
* explicitly set on the task and were created by the App Engine SDK. See
* [App Engine
* documentation](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks).
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.RetryConfig retry_config = 5;</code>
*
* @return The retryConfig.
*/
com.google.cloud.tasks.v2beta3.RetryConfig getRetryConfig();
/**
*
*
* <pre>
* Settings that determine the retry behavior.
* * For tasks created using Cloud Tasks: the queue-level retry settings
* apply to all tasks in the queue that were created using Cloud Tasks.
* Retry settings cannot be set on individual tasks.
* * For tasks created using the App Engine SDK: the queue-level retry
* settings apply to all tasks in the queue which do not have retry settings
* explicitly set on the task and were created by the App Engine SDK. See
* [App Engine
* documentation](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks).
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.RetryConfig retry_config = 5;</code>
*/
com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuilder();
/**
*
*
* <pre>
* Output only. The state of the queue.
* `state` can only be changed by calling
* [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue],
* [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading
* [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
* [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be used to change `state`.
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.Queue.State state = 6;</code>
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*
* <pre>
* Output only. The state of the queue.
* `state` can only be changed by calling
* [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue],
* [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading
* [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
* [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be used to change `state`.
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.Queue.State state = 6;</code>
*
* @return The state.
*/
com.google.cloud.tasks.v2beta3.Queue.State getState();
/**
*
*
* <pre>
* Output only. The last time this queue was purged.
* All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
* were purged.
* A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
* [App Engine Task Queue SDK, or the Cloud
* Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
* Purge time will be truncated to the nearest microsecond. Purge
* time will be unset if the queue has never been purged.
* </pre>
*
* <code>.google.protobuf.Timestamp purge_time = 7;</code>
*
* @return Whether the purgeTime field is set.
*/
boolean hasPurgeTime();
/**
*
*
* <pre>
* Output only. The last time this queue was purged.
* All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
* were purged.
* A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
* [App Engine Task Queue SDK, or the Cloud
* Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
* Purge time will be truncated to the nearest microsecond. Purge
* time will be unset if the queue has never been purged.
* </pre>
*
* <code>.google.protobuf.Timestamp purge_time = 7;</code>
*
* @return The purgeTime.
*/
com.google.protobuf.Timestamp getPurgeTime();
/**
*
*
* <pre>
* Output only. The last time this queue was purged.
* All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
* were purged.
* A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
* [App Engine Task Queue SDK, or the Cloud
* Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
* Purge time will be truncated to the nearest microsecond. Purge
* time will be unset if the queue has never been purged.
* </pre>
*
* <code>.google.protobuf.Timestamp purge_time = 7;</code>
*/
com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
/**
*
*
* <pre>
* The maximum amount of time that a task will be retained in
* this queue.
* Queues created by Cloud Tasks have a default `task_ttl` of 31 days.
* After a task has lived for `task_ttl`, the task will be deleted
* regardless of whether it was dispatched or not.
* The `task_ttl` for queues created via queue.yaml/xml is equal to the
* maximum duration because there is a
* [storage quota](https://cloud.google.com/appengine/quotas#Task_Queue) for
* these queues. To view the maximum valid duration, see the documentation for
* [Duration][google.protobuf.Duration].
* </pre>
*
* <code>.google.protobuf.Duration task_ttl = 8;</code>
*
* @return Whether the taskTtl field is set.
*/
boolean hasTaskTtl();
/**
*
*
* <pre>
* The maximum amount of time that a task will be retained in
* this queue.
* Queues created by Cloud Tasks have a default `task_ttl` of 31 days.
* After a task has lived for `task_ttl`, the task will be deleted
* regardless of whether it was dispatched or not.
* The `task_ttl` for queues created via queue.yaml/xml is equal to the
* maximum duration because there is a
* [storage quota](https://cloud.google.com/appengine/quotas#Task_Queue) for
* these queues. To view the maximum valid duration, see the documentation for
* [Duration][google.protobuf.Duration].
* </pre>
*
* <code>.google.protobuf.Duration task_ttl = 8;</code>
*
* @return The taskTtl.
*/
com.google.protobuf.Duration getTaskTtl();
/**
*
*
* <pre>
* The maximum amount of time that a task will be retained in
* this queue.
* Queues created by Cloud Tasks have a default `task_ttl` of 31 days.
* After a task has lived for `task_ttl`, the task will be deleted
* regardless of whether it was dispatched or not.
* The `task_ttl` for queues created via queue.yaml/xml is equal to the
* maximum duration because there is a
* [storage quota](https://cloud.google.com/appengine/quotas#Task_Queue) for
* these queues. To view the maximum valid duration, see the documentation for
* [Duration][google.protobuf.Duration].
* </pre>
*
* <code>.google.protobuf.Duration task_ttl = 8;</code>
*/
com.google.protobuf.DurationOrBuilder getTaskTtlOrBuilder();
/**
*
*
* <pre>
* The task tombstone time to live (TTL).
* After a task is deleted or executed, the task's tombstone is
* retained for the length of time specified by `tombstone_ttl`.
* The tombstone is used by task de-duplication; another task with the same
* name can't be created until the tombstone has expired. For more information
* about task de-duplication, see the documentation for
* [CreateTaskRequest][google.cloud.tasks.v2beta3.CreateTaskRequest.task].
* Queues created by Cloud Tasks have a default `tombstone_ttl` of 1 hour.
* </pre>
*
* <code>.google.protobuf.Duration tombstone_ttl = 9;</code>
*
* @return Whether the tombstoneTtl field is set.
*/
boolean hasTombstoneTtl();
/**
*
*
* <pre>
* The task tombstone time to live (TTL).
* After a task is deleted or executed, the task's tombstone is
* retained for the length of time specified by `tombstone_ttl`.
* The tombstone is used by task de-duplication; another task with the same
* name can't be created until the tombstone has expired. For more information
* about task de-duplication, see the documentation for
* [CreateTaskRequest][google.cloud.tasks.v2beta3.CreateTaskRequest.task].
* Queues created by Cloud Tasks have a default `tombstone_ttl` of 1 hour.
* </pre>
*
* <code>.google.protobuf.Duration tombstone_ttl = 9;</code>
*
* @return The tombstoneTtl.
*/
com.google.protobuf.Duration getTombstoneTtl();
/**
*
*
* <pre>
* The task tombstone time to live (TTL).
* After a task is deleted or executed, the task's tombstone is
* retained for the length of time specified by `tombstone_ttl`.
* The tombstone is used by task de-duplication; another task with the same
* name can't be created until the tombstone has expired. For more information
* about task de-duplication, see the documentation for
* [CreateTaskRequest][google.cloud.tasks.v2beta3.CreateTaskRequest.task].
* Queues created by Cloud Tasks have a default `tombstone_ttl` of 1 hour.
* </pre>
*
* <code>.google.protobuf.Duration tombstone_ttl = 9;</code>
*/
com.google.protobuf.DurationOrBuilder getTombstoneTtlOrBuilder();
/**
*
*
* <pre>
* Configuration options for writing logs to
* [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
* field is unset, then no logs are written.
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10;
* </code>
*
* @return Whether the stackdriverLoggingConfig field is set.
*/
boolean hasStackdriverLoggingConfig();
/**
*
*
* <pre>
* Configuration options for writing logs to
* [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
* field is unset, then no logs are written.
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10;
* </code>
*
* @return The stackdriverLoggingConfig.
*/
com.google.cloud.tasks.v2beta3.StackdriverLoggingConfig getStackdriverLoggingConfig();
/**
*
*
* <pre>
* Configuration options for writing logs to
* [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
* field is unset, then no logs are written.
* </pre>
*
* <code>.google.cloud.tasks.v2beta3.StackdriverLoggingConfig stackdriver_logging_config = 10;
* </code>
*/
com.google.cloud.tasks.v2beta3.StackdriverLoggingConfigOrBuilder
getStackdriverLoggingConfigOrBuilder();
/**
*
*
* <pre>
* Immutable. The type of a queue (push or pull).
* `Queue.type` is an immutable property of the queue that is set at the queue
* creation time. When left unspecified, the default value of `PUSH` is
* selected.
* </pre>
*
* <code>
* .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE];
* </code>
*
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
*
*
* <pre>
* Immutable. The type of a queue (push or pull).
* `Queue.type` is an immutable property of the queue that is set at the queue
* creation time. When left unspecified, the default value of `PUSH` is
* selected.
* </pre>
*
* <code>
* .google.cloud.tasks.v2beta3.Queue.Type type = 11 [(.google.api.field_behavior) = IMMUTABLE];
* </code>
*
* @return The type.
*/
com.google.cloud.tasks.v2beta3.Queue.Type getType();
/**
*
*
* <pre>
* Output only. The realtime, informational statistics for a queue. In order
* to receive the statistics the caller should include this field in the
* FieldMask.
* </pre>
*
* <code>
* .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @return Whether the stats field is set.
*/
boolean hasStats();
/**
*
*
* <pre>
* Output only. The realtime, informational statistics for a queue. In order
* to receive the statistics the caller should include this field in the
* FieldMask.
* </pre>
*
* <code>
* .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*
* @return The stats.
*/
com.google.cloud.tasks.v2beta3.QueueStats getStats();
/**
*
*
* <pre>
* Output only. The realtime, informational statistics for a queue. In order
* to receive the statistics the caller should include this field in the
* FieldMask.
* </pre>
*
* <code>
* .google.cloud.tasks.v2beta3.QueueStats stats = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
* </code>
*/
com.google.cloud.tasks.v2beta3.QueueStatsOrBuilder getStatsOrBuilder();
public com.google.cloud.tasks.v2beta3.Queue.QueueTypeCase getQueueTypeCase();
}