// Code generated by protoc-gen-go. DO NOT EDIT.
// source: ledger_metadata.proto

package msgs

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

// Status specifies the status of a ledger
type Status int32

const (
	Status_ACTIVE   Status = 0
	Status_INACTIVE Status = 1
)

var Status_name = map[int32]string{
	0: "ACTIVE",
	1: "INACTIVE",
}

var Status_value = map[string]int32{
	"ACTIVE":   0,
	"INACTIVE": 1,
}

func (x Status) String() string {
	return proto.EnumName(Status_name, int32(x))
}

func (Status) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_8173a53a47b026a1, []int{0}
}

// LedgerMetadata specifies the metadata of a ledger
type LedgerMetadata struct {
	Status               Status   `protobuf:"varint,1,opt,name=status,proto3,enum=msgs.Status" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *LedgerMetadata) Reset()         { *m = LedgerMetadata{} }
func (m *LedgerMetadata) String() string { return proto.CompactTextString(m) }
func (*LedgerMetadata) ProtoMessage()    {}
func (*LedgerMetadata) Descriptor() ([]byte, []int) {
	return fileDescriptor_8173a53a47b026a1, []int{0}
}

func (m *LedgerMetadata) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LedgerMetadata.Unmarshal(m, b)
}
func (m *LedgerMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LedgerMetadata.Marshal(b, m, deterministic)
}
func (m *LedgerMetadata) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LedgerMetadata.Merge(m, src)
}
func (m *LedgerMetadata) XXX_Size() int {
	return xxx_messageInfo_LedgerMetadata.Size(m)
}
func (m *LedgerMetadata) XXX_DiscardUnknown() {
	xxx_messageInfo_LedgerMetadata.DiscardUnknown(m)
}

var xxx_messageInfo_LedgerMetadata proto.InternalMessageInfo

func (m *LedgerMetadata) GetStatus() Status {
	if m != nil {
		return m.Status
	}
	return Status_ACTIVE
}

func init() {
	proto.RegisterEnum("msgs.Status", Status_name, Status_value)
	proto.RegisterType((*LedgerMetadata)(nil), "msgs.LedgerMetadata")
}

func init() { proto.RegisterFile("ledger_metadata.proto", fileDescriptor_8173a53a47b026a1) }

var fileDescriptor_8173a53a47b026a1 = []byte{
	// 165 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcd, 0x49, 0x4d, 0x49,
	0x4f, 0x2d, 0x8a, 0xcf, 0x4d, 0x2d, 0x49, 0x4c, 0x49, 0x2c, 0x49, 0xd4, 0x2b, 0x28, 0xca, 0x2f,
	0xc9, 0x17, 0x62, 0xc9, 0x2d, 0x4e, 0x2f, 0x56, 0x32, 0xe3, 0xe2, 0xf3, 0x01, 0x4b, 0xfb, 0x42,
	0x65, 0x85, 0x54, 0xb8, 0xd8, 0x8a, 0x4b, 0x12, 0x4b, 0x4a, 0x8b, 0x25, 0x18, 0x15, 0x18, 0x35,
	0xf8, 0x8c, 0x78, 0xf4, 0x40, 0x0a, 0xf5, 0x82, 0xc1, 0x62, 0x41, 0x50, 0x39, 0x2d, 0x25, 0x2e,
	0x36, 0x88, 0x88, 0x10, 0x17, 0x17, 0x9b, 0xa3, 0x73, 0x88, 0x67, 0x98, 0xab, 0x00, 0x83, 0x10,
	0x0f, 0x17, 0x87, 0xa7, 0x1f, 0x94, 0xc7, 0xe8, 0x64, 0x19, 0x65, 0x9e, 0x9e, 0x59, 0x92, 0x51,
	0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x9f, 0x51, 0x59, 0x90, 0x5a, 0x04, 0x71, 0x8a, 0x7e, 0x5a,
	0x62, 0x52, 0x51, 0x66, 0xb2, 0x7e, 0x72, 0x7e, 0x51, 0xaa, 0x3e, 0x54, 0x28, 0xbb, 0x0c, 0xca,
	0x00, 0xd9, 0x96, 0xc4, 0x06, 0x76, 0xa3, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xb2, 0x6b, 0xab,
	0x30, 0xbc, 0x00, 0x00, 0x00,
}
