// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        (unknown)
// source: runtime/v1/serving_binding.proto

package runtimev1

import (
	v1 "github.com/pingcap-inc/nexuscrm-contract/wire-go/gen/common/v1"
	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)
)

// CatalogServingBinding is the inert, Catalog-derived identity for one
// workload serving selection. It is not a caller request, a route predicate,
// a resource selector, or a product tool catalog.
type CatalogServingBinding struct {
	state                     protoimpl.MessageState  `protogen:"open.v1"`
	OrgId                     string                  `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	AppInstallationId         string                  `protobuf:"bytes,2,opt,name=app_installation_id,json=appInstallationId,proto3" json:"app_installation_id,omitempty"`
	AppReleaseDigest          string                  `protobuf:"bytes,3,opt,name=app_release_digest,json=appReleaseDigest,proto3" json:"app_release_digest,omitempty"`
	WorkloadId                string                  `protobuf:"bytes,4,opt,name=workload_id,json=workloadId,proto3" json:"workload_id,omitempty"`
	CanonicalResource         string                  `protobuf:"bytes,5,opt,name=canonical_resource,json=canonicalResource,proto3" json:"canonical_resource,omitempty"`
	ToolContractDigest        string                  `protobuf:"bytes,6,opt,name=tool_contract_digest,json=toolContractDigest,proto3" json:"tool_contract_digest,omitempty"`
	ScopeRouteReceiptDigest   string                  `protobuf:"bytes,7,opt,name=scope_route_receipt_digest,json=scopeRouteReceiptDigest,proto3" json:"scope_route_receipt_digest,omitempty"`
	WorkloadCapabilityCeiling []string                `protobuf:"bytes,8,rep,name=workload_capability_ceiling,json=workloadCapabilityCeiling,proto3" json:"workload_capability_ceiling,omitempty"`
	Receipts                  *v1.ConsistencyReceipts `protobuf:"bytes,9,opt,name=receipts,proto3" json:"receipts,omitempty"`
	unknownFields             protoimpl.UnknownFields
	sizeCache                 protoimpl.SizeCache
}

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

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

func (*CatalogServingBinding) ProtoMessage() {}

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

func (x *CatalogServingBinding) GetOrgId() string {
	if x != nil {
		return x.OrgId
	}
	return ""
}

func (x *CatalogServingBinding) GetAppInstallationId() string {
	if x != nil {
		return x.AppInstallationId
	}
	return ""
}

func (x *CatalogServingBinding) GetAppReleaseDigest() string {
	if x != nil {
		return x.AppReleaseDigest
	}
	return ""
}

func (x *CatalogServingBinding) GetWorkloadId() string {
	if x != nil {
		return x.WorkloadId
	}
	return ""
}

func (x *CatalogServingBinding) GetCanonicalResource() string {
	if x != nil {
		return x.CanonicalResource
	}
	return ""
}

func (x *CatalogServingBinding) GetToolContractDigest() string {
	if x != nil {
		return x.ToolContractDigest
	}
	return ""
}

func (x *CatalogServingBinding) GetScopeRouteReceiptDigest() string {
	if x != nil {
		return x.ScopeRouteReceiptDigest
	}
	return ""
}

func (x *CatalogServingBinding) GetWorkloadCapabilityCeiling() []string {
	if x != nil {
		return x.WorkloadCapabilityCeiling
	}
	return nil
}

func (x *CatalogServingBinding) GetReceipts() *v1.ConsistencyReceipts {
	if x != nil {
		return x.Receipts
	}
	return nil
}

var File_runtime_v1_serving_binding_proto protoreflect.FileDescriptor

const file_runtime_v1_serving_binding_proto_rawDesc = "" +
	"\n" +
	" runtime/v1/serving_binding.proto\x12\x13nexuscrm.runtime.v1\x1a\x16common/v1/common.proto\"\xd0\x03\n" +
	"\x15CatalogServingBinding\x12\x15\n" +
	"\x06org_id\x18\x01 \x01(\tR\x05orgId\x12.\n" +
	"\x13app_installation_id\x18\x02 \x01(\tR\x11appInstallationId\x12,\n" +
	"\x12app_release_digest\x18\x03 \x01(\tR\x10appReleaseDigest\x12\x1f\n" +
	"\vworkload_id\x18\x04 \x01(\tR\n" +
	"workloadId\x12-\n" +
	"\x12canonical_resource\x18\x05 \x01(\tR\x11canonicalResource\x120\n" +
	"\x14tool_contract_digest\x18\x06 \x01(\tR\x12toolContractDigest\x12;\n" +
	"\x1ascope_route_receipt_digest\x18\a \x01(\tR\x17scopeRouteReceiptDigest\x12>\n" +
	"\x1bworkload_capability_ceiling\x18\b \x03(\tR\x19workloadCapabilityCeiling\x12C\n" +
	"\breceipts\x18\t \x01(\v2'.nexuscrm.common.v1.ConsistencyReceiptsR\breceiptsBKZIgithub.com/pingcap-inc/nexuscrm-contract/wire-go/gen/runtime/v1;runtimev1b\x06proto3"

var (
	file_runtime_v1_serving_binding_proto_rawDescOnce sync.Once
	file_runtime_v1_serving_binding_proto_rawDescData []byte
)

func file_runtime_v1_serving_binding_proto_rawDescGZIP() []byte {
	file_runtime_v1_serving_binding_proto_rawDescOnce.Do(func() {
		file_runtime_v1_serving_binding_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_runtime_v1_serving_binding_proto_rawDesc), len(file_runtime_v1_serving_binding_proto_rawDesc)))
	})
	return file_runtime_v1_serving_binding_proto_rawDescData
}

var file_runtime_v1_serving_binding_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_runtime_v1_serving_binding_proto_goTypes = []any{
	(*CatalogServingBinding)(nil),  // 0: nexuscrm.runtime.v1.CatalogServingBinding
	(*v1.ConsistencyReceipts)(nil), // 1: nexuscrm.common.v1.ConsistencyReceipts
}
var file_runtime_v1_serving_binding_proto_depIdxs = []int32{
	1, // 0: nexuscrm.runtime.v1.CatalogServingBinding.receipts:type_name -> nexuscrm.common.v1.ConsistencyReceipts
	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_runtime_v1_serving_binding_proto_init() }
func file_runtime_v1_serving_binding_proto_init() {
	if File_runtime_v1_serving_binding_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_runtime_v1_serving_binding_proto_rawDesc), len(file_runtime_v1_serving_binding_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_runtime_v1_serving_binding_proto_goTypes,
		DependencyIndexes: file_runtime_v1_serving_binding_proto_depIdxs,
		MessageInfos:      file_runtime_v1_serving_binding_proto_msgTypes,
	}.Build()
	File_runtime_v1_serving_binding_proto = out.File
	file_runtime_v1_serving_binding_proto_goTypes = nil
	file_runtime_v1_serving_binding_proto_depIdxs = nil
}
