// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        (unknown)
// source: xyz/block/ftl/v1/ftl.proto

package ftlv1

import (
	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 PingRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PingRequest) ProtoMessage() {}

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

type PingResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// If present, the service is not ready to accept requests and this is the
	// reason.
	NotReady      *string `protobuf:"bytes,1,opt,name=not_ready,json=notReady,proto3,oneof" json:"not_ready,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PingResponse) ProtoMessage() {}

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

func (x *PingResponse) GetNotReady() string {
	if x != nil && x.NotReady != nil {
		return *x.NotReady
	}
	return ""
}

type Metadata struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Values        []*Metadata_Pair       `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Metadata) ProtoMessage() {}

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

func (x *Metadata) GetValues() []*Metadata_Pair {
	if x != nil {
		return x.Values
	}
	return nil
}

type Metadata_Pair struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Key           string                 `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value         string                 `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Metadata_Pair) Reset() {
	*x = Metadata_Pair{}
	mi := &file_xyz_block_ftl_v1_ftl_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*Metadata_Pair) ProtoMessage() {}

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

func (x *Metadata_Pair) GetKey() string {
	if x != nil {
		return x.Key
	}
	return ""
}

func (x *Metadata_Pair) GetValue() string {
	if x != nil {
		return x.Value
	}
	return ""
}

var File_xyz_block_ftl_v1_ftl_proto protoreflect.FileDescriptor

const file_xyz_block_ftl_v1_ftl_proto_rawDesc = "" +
	"\n" +
	"\x1axyz/block/ftl/v1/ftl.proto\x12\x10xyz.block.ftl.v1\"\r\n" +
	"\vPingRequest\">\n" +
	"\fPingResponse\x12 \n" +
	"\tnot_ready\x18\x01 \x01(\tH\x00R\bnotReady\x88\x01\x01B\f\n" +
	"\n" +
	"_not_ready\"s\n" +
	"\bMetadata\x127\n" +
	"\x06values\x18\x01 \x03(\v2\x1f.xyz.block.ftl.v1.Metadata.PairR\x06values\x1a.\n" +
	"\x04Pair\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05valueB>P\x01Z:github.com/block/ftl/backend/protos/xyz/block/ftl/v1;ftlv1b\x06proto3"

var (
	file_xyz_block_ftl_v1_ftl_proto_rawDescOnce sync.Once
	file_xyz_block_ftl_v1_ftl_proto_rawDescData []byte
)

func file_xyz_block_ftl_v1_ftl_proto_rawDescGZIP() []byte {
	file_xyz_block_ftl_v1_ftl_proto_rawDescOnce.Do(func() {
		file_xyz_block_ftl_v1_ftl_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_xyz_block_ftl_v1_ftl_proto_rawDesc), len(file_xyz_block_ftl_v1_ftl_proto_rawDesc)))
	})
	return file_xyz_block_ftl_v1_ftl_proto_rawDescData
}

var file_xyz_block_ftl_v1_ftl_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_xyz_block_ftl_v1_ftl_proto_goTypes = []any{
	(*PingRequest)(nil),   // 0: xyz.block.ftl.v1.PingRequest
	(*PingResponse)(nil),  // 1: xyz.block.ftl.v1.PingResponse
	(*Metadata)(nil),      // 2: xyz.block.ftl.v1.Metadata
	(*Metadata_Pair)(nil), // 3: xyz.block.ftl.v1.Metadata.Pair
}
var file_xyz_block_ftl_v1_ftl_proto_depIdxs = []int32{
	3, // 0: xyz.block.ftl.v1.Metadata.values:type_name -> xyz.block.ftl.v1.Metadata.Pair
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_xyz_block_ftl_v1_ftl_proto_init() }
func file_xyz_block_ftl_v1_ftl_proto_init() {
	if File_xyz_block_ftl_v1_ftl_proto != nil {
		return
	}
	file_xyz_block_ftl_v1_ftl_proto_msgTypes[1].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_xyz_block_ftl_v1_ftl_proto_rawDesc), len(file_xyz_block_ftl_v1_ftl_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_xyz_block_ftl_v1_ftl_proto_goTypes,
		DependencyIndexes: file_xyz_block_ftl_v1_ftl_proto_depIdxs,
		MessageInfos:      file_xyz_block_ftl_v1_ftl_proto_msgTypes,
	}.Build()
	File_xyz_block_ftl_v1_ftl_proto = out.File
	file_xyz_block_ftl_v1_ftl_proto_goTypes = nil
	file_xyz_block_ftl_v1_ftl_proto_depIdxs = nil
}
