// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/bigquery/v2/encryption_config.proto

package bigquery

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	wrappers "github.com/golang/protobuf/ptypes/wrappers"
	_ "google.golang.org/genproto/googleapis/api/annotations"
)

// 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 EncryptionConfiguration struct {
	// Optional. Describes the Cloud KMS encryption key that will be used to
	// protect destination BigQuery table. The BigQuery Service Account associated
	// with your project requires access to this encryption key.
	KmsKeyName           *wrappers.StringValue `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

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

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

var xxx_messageInfo_EncryptionConfiguration proto.InternalMessageInfo

func (m *EncryptionConfiguration) GetKmsKeyName() *wrappers.StringValue {
	if m != nil {
		return m.KmsKeyName
	}
	return nil
}

func init() {
	proto.RegisterType((*EncryptionConfiguration)(nil), "google.cloud.bigquery.v2.EncryptionConfiguration")
}

func init() {
	proto.RegisterFile("google/cloud/bigquery/v2/encryption_config.proto", fileDescriptor_2f635ca5218ca47a)
}

var fileDescriptor_2f635ca5218ca47a = []byte{
	// 261 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0x41, 0x4b, 0xc4, 0x30,
	0x14, 0x84, 0x29, 0x82, 0x87, 0xea, 0x69, 0x41, 0x5c, 0x96, 0xa2, 0xe2, 0xc9, 0x53, 0x22, 0xf5,
	0xe8, 0x45, 0xbb, 0x78, 0x12, 0x44, 0x14, 0x3c, 0x78, 0xb0, 0xbc, 0x76, 0x5f, 0x63, 0x68, 0x92,
	0x17, 0xd3, 0xa6, 0x4b, 0xff, 0xad, 0x3f, 0x45, 0x36, 0x4d, 0x45, 0x14, 0x6f, 0x09, 0x33, 0xdf,
	0xcc, 0x24, 0xe9, 0xa5, 0x20, 0x12, 0x0a, 0x79, 0xad, 0xc8, 0x6f, 0x78, 0x25, 0xc5, 0x87, 0x47,
	0x37, 0xf2, 0x21, 0xe7, 0x68, 0x6a, 0x37, 0xda, 0x5e, 0x92, 0x29, 0x6b, 0x32, 0x8d, 0x14, 0xcc,
	0x3a, 0xea, 0x69, 0xb1, 0x9c, 0x08, 0x16, 0x08, 0x36, 0x13, 0x6c, 0xc8, 0x57, 0xa7, 0x31, 0x0b,
	0xac, 0xe4, 0x8d, 0x44, 0xb5, 0x29, 0x2b, 0x7c, 0x87, 0x41, 0x92, 0x9b, 0xd0, 0xd5, 0x49, 0x34,
	0x84, 0x5b, 0xe5, 0x1b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