// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.6.1
// - protoc             (unknown)
// source: admin/v1/admin.proto

package v1

import (
	context "context"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
)

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.64.0 or later.
const _ = grpc.SupportPackageIsVersion9

const (
	AdminService_FirewallInit_FullMethodName            = "/clawker.admin.v1.AdminService/FirewallInit"
	AdminService_FirewallRemove_FullMethodName          = "/clawker.admin.v1.AdminService/FirewallRemove"
	AdminService_FirewallEnable_FullMethodName          = "/clawker.admin.v1.AdminService/FirewallEnable"
	AdminService_FirewallDisable_FullMethodName         = "/clawker.admin.v1.AdminService/FirewallDisable"
	AdminService_FirewallBypass_FullMethodName          = "/clawker.admin.v1.AdminService/FirewallBypass"
	AdminService_FirewallAddRules_FullMethodName        = "/clawker.admin.v1.AdminService/FirewallAddRules"
	AdminService_FirewallRemoveRule_FullMethodName      = "/clawker.admin.v1.AdminService/FirewallRemoveRule"
	AdminService_FirewallListRules_FullMethodName       = "/clawker.admin.v1.AdminService/FirewallListRules"
	AdminService_FirewallReload_FullMethodName          = "/clawker.admin.v1.AdminService/FirewallReload"
	AdminService_FirewallStatus_FullMethodName          = "/clawker.admin.v1.AdminService/FirewallStatus"
	AdminService_FirewallRotateCA_FullMethodName        = "/clawker.admin.v1.AdminService/FirewallRotateCA"
	AdminService_FirewallSyncRoutes_FullMethodName      = "/clawker.admin.v1.AdminService/FirewallSyncRoutes"
	AdminService_FirewallResolveHostname_FullMethodName = "/clawker.admin.v1.AdminService/FirewallResolveHostname"
	AdminService_ListAgents_FullMethodName              = "/clawker.admin.v1.AdminService/ListAgents"
)

// AdminServiceClient is the client API for AdminService 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.
//
// AdminService is the gRPC surface the clawker CLI calls on the control
// plane. The CP owns privileged kernel state (BPF programs + pinned maps)
// and the firewall stack (Envoy + CoreDNS) and handles per-container
// firewall lifecycle.
//
// Transport: mTLS over TCP (AdminPort, default 7443, configurable via
// Settings). The CLI presents a client certificate signed by the CLI CA.
// Authorization: OAuth2 access tokens with the uniform "admin" scope,
// validated via Hydra token introspection (RFC 7662).
//
// Method naming follows the `<Domain><Action>[<Object>]` convention.
// Firewall is the only domain today; future domains (Monitor, Hostproxy,
// Clawkerd, ...) layer additional handlers onto the same AdminService so
// the CLI sees one unified surface per CP. Every method is registered for
// "admin" scope enforcement (INV-B2-009).
//
// Response messages are named `Firewall*Result` rather than
// `Firewall*Response` to match Go's `(Result, error)` convention — the
// handler returns typed Result structs from queued closures and maps
// those into the wire messages below.
type AdminServiceClient interface {
	// FirewallInit brings the firewall stack (Envoy + CoreDNS) up. BPF
	// programs are loaded once at CP startup; this RPC is the idempotent
	// stack-up signal from the CLI. Global — no container_id.
	FirewallInit(ctx context.Context, in *FirewallInitRequest, opts ...grpc.CallOption) (*FirewallInitResult, error)
	// FirewallRemove is global teardown — stops Envoy + CoreDNS, detaches
	// all BPF programs, and flushes all eBPF state plus pending timers.
	FirewallRemove(ctx context.Context, in *FirewallRemoveRequest, opts ...grpc.CallOption) (*FirewallRemoveResult, error)
	// FirewallEnable enrolls a container into the global container_map
	// routing. Idempotent. The CP resolves the container's cgroup path
	// internally via Docker API with drift guard (INV-B2-016) — callers
	// send only container_id.
	FirewallEnable(ctx context.Context, in *FirewallEnableRequest, opts ...grpc.CallOption) (*FirewallEnableResult, error)
	// FirewallDisable removes a container from container_map. BPF links
	// remain attached so re-enable is cheap. BPF fast path exits to bypass
	// on lookup miss.
	FirewallDisable(ctx context.Context, in *FirewallDisableRequest, opts ...grpc.CallOption) (*FirewallDisableResult, error)
	// FirewallBypass = timed Disable + CP-side dead-man timer that calls
	// Enable on expiry. Drift guard inherited from the Enable path.
	FirewallBypass(ctx context.Context, in *FirewallBypassRequest, opts ...grpc.CallOption) (*FirewallBypassResult, error)
	// FirewallAddRules adds egress rules to the store and hot-reloads the
	// stack. Synchronous: returns after the stack is healthy again.
	FirewallAddRules(ctx context.Context, in *FirewallAddRulesRequest, opts ...grpc.CallOption) (*FirewallAddRulesResult, error)
	// FirewallRemoveRule removes a single egress rule by (dst, proto, port)
	// and hot-reloads the stack. Returns NOT_FOUND (sentinel
	// RULE_NOT_FOUND) when no rule matches the key — typos and malformed
	// hostnames both land here, since anything that can't match an
	// existing rule key is a miss.
	FirewallRemoveRule(ctx context.Context, in *FirewallRemoveRuleRequest, opts ...grpc.CallOption) (*FirewallRemoveRuleResult, error)
	// FirewallListRules returns the current normalized/deduplicated rule
	// set from the store. Read-only.
	FirewallListRules(ctx context.Context, in *FirewallListRulesRequest, opts ...grpc.CallOption) (*FirewallListRulesResult, error)
	// FirewallReload regenerates configs and restarts Envoy + CoreDNS from
	// the current rules store state without mutating rules.
	FirewallReload(ctx context.Context, in *FirewallReloadRequest, opts ...grpc.CallOption) (*FirewallReloadResult, error)
	// FirewallStatus is the firewall-domain health snapshot (stack running,
	// Envoy/CoreDNS health, rule count, network topology).
	FirewallStatus(ctx context.Context, in *FirewallStatusRequest, opts ...grpc.CallOption) (*FirewallStatusResult, error)
	// FirewallRotateCA regenerates the MITM CA + per-domain certs. Restarts
	// Envoy so the new chain is picked up.
	FirewallRotateCA(ctx context.Context, in *FirewallRotateCARequest, opts ...grpc.CallOption) (*FirewallRotateCAResult, error)
	// FirewallSyncRoutes atomically replaces the global route_map.
	FirewallSyncRoutes(ctx context.Context, in *FirewallSyncRoutesRequest, opts ...grpc.CallOption) (*FirewallSyncRoutesResult, error)
	// FirewallResolveHostname performs a DNS lookup from inside the CP's
	// network namespace — used to resolve host.docker.internal during
	// per-container enroll.
	FirewallResolveHostname(ctx context.Context, in *FirewallResolveHostnameRequest, opts ...grpc.CallOption) (*FirewallResolveHostnameResult, error)
	// ListAgents returns a snapshot of every agent currently registered
	// with the control plane. Used by `clawker controlplane agents` and
	// diagnostic tooling. Read-only; uniform admin scope.
	ListAgents(ctx context.Context, in *ListAgentsRequest, opts ...grpc.CallOption) (*ListAgentsResult, error)
}

type adminServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewAdminServiceClient(cc grpc.ClientConnInterface) AdminServiceClient {
	return &adminServiceClient{cc}
}

func (c *adminServiceClient) FirewallInit(ctx context.Context, in *FirewallInitRequest, opts ...grpc.CallOption) (*FirewallInitResult, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(FirewallInitResult)
	err := c.cc.Invoke(ctx, AdminService_FirewallInit_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *adminServiceClient) FirewallRemove(ctx context.Context, in *FirewallRemoveRequest, opts ...grpc.CallOption) (*FirewallRemoveResult, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(FirewallRemoveResult)
	err := c.cc.Invoke(ctx, AdminService_FirewallRemove_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *adminServiceClient) FirewallEnable(ctx context.Context, in *FirewallEnableRequest, opts ...grpc.CallOption) (*FirewallEnableResult, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(FirewallEnableResult)
	err := c.cc.Invoke(ctx, AdminService_FirewallEnable_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *adminServiceClient) FirewallDisable(ctx context.Context, in *FirewallDisableRequest, opts ...grpc.CallOption) (*FirewallDisableResult, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(FirewallDisableResult)
	err := c.cc.Invoke(ctx, AdminService_FirewallDisable_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *adminServiceClient) FirewallBypass(ctx context.Context, in *FirewallBypassRequest, opts ...grpc.CallOption) (*FirewallBypassResult, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(FirewallBypassResult)
	err := c.cc.Invoke(ctx, AdminService_FirewallBypass_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *adminServiceClient) FirewallAddRules(ctx context.Context, in *FirewallAddRulesRequest, opts ...grpc.CallOption) (*FirewallAddRulesResult, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(FirewallAddRulesResult)
	err := c.cc.Invoke(ctx, AdminService_FirewallAddRules_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *adminServiceClient) FirewallRemoveRule(ctx context.Context, in *FirewallRemoveRuleRequest, opts ...grpc.CallOption) (*FirewallRemoveRuleResult, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(FirewallRemoveRuleResult)
	err := c.cc.Invoke(ctx, AdminService_FirewallRemoveRule_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *adminServiceClient) FirewallListRules(ctx context.Context, in *FirewallListRulesRequest, opts ...grpc.CallOption) (*FirewallListRulesResult, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(FirewallListRulesResult)
	err := c.cc.Invoke(ctx, AdminService_FirewallListRules_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *adminServiceClient) FirewallReload(ctx context.Context, in *FirewallReloadRequest, opts ...grpc.CallOption) (*FirewallReloadResult, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(FirewallReloadResult)
	err := c.cc.Invoke(ctx, AdminService_FirewallReload_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *adminServiceClient) FirewallStatus(ctx context.Context, in *FirewallStatusRequest, opts ...grpc.CallOption) (*FirewallStatusResult, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(FirewallStatusResult)
	err := c.cc.Invoke(ctx, AdminService_FirewallStatus_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *adminServiceClient) FirewallRotateCA(ctx context.Context, in *FirewallRotateCARequest, opts ...grpc.CallOption) (*FirewallRotateCAResult, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(FirewallRotateCAResult)
	err := c.cc.Invoke(ctx, AdminService_FirewallRotateCA_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *adminServiceClient) FirewallSyncRoutes(ctx context.Context, in *FirewallSyncRoutesRequest, opts ...grpc.CallOption) (*FirewallSyncRoutesResult, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(FirewallSyncRoutesResult)
	err := c.cc.Invoke(ctx, AdminService_FirewallSyncRoutes_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *adminServiceClient) FirewallResolveHostname(ctx context.Context, in *FirewallResolveHostnameRequest, opts ...grpc.CallOption) (*FirewallResolveHostnameResult, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(FirewallResolveHostnameResult)
	err := c.cc.Invoke(ctx, AdminService_FirewallResolveHostname_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *adminServiceClient) ListAgents(ctx context.Context, in *ListAgentsRequest, opts ...grpc.CallOption) (*ListAgentsResult, error) {
	cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
	out := new(ListAgentsResult)
	err := c.cc.Invoke(ctx, AdminService_ListAgents_FullMethodName, in, out, cOpts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// AdminServiceServer is the server API for AdminService service.
// All implementations must embed UnimplementedAdminServiceServer
// for forward compatibility.
//
// AdminService is the gRPC surface the clawker CLI calls on the control
// plane. The CP owns privileged kernel state (BPF programs + pinned maps)
// and the firewall stack (Envoy + CoreDNS) and handles per-container
// firewall lifecycle.
//
// Transport: mTLS over TCP (AdminPort, default 7443, configurable via
// Settings). The CLI presents a client certificate signed by the CLI CA.
// Authorization: OAuth2 access tokens with the uniform "admin" scope,
// validated via Hydra token introspection (RFC 7662).
//
// Method naming follows the `<Domain><Action>[<Object>]` convention.
// Firewall is the only domain today; future domains (Monitor, Hostproxy,
// Clawkerd, ...) layer additional handlers onto the same AdminService so
// the CLI sees one unified surface per CP. Every method is registered for
// "admin" scope enforcement (INV-B2-009).
//
// Response messages are named `Firewall*Result` rather than
// `Firewall*Response` to match Go's `(Result, error)` convention — the
// handler returns typed Result structs from queued closures and maps
// those into the wire messages below.
type AdminServiceServer interface {
	// FirewallInit brings the firewall stack (Envoy + CoreDNS) up. BPF
	// programs are loaded once at CP startup; this RPC is the idempotent
	// stack-up signal from the CLI. Global — no container_id.
	FirewallInit(context.Context, *FirewallInitRequest) (*FirewallInitResult, error)
	// FirewallRemove is global teardown — stops Envoy + CoreDNS, detaches
	// all BPF programs, and flushes all eBPF state plus pending timers.
	FirewallRemove(context.Context, *FirewallRemoveRequest) (*FirewallRemoveResult, error)
	// FirewallEnable enrolls a container into the global container_map
	// routing. Idempotent. The CP resolves the container's cgroup path
	// internally via Docker API with drift guard (INV-B2-016) — callers
	// send only container_id.
	FirewallEnable(context.Context, *FirewallEnableRequest) (*FirewallEnableResult, error)
	// FirewallDisable removes a container from container_map. BPF links
	// remain attached so re-enable is cheap. BPF fast path exits to bypass
	// on lookup miss.
	FirewallDisable(context.Context, *FirewallDisableRequest) (*FirewallDisableResult, error)
	// FirewallBypass = timed Disable + CP-side dead-man timer that calls
	// Enable on expiry. Drift guard inherited from the Enable path.
	FirewallBypass(context.Context, *FirewallBypassRequest) (*FirewallBypassResult, error)
	// FirewallAddRules adds egress rules to the store and hot-reloads the
	// stack. Synchronous: returns after the stack is healthy again.
	FirewallAddRules(context.Context, *FirewallAddRulesRequest) (*FirewallAddRulesResult, error)
	// FirewallRemoveRule removes a single egress rule by (dst, proto, port)
	// and hot-reloads the stack. Returns NOT_FOUND (sentinel
	// RULE_NOT_FOUND) when no rule matches the key — typos and malformed
	// hostnames both land here, since anything that can't match an
	// existing rule key is a miss.
	FirewallRemoveRule(context.Context, *FirewallRemoveRuleRequest) (*FirewallRemoveRuleResult, error)
	// FirewallListRules returns the current normalized/deduplicated rule
	// set from the store. Read-only.
	FirewallListRules(context.Context, *FirewallListRulesRequest) (*FirewallListRulesResult, error)
	// FirewallReload regenerates configs and restarts Envoy + CoreDNS from
	// the current rules store state without mutating rules.
	FirewallReload(context.Context, *FirewallReloadRequest) (*FirewallReloadResult, error)
	// FirewallStatus is the firewall-domain health snapshot (stack running,
	// Envoy/CoreDNS health, rule count, network topology).
	FirewallStatus(context.Context, *FirewallStatusRequest) (*FirewallStatusResult, error)
	// FirewallRotateCA regenerates the MITM CA + per-domain certs. Restarts
	// Envoy so the new chain is picked up.
	FirewallRotateCA(context.Context, *FirewallRotateCARequest) (*FirewallRotateCAResult, error)
	// FirewallSyncRoutes atomically replaces the global route_map.
	FirewallSyncRoutes(context.Context, *FirewallSyncRoutesRequest) (*FirewallSyncRoutesResult, error)
	// FirewallResolveHostname performs a DNS lookup from inside the CP's
	// network namespace — used to resolve host.docker.internal during
	// per-container enroll.
	FirewallResolveHostname(context.Context, *FirewallResolveHostnameRequest) (*FirewallResolveHostnameResult, error)
	// ListAgents returns a snapshot of every agent currently registered
	// with the control plane. Used by `clawker controlplane agents` and
	// diagnostic tooling. Read-only; uniform admin scope.
	ListAgents(context.Context, *ListAgentsRequest) (*ListAgentsResult, error)
	mustEmbedUnimplementedAdminServiceServer()
}

// UnimplementedAdminServiceServer 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 UnimplementedAdminServiceServer struct{}

func (UnimplementedAdminServiceServer) FirewallInit(context.Context, *FirewallInitRequest) (*FirewallInitResult, error) {
	return nil, status.Error(codes.Unimplemented, "method FirewallInit not implemented")
}
func (UnimplementedAdminServiceServer) FirewallRemove(context.Context, *FirewallRemoveRequest) (*FirewallRemoveResult, error) {
	return nil, status.Error(codes.Unimplemented, "method FirewallRemove not implemented")
}
func (UnimplementedAdminServiceServer) FirewallEnable(context.Context, *FirewallEnableRequest) (*FirewallEnableResult, error) {
	return nil, status.Error(codes.Unimplemented, "method FirewallEnable not implemented")
}
func (UnimplementedAdminServiceServer) FirewallDisable(context.Context, *FirewallDisableRequest) (*FirewallDisableResult, error) {
	return nil, status.Error(codes.Unimplemented, "method FirewallDisable not implemented")
}
func (UnimplementedAdminServiceServer) FirewallBypass(context.Context, *FirewallBypassRequest) (*FirewallBypassResult, error) {
	return nil, status.Error(codes.Unimplemented, "method FirewallBypass not implemented")
}
func (UnimplementedAdminServiceServer) FirewallAddRules(context.Context, *FirewallAddRulesRequest) (*FirewallAddRulesResult, error) {
	return nil, status.Error(codes.Unimplemented, "method FirewallAddRules not implemented")
}
func (UnimplementedAdminServiceServer) FirewallRemoveRule(context.Context, *FirewallRemoveRuleRequest) (*FirewallRemoveRuleResult, error) {
	return nil, status.Error(codes.Unimplemented, "method FirewallRemoveRule not implemented")
}
func (UnimplementedAdminServiceServer) FirewallListRules(context.Context, *FirewallListRulesRequest) (*FirewallListRulesResult, error) {
	return nil, status.Error(codes.Unimplemented, "method FirewallListRules not implemented")
}
func (UnimplementedAdminServiceServer) FirewallReload(context.Context, *FirewallReloadRequest) (*FirewallReloadResult, error) {
	return nil, status.Error(codes.Unimplemented, "method FirewallReload not implemented")
}
func (UnimplementedAdminServiceServer) FirewallStatus(context.Context, *FirewallStatusRequest) (*FirewallStatusResult, error) {
	return nil, status.Error(codes.Unimplemented, "method FirewallStatus not implemented")
}
func (UnimplementedAdminServiceServer) FirewallRotateCA(context.Context, *FirewallRotateCARequest) (*FirewallRotateCAResult, error) {
	return nil, status.Error(codes.Unimplemented, "method FirewallRotateCA not implemented")
}
func (UnimplementedAdminServiceServer) FirewallSyncRoutes(context.Context, *FirewallSyncRoutesRequest) (*FirewallSyncRoutesResult, error) {
	return nil, status.Error(codes.Unimplemented, "method FirewallSyncRoutes not implemented")
}
func (UnimplementedAdminServiceServer) FirewallResolveHostname(context.Context, *FirewallResolveHostnameRequest) (*FirewallResolveHostnameResult, error) {
	return nil, status.Error(codes.Unimplemented, "method FirewallResolveHostname not implemented")
}
func (UnimplementedAdminServiceServer) ListAgents(context.Context, *ListAgentsRequest) (*ListAgentsResult, error) {
	return nil, status.Error(codes.Unimplemented, "method ListAgents not implemented")
}
func (UnimplementedAdminServiceServer) mustEmbedUnimplementedAdminServiceServer() {}
func (UnimplementedAdminServiceServer) testEmbeddedByValue()                      {}

// UnsafeAdminServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to AdminServiceServer will
// result in compilation errors.
type UnsafeAdminServiceServer interface {
	mustEmbedUnimplementedAdminServiceServer()
}

func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer) {
	// If the following call panics, it indicates UnimplementedAdminServiceServer 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()
	}
	s.RegisterService(&AdminService_ServiceDesc, srv)
}

func _AdminService_FirewallInit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(FirewallInitRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AdminServiceServer).FirewallInit(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: AdminService_FirewallInit_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AdminServiceServer).FirewallInit(ctx, req.(*FirewallInitRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _AdminService_FirewallRemove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(FirewallRemoveRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AdminServiceServer).FirewallRemove(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: AdminService_FirewallRemove_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AdminServiceServer).FirewallRemove(ctx, req.(*FirewallRemoveRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _AdminService_FirewallEnable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(FirewallEnableRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AdminServiceServer).FirewallEnable(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: AdminService_FirewallEnable_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AdminServiceServer).FirewallEnable(ctx, req.(*FirewallEnableRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _AdminService_FirewallDisable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(FirewallDisableRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AdminServiceServer).FirewallDisable(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: AdminService_FirewallDisable_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AdminServiceServer).FirewallDisable(ctx, req.(*FirewallDisableRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _AdminService_FirewallBypass_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(FirewallBypassRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AdminServiceServer).FirewallBypass(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: AdminService_FirewallBypass_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AdminServiceServer).FirewallBypass(ctx, req.(*FirewallBypassRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _AdminService_FirewallAddRules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(FirewallAddRulesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AdminServiceServer).FirewallAddRules(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: AdminService_FirewallAddRules_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AdminServiceServer).FirewallAddRules(ctx, req.(*FirewallAddRulesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _AdminService_FirewallRemoveRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(FirewallRemoveRuleRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AdminServiceServer).FirewallRemoveRule(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: AdminService_FirewallRemoveRule_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AdminServiceServer).FirewallRemoveRule(ctx, req.(*FirewallRemoveRuleRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _AdminService_FirewallListRules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(FirewallListRulesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AdminServiceServer).FirewallListRules(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: AdminService_FirewallListRules_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AdminServiceServer).FirewallListRules(ctx, req.(*FirewallListRulesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _AdminService_FirewallReload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(FirewallReloadRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AdminServiceServer).FirewallReload(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: AdminService_FirewallReload_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AdminServiceServer).FirewallReload(ctx, req.(*FirewallReloadRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _AdminService_FirewallStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(FirewallStatusRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AdminServiceServer).FirewallStatus(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: AdminService_FirewallStatus_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AdminServiceServer).FirewallStatus(ctx, req.(*FirewallStatusRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _AdminService_FirewallRotateCA_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(FirewallRotateCARequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AdminServiceServer).FirewallRotateCA(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: AdminService_FirewallRotateCA_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AdminServiceServer).FirewallRotateCA(ctx, req.(*FirewallRotateCARequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _AdminService_FirewallSyncRoutes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(FirewallSyncRoutesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AdminServiceServer).FirewallSyncRoutes(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: AdminService_FirewallSyncRoutes_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AdminServiceServer).FirewallSyncRoutes(ctx, req.(*FirewallSyncRoutesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _AdminService_FirewallResolveHostname_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(FirewallResolveHostnameRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AdminServiceServer).FirewallResolveHostname(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: AdminService_FirewallResolveHostname_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AdminServiceServer).FirewallResolveHostname(ctx, req.(*FirewallResolveHostnameRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _AdminService_ListAgents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListAgentsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(AdminServiceServer).ListAgents(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: AdminService_ListAgents_FullMethodName,
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(AdminServiceServer).ListAgents(ctx, req.(*ListAgentsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

// AdminService_ServiceDesc is the grpc.ServiceDesc for AdminService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var AdminService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "clawker.admin.v1.AdminService",
	HandlerType: (*AdminServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FirewallInit",
			Handler:    _AdminService_FirewallInit_Handler,
		},
		{
			MethodName: "FirewallRemove",
			Handler:    _AdminService_FirewallRemove_Handler,
		},
		{
			MethodName: "FirewallEnable",
			Handler:    _AdminService_FirewallEnable_Handler,
		},
		{
			MethodName: "FirewallDisable",
			Handler:    _AdminService_FirewallDisable_Handler,
		},
		{
			MethodName: "FirewallBypass",
			Handler:    _AdminService_FirewallBypass_Handler,
		},
		{
			MethodName: "FirewallAddRules",
			Handler:    _AdminService_FirewallAddRules_Handler,
		},
		{
			MethodName: "FirewallRemoveRule",
			Handler:    _AdminService_FirewallRemoveRule_Handler,
		},
		{
			MethodName: "FirewallListRules",
			Handler:    _AdminService_FirewallListRules_Handler,
		},
		{
			MethodName: "FirewallReload",
			Handler:    _AdminService_FirewallReload_Handler,
		},
		{
			MethodName: "FirewallStatus",
			Handler:    _AdminService_FirewallStatus_Handler,
		},
		{
			MethodName: "FirewallRotateCA",
			Handler:    _AdminService_FirewallRotateCA_Handler,
		},
		{
			MethodName: "FirewallSyncRoutes",
			Handler:    _AdminService_FirewallSyncRoutes_Handler,
		},
		{
			MethodName: "FirewallResolveHostname",
			Handler:    _AdminService_FirewallResolveHostname_Handler,
		},
		{
			MethodName: "ListAgents",
			Handler:    _AdminService_ListAgents_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "admin/v1/admin.proto",
}
