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

const (
	PrivateListViewReadSelector_PRIVATE_LIST_VIEW_READ_SELECTOR_UNSPECIFIED PrivateListViewReadSelector = 0
	PrivateListViewReadSelector_PRIVATE_LIST_VIEW_READ_SELECTOR_LIST        PrivateListViewReadSelector = 1
	PrivateListViewReadSelector_PRIVATE_LIST_VIEW_READ_SELECTOR_DESCRIBE    PrivateListViewReadSelector = 2
)

// Enum value maps for PrivateListViewReadSelector.
var (
	PrivateListViewReadSelector_name = map[int32]string{
		0: "PRIVATE_LIST_VIEW_READ_SELECTOR_UNSPECIFIED",
		1: "PRIVATE_LIST_VIEW_READ_SELECTOR_LIST",
		2: "PRIVATE_LIST_VIEW_READ_SELECTOR_DESCRIBE",
	}
	PrivateListViewReadSelector_value = map[string]int32{
		"PRIVATE_LIST_VIEW_READ_SELECTOR_UNSPECIFIED": 0,
		"PRIVATE_LIST_VIEW_READ_SELECTOR_LIST":        1,
		"PRIVATE_LIST_VIEW_READ_SELECTOR_DESCRIBE":    2,
	}
)

func (x PrivateListViewReadSelector) Enum() *PrivateListViewReadSelector {
	p := new(PrivateListViewReadSelector)
	*p = x
	return p
}

func (x PrivateListViewReadSelector) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (PrivateListViewReadSelector) Descriptor() protoreflect.EnumDescriptor {
	return file_runtime_v1_list_views_proto_enumTypes[0].Descriptor()
}

func (PrivateListViewReadSelector) Type() protoreflect.EnumType {
	return &file_runtime_v1_list_views_proto_enumTypes[0]
}

func (x PrivateListViewReadSelector) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use PrivateListViewReadSelector.Descriptor instead.
func (PrivateListViewReadSelector) EnumDescriptor() ([]byte, []int) {
	return file_runtime_v1_list_views_proto_rawDescGZIP(), []int{0}
}

type PrivateListViewSortDirection int32

const (
	PrivateListViewSortDirection_PRIVATE_LIST_VIEW_SORT_DIRECTION_UNSPECIFIED PrivateListViewSortDirection = 0
	PrivateListViewSortDirection_PRIVATE_LIST_VIEW_SORT_DIRECTION_ASCENDING   PrivateListViewSortDirection = 1
	PrivateListViewSortDirection_PRIVATE_LIST_VIEW_SORT_DIRECTION_DESCENDING  PrivateListViewSortDirection = 2
)

// Enum value maps for PrivateListViewSortDirection.
var (
	PrivateListViewSortDirection_name = map[int32]string{
		0: "PRIVATE_LIST_VIEW_SORT_DIRECTION_UNSPECIFIED",
		1: "PRIVATE_LIST_VIEW_SORT_DIRECTION_ASCENDING",
		2: "PRIVATE_LIST_VIEW_SORT_DIRECTION_DESCENDING",
	}
	PrivateListViewSortDirection_value = map[string]int32{
		"PRIVATE_LIST_VIEW_SORT_DIRECTION_UNSPECIFIED": 0,
		"PRIVATE_LIST_VIEW_SORT_DIRECTION_ASCENDING":   1,
		"PRIVATE_LIST_VIEW_SORT_DIRECTION_DESCENDING":  2,
	}
)

func (x PrivateListViewSortDirection) Enum() *PrivateListViewSortDirection {
	p := new(PrivateListViewSortDirection)
	*p = x
	return p
}

func (x PrivateListViewSortDirection) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (PrivateListViewSortDirection) Descriptor() protoreflect.EnumDescriptor {
	return file_runtime_v1_list_views_proto_enumTypes[1].Descriptor()
}

func (PrivateListViewSortDirection) Type() protoreflect.EnumType {
	return &file_runtime_v1_list_views_proto_enumTypes[1]
}

func (x PrivateListViewSortDirection) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use PrivateListViewSortDirection.Descriptor instead.
func (PrivateListViewSortDirection) EnumDescriptor() ([]byte, []int) {
	return file_runtime_v1_list_views_proto_rawDescGZIP(), []int{1}
}

type PrivateListViewMutationOperation int32

const (
	PrivateListViewMutationOperation_PRIVATE_LIST_VIEW_MUTATION_OPERATION_UNSPECIFIED PrivateListViewMutationOperation = 0
	PrivateListViewMutationOperation_PRIVATE_LIST_VIEW_MUTATION_OPERATION_CREATE      PrivateListViewMutationOperation = 1
	PrivateListViewMutationOperation_PRIVATE_LIST_VIEW_MUTATION_OPERATION_UPDATE      PrivateListViewMutationOperation = 2
	PrivateListViewMutationOperation_PRIVATE_LIST_VIEW_MUTATION_OPERATION_DELETE      PrivateListViewMutationOperation = 3
)

// Enum value maps for PrivateListViewMutationOperation.
var (
	PrivateListViewMutationOperation_name = map[int32]string{
		0: "PRIVATE_LIST_VIEW_MUTATION_OPERATION_UNSPECIFIED",
		1: "PRIVATE_LIST_VIEW_MUTATION_OPERATION_CREATE",
		2: "PRIVATE_LIST_VIEW_MUTATION_OPERATION_UPDATE",
		3: "PRIVATE_LIST_VIEW_MUTATION_OPERATION_DELETE",
	}
	PrivateListViewMutationOperation_value = map[string]int32{
		"PRIVATE_LIST_VIEW_MUTATION_OPERATION_UNSPECIFIED": 0,
		"PRIVATE_LIST_VIEW_MUTATION_OPERATION_CREATE":      1,
		"PRIVATE_LIST_VIEW_MUTATION_OPERATION_UPDATE":      2,
		"PRIVATE_LIST_VIEW_MUTATION_OPERATION_DELETE":      3,
	}
)

func (x PrivateListViewMutationOperation) Enum() *PrivateListViewMutationOperation {
	p := new(PrivateListViewMutationOperation)
	*p = x
	return p
}

func (x PrivateListViewMutationOperation) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (PrivateListViewMutationOperation) Descriptor() protoreflect.EnumDescriptor {
	return file_runtime_v1_list_views_proto_enumTypes[2].Descriptor()
}

func (PrivateListViewMutationOperation) Type() protoreflect.EnumType {
	return &file_runtime_v1_list_views_proto_enumTypes[2]
}

func (x PrivateListViewMutationOperation) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use PrivateListViewMutationOperation.Descriptor instead.
func (PrivateListViewMutationOperation) EnumDescriptor() ([]byte, []int) {
	return file_runtime_v1_list_views_proto_rawDescGZIP(), []int{2}
}

type ReadPrivateListViewsRequest struct {
	state              protoimpl.MessageState      `protogen:"open.v1"`
	Selector           PrivateListViewReadSelector `protobuf:"varint,1,opt,name=selector,proto3,enum=nexuscrm.runtime.v1.PrivateListViewReadSelector" json:"selector,omitempty"`
	ObjectId           string                      `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	ViewId             string                      `protobuf:"bytes,3,opt,name=view_id,json=viewId,proto3" json:"view_id,omitempty"`
	MinCatalogRevision *uint64                     `protobuf:"varint,4,opt,name=min_catalog_revision,json=minCatalogRevision,proto3,oneof" json:"min_catalog_revision,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*ReadPrivateListViewsRequest) ProtoMessage() {}

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

func (x *ReadPrivateListViewsRequest) GetSelector() PrivateListViewReadSelector {
	if x != nil {
		return x.Selector
	}
	return PrivateListViewReadSelector_PRIVATE_LIST_VIEW_READ_SELECTOR_UNSPECIFIED
}

func (x *ReadPrivateListViewsRequest) GetObjectId() string {
	if x != nil {
		return x.ObjectId
	}
	return ""
}

func (x *ReadPrivateListViewsRequest) GetViewId() string {
	if x != nil {
		return x.ViewId
	}
	return ""
}

func (x *ReadPrivateListViewsRequest) GetMinCatalogRevision() uint64 {
	if x != nil && x.MinCatalogRevision != nil {
		return *x.MinCatalogRevision
	}
	return 0
}

// PrivateListView has no owner or visibility field. Every returned view is
// private and owned by the authenticated delegated principal by construction.
type PrivateListView struct {
	state            protoimpl.MessageState       `protogen:"open.v1"`
	ViewId           string                       `protobuf:"bytes,1,opt,name=view_id,json=viewId,proto3" json:"view_id,omitempty"`
	ObjectId         string                       `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Label            string                       `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	FilterExpression string                       `protobuf:"bytes,4,opt,name=filter_expression,json=filterExpression,proto3" json:"filter_expression,omitempty"`
	FilterLogic      string                       `protobuf:"bytes,5,opt,name=filter_logic,json=filterLogic,proto3" json:"filter_logic,omitempty"`
	FieldIds         []string                     `protobuf:"bytes,6,rep,name=field_ids,json=fieldIds,proto3" json:"field_ids,omitempty"`
	SortFieldId      string                       `protobuf:"bytes,7,opt,name=sort_field_id,json=sortFieldId,proto3" json:"sort_field_id,omitempty"`
	SortDirection    PrivateListViewSortDirection `protobuf:"varint,8,opt,name=sort_direction,json=sortDirection,proto3,enum=nexuscrm.runtime.v1.PrivateListViewSortDirection" json:"sort_direction,omitempty"`
	StableName       string                       `protobuf:"bytes,9,opt,name=stable_name,json=stableName,proto3" json:"stable_name,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*PrivateListView) ProtoMessage() {}

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

func (x *PrivateListView) GetViewId() string {
	if x != nil {
		return x.ViewId
	}
	return ""
}

func (x *PrivateListView) GetObjectId() string {
	if x != nil {
		return x.ObjectId
	}
	return ""
}

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

func (x *PrivateListView) GetFilterExpression() string {
	if x != nil {
		return x.FilterExpression
	}
	return ""
}

func (x *PrivateListView) GetFilterLogic() string {
	if x != nil {
		return x.FilterLogic
	}
	return ""
}

func (x *PrivateListView) GetFieldIds() []string {
	if x != nil {
		return x.FieldIds
	}
	return nil
}

func (x *PrivateListView) GetSortFieldId() string {
	if x != nil {
		return x.SortFieldId
	}
	return ""
}

func (x *PrivateListView) GetSortDirection() PrivateListViewSortDirection {
	if x != nil {
		return x.SortDirection
	}
	return PrivateListViewSortDirection_PRIVATE_LIST_VIEW_SORT_DIRECTION_UNSPECIFIED
}

func (x *PrivateListView) GetStableName() string {
	if x != nil {
		return x.StableName
	}
	return ""
}

type ReadPrivateListViewsResponse struct {
	state         protoimpl.MessageState  `protogen:"open.v1"`
	Views         []*PrivateListView      `protobuf:"bytes,1,rep,name=views,proto3" json:"views,omitempty"`
	View          *PrivateListView        `protobuf:"bytes,2,opt,name=view,proto3" json:"view,omitempty"`
	Receipts      *v1.ConsistencyReceipts `protobuf:"bytes,3,opt,name=receipts,proto3" json:"receipts,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ReadPrivateListViewsResponse) ProtoMessage() {}

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

func (x *ReadPrivateListViewsResponse) GetViews() []*PrivateListView {
	if x != nil {
		return x.Views
	}
	return nil
}

func (x *ReadPrivateListViewsResponse) GetView() *PrivateListView {
	if x != nil {
		return x.View
	}
	return nil
}

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

// PrivateListViewFieldSelection preserves PATCH presence even when field_ids
// is empty and therefore clears the selection.
type PrivateListViewFieldSelection struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	FieldIds      []string               `protobuf:"bytes,1,rep,name=field_ids,json=fieldIds,proto3" json:"field_ids,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PrivateListViewFieldSelection) ProtoMessage() {}

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

func (x *PrivateListViewFieldSelection) GetFieldIds() []string {
	if x != nil {
		return x.FieldIds
	}
	return nil
}

type PrivateListViewPatch struct {
	state            protoimpl.MessageState         `protogen:"open.v1"`
	Label            *string                        `protobuf:"bytes,1,opt,name=label,proto3,oneof" json:"label,omitempty"`
	FilterExpression *string                        `protobuf:"bytes,2,opt,name=filter_expression,json=filterExpression,proto3,oneof" json:"filter_expression,omitempty"`
	FilterLogic      *string                        `protobuf:"bytes,3,opt,name=filter_logic,json=filterLogic,proto3,oneof" json:"filter_logic,omitempty"`
	Fields           *PrivateListViewFieldSelection `protobuf:"bytes,4,opt,name=fields,proto3" json:"fields,omitempty"`
	SortFieldId      *string                        `protobuf:"bytes,5,opt,name=sort_field_id,json=sortFieldId,proto3,oneof" json:"sort_field_id,omitempty"`
	SortDirection    *PrivateListViewSortDirection  `protobuf:"varint,6,opt,name=sort_direction,json=sortDirection,proto3,enum=nexuscrm.runtime.v1.PrivateListViewSortDirection,oneof" json:"sort_direction,omitempty"`
	StableName       *string                        `protobuf:"bytes,7,opt,name=stable_name,json=stableName,proto3,oneof" json:"stable_name,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*PrivateListViewPatch) ProtoMessage() {}

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

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

func (x *PrivateListViewPatch) GetFilterExpression() string {
	if x != nil && x.FilterExpression != nil {
		return *x.FilterExpression
	}
	return ""
}

func (x *PrivateListViewPatch) GetFilterLogic() string {
	if x != nil && x.FilterLogic != nil {
		return *x.FilterLogic
	}
	return ""
}

func (x *PrivateListViewPatch) GetFields() *PrivateListViewFieldSelection {
	if x != nil {
		return x.Fields
	}
	return nil
}

func (x *PrivateListViewPatch) GetSortFieldId() string {
	if x != nil && x.SortFieldId != nil {
		return *x.SortFieldId
	}
	return ""
}

func (x *PrivateListViewPatch) GetSortDirection() PrivateListViewSortDirection {
	if x != nil && x.SortDirection != nil {
		return *x.SortDirection
	}
	return PrivateListViewSortDirection_PRIVATE_LIST_VIEW_SORT_DIRECTION_UNSPECIFIED
}

func (x *PrivateListViewPatch) GetStableName() string {
	if x != nil && x.StableName != nil {
		return *x.StableName
	}
	return ""
}

// Identity, tenant, application installation, owner, and authority are trusted
// transport facts. They are intentionally absent from this request.
type MutatePrivateListViewRequest struct {
	state              protoimpl.MessageState           `protogen:"open.v1"`
	Operation          PrivateListViewMutationOperation `protobuf:"varint,1,opt,name=operation,proto3,enum=nexuscrm.runtime.v1.PrivateListViewMutationOperation" json:"operation,omitempty"`
	ObjectId           string                           `protobuf:"bytes,3,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	ViewId             string                           `protobuf:"bytes,4,opt,name=view_id,json=viewId,proto3" json:"view_id,omitempty"`
	Patch              *PrivateListViewPatch            `protobuf:"bytes,5,opt,name=patch,proto3" json:"patch,omitempty"`
	MinCatalogRevision *uint64                          `protobuf:"varint,6,opt,name=min_catalog_revision,json=minCatalogRevision,proto3,oneof" json:"min_catalog_revision,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*MutatePrivateListViewRequest) ProtoMessage() {}

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

func (x *MutatePrivateListViewRequest) GetOperation() PrivateListViewMutationOperation {
	if x != nil {
		return x.Operation
	}
	return PrivateListViewMutationOperation_PRIVATE_LIST_VIEW_MUTATION_OPERATION_UNSPECIFIED
}

func (x *MutatePrivateListViewRequest) GetObjectId() string {
	if x != nil {
		return x.ObjectId
	}
	return ""
}

func (x *MutatePrivateListViewRequest) GetViewId() string {
	if x != nil {
		return x.ViewId
	}
	return ""
}

func (x *MutatePrivateListViewRequest) GetPatch() *PrivateListViewPatch {
	if x != nil {
		return x.Patch
	}
	return nil
}

func (x *MutatePrivateListViewRequest) GetMinCatalogRevision() uint64 {
	if x != nil && x.MinCatalogRevision != nil {
		return *x.MinCatalogRevision
	}
	return 0
}

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

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

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

func (*MutatePrivateListViewResponse) ProtoMessage() {}

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

func (x *MutatePrivateListViewResponse) GetView() *PrivateListView {
	if x != nil {
		return x.View
	}
	return nil
}

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

var File_runtime_v1_list_views_proto protoreflect.FileDescriptor

const file_runtime_v1_list_views_proto_rawDesc = "" +
	"\n" +
	"\x1bruntime/v1/list_views.proto\x12\x13nexuscrm.runtime.v1\x1a\x16common/v1/common.proto\"\xf1\x01\n" +
	"\x1bReadPrivateListViewsRequest\x12L\n" +
	"\bselector\x18\x01 \x01(\x0e20.nexuscrm.runtime.v1.PrivateListViewReadSelectorR\bselector\x12\x1b\n" +
	"\tobject_id\x18\x02 \x01(\tR\bobjectId\x12\x17\n" +
	"\aview_id\x18\x03 \x01(\tR\x06viewId\x125\n" +
	"\x14min_catalog_revision\x18\x04 \x01(\x04H\x00R\x12minCatalogRevision\x88\x01\x01B\x17\n" +
	"\x15_min_catalog_revision\"\xe9\x02\n" +
	"\x0fPrivateListView\x12\x17\n" +
	"\aview_id\x18\x01 \x01(\tR\x06viewId\x12\x1b\n" +
	"\tobject_id\x18\x02 \x01(\tR\bobjectId\x12\x14\n" +
	"\x05label\x18\x03 \x01(\tR\x05label\x12+\n" +
	"\x11filter_expression\x18\x04 \x01(\tR\x10filterExpression\x12!\n" +
	"\ffilter_logic\x18\x05 \x01(\tR\vfilterLogic\x12\x1b\n" +
	"\tfield_ids\x18\x06 \x03(\tR\bfieldIds\x12\"\n" +
	"\rsort_field_id\x18\a \x01(\tR\vsortFieldId\x12X\n" +
	"\x0esort_direction\x18\b \x01(\x0e21.nexuscrm.runtime.v1.PrivateListViewSortDirectionR\rsortDirection\x12\x1f\n" +
	"\vstable_name\x18\t \x01(\tR\n" +
	"stableName\"\xd9\x01\n" +
	"\x1cReadPrivateListViewsResponse\x12:\n" +
	"\x05views\x18\x01 \x03(\v2$.nexuscrm.runtime.v1.PrivateListViewR\x05views\x128\n" +
	"\x04view\x18\x02 \x01(\v2$.nexuscrm.runtime.v1.PrivateListViewR\x04view\x12C\n" +
	"\breceipts\x18\x03 \x01(\v2'.nexuscrm.common.v1.ConsistencyReceiptsR\breceipts\"<\n" +
	"\x1dPrivateListViewFieldSelection\x12\x1b\n" +
	"\tfield_ids\x18\x01 \x03(\tR\bfieldIds\"\xeb\x03\n" +
	"\x14PrivateListViewPatch\x12\x19\n" +
	"\x05label\x18\x01 \x01(\tH\x00R\x05label\x88\x01\x01\x120\n" +
	"\x11filter_expression\x18\x02 \x01(\tH\x01R\x10filterExpression\x88\x01\x01\x12&\n" +
	"\ffilter_logic\x18\x03 \x01(\tH\x02R\vfilterLogic\x88\x01\x01\x12J\n" +
	"\x06fields\x18\x04 \x01(\v22.nexuscrm.runtime.v1.PrivateListViewFieldSelectionR\x06fields\x12'\n" +
	"\rsort_field_id\x18\x05 \x01(\tH\x03R\vsortFieldId\x88\x01\x01\x12]\n" +
	"\x0esort_direction\x18\x06 \x01(\x0e21.nexuscrm.runtime.v1.PrivateListViewSortDirectionH\x04R\rsortDirection\x88\x01\x01\x12$\n" +
	"\vstable_name\x18\a \x01(\tH\x05R\n" +
	"stableName\x88\x01\x01B\b\n" +
	"\x06_labelB\x14\n" +
	"\x12_filter_expressionB\x0f\n" +
	"\r_filter_logicB\x10\n" +
	"\x0e_sort_field_idB\x11\n" +
	"\x0f_sort_directionB\x0e\n" +
	"\f_stable_name\"\xba\x02\n" +
	"\x1cMutatePrivateListViewRequest\x12S\n" +
	"\toperation\x18\x01 \x01(\x0e25.nexuscrm.runtime.v1.PrivateListViewMutationOperationR\toperation\x12\x1b\n" +
	"\tobject_id\x18\x03 \x01(\tR\bobjectId\x12\x17\n" +
	"\aview_id\x18\x04 \x01(\tR\x06viewId\x12?\n" +
	"\x05patch\x18\x05 \x01(\v2).nexuscrm.runtime.v1.PrivateListViewPatchR\x05patch\x125\n" +
	"\x14min_catalog_revision\x18\x06 \x01(\x04H\x00R\x12minCatalogRevision\x88\x01\x01B\x17\n" +
	"\x15_min_catalog_revision\"\x9e\x01\n" +
	"\x1dMutatePrivateListViewResponse\x128\n" +
	"\x04view\x18\x01 \x01(\v2$.nexuscrm.runtime.v1.PrivateListViewR\x04view\x12C\n" +
	"\breceipts\x18\x02 \x01(\v2'.nexuscrm.common.v1.ConsistencyReceiptsR\breceipts*\xa6\x01\n" +
	"\x1bPrivateListViewReadSelector\x12/\n" +
	"+PRIVATE_LIST_VIEW_READ_SELECTOR_UNSPECIFIED\x10\x00\x12(\n" +
	"$PRIVATE_LIST_VIEW_READ_SELECTOR_LIST\x10\x01\x12,\n" +
	"(PRIVATE_LIST_VIEW_READ_SELECTOR_DESCRIBE\x10\x02*\xb1\x01\n" +
	"\x1cPrivateListViewSortDirection\x120\n" +
	",PRIVATE_LIST_VIEW_SORT_DIRECTION_UNSPECIFIED\x10\x00\x12.\n" +
	"*PRIVATE_LIST_VIEW_SORT_DIRECTION_ASCENDING\x10\x01\x12/\n" +
	"+PRIVATE_LIST_VIEW_SORT_DIRECTION_DESCENDING\x10\x02*\xeb\x01\n" +
	" PrivateListViewMutationOperation\x124\n" +
	"0PRIVATE_LIST_VIEW_MUTATION_OPERATION_UNSPECIFIED\x10\x00\x12/\n" +
	"+PRIVATE_LIST_VIEW_MUTATION_OPERATION_CREATE\x10\x01\x12/\n" +
	"+PRIVATE_LIST_VIEW_MUTATION_OPERATION_UPDATE\x10\x02\x12/\n" +
	"+PRIVATE_LIST_VIEW_MUTATION_OPERATION_DELETE\x10\x032\x95\x02\n" +
	"\x16PrivateListViewService\x12{\n" +
	"\x14ReadPrivateListViews\x120.nexuscrm.runtime.v1.ReadPrivateListViewsRequest\x1a1.nexuscrm.runtime.v1.ReadPrivateListViewsResponse\x12~\n" +
	"\x15MutatePrivateListView\x121.nexuscrm.runtime.v1.MutatePrivateListViewRequest\x1a2.nexuscrm.runtime.v1.MutatePrivateListViewResponseBKZIgithub.com/pingcap-inc/nexuscrm-contract/wire-go/gen/runtime/v1;runtimev1b\x06proto3"

var (
	file_runtime_v1_list_views_proto_rawDescOnce sync.Once
	file_runtime_v1_list_views_proto_rawDescData []byte
)

func file_runtime_v1_list_views_proto_rawDescGZIP() []byte {
	file_runtime_v1_list_views_proto_rawDescOnce.Do(func() {
		file_runtime_v1_list_views_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_runtime_v1_list_views_proto_rawDesc), len(file_runtime_v1_list_views_proto_rawDesc)))
	})
	return file_runtime_v1_list_views_proto_rawDescData
}

var file_runtime_v1_list_views_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_runtime_v1_list_views_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_runtime_v1_list_views_proto_goTypes = []any{
	(PrivateListViewReadSelector)(0),      // 0: nexuscrm.runtime.v1.PrivateListViewReadSelector
	(PrivateListViewSortDirection)(0),     // 1: nexuscrm.runtime.v1.PrivateListViewSortDirection
	(PrivateListViewMutationOperation)(0), // 2: nexuscrm.runtime.v1.PrivateListViewMutationOperation
	(*ReadPrivateListViewsRequest)(nil),   // 3: nexuscrm.runtime.v1.ReadPrivateListViewsRequest
	(*PrivateListView)(nil),               // 4: nexuscrm.runtime.v1.PrivateListView
	(*ReadPrivateListViewsResponse)(nil),  // 5: nexuscrm.runtime.v1.ReadPrivateListViewsResponse
	(*PrivateListViewFieldSelection)(nil), // 6: nexuscrm.runtime.v1.PrivateListViewFieldSelection
	(*PrivateListViewPatch)(nil),          // 7: nexuscrm.runtime.v1.PrivateListViewPatch
	(*MutatePrivateListViewRequest)(nil),  // 8: nexuscrm.runtime.v1.MutatePrivateListViewRequest
	(*MutatePrivateListViewResponse)(nil), // 9: nexuscrm.runtime.v1.MutatePrivateListViewResponse
	(*v1.ConsistencyReceipts)(nil),        // 10: nexuscrm.common.v1.ConsistencyReceipts
}
var file_runtime_v1_list_views_proto_depIdxs = []int32{
	0,  // 0: nexuscrm.runtime.v1.ReadPrivateListViewsRequest.selector:type_name -> nexuscrm.runtime.v1.PrivateListViewReadSelector
	1,  // 1: nexuscrm.runtime.v1.PrivateListView.sort_direction:type_name -> nexuscrm.runtime.v1.PrivateListViewSortDirection
	4,  // 2: nexuscrm.runtime.v1.ReadPrivateListViewsResponse.views:type_name -> nexuscrm.runtime.v1.PrivateListView
	4,  // 3: nexuscrm.runtime.v1.ReadPrivateListViewsResponse.view:type_name -> nexuscrm.runtime.v1.PrivateListView
	10, // 4: nexuscrm.runtime.v1.ReadPrivateListViewsResponse.receipts:type_name -> nexuscrm.common.v1.ConsistencyReceipts
	6,  // 5: nexuscrm.runtime.v1.PrivateListViewPatch.fields:type_name -> nexuscrm.runtime.v1.PrivateListViewFieldSelection
	1,  // 6: nexuscrm.runtime.v1.PrivateListViewPatch.sort_direction:type_name -> nexuscrm.runtime.v1.PrivateListViewSortDirection
	2,  // 7: nexuscrm.runtime.v1.MutatePrivateListViewRequest.operation:type_name -> nexuscrm.runtime.v1.PrivateListViewMutationOperation
	7,  // 8: nexuscrm.runtime.v1.MutatePrivateListViewRequest.patch:type_name -> nexuscrm.runtime.v1.PrivateListViewPatch
	4,  // 9: nexuscrm.runtime.v1.MutatePrivateListViewResponse.view:type_name -> nexuscrm.runtime.v1.PrivateListView
	10, // 10: nexuscrm.runtime.v1.MutatePrivateListViewResponse.receipts:type_name -> nexuscrm.common.v1.ConsistencyReceipts
	3,  // 11: nexuscrm.runtime.v1.PrivateListViewService.ReadPrivateListViews:input_type -> nexuscrm.runtime.v1.ReadPrivateListViewsRequest
	8,  // 12: nexuscrm.runtime.v1.PrivateListViewService.MutatePrivateListView:input_type -> nexuscrm.runtime.v1.MutatePrivateListViewRequest
	5,  // 13: nexuscrm.runtime.v1.PrivateListViewService.ReadPrivateListViews:output_type -> nexuscrm.runtime.v1.ReadPrivateListViewsResponse
	9,  // 14: nexuscrm.runtime.v1.PrivateListViewService.MutatePrivateListView:output_type -> nexuscrm.runtime.v1.MutatePrivateListViewResponse
	13, // [13:15] is the sub-list for method output_type
	11, // [11:13] 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_list_views_proto_init() }
func file_runtime_v1_list_views_proto_init() {
	if File_runtime_v1_list_views_proto != nil {
		return
	}
	file_runtime_v1_list_views_proto_msgTypes[0].OneofWrappers = []any{}
	file_runtime_v1_list_views_proto_msgTypes[4].OneofWrappers = []any{}
	file_runtime_v1_list_views_proto_msgTypes[5].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_runtime_v1_list_views_proto_rawDesc), len(file_runtime_v1_list_views_proto_rawDesc)),
			NumEnums:      3,
			NumMessages:   7,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_runtime_v1_list_views_proto_goTypes,
		DependencyIndexes: file_runtime_v1_list_views_proto_depIdxs,
		EnumInfos:         file_runtime_v1_list_views_proto_enumTypes,
		MessageInfos:      file_runtime_v1_list_views_proto_msgTypes,
	}.Build()
	File_runtime_v1_list_views_proto = out.File
	file_runtime_v1_list_views_proto_goTypes = nil
	file_runtime_v1_list_views_proto_depIdxs = nil
}
