# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/tasks/v2beta3/queue.proto require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/tasks/v2beta3/target_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/timestamp_pb' require 'google/api/annotations_pb' require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/tasks/v2beta3/queue.proto", :syntax => :proto3) do add_message "google.cloud.tasks.v2beta3.Queue" do optional :name, :string, 1 optional :rate_limits, :message, 4, "google.cloud.tasks.v2beta3.RateLimits" optional :retry_config, :message, 5, "google.cloud.tasks.v2beta3.RetryConfig" optional :state, :enum, 6, "google.cloud.tasks.v2beta3.Queue.State" optional :purge_time, :message, 7, "google.protobuf.Timestamp" optional :task_ttl, :message, 8, "google.protobuf.Duration" optional :tombstone_ttl, :message, 9, "google.protobuf.Duration" optional :stackdriver_logging_config, :message, 10, "google.cloud.tasks.v2beta3.StackdriverLoggingConfig" optional :type, :enum, 11, "google.cloud.tasks.v2beta3.Queue.Type" optional :stats, :message, 12, "google.cloud.tasks.v2beta3.QueueStats" oneof :queue_type do optional :app_engine_http_queue, :message, 3, "google.cloud.tasks.v2beta3.AppEngineHttpQueue" end end add_enum "google.cloud.tasks.v2beta3.Queue.State" do value :STATE_UNSPECIFIED, 0 value :RUNNING, 1 value :PAUSED, 2 value :DISABLED, 3 end add_enum "google.cloud.tasks.v2beta3.Queue.Type" do value :TYPE_UNSPECIFIED, 0 value :PULL, 1 value :PUSH, 2 end add_message "google.cloud.tasks.v2beta3.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.v2beta3.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 add_message "google.cloud.tasks.v2beta3.StackdriverLoggingConfig" do optional :sampling_ratio, :double, 1 end add_message "google.cloud.tasks.v2beta3.QueueStats" do optional :tasks_count, :int64, 1 optional :oldest_estimated_arrival_time, :message, 2, "google.protobuf.Timestamp" optional :executed_last_minute_count, :int64, 3 optional :concurrent_dispatches_count, :int64, 4 optional :effective_execution_rate, :double, 5 end end end module Google module Cloud module Tasks module V2beta3 Queue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.Queue").msgclass Queue::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.Queue.State").enummodule Queue::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.Queue.Type").enummodule RateLimits = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.RateLimits").msgclass RetryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.RetryConfig").msgclass StackdriverLoggingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.StackdriverLoggingConfig").msgclass QueueStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.QueueStats").msgclass end end end end