# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/advisorynotifications/v1/service.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/timestamp_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/advisorynotifications/v1/service.proto", :syntax => :proto3) do add_message "google.cloud.advisorynotifications.v1.Notification" do optional :name, :string, 1 optional :subject, :message, 2, "google.cloud.advisorynotifications.v1.Subject" repeated :messages, :message, 3, "google.cloud.advisorynotifications.v1.Message" optional :create_time, :message, 4, "google.protobuf.Timestamp" end add_message "google.cloud.advisorynotifications.v1.Text" do optional :en_text, :string, 1 optional :localized_text, :string, 2 optional :localization_state, :enum, 3, "google.cloud.advisorynotifications.v1.LocalizationState" end add_message "google.cloud.advisorynotifications.v1.Subject" do optional :text, :message, 1, "google.cloud.advisorynotifications.v1.Text" end add_message "google.cloud.advisorynotifications.v1.Message" do optional :body, :message, 1, "google.cloud.advisorynotifications.v1.Message.Body" repeated :attachments, :message, 2, "google.cloud.advisorynotifications.v1.Attachment" optional :create_time, :message, 3, "google.protobuf.Timestamp" optional :localization_time, :message, 4, "google.protobuf.Timestamp" end add_message "google.cloud.advisorynotifications.v1.Message.Body" do optional :text, :message, 1, "google.cloud.advisorynotifications.v1.Text" end add_message "google.cloud.advisorynotifications.v1.Attachment" do optional :display_name, :string, 1 oneof :data do optional :csv, :message, 2, "google.cloud.advisorynotifications.v1.Csv" end end add_message "google.cloud.advisorynotifications.v1.Csv" do repeated :headers, :string, 1 repeated :data_rows, :message, 2, "google.cloud.advisorynotifications.v1.Csv.CsvRow" end add_message "google.cloud.advisorynotifications.v1.Csv.CsvRow" do repeated :entries, :string, 1 end add_message "google.cloud.advisorynotifications.v1.ListNotificationsRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 optional :view, :enum, 4, "google.cloud.advisorynotifications.v1.NotificationView" optional :language_code, :string, 5 end add_message "google.cloud.advisorynotifications.v1.ListNotificationsResponse" do repeated :notifications, :message, 1, "google.cloud.advisorynotifications.v1.Notification" optional :next_page_token, :string, 2 optional :total_size, :int32, 3 end add_message "google.cloud.advisorynotifications.v1.GetNotificationRequest" do optional :name, :string, 1 optional :language_code, :string, 5 end add_enum "google.cloud.advisorynotifications.v1.NotificationView" do value :NOTIFICATION_VIEW_UNSPECIFIED, 0 value :BASIC, 1 value :FULL, 2 end add_enum "google.cloud.advisorynotifications.v1.LocalizationState" do value :LOCALIZATION_STATE_UNSPECIFIED, 0 value :LOCALIZATION_STATE_NOT_APPLICABLE, 1 value :LOCALIZATION_STATE_PENDING, 2 value :LOCALIZATION_STATE_COMPLETED, 3 end end end module Google module Cloud module AdvisoryNotifications module V1 Notification = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.Notification").msgclass Text = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.Text").msgclass Subject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.Subject").msgclass Message = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.Message").msgclass Message::Body = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.Message.Body").msgclass Attachment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.Attachment").msgclass Csv = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.Csv").msgclass Csv::CsvRow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.Csv.CsvRow").msgclass ListNotificationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.ListNotificationsRequest").msgclass ListNotificationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.ListNotificationsResponse").msgclass GetNotificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.GetNotificationRequest").msgclass NotificationView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.NotificationView").enummodule LocalizationState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.LocalizationState").enummodule end end end end