github.com/TrueCloudLab/frostfs-api-go/v2@v2.0.0-20230228134343-196241c4e79a/session/grpc/service.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.0 4 // protoc v3.21.9 5 // source: session/grpc/service.proto 6 7 package session 8 9 import ( 10 grpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 // Information necessary for opening a session. 25 type CreateRequest struct { 26 state protoimpl.MessageState 27 sizeCache protoimpl.SizeCache 28 unknownFields protoimpl.UnknownFields 29 30 // Body of a create session token request message. 31 Body *CreateRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` 32 // Carries request meta information. Header data is used only to regulate 33 // message transport and does not affect request execution. 34 MetaHeader *RequestMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader,proto3" json:"meta_header,omitempty"` 35 // Carries request verification information. This header is used to 36 // authenticate the nodes of the message route and check the correctness of 37 // transmission. 38 VerifyHeader *RequestVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader,proto3" json:"verify_header,omitempty"` 39 } 40 41 func (x *CreateRequest) Reset() { 42 *x = CreateRequest{} 43 if protoimpl.UnsafeEnabled { 44 mi := &file_session_grpc_service_proto_msgTypes[0] 45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 46 ms.StoreMessageInfo(mi) 47 } 48 } 49 50 func (x *CreateRequest) String() string { 51 return protoimpl.X.MessageStringOf(x) 52 } 53 54 func (*CreateRequest) ProtoMessage() {} 55 56 func (x *CreateRequest) ProtoReflect() protoreflect.Message { 57 mi := &file_session_grpc_service_proto_msgTypes[0] 58 if protoimpl.UnsafeEnabled && x != nil { 59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 60 if ms.LoadMessageInfo() == nil { 61 ms.StoreMessageInfo(mi) 62 } 63 return ms 64 } 65 return mi.MessageOf(x) 66 } 67 68 // Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead. 69 func (*CreateRequest) Descriptor() ([]byte, []int) { 70 return file_session_grpc_service_proto_rawDescGZIP(), []int{0} 71 } 72 73 func (x *CreateRequest) GetBody() *CreateRequest_Body { 74 if x != nil { 75 return x.Body 76 } 77 return nil 78 } 79 80 func (x *CreateRequest) GetMetaHeader() *RequestMetaHeader { 81 if x != nil { 82 return x.MetaHeader 83 } 84 return nil 85 } 86 87 func (x *CreateRequest) GetVerifyHeader() *RequestVerificationHeader { 88 if x != nil { 89 return x.VerifyHeader 90 } 91 return nil 92 } 93 94 // Information about the opened session. 95 type CreateResponse struct { 96 state protoimpl.MessageState 97 sizeCache protoimpl.SizeCache 98 unknownFields protoimpl.UnknownFields 99 100 // Body of create session token response message. 101 Body *CreateResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` 102 // Carries response meta information. Header data is used only to regulate 103 // message transport and does not affect request execution. 104 MetaHeader *ResponseMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader,proto3" json:"meta_header,omitempty"` 105 // Carries response verification information. This header is used to 106 // authenticate the nodes of the message route and check the correctness of 107 // transmission. 108 VerifyHeader *ResponseVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader,proto3" json:"verify_header,omitempty"` 109 } 110 111 func (x *CreateResponse) Reset() { 112 *x = CreateResponse{} 113 if protoimpl.UnsafeEnabled { 114 mi := &file_session_grpc_service_proto_msgTypes[1] 115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 116 ms.StoreMessageInfo(mi) 117 } 118 } 119 120 func (x *CreateResponse) String() string { 121 return protoimpl.X.MessageStringOf(x) 122 } 123 124 func (*CreateResponse) ProtoMessage() {} 125 126 func (x *CreateResponse) ProtoReflect() protoreflect.Message { 127 mi := &file_session_grpc_service_proto_msgTypes[1] 128 if protoimpl.UnsafeEnabled && x != nil { 129 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 130 if ms.LoadMessageInfo() == nil { 131 ms.StoreMessageInfo(mi) 132 } 133 return ms 134 } 135 return mi.MessageOf(x) 136 } 137 138 // Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead. 139 func (*CreateResponse) Descriptor() ([]byte, []int) { 140 return file_session_grpc_service_proto_rawDescGZIP(), []int{1} 141 } 142 143 func (x *CreateResponse) GetBody() *CreateResponse_Body { 144 if x != nil { 145 return x.Body 146 } 147 return nil 148 } 149 150 func (x *CreateResponse) GetMetaHeader() *ResponseMetaHeader { 151 if x != nil { 152 return x.MetaHeader 153 } 154 return nil 155 } 156 157 func (x *CreateResponse) GetVerifyHeader() *ResponseVerificationHeader { 158 if x != nil { 159 return x.VerifyHeader 160 } 161 return nil 162 } 163 164 // Session creation request body 165 type CreateRequest_Body struct { 166 state protoimpl.MessageState 167 sizeCache protoimpl.SizeCache 168 unknownFields protoimpl.UnknownFields 169 170 // Session initiating user's or node's key derived `OwnerID` 171 OwnerId *grpc.OwnerID `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` 172 // Session expiration `Epoch` 173 Expiration uint64 `protobuf:"varint,2,opt,name=expiration,proto3" json:"expiration,omitempty"` 174 } 175 176 func (x *CreateRequest_Body) Reset() { 177 *x = CreateRequest_Body{} 178 if protoimpl.UnsafeEnabled { 179 mi := &file_session_grpc_service_proto_msgTypes[2] 180 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 181 ms.StoreMessageInfo(mi) 182 } 183 } 184 185 func (x *CreateRequest_Body) String() string { 186 return protoimpl.X.MessageStringOf(x) 187 } 188 189 func (*CreateRequest_Body) ProtoMessage() {} 190 191 func (x *CreateRequest_Body) ProtoReflect() protoreflect.Message { 192 mi := &file_session_grpc_service_proto_msgTypes[2] 193 if protoimpl.UnsafeEnabled && x != nil { 194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 195 if ms.LoadMessageInfo() == nil { 196 ms.StoreMessageInfo(mi) 197 } 198 return ms 199 } 200 return mi.MessageOf(x) 201 } 202 203 // Deprecated: Use CreateRequest_Body.ProtoReflect.Descriptor instead. 204 func (*CreateRequest_Body) Descriptor() ([]byte, []int) { 205 return file_session_grpc_service_proto_rawDescGZIP(), []int{0, 0} 206 } 207 208 func (x *CreateRequest_Body) GetOwnerId() *grpc.OwnerID { 209 if x != nil { 210 return x.OwnerId 211 } 212 return nil 213 } 214 215 func (x *CreateRequest_Body) GetExpiration() uint64 { 216 if x != nil { 217 return x.Expiration 218 } 219 return 0 220 } 221 222 // Session creation response body 223 type CreateResponse_Body struct { 224 state protoimpl.MessageState 225 sizeCache protoimpl.SizeCache 226 unknownFields protoimpl.UnknownFields 227 228 // Identifier of a newly created session 229 Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 230 // Public key used for session 231 SessionKey []byte `protobuf:"bytes,2,opt,name=session_key,json=sessionKey,proto3" json:"session_key,omitempty"` 232 } 233 234 func (x *CreateResponse_Body) Reset() { 235 *x = CreateResponse_Body{} 236 if protoimpl.UnsafeEnabled { 237 mi := &file_session_grpc_service_proto_msgTypes[3] 238 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 239 ms.StoreMessageInfo(mi) 240 } 241 } 242 243 func (x *CreateResponse_Body) String() string { 244 return protoimpl.X.MessageStringOf(x) 245 } 246 247 func (*CreateResponse_Body) ProtoMessage() {} 248 249 func (x *CreateResponse_Body) ProtoReflect() protoreflect.Message { 250 mi := &file_session_grpc_service_proto_msgTypes[3] 251 if protoimpl.UnsafeEnabled && x != nil { 252 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 253 if ms.LoadMessageInfo() == nil { 254 ms.StoreMessageInfo(mi) 255 } 256 return ms 257 } 258 return mi.MessageOf(x) 259 } 260 261 // Deprecated: Use CreateResponse_Body.ProtoReflect.Descriptor instead. 262 func (*CreateResponse_Body) Descriptor() ([]byte, []int) { 263 return file_session_grpc_service_proto_rawDescGZIP(), []int{1, 0} 264 } 265 266 func (x *CreateResponse_Body) GetId() []byte { 267 if x != nil { 268 return x.Id 269 } 270 return nil 271 } 272 273 func (x *CreateResponse_Body) GetSessionKey() []byte { 274 if x != nil { 275 return x.SessionKey 276 } 277 return nil 278 } 279 280 var File_session_grpc_service_proto protoreflect.FileDescriptor 281 282 var file_session_grpc_service_proto_rawDesc = []byte{ 283 0x0a, 0x1a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x73, 284 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x6e, 0x65, 285 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 286 0x15, 0x72, 0x65, 0x66, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 287 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 288 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 289 0x22, 0xc0, 0x02, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 290 0x73, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 291 0x32, 0x25, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 292 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 293 0x73, 0x74, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x45, 0x0a, 294 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 295 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 296 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 297 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x61, 0x48, 0x65, 298 0x61, 0x64, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x0d, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x5f, 0x68, 299 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6e, 0x65, 300 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 301 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 302 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x76, 0x65, 0x72, 0x69, 0x66, 303 0x79, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 0x5a, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x12, 304 0x32, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 305 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 306 0x66, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 307 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 308 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 309 0x69, 0x6f, 0x6e, 0x22, 0xa1, 0x02, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 310 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 311 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 312 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 313 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 314 0x64, 0x79, 0x12, 0x46, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 315 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 316 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 317 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0a, 318 0x6d, 0x65, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x52, 0x0a, 0x0d, 0x76, 0x65, 319 0x72, 0x69, 0x66, 0x79, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 320 0x0b, 0x32, 0x2d, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 321 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x56, 0x65, 322 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 323 0x52, 0x0c, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 0x37, 324 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 325 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 326 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x65, 0x73, 327 0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x32, 0x5f, 0x0a, 0x0e, 0x53, 0x65, 0x73, 0x73, 0x69, 328 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x06, 0x43, 0x72, 0x65, 329 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 330 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 331 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 332 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 333 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x5e, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 334 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 335 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 336 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 337 0x70, 0x63, 0x3b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x1b, 0x4e, 0x65, 0x6f, 338 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 339 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 340 } 341 342 var ( 343 file_session_grpc_service_proto_rawDescOnce sync.Once 344 file_session_grpc_service_proto_rawDescData = file_session_grpc_service_proto_rawDesc 345 ) 346 347 func file_session_grpc_service_proto_rawDescGZIP() []byte { 348 file_session_grpc_service_proto_rawDescOnce.Do(func() { 349 file_session_grpc_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_session_grpc_service_proto_rawDescData) 350 }) 351 return file_session_grpc_service_proto_rawDescData 352 } 353 354 var file_session_grpc_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 355 var file_session_grpc_service_proto_goTypes = []interface{}{ 356 (*CreateRequest)(nil), // 0: neo.fs.v2.session.CreateRequest 357 (*CreateResponse)(nil), // 1: neo.fs.v2.session.CreateResponse 358 (*CreateRequest_Body)(nil), // 2: neo.fs.v2.session.CreateRequest.Body 359 (*CreateResponse_Body)(nil), // 3: neo.fs.v2.session.CreateResponse.Body 360 (*RequestMetaHeader)(nil), // 4: neo.fs.v2.session.RequestMetaHeader 361 (*RequestVerificationHeader)(nil), // 5: neo.fs.v2.session.RequestVerificationHeader 362 (*ResponseMetaHeader)(nil), // 6: neo.fs.v2.session.ResponseMetaHeader 363 (*ResponseVerificationHeader)(nil), // 7: neo.fs.v2.session.ResponseVerificationHeader 364 (*grpc.OwnerID)(nil), // 8: neo.fs.v2.refs.OwnerID 365 } 366 var file_session_grpc_service_proto_depIdxs = []int32{ 367 2, // 0: neo.fs.v2.session.CreateRequest.body:type_name -> neo.fs.v2.session.CreateRequest.Body 368 4, // 1: neo.fs.v2.session.CreateRequest.meta_header:type_name -> neo.fs.v2.session.RequestMetaHeader 369 5, // 2: neo.fs.v2.session.CreateRequest.verify_header:type_name -> neo.fs.v2.session.RequestVerificationHeader 370 3, // 3: neo.fs.v2.session.CreateResponse.body:type_name -> neo.fs.v2.session.CreateResponse.Body 371 6, // 4: neo.fs.v2.session.CreateResponse.meta_header:type_name -> neo.fs.v2.session.ResponseMetaHeader 372 7, // 5: neo.fs.v2.session.CreateResponse.verify_header:type_name -> neo.fs.v2.session.ResponseVerificationHeader 373 8, // 6: neo.fs.v2.session.CreateRequest.Body.owner_id:type_name -> neo.fs.v2.refs.OwnerID 374 0, // 7: neo.fs.v2.session.SessionService.Create:input_type -> neo.fs.v2.session.CreateRequest 375 1, // 8: neo.fs.v2.session.SessionService.Create:output_type -> neo.fs.v2.session.CreateResponse 376 8, // [8:9] is the sub-list for method output_type 377 7, // [7:8] is the sub-list for method input_type 378 7, // [7:7] is the sub-list for extension type_name 379 7, // [7:7] is the sub-list for extension extendee 380 0, // [0:7] is the sub-list for field type_name 381 } 382 383 func init() { file_session_grpc_service_proto_init() } 384 func file_session_grpc_service_proto_init() { 385 if File_session_grpc_service_proto != nil { 386 return 387 } 388 file_session_grpc_types_proto_init() 389 if !protoimpl.UnsafeEnabled { 390 file_session_grpc_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 391 switch v := v.(*CreateRequest); i { 392 case 0: 393 return &v.state 394 case 1: 395 return &v.sizeCache 396 case 2: 397 return &v.unknownFields 398 default: 399 return nil 400 } 401 } 402 file_session_grpc_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 403 switch v := v.(*CreateResponse); i { 404 case 0: 405 return &v.state 406 case 1: 407 return &v.sizeCache 408 case 2: 409 return &v.unknownFields 410 default: 411 return nil 412 } 413 } 414 file_session_grpc_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 415 switch v := v.(*CreateRequest_Body); i { 416 case 0: 417 return &v.state 418 case 1: 419 return &v.sizeCache 420 case 2: 421 return &v.unknownFields 422 default: 423 return nil 424 } 425 } 426 file_session_grpc_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 427 switch v := v.(*CreateResponse_Body); i { 428 case 0: 429 return &v.state 430 case 1: 431 return &v.sizeCache 432 case 2: 433 return &v.unknownFields 434 default: 435 return nil 436 } 437 } 438 } 439 type x struct{} 440 out := protoimpl.TypeBuilder{ 441 File: protoimpl.DescBuilder{ 442 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 443 RawDescriptor: file_session_grpc_service_proto_rawDesc, 444 NumEnums: 0, 445 NumMessages: 4, 446 NumExtensions: 0, 447 NumServices: 1, 448 }, 449 GoTypes: file_session_grpc_service_proto_goTypes, 450 DependencyIndexes: file_session_grpc_service_proto_depIdxs, 451 MessageInfos: file_session_grpc_service_proto_msgTypes, 452 }.Build() 453 File_session_grpc_service_proto = out.File 454 file_session_grpc_service_proto_rawDesc = nil 455 file_session_grpc_service_proto_goTypes = nil 456 file_session_grpc_service_proto_depIdxs = nil 457 }