// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        v6.31.1
// source: bonanza.build/pkg/proto/model/executewithstorage/executewithstorage.proto

package executewithstorage

import (
	core "bonanza.build/pkg/proto/model/core"
	encoding "bonanza.build/pkg/proto/model/encoding"
	object "bonanza.build/pkg/proto/storage/object"
	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 Action struct {
	state           protoimpl.MessageState       `protogen:"open.v1"`
	Namespace       *object.Namespace            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	ActionEncoders  []*encoding.BinaryEncoder    `protobuf:"bytes,2,rep,name=action_encoders,json=actionEncoders,proto3" json:"action_encoders,omitempty"`
	ActionReference *core.WeakDecodableReference `protobuf:"bytes,3,opt,name=action_reference,json=actionReference,proto3" json:"action_reference,omitempty"`
	ActionFormat    *core.ObjectFormat           `protobuf:"bytes,4,opt,name=action_format,json=actionFormat,proto3" json:"action_format,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*Action) ProtoMessage() {}

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

func (x *Action) GetNamespace() *object.Namespace {
	if x != nil {
		return x.Namespace
	}
	return nil
}

func (x *Action) GetActionEncoders() []*encoding.BinaryEncoder {
	if x != nil {
		return x.ActionEncoders
	}
	return nil
}

func (x *Action) GetActionReference() *core.WeakDecodableReference {
	if x != nil {
		return x.ActionReference
	}
	return nil
}

func (x *Action) GetActionFormat() *core.ObjectFormat {
	if x != nil {
		return x.ActionFormat
	}
	return nil
}

var File_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto protoreflect.FileDescriptor

const file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_rawDesc = "" +
	"\n" +
	"Ibonanza.build/pkg/proto/model/executewithstorage/executewithstorage.proto\x12 bonanza.model.executewithstorage\x1a-bonanza.build/pkg/proto/model/core/core.proto\x1a5bonanza.build/pkg/proto/model/encoding/encoding.proto\x1a3bonanza.build/pkg/proto/storage/object/object.proto\"\xb7\x02\n" +
	"\x06Action\x12?\n" +
	"\tnamespace\x18\x01 \x01(\v2!.bonanza.storage.object.NamespaceR\tnamespace\x12N\n" +
	"\x0faction_encoders\x18\x02 \x03(\v2%.bonanza.model.encoding.BinaryEncoderR\x0eactionEncoders\x12U\n" +
	"\x10action_reference\x18\x03 \x01(\v2*.bonanza.model.core.WeakDecodableReferenceR\x0factionReference\x12E\n" +
	"\raction_format\x18\x04 \x01(\v2 .bonanza.model.core.ObjectFormatR\factionFormatB2Z0bonanza.build/pkg/proto/model/executewithstorageb\x06proto3"

var (
	file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_rawDescOnce sync.Once
	file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_rawDescData []byte
)

func file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_rawDescGZIP() []byte {
	file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_rawDescOnce.Do(func() {
		file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_rawDesc), len(file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_rawDesc)))
	})
	return file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_rawDescData
}

var file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_goTypes = []any{
	(*Action)(nil),                      // 0: bonanza.model.executewithstorage.Action
	(*object.Namespace)(nil),            // 1: bonanza.storage.object.Namespace
	(*encoding.BinaryEncoder)(nil),      // 2: bonanza.model.encoding.BinaryEncoder
	(*core.WeakDecodableReference)(nil), // 3: bonanza.model.core.WeakDecodableReference
	(*core.ObjectFormat)(nil),           // 4: bonanza.model.core.ObjectFormat
}
var file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_depIdxs = []int32{
	1, // 0: bonanza.model.executewithstorage.Action.namespace:type_name -> bonanza.storage.object.Namespace
	2, // 1: bonanza.model.executewithstorage.Action.action_encoders:type_name -> bonanza.model.encoding.BinaryEncoder
	3, // 2: bonanza.model.executewithstorage.Action.action_reference:type_name -> bonanza.model.core.WeakDecodableReference
	4, // 3: bonanza.model.executewithstorage.Action.action_format:type_name -> bonanza.model.core.ObjectFormat
	4, // [4:4] is the sub-list for method output_type
	4, // [4:4] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] is the sub-list for field type_name
}

func init() { file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_init() }
func file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_init() {
	if File_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_rawDesc), len(file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_goTypes,
		DependencyIndexes: file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_depIdxs,
		MessageInfos:      file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_msgTypes,
	}.Build()
	File_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto = out.File
	file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_goTypes = nil
	file_bonanza_build_pkg_proto_model_executewithstorage_executewithstorage_proto_depIdxs = nil
}
