2021-12-05 16:42:25 +08:00
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
2023-02-06 13:24:21 +08:00
// versions:
2024-10-25 12:35:11 +08:00
// - protoc-gen-go-grpc v1.5.1
// - protoc v5.28.1
2023-02-06 13:24:21 +08:00
// source: iam.proto
2021-12-05 16:42:25 +08:00
package iam_pb
import (
grpc "google.golang.org/grpc"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
2024-10-25 12:35:11 +08:00
// Requires gRPC-Go v1.64.0 or later.
const _ = grpc . SupportPackageIsVersion9
2023-10-13 12:38:34 +08:00
2021-12-05 16:42:25 +08:00
// SeaweedIdentityAccessManagementClient is the client API for SeaweedIdentityAccessManagement service.
//
// 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.
type SeaweedIdentityAccessManagementClient interface {
}
type seaweedIdentityAccessManagementClient struct {
cc grpc . ClientConnInterface
}
func NewSeaweedIdentityAccessManagementClient ( cc grpc . ClientConnInterface ) SeaweedIdentityAccessManagementClient {
return & seaweedIdentityAccessManagementClient { cc }
}
// SeaweedIdentityAccessManagementServer is the server API for SeaweedIdentityAccessManagement service.
// All implementations must embed UnimplementedSeaweedIdentityAccessManagementServer
2024-10-25 12:35:11 +08:00
// for forward compatibility.
2021-12-05 16:42:25 +08:00
type SeaweedIdentityAccessManagementServer interface {
mustEmbedUnimplementedSeaweedIdentityAccessManagementServer ( )
}
2024-10-25 12:35:11 +08:00
// UnimplementedSeaweedIdentityAccessManagementServer must be embedded to have
// forward compatible implementations.
//
// NOTE: this should be embedded by value instead of pointer to avoid a nil
// pointer dereference when methods are called.
type UnimplementedSeaweedIdentityAccessManagementServer struct { }
2021-12-05 16:42:25 +08:00
func ( UnimplementedSeaweedIdentityAccessManagementServer ) mustEmbedUnimplementedSeaweedIdentityAccessManagementServer ( ) {
}
2024-10-25 12:35:11 +08:00
func ( UnimplementedSeaweedIdentityAccessManagementServer ) testEmbeddedByValue ( ) { }
2021-12-05 16:42:25 +08:00
// UnsafeSeaweedIdentityAccessManagementServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to SeaweedIdentityAccessManagementServer will
// result in compilation errors.
type UnsafeSeaweedIdentityAccessManagementServer interface {
mustEmbedUnimplementedSeaweedIdentityAccessManagementServer ( )
}
func RegisterSeaweedIdentityAccessManagementServer ( s grpc . ServiceRegistrar , srv SeaweedIdentityAccessManagementServer ) {
2024-10-25 12:35:11 +08:00
// If the following call pancis, it indicates UnimplementedSeaweedIdentityAccessManagementServer was
// embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O.
if t , ok := srv . ( interface { testEmbeddedByValue ( ) } ) ; ok {
t . testEmbeddedByValue ( )
}
2021-12-05 16:42:25 +08:00
s . RegisterService ( & SeaweedIdentityAccessManagement_ServiceDesc , srv )
}
// SeaweedIdentityAccessManagement_ServiceDesc is the grpc.ServiceDesc for SeaweedIdentityAccessManagement service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var SeaweedIdentityAccessManagement_ServiceDesc = grpc . ServiceDesc {
ServiceName : "iam_pb.SeaweedIdentityAccessManagement" ,
HandlerType : ( * SeaweedIdentityAccessManagementServer ) ( nil ) ,
Methods : [ ] grpc . MethodDesc { } ,
Streams : [ ] grpc . StreamDesc { } ,
Metadata : "iam.proto" ,
}