Sha256: a124813456bf35dfbd8194d4e9b9d4263330b42dc6227377f068a363dbacfe7b

Contents?: true

Size: 626 Bytes

Versions: 23

Compression:

Stored size: 626 Bytes

Contents

#
# Autogenerated by Thrift
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#

require 'fb303_types'


module ResultCode
  OK = 0
  TRY_LATER = 1
  VALUE_MAP = {0 => "OK", 1 => "TRY_LATER"}
  VALID_VALUES = Set.new([OK, TRY_LATER]).freeze
end

class LogEntry
  include ::Thrift::Struct, ::Thrift::Struct_Union
  CATEGORY = 1
  MESSAGE = 2

  FIELDS = {
    CATEGORY => {:type => ::Thrift::Types::STRING, :name => 'category'},
    MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
  }

  def struct_fields; FIELDS; end

  def validate
  end

  ::Thrift::Struct.generate_accessors self
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
fluent-plugin-scribe-0.9.9 lib/fluent/plugin/thrift/scribe_types.rb
fluent-plugin-scribe-0.9.8 lib/fluent/plugin/thrift/scribe_types.rb
fluent-plugin-scribe-0.9.7 lib/fluent/plugin/thrift/scribe_types.rb