# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: loggregator-api/v2/envelope.proto

require 'google/protobuf'


descriptor_data = "\n!loggregator-api/v2/envelope.proto\x12\x0eloggregator.v2\"\xb5\x04\n\x08\x45nvelope\x12\x11\n\ttimestamp\x18\x01 \x01(\x03\x12\x1c\n\tsource_id\x18\x02 \x01(\tR\tsource_id\x12 \n\x0binstance_id\x18\x08 \x01(\tR\x0binstance_id\x12V\n\x0f\x64\x65precated_tags\x18\x03 \x03(\x0b\x32,.loggregator.v2.Envelope.DeprecatedTagsEntryR\x0f\x64\x65precated_tags\x12\x30\n\x04tags\x18\t \x03(\x0b\x32\".loggregator.v2.Envelope.TagsEntry\x12\"\n\x03log\x18\x04 \x01(\x0b\x32\x13.loggregator.v2.LogH\x00\x12*\n\x07\x63ounter\x18\x05 \x01(\x0b\x32\x17.loggregator.v2.CounterH\x00\x12&\n\x05gauge\x18\x06 \x01(\x0b\x32\x15.loggregator.v2.GaugeH\x00\x12&\n\x05timer\x18\x07 \x01(\x0b\x32\x15.loggregator.v2.TimerH\x00\x12&\n\x05\x65vent\x18\n \x01(\x0b\x32\x15.loggregator.v2.EventH\x00\x1aL\n\x13\x44\x65precatedTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.loggregator.v2.Value:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07message\"8\n\rEnvelopeBatch\x12\'\n\x05\x62\x61tch\x18\x01 \x03(\x0b\x32\x18.loggregator.v2.Envelope\"E\n\x05Value\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x11\n\x07integer\x18\x02 \x01(\x03H\x00\x12\x11\n\x07\x64\x65\x63imal\x18\x03 \x01(\x01H\x00\x42\x06\n\x04\x64\x61ta\"X\n\x03Log\x12\x0f\n\x07payload\x18\x01 \x01(\x0c\x12&\n\x04type\x18\x02 \x01(\x0e\x32\x18.loggregator.v2.Log.Type\"\x18\n\x04Type\x12\x07\n\x03OUT\x10\x00\x12\x07\n\x03\x45RR\x10\x01\"5\n\x07\x43ounter\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x64\x65lta\x18\x02 \x01(\x04\x12\r\n\x05total\x18\x03 \x01(\x04\"\x88\x01\n\x05Gauge\x12\x33\n\x07metrics\x18\x01 \x03(\x0b\x32\".loggregator.v2.Gauge.MetricsEntry\x1aJ\n\x0cMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.loggregator.v2.GaugeValue:\x02\x38\x01\")\n\nGaugeValue\x12\x0c\n\x04unit\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01\"2\n\x05Timer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05start\x18\x02 \x01(\x03\x12\x0c\n\x04stop\x18\x03 \x01(\x03\"$\n\x05\x45vent\x12\r\n\x05title\x18\x01 \x01(\t\x12\x0c\n\x04\x62ody\x18\x02 \x01(\tBs\n\x1forg.cloudfoundry.loggregator.v2B\x13LoggregatorEnvelopeZ;code.cloudfoundry.org/go-loggregator/v10/rpc/loggregator_v2b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool
pool.add_serialized_file(descriptor_data)

module Loggregator
  module V2
    Envelope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("loggregator.v2.Envelope").msgclass
    EnvelopeBatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("loggregator.v2.EnvelopeBatch").msgclass
    Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("loggregator.v2.Value").msgclass
    Log = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("loggregator.v2.Log").msgclass
    Log::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("loggregator.v2.Log.Type").enummodule
    Counter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("loggregator.v2.Counter").msgclass
    Gauge = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("loggregator.v2.Gauge").msgclass
    GaugeValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("loggregator.v2.GaugeValue").msgclass
    Timer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("loggregator.v2.Timer").msgclass
    Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("loggregator.v2.Event").msgclass
  end
end
