// Code generated by protoc-gen-go. DO NOT EDIT.
// source: envoy/extensions/access_loggers/file/v3/file.proto

package envoy_extensions_access_loggers_file_v3

import (
	fmt "fmt"
	_ "github.com/cncf/udpa/go/udpa/annotations"
	_ "github.com/envoyproxy/protoc-gen-validate/validate"
	proto "github.com/golang/protobuf/proto"
	_struct "github.com/golang/protobuf/ptypes/struct"
	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 FileAccessLog struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Types that are valid to be assigned to AccessLogFormat:
	//	*FileAccessLog_Format
	//	*FileAccessLog_JsonFormat
	//	*FileAccessLog_TypedJsonFormat
	AccessLogFormat      isFileAccessLog_AccessLogFormat `protobuf_oneof:"access_log_format"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

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

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

var xxx_messageInfo_FileAccessLog proto.InternalMessageInfo

func (m *FileAccessLog) GetPath() string {
	if m != nil {
		return m.Path
	}
	return ""
}

type isFileAccessLog_AccessLogFormat interface {
	isFileAccessLog_AccessLogFormat()
}

type FileAccessLog_Format struct {
	Format string `protobuf:"bytes,2,opt,name=format,proto3,oneof"`
}

type FileAccessLog_JsonFormat struct {
	JsonFormat *_struct.Struct `protobuf:"bytes,3,opt,name=json_format,json=jsonFormat,proto3,oneof"`
}

type FileAccessLog_TypedJsonFormat struct {
	TypedJsonFormat *_struct.Struct `protobuf:"bytes,4,opt,name=typed_json_format,json=typedJsonFormat,proto3,oneof"`
}

func (*FileAccessLog_Format) isFileAccessLog_AccessLogFormat() {}

func (*FileAccessLog_JsonFormat) isFileAccessLog_AccessLogFormat() {}

func (*FileAccessLog_TypedJsonFormat) isFileAccessLog_AccessLogFormat() {}

func (m *FileAccessLog) GetAccessLogFormat() isFileAccessLog_AccessLogFormat {
	if m != nil {
		return m.AccessLogFormat
	}
	return nil
}

func (m *FileAccessLog) GetFormat() string {
	if x, ok := m.GetAccessLogFormat().(*FileAccessLog_Format); ok {
		return x.Format
	}
	return ""
}

func (m *FileAccessLog) GetJsonFormat() *_struct.Struct {
	if x, ok := m.GetAccessLogFormat().(*FileAccessLog_JsonFormat); ok {
		return x.JsonFormat
	}
	return nil
}

func (m *FileAccessLog) GetTypedJsonFormat() *_struct.Struct {
	if x, ok := m.GetAccessLogFormat().(*FileAccessLog_TypedJsonFormat); ok {
		return x.TypedJsonFormat
	}
	return nil
}

// XXX_OneofWrappers is for the internal use of the proto package.
func (*FileAccessLog) XXX_OneofWrappers() []interface{} {
	return []interface{}{
		(*FileAccessLog_Format)(nil),
		(*FileAccessLog_JsonFormat)(nil),
		(*FileAccessLog_TypedJsonFormat)(nil),
	}
}

func init() {
	proto.RegisterType((*FileAccessLog)(nil), "envoy.extensions.access_loggers.file.v3.FileAccessLog")
}

func init() {
	proto.RegisterFile("envoy/extensions/access_loggers/file/v3/file.proto", fileDescriptor_b950f2ced354a07e)
}

var fileDescriptor_b950f2ced354a07e = []byte{
	// 352 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x51, 0x3d, 0x4f, 0x2a, 0x41,
	0x14, 0x65, 0xf7, 0x11, 0x5e, 0x18, 0xf2, 0xf2, 0x1e, 0xfb, 0x0a, 0x08, 0x7e, 0x04, 0x6d, 0xc4,
	0x66, 0x26, 0x81, 0xd8, 0xd0, 0xb9, 0x89, 0x84, 0x18, 0x0a, 0x82, 0x3f, 0x80, 0x0c, 0xcb, 0xec,
	0x38, 0x66, 0x9d, 0xbb, 0x99, 0x99, 0xdd, 0x40, 0x67, 0x69, 0xe5, 0x0f, 0xf0, 0xa7, 0xd8, 0x9b,
	0xd8, 0xfa, 0x77, 0xac, 0xcc, 0xce, 0x0e, 0x22, 0xb1, 0xd0, 0x6a, 0x3e, 0xce, 0x3d, 0xe7, 0xdc,
	0x73, 0x2f, 0xea, 0x33, 0x99, 0xc3, 0x9a, 0xb0, 0x95, 0x61, 0x52, 0x0b, 0x90, 0x9a, 0xd0, 0x28,
	0x62, 0x5a, 0xcf, 0x13, 0xe0, 0x9c, 0x29, 0x4d, 0x62, 0x91, 0x30, 0x92, 0x0f, 0xec, 0x89, 0x53,
	0x05, 0x06, 0x82, 0x13, 0xcb, 0xc1, 0x5b, 0x0e, 0xde, 0xe5, 0x60, 0x5b, 0x9b, 0x0f, 0x3a, 0xfb,
	0x1c, 0x80, 0x27, 0x8c, 0x58, 0xda, 0x22, 0x8b, 0x89, 0x36, 0x2a, 0x8b, 0x4c, 0x29, 0xd3, 0x39,
	0xc8, 0x96, 0x29, 0x25, 0x54, 0x4a, 0x30, 0xd4, 0x58, 0x6b, 0x6d, 0xa8, 0xc9, 0xb4, 0x83, 0x8f,
	0xbe, 0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