// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        v5.29.3
// source: udpa/annotations/migrate.proto

package annotations

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	descriptorpb "google.golang.org/protobuf/types/descriptorpb"
	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 MigrateAnnotation struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Rename        string                 `protobuf:"bytes,1,opt,name=rename,proto3" json:"rename,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*MigrateAnnotation) ProtoMessage() {}

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

func (x *MigrateAnnotation) GetRename() string {
	if x != nil {
		return x.Rename
	}
	return ""
}

type FieldMigrateAnnotation struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Rename         string                 `protobuf:"bytes,1,opt,name=rename,proto3" json:"rename,omitempty"`
	OneofPromotion string                 `protobuf:"bytes,2,opt,name=oneof_promotion,json=oneofPromotion,proto3" json:"oneof_promotion,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*FieldMigrateAnnotation) ProtoMessage() {}

func (x *FieldMigrateAnnotation) ProtoReflect() protoreflect.Message {
	mi := &file_udpa_annotations_migrate_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 FieldMigrateAnnotation.ProtoReflect.Descriptor instead.
func (*FieldMigrateAnnotation) Descriptor() ([]byte, []int) {
	return file_udpa_annotations_migrate_proto_rawDescGZIP(), []int{1}
}

func (x *FieldMigrateAnnotation) GetRename() string {
	if x != nil {
		return x.Rename
	}
	return ""
}

func (x *FieldMigrateAnnotation) GetOneofPromotion() string {
	if x != nil {
		return x.OneofPromotion
	}
	return ""
}

type FileMigrateAnnotation struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	MoveToPackage string                 `protobuf:"bytes,2,opt,name=move_to_package,json=moveToPackage,proto3" json:"move_to_package,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*FileMigrateAnnotation) ProtoMessage() {}

func (x *FileMigrateAnnotation) ProtoReflect() protoreflect.Message {
	mi := &file_udpa_annotations_migrate_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 FileMigrateAnnotation.ProtoReflect.Descriptor instead.
func (*FileMigrateAnnotation) Descriptor() ([]byte, []int) {
	return file_udpa_annotations_migrate_proto_rawDescGZIP(), []int{2}
}

func (x *FileMigrateAnnotation) GetMoveToPackage() string {
	if x != nil {
		return x.MoveToPackage
	}
	return ""
}

var file_udpa_annotations_migrate_proto_extTypes = []protoimpl.ExtensionInfo{
	{
		ExtendedType:  (*descriptorpb.MessageOptions)(nil),
		ExtensionType: (*MigrateAnnotation)(nil),
		Field:         171962766,
		Name:          "udpa.annotations.message_migrate",
		Tag:           "bytes,171962766,opt,name=message_migrate",
		Filename:      "udpa/annotations/migrate.proto",
	},
	{
		ExtendedType:  (*descriptorpb.FieldOptions)(nil),
		ExtensionType: (*FieldMigrateAnnotation)(nil),
		Field:         171962766,
		Name:          "udpa.annotations.field_migrate",
		Tag:           "bytes,171962766,opt,name=field_migrate",
		Filename:      "udpa/annotations/migrate.proto",
	},
	{
		ExtendedType:  (*descriptorpb.EnumOptions)(nil),
		ExtensionType: (*MigrateAnnotation)(nil),
		Field:         171962766,
		Name:          "udpa.annotations.enum_migrate",
		Tag:           "bytes,171962766,opt,name=enum_migrate",
		Filename:      "udpa/annotations/migrate.proto",
	},
	{
		ExtendedType:  (*descriptorpb.EnumValueOptions)(nil),
		ExtensionType: (*MigrateAnnotation)(nil),
		Field:         171962766,
		Name:          "udpa.annotations.enum_value_migrate",
		Tag:           "bytes,171962766,opt,name=enum_value_migrate",
		Filename:      "udpa/annotations/migrate.proto",
	},
	{
		ExtendedType:  (*descriptorpb.FileOptions)(nil),
		ExtensionType: (*FileMigrateAnnotation)(nil),
		Field:         171962766,
		Name:          "udpa.annotations.file_migrate",
		Tag:           "bytes,171962766,opt,name=file_migrate",
		Filename:      "udpa/annotations/migrate.proto",
	},
}

// Extension fields to descriptorpb.MessageOptions.
var (
	// optional udpa.annotations.MigrateAnnotation message_migrate = 171962766;
	E_MessageMigrate = &file_udpa_annotations_migrate_proto_extTypes[0]
)

// Extension fields to descriptorpb.FieldOptions.
var (
	// optional udpa.annotations.FieldMigrateAnnotation field_migrate = 171962766;
	E_FieldMigrate = &file_udpa_annotations_migrate_proto_extTypes[1]
)

// Extension fields to descriptorpb.EnumOptions.
var (
	// optional udpa.annotations.MigrateAnnotation enum_migrate = 171962766;
	E_EnumMigrate = &file_udpa_annotations_migrate_proto_extTypes[2]
)

// Extension fields to descriptorpb.EnumValueOptions.
var (
	// optional udpa.annotations.MigrateAnnotation enum_value_migrate = 171962766;
	E_EnumValueMigrate = &file_udpa_annotations_migrate_proto_extTypes[3]
)

// Extension fields to descriptorpb.FileOptions.
var (
	// optional udpa.annotations.FileMigrateAnnotation file_migrate = 171962766;
	E_FileMigrate = &file_udpa_annotations_migrate_proto_extTypes[4]
)

var File_udpa_annotations_migrate_proto protoreflect.FileDescriptor

const file_udpa_annotations_migrate_proto_rawDesc = "" +
	"\n" +
	"\x1eudpa/annotations/migrate.proto\x12\x10udpa.annotations\x1a google/protobuf/descriptor.proto\"+\n" +
	"\x11MigrateAnnotation\x12\x16\n" +
	"\x06rename\x18\x01 \x01(\tR\x06rename\"Y\n" +
	"\x16FieldMigrateAnnotation\x12\x16\n" +
	"\x06rename\x18\x01 \x01(\tR\x06rename\x12'\n" +
	"\x0foneof_promotion\x18\x02 \x01(\tR\x0eoneofPromotion\"?\n" +
	"\x15FileMigrateAnnotation\x12&\n" +
	"\x0fmove_to_package\x18\x02 \x01(\tR\rmoveToPackage:p\n" +
	"\x0fmessage_migrate\x12\x1f.google.protobuf.MessageOptions\x18\x8e\xe3\xffQ \x01(\v2#.udpa.annotations.MigrateAnnotationR\x0emessageMigrate:o\n" +
	"\rfield_migrate\x12\x1d.google.protobuf.FieldOptions\x18\x8e\xe3\xffQ \x01(\v2(.udpa.annotations.FieldMigrateAnnotationR\ffieldMigrate:g\n" +
	"\fenum_migrate\x12\x1c.google.protobuf.EnumOptions\x18\x8e\xe3\xffQ \x01(\v2#.udpa.annotations.MigrateAnnotationR\venumMigrate:w\n" +
	"\x12enum_value_migrate\x12!.google.protobuf.EnumValueOptions\x18\x8e\xe3\xffQ \x01(\v2#.udpa.annotations.MigrateAnnotationR\x10enumValueMigrate:k\n" +
	"\ffile_migrate\x12\x1c.google.protobuf.FileOptions\x18\x8e\xe3\xffQ \x01(\v2'.udpa.annotations.FileMigrateAnnotationR\vfileMigrateB)Z'github.com/cncf/xds/go/udpa/annotationsb\x06proto3"

var (
	file_udpa_annotations_migrate_proto_rawDescOnce sync.Once
	file_udpa_annotations_migrate_proto_rawDescData []byte
)

func file_udpa_annotations_migrate_proto_rawDescGZIP() []byte {
	file_udpa_annotations_migrate_proto_rawDescOnce.Do(func() {
		file_udpa_annotations_migrate_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_udpa_annotations_migrate_proto_rawDesc), len(file_udpa_annotations_migrate_proto_rawDesc)))
	})
	return file_udpa_annotations_migrate_proto_rawDescData
}

var file_udpa_annotations_migrate_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_udpa_annotations_migrate_proto_goTypes = []any{
	(*MigrateAnnotation)(nil),             // 0: udpa.annotations.MigrateAnnotation
	(*FieldMigrateAnnotation)(nil),        // 1: udpa.annotations.FieldMigrateAnnotation
	(*FileMigrateAnnotation)(nil),         // 2: udpa.annotations.FileMigrateAnnotation
	(*descriptorpb.MessageOptions)(nil),   // 3: google.protobuf.MessageOptions
	(*descriptorpb.FieldOptions)(nil),     // 4: google.protobuf.FieldOptions
	(*descriptorpb.EnumOptions)(nil),      // 5: google.protobuf.EnumOptions
	(*descriptorpb.EnumValueOptions)(nil), // 6: google.protobuf.EnumValueOptions
	(*descriptorpb.FileOptions)(nil),      // 7: google.protobuf.FileOptions
}
var file_udpa_annotations_migrate_proto_depIdxs = []int32{
	3,  // 0: udpa.annotations.message_migrate:extendee -> google.protobuf.MessageOptions
	4,  // 1: udpa.annotations.field_migrate:extendee -> google.protobuf.FieldOptions
	5,  // 2: udpa.annotations.enum_migrate:extendee -> google.protobuf.EnumOptions
	6,  // 3: udpa.annotations.enum_value_migrate:extendee -> google.protobuf.EnumValueOptions
	7,  // 4: udpa.annotations.file_migrate:extendee -> google.protobuf.FileOptions
	0,  // 5: udpa.annotations.message_migrate:type_name -> udpa.annotations.MigrateAnnotation
	1,  // 6: udpa.annotations.field_migrate:type_name -> udpa.annotations.FieldMigrateAnnotation
	0,  // 7: udpa.annotations.enum_migrate:type_name -> udpa.annotations.MigrateAnnotation
	0,  // 8: udpa.annotations.enum_value_migrate:type_name -> udpa.annotations.MigrateAnnotation
	2,  // 9: udpa.annotations.file_migrate:type_name -> udpa.annotations.FileMigrateAnnotation
	10, // [10:10] is the sub-list for method output_type
	10, // [10:10] is the sub-list for method input_type
	5,  // [5:10] is the sub-list for extension type_name
	0,  // [0:5] is the sub-list for extension extendee
	0,  // [0:0] is the sub-list for field type_name
}

func init() { file_udpa_annotations_migrate_proto_init() }
func file_udpa_annotations_migrate_proto_init() {
	if File_udpa_annotations_migrate_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_udpa_annotations_migrate_proto_rawDesc), len(file_udpa_annotations_migrate_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 5,
			NumServices:   0,
		},
		GoTypes:           file_udpa_annotations_migrate_proto_goTypes,
		DependencyIndexes: file_udpa_annotations_migrate_proto_depIdxs,
		MessageInfos:      file_udpa_annotations_migrate_proto_msgTypes,
		ExtensionInfos:    file_udpa_annotations_migrate_proto_extTypes,
	}.Build()
	File_udpa_annotations_migrate_proto = out.File
	file_udpa_annotations_migrate_proto_goTypes = nil
	file_udpa_annotations_migrate_proto_depIdxs = nil
}
