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