Documentation ¶
Index ¶
- Variables
- func RegisterPurposeMappingServiceServer(s grpc.ServiceRegistrar, srv PurposeMappingServiceServer)
- type CreatePurposeMappingRequest
- func (*CreatePurposeMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePurposeMappingRequest) GetPurposeMapping() *v1.PurposeMapping
- func (*CreatePurposeMappingRequest) ProtoMessage()
- func (x *CreatePurposeMappingRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePurposeMappingRequest) Reset()
- func (x *CreatePurposeMappingRequest) String() string
- type CreatePurposeMappingResponse
- func (*CreatePurposeMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePurposeMappingResponse) GetPurposeMapping() *v1.PurposeMapping
- func (*CreatePurposeMappingResponse) ProtoMessage()
- func (x *CreatePurposeMappingResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePurposeMappingResponse) Reset()
- func (x *CreatePurposeMappingResponse) String() string
- type GetPurposeMappingRequest
- func (*GetPurposeMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPurposeMappingRequest) GetLevel() int32
- func (*GetPurposeMappingRequest) ProtoMessage()
- func (x *GetPurposeMappingRequest) ProtoReflect() protoreflect.Message
- func (x *GetPurposeMappingRequest) Reset()
- func (x *GetPurposeMappingRequest) String() string
- type GetPurposeMappingResponse
- func (*GetPurposeMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPurposeMappingResponse) GetPurposeMapping() *v1.PurposeMapping
- func (*GetPurposeMappingResponse) ProtoMessage()
- func (x *GetPurposeMappingResponse) ProtoReflect() protoreflect.Message
- func (x *GetPurposeMappingResponse) Reset()
- func (x *GetPurposeMappingResponse) String() string
- type ListPurposeMappingsRequest
- type ListPurposeMappingsResponse
- func (*ListPurposeMappingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPurposeMappingsResponse) GetPurposeMappings() []*v1.PurposeMapping
- func (*ListPurposeMappingsResponse) ProtoMessage()
- func (x *ListPurposeMappingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPurposeMappingsResponse) Reset()
- func (x *ListPurposeMappingsResponse) String() string
- type PurposeMappingServiceClient
- type PurposeMappingServiceServer
- type UnimplementedPurposeMappingServiceServer
- func (UnimplementedPurposeMappingServiceServer) CreatePurposeMapping(context.Context, *CreatePurposeMappingRequest) (*CreatePurposeMappingResponse, error)
- func (UnimplementedPurposeMappingServiceServer) GetPurposeMapping(context.Context, *GetPurposeMappingRequest) (*GetPurposeMappingResponse, error)
- func (UnimplementedPurposeMappingServiceServer) ListPurposeMappings(context.Context, *ListPurposeMappingsRequest) (*ListPurposeMappingsResponse, error)
- type UnsafePurposeMappingServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_strmprivacy_api_purpose_mapping_v1_purpose_mapping_v1_proto protoreflect.FileDescriptor
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 (x *CreatePurposeMappingRequest) ProtoReflect() protoreflect.Message
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 (x *CreatePurposeMappingResponse) ProtoReflect() protoreflect.Message
func (*CreatePurposeMappingResponse) Reset ¶
func (x *CreatePurposeMappingResponse) Reset()
func (*CreatePurposeMappingResponse) String ¶
func (x *CreatePurposeMappingResponse) String() 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 (x *GetPurposeMappingResponse) ProtoReflect() protoreflect.Message
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 (x *ListPurposeMappingsRequest) ProtoReflect() protoreflect.Message
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 (x *ListPurposeMappingsResponse) ProtoReflect() protoreflect.Message
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.
func NewPurposeMappingServiceClient ¶
func NewPurposeMappingServiceClient(cc grpc.ClientConnInterface) PurposeMappingServiceClient
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) CreatePurposeMapping(context.Context, *CreatePurposeMappingRequest) (*CreatePurposeMappingResponse, error)
func (UnimplementedPurposeMappingServiceServer) GetPurposeMapping ¶
func (UnimplementedPurposeMappingServiceServer) GetPurposeMapping(context.Context, *GetPurposeMappingRequest) (*GetPurposeMappingResponse, error)
func (UnimplementedPurposeMappingServiceServer) ListPurposeMappings ¶
func (UnimplementedPurposeMappingServiceServer) ListPurposeMappings(context.Context, *ListPurposeMappingsRequest) (*ListPurposeMappingsResponse, error)
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.