iam_grpc.pb.go 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
  2. // versions:
  3. // - protoc-gen-go-grpc v1.5.1
  4. // - protoc v5.28.1
  5. // source: iam.proto
  6. package iam_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.64.0 or later.
  13. const _ = grpc.SupportPackageIsVersion9
  14. // SeaweedIdentityAccessManagementClient is the client API for SeaweedIdentityAccessManagement 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 SeaweedIdentityAccessManagementClient interface {
  18. }
  19. type seaweedIdentityAccessManagementClient struct {
  20. cc grpc.ClientConnInterface
  21. }
  22. func NewSeaweedIdentityAccessManagementClient(cc grpc.ClientConnInterface) SeaweedIdentityAccessManagementClient {
  23. return &seaweedIdentityAccessManagementClient{cc}
  24. }
  25. // SeaweedIdentityAccessManagementServer is the server API for SeaweedIdentityAccessManagement service.
  26. // All implementations must embed UnimplementedSeaweedIdentityAccessManagementServer
  27. // for forward compatibility.
  28. type SeaweedIdentityAccessManagementServer interface {
  29. mustEmbedUnimplementedSeaweedIdentityAccessManagementServer()
  30. }
  31. // UnimplementedSeaweedIdentityAccessManagementServer must be embedded to have
  32. // forward compatible implementations.
  33. //
  34. // NOTE: this should be embedded by value instead of pointer to avoid a nil
  35. // pointer dereference when methods are called.
  36. type UnimplementedSeaweedIdentityAccessManagementServer struct{}
  37. func (UnimplementedSeaweedIdentityAccessManagementServer) mustEmbedUnimplementedSeaweedIdentityAccessManagementServer() {
  38. }
  39. func (UnimplementedSeaweedIdentityAccessManagementServer) testEmbeddedByValue() {}
  40. // UnsafeSeaweedIdentityAccessManagementServer may be embedded to opt out of forward compatibility for this service.
  41. // Use of this interface is not recommended, as added methods to SeaweedIdentityAccessManagementServer will
  42. // result in compilation errors.
  43. type UnsafeSeaweedIdentityAccessManagementServer interface {
  44. mustEmbedUnimplementedSeaweedIdentityAccessManagementServer()
  45. }
  46. func RegisterSeaweedIdentityAccessManagementServer(s grpc.ServiceRegistrar, srv SeaweedIdentityAccessManagementServer) {
  47. // If the following call pancis, it indicates UnimplementedSeaweedIdentityAccessManagementServer was
  48. // embedded by pointer and is nil. This will cause panics if an
  49. // unimplemented method is ever invoked, so we test this at initialization
  50. // time to prevent it from happening at runtime later due to I/O.
  51. if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
  52. t.testEmbeddedByValue()
  53. }
  54. s.RegisterService(&SeaweedIdentityAccessManagement_ServiceDesc, srv)
  55. }
  56. // SeaweedIdentityAccessManagement_ServiceDesc is the grpc.ServiceDesc for SeaweedIdentityAccessManagement service.
  57. // It's only intended for direct use with grpc.RegisterService,
  58. // and not to be introspected or modified (even as a copy)
  59. var SeaweedIdentityAccessManagement_ServiceDesc = grpc.ServiceDesc{
  60. ServiceName: "iam_pb.SeaweedIdentityAccessManagement",
  61. HandlerType: (*SeaweedIdentityAccessManagementServer)(nil),
  62. Methods: []grpc.MethodDesc{},
  63. Streams: []grpc.StreamDesc{},
  64. Metadata: "iam.proto",
  65. }