Skip to content
Snippets Groups Projects
Select Git revision
  • 71f5192d6e35af968bddeb154bb3238165859f6a
  • master default protected
  • feature/3109-SerializeFeature
  • release/0.33
  • feature/3109-RecoverySchema
  • feature/3109-feature
  • fix/PRXS-3369-ValidateFields
  • fix/3368-SchemaIsEqual
  • fix/3355-DecodeNumberFields
  • refactor/PRXS-3306-MovePkgGroup1
  • refactor/6-pkg-refactor-expr
  • fix/PRXS-3357-FixRefEncode
  • fix/PRXS-3360-TemplateBuilderPatch
  • feature/3293-MongoV2
  • feature/3272-GoVersionUp
  • feature/PRXS-3218-HideTemplateActions
  • feature/PRXS-3234-PruneIdents
  • feature/3146-UpdateItemStorageInterface
  • feature/3274-ObjectIndexesFixes
  • feature/PRXS-3143-3235-ReferenceOptions
  • feature/PRXS-3143-3237-ExecuteOptions
  • v0.33.1
  • v0.32.0
  • v0.31.1
  • v0.31.0
  • v0.30.0
  • v0.29.0
  • v0.28.0
  • v0.27.0-alpha.1+16
  • v0.27.0-alpha.1+15
  • v0.27.0-alpha.1+14
  • v0.27.0-alpha.1+13
  • v0.27.0-alpha.1+12
  • v0.27.0-alpha.1+11
  • v0.27.0-alpha.1+10
  • v0.27.0-alpha.1+9
  • v0.27.0-alpha.1+8
  • v0.27.0-alpha.1+7
  • v0.27.0-alpha.1+6
  • v0.27.0-alpha.1+5
  • v0.27.0-alpha.1+4
41 results

collections.pb.go

Blame
  • collections.pb.go 56.01 KiB
    // Code generated by protoc-gen-go. DO NOT EDIT.
    // versions:
    // 	protoc-gen-go v1.31.0
    // 	protoc        v4.25.1
    // source: collections/collections.proto
    
    package collections
    
    import (
    	common "git.perx.ru/perxis/perxis-go/proto/common"
    	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    	emptypb "google.golang.org/protobuf/types/known/emptypb"
    	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    	reflect "reflect"
    	sync "sync"
    )
    
    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 Collection_State int32
    
    const (
    	Collection_NEW       Collection_State = 0 // коллекция создана, еще не обработана
    	Collection_PREPARING Collection_State = 1 // производится подготовка коллекции (создание индексов, копирование данных)
    	Collection_READY     Collection_State = 2 // коллекция готова к работе
    	Collection_ERROR     Collection_State = 3 // при обработке коллекции произошла ошибка
    	Collection_CHANGED   Collection_State = 4 // в коллекцию внесены изменения, но  еще не были применены. Коллекция должна после перейти в состояние Preparing
    )
    
    // Enum value maps for Collection_State.
    var (
    	Collection_State_name = map[int32]string{
    		0: "NEW",
    		1: "PREPARING",
    		2: "READY",
    		3: "ERROR",
    		4: "CHANGED",
    	}
    	Collection_State_value = map[string]int32{
    		"NEW":       0,
    		"PREPARING": 1,
    		"READY":     2,
    		"ERROR":     3,
    		"CHANGED":   4,
    	}
    )
    
    func (x Collection_State) Enum() *Collection_State {
    	p := new(Collection_State)
    	*p = x
    	return p
    }
    
    func (x Collection_State) String() string {
    	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    }
    
    func (Collection_State) Descriptor() protoreflect.EnumDescriptor {
    	return file_collections_collections_proto_enumTypes[0].Descriptor()
    }
    
    func (Collection_State) Type() protoreflect.EnumType {
    	return &file_collections_collections_proto_enumTypes[0]
    }