// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        v3.21.12
// source: prf_based_deriver.proto

package prf_based_deriver_go_proto

import (
	tink_go_proto "github.com/tink-crypto/tink-go/v2/proto/tink_go_proto"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type PrfBasedDeriverParams struct {
	state              protoimpl.MessageState     `protogen:"open.v1"`
	DerivedKeyTemplate *tink_go_proto.KeyTemplate `protobuf:"bytes,1,opt,name=derived_key_template,json=derivedKeyTemplate,proto3" json:"derived_key_template,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *PrfBasedDeriverParams) Reset() {
	*x = PrfBasedDeriverParams{}
	mi := &file_prf_based_deriver_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PrfBasedDeriverParams) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PrfBasedDeriverParams) ProtoMessage() {}

func (x *PrfBasedDeriverParams) ProtoReflect() protoreflect.Message {
	mi := &file_prf_based_deriver_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PrfBasedDeriverParams.ProtoReflect.Descriptor instead.
func (*PrfBasedDeriverParams) Descriptor() ([]byte, []int) {
	return file_prf_based_deriver_proto_rawDescGZIP(), []int{0}
}

func (x *PrfBasedDeriverParams) GetDerivedKeyTemplate() *tink_go_proto.KeyTemplate {
	if x != nil {
		return x.DerivedKeyTemplate
	}
	return nil
}

type PrfBasedDeriverKeyFormat struct {
	state          protoimpl.MessageState     `protogen:"open.v1"`
	PrfKeyTemplate *tink_go_proto.KeyTemplate `protobuf:"bytes,1,opt,name=prf_key_template,json=prfKeyTemplate,proto3" json:"prf_key_template,omitempty"`
	Params         *PrfBasedDeriverParams     `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *PrfBasedDeriverKeyFormat) Reset() {
	*x = PrfBasedDeriverKeyFormat{}
	mi := &file_prf_based_deriver_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PrfBasedDeriverKeyFormat) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PrfBasedDeriverKeyFormat) ProtoMessage() {}

func (x *PrfBasedDeriverKeyFormat) ProtoReflect() protoreflect.Message {
	mi := &file_prf_based_deriver_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PrfBasedDeriverKeyFormat.ProtoReflect.Descriptor instead.
func (*PrfBasedDeriverKeyFormat) Descriptor() ([]byte, []int) {
	return file_prf_based_deriver_proto_rawDescGZIP(), []int{1}
}

func (x *PrfBasedDeriverKeyFormat) GetPrfKeyTemplate() *tink_go_proto.KeyTemplate {
	if x != nil {
		return x.PrfKeyTemplate
	}
	return nil
}

func (x *PrfBasedDeriverKeyFormat) GetParams() *PrfBasedDeriverParams {
	if x != nil {
		return x.Params
	}
	return nil
}

// key_type: type.googleapis.com/google.crypto.tink.PrfBasedDeriverKey
type PrfBasedDeriverKey struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Version       uint32                 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	PrfKey        *tink_go_proto.KeyData `protobuf:"bytes,2,opt,name=prf_key,json=prfKey,proto3" json:"prf_key,omitempty"`
	Params        *PrfBasedDeriverParams `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PrfBasedDeriverKey) Reset() {
	*x = PrfBasedDeriverKey{}
	mi := &file_prf_based_deriver_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PrfBasedDeriverKey) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PrfBasedDeriverKey) ProtoMessage() {}

func (x *PrfBasedDeriverKey) ProtoReflect() protoreflect.Message {
	mi := &file_prf_based_deriver_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PrfBasedDeriverKey.ProtoReflect.Descriptor instead.
func (*PrfBasedDeriverKey) Descriptor() ([]byte, []int) {
	return file_prf_based_deriver_proto_rawDescGZIP(), []int{2}
}

func (x *PrfBasedDeriverKey) GetVersion() uint32 {
	if x != nil {
		return x.Version
	}
	return 0
}

func (x *PrfBasedDeriverKey) GetPrfKey() *tink_go_proto.KeyData {
	if x != nil {
		return x.PrfKey
	}
	return nil
}

func (x *PrfBasedDeriverKey) GetParams() *PrfBasedDeriverParams {
	if x != nil {
		return x.Params
	}
	return nil
}

var File_prf_based_deriver_proto protoreflect.FileDescriptor

const file_prf_based_deriver_proto_rawDesc = "" +
	"\n" +
	"\x17prf_based_deriver.proto\x12\x12google.crypto.tink\x1a\x10proto/tink.proto\"j\n" +
	"\x15PrfBasedDeriverParams\x12Q\n" +
	"\x14derived_key_template\x18\x01 \x01(\v2\x1f.google.crypto.tink.KeyTemplateR\x12derivedKeyTemplate\"\xa8\x01\n" +
	"\x18PrfBasedDeriverKeyFormat\x12I\n" +
	"\x10prf_key_template\x18\x01 \x01(\v2\x1f.google.crypto.tink.KeyTemplateR\x0eprfKeyTemplate\x12A\n" +
	"\x06params\x18\x02 \x01(\v2).google.crypto.tink.PrfBasedDeriverParamsR\x06params\"\xa7\x01\n" +
	"\x12PrfBasedDeriverKey\x12\x18\n" +
	"\aversion\x18\x01 \x01(\rR\aversion\x124\n" +
	"\aprf_key\x18\x02 \x01(\v2\x1b.google.crypto.tink.KeyDataR\x06prfKey\x12A\n" +
	"\x06params\x18\x03 \x01(\v2).google.crypto.tink.PrfBasedDeriverParamsR\x06paramsBd\n" +
	"\x1ccom.google.crypto.tink.protoP\x01ZBgithub.com/tink-crypto/tink-go/v2/proto/prf_based_deriver_go_protob\x06proto3"

var (
	file_prf_based_deriver_proto_rawDescOnce sync.Once
	file_prf_based_deriver_proto_rawDescData []byte
)

func file_prf_based_deriver_proto_rawDescGZIP() []byte {
	file_prf_based_deriver_proto_rawDescOnce.Do(func() {
		file_prf_based_deriver_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_prf_based_deriver_proto_rawDesc), len(file_prf_based_deriver_proto_rawDesc)))
	})
	return file_prf_based_deriver_proto_rawDescData
}

var file_prf_based_deriver_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_prf_based_deriver_proto_goTypes = []any{
	(*PrfBasedDeriverParams)(nil),     // 0: google.crypto.tink.PrfBasedDeriverParams
	(*PrfBasedDeriverKeyFormat)(nil),  // 1: google.crypto.tink.PrfBasedDeriverKeyFormat
	(*PrfBasedDeriverKey)(nil),        // 2: google.crypto.tink.PrfBasedDeriverKey
	(*tink_go_proto.KeyTemplate)(nil), // 3: google.crypto.tink.KeyTemplate
	(*tink_go_proto.KeyData)(nil),     // 4: google.crypto.tink.KeyData
}
var file_prf_based_deriver_proto_depIdxs = []int32{
	3, // 0: google.crypto.tink.PrfBasedDeriverParams.derived_key_template:type_name -> google.crypto.tink.KeyTemplate
	3, // 1: google.crypto.tink.PrfBasedDeriverKeyFormat.prf_key_template:type_name -> google.crypto.tink.KeyTemplate
	0, // 2: google.crypto.tink.PrfBasedDeriverKeyFormat.params:type_name -> google.crypto.tink.PrfBasedDeriverParams
	4, // 3: google.crypto.tink.PrfBasedDeriverKey.prf_key:type_name -> google.crypto.tink.KeyData
	0, // 4: google.crypto.tink.PrfBasedDeriverKey.params:type_name -> google.crypto.tink.PrfBasedDeriverParams
	5, // [5:5] is the sub-list for method output_type
	5, // [5:5] is the sub-list for method input_type
	5, // [5:5] is the sub-list for extension type_name
	5, // [5:5] is the sub-list for extension extendee
	0, // [0:5] is the sub-list for field type_name
}

func init() { file_prf_based_deriver_proto_init() }
func file_prf_based_deriver_proto_init() {
	if File_prf_based_deriver_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_prf_based_deriver_proto_rawDesc), len(file_prf_based_deriver_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_prf_based_deriver_proto_goTypes,
		DependencyIndexes: file_prf_based_deriver_proto_depIdxs,
		MessageInfos:      file_prf_based_deriver_proto_msgTypes,
	}.Build()
	File_prf_based_deriver_proto = out.File
	file_prf_based_deriver_proto_goTypes = nil
	file_prf_based_deriver_proto_depIdxs = nil
}
