# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/api/servicecontrol/v1/log_entry.proto

require 'google/api/servicecontrol/v1/http_request_pb'
require 'google/logging/type/log_severity_pb'
require 'google/protobuf/any_pb'
require 'google/protobuf/struct_pb'
require 'google/protobuf/timestamp_pb'
require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/api/servicecontrol/v1/log_entry.proto", :syntax => :proto3) do
    add_message "google.api.servicecontrol.v1.LogEntry" do
      optional :name, :string, 10
      optional :timestamp, :message, 11, "google.protobuf.Timestamp"
      optional :severity, :enum, 12, "google.logging.type.LogSeverity"
      optional :http_request, :message, 14, "google.api.servicecontrol.v1.HttpRequest"
      optional :trace, :string, 15
      optional :insert_id, :string, 4
      map :labels, :string, :string, 13
      optional :operation, :message, 16, "google.api.servicecontrol.v1.LogEntryOperation"
      optional :source_location, :message, 17, "google.api.servicecontrol.v1.LogEntrySourceLocation"
      oneof :payload do
        optional :proto_payload, :message, 2, "google.protobuf.Any"
        optional :text_payload, :string, 3
        optional :struct_payload, :message, 6, "google.protobuf.Struct"
      end
    end
    add_message "google.api.servicecontrol.v1.LogEntryOperation" do
      optional :id, :string, 1
      optional :producer, :string, 2
      optional :first, :bool, 3
      optional :last, :bool, 4
    end
    add_message "google.api.servicecontrol.v1.LogEntrySourceLocation" do
      optional :file, :string, 1
      optional :line, :int64, 2
      optional :function, :string, 3
    end
  end
end

module Google
  module Cloud
    module ServiceControl
      module V1
        LogEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicecontrol.v1.LogEntry").msgclass
        LogEntryOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicecontrol.v1.LogEntryOperation").msgclass
        LogEntrySourceLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicecontrol.v1.LogEntrySourceLocation").msgclass
      end
    end
  end
end
