# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/tasks/v2/queue.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/cloud/tasks/v2/target_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/timestamp_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_message "google.cloud.tasks.v2.Queue" do optional :name, :string, 1 optional :app_engine_routing_override, :message, 2, "google.cloud.tasks.v2.AppEngineRouting" optional :rate_limits, :message, 3, "google.cloud.tasks.v2.RateLimits" optional :retry_config, :message, 4, "google.cloud.tasks.v2.RetryConfig" optional :state, :enum, 5, "google.cloud.tasks.v2.Queue.State" optional :purge_time, :message, 6, "google.protobuf.Timestamp" end add_enum "google.cloud.tasks.v2.Queue.State" do value :STATE_UNSPECIFIED, 0 value :RUNNING, 1 value :PAUSED, 2 value :DISABLED, 3 end add_message "google.cloud.tasks.v2.RateLimits" do optional :max_dispatches_per_second, :double, 1 optional :max_burst_size, :int32, 2 optional :max_concurrent_dispatches, :int32, 3 end add_message "google.cloud.tasks.v2.RetryConfig" do optional :max_attempts, :int32, 1 optional :max_retry_duration, :message, 2, "google.protobuf.Duration" optional :min_backoff, :message, 3, "google.protobuf.Duration" optional :max_backoff, :message, 4, "google.protobuf.Duration" optional :max_doublings, :int32, 5 end end module Google module Cloud module Tasks module V2 Queue = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2.Queue").msgclass Queue::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2.Queue.State").enummodule RateLimits = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2.RateLimits").msgclass RetryConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2.RetryConfig").msgclass end end end end