Skip to content
Snippets Groups Projects
items.pb.go 166.92 KiB
//*
// # Items
//
// API Сервиса работы с пользовательским записями (Items)
//
// Предоставляет доступ к записям пользовательских коллекций
//

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.29.0
// 	protoc        v3.21.12
// source: items/items.proto

package items

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"
	structpb "google.golang.org/protobuf/types/known/structpb"
	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 Item_State int32

const (
	Item_DRAFT     Item_State = 0
	Item_PUBLISHED Item_State = 1
	Item_CHANGED   Item_State = 2
	Item_ARCHIVED  Item_State = 3
)

// Enum value maps for Item_State.
var (
	Item_State_name = map[int32]string{
		0: "DRAFT",
		1: "PUBLISHED",
		2: "CHANGED",
		3: "ARCHIVED",
	}
	Item_State_value = map[string]int32{
		"DRAFT":     0,
		"PUBLISHED": 1,
		"CHANGED":   2,
		"ARCHIVED":  3,
	}
)

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

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

func (Item_State) Descriptor() protoreflect.EnumDescriptor {