// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        (unknown)
// source: runtime/v1/application_navigation.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)
)

type ApplicationNavigationResourceTarget struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ResourceType  string                 `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	ResourceId    string                 `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ApplicationNavigationResourceTarget) ProtoMessage() {}

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

func (x *ApplicationNavigationResourceTarget) GetResourceType() string {
	if x != nil {
		return x.ResourceType
	}
	return ""
}

func (x *ApplicationNavigationResourceTarget) GetResourceId() string {
	if x != nil {
		return x.ResourceId
	}
	return ""
}

// Page paths are resolved by the application release from the stable identity.
type ApplicationNavigationPageTarget struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ApplicationNavigationPageTarget) ProtoMessage() {}

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

func (x *ApplicationNavigationPageTarget) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

type ApplicationNavigationItem struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	Id    string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Label string                 `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Icon  string                 `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`
	// Types that are valid to be assigned to Target:
	//
	//	*ApplicationNavigationItem_Resource
	//	*ApplicationNavigationItem_Page
	//	*ApplicationNavigationItem_Url
	Target        isApplicationNavigationItem_Target `protobuf_oneof:"target"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ApplicationNavigationItem) ProtoMessage() {}

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

func (x *ApplicationNavigationItem) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *ApplicationNavigationItem) GetLabel() string {
	if x != nil {
		return x.Label
	}
	return ""
}

func (x *ApplicationNavigationItem) GetIcon() string {
	if x != nil {
		return x.Icon
	}
	return ""
}

func (x *ApplicationNavigationItem) GetTarget() isApplicationNavigationItem_Target {
	if x != nil {
		return x.Target
	}
	return nil
}

func (x *ApplicationNavigationItem) GetResource() *ApplicationNavigationResourceTarget {
	if x != nil {
		if x, ok := x.Target.(*ApplicationNavigationItem_Resource); ok {
			return x.Resource
		}
	}
	return nil
}

func (x *ApplicationNavigationItem) GetPage() *ApplicationNavigationPageTarget {
	if x != nil {
		if x, ok := x.Target.(*ApplicationNavigationItem_Page); ok {
			return x.Page
		}
	}
	return nil
}

func (x *ApplicationNavigationItem) GetUrl() string {
	if x != nil {
		if x, ok := x.Target.(*ApplicationNavigationItem_Url); ok {
			return x.Url
		}
	}
	return ""
}

type isApplicationNavigationItem_Target interface {
	isApplicationNavigationItem_Target()
}

type ApplicationNavigationItem_Resource struct {
	Resource *ApplicationNavigationResourceTarget `protobuf:"bytes,4,opt,name=resource,proto3,oneof"`
}

type ApplicationNavigationItem_Page struct {
	Page *ApplicationNavigationPageTarget `protobuf:"bytes,5,opt,name=page,proto3,oneof"`
}

type ApplicationNavigationItem_Url struct {
	Url string `protobuf:"bytes,6,opt,name=url,proto3,oneof"`
}

func (*ApplicationNavigationItem_Resource) isApplicationNavigationItem_Target() {}

func (*ApplicationNavigationItem_Page) isApplicationNavigationItem_Target() {}

func (*ApplicationNavigationItem_Url) isApplicationNavigationItem_Target() {}

// The wrapper distinguishes omitted items from a deliberate empty document.
type ApplicationNavigationItems struct {
	state         protoimpl.MessageState       `protogen:"open.v1"`
	Values        []*ApplicationNavigationItem `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ApplicationNavigationItems) ProtoMessage() {}

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

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

type ApplicationNavigationDocument struct {
	state         protoimpl.MessageState      `protogen:"open.v1"`
	ApplicationId string                      `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	Revision      uint64                      `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
	Items         *ApplicationNavigationItems `protobuf:"bytes,3,opt,name=items,proto3" json:"items,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ApplicationNavigationDocument) ProtoMessage() {}

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

func (x *ApplicationNavigationDocument) GetApplicationId() string {
	if x != nil {
		return x.ApplicationId
	}
	return ""
}

func (x *ApplicationNavigationDocument) GetRevision() uint64 {
	if x != nil {
		return x.Revision
	}
	return 0
}

func (x *ApplicationNavigationDocument) GetItems() *ApplicationNavigationItems {
	if x != nil {
		return x.Items
	}
	return nil
}

type ApplicationNavigationServiceReadRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ApplicationId string                 `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ApplicationNavigationServiceReadRequest) ProtoMessage() {}

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

func (x *ApplicationNavigationServiceReadRequest) GetApplicationId() string {
	if x != nil {
		return x.ApplicationId
	}
	return ""
}

type ApplicationNavigationServiceReadResponse struct {
	state         protoimpl.MessageState         `protogen:"open.v1"`
	Document      *ApplicationNavigationDocument `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
	Receipts      *v1.ConsistencyReceipts        `protobuf:"bytes,2,opt,name=receipts,proto3" json:"receipts,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ApplicationNavigationServiceReadResponse) Reset() {
	*x = ApplicationNavigationServiceReadResponse{}
	mi := &file_runtime_v1_application_navigation_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ApplicationNavigationServiceReadResponse) ProtoMessage() {}

func (x *ApplicationNavigationServiceReadResponse) ProtoReflect() protoreflect.Message {
	mi := &file_runtime_v1_application_navigation_proto_msgTypes[6]
	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 ApplicationNavigationServiceReadResponse.ProtoReflect.Descriptor instead.
func (*ApplicationNavigationServiceReadResponse) Descriptor() ([]byte, []int) {
	return file_runtime_v1_application_navigation_proto_rawDescGZIP(), []int{6}
}

func (x *ApplicationNavigationServiceReadResponse) GetDocument() *ApplicationNavigationDocument {
	if x != nil {
		return x.Document
	}
	return nil
}

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

type ApplicationNavigationServiceResolveRequest struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	ApplicationIds []string               `protobuf:"bytes,1,rep,name=application_ids,json=applicationIds,proto3" json:"application_ids,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *ApplicationNavigationServiceResolveRequest) Reset() {
	*x = ApplicationNavigationServiceResolveRequest{}
	mi := &file_runtime_v1_application_navigation_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ApplicationNavigationServiceResolveRequest) ProtoMessage() {}

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

func (x *ApplicationNavigationServiceResolveRequest) GetApplicationIds() []string {
	if x != nil {
		return x.ApplicationIds
	}
	return nil
}

type ApplicationNavigationServiceResolveResponse struct {
	state         protoimpl.MessageState           `protogen:"open.v1"`
	Documents     []*ApplicationNavigationDocument `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"`
	Receipts      *v1.ConsistencyReceipts          `protobuf:"bytes,2,opt,name=receipts,proto3" json:"receipts,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ApplicationNavigationServiceResolveResponse) Reset() {
	*x = ApplicationNavigationServiceResolveResponse{}
	mi := &file_runtime_v1_application_navigation_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ApplicationNavigationServiceResolveResponse) ProtoMessage() {}

func (x *ApplicationNavigationServiceResolveResponse) ProtoReflect() protoreflect.Message {
	mi := &file_runtime_v1_application_navigation_proto_msgTypes[8]
	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 ApplicationNavigationServiceResolveResponse.ProtoReflect.Descriptor instead.
func (*ApplicationNavigationServiceResolveResponse) Descriptor() ([]byte, []int) {
	return file_runtime_v1_application_navigation_proto_rawDescGZIP(), []int{8}
}

func (x *ApplicationNavigationServiceResolveResponse) GetDocuments() []*ApplicationNavigationDocument {
	if x != nil {
		return x.Documents
	}
	return nil
}

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

type ApplicationNavigationServiceSaveRequest struct {
	state            protoimpl.MessageState      `protogen:"open.v1"`
	ApplicationId    string                      `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	ExpectedRevision uint64                      `protobuf:"varint,2,opt,name=expected_revision,json=expectedRevision,proto3" json:"expected_revision,omitempty"`
	IdempotencyKey   string                      `protobuf:"bytes,3,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
	Items            *ApplicationNavigationItems `protobuf:"bytes,4,opt,name=items,proto3" json:"items,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *ApplicationNavigationServiceSaveRequest) Reset() {
	*x = ApplicationNavigationServiceSaveRequest{}
	mi := &file_runtime_v1_application_navigation_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ApplicationNavigationServiceSaveRequest) ProtoMessage() {}

func (x *ApplicationNavigationServiceSaveRequest) ProtoReflect() protoreflect.Message {
	mi := &file_runtime_v1_application_navigation_proto_msgTypes[9]
	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 ApplicationNavigationServiceSaveRequest.ProtoReflect.Descriptor instead.
func (*ApplicationNavigationServiceSaveRequest) Descriptor() ([]byte, []int) {
	return file_runtime_v1_application_navigation_proto_rawDescGZIP(), []int{9}
}

func (x *ApplicationNavigationServiceSaveRequest) GetApplicationId() string {
	if x != nil {
		return x.ApplicationId
	}
	return ""
}

func (x *ApplicationNavigationServiceSaveRequest) GetExpectedRevision() uint64 {
	if x != nil {
		return x.ExpectedRevision
	}
	return 0
}

func (x *ApplicationNavigationServiceSaveRequest) GetIdempotencyKey() string {
	if x != nil {
		return x.IdempotencyKey
	}
	return ""
}

func (x *ApplicationNavigationServiceSaveRequest) GetItems() *ApplicationNavigationItems {
	if x != nil {
		return x.Items
	}
	return nil
}

type ApplicationNavigationServiceSaveResponse struct {
	state         protoimpl.MessageState         `protogen:"open.v1"`
	Document      *ApplicationNavigationDocument `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
	Changed       bool                           `protobuf:"varint,2,opt,name=changed,proto3" json:"changed,omitempty"`
	Receipts      *v1.ConsistencyReceipts        `protobuf:"bytes,3,opt,name=receipts,proto3" json:"receipts,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ApplicationNavigationServiceSaveResponse) Reset() {
	*x = ApplicationNavigationServiceSaveResponse{}
	mi := &file_runtime_v1_application_navigation_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ApplicationNavigationServiceSaveResponse) ProtoMessage() {}

func (x *ApplicationNavigationServiceSaveResponse) ProtoReflect() protoreflect.Message {
	mi := &file_runtime_v1_application_navigation_proto_msgTypes[10]
	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 ApplicationNavigationServiceSaveResponse.ProtoReflect.Descriptor instead.
func (*ApplicationNavigationServiceSaveResponse) Descriptor() ([]byte, []int) {
	return file_runtime_v1_application_navigation_proto_rawDescGZIP(), []int{10}
}

func (x *ApplicationNavigationServiceSaveResponse) GetDocument() *ApplicationNavigationDocument {
	if x != nil {
		return x.Document
	}
	return nil
}

func (x *ApplicationNavigationServiceSaveResponse) GetChanged() bool {
	if x != nil {
		return x.Changed
	}
	return false
}

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

var File_runtime_v1_application_navigation_proto protoreflect.FileDescriptor

const file_runtime_v1_application_navigation_proto_rawDesc = "" +
	"\n" +
	"'runtime/v1/application_navigation.proto\x12\x13nexuscrm.runtime.v1\x1a\x16common/v1/common.proto\"k\n" +
	"#ApplicationNavigationResourceTarget\x12#\n" +
	"\rresource_type\x18\x01 \x01(\tR\fresourceType\x12\x1f\n" +
	"\vresource_id\x18\x02 \x01(\tR\n" +
	"resourceId\"=\n" +
	"\x1fApplicationNavigationPageTarget\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02idJ\x04\b\x02\x10\x03R\x04path\"\x97\x02\n" +
	"\x19ApplicationNavigationItem\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
	"\x05label\x18\x02 \x01(\tR\x05label\x12\x12\n" +
	"\x04icon\x18\x03 \x01(\tR\x04icon\x12V\n" +
	"\bresource\x18\x04 \x01(\v28.nexuscrm.runtime.v1.ApplicationNavigationResourceTargetH\x00R\bresource\x12J\n" +
	"\x04page\x18\x05 \x01(\v24.nexuscrm.runtime.v1.ApplicationNavigationPageTargetH\x00R\x04page\x12\x12\n" +
	"\x03url\x18\x06 \x01(\tH\x00R\x03urlB\b\n" +
	"\x06target\"d\n" +
	"\x1aApplicationNavigationItems\x12F\n" +
	"\x06values\x18\x01 \x03(\v2..nexuscrm.runtime.v1.ApplicationNavigationItemR\x06values\"\xa9\x01\n" +
	"\x1dApplicationNavigationDocument\x12%\n" +
	"\x0eapplication_id\x18\x01 \x01(\tR\rapplicationId\x12\x1a\n" +
	"\brevision\x18\x02 \x01(\x04R\brevision\x12E\n" +
	"\x05items\x18\x03 \x01(\v2/.nexuscrm.runtime.v1.ApplicationNavigationItemsR\x05items\"P\n" +
	"'ApplicationNavigationServiceReadRequest\x12%\n" +
	"\x0eapplication_id\x18\x01 \x01(\tR\rapplicationId\"\xbf\x01\n" +
	"(ApplicationNavigationServiceReadResponse\x12N\n" +
	"\bdocument\x18\x01 \x01(\v22.nexuscrm.runtime.v1.ApplicationNavigationDocumentR\bdocument\x12C\n" +
	"\breceipts\x18\x02 \x01(\v2'.nexuscrm.common.v1.ConsistencyReceiptsR\breceipts\"U\n" +
	"*ApplicationNavigationServiceResolveRequest\x12'\n" +
	"\x0fapplication_ids\x18\x01 \x03(\tR\x0eapplicationIds\"\xc4\x01\n" +
	"+ApplicationNavigationServiceResolveResponse\x12P\n" +
	"\tdocuments\x18\x01 \x03(\v22.nexuscrm.runtime.v1.ApplicationNavigationDocumentR\tdocuments\x12C\n" +
	"\breceipts\x18\x02 \x01(\v2'.nexuscrm.common.v1.ConsistencyReceiptsR\breceipts\"\xed\x01\n" +
	"'ApplicationNavigationServiceSaveRequest\x12%\n" +
	"\x0eapplication_id\x18\x01 \x01(\tR\rapplicationId\x12+\n" +
	"\x11expected_revision\x18\x02 \x01(\x04R\x10expectedRevision\x12'\n" +
	"\x0fidempotency_key\x18\x03 \x01(\tR\x0eidempotencyKey\x12E\n" +
	"\x05items\x18\x04 \x01(\v2/.nexuscrm.runtime.v1.ApplicationNavigationItemsR\x05items\"\xd9\x01\n" +
	"(ApplicationNavigationServiceSaveResponse\x12N\n" +
	"\bdocument\x18\x01 \x01(\v22.nexuscrm.runtime.v1.ApplicationNavigationDocumentR\bdocument\x12\x18\n" +
	"\achanged\x18\x02 \x01(\bR\achanged\x12C\n" +
	"\breceipts\x18\x03 \x01(\v2'.nexuscrm.common.v1.ConsistencyReceiptsR\breceipts2\xb9\x03\n" +
	"\x1cApplicationNavigationService\x12\x83\x01\n" +
	"\x04Read\x12<.nexuscrm.runtime.v1.ApplicationNavigationServiceReadRequest\x1a=.nexuscrm.runtime.v1.ApplicationNavigationServiceReadResponse\x12\x8c\x01\n" +
	"\aResolve\x12?.nexuscrm.runtime.v1.ApplicationNavigationServiceResolveRequest\x1a@.nexuscrm.runtime.v1.ApplicationNavigationServiceResolveResponse\x12\x83\x01\n" +
	"\x04Save\x12<.nexuscrm.runtime.v1.ApplicationNavigationServiceSaveRequest\x1a=.nexuscrm.runtime.v1.ApplicationNavigationServiceSaveResponseBKZIgithub.com/pingcap-inc/nexuscrm-contract/wire-go/gen/runtime/v1;runtimev1b\x06proto3"

var (
	file_runtime_v1_application_navigation_proto_rawDescOnce sync.Once
	file_runtime_v1_application_navigation_proto_rawDescData []byte
)

func file_runtime_v1_application_navigation_proto_rawDescGZIP() []byte {
	file_runtime_v1_application_navigation_proto_rawDescOnce.Do(func() {
		file_runtime_v1_application_navigation_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_runtime_v1_application_navigation_proto_rawDesc), len(file_runtime_v1_application_navigation_proto_rawDesc)))
	})
	return file_runtime_v1_application_navigation_proto_rawDescData
}

var file_runtime_v1_application_navigation_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_runtime_v1_application_navigation_proto_goTypes = []any{
	(*ApplicationNavigationResourceTarget)(nil),         // 0: nexuscrm.runtime.v1.ApplicationNavigationResourceTarget
	(*ApplicationNavigationPageTarget)(nil),             // 1: nexuscrm.runtime.v1.ApplicationNavigationPageTarget
	(*ApplicationNavigationItem)(nil),                   // 2: nexuscrm.runtime.v1.ApplicationNavigationItem
	(*ApplicationNavigationItems)(nil),                  // 3: nexuscrm.runtime.v1.ApplicationNavigationItems
	(*ApplicationNavigationDocument)(nil),               // 4: nexuscrm.runtime.v1.ApplicationNavigationDocument
	(*ApplicationNavigationServiceReadRequest)(nil),     // 5: nexuscrm.runtime.v1.ApplicationNavigationServiceReadRequest
	(*ApplicationNavigationServiceReadResponse)(nil),    // 6: nexuscrm.runtime.v1.ApplicationNavigationServiceReadResponse
	(*ApplicationNavigationServiceResolveRequest)(nil),  // 7: nexuscrm.runtime.v1.ApplicationNavigationServiceResolveRequest
	(*ApplicationNavigationServiceResolveResponse)(nil), // 8: nexuscrm.runtime.v1.ApplicationNavigationServiceResolveResponse
	(*ApplicationNavigationServiceSaveRequest)(nil),     // 9: nexuscrm.runtime.v1.ApplicationNavigationServiceSaveRequest
	(*ApplicationNavigationServiceSaveResponse)(nil),    // 10: nexuscrm.runtime.v1.ApplicationNavigationServiceSaveResponse
	(*v1.ConsistencyReceipts)(nil),                      // 11: nexuscrm.common.v1.ConsistencyReceipts
}
var file_runtime_v1_application_navigation_proto_depIdxs = []int32{
	0,  // 0: nexuscrm.runtime.v1.ApplicationNavigationItem.resource:type_name -> nexuscrm.runtime.v1.ApplicationNavigationResourceTarget
	1,  // 1: nexuscrm.runtime.v1.ApplicationNavigationItem.page:type_name -> nexuscrm.runtime.v1.ApplicationNavigationPageTarget
	2,  // 2: nexuscrm.runtime.v1.ApplicationNavigationItems.values:type_name -> nexuscrm.runtime.v1.ApplicationNavigationItem
	3,  // 3: nexuscrm.runtime.v1.ApplicationNavigationDocument.items:type_name -> nexuscrm.runtime.v1.ApplicationNavigationItems
	4,  // 4: nexuscrm.runtime.v1.ApplicationNavigationServiceReadResponse.document:type_name -> nexuscrm.runtime.v1.ApplicationNavigationDocument
	11, // 5: nexuscrm.runtime.v1.ApplicationNavigationServiceReadResponse.receipts:type_name -> nexuscrm.common.v1.ConsistencyReceipts
	4,  // 6: nexuscrm.runtime.v1.ApplicationNavigationServiceResolveResponse.documents:type_name -> nexuscrm.runtime.v1.ApplicationNavigationDocument
	11, // 7: nexuscrm.runtime.v1.ApplicationNavigationServiceResolveResponse.receipts:type_name -> nexuscrm.common.v1.ConsistencyReceipts
	3,  // 8: nexuscrm.runtime.v1.ApplicationNavigationServiceSaveRequest.items:type_name -> nexuscrm.runtime.v1.ApplicationNavigationItems
	4,  // 9: nexuscrm.runtime.v1.ApplicationNavigationServiceSaveResponse.document:type_name -> nexuscrm.runtime.v1.ApplicationNavigationDocument
	11, // 10: nexuscrm.runtime.v1.ApplicationNavigationServiceSaveResponse.receipts:type_name -> nexuscrm.common.v1.ConsistencyReceipts
	5,  // 11: nexuscrm.runtime.v1.ApplicationNavigationService.Read:input_type -> nexuscrm.runtime.v1.ApplicationNavigationServiceReadRequest
	7,  // 12: nexuscrm.runtime.v1.ApplicationNavigationService.Resolve:input_type -> nexuscrm.runtime.v1.ApplicationNavigationServiceResolveRequest
	9,  // 13: nexuscrm.runtime.v1.ApplicationNavigationService.Save:input_type -> nexuscrm.runtime.v1.ApplicationNavigationServiceSaveRequest
	6,  // 14: nexuscrm.runtime.v1.ApplicationNavigationService.Read:output_type -> nexuscrm.runtime.v1.ApplicationNavigationServiceReadResponse
	8,  // 15: nexuscrm.runtime.v1.ApplicationNavigationService.Resolve:output_type -> nexuscrm.runtime.v1.ApplicationNavigationServiceResolveResponse
	10, // 16: nexuscrm.runtime.v1.ApplicationNavigationService.Save:output_type -> nexuscrm.runtime.v1.ApplicationNavigationServiceSaveResponse
	14, // [14:17] is the sub-list for method output_type
	11, // [11:14] is the sub-list for method input_type
	11, // [11:11] is the sub-list for extension type_name
	11, // [11:11] is the sub-list for extension extendee
	0,  // [0:11] is the sub-list for field type_name
}

func init() { file_runtime_v1_application_navigation_proto_init() }
func file_runtime_v1_application_navigation_proto_init() {
	if File_runtime_v1_application_navigation_proto != nil {
		return
	}
	file_runtime_v1_application_navigation_proto_msgTypes[2].OneofWrappers = []any{
		(*ApplicationNavigationItem_Resource)(nil),
		(*ApplicationNavigationItem_Page)(nil),
		(*ApplicationNavigationItem_Url)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_runtime_v1_application_navigation_proto_rawDesc), len(file_runtime_v1_application_navigation_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   11,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_runtime_v1_application_navigation_proto_goTypes,
		DependencyIndexes: file_runtime_v1_application_navigation_proto_depIdxs,
		MessageInfos:      file_runtime_v1_application_navigation_proto_msgTypes,
	}.Build()
	File_runtime_v1_application_navigation_proto = out.File
	file_runtime_v1_application_navigation_proto_goTypes = nil
	file_runtime_v1_application_navigation_proto_depIdxs = nil
}
