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

/*
Package macaroonpb is a generated protocol buffer package.

It is generated from these files:
	id.proto

It has these top-level messages:
	MacaroonId
	Op
*/
package macaroonpb

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import 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.ProtoPackageIsVersion2 // please upgrade the proto package

type MacaroonId struct {
	Nonce     []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	StorageId []byte `protobuf:"bytes,2,opt,name=storageId,proto3" json:"storageId,omitempty"`
	Ops       []*Op  `protobuf:"bytes,3,rep,name=ops" json:"ops,omitempty"`
}

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

func (m *MacaroonId) GetOps() []*Op {
	if m != nil {
		return m.Ops
	}
	return nil
}

type Op struct {
	Entity  string   `protobuf:"bytes,1,opt,name=entity" json:"entity,omitempty"`
	Actions []string `protobuf:"bytes,2,rep,name=actions" json:"actions,omitempty"`
}

func (m *Op) Reset()                    { *m = Op{} }
func (m *Op) String() string            { return proto.CompactTextString(m) }
func (*Op) ProtoMessage()               {}
func (*Op) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }

func init() {
	proto.RegisterType((*MacaroonId)(nil), "MacaroonId")
	proto.RegisterType((*Op)(nil), "Op")
}

func init() { proto.RegisterFile("id.proto", fileDescriptor0) }

var fileDescriptor0 = []byte{
	// 161 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xe2, 0xc8, 0x4c, 0xd1, 0x2b,
	0x28, 0xca, 0x2f, 0xc9, 0x57, 0x0a, 0xe7, 0xe2, 0xf2, 0x4d, 0x4c, 0x4e, 0x2c, 0xca, 0xcf, 0xcf,
	0xf3, 0x4c, 0x11, 0x12, 0xe1, 0x62, 0xcd, 0xcb, 0xcf, 0x4b, 0x4e, 0x95, 0x60, 0x54, 0x60, 0xd4,
	0xe0, 0x09, 0x82, 0x70, 0x84, 0x64, 0xb8, 0x38, 0x8b, 0x4b, 0xf2, 0x8b, 0x12, 0xd3, 0x53, 0x3d,
	0x53, 0x24, 0x98, 0xc0, 0x32, 0x08, 0x01, 0x21, 0x51, 0x2e, 0xe6, 0xfc, 0x82, 0x62, 0x09, 0x66,
	0x05, 0x66, 0x0d, 0x6e, 0x23, 0x66, 0x3d, 0xff, 0x82, 0x20, 0x10, 0x5f, 0xc9, 0x8c, 0x8b, 0xc9,
	0xbf, 0x40, 0x48, 0x8c, 0x8b, 0x2d, 0x35, 0xaf, 0x24, 0xb3, 0xa4, 0x12, 0x6c, 0x22, 0x67, 0x10,
	0x94, 0x27, 0x24, 0xc1, 0xc5, 0x9e, 0x98, 0x5c, 0x92, 0x99, 0x9f, 0x57, 0x2c, 0xc1, 0xa4, 0xc0,
	0xac, 0xc1, 0x19, 0x04, 0xe3, 0x3a, 0xf1, 0x44, 0x71, 0xe5, 0x42, 0x1d, 0x54, 0x90, 0x94, 0xc4,
	0x06, 0x76, 0xa5, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x18, 0x25, 0xab, 0x17, 0xb1, 0x00, 0x00,
	0x00,
}
