advancedprotection

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2026 License: CC0-1.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdvancedProtectionManagerService_IsAdvancedProtectionEnabled_FullMethodName          = "/advancedprotection.AdvancedProtectionManagerService/IsAdvancedProtectionEnabled"
	AdvancedProtectionManagerService_RegisterAdvancedProtectionCallback_FullMethodName   = "/advancedprotection.AdvancedProtectionManagerService/RegisterAdvancedProtectionCallback"
	AdvancedProtectionManagerService_UnregisterAdvancedProtectionCallback_FullMethodName = "/advancedprotection.AdvancedProtectionManagerService/UnregisterAdvancedProtectionCallback"
)
View Source
const (
	AdvancedProtectionManagerCallbackService_OnAdvancedProtectionChanged_FullMethodName = "/advancedprotection.AdvancedProtectionManagerCallbackService/OnAdvancedProtectionChanged"
)

Variables

View Source
var AdvancedProtectionManagerCallbackService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "advancedprotection.AdvancedProtectionManagerCallbackService",
	HandlerType: (*AdvancedProtectionManagerCallbackServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "OnAdvancedProtectionChanged",
			Handler:    _AdvancedProtectionManagerCallbackService_OnAdvancedProtectionChanged_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/advancedprotection/advancedprotection.proto",
}

AdvancedProtectionManagerCallbackService_ServiceDesc is the grpc.ServiceDesc for AdvancedProtectionManagerCallbackService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var AdvancedProtectionManagerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "advancedprotection.AdvancedProtectionManagerService",
	HandlerType: (*AdvancedProtectionManagerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "IsAdvancedProtectionEnabled",
			Handler:    _AdvancedProtectionManagerService_IsAdvancedProtectionEnabled_Handler,
		},
		{
			MethodName: "RegisterAdvancedProtectionCallback",
			Handler:    _AdvancedProtectionManagerService_RegisterAdvancedProtectionCallback_Handler,
		},
		{
			MethodName: "UnregisterAdvancedProtectionCallback",
			Handler:    _AdvancedProtectionManagerService_UnregisterAdvancedProtectionCallback_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/advancedprotection/advancedprotection.proto",
}

AdvancedProtectionManagerService_ServiceDesc is the grpc.ServiceDesc for AdvancedProtectionManagerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_proto_advancedprotection_advancedprotection_proto protoreflect.FileDescriptor

Functions

func RegisterAdvancedProtectionManagerServiceServer

func RegisterAdvancedProtectionManagerServiceServer(s grpc.ServiceRegistrar, srv AdvancedProtectionManagerServiceServer)

Types

type AdvancedProtectionManagerCallbackServiceClient

type AdvancedProtectionManagerCallbackServiceClient interface {
	OnAdvancedProtectionChanged(ctx context.Context, in *OnAdvancedProtectionChangedRequest, opts ...grpc.CallOption) (*OnAdvancedProtectionChangedResponse, error)
}

AdvancedProtectionManagerCallbackServiceClient is the client API for AdvancedProtectionManagerCallbackService 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 AdvancedProtectionManagerCallbackServiceServer

type AdvancedProtectionManagerCallbackServiceServer interface {
	OnAdvancedProtectionChanged(context.Context, *OnAdvancedProtectionChangedRequest) (*OnAdvancedProtectionChangedResponse, error)
	// contains filtered or unexported methods
}

AdvancedProtectionManagerCallbackServiceServer is the server API for AdvancedProtectionManagerCallbackService service. All implementations must embed UnimplementedAdvancedProtectionManagerCallbackServiceServer for forward compatibility.

type AdvancedProtectionManagerServiceClient

type AdvancedProtectionManagerServiceClient interface {
	IsAdvancedProtectionEnabled(ctx context.Context, in *IsAdvancedProtectionEnabledRequest, opts ...grpc.CallOption) (*IsAdvancedProtectionEnabledResponse, error)
	RegisterAdvancedProtectionCallback(ctx context.Context, in *RegisterAdvancedProtectionCallbackRequest, opts ...grpc.CallOption) (*RegisterAdvancedProtectionCallbackResponse, error)
	UnregisterAdvancedProtectionCallback(ctx context.Context, in *UnregisterAdvancedProtectionCallbackRequest, opts ...grpc.CallOption) (*UnregisterAdvancedProtectionCallbackResponse, error)
}

AdvancedProtectionManagerServiceClient is the client API for AdvancedProtectionManagerService 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 AdvancedProtectionManagerServiceServer

type AdvancedProtectionManagerServiceServer interface {
	IsAdvancedProtectionEnabled(context.Context, *IsAdvancedProtectionEnabledRequest) (*IsAdvancedProtectionEnabledResponse, error)
	RegisterAdvancedProtectionCallback(context.Context, *RegisterAdvancedProtectionCallbackRequest) (*RegisterAdvancedProtectionCallbackResponse, error)
	UnregisterAdvancedProtectionCallback(context.Context, *UnregisterAdvancedProtectionCallbackRequest) (*UnregisterAdvancedProtectionCallbackResponse, error)
	// contains filtered or unexported methods
}

AdvancedProtectionManagerServiceServer is the server API for AdvancedProtectionManagerService service. All implementations must embed UnimplementedAdvancedProtectionManagerServiceServer for forward compatibility.

type IsAdvancedProtectionEnabledRequest

type IsAdvancedProtectionEnabledRequest struct {
	// contains filtered or unexported fields
}

func (*IsAdvancedProtectionEnabledRequest) Descriptor deprecated

func (*IsAdvancedProtectionEnabledRequest) Descriptor() ([]byte, []int)

Deprecated: Use IsAdvancedProtectionEnabledRequest.ProtoReflect.Descriptor instead.

func (*IsAdvancedProtectionEnabledRequest) ProtoMessage

func (*IsAdvancedProtectionEnabledRequest) ProtoMessage()

func (*IsAdvancedProtectionEnabledRequest) ProtoReflect

func (*IsAdvancedProtectionEnabledRequest) Reset

func (*IsAdvancedProtectionEnabledRequest) String

type IsAdvancedProtectionEnabledResponse

type IsAdvancedProtectionEnabledResponse struct {
	Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*IsAdvancedProtectionEnabledResponse) Descriptor deprecated

func (*IsAdvancedProtectionEnabledResponse) Descriptor() ([]byte, []int)

Deprecated: Use IsAdvancedProtectionEnabledResponse.ProtoReflect.Descriptor instead.

func (*IsAdvancedProtectionEnabledResponse) GetResult

func (*IsAdvancedProtectionEnabledResponse) ProtoMessage

func (*IsAdvancedProtectionEnabledResponse) ProtoMessage()

func (*IsAdvancedProtectionEnabledResponse) ProtoReflect

func (*IsAdvancedProtectionEnabledResponse) Reset

func (*IsAdvancedProtectionEnabledResponse) String

type OnAdvancedProtectionChangedRequest

type OnAdvancedProtectionChangedRequest struct {
	Arg0 bool `protobuf:"varint,1,opt,name=arg0,proto3" json:"arg0,omitempty"`
	// contains filtered or unexported fields
}

func (*OnAdvancedProtectionChangedRequest) Descriptor deprecated

func (*OnAdvancedProtectionChangedRequest) Descriptor() ([]byte, []int)

Deprecated: Use OnAdvancedProtectionChangedRequest.ProtoReflect.Descriptor instead.

func (*OnAdvancedProtectionChangedRequest) GetArg0

func (*OnAdvancedProtectionChangedRequest) ProtoMessage

func (*OnAdvancedProtectionChangedRequest) ProtoMessage()

func (*OnAdvancedProtectionChangedRequest) ProtoReflect

func (*OnAdvancedProtectionChangedRequest) Reset

func (*OnAdvancedProtectionChangedRequest) String

type OnAdvancedProtectionChangedResponse

type OnAdvancedProtectionChangedResponse struct {
	// contains filtered or unexported fields
}

func (*OnAdvancedProtectionChangedResponse) Descriptor deprecated

func (*OnAdvancedProtectionChangedResponse) Descriptor() ([]byte, []int)

Deprecated: Use OnAdvancedProtectionChangedResponse.ProtoReflect.Descriptor instead.

func (*OnAdvancedProtectionChangedResponse) ProtoMessage

func (*OnAdvancedProtectionChangedResponse) ProtoMessage()

func (*OnAdvancedProtectionChangedResponse) ProtoReflect

func (*OnAdvancedProtectionChangedResponse) Reset

func (*OnAdvancedProtectionChangedResponse) String

type RegisterAdvancedProtectionCallbackRequest

type RegisterAdvancedProtectionCallbackRequest struct {
	Arg0 int64 `protobuf:"varint,1,opt,name=arg0,proto3" json:"arg0,omitempty"`
	Arg1 int64 `protobuf:"varint,2,opt,name=arg1,proto3" json:"arg1,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterAdvancedProtectionCallbackRequest) Descriptor deprecated

func (*RegisterAdvancedProtectionCallbackRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterAdvancedProtectionCallbackRequest.ProtoReflect.Descriptor instead.

func (*RegisterAdvancedProtectionCallbackRequest) GetArg0

func (*RegisterAdvancedProtectionCallbackRequest) GetArg1

func (*RegisterAdvancedProtectionCallbackRequest) ProtoMessage

func (*RegisterAdvancedProtectionCallbackRequest) ProtoReflect

func (*RegisterAdvancedProtectionCallbackRequest) Reset

func (*RegisterAdvancedProtectionCallbackRequest) String

type RegisterAdvancedProtectionCallbackResponse

type RegisterAdvancedProtectionCallbackResponse struct {
	// contains filtered or unexported fields
}

func (*RegisterAdvancedProtectionCallbackResponse) Descriptor deprecated

Deprecated: Use RegisterAdvancedProtectionCallbackResponse.ProtoReflect.Descriptor instead.

func (*RegisterAdvancedProtectionCallbackResponse) ProtoMessage

func (*RegisterAdvancedProtectionCallbackResponse) ProtoReflect

func (*RegisterAdvancedProtectionCallbackResponse) Reset

func (*RegisterAdvancedProtectionCallbackResponse) String

type UnimplementedAdvancedProtectionManagerCallbackServiceServer

type UnimplementedAdvancedProtectionManagerCallbackServiceServer struct{}

UnimplementedAdvancedProtectionManagerCallbackServiceServer 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.

func (UnimplementedAdvancedProtectionManagerCallbackServiceServer) OnAdvancedProtectionChanged

type UnimplementedAdvancedProtectionManagerServiceServer

type UnimplementedAdvancedProtectionManagerServiceServer struct{}

UnimplementedAdvancedProtectionManagerServiceServer 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 UnregisterAdvancedProtectionCallbackRequest

type UnregisterAdvancedProtectionCallbackRequest struct {
	Arg0 int64 `protobuf:"varint,1,opt,name=arg0,proto3" json:"arg0,omitempty"`
	// contains filtered or unexported fields
}

func (*UnregisterAdvancedProtectionCallbackRequest) Descriptor deprecated

Deprecated: Use UnregisterAdvancedProtectionCallbackRequest.ProtoReflect.Descriptor instead.

func (*UnregisterAdvancedProtectionCallbackRequest) GetArg0

func (*UnregisterAdvancedProtectionCallbackRequest) ProtoMessage

func (*UnregisterAdvancedProtectionCallbackRequest) ProtoReflect

func (*UnregisterAdvancedProtectionCallbackRequest) Reset

func (*UnregisterAdvancedProtectionCallbackRequest) String

type UnregisterAdvancedProtectionCallbackResponse

type UnregisterAdvancedProtectionCallbackResponse struct {
	// contains filtered or unexported fields
}

func (*UnregisterAdvancedProtectionCallbackResponse) Descriptor deprecated

Deprecated: Use UnregisterAdvancedProtectionCallbackResponse.ProtoReflect.Descriptor instead.

func (*UnregisterAdvancedProtectionCallbackResponse) ProtoMessage

func (*UnregisterAdvancedProtectionCallbackResponse) ProtoReflect

func (*UnregisterAdvancedProtectionCallbackResponse) Reset

func (*UnregisterAdvancedProtectionCallbackResponse) String

type UnsafeAdvancedProtectionManagerCallbackServiceServer

type UnsafeAdvancedProtectionManagerCallbackServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAdvancedProtectionManagerCallbackServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdvancedProtectionManagerCallbackServiceServer will result in compilation errors.

type UnsafeAdvancedProtectionManagerServiceServer

type UnsafeAdvancedProtectionManagerServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAdvancedProtectionManagerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdvancedProtectionManagerServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL