/*
 * Copyright 2023 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/v2beta2/queue.proto

package com.google.cloud.tasks.v2beta2;

public final class QueueProto {
  private QueueProto() {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
  }

  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_tasks_v2beta2_Queue_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
    return descriptor;
  }

  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;

  static {
    java.lang.String[] descriptorData = {
      "\n&google/cloud/tasks/v2beta2/queue.proto"
          + "\022\032google.cloud.tasks.v2beta2\032\037google/api"
          + "/field_behavior.proto\032\031google/api/resour"
          + "ce.proto\032\'google/cloud/tasks/v2beta2/tar"
          + "get.proto\032\036google/protobuf/duration.prot"
          + "o\032\037google/protobuf/timestamp.proto\"\232\006\n\005Q"
          + "ueue\022\014\n\004name\030\001 \001(\t\022Q\n\026app_engine_http_ta"
          + "rget\030\003 \001(\0132/.google.cloud.tasks.v2beta2."
          + "AppEngineHttpTargetH\000\022=\n\013pull_target\030\004 \001"
          + "(\0132&.google.cloud.tasks.v2beta2.PullTarg"
          + "etH\000\022=\n\013http_target\030\021 \001(\0132&.google.cloud"
          + ".tasks.v2beta2.HttpTargetH\000\022;\n\013rate_limi"
          + "ts\030\005 \001(\0132&.google.cloud.tasks.v2beta2.Ra"
          + "teLimits\022=\n\014retry_config\030\006 \001(\0132\'.google."
          + "cloud.tasks.v2beta2.RetryConfig\0226\n\005state"
          + "\030\007 \001(\0162\'.google.cloud.tasks.v2beta2.Queu"
          + "e.State\022.\n\npurge_time\030\010 \001(\0132\032.google.pro"
          + "tobuf.Timestamp\022+\n\010task_ttl\030\t \001(\0132\031.goog"
          + "le.protobuf.Duration\0220\n\rtombstone_ttl\030\n "
          + "\001(\0132\031.google.protobuf.Duration\022;\n\005stats\030"
          + "\020 \001(\0132&.google.cloud.tasks.v2beta2.Queue"
          + "StatsB\004\342A\001\003\"E\n\005State\022\025\n\021STATE_UNSPECIFIE"
          + "D\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DISABLED"
          + "\020\003:\\\352AY\n\037cloudtasks.googleapis.com/Queue"
          + "\0226projects/{project}/locations/{location"
          + "}/queues/{queue}B\r\n\013target_type\"k\n\nRateL"
          + "imits\022\'\n\037max_tasks_dispatched_per_second"
          + "\030\001 \001(\001\022\026\n\016max_burst_size\030\002 \001(\005\022\034\n\024max_co"
          + "ncurrent_tasks\030\003 \001(\005\"\201\002\n\013RetryConfig\022\026\n\014"
          + "max_attempts\030\001 \001(\005H\000\022\034\n\022unlimited_attemp"
          + "ts\030\002 \001(\010H\000\0225\n\022max_retry_duration\030\003 \001(\0132\031"
          + ".google.protobuf.Duration\022.\n\013min_backoff"
          + "\030\004 \001(\0132\031.google.protobuf.Duration\022.\n\013max"
          + "_backoff\030\005 \001(\0132\031.google.protobuf.Duratio"
          + "n\022\025\n\rmax_doublings\030\006 \001(\005B\016\n\014num_attempts"
          + "\"\355\001\n\nQueueStats\022\031\n\013tasks_count\030\001 \001(\003B\004\342A"
          + "\001\003\022G\n\035oldest_estimated_arrival_time\030\002 \001("
          + "\0132\032.google.protobuf.TimestampB\004\342A\001\003\022(\n\032e"
          + "xecuted_last_minute_count\030\003 \001(\003B\004\342A\001\003\022)\n"
          + "\033concurrent_dispatches_count\030\004 \001(\003B\004\342A\001\003"
          + "\022&\n\030effective_execution_rate\030\005 \001(\001B\004\342A\001\003"
          + "Bs\n\036com.google.cloud.tasks.v2beta2B\nQueu"
          + "eProtoP\001ZCcloud.google.com/go/cloudtasks"
          + "/apiv2beta2/cloudtaskspb;cloudtaskspbb\006p"
          + "roto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.api.ResourceProto.getDescriptor(),
              com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor(),
              com.google.protobuf.DurationProto.getDescriptor(),
              com.google.protobuf.TimestampProto.getDescriptor(),
            });
    internal_static_google_cloud_tasks_v2beta2_Queue_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_tasks_v2beta2_Queue_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_tasks_v2beta2_Queue_descriptor,
            new java.lang.String[] {
              "Name",
              "AppEngineHttpTarget",
              "PullTarget",
              "HttpTarget",
              "RateLimits",
              "RetryConfig",
              "State",
              "PurgeTime",
              "TaskTtl",
              "TombstoneTtl",
              "Stats",
              "TargetType",
            });
    internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_cloud_tasks_v2beta2_RateLimits_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_tasks_v2beta2_RateLimits_descriptor,
            new java.lang.String[] {
              "MaxTasksDispatchedPerSecond", "MaxBurstSize", "MaxConcurrentTasks",
            });
    internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor =
        getDescriptor().getMessageTypes().get(2);
    internal_static_google_cloud_tasks_v2beta2_RetryConfig_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_tasks_v2beta2_RetryConfig_descriptor,
            new java.lang.String[] {
              "MaxAttempts",
              "UnlimitedAttempts",
              "MaxRetryDuration",
              "MinBackoff",
              "MaxBackoff",
              "MaxDoublings",
              "NumAttempts",
            });
    internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_google_cloud_tasks_v2beta2_QueueStats_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_tasks_v2beta2_QueueStats_descriptor,
            new java.lang.String[] {
              "TasksCount",
              "OldestEstimatedArrivalTime",
              "ExecutedLastMinuteCount",
              "ConcurrentDispatchesCount",
              "EffectiveExecutionRate",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
    registry.add(com.google.api.ResourceProto.resource);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.FieldBehaviorProto.getDescriptor();
    com.google.api.ResourceProto.getDescriptor();
    com.google.cloud.tasks.v2beta2.TargetProto.getDescriptor();
    com.google.protobuf.DurationProto.getDescriptor();
    com.google.protobuf.TimestampProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
