// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.12
// 	protoc        (unknown)
// source: ng_agent_common/common.proto

package ng_agent_common

import (
	_ "github.com/envoyproxy/protoc-gen-validate/validate"
	_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
	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 Region struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                  // e.g. us-west-2
	DisplayName   string                 `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // e.g. Oregon (us-west-2)
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Region) ProtoMessage() {}

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

func (x *Region) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *Region) GetDisplayName() string {
	if x != nil {
		return x.DisplayName
	}
	return ""
}

type Table struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Schema        string                 `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	Table         string                 `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Table) ProtoMessage() {}

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

func (x *Table) GetSchema() string {
	if x != nil {
		return x.Schema
	}
	return ""
}

func (x *Table) GetTable() string {
	if x != nil {
		return x.Table
	}
	return ""
}

var File_ng_agent_common_common_proto protoreflect.FileDescriptor

const file_ng_agent_common_common_proto_rawDesc = "" +
	"\n" +
	"\x1cng_agent_common/common.proto\x12\x0fng_agent_common\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x17validate/validate.proto\"?\n" +
	"\x06Region\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12!\n" +
	"\fdisplay_name\x18\x02 \x01(\tR\vdisplayName\"\xcf\x01\n" +
	"\x05Table\x12j\n" +
	"\x06schema\x18\x01 \x01(\tBR\x92AH25The name of the database containing the target table.J\x0f\"database_name\"\xfaB\x04r\x02\x10\x01R\x06schema\x12Z\n" +
	"\x05table\x18\x02 \x01(\tBD\x92A:2*The name of the table within the database.J\f\"table_name\"\xfaB\x04r\x02\x10\x01R\x05tableBYZWgithub.com/tidbcloud/dataflow-service/dataflow-agent-ng/idl/pbgen/proto/ng_agent_commonb\x06proto3"

var (
	file_ng_agent_common_common_proto_rawDescOnce sync.Once
	file_ng_agent_common_common_proto_rawDescData []byte
)

func file_ng_agent_common_common_proto_rawDescGZIP() []byte {
	file_ng_agent_common_common_proto_rawDescOnce.Do(func() {
		file_ng_agent_common_common_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ng_agent_common_common_proto_rawDesc), len(file_ng_agent_common_common_proto_rawDesc)))
	})
	return file_ng_agent_common_common_proto_rawDescData
}

var file_ng_agent_common_common_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_ng_agent_common_common_proto_goTypes = []any{
	(*Region)(nil), // 0: ng_agent_common.Region
	(*Table)(nil),  // 1: ng_agent_common.Table
}
var file_ng_agent_common_common_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_ng_agent_common_common_proto_init() }
func file_ng_agent_common_common_proto_init() {
	if File_ng_agent_common_common_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_ng_agent_common_common_proto_rawDesc), len(file_ng_agent_common_common_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_ng_agent_common_common_proto_goTypes,
		DependencyIndexes: file_ng_agent_common_common_proto_depIdxs,
		MessageInfos:      file_ng_agent_common_common_proto_msgTypes,
	}.Build()
	File_ng_agent_common_common_proto = out.File
	file_ng_agent_common_common_proto_goTypes = nil
	file_ng_agent_common_common_proto_depIdxs = nil
}
