[#120] Regenerate proto files

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-10-01 13:52:57 +03:00
parent 287e98ad67
commit f812b1ae5b
3 changed files with 32 additions and 24 deletions

View file

@ -26,7 +26,7 @@ const (
// //
// 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. // 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.
type AccountingServiceClient interface { type AccountingServiceClient interface {
// Returns the amount of funds in GAS token for the requested NeoFS account. // Returns the amount of funds in GAS token for the requested FrostFS account.
// //
// Statuses: // Statuses:
// - **OK** (0, SECTION_SUCCESS): // - **OK** (0, SECTION_SUCCESS):
@ -56,7 +56,7 @@ func (c *accountingServiceClient) Balance(ctx context.Context, in *BalanceReques
// All implementations should embed UnimplementedAccountingServiceServer // All implementations should embed UnimplementedAccountingServiceServer
// for forward compatibility // for forward compatibility
type AccountingServiceServer interface { type AccountingServiceServer interface {
// Returns the amount of funds in GAS token for the requested NeoFS account. // Returns the amount of funds in GAS token for the requested FrostFS account.
// //
// Statuses: // Statuses:
// - **OK** (0, SECTION_SUCCESS): // - **OK** (0, SECTION_SUCCESS):

View file

@ -40,14 +40,14 @@ type NetmapServiceClient interface {
// information about the server has been successfully read; // information about the server has been successfully read;
// - Common failures (SECTION_FAILURE_COMMON). // - Common failures (SECTION_FAILURE_COMMON).
LocalNodeInfo(ctx context.Context, in *LocalNodeInfoRequest, opts ...grpc.CallOption) (*LocalNodeInfoResponse, error) LocalNodeInfo(ctx context.Context, in *LocalNodeInfoRequest, opts ...grpc.CallOption) (*LocalNodeInfoResponse, error)
// Read recent information about the NeoFS network. // Read recent information about the FrostFS network.
// //
// Statuses: // Statuses:
// - **OK** (0, SECTION_SUCCESS): // - **OK** (0, SECTION_SUCCESS):
// information about the current network state has been successfully read; // information about the current network state has been successfully read;
// - Common failures (SECTION_FAILURE_COMMON). // - Common failures (SECTION_FAILURE_COMMON).
NetworkInfo(ctx context.Context, in *NetworkInfoRequest, opts ...grpc.CallOption) (*NetworkInfoResponse, error) NetworkInfo(ctx context.Context, in *NetworkInfoRequest, opts ...grpc.CallOption) (*NetworkInfoResponse, error)
// Returns network map snapshot of the current NeoFS epoch. // Returns network map snapshot of the current FrostFS epoch.
// //
// Statuses: // Statuses:
// - **OK** (0, SECTION_SUCCESS): // - **OK** (0, SECTION_SUCCESS):
@ -107,14 +107,14 @@ type NetmapServiceServer interface {
// information about the server has been successfully read; // information about the server has been successfully read;
// - Common failures (SECTION_FAILURE_COMMON). // - Common failures (SECTION_FAILURE_COMMON).
LocalNodeInfo(context.Context, *LocalNodeInfoRequest) (*LocalNodeInfoResponse, error) LocalNodeInfo(context.Context, *LocalNodeInfoRequest) (*LocalNodeInfoResponse, error)
// Read recent information about the NeoFS network. // Read recent information about the FrostFS network.
// //
// Statuses: // Statuses:
// - **OK** (0, SECTION_SUCCESS): // - **OK** (0, SECTION_SUCCESS):
// information about the current network state has been successfully read; // information about the current network state has been successfully read;
// - Common failures (SECTION_FAILURE_COMMON). // - Common failures (SECTION_FAILURE_COMMON).
NetworkInfo(context.Context, *NetworkInfoRequest) (*NetworkInfoResponse, error) NetworkInfo(context.Context, *NetworkInfoRequest) (*NetworkInfoResponse, error)
// Returns network map snapshot of the current NeoFS epoch. // Returns network map snapshot of the current FrostFS epoch.
// //
// Statuses: // Statuses:
// - **OK** (0, SECTION_SUCCESS): // - **OK** (0, SECTION_SUCCESS):

View file

@ -170,7 +170,7 @@ type ObjectServiceClient interface {
// provided session token has expired. // provided session token has expired.
Head(ctx context.Context, in *HeadRequest, opts ...grpc.CallOption) (*HeadResponse, error) Head(ctx context.Context, in *HeadRequest, opts ...grpc.CallOption) (*HeadResponse, error)
// Search objects in container. Search query allows to match by Object // Search objects in container. Search query allows to match by Object
// Header's filed values. Please see the corresponding NeoFS Technical // Header's filed values. Please see the corresponding FrostFS Technical
// Specification section for more details. // Specification section for more details.
// //
// Extended headers can change `Search` behaviour: // Extended headers can change `Search` behaviour:
@ -301,16 +301,20 @@ type ObjectServiceClient interface {
// provided session token has expired. // provided session token has expired.
PutSingle(ctx context.Context, in *PutSingleRequest, opts ...grpc.CallOption) (*PutSingleResponse, error) PutSingle(ctx context.Context, in *PutSingleRequest, opts ...grpc.CallOption) (*PutSingleResponse, error)
// Patch the object. Request uses gRPC stream. First message must set // Patch the object. Request uses gRPC stream. First message must set
// the address of the object that is going to get patched. If the object's attributes // the address of the object that is going to get patched. If the object's
// are patched, then these attrubutes must be set only within the first stream message. // attributes are patched, then these attrubutes must be set only within the
// first stream message.
// //
// If the patch request is performed by NOT the object's owner but if the actor has the permission // If the patch request is performed by NOT the object's owner but if the
// to perform the patch, then `OwnerID` of the object is changed. In this case the object's owner // actor has the permission to perform the patch, then `OwnerID` of the object
// loses the object's ownership after the patch request is successfully done. // is changed. In this case the object's owner loses the object's ownership
// after the patch request is successfully done.
// //
// As objects are content-addressable the patching causes new object ID generation for the patched object. // As objects are content-addressable the patching causes new object ID
// This object id is set witihn `PatchResponse`. But the object id may remain unchanged in such cases: // generation for the patched object. This object id is set witihn
// 1. The chunk of the applying patch contains the same value as the object's payload within the same range; // `PatchResponse`. But the object id may remain unchanged in such cases:
// 1. The chunk of the applying patch contains the same value as the object's
// payload within the same range;
// 2. The patch that reverts the changes applied by preceding patch; // 2. The patch that reverts the changes applied by preceding patch;
// 3. The application of the same patches for the object a few times. // 3. The application of the same patches for the object a few times.
// //
@ -694,7 +698,7 @@ type ObjectServiceServer interface {
// provided session token has expired. // provided session token has expired.
Head(context.Context, *HeadRequest) (*HeadResponse, error) Head(context.Context, *HeadRequest) (*HeadResponse, error)
// Search objects in container. Search query allows to match by Object // Search objects in container. Search query allows to match by Object
// Header's filed values. Please see the corresponding NeoFS Technical // Header's filed values. Please see the corresponding FrostFS Technical
// Specification section for more details. // Specification section for more details.
// //
// Extended headers can change `Search` behaviour: // Extended headers can change `Search` behaviour:
@ -825,16 +829,20 @@ type ObjectServiceServer interface {
// provided session token has expired. // provided session token has expired.
PutSingle(context.Context, *PutSingleRequest) (*PutSingleResponse, error) PutSingle(context.Context, *PutSingleRequest) (*PutSingleResponse, error)
// Patch the object. Request uses gRPC stream. First message must set // Patch the object. Request uses gRPC stream. First message must set
// the address of the object that is going to get patched. If the object's attributes // the address of the object that is going to get patched. If the object's
// are patched, then these attrubutes must be set only within the first stream message. // attributes are patched, then these attrubutes must be set only within the
// first stream message.
// //
// If the patch request is performed by NOT the object's owner but if the actor has the permission // If the patch request is performed by NOT the object's owner but if the
// to perform the patch, then `OwnerID` of the object is changed. In this case the object's owner // actor has the permission to perform the patch, then `OwnerID` of the object
// loses the object's ownership after the patch request is successfully done. // is changed. In this case the object's owner loses the object's ownership
// after the patch request is successfully done.
// //
// As objects are content-addressable the patching causes new object ID generation for the patched object. // As objects are content-addressable the patching causes new object ID
// This object id is set witihn `PatchResponse`. But the object id may remain unchanged in such cases: // generation for the patched object. This object id is set witihn
// 1. The chunk of the applying patch contains the same value as the object's payload within the same range; // `PatchResponse`. But the object id may remain unchanged in such cases:
// 1. The chunk of the applying patch contains the same value as the object's
// payload within the same range;
// 2. The patch that reverts the changes applied by preceding patch; // 2. The patch that reverts the changes applied by preceding patch;
// 3. The application of the same patches for the object a few times. // 3. The application of the same patches for the object a few times.
// //