organization_grpc.pb.go 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
  2. // versions:
  3. // - protoc-gen-go-grpc v1.2.0
  4. // - protoc v4.23.4
  5. // source: organization.proto
  6. package pb
  7. import (
  8. grpc "google.golang.org/grpc"
  9. )
  10. // This is a compile-time assertion to ensure that this generated file
  11. // is compatible with the grpc package it is being compiled against.
  12. // Requires gRPC-Go v1.32.0 or later.
  13. const _ = grpc.SupportPackageIsVersion7
  14. // OrganizationClient is the client API for Organization service.
  15. //
  16. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
  17. type OrganizationClient interface {
  18. }
  19. type organizationClient struct {
  20. cc grpc.ClientConnInterface
  21. }
  22. func NewOrganizationClient(cc grpc.ClientConnInterface) OrganizationClient {
  23. return &organizationClient{cc}
  24. }
  25. // OrganizationServer is the server API for Organization service.
  26. // All implementations must embed UnimplementedOrganizationServer
  27. // for forward compatibility
  28. type OrganizationServer interface {
  29. mustEmbedUnimplementedOrganizationServer()
  30. }
  31. // UnimplementedOrganizationServer must be embedded to have forward compatible implementations.
  32. type UnimplementedOrganizationServer struct {
  33. }
  34. func (UnimplementedOrganizationServer) mustEmbedUnimplementedOrganizationServer() {}
  35. // UnsafeOrganizationServer may be embedded to opt out of forward compatibility for this service.
  36. // Use of this interface is not recommended, as added methods to OrganizationServer will
  37. // result in compilation errors.
  38. type UnsafeOrganizationServer interface {
  39. mustEmbedUnimplementedOrganizationServer()
  40. }
  41. func RegisterOrganizationServer(s grpc.ServiceRegistrar, srv OrganizationServer) {
  42. s.RegisterService(&Organization_ServiceDesc, srv)
  43. }
  44. // Organization_ServiceDesc is the grpc.ServiceDesc for Organization service.
  45. // It's only intended for direct use with grpc.RegisterService,
  46. // and not to be introspected or modified (even as a copy)
  47. var Organization_ServiceDesc = grpc.ServiceDesc{
  48. ServiceName: "pb.Organization",
  49. HandlerType: (*OrganizationServer)(nil),
  50. Methods: []grpc.MethodDesc{},
  51. Streams: []grpc.StreamDesc{},
  52. Metadata: "organization.proto",
  53. }