# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/pubsub/v1/pubsub.proto require 'google/protobuf' require 'google/api/annotations' require 'google/protobuf/empty' require 'google/protobuf/timestamp' Google::Protobuf::DescriptorPool.generated_pool.build do add_message "google.pubsub.v1.Topic" do optional :name, :string, 1 end add_message "google.pubsub.v1.PubsubMessage" do optional :data, :bytes, 1 map :attributes, :string, :string, 2 optional :message_id, :string, 3 optional :publish_time, :message, 4, "google.protobuf.Timestamp" end add_message "google.pubsub.v1.GetTopicRequest" do optional :topic, :string, 1 end add_message "google.pubsub.v1.PublishRequest" do optional :topic, :string, 1 repeated :messages, :message, 2, "google.pubsub.v1.PubsubMessage" end add_message "google.pubsub.v1.PublishResponse" do repeated :message_ids, :string, 1 end add_message "google.pubsub.v1.ListTopicsRequest" do optional :project, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 end add_message "google.pubsub.v1.ListTopicsResponse" do repeated :topics, :message, 1, "google.pubsub.v1.Topic" optional :next_page_token, :string, 2 end add_message "google.pubsub.v1.ListTopicSubscriptionsRequest" do optional :topic, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 end add_message "google.pubsub.v1.ListTopicSubscriptionsResponse" do repeated :subscriptions, :string, 1 optional :next_page_token, :string, 2 end add_message "google.pubsub.v1.DeleteTopicRequest" do optional :topic, :string, 1 end add_message "google.pubsub.v1.Subscription" do optional :name, :string, 1 optional :topic, :string, 2 optional :push_config, :message, 4, "google.pubsub.v1.PushConfig" optional :ack_deadline_seconds, :int32, 5 end add_message "google.pubsub.v1.PushConfig" do optional :push_endpoint, :string, 1 map :attributes, :string, :string, 2 end add_message "google.pubsub.v1.ReceivedMessage" do optional :ack_id, :string, 1 optional :message, :message, 2, "google.pubsub.v1.PubsubMessage" end add_message "google.pubsub.v1.GetSubscriptionRequest" do optional :subscription, :string, 1 end add_message "google.pubsub.v1.ListSubscriptionsRequest" do optional :project, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 end add_message "google.pubsub.v1.ListSubscriptionsResponse" do repeated :subscriptions, :message, 1, "google.pubsub.v1.Subscription" optional :next_page_token, :string, 2 end add_message "google.pubsub.v1.DeleteSubscriptionRequest" do optional :subscription, :string, 1 end add_message "google.pubsub.v1.ModifyPushConfigRequest" do optional :subscription, :string, 1 optional :push_config, :message, 2, "google.pubsub.v1.PushConfig" end add_message "google.pubsub.v1.PullRequest" do optional :subscription, :string, 1 optional :return_immediately, :bool, 2 optional :max_messages, :int32, 3 end add_message "google.pubsub.v1.PullResponse" do repeated :received_messages, :message, 1, "google.pubsub.v1.ReceivedMessage" end add_message "google.pubsub.v1.ModifyAckDeadlineRequest" do optional :subscription, :string, 1 repeated :ack_ids, :string, 4 optional :ack_deadline_seconds, :int32, 3 end add_message "google.pubsub.v1.AcknowledgeRequest" do optional :subscription, :string, 1 repeated :ack_ids, :string, 2 end end module Google module Pubsub module V1 Topic = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.Topic").msgclass PubsubMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.PubsubMessage").msgclass GetTopicRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.GetTopicRequest").msgclass PublishRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.PublishRequest").msgclass PublishResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.PublishResponse").msgclass ListTopicsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.ListTopicsRequest").msgclass ListTopicsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.ListTopicsResponse").msgclass ListTopicSubscriptionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.ListTopicSubscriptionsRequest").msgclass ListTopicSubscriptionsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.ListTopicSubscriptionsResponse").msgclass DeleteTopicRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.DeleteTopicRequest").msgclass Subscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.Subscription").msgclass PushConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.PushConfig").msgclass ReceivedMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.ReceivedMessage").msgclass GetSubscriptionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.GetSubscriptionRequest").msgclass ListSubscriptionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.ListSubscriptionsRequest").msgclass ListSubscriptionsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.ListSubscriptionsResponse").msgclass DeleteSubscriptionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.DeleteSubscriptionRequest").msgclass ModifyPushConfigRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.ModifyPushConfigRequest").msgclass PullRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.PullRequest").msgclass PullResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.PullResponse").msgclass ModifyAckDeadlineRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.ModifyAckDeadlineRequest").msgclass AcknowledgeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.AcknowledgeRequest").msgclass end end end