Select Git revision
items_grpc.pb.go
items_grpc.pb.go 33.55 KiB
//*
// # Items
//
// API Сервиса работы с пользовательским записями (Items)
//
// Предоставляет доступ к записям пользовательских коллекций
//
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.5.1
// - protoc v5.28.3
// source: items/items.proto
package items
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
emptypb "google.golang.org/protobuf/types/known/emptypb"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.64.0 or later.
const _ = grpc.SupportPackageIsVersion9
const (
Items_Create_FullMethodName = "/content.items.Items/Create"
Items_Introspect_FullMethodName = "/content.items.Items/Introspect"
Items_Get_FullMethodName = "/content.items.Items/Get"
Items_Find_FullMethodName = "/content.items.Items/Find"
Items_Update_FullMethodName = "/content.items.Items/Update"
Items_Delete_FullMethodName = "/content.items.Items/Delete"
Items_Undelete_FullMethodName = "/content.items.Items/Undelete"
Items_Publish_FullMethodName = "/content.items.Items/Publish"
Items_Unpublish_FullMethodName = "/content.items.Items/Unpublish"
Items_GetPublished_FullMethodName = "/content.items.Items/GetPublished"
Items_FindPublished_FullMethodName = "/content.items.Items/FindPublished"
Items_CheckoutRevision_FullMethodName = "/content.items.Items/CheckoutRevision"
Items_Aggregate_FullMethodName = "/content.items.Items/Aggregate"
Items_AggregatePublished_FullMethodName = "/content.items.Items/AggregatePublished"
Items_GetRevision_FullMethodName = "/content.items.Items/GetRevision"
Items_ListRevisions_FullMethodName = "/content.items.Items/ListRevisions"
Items_Archive_FullMethodName = "/content.items.Items/Archive"
Items_FindArchived_FullMethodName = "/content.items.Items/FindArchived"
Items_Unarchive_FullMethodName = "/content.items.Items/Unarchive"
Items_GetArchived_FullMethodName = "/content.items.Items/GetArchived"
)
// ItemsClient is the client API for Items service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
//
// *
// Сервис API элементов
type ItemsClient interface {
// *
// Создать запись
Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
// *
// Валидация данных записи
Introspect(ctx context.Context, in *IntrospectRequest, opts ...grpc.CallOption) (*IntrospectResponse, error)
// *
// Получение записи по идентификатору
Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
// *
// Поиск по текущим записям