// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.7
// 	protoc        v6.32.0
// source: internal/tool/prototool/prototool.proto

package prototool

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)

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 HeaderValues struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Value         [][]byte               `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*HeaderValues) ProtoMessage() {}

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

func (x *HeaderValues) GetValue() [][]byte {
	if x != nil {
		return x.Value
	}
	return nil
}

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

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

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

func (*HeaderKV) ProtoMessage() {}

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

func (x *HeaderKV) GetKey() []byte {
	if x != nil {
		return x.Key
	}
	return nil
}

func (x *HeaderKV) GetValue() *HeaderValues {
	if x != nil {
		return x.Value
	}
	return nil
}

type QueryValues struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Value         [][]byte               `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*QueryValues) ProtoMessage() {}

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

func (x *QueryValues) GetValue() [][]byte {
	if x != nil {
		return x.Value
	}
	return nil
}

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

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

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

func (*QueryKV) ProtoMessage() {}

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

func (x *QueryKV) GetKey() []byte {
	if x != nil {
		return x.Key
	}
	return nil
}

func (x *QueryKV) GetValue() *QueryValues {
	if x != nil {
		return x.Value
	}
	return nil
}

type HttpRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Method        string                 `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Header        []*HeaderKV            `protobuf:"bytes,2,rep,name=header,proto3" json:"header,omitempty"`
	UrlPath       string                 `protobuf:"bytes,3,opt,name=url_path,json=urlPath,proto3" json:"url_path,omitempty"`
	Query         []*QueryKV             `protobuf:"bytes,4,rep,name=query,proto3" json:"query,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *HttpRequest) Reset() {
	*x = HttpRequest{}
	mi := &file_internal_tool_prototool_prototool_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*HttpRequest) ProtoMessage() {}

func (x *HttpRequest) ProtoReflect() protoreflect.Message {
	mi := &file_internal_tool_prototool_prototool_proto_msgTypes[4]
	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 HttpRequest.ProtoReflect.Descriptor instead.
func (*HttpRequest) Descriptor() ([]byte, []int) {
	return file_internal_tool_prototool_prototool_proto_rawDescGZIP(), []int{4}
}

func (x *HttpRequest) GetMethod() string {
	if x != nil {
		return x.Method
	}
	return ""
}

func (x *HttpRequest) GetHeader() []*HeaderKV {
	if x != nil {
		return x.Header
	}
	return nil
}

func (x *HttpRequest) GetUrlPath() string {
	if x != nil {
		return x.UrlPath
	}
	return ""
}

func (x *HttpRequest) GetQuery() []*QueryKV {
	if x != nil {
		return x.Query
	}
	return nil
}

type HttpResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	StatusCode    int32                  `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
	Status        string                 `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Header        []*HeaderKV            `protobuf:"bytes,3,rep,name=header,proto3" json:"header,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *HttpResponse) Reset() {
	*x = HttpResponse{}
	mi := &file_internal_tool_prototool_prototool_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*HttpResponse) ProtoMessage() {}

func (x *HttpResponse) ProtoReflect() protoreflect.Message {
	mi := &file_internal_tool_prototool_prototool_proto_msgTypes[5]
	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 HttpResponse.ProtoReflect.Descriptor instead.
func (*HttpResponse) Descriptor() ([]byte, []int) {
	return file_internal_tool_prototool_prototool_proto_rawDescGZIP(), []int{5}
}

func (x *HttpResponse) GetStatusCode() int32 {
	if x != nil {
		return x.StatusCode
	}
	return 0
}

func (x *HttpResponse) GetStatus() string {
	if x != nil {
		return x.Status
	}
	return ""
}

func (x *HttpResponse) GetHeader() []*HeaderKV {
	if x != nil {
		return x.Header
	}
	return nil
}

var File_internal_tool_prototool_prototool_proto protoreflect.FileDescriptor

const file_internal_tool_prototool_prototool_proto_rawDesc = "" +
	"\n" +
	"'internal/tool/prototool/prototool.proto\x12\x16gitlab.agent.prototool\x1a\x1bbuf/validate/validate.proto\".\n" +
	"\fHeaderValues\x12\x1e\n" +
	"\x05value\x18\x01 \x03(\fB\b\xbaH\x05\x92\x01\x02\b\x01R\x05value\"\x88\x01\n" +
	"\bHeaderKV\x128\n" +
	"\x03key\x18\x01 \x01(\fB&\xbaH#z!\"\x1f^:?[0-9a-zA-Z!#$%&'*+-.^_|~`]+$R\x03key\x12B\n" +
	"\x05value\x18\x02 \x01(\v2$.gitlab.agent.prototool.HeaderValuesB\x06\xbaH\x03\xc8\x01\x01R\x05value\"#\n" +
	"\vQueryValues\x12\x14\n" +
	"\x05value\x18\x01 \x03(\fR\x05value\"g\n" +
	"\aQueryKV\x12\x19\n" +
	"\x03key\x18\x01 \x01(\fB\a\xbaH\x04z\x02\x10\x01R\x03key\x12A\n" +
	"\x05value\x18\x02 \x01(\v2#.gitlab.agent.prototool.QueryValuesB\x06\xbaH\x03\xc8\x01\x01R\x05value\"\xc3\x01\n" +
	"\vHttpRequest\x12\x1f\n" +
	"\x06method\x18\x01 \x01(\tB\a\xbaH\x04r\x02 \x01R\x06method\x128\n" +
	"\x06header\x18\x02 \x03(\v2 .gitlab.agent.prototool.HeaderKVR\x06header\x12\"\n" +
	"\burl_path\x18\x03 \x01(\tB\a\xbaH\x04r\x02 \x01R\aurlPath\x125\n" +
	"\x05query\x18\x04 \x03(\v2\x1f.gitlab.agent.prototool.QueryKVR\x05query\"\x81\x01\n" +
	"\fHttpResponse\x12\x1f\n" +
	"\vstatus_code\x18\x01 \x01(\x05R\n" +
	"statusCode\x12\x16\n" +
	"\x06status\x18\x02 \x01(\tR\x06status\x128\n" +
	"\x06header\x18\x03 \x03(\v2 .gitlab.agent.prototool.HeaderKVR\x06headerBTZRgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/tool/prototoolb\x06proto3"

var (
	file_internal_tool_prototool_prototool_proto_rawDescOnce sync.Once
	file_internal_tool_prototool_prototool_proto_rawDescData []byte
)

func file_internal_tool_prototool_prototool_proto_rawDescGZIP() []byte {
	file_internal_tool_prototool_prototool_proto_rawDescOnce.Do(func() {
		file_internal_tool_prototool_prototool_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_internal_tool_prototool_prototool_proto_rawDesc), len(file_internal_tool_prototool_prototool_proto_rawDesc)))
	})
	return file_internal_tool_prototool_prototool_proto_rawDescData
}

var file_internal_tool_prototool_prototool_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_internal_tool_prototool_prototool_proto_goTypes = []any{
	(*HeaderValues)(nil), // 0: gitlab.agent.prototool.HeaderValues
	(*HeaderKV)(nil),     // 1: gitlab.agent.prototool.HeaderKV
	(*QueryValues)(nil),  // 2: gitlab.agent.prototool.QueryValues
	(*QueryKV)(nil),      // 3: gitlab.agent.prototool.QueryKV
	(*HttpRequest)(nil),  // 4: gitlab.agent.prototool.HttpRequest
	(*HttpResponse)(nil), // 5: gitlab.agent.prototool.HttpResponse
}
var file_internal_tool_prototool_prototool_proto_depIdxs = []int32{
	0, // 0: gitlab.agent.prototool.HeaderKV.value:type_name -> gitlab.agent.prototool.HeaderValues
	2, // 1: gitlab.agent.prototool.QueryKV.value:type_name -> gitlab.agent.prototool.QueryValues
	1, // 2: gitlab.agent.prototool.HttpRequest.header:type_name -> gitlab.agent.prototool.HeaderKV
	3, // 3: gitlab.agent.prototool.HttpRequest.query:type_name -> gitlab.agent.prototool.QueryKV
	1, // 4: gitlab.agent.prototool.HttpResponse.header:type_name -> gitlab.agent.prototool.HeaderKV
	5, // [5:5] is the sub-list for method output_type
	5, // [5:5] is the sub-list for method input_type
	5, // [5:5] is the sub-list for extension type_name
	5, // [5:5] is the sub-list for extension extendee
	0, // [0:5] is the sub-list for field type_name
}

func init() { file_internal_tool_prototool_prototool_proto_init() }
func file_internal_tool_prototool_prototool_proto_init() {
	if File_internal_tool_prototool_prototool_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_internal_tool_prototool_prototool_proto_rawDesc), len(file_internal_tool_prototool_prototool_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_internal_tool_prototool_prototool_proto_goTypes,
		DependencyIndexes: file_internal_tool_prototool_prototool_proto_depIdxs,
		MessageInfos:      file_internal_tool_prototool_prototool_proto_msgTypes,
	}.Build()
	File_internal_tool_prototool_prototool_proto = out.File
	file_internal_tool_prototool_prototool_proto_goTypes = nil
	file_internal_tool_prototool_prototool_proto_depIdxs = nil
}
