// 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 validation

import (
	"reflect"

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

// IDL Name: validation
// IDL Path: ../option_idl/annotations/validation/validation.thrift

var file_validation_thrift_go_types = []interface{}{
	(*_StructOptions)(nil),         // Struct 0: validation._StructOptions
	(*MyStructWithDefaultVal)(nil), // Struct 1: validation.MyStructWithDefaultVal
	(*_FieldOptions)(nil),          // Struct 2: validation._FieldOptions
	(*TestInfo)(nil),               // Struct 3: validation.TestInfo
	(*_ServiceOptions)(nil),        // Struct 4: validation._ServiceOptions
	(*_MethodOptions)(nil),         // Struct 5: validation._MethodOptions
	(*_EnumOptions)(nil),           // Struct 6: validation._EnumOptions
	(*_EnumValueOptions)(nil),      // Struct 7: validation._EnumValueOptions
	(*MyEnum)(nil),                 // Enum 0: validation.MyEnum
	(*MyBasicTypedef)(nil),         // Enum 0: validation.MyBasicTypedef
	(*MyStructTypedef)(nil),        // Enum 1: validation.MyStructTypedef
}
var file_validation_thrift *thrift_reflection.FileDescriptor
var file_idl_validation_rawDesc = []byte{
	0x1f, 0x8b, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xe4, 0x99, 0xdf, 0x6e, 0xda, 0x3e,
	0x14, 0xc7, 0xf, 0x4e, 0x42, 0x43, 0x3, 0x4d, 0x7f, 0xbf, 0x8b, 0x49, 0xdb, 0x15, 0x7b, 0x1,
	0x3a, 0x68, 0xc7, 0xba, 0xbb, 0x6a, 0x5a, 0xa7, 0x4d, 0x2a, 0xab, 0xb4, 0x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 0x1e, 0x5, 0xfb, 0x58, 0x51, 0x90, 0x95, 0xd5, 0xe8, 0x67, 0xe8,
	0x47, 0x1c, 0x6a, 0x8c, 0x9, 0x75, 0xdd, 0xa0, 0xcd, 0x27, 0x34, 0xa4, 0xab, 0x17, 0xe, 0xda,
	0x9c, 0xba, 0x9e, 0xbd, 0xff, 0x3b, 0x0, 0x0, 0xff, 0xff, 0xe5, 0x36, 0x93, 0x4d, 0x8c, 0x1e,
	0x0, 0x0,
}

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

func GetFileDescriptorForValidation() *thrift_reflection.FileDescriptor {
	return file_validation_thrift
}
func (p *_StructOptions) GetDescriptor() *thrift_reflection.StructDescriptor {
	return file_validation_thrift.GetStructDescriptor("_StructOptions")
}

func (p *_StructOptions) GetTypeDescriptor() *thrift_reflection.TypeDescriptor {
	ret := thrift_reflection.NewTypeDescriptor()
	ret.Filepath = file_validation_thrift.Filepath
	ret.Name = "_StructOptions"
	return ret
}
func (p *MyStructWithDefaultVal) GetDescriptor() *thrift_reflection.StructDescriptor {
	return file_validation_thrift.GetStructDescriptor("MyStructWithDefaultVal")
}

func (p *MyStructWithDefaultVal) GetTypeDescriptor() *thrift_reflection.TypeDescriptor {
	ret := thrift_reflection.NewTypeDescriptor()
	ret.Filepath = file_validation_thrift.Filepath
	ret.Name = "MyStructWithDefaultVal"
	return ret
}
func (p *_FieldOptions) GetDescriptor() *thrift_reflection.StructDescriptor {
	return file_validation_thrift.GetStructDescriptor("_FieldOptions")
}

func (p *_FieldOptions) GetTypeDescriptor() *thrift_reflection.TypeDescriptor {
	ret := thrift_reflection.NewTypeDescriptor()
	ret.Filepath = file_validation_thrift.Filepath
	ret.Name = "_FieldOptions"
	return ret
}
func (p *TestInfo) GetDescriptor() *thrift_reflection.StructDescriptor {
	return file_validation_thrift.GetStructDescriptor("TestInfo")
}

func (p *TestInfo) GetTypeDescriptor() *thrift_reflection.TypeDescriptor {
	ret := thrift_reflection.NewTypeDescriptor()
	ret.Filepath = file_validation_thrift.Filepath
	ret.Name = "TestInfo"
	return ret
}
func (p *_ServiceOptions) GetDescriptor() *thrift_reflection.StructDescriptor {
	return file_validation_thrift.GetStructDescriptor("_ServiceOptions")
}

func (p *_ServiceOptions) GetTypeDescriptor() *thrift_reflection.TypeDescriptor {
	ret := thrift_reflection.NewTypeDescriptor()
	ret.Filepath = file_validation_thrift.Filepath
	ret.Name = "_ServiceOptions"
	return ret
}
func (p *_MethodOptions) GetDescriptor() *thrift_reflection.StructDescriptor {
	return file_validation_thrift.GetStructDescriptor("_MethodOptions")
}

func (p *_MethodOptions) GetTypeDescriptor() *thrift_reflection.TypeDescriptor {
	ret := thrift_reflection.NewTypeDescriptor()
	ret.Filepath = file_validation_thrift.Filepath
	ret.Name = "_MethodOptions"
	return ret
}
func (p *_EnumOptions) GetDescriptor() *thrift_reflection.StructDescriptor {
	return file_validation_thrift.GetStructDescriptor("_EnumOptions")
}

func (p *_EnumOptions) GetTypeDescriptor() *thrift_reflection.TypeDescriptor {
	ret := thrift_reflection.NewTypeDescriptor()
	ret.Filepath = file_validation_thrift.Filepath
	ret.Name = "_EnumOptions"
	return ret
}
func (p *_EnumValueOptions) GetDescriptor() *thrift_reflection.StructDescriptor {
	return file_validation_thrift.GetStructDescriptor("_EnumValueOptions")
}

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

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