purpose_mapping

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_strmprivacy_api_purpose_mapping_v1_purpose_mapping_v1_proto protoreflect.FileDescriptor
View Source
var PurposeMappingService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "strmprivacy.api.purpose_mapping.v1.PurposeMappingService",
	HandlerType: (*PurposeMappingServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListPurposeMappings",
			Handler:    _PurposeMappingService_ListPurposeMappings_Handler,
		},
		{
			MethodName: "GetPurposeMapping",
			Handler:    _PurposeMappingService_GetPurposeMapping_Handler,
		},
		{
			MethodName: "CreatePurposeMapping",
			Handler:    _PurposeMappingService_CreatePurposeMapping_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "strmprivacy/api/purpose_mapping/v1/purpose_mapping_v1.proto",
}

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

Functions

func RegisterPurposeMappingServiceServer

func RegisterPurposeMappingServiceServer(s grpc.ServiceRegistrar, srv PurposeMappingServiceServer)

Types

type CreatePurposeMappingRequest

type CreatePurposeMappingRequest struct {
	PurposeMapping *v1.PurposeMapping `protobuf:"bytes,1,opt,name=purpose_mapping,json=purposeMapping,proto3" json:"purpose_mapping,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePurposeMappingRequest) Descriptor deprecated

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

Deprecated: Use CreatePurposeMappingRequest.ProtoReflect.Descriptor instead.

func (*CreatePurposeMappingRequest) GetPurposeMapping

func (x *CreatePurposeMappingRequest) GetPurposeMapping() *v1.PurposeMapping

func (*CreatePurposeMappingRequest) ProtoMessage

func (*CreatePurposeMappingRequest) ProtoMessage()

func (*CreatePurposeMappingRequest) ProtoReflect

func (*CreatePurposeMappingRequest) Reset

func (x *CreatePurposeMappingRequest) Reset()

func (*CreatePurposeMappingRequest) String

func (x *CreatePurposeMappingRequest) String() string

type CreatePurposeMappingResponse

type CreatePurposeMappingResponse struct {
	PurposeMapping *v1.PurposeMapping `protobuf:"bytes,1,opt,name=purpose_mapping,json=purposeMapping,proto3" json:"purpose_mapping,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePurposeMappingResponse) Descriptor deprecated

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

Deprecated: Use CreatePurposeMappingResponse.ProtoReflect.Descriptor instead.

func (*CreatePurposeMappingResponse) GetPurposeMapping

func (x *CreatePurposeMappingResponse) GetPurposeMapping() *v1.PurposeMapping

func (*CreatePurposeMappingResponse) ProtoMessage

func (*CreatePurposeMappingResponse) ProtoMessage()

func (*CreatePurposeMappingResponse) ProtoReflect

func (*CreatePurposeMappingResponse) Reset

func (x *CreatePurposeMappingResponse) Reset()

func (*CreatePurposeMappingResponse) String

type GetPurposeMappingRequest

type GetPurposeMappingRequest struct {
	Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPurposeMappingRequest) Descriptor deprecated

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

Deprecated: Use GetPurposeMappingRequest.ProtoReflect.Descriptor instead.

func (*GetPurposeMappingRequest) GetLevel

func (x *GetPurposeMappingRequest) GetLevel() int32

func (*GetPurposeMappingRequest) ProtoMessage

func (*GetPurposeMappingRequest) ProtoMessage()

func (*GetPurposeMappingRequest) ProtoReflect

func (x *GetPurposeMappingRequest) ProtoReflect() protoreflect.Message

func (*GetPurposeMappingRequest) Reset

func (x *GetPurposeMappingRequest) Reset()

func (*GetPurposeMappingRequest) String

func (x *GetPurposeMappingRequest) String() string

type GetPurposeMappingResponse

type GetPurposeMappingResponse struct {
	PurposeMapping *v1.PurposeMapping `protobuf:"bytes,1,opt,name=purpose_mapping,json=purposeMapping,proto3" json:"purpose_mapping,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPurposeMappingResponse) Descriptor deprecated

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

Deprecated: Use GetPurposeMappingResponse.ProtoReflect.Descriptor instead.

func (*GetPurposeMappingResponse) GetPurposeMapping

func (x *GetPurposeMappingResponse) GetPurposeMapping() *v1.PurposeMapping

func (*GetPurposeMappingResponse) ProtoMessage

func (*GetPurposeMappingResponse) ProtoMessage()

func (*GetPurposeMappingResponse) ProtoReflect

func (*GetPurposeMappingResponse) Reset

func (x *GetPurposeMappingResponse) Reset()

func (*GetPurposeMappingResponse) String

func (x *GetPurposeMappingResponse) String() string

type ListPurposeMappingsRequest

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

func (*ListPurposeMappingsRequest) Descriptor deprecated

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

Deprecated: Use ListPurposeMappingsRequest.ProtoReflect.Descriptor instead.

func (*ListPurposeMappingsRequest) ProtoMessage

func (*ListPurposeMappingsRequest) ProtoMessage()

func (*ListPurposeMappingsRequest) ProtoReflect

func (*ListPurposeMappingsRequest) Reset

func (x *ListPurposeMappingsRequest) Reset()

func (*ListPurposeMappingsRequest) String

func (x *ListPurposeMappingsRequest) String() string

type ListPurposeMappingsResponse

type ListPurposeMappingsResponse struct {
	PurposeMappings []*v1.PurposeMapping `protobuf:"bytes,1,rep,name=purpose_mappings,json=purposeMappings,proto3" json:"purpose_mappings,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPurposeMappingsResponse) Descriptor deprecated

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

Deprecated: Use ListPurposeMappingsResponse.ProtoReflect.Descriptor instead.

func (*ListPurposeMappingsResponse) GetPurposeMappings

func (x *ListPurposeMappingsResponse) GetPurposeMappings() []*v1.PurposeMapping

func (*ListPurposeMappingsResponse) ProtoMessage

func (*ListPurposeMappingsResponse) ProtoMessage()

func (*ListPurposeMappingsResponse) ProtoReflect

func (*ListPurposeMappingsResponse) Reset

func (x *ListPurposeMappingsResponse) Reset()

func (*ListPurposeMappingsResponse) String

func (x *ListPurposeMappingsResponse) String() string

type PurposeMappingServiceClient

type PurposeMappingServiceClient interface {
	ListPurposeMappings(ctx context.Context, in *ListPurposeMappingsRequest, opts ...grpc.CallOption) (*ListPurposeMappingsResponse, error)
	GetPurposeMapping(ctx context.Context, in *GetPurposeMappingRequest, opts ...grpc.CallOption) (*GetPurposeMappingResponse, error)
	CreatePurposeMapping(ctx context.Context, in *CreatePurposeMappingRequest, opts ...grpc.CallOption) (*CreatePurposeMappingResponse, error)
}

PurposeMappingServiceClient is the client API for PurposeMappingService 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 PurposeMappingServiceServer

type PurposeMappingServiceServer interface {
	ListPurposeMappings(context.Context, *ListPurposeMappingsRequest) (*ListPurposeMappingsResponse, error)
	GetPurposeMapping(context.Context, *GetPurposeMappingRequest) (*GetPurposeMappingResponse, error)
	CreatePurposeMapping(context.Context, *CreatePurposeMappingRequest) (*CreatePurposeMappingResponse, error)
}

PurposeMappingServiceServer is the server API for PurposeMappingService service. All implementations should embed UnimplementedPurposeMappingServiceServer for forward compatibility

type UnimplementedPurposeMappingServiceServer

type UnimplementedPurposeMappingServiceServer struct {
}

UnimplementedPurposeMappingServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedPurposeMappingServiceServer) CreatePurposeMapping

func (UnimplementedPurposeMappingServiceServer) GetPurposeMapping

func (UnimplementedPurposeMappingServiceServer) ListPurposeMappings

type UnsafePurposeMappingServiceServer

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

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

Jump to

Keyboard shortcuts

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