// Copyright 2023-2025 Buf Technologies, Inc.
//
// 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.6
// 	protoc        (unknown)
// source: buf/validate/conformance/cases/wkt_nested.proto

package cases

import (
	_ "github.com/bufbuild/protovalidate/tools/internal/gen/buf/validate"
	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 WktLevelOne struct {
	state         protoimpl.MessageState   `protogen:"open.v1"`
	Two           *WktLevelOne_WktLevelTwo `protobuf:"bytes,1,opt,name=two,proto3" json:"two,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*WktLevelOne) ProtoMessage() {}

func (x *WktLevelOne) ProtoReflect() protoreflect.Message {
	mi := &file_buf_validate_conformance_cases_wkt_nested_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 WktLevelOne.ProtoReflect.Descriptor instead.
func (*WktLevelOne) Descriptor() ([]byte, []int) {
	return file_buf_validate_conformance_cases_wkt_nested_proto_rawDescGZIP(), []int{0}
}

func (x *WktLevelOne) GetTwo() *WktLevelOne_WktLevelTwo {
	if x != nil {
		return x.Two
	}
	return nil
}

type WktLevelOne_WktLevelTwo struct {
	state         protoimpl.MessageState                 `protogen:"open.v1"`
	Three         *WktLevelOne_WktLevelTwo_WktLevelThree `protobuf:"bytes,1,opt,name=three,proto3" json:"three,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*WktLevelOne_WktLevelTwo) ProtoMessage() {}

func (x *WktLevelOne_WktLevelTwo) ProtoReflect() protoreflect.Message {
	mi := &file_buf_validate_conformance_cases_wkt_nested_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 WktLevelOne_WktLevelTwo.ProtoReflect.Descriptor instead.
func (*WktLevelOne_WktLevelTwo) Descriptor() ([]byte, []int) {
	return file_buf_validate_conformance_cases_wkt_nested_proto_rawDescGZIP(), []int{0, 0}
}

func (x *WktLevelOne_WktLevelTwo) GetThree() *WktLevelOne_WktLevelTwo_WktLevelThree {
	if x != nil {
		return x.Three
	}
	return nil
}

type WktLevelOne_WktLevelTwo_WktLevelThree struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Uuid          string                 `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*WktLevelOne_WktLevelTwo_WktLevelThree) ProtoMessage() {}

func (x *WktLevelOne_WktLevelTwo_WktLevelThree) ProtoReflect() protoreflect.Message {
	mi := &file_buf_validate_conformance_cases_wkt_nested_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 WktLevelOne_WktLevelTwo_WktLevelThree.ProtoReflect.Descriptor instead.
func (*WktLevelOne_WktLevelTwo_WktLevelThree) Descriptor() ([]byte, []int) {
	return file_buf_validate_conformance_cases_wkt_nested_proto_rawDescGZIP(), []int{0, 0, 0}
}

func (x *WktLevelOne_WktLevelTwo_WktLevelThree) GetUuid() string {
	if x != nil {
		return x.Uuid
	}
	return ""
}

var File_buf_validate_conformance_cases_wkt_nested_proto protoreflect.FileDescriptor

const file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc = "" +
	"\n" +
	"/buf/validate/conformance/cases/wkt_nested.proto\x12\x1ebuf.validate.conformance.cases\x1a\x1bbuf/validate/validate.proto\"\x84\x02\n" +
	"\vWktLevelOne\x12Q\n" +
	"\x03two\x18\x01 \x01(\v27.buf.validate.conformance.cases.WktLevelOne.WktLevelTwoB\x06\xbaH\x03\xc8\x01\x01R\x03two\x1a\xa1\x01\n" +
	"\vWktLevelTwo\x12c\n" +
	"\x05three\x18\x01 \x01(\v2E.buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.WktLevelThreeB\x06\xbaH\x03\xc8\x01\x01R\x05three\x1a-\n" +
	"\rWktLevelThree\x12\x1c\n" +
	"\x04uuid\x18\x01 \x01(\tB\b\xbaH\x05r\x03\xb0\x01\x01R\x04uuidB\xa5\x02\n" +
	"\"com.buf.validate.conformance.casesB\x0eWktNestedProtoP\x01ZSgithub.com/bufbuild/protovalidate/tools/internal/gen/buf/validate/conformance/cases\xa2\x02\x04BVCC\xaa\x02\x1eBuf.Validate.Conformance.Cases\xca\x02\x1eBuf\\Validate\\Conformance\\Cases\xe2\x02*Buf\\Validate\\Conformance\\Cases\\GPBMetadata\xea\x02!Buf::Validate::Conformance::Casesb\x06proto3"

var (
	file_buf_validate_conformance_cases_wkt_nested_proto_rawDescOnce sync.Once
	file_buf_validate_conformance_cases_wkt_nested_proto_rawDescData []byte
)

func file_buf_validate_conformance_cases_wkt_nested_proto_rawDescGZIP() []byte {
	file_buf_validate_conformance_cases_wkt_nested_proto_rawDescOnce.Do(func() {
		file_buf_validate_conformance_cases_wkt_nested_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc)))
	})
	return file_buf_validate_conformance_cases_wkt_nested_proto_rawDescData
}

var file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_buf_validate_conformance_cases_wkt_nested_proto_goTypes = []any{
	(*WktLevelOne)(nil),                           // 0: buf.validate.conformance.cases.WktLevelOne
	(*WktLevelOne_WktLevelTwo)(nil),               // 1: buf.validate.conformance.cases.WktLevelOne.WktLevelTwo
	(*WktLevelOne_WktLevelTwo_WktLevelThree)(nil), // 2: buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.WktLevelThree
}
var file_buf_validate_conformance_cases_wkt_nested_proto_depIdxs = []int32{
	1, // 0: buf.validate.conformance.cases.WktLevelOne.two:type_name -> buf.validate.conformance.cases.WktLevelOne.WktLevelTwo
	2, // 1: buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.three:type_name -> buf.validate.conformance.cases.WktLevelOne.WktLevelTwo.WktLevelThree
	2, // [2:2] is the sub-list for method output_type
	2, // [2:2] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_buf_validate_conformance_cases_wkt_nested_proto_init() }
func file_buf_validate_conformance_cases_wkt_nested_proto_init() {
	if File_buf_validate_conformance_cases_wkt_nested_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc), len(file_buf_validate_conformance_cases_wkt_nested_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_buf_validate_conformance_cases_wkt_nested_proto_goTypes,
		DependencyIndexes: file_buf_validate_conformance_cases_wkt_nested_proto_depIdxs,
		MessageInfos:      file_buf_validate_conformance_cases_wkt_nested_proto_msgTypes,
	}.Build()
	File_buf_validate_conformance_cases_wkt_nested_proto = out.File
	file_buf_validate_conformance_cases_wkt_nested_proto_goTypes = nil
	file_buf_validate_conformance_cases_wkt_nested_proto_depIdxs = nil
}
