It has caused a noticeable degradation in node. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
606 lines
20 KiB
Go
Generated
606 lines
20 KiB
Go
Generated
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.1
|
|
// protoc v5.29.2
|
|
// source: api/session/grpc/service.proto
|
|
|
|
//go:build !protoopaque
|
|
|
|
package session
|
|
|
|
import (
|
|
grpc "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/api/refs/grpc"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// Information necessary for opening a session.
|
|
type CreateRequest struct {
|
|
state protoimpl.MessageState `protogen:"hybrid.v1"`
|
|
// Body of a create session token request message.
|
|
Body *CreateRequest_Body `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"`
|
|
// Carries request meta information. Header data is used only to regulate
|
|
// message transport and does not affect request execution.
|
|
MetaHeader *RequestMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader" json:"meta_header,omitempty"`
|
|
// Carries request verification information. This header is used to
|
|
// authenticate the nodes of the message route and check the correctness of
|
|
// transmission.
|
|
VerifyHeader *RequestVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader" json:"verify_header,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateRequest) Reset() {
|
|
*x = CreateRequest{}
|
|
mi := &file_api_session_grpc_service_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_session_grpc_service_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
func (x *CreateRequest) GetBody() *CreateRequest_Body {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateRequest) GetMetaHeader() *RequestMetaHeader {
|
|
if x != nil {
|
|
return x.MetaHeader
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateRequest) GetVerifyHeader() *RequestVerificationHeader {
|
|
if x != nil {
|
|
return x.VerifyHeader
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateRequest) SetBody(v *CreateRequest_Body) {
|
|
x.Body = v
|
|
}
|
|
|
|
func (x *CreateRequest) SetMetaHeader(v *RequestMetaHeader) {
|
|
x.MetaHeader = v
|
|
}
|
|
|
|
func (x *CreateRequest) SetVerifyHeader(v *RequestVerificationHeader) {
|
|
x.VerifyHeader = v
|
|
}
|
|
|
|
func (x *CreateRequest) HasBody() bool {
|
|
if x == nil {
|
|
return false
|
|
}
|
|
return x.Body != nil
|
|
}
|
|
|
|
func (x *CreateRequest) HasMetaHeader() bool {
|
|
if x == nil {
|
|
return false
|
|
}
|
|
return x.MetaHeader != nil
|
|
}
|
|
|
|
func (x *CreateRequest) HasVerifyHeader() bool {
|
|
if x == nil {
|
|
return false
|
|
}
|
|
return x.VerifyHeader != nil
|
|
}
|
|
|
|
func (x *CreateRequest) ClearBody() {
|
|
x.Body = nil
|
|
}
|
|
|
|
func (x *CreateRequest) ClearMetaHeader() {
|
|
x.MetaHeader = nil
|
|
}
|
|
|
|
func (x *CreateRequest) ClearVerifyHeader() {
|
|
x.VerifyHeader = nil
|
|
}
|
|
|
|
type CreateRequest_builder struct {
|
|
_ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
|
|
|
|
// Body of a create session token request message.
|
|
Body *CreateRequest_Body
|
|
// Carries request meta information. Header data is used only to regulate
|
|
// message transport and does not affect request execution.
|
|
MetaHeader *RequestMetaHeader
|
|
// Carries request verification information. This header is used to
|
|
// authenticate the nodes of the message route and check the correctness of
|
|
// transmission.
|
|
VerifyHeader *RequestVerificationHeader
|
|
}
|
|
|
|
func (b0 CreateRequest_builder) Build() *CreateRequest {
|
|
m0 := &CreateRequest{}
|
|
b, x := &b0, m0
|
|
_, _ = b, x
|
|
x.Body = b.Body
|
|
x.MetaHeader = b.MetaHeader
|
|
x.VerifyHeader = b.VerifyHeader
|
|
return m0
|
|
}
|
|
|
|
// Information about the opened session.
|
|
type CreateResponse struct {
|
|
state protoimpl.MessageState `protogen:"hybrid.v1"`
|
|
// Body of create session token response message.
|
|
Body *CreateResponse_Body `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"`
|
|
// Carries response meta information. Header data is used only to regulate
|
|
// message transport and does not affect request execution.
|
|
MetaHeader *ResponseMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader" json:"meta_header,omitempty"`
|
|
// Carries response verification information. This header is used to
|
|
// authenticate the nodes of the message route and check the correctness of
|
|
// transmission.
|
|
VerifyHeader *ResponseVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader" json:"verify_header,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateResponse) Reset() {
|
|
*x = CreateResponse{}
|
|
mi := &file_api_session_grpc_service_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_session_grpc_service_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
func (x *CreateResponse) GetBody() *CreateResponse_Body {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateResponse) GetMetaHeader() *ResponseMetaHeader {
|
|
if x != nil {
|
|
return x.MetaHeader
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateResponse) GetVerifyHeader() *ResponseVerificationHeader {
|
|
if x != nil {
|
|
return x.VerifyHeader
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateResponse) SetBody(v *CreateResponse_Body) {
|
|
x.Body = v
|
|
}
|
|
|
|
func (x *CreateResponse) SetMetaHeader(v *ResponseMetaHeader) {
|
|
x.MetaHeader = v
|
|
}
|
|
|
|
func (x *CreateResponse) SetVerifyHeader(v *ResponseVerificationHeader) {
|
|
x.VerifyHeader = v
|
|
}
|
|
|
|
func (x *CreateResponse) HasBody() bool {
|
|
if x == nil {
|
|
return false
|
|
}
|
|
return x.Body != nil
|
|
}
|
|
|
|
func (x *CreateResponse) HasMetaHeader() bool {
|
|
if x == nil {
|
|
return false
|
|
}
|
|
return x.MetaHeader != nil
|
|
}
|
|
|
|
func (x *CreateResponse) HasVerifyHeader() bool {
|
|
if x == nil {
|
|
return false
|
|
}
|
|
return x.VerifyHeader != nil
|
|
}
|
|
|
|
func (x *CreateResponse) ClearBody() {
|
|
x.Body = nil
|
|
}
|
|
|
|
func (x *CreateResponse) ClearMetaHeader() {
|
|
x.MetaHeader = nil
|
|
}
|
|
|
|
func (x *CreateResponse) ClearVerifyHeader() {
|
|
x.VerifyHeader = nil
|
|
}
|
|
|
|
type CreateResponse_builder struct {
|
|
_ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
|
|
|
|
// Body of create session token response message.
|
|
Body *CreateResponse_Body
|
|
// Carries response meta information. Header data is used only to regulate
|
|
// message transport and does not affect request execution.
|
|
MetaHeader *ResponseMetaHeader
|
|
// Carries response verification information. This header is used to
|
|
// authenticate the nodes of the message route and check the correctness of
|
|
// transmission.
|
|
VerifyHeader *ResponseVerificationHeader
|
|
}
|
|
|
|
func (b0 CreateResponse_builder) Build() *CreateResponse {
|
|
m0 := &CreateResponse{}
|
|
b, x := &b0, m0
|
|
_, _ = b, x
|
|
x.Body = b.Body
|
|
x.MetaHeader = b.MetaHeader
|
|
x.VerifyHeader = b.VerifyHeader
|
|
return m0
|
|
}
|
|
|
|
// Session creation request body
|
|
type CreateRequest_Body struct {
|
|
state protoimpl.MessageState `protogen:"hybrid.v1"`
|
|
// Session initiating user's or node's key derived `OwnerID`
|
|
OwnerId *grpc.OwnerID `protobuf:"bytes,1,opt,name=owner_id,json=ownerId" json:"owner_id,omitempty"`
|
|
// Session expiration `Epoch`
|
|
Expiration *uint64 `protobuf:"varint,2,opt,name=expiration" json:"expiration,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateRequest_Body) Reset() {
|
|
*x = CreateRequest_Body{}
|
|
mi := &file_api_session_grpc_service_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateRequest_Body) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateRequest_Body) ProtoMessage() {}
|
|
|
|
func (x *CreateRequest_Body) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_session_grpc_service_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
func (x *CreateRequest_Body) GetOwnerId() *grpc.OwnerID {
|
|
if x != nil {
|
|
return x.OwnerId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateRequest_Body) GetExpiration() uint64 {
|
|
if x != nil && x.Expiration != nil {
|
|
return *x.Expiration
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateRequest_Body) SetOwnerId(v *grpc.OwnerID) {
|
|
x.OwnerId = v
|
|
}
|
|
|
|
func (x *CreateRequest_Body) SetExpiration(v uint64) {
|
|
x.Expiration = &v
|
|
}
|
|
|
|
func (x *CreateRequest_Body) HasOwnerId() bool {
|
|
if x == nil {
|
|
return false
|
|
}
|
|
return x.OwnerId != nil
|
|
}
|
|
|
|
func (x *CreateRequest_Body) HasExpiration() bool {
|
|
if x == nil {
|
|
return false
|
|
}
|
|
return x.Expiration != nil
|
|
}
|
|
|
|
func (x *CreateRequest_Body) ClearOwnerId() {
|
|
x.OwnerId = nil
|
|
}
|
|
|
|
func (x *CreateRequest_Body) ClearExpiration() {
|
|
x.Expiration = nil
|
|
}
|
|
|
|
type CreateRequest_Body_builder struct {
|
|
_ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
|
|
|
|
// Session initiating user's or node's key derived `OwnerID`
|
|
OwnerId *grpc.OwnerID
|
|
// Session expiration `Epoch`
|
|
Expiration *uint64
|
|
}
|
|
|
|
func (b0 CreateRequest_Body_builder) Build() *CreateRequest_Body {
|
|
m0 := &CreateRequest_Body{}
|
|
b, x := &b0, m0
|
|
_, _ = b, x
|
|
x.OwnerId = b.OwnerId
|
|
x.Expiration = b.Expiration
|
|
return m0
|
|
}
|
|
|
|
// Session creation response body
|
|
type CreateResponse_Body struct {
|
|
state protoimpl.MessageState `protogen:"hybrid.v1"`
|
|
// Identifier of a newly created session
|
|
Id []byte `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
|
// Public key used for session
|
|
SessionKey []byte `protobuf:"bytes,2,opt,name=session_key,json=sessionKey" json:"session_key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateResponse_Body) Reset() {
|
|
*x = CreateResponse_Body{}
|
|
mi := &file_api_session_grpc_service_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateResponse_Body) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateResponse_Body) ProtoMessage() {}
|
|
|
|
func (x *CreateResponse_Body) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_session_grpc_service_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
func (x *CreateResponse_Body) GetId() []byte {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateResponse_Body) GetSessionKey() []byte {
|
|
if x != nil {
|
|
return x.SessionKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateResponse_Body) SetId(v []byte) {
|
|
if v == nil {
|
|
v = []byte{}
|
|
}
|
|
x.Id = v
|
|
}
|
|
|
|
func (x *CreateResponse_Body) SetSessionKey(v []byte) {
|
|
if v == nil {
|
|
v = []byte{}
|
|
}
|
|
x.SessionKey = v
|
|
}
|
|
|
|
func (x *CreateResponse_Body) HasId() bool {
|
|
if x == nil {
|
|
return false
|
|
}
|
|
return x.Id != nil
|
|
}
|
|
|
|
func (x *CreateResponse_Body) HasSessionKey() bool {
|
|
if x == nil {
|
|
return false
|
|
}
|
|
return x.SessionKey != nil
|
|
}
|
|
|
|
func (x *CreateResponse_Body) ClearId() {
|
|
x.Id = nil
|
|
}
|
|
|
|
func (x *CreateResponse_Body) ClearSessionKey() {
|
|
x.SessionKey = nil
|
|
}
|
|
|
|
type CreateResponse_Body_builder struct {
|
|
_ [0]func() // Prevents comparability and use of unkeyed literals for the builder.
|
|
|
|
// Identifier of a newly created session
|
|
Id []byte
|
|
// Public key used for session
|
|
SessionKey []byte
|
|
}
|
|
|
|
func (b0 CreateResponse_Body_builder) Build() *CreateResponse_Body {
|
|
m0 := &CreateResponse_Body{}
|
|
b, x := &b0, m0
|
|
_, _ = b, x
|
|
x.Id = b.Id
|
|
x.SessionKey = b.SessionKey
|
|
return m0
|
|
}
|
|
|
|
var File_api_session_grpc_service_proto protoreflect.FileDescriptor
|
|
|
|
var file_api_session_grpc_service_proto_rawDesc = []byte{
|
|
0x0a, 0x1e, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72,
|
|
0x70, 0x63, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x12, 0x11, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73,
|
|
0x69, 0x6f, 0x6e, 0x1a, 0x19, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x66, 0x73, 0x2f, 0x67, 0x72,
|
|
0x70, 0x63, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c,
|
|
0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63,
|
|
0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc0, 0x02, 0x0a,
|
|
0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39,
|
|
0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e,
|
|
0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
|
|
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x42,
|
|
0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x45, 0x0a, 0x0b, 0x6d, 0x65, 0x74,
|
|
0x61, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24,
|
|
0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69,
|
|
0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x48, 0x65,
|
|
0x61, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
|
|
0x12, 0x51, 0x0a, 0x0d, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65,
|
|
0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73,
|
|
0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48,
|
|
0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x48, 0x65, 0x61,
|
|
0x64, 0x65, 0x72, 0x1a, 0x5a, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x32, 0x0a, 0x08, 0x6f,
|
|
0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
|
0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x4f,
|
|
0x77, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12,
|
|
0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x04, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
|
|
0xa1, 0x02, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x3a, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x26, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x46,
|
|
0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e,
|
|
0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x4d, 0x65, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x61,
|
|
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x52, 0x0a, 0x0d, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79,
|
|
0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e,
|
|
0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f,
|
|
0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69,
|
|
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x76, 0x65,
|
|
0x72, 0x69, 0x66, 0x79, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 0x37, 0x0a, 0x04, 0x42, 0x6f,
|
|
0x64, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02,
|
|
0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65,
|
|
0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
|
|
0x4b, 0x65, 0x79, 0x32, 0x5f, 0x0a, 0x0e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65,
|
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12,
|
|
0x20, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73,
|
|
0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x21, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65,
|
|
0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x42, 0x65, 0x5a, 0x45, 0x67, 0x69, 0x74, 0x2e, 0x66, 0x72, 0x6f, 0x73,
|
|
0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f,
|
|
0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x73, 0x64,
|
|
0x6b, 0x2d, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
|
|
0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x1b,
|
|
0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e,
|
|
0x41, 0x50, 0x49, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x08, 0x65, 0x64, 0x69,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x70, 0xe8, 0x07,
|
|
}
|
|
|
|
var file_api_session_grpc_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
var file_api_session_grpc_service_proto_goTypes = []any{
|
|
(*CreateRequest)(nil), // 0: neo.fs.v2.session.CreateRequest
|
|
(*CreateResponse)(nil), // 1: neo.fs.v2.session.CreateResponse
|
|
(*CreateRequest_Body)(nil), // 2: neo.fs.v2.session.CreateRequest.Body
|
|
(*CreateResponse_Body)(nil), // 3: neo.fs.v2.session.CreateResponse.Body
|
|
(*RequestMetaHeader)(nil), // 4: neo.fs.v2.session.RequestMetaHeader
|
|
(*RequestVerificationHeader)(nil), // 5: neo.fs.v2.session.RequestVerificationHeader
|
|
(*ResponseMetaHeader)(nil), // 6: neo.fs.v2.session.ResponseMetaHeader
|
|
(*ResponseVerificationHeader)(nil), // 7: neo.fs.v2.session.ResponseVerificationHeader
|
|
(*grpc.OwnerID)(nil), // 8: neo.fs.v2.refs.OwnerID
|
|
}
|
|
var file_api_session_grpc_service_proto_depIdxs = []int32{
|
|
2, // 0: neo.fs.v2.session.CreateRequest.body:type_name -> neo.fs.v2.session.CreateRequest.Body
|
|
4, // 1: neo.fs.v2.session.CreateRequest.meta_header:type_name -> neo.fs.v2.session.RequestMetaHeader
|
|
5, // 2: neo.fs.v2.session.CreateRequest.verify_header:type_name -> neo.fs.v2.session.RequestVerificationHeader
|
|
3, // 3: neo.fs.v2.session.CreateResponse.body:type_name -> neo.fs.v2.session.CreateResponse.Body
|
|
6, // 4: neo.fs.v2.session.CreateResponse.meta_header:type_name -> neo.fs.v2.session.ResponseMetaHeader
|
|
7, // 5: neo.fs.v2.session.CreateResponse.verify_header:type_name -> neo.fs.v2.session.ResponseVerificationHeader
|
|
8, // 6: neo.fs.v2.session.CreateRequest.Body.owner_id:type_name -> neo.fs.v2.refs.OwnerID
|
|
0, // 7: neo.fs.v2.session.SessionService.Create:input_type -> neo.fs.v2.session.CreateRequest
|
|
1, // 8: neo.fs.v2.session.SessionService.Create:output_type -> neo.fs.v2.session.CreateResponse
|
|
8, // [8:9] is the sub-list for method output_type
|
|
7, // [7:8] is the sub-list for method input_type
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
0, // [0:7] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_api_session_grpc_service_proto_init() }
|
|
func file_api_session_grpc_service_proto_init() {
|
|
if File_api_session_grpc_service_proto != nil {
|
|
return
|
|
}
|
|
file_api_session_grpc_types_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_api_session_grpc_service_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 4,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_api_session_grpc_service_proto_goTypes,
|
|
DependencyIndexes: file_api_session_grpc_service_proto_depIdxs,
|
|
MessageInfos: file_api_session_grpc_service_proto_msgTypes,
|
|
}.Build()
|
|
File_api_session_grpc_service_proto = out.File
|
|
file_api_session_grpc_service_proto_rawDesc = nil
|
|
file_api_session_grpc_service_proto_goTypes = nil
|
|
file_api_session_grpc_service_proto_depIdxs = nil
|
|
}
|