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

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/monitored_resource_pb'
require 'google/logging/v2/log_entry_pb'
require 'google/protobuf/duration_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/timestamp_pb'
require 'google/rpc/status_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "google.logging.v2.DeleteLogRequest" do
    optional :log_name, :string, 1
  end
  add_message "google.logging.v2.WriteLogEntriesRequest" do
    optional :log_name, :string, 1
    optional :resource, :message, 2, "google.api.MonitoredResource"
    map :labels, :string, :string, 3
    repeated :entries, :message, 4, "google.logging.v2.LogEntry"
    optional :partial_success, :bool, 5
  end
  add_message "google.logging.v2.WriteLogEntriesResponse" do
  end
  add_message "google.logging.v2.WriteLogEntriesPartialErrors" do
    map :log_entry_errors, :int32, :message, 1, "google.rpc.Status"
  end
  add_message "google.logging.v2.ListLogEntriesRequest" do
    repeated :project_ids, :string, 1
    repeated :resource_names, :string, 8
    optional :filter, :string, 2
    optional :order_by, :string, 3
    optional :page_size, :int32, 4
    optional :page_token, :string, 5
  end
  add_message "google.logging.v2.ListLogEntriesResponse" do
    repeated :entries, :message, 1, "google.logging.v2.LogEntry"
    optional :next_page_token, :string, 2
  end
  add_message "google.logging.v2.ListMonitoredResourceDescriptorsRequest" do
    optional :page_size, :int32, 1
    optional :page_token, :string, 2
  end
  add_message "google.logging.v2.ListMonitoredResourceDescriptorsResponse" do
    repeated :resource_descriptors, :message, 1, "google.api.MonitoredResourceDescriptor"
    optional :next_page_token, :string, 2
  end
  add_message "google.logging.v2.ListLogsRequest" do
    optional :parent, :string, 1
    optional :page_size, :int32, 2
    optional :page_token, :string, 3
  end
  add_message "google.logging.v2.ListLogsResponse" do
    repeated :log_names, :string, 3
    optional :next_page_token, :string, 2
  end
end

module Google
  module Logging
    module V2
      DeleteLogRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.DeleteLogRequest").msgclass
      WriteLogEntriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.WriteLogEntriesRequest").msgclass
      WriteLogEntriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.WriteLogEntriesResponse").msgclass
      WriteLogEntriesPartialErrors = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.WriteLogEntriesPartialErrors").msgclass
      ListLogEntriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogEntriesRequest").msgclass
      ListLogEntriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogEntriesResponse").msgclass
      ListMonitoredResourceDescriptorsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListMonitoredResourceDescriptorsRequest").msgclass
      ListMonitoredResourceDescriptorsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListMonitoredResourceDescriptorsResponse").msgclass
      ListLogsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogsRequest").msgclass
      ListLogsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListLogsResponse").msgclass
    end
  end
end
