Skip to content
Snippets Groups Projects
Commit a55bacda authored by Valera Shaitorov's avatar Valera Shaitorov :alien:
Browse files

Обновлены proto файлы после добавления поля UpdatedAttrs в опции распубликации и удалении записи

parent 780614db
Branches
Tags
No related merge requests found
Subproject commit d9fd1b7382944ef12019bcab1ad00334d9b90a88
Subproject commit 05599182af253b283211ba757e2a951085646ed6
This diff is collapsed.
//*
// # Items
//
// API Сервиса работы с пользовательским записями (Items)
//
// Предоставляет доступ к записям пользовательских коллекций
//
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.3.0
......@@ -27,27 +19,6 @@ import (
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
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_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"
)
// 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.
......@@ -94,7 +65,7 @@ func NewItemsClient(cc grpc.ClientConnInterface) ItemsClient {
func (c *itemsClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) {
out := new(CreateResponse)
err := c.cc.Invoke(ctx, Items_Create_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/Create", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -103,7 +74,7 @@ func (c *itemsClient) Create(ctx context.Context, in *CreateRequest, opts ...grp
func (c *itemsClient) Introspect(ctx context.Context, in *IntrospectRequest, opts ...grpc.CallOption) (*IntrospectResponse, error) {
out := new(IntrospectResponse)
err := c.cc.Invoke(ctx, Items_Introspect_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/Introspect", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -112,7 +83,7 @@ func (c *itemsClient) Introspect(ctx context.Context, in *IntrospectRequest, opt
func (c *itemsClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) {
out := new(GetResponse)
err := c.cc.Invoke(ctx, Items_Get_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/Get", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -121,7 +92,7 @@ func (c *itemsClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.Call
func (c *itemsClient) Find(ctx context.Context, in *FindRequest, opts ...grpc.CallOption) (*FindResponse, error) {
out := new(FindResponse)
err := c.cc.Invoke(ctx, Items_Find_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/Find", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -130,7 +101,7 @@ func (c *itemsClient) Find(ctx context.Context, in *FindRequest, opts ...grpc.Ca
func (c *itemsClient) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, Items_Update_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/Update", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -139,7 +110,7 @@ func (c *itemsClient) Update(ctx context.Context, in *UpdateRequest, opts ...grp
func (c *itemsClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, Items_Delete_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/Delete", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -148,7 +119,7 @@ func (c *itemsClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grp
func (c *itemsClient) Undelete(ctx context.Context, in *UndeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, Items_Undelete_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/Undelete", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -157,7 +128,7 @@ func (c *itemsClient) Undelete(ctx context.Context, in *UndeleteRequest, opts ..
func (c *itemsClient) Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, Items_Publish_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/Publish", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -166,7 +137,7 @@ func (c *itemsClient) Publish(ctx context.Context, in *PublishRequest, opts ...g
func (c *itemsClient) Unpublish(ctx context.Context, in *UnpublishRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, Items_Unpublish_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/Unpublish", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -175,7 +146,7 @@ func (c *itemsClient) Unpublish(ctx context.Context, in *UnpublishRequest, opts
func (c *itemsClient) GetPublished(ctx context.Context, in *GetPublishedRequest, opts ...grpc.CallOption) (*GetPublishedResponse, error) {
out := new(GetPublishedResponse)
err := c.cc.Invoke(ctx, Items_GetPublished_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/GetPublished", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -184,7 +155,7 @@ func (c *itemsClient) GetPublished(ctx context.Context, in *GetPublishedRequest,
func (c *itemsClient) FindPublished(ctx context.Context, in *FindPublishedRequest, opts ...grpc.CallOption) (*FindPublishedResponse, error) {
out := new(FindPublishedResponse)
err := c.cc.Invoke(ctx, Items_FindPublished_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/FindPublished", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -193,7 +164,7 @@ func (c *itemsClient) FindPublished(ctx context.Context, in *FindPublishedReques
func (c *itemsClient) Aggregate(ctx context.Context, in *AggregateRequest, opts ...grpc.CallOption) (*AggregateResponse, error) {
out := new(AggregateResponse)
err := c.cc.Invoke(ctx, Items_Aggregate_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/Aggregate", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -202,7 +173,7 @@ func (c *itemsClient) Aggregate(ctx context.Context, in *AggregateRequest, opts
func (c *itemsClient) AggregatePublished(ctx context.Context, in *AggregatePublishedRequest, opts ...grpc.CallOption) (*AggregatePublishedResponse, error) {
out := new(AggregatePublishedResponse)
err := c.cc.Invoke(ctx, Items_AggregatePublished_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/AggregatePublished", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -211,7 +182,7 @@ func (c *itemsClient) AggregatePublished(ctx context.Context, in *AggregatePubli
func (c *itemsClient) GetRevision(ctx context.Context, in *GetRevisionRequest, opts ...grpc.CallOption) (*GetRevisionResponse, error) {
out := new(GetRevisionResponse)
err := c.cc.Invoke(ctx, Items_GetRevision_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/GetRevision", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -220,7 +191,7 @@ func (c *itemsClient) GetRevision(ctx context.Context, in *GetRevisionRequest, o
func (c *itemsClient) ListRevisions(ctx context.Context, in *ListRevisionsRequest, opts ...grpc.CallOption) (*ListRevisionsResponse, error) {
out := new(ListRevisionsResponse)
err := c.cc.Invoke(ctx, Items_ListRevisions_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/ListRevisions", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -229,7 +200,7 @@ func (c *itemsClient) ListRevisions(ctx context.Context, in *ListRevisionsReques
func (c *itemsClient) Archive(ctx context.Context, in *ArchiveRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, Items_Archive_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/Archive", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -238,7 +209,7 @@ func (c *itemsClient) Archive(ctx context.Context, in *ArchiveRequest, opts ...g
func (c *itemsClient) FindArchived(ctx context.Context, in *FindArchivedRequest, opts ...grpc.CallOption) (*FindArchivedResponse, error) {
out := new(FindArchivedResponse)
err := c.cc.Invoke(ctx, Items_FindArchived_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/FindArchived", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -247,7 +218,7 @@ func (c *itemsClient) FindArchived(ctx context.Context, in *FindArchivedRequest,
func (c *itemsClient) Unarchive(ctx context.Context, in *UnarchiveRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, Items_Unarchive_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, "/content.items.Items/Unarchive", in, out, opts...)
if err != nil {
return nil, err
}
......@@ -372,7 +343,7 @@ func _Items_Create_Handler(srv interface{}, ctx context.Context, dec func(interf
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_Create_FullMethodName,
FullMethod: "/content.items.Items/Create",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).Create(ctx, req.(*CreateRequest))
......@@ -390,7 +361,7 @@ func _Items_Introspect_Handler(srv interface{}, ctx context.Context, dec func(in
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_Introspect_FullMethodName,
FullMethod: "/content.items.Items/Introspect",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).Introspect(ctx, req.(*IntrospectRequest))
......@@ -408,7 +379,7 @@ func _Items_Get_Handler(srv interface{}, ctx context.Context, dec func(interface
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_Get_FullMethodName,
FullMethod: "/content.items.Items/Get",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).Get(ctx, req.(*GetRequest))
......@@ -426,7 +397,7 @@ func _Items_Find_Handler(srv interface{}, ctx context.Context, dec func(interfac
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_Find_FullMethodName,
FullMethod: "/content.items.Items/Find",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).Find(ctx, req.(*FindRequest))
......@@ -444,7 +415,7 @@ func _Items_Update_Handler(srv interface{}, ctx context.Context, dec func(interf
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_Update_FullMethodName,
FullMethod: "/content.items.Items/Update",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).Update(ctx, req.(*UpdateRequest))
......@@ -462,7 +433,7 @@ func _Items_Delete_Handler(srv interface{}, ctx context.Context, dec func(interf
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_Delete_FullMethodName,
FullMethod: "/content.items.Items/Delete",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).Delete(ctx, req.(*DeleteRequest))
......@@ -480,7 +451,7 @@ func _Items_Undelete_Handler(srv interface{}, ctx context.Context, dec func(inte
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_Undelete_FullMethodName,
FullMethod: "/content.items.Items/Undelete",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).Undelete(ctx, req.(*UndeleteRequest))
......@@ -498,7 +469,7 @@ func _Items_Publish_Handler(srv interface{}, ctx context.Context, dec func(inter
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_Publish_FullMethodName,
FullMethod: "/content.items.Items/Publish",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).Publish(ctx, req.(*PublishRequest))
......@@ -516,7 +487,7 @@ func _Items_Unpublish_Handler(srv interface{}, ctx context.Context, dec func(int
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_Unpublish_FullMethodName,
FullMethod: "/content.items.Items/Unpublish",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).Unpublish(ctx, req.(*UnpublishRequest))
......@@ -534,7 +505,7 @@ func _Items_GetPublished_Handler(srv interface{}, ctx context.Context, dec func(
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_GetPublished_FullMethodName,
FullMethod: "/content.items.Items/GetPublished",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).GetPublished(ctx, req.(*GetPublishedRequest))
......@@ -552,7 +523,7 @@ func _Items_FindPublished_Handler(srv interface{}, ctx context.Context, dec func
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_FindPublished_FullMethodName,
FullMethod: "/content.items.Items/FindPublished",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).FindPublished(ctx, req.(*FindPublishedRequest))
......@@ -570,7 +541,7 @@ func _Items_Aggregate_Handler(srv interface{}, ctx context.Context, dec func(int
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_Aggregate_FullMethodName,
FullMethod: "/content.items.Items/Aggregate",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).Aggregate(ctx, req.(*AggregateRequest))
......@@ -588,7 +559,7 @@ func _Items_AggregatePublished_Handler(srv interface{}, ctx context.Context, dec
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_AggregatePublished_FullMethodName,
FullMethod: "/content.items.Items/AggregatePublished",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).AggregatePublished(ctx, req.(*AggregatePublishedRequest))
......@@ -606,7 +577,7 @@ func _Items_GetRevision_Handler(srv interface{}, ctx context.Context, dec func(i
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_GetRevision_FullMethodName,
FullMethod: "/content.items.Items/GetRevision",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).GetRevision(ctx, req.(*GetRevisionRequest))
......@@ -624,7 +595,7 @@ func _Items_ListRevisions_Handler(srv interface{}, ctx context.Context, dec func
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_ListRevisions_FullMethodName,
FullMethod: "/content.items.Items/ListRevisions",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).ListRevisions(ctx, req.(*ListRevisionsRequest))
......@@ -642,7 +613,7 @@ func _Items_Archive_Handler(srv interface{}, ctx context.Context, dec func(inter
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_Archive_FullMethodName,
FullMethod: "/content.items.Items/Archive",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).Archive(ctx, req.(*ArchiveRequest))
......@@ -660,7 +631,7 @@ func _Items_FindArchived_Handler(srv interface{}, ctx context.Context, dec func(
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_FindArchived_FullMethodName,
FullMethod: "/content.items.Items/FindArchived",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).FindArchived(ctx, req.(*FindArchivedRequest))
......@@ -678,7 +649,7 @@ func _Items_Unarchive_Handler(srv interface{}, ctx context.Context, dec func(int
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: Items_Unarchive_FullMethodName,
FullMethod: "/content.items.Items/Unarchive",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ItemsServer).Unarchive(ctx, req.(*UnarchiveRequest))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment