# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/tasks/v2beta3/queue.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/resource_pb' require 'google/cloud/tasks/v2beta3/target_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/timestamp_pb' Google::Protobuf::DescriptorPool.generated_pool.build 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 :stackdriver_logging_config, :message, 10, "google.cloud.tasks.v2beta3.StackdriverLoggingConfig" 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_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 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 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 end end end end