// Code generated by protoc-gen-go-drpc. DO NOT EDIT.
// protoc-gen-go-drpc version: v0.0.35-0.20250513201419-f7819ea69b55
// source: metainfo.proto

package pb

import (
	bytes "bytes"
	context "context"
	errors "errors"

	jsonpb "github.com/gogo/protobuf/jsonpb"
	proto "github.com/gogo/protobuf/proto"

	drpc "storj.io/drpc"
	drpcerr "storj.io/drpc/drpcerr"
)

type drpcEncoding_File_metainfo_proto struct{}

func (drpcEncoding_File_metainfo_proto) Marshal(msg drpc.Message) ([]byte, error) {
	return proto.Marshal(msg.(proto.Message))
}

func (drpcEncoding_File_metainfo_proto) Unmarshal(buf []byte, msg drpc.Message) error {
	return proto.Unmarshal(buf, msg.(proto.Message))
}

func (drpcEncoding_File_metainfo_proto) JSONMarshal(msg drpc.Message) ([]byte, error) {
	var buf bytes.Buffer
	err := new(jsonpb.Marshaler).Marshal(&buf, msg.(proto.Message))
	if err != nil {
		return nil, err
	}
	return buf.Bytes(), nil
}

func (drpcEncoding_File_metainfo_proto) JSONUnmarshal(buf []byte, msg drpc.Message) error {
	return jsonpb.Unmarshal(bytes.NewReader(buf), msg.(proto.Message))
}

type DRPCMetainfoClient interface {
	DRPCConn() drpc.Conn

	CreateBucket(ctx context.Context, in *CreateBucketRequest) (*CreateBucketResponse, error)
	GetBucket(ctx context.Context, in *GetBucketRequest) (*GetBucketResponse, error)
	GetBucketLocation(ctx context.Context, in *GetBucketLocationRequest) (*GetBucketLocationResponse, error)
	GetBucketTagging(ctx context.Context, in *GetBucketTaggingRequest) (*GetBucketTaggingResponse, error)
	SetBucketTagging(ctx context.Context, in *SetBucketTaggingRequest) (*SetBucketTaggingResponse, error)
	GetBucketVersioning(ctx context.Context, in *GetBucketVersioningRequest) (*GetBucketVersioningResponse, error)
	SetBucketVersioning(ctx context.Context, in *SetBucketVersioningRequest) (*SetBucketVersioningResponse, error)
	GetBucketObjectLockConfiguration(ctx context.Context, in *GetBucketObjectLockConfigurationRequest) (*GetBucketObjectLockConfigurationResponse, error)
	SetBucketObjectLockConfiguration(ctx context.Context, in *SetBucketObjectLockConfigurationRequest) (*SetBucketObjectLockConfigurationResponse, error)
	GetBucketNotificationConfiguration(ctx context.Context, in *GetBucketNotificationConfigurationRequest) (*GetBucketNotificationConfigurationResponse, error)
	SetBucketNotificationConfiguration(ctx context.Context, in *SetBucketNotificationConfigurationRequest) (*SetBucketNotificationConfigurationResponse, error)
	DeleteBucket(ctx context.Context, in *DeleteBucketRequest) (*DeleteBucketResponse, error)
	ListBuckets(ctx context.Context, in *ListBucketsRequest) (*ListBucketsResponse, error)
	BeginObject(ctx context.Context, in *BeginObjectRequest) (*BeginObjectResponse, error)
	CommitObject(ctx context.Context, in *CommitObjectRequest) (*CommitObjectResponse, error)
	GetObject(ctx context.Context, in *GetObjectRequest) (*GetObjectResponse, error)
	ListObjects(ctx context.Context, in *ListObjectsRequest) (*ListObjectsResponse, error)
	BeginDeleteObject(ctx context.Context, in *BeginDeleteObjectRequest) (*BeginDeleteObjectResponse, error)
	FinishDeleteObject(ctx context.Context, in *FinishDeleteObjectRequest) (*FinishDeleteObjectResponse, error)
	DeleteObjects(ctx context.Context, in *DeleteObjectsRequest) (*DeleteObjectsResponse, error)
	GetObjectIPs(ctx context.Context, in *GetObjectIPsRequest) (*GetObjectIPsResponse, error)
	ListPendingObjectStreams(ctx context.Context, in *ListPendingObjectStreamsRequest) (*ListPendingObjectStreamsResponse, error)
	DownloadObject(ctx context.Context, in *DownloadObjectRequest) (*DownloadObjectResponse, error)
	GetPendingObjectMetadata(ctx context.Context, in *GetPendingObjectMetadataRequest) (*GetPendingObjectMetadataResponse, error)
	UpdateObjectMetadata(ctx context.Context, in *UpdateObjectMetadataRequest) (*UpdateObjectMetadataResponse, error)
	GetObjectRetention(ctx context.Context, in *GetObjectRetentionRequest) (*GetObjectRetentionResponse, error)
	SetObjectRetention(ctx context.Context, in *SetObjectRetentionRequest) (*SetObjectRetentionResponse, error)
	GetObjectLegalHold(ctx context.Context, in *GetObjectLegalHoldRequest) (*GetObjectLegalHoldResponse, error)
	SetObjectLegalHold(ctx context.Context, in *SetObjectLegalHoldRequest) (*SetObjectLegalHoldResponse, error)
	BeginSegment(ctx context.Context, in *BeginSegmentRequest) (*BeginSegmentResponse, error)
	RetryBeginSegmentPieces(ctx context.Context, in *RetryBeginSegmentPiecesRequest) (*RetryBeginSegmentPiecesResponse, error)
	CommitSegment(ctx context.Context, in *CommitSegmentRequest) (*CommitSegmentResponse, error)
	MakeInlineSegment(ctx context.Context, in *MakeInlineSegmentRequest) (*MakeInlineSegmentResponse, error)
	BeginDeleteSegment(ctx context.Context, in *BeginDeleteSegmentRequest) (*BeginDeleteSegmentResponse, error)
	FinishDeleteSegment(ctx context.Context, in *FinishDeleteSegmentRequest) (*FinishDeleteSegmentResponse, error)
	ListSegments(ctx context.Context, in *ListSegmentsRequest) (*ListSegmentsResponse, error)
	DownloadSegment(ctx context.Context, in *DownloadSegmentRequest) (*DownloadSegmentResponse, error)
	DeletePart(ctx context.Context, in *DeletePartRequest) (*DeletePartResponse, error)
	Batch(ctx context.Context, in *BatchRequest) (*BatchResponse, error)
	CompressedBatch(ctx context.Context, in *CompressedBatchRequest) (*CompressedBatchResponse, error)
	ProjectInfo(ctx context.Context, in *ProjectInfoRequest) (*ProjectInfoResponse, error)
	RevokeAPIKey(ctx context.Context, in *RevokeAPIKeyRequest) (*RevokeAPIKeyResponse, error)
	AccountLicenses(ctx context.Context, in *AccountLicensesRequest) (*AccountLicensesResponse, error)
	BeginMoveObject(ctx context.Context, in *BeginMoveObjectRequest) (*BeginMoveObjectResponse, error)
	FinishMoveObject(ctx context.Context, in *FinishMoveObjectRequest) (*FinishMoveObjectResponse, error)
	BeginCopyObject(ctx context.Context, in *BeginCopyObjectRequest) (*BeginCopyObjectResponse, error)
	FinishCopyObject(ctx context.Context, in *FinishCopyObjectRequest) (*FinishCopyObjectResponse, error)
}

type drpcMetainfoClient struct {
	cc drpc.Conn
}

func NewDRPCMetainfoClient(cc drpc.Conn) DRPCMetainfoClient {
	return &drpcMetainfoClient{cc}
}

func (c *drpcMetainfoClient) DRPCConn() drpc.Conn { return c.cc }

func (c *drpcMetainfoClient) CreateBucket(ctx context.Context, in *CreateBucketRequest) (*CreateBucketResponse, error) {
	out := new(CreateBucketResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CreateBucket", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) GetBucket(ctx context.Context, in *GetBucketRequest) (*GetBucketResponse, error) {
	out := new(GetBucketResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/GetBucket", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) GetBucketLocation(ctx context.Context, in *GetBucketLocationRequest) (*GetBucketLocationResponse, error) {
	out := new(GetBucketLocationResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/GetBucketLocation", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) GetBucketTagging(ctx context.Context, in *GetBucketTaggingRequest) (*GetBucketTaggingResponse, error) {
	out := new(GetBucketTaggingResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/GetBucketTagging", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) SetBucketTagging(ctx context.Context, in *SetBucketTaggingRequest) (*SetBucketTaggingResponse, error) {
	out := new(SetBucketTaggingResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SetBucketTagging", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) GetBucketVersioning(ctx context.Context, in *GetBucketVersioningRequest) (*GetBucketVersioningResponse, error) {
	out := new(GetBucketVersioningResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/GetBucketVersioning", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) SetBucketVersioning(ctx context.Context, in *SetBucketVersioningRequest) (*SetBucketVersioningResponse, error) {
	out := new(SetBucketVersioningResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SetBucketVersioning", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) GetBucketObjectLockConfiguration(ctx context.Context, in *GetBucketObjectLockConfigurationRequest) (*GetBucketObjectLockConfigurationResponse, error) {
	out := new(GetBucketObjectLockConfigurationResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/GetBucketObjectLockConfiguration", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) SetBucketObjectLockConfiguration(ctx context.Context, in *SetBucketObjectLockConfigurationRequest) (*SetBucketObjectLockConfigurationResponse, error) {
	out := new(SetBucketObjectLockConfigurationResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SetBucketObjectLockConfiguration", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) GetBucketNotificationConfiguration(ctx context.Context, in *GetBucketNotificationConfigurationRequest) (*GetBucketNotificationConfigurationResponse, error) {
	out := new(GetBucketNotificationConfigurationResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/GetBucketNotificationConfiguration", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) SetBucketNotificationConfiguration(ctx context.Context, in *SetBucketNotificationConfigurationRequest) (*SetBucketNotificationConfigurationResponse, error) {
	out := new(SetBucketNotificationConfigurationResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SetBucketNotificationConfiguration", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) DeleteBucket(ctx context.Context, in *DeleteBucketRequest) (*DeleteBucketResponse, error) {
	out := new(DeleteBucketResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DeleteBucket", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) ListBuckets(ctx context.Context, in *ListBucketsRequest) (*ListBucketsResponse, error) {
	out := new(ListBucketsResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ListBuckets", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) BeginObject(ctx context.Context, in *BeginObjectRequest) (*BeginObjectResponse, error) {
	out := new(BeginObjectResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/BeginObject", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) CommitObject(ctx context.Context, in *CommitObjectRequest) (*CommitObjectResponse, error) {
	out := new(CommitObjectResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CommitObject", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) GetObject(ctx context.Context, in *GetObjectRequest) (*GetObjectResponse, error) {
	out := new(GetObjectResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/GetObject", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) ListObjects(ctx context.Context, in *ListObjectsRequest) (*ListObjectsResponse, error) {
	out := new(ListObjectsResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ListObjects", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) BeginDeleteObject(ctx context.Context, in *BeginDeleteObjectRequest) (*BeginDeleteObjectResponse, error) {
	out := new(BeginDeleteObjectResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/BeginDeleteObject", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) FinishDeleteObject(ctx context.Context, in *FinishDeleteObjectRequest) (*FinishDeleteObjectResponse, error) {
	out := new(FinishDeleteObjectResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/FinishDeleteObject", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) DeleteObjects(ctx context.Context, in *DeleteObjectsRequest) (*DeleteObjectsResponse, error) {
	out := new(DeleteObjectsResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DeleteObjects", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) GetObjectIPs(ctx context.Context, in *GetObjectIPsRequest) (*GetObjectIPsResponse, error) {
	out := new(GetObjectIPsResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/GetObjectIPs", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) ListPendingObjectStreams(ctx context.Context, in *ListPendingObjectStreamsRequest) (*ListPendingObjectStreamsResponse, error) {
	out := new(ListPendingObjectStreamsResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ListPendingObjectStreams", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) DownloadObject(ctx context.Context, in *DownloadObjectRequest) (*DownloadObjectResponse, error) {
	out := new(DownloadObjectResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DownloadObject", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) GetPendingObjectMetadata(ctx context.Context, in *GetPendingObjectMetadataRequest) (*GetPendingObjectMetadataResponse, error) {
	out := new(GetPendingObjectMetadataResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/GetPendingObjectMetadata", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) UpdateObjectMetadata(ctx context.Context, in *UpdateObjectMetadataRequest) (*UpdateObjectMetadataResponse, error) {
	out := new(UpdateObjectMetadataResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/UpdateObjectMetadata", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) GetObjectRetention(ctx context.Context, in *GetObjectRetentionRequest) (*GetObjectRetentionResponse, error) {
	out := new(GetObjectRetentionResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/GetObjectRetention", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) SetObjectRetention(ctx context.Context, in *SetObjectRetentionRequest) (*SetObjectRetentionResponse, error) {
	out := new(SetObjectRetentionResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SetObjectRetention", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) GetObjectLegalHold(ctx context.Context, in *GetObjectLegalHoldRequest) (*GetObjectLegalHoldResponse, error) {
	out := new(GetObjectLegalHoldResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/GetObjectLegalHold", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) SetObjectLegalHold(ctx context.Context, in *SetObjectLegalHoldRequest) (*SetObjectLegalHoldResponse, error) {
	out := new(SetObjectLegalHoldResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/SetObjectLegalHold", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) BeginSegment(ctx context.Context, in *BeginSegmentRequest) (*BeginSegmentResponse, error) {
	out := new(BeginSegmentResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/BeginSegment", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) RetryBeginSegmentPieces(ctx context.Context, in *RetryBeginSegmentPiecesRequest) (*RetryBeginSegmentPiecesResponse, error) {
	out := new(RetryBeginSegmentPiecesResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/RetryBeginSegmentPieces", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) CommitSegment(ctx context.Context, in *CommitSegmentRequest) (*CommitSegmentResponse, error) {
	out := new(CommitSegmentResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CommitSegment", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) MakeInlineSegment(ctx context.Context, in *MakeInlineSegmentRequest) (*MakeInlineSegmentResponse, error) {
	out := new(MakeInlineSegmentResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/MakeInlineSegment", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) BeginDeleteSegment(ctx context.Context, in *BeginDeleteSegmentRequest) (*BeginDeleteSegmentResponse, error) {
	out := new(BeginDeleteSegmentResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/BeginDeleteSegment", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) FinishDeleteSegment(ctx context.Context, in *FinishDeleteSegmentRequest) (*FinishDeleteSegmentResponse, error) {
	out := new(FinishDeleteSegmentResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/FinishDeleteSegment", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) ListSegments(ctx context.Context, in *ListSegmentsRequest) (*ListSegmentsResponse, error) {
	out := new(ListSegmentsResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ListSegments", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) DownloadSegment(ctx context.Context, in *DownloadSegmentRequest) (*DownloadSegmentResponse, error) {
	out := new(DownloadSegmentResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DownloadSegment", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) DeletePart(ctx context.Context, in *DeletePartRequest) (*DeletePartResponse, error) {
	out := new(DeletePartResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/DeletePart", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) Batch(ctx context.Context, in *BatchRequest) (*BatchResponse, error) {
	out := new(BatchResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/Batch", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) CompressedBatch(ctx context.Context, in *CompressedBatchRequest) (*CompressedBatchResponse, error) {
	out := new(CompressedBatchResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/CompressedBatch", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) ProjectInfo(ctx context.Context, in *ProjectInfoRequest) (*ProjectInfoResponse, error) {
	out := new(ProjectInfoResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/ProjectInfo", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) RevokeAPIKey(ctx context.Context, in *RevokeAPIKeyRequest) (*RevokeAPIKeyResponse, error) {
	out := new(RevokeAPIKeyResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/RevokeAPIKey", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) AccountLicenses(ctx context.Context, in *AccountLicensesRequest) (*AccountLicensesResponse, error) {
	out := new(AccountLicensesResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/AccountLicenses", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) BeginMoveObject(ctx context.Context, in *BeginMoveObjectRequest) (*BeginMoveObjectResponse, error) {
	out := new(BeginMoveObjectResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/BeginMoveObject", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) FinishMoveObject(ctx context.Context, in *FinishMoveObjectRequest) (*FinishMoveObjectResponse, error) {
	out := new(FinishMoveObjectResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/FinishMoveObject", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) BeginCopyObject(ctx context.Context, in *BeginCopyObjectRequest) (*BeginCopyObjectResponse, error) {
	out := new(BeginCopyObjectResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/BeginCopyObject", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *drpcMetainfoClient) FinishCopyObject(ctx context.Context, in *FinishCopyObjectRequest) (*FinishCopyObjectResponse, error) {
	out := new(FinishCopyObjectResponse)
	err := c.cc.Invoke(ctx, "/metainfo.Metainfo/FinishCopyObject", drpcEncoding_File_metainfo_proto{}, in, out)
	if err != nil {
		return nil, err
	}
	return out, nil
}

type DRPCMetainfoServer interface {
	CreateBucket(context.Context, *CreateBucketRequest) (*CreateBucketResponse, error)
	GetBucket(context.Context, *GetBucketRequest) (*GetBucketResponse, error)
	GetBucketLocation(context.Context, *GetBucketLocationRequest) (*GetBucketLocationResponse, error)
	GetBucketTagging(context.Context, *GetBucketTaggingRequest) (*GetBucketTaggingResponse, error)
	SetBucketTagging(context.Context, *SetBucketTaggingRequest) (*SetBucketTaggingResponse, error)
	GetBucketVersioning(context.Context, *GetBucketVersioningRequest) (*GetBucketVersioningResponse, error)
	SetBucketVersioning(context.Context, *SetBucketVersioningRequest) (*SetBucketVersioningResponse, error)
	GetBucketObjectLockConfiguration(context.Context, *GetBucketObjectLockConfigurationRequest) (*GetBucketObjectLockConfigurationResponse, error)
	SetBucketObjectLockConfiguration(context.Context, *SetBucketObjectLockConfigurationRequest) (*SetBucketObjectLockConfigurationResponse, error)
	GetBucketNotificationConfiguration(context.Context, *GetBucketNotificationConfigurationRequest) (*GetBucketNotificationConfigurationResponse, error)
	SetBucketNotificationConfiguration(context.Context, *SetBucketNotificationConfigurationRequest) (*SetBucketNotificationConfigurationResponse, error)
	DeleteBucket(context.Context, *DeleteBucketRequest) (*DeleteBucketResponse, error)
	ListBuckets(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error)
	BeginObject(context.Context, *BeginObjectRequest) (*BeginObjectResponse, error)
	CommitObject(context.Context, *CommitObjectRequest) (*CommitObjectResponse, error)
	GetObject(context.Context, *GetObjectRequest) (*GetObjectResponse, error)
	ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error)
	BeginDeleteObject(context.Context, *BeginDeleteObjectRequest) (*BeginDeleteObjectResponse, error)
	FinishDeleteObject(context.Context, *FinishDeleteObjectRequest) (*FinishDeleteObjectResponse, error)
	DeleteObjects(context.Context, *DeleteObjectsRequest) (*DeleteObjectsResponse, error)
	GetObjectIPs(context.Context, *GetObjectIPsRequest) (*GetObjectIPsResponse, error)
	ListPendingObjectStreams(context.Context, *ListPendingObjectStreamsRequest) (*ListPendingObjectStreamsResponse, error)
	DownloadObject(context.Context, *DownloadObjectRequest) (*DownloadObjectResponse, error)
	GetPendingObjectMetadata(context.Context, *GetPendingObjectMetadataRequest) (*GetPendingObjectMetadataResponse, error)
	UpdateObjectMetadata(context.Context, *UpdateObjectMetadataRequest) (*UpdateObjectMetadataResponse, error)
	GetObjectRetention(context.Context, *GetObjectRetentionRequest) (*GetObjectRetentionResponse, error)
	SetObjectRetention(context.Context, *SetObjectRetentionRequest) (*SetObjectRetentionResponse, error)
	GetObjectLegalHold(context.Context, *GetObjectLegalHoldRequest) (*GetObjectLegalHoldResponse, error)
	SetObjectLegalHold(context.Context, *SetObjectLegalHoldRequest) (*SetObjectLegalHoldResponse, error)
	BeginSegment(context.Context, *BeginSegmentRequest) (*BeginSegmentResponse, error)
	RetryBeginSegmentPieces(context.Context, *RetryBeginSegmentPiecesRequest) (*RetryBeginSegmentPiecesResponse, error)
	CommitSegment(context.Context, *CommitSegmentRequest) (*CommitSegmentResponse, error)
	MakeInlineSegment(context.Context, *MakeInlineSegmentRequest) (*MakeInlineSegmentResponse, error)
	BeginDeleteSegment(context.Context, *BeginDeleteSegmentRequest) (*BeginDeleteSegmentResponse, error)
	FinishDeleteSegment(context.Context, *FinishDeleteSegmentRequest) (*FinishDeleteSegmentResponse, error)
	ListSegments(context.Context, *ListSegmentsRequest) (*ListSegmentsResponse, error)
	DownloadSegment(context.Context, *DownloadSegmentRequest) (*DownloadSegmentResponse, error)
	DeletePart(context.Context, *DeletePartRequest) (*DeletePartResponse, error)
	Batch(context.Context, *BatchRequest) (*BatchResponse, error)
	CompressedBatch(context.Context, *CompressedBatchRequest) (*CompressedBatchResponse, error)
	ProjectInfo(context.Context, *ProjectInfoRequest) (*ProjectInfoResponse, error)
	RevokeAPIKey(context.Context, *RevokeAPIKeyRequest) (*RevokeAPIKeyResponse, error)
	AccountLicenses(context.Context, *AccountLicensesRequest) (*AccountLicensesResponse, error)
	BeginMoveObject(context.Context, *BeginMoveObjectRequest) (*BeginMoveObjectResponse, error)
	FinishMoveObject(context.Context, *FinishMoveObjectRequest) (*FinishMoveObjectResponse, error)
	BeginCopyObject(context.Context, *BeginCopyObjectRequest) (*BeginCopyObjectResponse, error)
	FinishCopyObject(context.Context, *FinishCopyObjectRequest) (*FinishCopyObjectResponse, error)
}

type DRPCMetainfoUnimplementedServer struct{}

func (s *DRPCMetainfoUnimplementedServer) CreateBucket(context.Context, *CreateBucketRequest) (*CreateBucketResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) GetBucket(context.Context, *GetBucketRequest) (*GetBucketResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) GetBucketLocation(context.Context, *GetBucketLocationRequest) (*GetBucketLocationResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) GetBucketTagging(context.Context, *GetBucketTaggingRequest) (*GetBucketTaggingResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) SetBucketTagging(context.Context, *SetBucketTaggingRequest) (*SetBucketTaggingResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) GetBucketVersioning(context.Context, *GetBucketVersioningRequest) (*GetBucketVersioningResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) SetBucketVersioning(context.Context, *SetBucketVersioningRequest) (*SetBucketVersioningResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) GetBucketObjectLockConfiguration(context.Context, *GetBucketObjectLockConfigurationRequest) (*GetBucketObjectLockConfigurationResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) SetBucketObjectLockConfiguration(context.Context, *SetBucketObjectLockConfigurationRequest) (*SetBucketObjectLockConfigurationResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) GetBucketNotificationConfiguration(context.Context, *GetBucketNotificationConfigurationRequest) (*GetBucketNotificationConfigurationResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) SetBucketNotificationConfiguration(context.Context, *SetBucketNotificationConfigurationRequest) (*SetBucketNotificationConfigurationResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) DeleteBucket(context.Context, *DeleteBucketRequest) (*DeleteBucketResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) ListBuckets(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) BeginObject(context.Context, *BeginObjectRequest) (*BeginObjectResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) CommitObject(context.Context, *CommitObjectRequest) (*CommitObjectResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) GetObject(context.Context, *GetObjectRequest) (*GetObjectResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) BeginDeleteObject(context.Context, *BeginDeleteObjectRequest) (*BeginDeleteObjectResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) FinishDeleteObject(context.Context, *FinishDeleteObjectRequest) (*FinishDeleteObjectResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) DeleteObjects(context.Context, *DeleteObjectsRequest) (*DeleteObjectsResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) GetObjectIPs(context.Context, *GetObjectIPsRequest) (*GetObjectIPsResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) ListPendingObjectStreams(context.Context, *ListPendingObjectStreamsRequest) (*ListPendingObjectStreamsResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) DownloadObject(context.Context, *DownloadObjectRequest) (*DownloadObjectResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) GetPendingObjectMetadata(context.Context, *GetPendingObjectMetadataRequest) (*GetPendingObjectMetadataResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) UpdateObjectMetadata(context.Context, *UpdateObjectMetadataRequest) (*UpdateObjectMetadataResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) GetObjectRetention(context.Context, *GetObjectRetentionRequest) (*GetObjectRetentionResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) SetObjectRetention(context.Context, *SetObjectRetentionRequest) (*SetObjectRetentionResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) GetObjectLegalHold(context.Context, *GetObjectLegalHoldRequest) (*GetObjectLegalHoldResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) SetObjectLegalHold(context.Context, *SetObjectLegalHoldRequest) (*SetObjectLegalHoldResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) BeginSegment(context.Context, *BeginSegmentRequest) (*BeginSegmentResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) RetryBeginSegmentPieces(context.Context, *RetryBeginSegmentPiecesRequest) (*RetryBeginSegmentPiecesResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) CommitSegment(context.Context, *CommitSegmentRequest) (*CommitSegmentResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) MakeInlineSegment(context.Context, *MakeInlineSegmentRequest) (*MakeInlineSegmentResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) BeginDeleteSegment(context.Context, *BeginDeleteSegmentRequest) (*BeginDeleteSegmentResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) FinishDeleteSegment(context.Context, *FinishDeleteSegmentRequest) (*FinishDeleteSegmentResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) ListSegments(context.Context, *ListSegmentsRequest) (*ListSegmentsResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) DownloadSegment(context.Context, *DownloadSegmentRequest) (*DownloadSegmentResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) DeletePart(context.Context, *DeletePartRequest) (*DeletePartResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) Batch(context.Context, *BatchRequest) (*BatchResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) CompressedBatch(context.Context, *CompressedBatchRequest) (*CompressedBatchResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) ProjectInfo(context.Context, *ProjectInfoRequest) (*ProjectInfoResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) RevokeAPIKey(context.Context, *RevokeAPIKeyRequest) (*RevokeAPIKeyResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) AccountLicenses(context.Context, *AccountLicensesRequest) (*AccountLicensesResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) BeginMoveObject(context.Context, *BeginMoveObjectRequest) (*BeginMoveObjectResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) FinishMoveObject(context.Context, *FinishMoveObjectRequest) (*FinishMoveObjectResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) BeginCopyObject(context.Context, *BeginCopyObjectRequest) (*BeginCopyObjectResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

func (s *DRPCMetainfoUnimplementedServer) FinishCopyObject(context.Context, *FinishCopyObjectRequest) (*FinishCopyObjectResponse, error) {
	return nil, drpcerr.WithCode(errors.New("Unimplemented"), drpcerr.Unimplemented)
}

type DRPCMetainfoDescription struct{}

func (DRPCMetainfoDescription) NumMethods() int { return 47 }

func (DRPCMetainfoDescription) Method(n int) (string, drpc.Encoding, drpc.Receiver, interface{}, bool) {
	switch n {
	case 0:
		return "/metainfo.Metainfo/CreateBucket", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					CreateBucket(
						ctx,
						in1.(*CreateBucketRequest),
					)
			}, DRPCMetainfoServer.CreateBucket, true
	case 1:
		return "/metainfo.Metainfo/GetBucket", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					GetBucket(
						ctx,
						in1.(*GetBucketRequest),
					)
			}, DRPCMetainfoServer.GetBucket, true
	case 2:
		return "/metainfo.Metainfo/GetBucketLocation", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					GetBucketLocation(
						ctx,
						in1.(*GetBucketLocationRequest),
					)
			}, DRPCMetainfoServer.GetBucketLocation, true
	case 3:
		return "/metainfo.Metainfo/GetBucketTagging", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					GetBucketTagging(
						ctx,
						in1.(*GetBucketTaggingRequest),
					)
			}, DRPCMetainfoServer.GetBucketTagging, true
	case 4:
		return "/metainfo.Metainfo/SetBucketTagging", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					SetBucketTagging(
						ctx,
						in1.(*SetBucketTaggingRequest),
					)
			}, DRPCMetainfoServer.SetBucketTagging, true
	case 5:
		return "/metainfo.Metainfo/GetBucketVersioning", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					GetBucketVersioning(
						ctx,
						in1.(*GetBucketVersioningRequest),
					)
			}, DRPCMetainfoServer.GetBucketVersioning, true
	case 6:
		return "/metainfo.Metainfo/SetBucketVersioning", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					SetBucketVersioning(
						ctx,
						in1.(*SetBucketVersioningRequest),
					)
			}, DRPCMetainfoServer.SetBucketVersioning, true
	case 7:
		return "/metainfo.Metainfo/GetBucketObjectLockConfiguration", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					GetBucketObjectLockConfiguration(
						ctx,
						in1.(*GetBucketObjectLockConfigurationRequest),
					)
			}, DRPCMetainfoServer.GetBucketObjectLockConfiguration, true
	case 8:
		return "/metainfo.Metainfo/SetBucketObjectLockConfiguration", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					SetBucketObjectLockConfiguration(
						ctx,
						in1.(*SetBucketObjectLockConfigurationRequest),
					)
			}, DRPCMetainfoServer.SetBucketObjectLockConfiguration, true
	case 9:
		return "/metainfo.Metainfo/GetBucketNotificationConfiguration", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					GetBucketNotificationConfiguration(
						ctx,
						in1.(*GetBucketNotificationConfigurationRequest),
					)
			}, DRPCMetainfoServer.GetBucketNotificationConfiguration, true
	case 10:
		return "/metainfo.Metainfo/SetBucketNotificationConfiguration", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					SetBucketNotificationConfiguration(
						ctx,
						in1.(*SetBucketNotificationConfigurationRequest),
					)
			}, DRPCMetainfoServer.SetBucketNotificationConfiguration, true
	case 11:
		return "/metainfo.Metainfo/DeleteBucket", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					DeleteBucket(
						ctx,
						in1.(*DeleteBucketRequest),
					)
			}, DRPCMetainfoServer.DeleteBucket, true
	case 12:
		return "/metainfo.Metainfo/ListBuckets", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					ListBuckets(
						ctx,
						in1.(*ListBucketsRequest),
					)
			}, DRPCMetainfoServer.ListBuckets, true
	case 13:
		return "/metainfo.Metainfo/BeginObject", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					BeginObject(
						ctx,
						in1.(*BeginObjectRequest),
					)
			}, DRPCMetainfoServer.BeginObject, true
	case 14:
		return "/metainfo.Metainfo/CommitObject", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					CommitObject(
						ctx,
						in1.(*CommitObjectRequest),
					)
			}, DRPCMetainfoServer.CommitObject, true
	case 15:
		return "/metainfo.Metainfo/GetObject", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					GetObject(
						ctx,
						in1.(*GetObjectRequest),
					)
			}, DRPCMetainfoServer.GetObject, true
	case 16:
		return "/metainfo.Metainfo/ListObjects", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					ListObjects(
						ctx,
						in1.(*ListObjectsRequest),
					)
			}, DRPCMetainfoServer.ListObjects, true
	case 17:
		return "/metainfo.Metainfo/BeginDeleteObject", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					BeginDeleteObject(
						ctx,
						in1.(*BeginDeleteObjectRequest),
					)
			}, DRPCMetainfoServer.BeginDeleteObject, true
	case 18:
		return "/metainfo.Metainfo/FinishDeleteObject", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					FinishDeleteObject(
						ctx,
						in1.(*FinishDeleteObjectRequest),
					)
			}, DRPCMetainfoServer.FinishDeleteObject, true
	case 19:
		return "/metainfo.Metainfo/DeleteObjects", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					DeleteObjects(
						ctx,
						in1.(*DeleteObjectsRequest),
					)
			}, DRPCMetainfoServer.DeleteObjects, true
	case 20:
		return "/metainfo.Metainfo/GetObjectIPs", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					GetObjectIPs(
						ctx,
						in1.(*GetObjectIPsRequest),
					)
			}, DRPCMetainfoServer.GetObjectIPs, true
	case 21:
		return "/metainfo.Metainfo/ListPendingObjectStreams", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					ListPendingObjectStreams(
						ctx,
						in1.(*ListPendingObjectStreamsRequest),
					)
			}, DRPCMetainfoServer.ListPendingObjectStreams, true
	case 22:
		return "/metainfo.Metainfo/DownloadObject", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					DownloadObject(
						ctx,
						in1.(*DownloadObjectRequest),
					)
			}, DRPCMetainfoServer.DownloadObject, true
	case 23:
		return "/metainfo.Metainfo/GetPendingObjectMetadata", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					GetPendingObjectMetadata(
						ctx,
						in1.(*GetPendingObjectMetadataRequest),
					)
			}, DRPCMetainfoServer.GetPendingObjectMetadata, true
	case 24:
		return "/metainfo.Metainfo/UpdateObjectMetadata", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					UpdateObjectMetadata(
						ctx,
						in1.(*UpdateObjectMetadataRequest),
					)
			}, DRPCMetainfoServer.UpdateObjectMetadata, true
	case 25:
		return "/metainfo.Metainfo/GetObjectRetention", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					GetObjectRetention(
						ctx,
						in1.(*GetObjectRetentionRequest),
					)
			}, DRPCMetainfoServer.GetObjectRetention, true
	case 26:
		return "/metainfo.Metainfo/SetObjectRetention", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					SetObjectRetention(
						ctx,
						in1.(*SetObjectRetentionRequest),
					)
			}, DRPCMetainfoServer.SetObjectRetention, true
	case 27:
		return "/metainfo.Metainfo/GetObjectLegalHold", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					GetObjectLegalHold(
						ctx,
						in1.(*GetObjectLegalHoldRequest),
					)
			}, DRPCMetainfoServer.GetObjectLegalHold, true
	case 28:
		return "/metainfo.Metainfo/SetObjectLegalHold", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					SetObjectLegalHold(
						ctx,
						in1.(*SetObjectLegalHoldRequest),
					)
			}, DRPCMetainfoServer.SetObjectLegalHold, true
	case 29:
		return "/metainfo.Metainfo/BeginSegment", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					BeginSegment(
						ctx,
						in1.(*BeginSegmentRequest),
					)
			}, DRPCMetainfoServer.BeginSegment, true
	case 30:
		return "/metainfo.Metainfo/RetryBeginSegmentPieces", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					RetryBeginSegmentPieces(
						ctx,
						in1.(*RetryBeginSegmentPiecesRequest),
					)
			}, DRPCMetainfoServer.RetryBeginSegmentPieces, true
	case 31:
		return "/metainfo.Metainfo/CommitSegment", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					CommitSegment(
						ctx,
						in1.(*CommitSegmentRequest),
					)
			}, DRPCMetainfoServer.CommitSegment, true
	case 32:
		return "/metainfo.Metainfo/MakeInlineSegment", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					MakeInlineSegment(
						ctx,
						in1.(*MakeInlineSegmentRequest),
					)
			}, DRPCMetainfoServer.MakeInlineSegment, true
	case 33:
		return "/metainfo.Metainfo/BeginDeleteSegment", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					BeginDeleteSegment(
						ctx,
						in1.(*BeginDeleteSegmentRequest),
					)
			}, DRPCMetainfoServer.BeginDeleteSegment, true
	case 34:
		return "/metainfo.Metainfo/FinishDeleteSegment", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					FinishDeleteSegment(
						ctx,
						in1.(*FinishDeleteSegmentRequest),
					)
			}, DRPCMetainfoServer.FinishDeleteSegment, true
	case 35:
		return "/metainfo.Metainfo/ListSegments", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					ListSegments(
						ctx,
						in1.(*ListSegmentsRequest),
					)
			}, DRPCMetainfoServer.ListSegments, true
	case 36:
		return "/metainfo.Metainfo/DownloadSegment", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					DownloadSegment(
						ctx,
						in1.(*DownloadSegmentRequest),
					)
			}, DRPCMetainfoServer.DownloadSegment, true
	case 37:
		return "/metainfo.Metainfo/DeletePart", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					DeletePart(
						ctx,
						in1.(*DeletePartRequest),
					)
			}, DRPCMetainfoServer.DeletePart, true
	case 38:
		return "/metainfo.Metainfo/Batch", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					Batch(
						ctx,
						in1.(*BatchRequest),
					)
			}, DRPCMetainfoServer.Batch, true
	case 39:
		return "/metainfo.Metainfo/CompressedBatch", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					CompressedBatch(
						ctx,
						in1.(*CompressedBatchRequest),
					)
			}, DRPCMetainfoServer.CompressedBatch, true
	case 40:
		return "/metainfo.Metainfo/ProjectInfo", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					ProjectInfo(
						ctx,
						in1.(*ProjectInfoRequest),
					)
			}, DRPCMetainfoServer.ProjectInfo, true
	case 41:
		return "/metainfo.Metainfo/RevokeAPIKey", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					RevokeAPIKey(
						ctx,
						in1.(*RevokeAPIKeyRequest),
					)
			}, DRPCMetainfoServer.RevokeAPIKey, true
	case 42:
		return "/metainfo.Metainfo/AccountLicenses", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					AccountLicenses(
						ctx,
						in1.(*AccountLicensesRequest),
					)
			}, DRPCMetainfoServer.AccountLicenses, true
	case 43:
		return "/metainfo.Metainfo/BeginMoveObject", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					BeginMoveObject(
						ctx,
						in1.(*BeginMoveObjectRequest),
					)
			}, DRPCMetainfoServer.BeginMoveObject, true
	case 44:
		return "/metainfo.Metainfo/FinishMoveObject", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					FinishMoveObject(
						ctx,
						in1.(*FinishMoveObjectRequest),
					)
			}, DRPCMetainfoServer.FinishMoveObject, true
	case 45:
		return "/metainfo.Metainfo/BeginCopyObject", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					BeginCopyObject(
						ctx,
						in1.(*BeginCopyObjectRequest),
					)
			}, DRPCMetainfoServer.BeginCopyObject, true
	case 46:
		return "/metainfo.Metainfo/FinishCopyObject", drpcEncoding_File_metainfo_proto{},
			func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
				return srv.(DRPCMetainfoServer).
					FinishCopyObject(
						ctx,
						in1.(*FinishCopyObjectRequest),
					)
			}, DRPCMetainfoServer.FinishCopyObject, true
	default:
		return "", nil, nil, nil, false
	}
}

func DRPCRegisterMetainfo(mux drpc.Mux, impl DRPCMetainfoServer) error {
	return mux.Register(impl, DRPCMetainfoDescription{})
}

type DRPCMetainfo_CreateBucketStream interface {
	drpc.Stream
	SendAndClose(*CreateBucketResponse) error
}

type drpcMetainfo_CreateBucketStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_CreateBucketStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_CreateBucketStream) SendAndClose(m *CreateBucketResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_GetBucketStream interface {
	drpc.Stream
	SendAndClose(*GetBucketResponse) error
}

type drpcMetainfo_GetBucketStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_GetBucketStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_GetBucketStream) SendAndClose(m *GetBucketResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_GetBucketLocationStream interface {
	drpc.Stream
	SendAndClose(*GetBucketLocationResponse) error
}

type drpcMetainfo_GetBucketLocationStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_GetBucketLocationStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_GetBucketLocationStream) SendAndClose(m *GetBucketLocationResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_GetBucketTaggingStream interface {
	drpc.Stream
	SendAndClose(*GetBucketTaggingResponse) error
}

type drpcMetainfo_GetBucketTaggingStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_GetBucketTaggingStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_GetBucketTaggingStream) SendAndClose(m *GetBucketTaggingResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_SetBucketTaggingStream interface {
	drpc.Stream
	SendAndClose(*SetBucketTaggingResponse) error
}

type drpcMetainfo_SetBucketTaggingStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_SetBucketTaggingStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_SetBucketTaggingStream) SendAndClose(m *SetBucketTaggingResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_GetBucketVersioningStream interface {
	drpc.Stream
	SendAndClose(*GetBucketVersioningResponse) error
}

type drpcMetainfo_GetBucketVersioningStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_GetBucketVersioningStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_GetBucketVersioningStream) SendAndClose(m *GetBucketVersioningResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_SetBucketVersioningStream interface {
	drpc.Stream
	SendAndClose(*SetBucketVersioningResponse) error
}

type drpcMetainfo_SetBucketVersioningStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_SetBucketVersioningStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_SetBucketVersioningStream) SendAndClose(m *SetBucketVersioningResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_GetBucketObjectLockConfigurationStream interface {
	drpc.Stream
	SendAndClose(*GetBucketObjectLockConfigurationResponse) error
}

type drpcMetainfo_GetBucketObjectLockConfigurationStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_GetBucketObjectLockConfigurationStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_GetBucketObjectLockConfigurationStream) SendAndClose(m *GetBucketObjectLockConfigurationResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_SetBucketObjectLockConfigurationStream interface {
	drpc.Stream
	SendAndClose(*SetBucketObjectLockConfigurationResponse) error
}

type drpcMetainfo_SetBucketObjectLockConfigurationStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_SetBucketObjectLockConfigurationStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_SetBucketObjectLockConfigurationStream) SendAndClose(m *SetBucketObjectLockConfigurationResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_GetBucketNotificationConfigurationStream interface {
	drpc.Stream
	SendAndClose(*GetBucketNotificationConfigurationResponse) error
}

type drpcMetainfo_GetBucketNotificationConfigurationStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_GetBucketNotificationConfigurationStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_GetBucketNotificationConfigurationStream) SendAndClose(m *GetBucketNotificationConfigurationResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_SetBucketNotificationConfigurationStream interface {
	drpc.Stream
	SendAndClose(*SetBucketNotificationConfigurationResponse) error
}

type drpcMetainfo_SetBucketNotificationConfigurationStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_SetBucketNotificationConfigurationStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_SetBucketNotificationConfigurationStream) SendAndClose(m *SetBucketNotificationConfigurationResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_DeleteBucketStream interface {
	drpc.Stream
	SendAndClose(*DeleteBucketResponse) error
}

type drpcMetainfo_DeleteBucketStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_DeleteBucketStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_DeleteBucketStream) SendAndClose(m *DeleteBucketResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_ListBucketsStream interface {
	drpc.Stream
	SendAndClose(*ListBucketsResponse) error
}

type drpcMetainfo_ListBucketsStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_ListBucketsStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_ListBucketsStream) SendAndClose(m *ListBucketsResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_BeginObjectStream interface {
	drpc.Stream
	SendAndClose(*BeginObjectResponse) error
}

type drpcMetainfo_BeginObjectStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_BeginObjectStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_BeginObjectStream) SendAndClose(m *BeginObjectResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_CommitObjectStream interface {
	drpc.Stream
	SendAndClose(*CommitObjectResponse) error
}

type drpcMetainfo_CommitObjectStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_CommitObjectStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_CommitObjectStream) SendAndClose(m *CommitObjectResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_GetObjectStream interface {
	drpc.Stream
	SendAndClose(*GetObjectResponse) error
}

type drpcMetainfo_GetObjectStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_GetObjectStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_GetObjectStream) SendAndClose(m *GetObjectResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_ListObjectsStream interface {
	drpc.Stream
	SendAndClose(*ListObjectsResponse) error
}

type drpcMetainfo_ListObjectsStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_ListObjectsStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_ListObjectsStream) SendAndClose(m *ListObjectsResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_BeginDeleteObjectStream interface {
	drpc.Stream
	SendAndClose(*BeginDeleteObjectResponse) error
}

type drpcMetainfo_BeginDeleteObjectStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_BeginDeleteObjectStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_BeginDeleteObjectStream) SendAndClose(m *BeginDeleteObjectResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_FinishDeleteObjectStream interface {
	drpc.Stream
	SendAndClose(*FinishDeleteObjectResponse) error
}

type drpcMetainfo_FinishDeleteObjectStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_FinishDeleteObjectStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_FinishDeleteObjectStream) SendAndClose(m *FinishDeleteObjectResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_DeleteObjectsStream interface {
	drpc.Stream
	SendAndClose(*DeleteObjectsResponse) error
}

type drpcMetainfo_DeleteObjectsStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_DeleteObjectsStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_DeleteObjectsStream) SendAndClose(m *DeleteObjectsResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_GetObjectIPsStream interface {
	drpc.Stream
	SendAndClose(*GetObjectIPsResponse) error
}

type drpcMetainfo_GetObjectIPsStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_GetObjectIPsStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_GetObjectIPsStream) SendAndClose(m *GetObjectIPsResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_ListPendingObjectStreamsStream interface {
	drpc.Stream
	SendAndClose(*ListPendingObjectStreamsResponse) error
}

type drpcMetainfo_ListPendingObjectStreamsStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_ListPendingObjectStreamsStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_ListPendingObjectStreamsStream) SendAndClose(m *ListPendingObjectStreamsResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_DownloadObjectStream interface {
	drpc.Stream
	SendAndClose(*DownloadObjectResponse) error
}

type drpcMetainfo_DownloadObjectStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_DownloadObjectStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_DownloadObjectStream) SendAndClose(m *DownloadObjectResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_GetPendingObjectMetadataStream interface {
	drpc.Stream
	SendAndClose(*GetPendingObjectMetadataResponse) error
}

type drpcMetainfo_GetPendingObjectMetadataStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_GetPendingObjectMetadataStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_GetPendingObjectMetadataStream) SendAndClose(m *GetPendingObjectMetadataResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_UpdateObjectMetadataStream interface {
	drpc.Stream
	SendAndClose(*UpdateObjectMetadataResponse) error
}

type drpcMetainfo_UpdateObjectMetadataStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_UpdateObjectMetadataStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_UpdateObjectMetadataStream) SendAndClose(m *UpdateObjectMetadataResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_GetObjectRetentionStream interface {
	drpc.Stream
	SendAndClose(*GetObjectRetentionResponse) error
}

type drpcMetainfo_GetObjectRetentionStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_GetObjectRetentionStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_GetObjectRetentionStream) SendAndClose(m *GetObjectRetentionResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_SetObjectRetentionStream interface {
	drpc.Stream
	SendAndClose(*SetObjectRetentionResponse) error
}

type drpcMetainfo_SetObjectRetentionStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_SetObjectRetentionStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_SetObjectRetentionStream) SendAndClose(m *SetObjectRetentionResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_GetObjectLegalHoldStream interface {
	drpc.Stream
	SendAndClose(*GetObjectLegalHoldResponse) error
}

type drpcMetainfo_GetObjectLegalHoldStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_GetObjectLegalHoldStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_GetObjectLegalHoldStream) SendAndClose(m *GetObjectLegalHoldResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_SetObjectLegalHoldStream interface {
	drpc.Stream
	SendAndClose(*SetObjectLegalHoldResponse) error
}

type drpcMetainfo_SetObjectLegalHoldStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_SetObjectLegalHoldStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_SetObjectLegalHoldStream) SendAndClose(m *SetObjectLegalHoldResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_BeginSegmentStream interface {
	drpc.Stream
	SendAndClose(*BeginSegmentResponse) error
}

type drpcMetainfo_BeginSegmentStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_BeginSegmentStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_BeginSegmentStream) SendAndClose(m *BeginSegmentResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_RetryBeginSegmentPiecesStream interface {
	drpc.Stream
	SendAndClose(*RetryBeginSegmentPiecesResponse) error
}

type drpcMetainfo_RetryBeginSegmentPiecesStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_RetryBeginSegmentPiecesStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_RetryBeginSegmentPiecesStream) SendAndClose(m *RetryBeginSegmentPiecesResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_CommitSegmentStream interface {
	drpc.Stream
	SendAndClose(*CommitSegmentResponse) error
}

type drpcMetainfo_CommitSegmentStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_CommitSegmentStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_CommitSegmentStream) SendAndClose(m *CommitSegmentResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_MakeInlineSegmentStream interface {
	drpc.Stream
	SendAndClose(*MakeInlineSegmentResponse) error
}

type drpcMetainfo_MakeInlineSegmentStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_MakeInlineSegmentStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_MakeInlineSegmentStream) SendAndClose(m *MakeInlineSegmentResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_BeginDeleteSegmentStream interface {
	drpc.Stream
	SendAndClose(*BeginDeleteSegmentResponse) error
}

type drpcMetainfo_BeginDeleteSegmentStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_BeginDeleteSegmentStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_BeginDeleteSegmentStream) SendAndClose(m *BeginDeleteSegmentResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_FinishDeleteSegmentStream interface {
	drpc.Stream
	SendAndClose(*FinishDeleteSegmentResponse) error
}

type drpcMetainfo_FinishDeleteSegmentStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_FinishDeleteSegmentStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_FinishDeleteSegmentStream) SendAndClose(m *FinishDeleteSegmentResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_ListSegmentsStream interface {
	drpc.Stream
	SendAndClose(*ListSegmentsResponse) error
}

type drpcMetainfo_ListSegmentsStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_ListSegmentsStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_ListSegmentsStream) SendAndClose(m *ListSegmentsResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_DownloadSegmentStream interface {
	drpc.Stream
	SendAndClose(*DownloadSegmentResponse) error
}

type drpcMetainfo_DownloadSegmentStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_DownloadSegmentStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_DownloadSegmentStream) SendAndClose(m *DownloadSegmentResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_DeletePartStream interface {
	drpc.Stream
	SendAndClose(*DeletePartResponse) error
}

type drpcMetainfo_DeletePartStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_DeletePartStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_DeletePartStream) SendAndClose(m *DeletePartResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_BatchStream interface {
	drpc.Stream
	SendAndClose(*BatchResponse) error
}

type drpcMetainfo_BatchStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_BatchStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_BatchStream) SendAndClose(m *BatchResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_CompressedBatchStream interface {
	drpc.Stream
	SendAndClose(*CompressedBatchResponse) error
}

type drpcMetainfo_CompressedBatchStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_CompressedBatchStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_CompressedBatchStream) SendAndClose(m *CompressedBatchResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_ProjectInfoStream interface {
	drpc.Stream
	SendAndClose(*ProjectInfoResponse) error
}

type drpcMetainfo_ProjectInfoStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_ProjectInfoStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_ProjectInfoStream) SendAndClose(m *ProjectInfoResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_RevokeAPIKeyStream interface {
	drpc.Stream
	SendAndClose(*RevokeAPIKeyResponse) error
}

type drpcMetainfo_RevokeAPIKeyStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_RevokeAPIKeyStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_RevokeAPIKeyStream) SendAndClose(m *RevokeAPIKeyResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_AccountLicensesStream interface {
	drpc.Stream
	SendAndClose(*AccountLicensesResponse) error
}

type drpcMetainfo_AccountLicensesStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_AccountLicensesStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_AccountLicensesStream) SendAndClose(m *AccountLicensesResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_BeginMoveObjectStream interface {
	drpc.Stream
	SendAndClose(*BeginMoveObjectResponse) error
}

type drpcMetainfo_BeginMoveObjectStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_BeginMoveObjectStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_BeginMoveObjectStream) SendAndClose(m *BeginMoveObjectResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_FinishMoveObjectStream interface {
	drpc.Stream
	SendAndClose(*FinishMoveObjectResponse) error
}

type drpcMetainfo_FinishMoveObjectStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_FinishMoveObjectStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_FinishMoveObjectStream) SendAndClose(m *FinishMoveObjectResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_BeginCopyObjectStream interface {
	drpc.Stream
	SendAndClose(*BeginCopyObjectResponse) error
}

type drpcMetainfo_BeginCopyObjectStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_BeginCopyObjectStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_BeginCopyObjectStream) SendAndClose(m *BeginCopyObjectResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}

type DRPCMetainfo_FinishCopyObjectStream interface {
	drpc.Stream
	SendAndClose(*FinishCopyObjectResponse) error
}

type drpcMetainfo_FinishCopyObjectStream struct {
	drpc.Stream
}

func (x *drpcMetainfo_FinishCopyObjectStream) GetStream() drpc.Stream {
	return x.Stream
}

func (x *drpcMetainfo_FinishCopyObjectStream) SendAndClose(m *FinishCopyObjectResponse) error {
	if err := x.MsgSend(m, drpcEncoding_File_metainfo_proto{}); err != nil {
		return err
	}
	return x.CloseSend()
}
