# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/logging/v2/logging_config.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/timestamp_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "google.logging.v2.LogSink" do
    optional :name, :string, 1
    optional :destination, :string, 3
    optional :filter, :string, 5
    optional :output_version_format, :enum, 6, "google.logging.v2.LogSink.VersionFormat"
  end
  add_enum "google.logging.v2.LogSink.VersionFormat" do
    value :VERSION_FORMAT_UNSPECIFIED, 0
    value :V2, 1
    value :V1, 2
  end
  add_message "google.logging.v2.ListSinksRequest" do
    optional :parent, :string, 1
    optional :page_token, :string, 2
    optional :page_size, :int32, 3
  end
  add_message "google.logging.v2.ListSinksResponse" do
    repeated :sinks, :message, 1, "google.logging.v2.LogSink"
    optional :next_page_token, :string, 2
  end
  add_message "google.logging.v2.GetSinkRequest" do
    optional :sink_name, :string, 1
  end
  add_message "google.logging.v2.CreateSinkRequest" do
    optional :parent, :string, 1
    optional :sink, :message, 2, "google.logging.v2.LogSink"
  end
  add_message "google.logging.v2.UpdateSinkRequest" do
    optional :sink_name, :string, 1
    optional :sink, :message, 2, "google.logging.v2.LogSink"
  end
  add_message "google.logging.v2.DeleteSinkRequest" do
    optional :sink_name, :string, 1
  end
end

module Google
  module Logging
    module V2
      LogSink = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogSink").msgclass
      LogSink::VersionFormat = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogSink.VersionFormat").enummodule
      ListSinksRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListSinksRequest").msgclass
      ListSinksResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListSinksResponse").msgclass
      GetSinkRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.GetSinkRequest").msgclass
      CreateSinkRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.CreateSinkRequest").msgclass
      UpdateSinkRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.UpdateSinkRequest").msgclass
      DeleteSinkRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.DeleteSinkRequest").msgclass
    end
  end
end
