// Copyright 2024 CloudWeGo Authors
//
// 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 thriftgo (0.3.15). DO NOT EDIT.

package option_gen

import (
	"reflect"

	"github.com/cloudwego/thriftgo/thrift_reflection"
)

// IDL Name: test
// IDL Path: ../option_idl/test.thrift

var file_test_thrift_go_types = []interface{}{
	(*IDCard)(nil),     // Struct 0: option_gen.IDCard
	(*Person)(nil),     // Struct 1: option_gen.Person
	(*PersonB)(nil),    // Struct 2: option_gen.PersonB
	(*PersonC)(nil),    // Struct 3: option_gen.PersonC
	(*TinyStruct)(nil), // Struct 4: option_gen.TinyStruct
	(*MyEnum)(nil),     // Enum 0: option_gen.MyEnum
}
var file_test_thrift *thrift_reflection.FileDescriptor
var file_idl_test_rawDesc = []byte{
	0x1f, 0x8b, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xcc, 0x58, 0xed, 0x6b, 0xdb, 0x46,
	0x18, 0x7f, 0x2c, 0x27, 0x4e, 0x6a, 0x27, 0xa4, 0xa3, 0x7b, 0xeb, 0x5e, 0x40, 0x13, 0x1b, 0xfd,
	0x30, 0xa1, 0x20, 0xd9, 0x11, 0xa9, 0xf6, 0x65, 0x4b, 0x3b, 0x46, 0x61, 0x19, 0x63, 0x1d, 0xa3,
	0x10, 0x42, 0x38, 0x59, 0xe7, 0xf8, 0xa8, 0x74, 0xf2, 0xe4, 0xb3, 0x99, 0x31, 0xfe, 0xdf, 0xc7,
	0x9d, 0x4e, 0xb2, 0x64, 0x9d, 0x1c, 0xa9, 0x2b, 0x65, 0xfe, 0x22, 0xfb, 0xee, 0x79, 0x7f, 0x7e,
	0xcf, 0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49, 0xb2, 0x84, 0xfb, 0xcc, 0xd4, 0x71, 0x36, 0x3d, 0xed, 0x2a,
	0xdf, 0xff, 0x93, 0xd0, 0x55, 0x6a, 0xaf, 0xe5, 0xc5, 0x80, 0xdf, 0xfc, 0x62, 0xe0, 0x80, 0x73,
	0xd5, 0xfb, 0x7d, 0x3f, 0xd3, 0xfc, 0xe6, 0x6f, 0xec, 0x7b, 0xdc, 0x37, 0x78, 0x41, 0x3b, 0x83,
	0xde, 0x49, 0xe1, 0x85, 0xbb, 0xe1, 0x7d, 0x4b, 0xef, 0x7a, 0xf5, 0x33, 0x5d, 0x44, 0xed, 0x6a,
	0xda, 0xf9, 0xa9, 0x2f, 0xce, 0xba, 0x52, 0x20, 0x9d, 0x9d, 0xe3, 0x5e, 0x9c, 0xd7, 0xd5, 0xa3,
	0xf7, 0x17, 0xd5, 0xdd, 0x2, 0xf, 0xe1, 0x2f, 0x2e, 0xba, 0xf7, 0x7a, 0xc1, 0x71, 0x9c, 0xe2,
	0xf5, 0x42, 0x1b, 0xf8, 0x74, 0xae, 0xb6, 0x11, 0x77, 0x2a, 0xa5, 0x2b, 0xa6, 0xf0, 0xf1, 0x6e,
	0xa, 0xc5, 0xe0, 0xdd, 0xdd, 0x7b, 0x9, 0x1e, 0x78, 0xed, 0xa5, 0xc4, 0x70, 0x38, 0xdc, 0xbd,
	0x94, 0x38, 0x96, 0x2d, 0x7a, 0x24, 0x9f, 0x7d, 0xf1, 0x84, 0x7f, 0x3, 0x0, 0x0, 0xff, 0xff,
	0xce, 0x3d, 0xdd, 0x66, 0xee, 0x13, 0x0, 0x0,
}

func init() {
	if file_test_thrift != nil {
		return
	}
	type x struct{}
	builder := &thrift_reflection.FileDescriptorBuilder{
		Bytes:         file_idl_test_rawDesc,
		GoTypes:       file_test_thrift_go_types,
		GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
	}
	file_test_thrift = thrift_reflection.BuildFileDescriptor(builder)
}

func GetFileDescriptorForTest() *thrift_reflection.FileDescriptor {
	return file_test_thrift
}
func (p *IDCard) GetDescriptor() *thrift_reflection.StructDescriptor {
	return file_test_thrift.GetStructDescriptor("IDCard")
}

func (p *IDCard) GetTypeDescriptor() *thrift_reflection.TypeDescriptor {
	ret := thrift_reflection.NewTypeDescriptor()
	ret.Filepath = file_test_thrift.Filepath
	ret.Name = "IDCard"
	return ret
}
func (p *Person) GetDescriptor() *thrift_reflection.StructDescriptor {
	return file_test_thrift.GetStructDescriptor("Person")
}

func (p *Person) GetTypeDescriptor() *thrift_reflection.TypeDescriptor {
	ret := thrift_reflection.NewTypeDescriptor()
	ret.Filepath = file_test_thrift.Filepath
	ret.Name = "Person"
	return ret
}
func (p *PersonB) GetDescriptor() *thrift_reflection.StructDescriptor {
	return file_test_thrift.GetStructDescriptor("PersonB")
}

func (p *PersonB) GetTypeDescriptor() *thrift_reflection.TypeDescriptor {
	ret := thrift_reflection.NewTypeDescriptor()
	ret.Filepath = file_test_thrift.Filepath
	ret.Name = "PersonB"
	return ret
}
func (p *PersonC) GetDescriptor() *thrift_reflection.StructDescriptor {
	return file_test_thrift.GetStructDescriptor("PersonC")
}

func (p *PersonC) GetTypeDescriptor() *thrift_reflection.TypeDescriptor {
	ret := thrift_reflection.NewTypeDescriptor()
	ret.Filepath = file_test_thrift.Filepath
	ret.Name = "PersonC"
	return ret
}
func (p *TinyStruct) GetDescriptor() *thrift_reflection.StructDescriptor {
	return file_test_thrift.GetStructDescriptor("TinyStruct")
}

func (p *TinyStruct) GetTypeDescriptor() *thrift_reflection.TypeDescriptor {
	ret := thrift_reflection.NewTypeDescriptor()
	ret.Filepath = file_test_thrift.Filepath
	ret.Name = "TinyStruct"
	return ret
}
func (p MyEnum) GetDescriptor() *thrift_reflection.EnumDescriptor {
	return file_test_thrift.GetEnumDescriptor("MyEnum")
}

func (p *MyEnum) GetTypeDescriptor() *thrift_reflection.TypeDescriptor {
	ret := thrift_reflection.NewTypeDescriptor()
	ret.Filepath = file_test_thrift.Filepath
	ret.Name = "MyEnum"
	return ret
}
