// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.19.0
// source: interservice/infra_proxy/response/common.proto

package response

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 RunList struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Run list item type (e.g. 'recipe').
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"`
	// Run list item name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	// Run list item version.
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"`
	// Boolean denoting whether or not the run list item was skipped.
	Skipped bool `protobuf:"varint,4,opt,name=skipped,proto3" json:"skipped,omitempty" toml:"skipped,omitempty" mapstructure:"skipped,omitempty"`
	// Run list item position
	Position int32 `protobuf:"varint,5,opt,name=position,proto3" json:"position,omitempty" toml:"position,omitempty" mapstructure:"position,omitempty"`
	// Run list error
	Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty" toml:"error,omitempty" mapstructure:"error,omitempty"`
	// List of the run list.
	Children      []*RunList `protobuf:"bytes,7,rep,name=children,proto3" json:"children,omitempty" toml:"children,omitempty" mapstructure:"children,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*RunList) ProtoMessage() {}

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

func (x *RunList) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

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

func (x *RunList) GetVersion() string {
	if x != nil {
		return x.Version
	}
	return ""
}

func (x *RunList) GetSkipped() bool {
	if x != nil {
		return x.Skipped
	}
	return false
}

func (x *RunList) GetPosition() int32 {
	if x != nil {
		return x.Position
	}
	return 0
}

func (x *RunList) GetError() string {
	if x != nil {
		return x.Error
	}
	return ""
}

func (x *RunList) GetChildren() []*RunList {
	if x != nil {
		return x.Children
	}
	return nil
}

var File_interservice_infra_proxy_response_common_proto protoreflect.FileDescriptor

const file_interservice_infra_proxy_response_common_proto_rawDesc = "" +
	"\n" +
	".interservice/infra_proxy/response/common.proto\x12)chef.automate.domain.infra_proxy.response\"\xe7\x01\n" +
	"\aRunList\x12\x12\n" +
	"\x04type\x18\x01 \x01(\tR\x04type\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12\x18\n" +
	"\aversion\x18\x03 \x01(\tR\aversion\x12\x18\n" +
	"\askipped\x18\x04 \x01(\bR\askipped\x12\x1a\n" +
	"\bposition\x18\x05 \x01(\x05R\bposition\x12\x14\n" +
	"\x05error\x18\x06 \x01(\tR\x05error\x12N\n" +
	"\bchildren\x18\a \x03(\v22.chef.automate.domain.infra_proxy.response.RunListR\bchildrenB@Z>github.com/chef/automate/api/interservice/infra_proxy/responseb\x06proto3"

var (
	file_interservice_infra_proxy_response_common_proto_rawDescOnce sync.Once
	file_interservice_infra_proxy_response_common_proto_rawDescData []byte
)

func file_interservice_infra_proxy_response_common_proto_rawDescGZIP() []byte {
	file_interservice_infra_proxy_response_common_proto_rawDescOnce.Do(func() {
		file_interservice_infra_proxy_response_common_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_interservice_infra_proxy_response_common_proto_rawDesc), len(file_interservice_infra_proxy_response_common_proto_rawDesc)))
	})
	return file_interservice_infra_proxy_response_common_proto_rawDescData
}

var file_interservice_infra_proxy_response_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_interservice_infra_proxy_response_common_proto_goTypes = []any{
	(*RunList)(nil), // 0: chef.automate.domain.infra_proxy.response.RunList
}
var file_interservice_infra_proxy_response_common_proto_depIdxs = []int32{
	0, // 0: chef.automate.domain.infra_proxy.response.RunList.children:type_name -> chef.automate.domain.infra_proxy.response.RunList
	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_interservice_infra_proxy_response_common_proto_init() }
func file_interservice_infra_proxy_response_common_proto_init() {
	if File_interservice_infra_proxy_response_common_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_interservice_infra_proxy_response_common_proto_rawDesc), len(file_interservice_infra_proxy_response_common_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_interservice_infra_proxy_response_common_proto_goTypes,
		DependencyIndexes: file_interservice_infra_proxy_response_common_proto_depIdxs,
		MessageInfos:      file_interservice_infra_proxy_response_common_proto_msgTypes,
	}.Build()
	File_interservice_infra_proxy_response_common_proto = out.File
	file_interservice_infra_proxy_response_common_proto_goTypes = nil
	file_interservice_infra_proxy_response_common_proto_depIdxs = nil
}
