/*
 * 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/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\"\332\005\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\013rate_limits\030\005 \001(\0132&.google.cloud"
          + ".tasks.v2beta2.RateLimits\022=\n\014retry_confi"
          + "g\030\006 \001(\0132\'.google.cloud.tasks.v2beta2.Ret"
          + "ryConfig\0226\n\005state\030\007 \001(\0162\'.google.cloud.t"
          + "asks.v2beta2.Queue.State\022.\n\npurge_time\030\010"
          + " \001(\0132\032.google.protobuf.Timestamp\022+\n\010task"
          + "_ttl\030\t \001(\0132\031.google.protobuf.Duration\0220\n"
          + "\rtombstone_ttl\030\n \001(\0132\031.google.protobuf.D"
          + "uration\022:\n\005stats\030\020 \001(\0132&.google.cloud.ta"
          + "sks.v2beta2.QueueStatsB\003\340A\003\"E\n\005State\022\025\n\021"
          + "STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUS"
          + "ED\020\002\022\014\n\010DISABLED\020\003:\\\352AY\n\037cloudtasks.goog"
          + "leapis.com/Queue\0226projects/{project}/loc"
          + "ations/{location}/queues/{queue}B\r\n\013targ"
          + "et_type\"k\n\nRateLimits\022\'\n\037max_tasks_dispa"
          + "tched_per_second\030\001 \001(\001\022\026\n\016max_burst_size"
          + "\030\002 \001(\005\022\034\n\024max_concurrent_tasks\030\003 \001(\005\"\201\002\n"
          + "\013RetryConfig\022\026\n\014max_attempts\030\001 \001(\005H\000\022\034\n\022"
          + "unlimited_attempts\030\002 \001(\010H\000\0225\n\022max_retry_"
          + "duration\030\003 \001(\0132\031.google.protobuf.Duratio"
          + "n\022.\n\013min_backoff\030\004 \001(\0132\031.google.protobuf"
          + ".Duration\022.\n\013max_backoff\030\005 \001(\0132\031.google."
          + "protobuf.Duration\022\025\n\rmax_doublings\030\006 \001(\005"
          + "B\016\n\014num_attempts\"\350\001\n\nQueueStats\022\030\n\013tasks"
          + "_count\030\001 \001(\003B\003\340A\003\022F\n\035oldest_estimated_ar"
          + "rival_time\030\002 \001(\0132\032.google.protobuf.Times"
          + "tampB\003\340A\003\022\'\n\032executed_last_minute_count\030"
          + "\003 \001(\003B\003\340A\003\022(\n\033concurrent_dispatches_coun"
          + "t\030\004 \001(\003B\003\340A\003\022%\n\030effective_execution_rate"
          + "\030\005 \001(\001B\003\340A\003Bs\n\036com.google.cloud.tasks.v2"
          + "beta2B\nQueueProtoP\001ZCcloud.google.com/go"
          + "/cloudtasks/apiv2beta2/cloudtaskspb;clou"
          + "dtaskspbb\006proto3"
    };
    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",
              "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)
}
