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

package pulumirpc

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

type ErrorCause struct {
	Message              string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	StackTrace           string   `protobuf:"bytes,2,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_ErrorCause proto.InternalMessageInfo

func (m *ErrorCause) GetMessage() string {
	if m != nil {
		return m.Message
	}
	return ""
}

func (m *ErrorCause) GetStackTrace() string {
	if m != nil {
		return m.StackTrace
	}
	return ""
}

func init() {
	proto.RegisterType((*ErrorCause)(nil), "pulumirpc.ErrorCause")
}

func init() { proto.RegisterFile("errors.proto", fileDescriptor_24fe73c7f0ddb19c) }

var fileDescriptor_24fe73c7f0ddb19c = []byte{
	// 106 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x49, 0x2d, 0x2a, 0xca,
	0x2f, 0x2a, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x2c, 0x28, 0xcd, 0x29, 0xcd, 0xcd,
	0x2c, 0x2a, 0x48, 0x56, 0x72, 0xe3, 0xe2, 0x72, 0x05, 0x49, 0x39, 0x27, 0x96, 0x16, 0xa7, 0x0a,
	0x49, 0x70, 0xb1, 0xe7, 0xa6, 0x16, 0x17, 0x27, 0xa6, 0xa7, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70,
	0x06, 0xc1, 0xb8, 0x42, 0x72, 0x5c, 0x5c, 0xc5, 0x25, 0x89, 0xc9, 0xd9, 0x21, 0x45, 0x89, 0xc9,
	0xa9, 0x12, 0x4c, 0x60, 0x49, 0x24, 0x91, 0x24, 0x36, 0xb0, 0xc9, 0xc6, 0x80, 0x00, 0x00, 0x00,
	0xff, 0xff, 0xbe, 0x60, 0x19, 0xf9, 0x69, 0x00, 0x00, 0x00,
}
