Documentation ¶
Index ¶
- Variables
- func RegisterConsentLevelMappingsServiceServer(s grpc.ServiceRegistrar, srv ConsentLevelMappingsServiceServer)
- type ConsentLevelMappingsServiceClient
- type ConsentLevelMappingsServiceServer
- type CreateConsentLevelMappingRequest
- func (*CreateConsentLevelMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateConsentLevelMappingRequest) GetConsentLevelMapping() *v1.ConsentLevelMapping
- func (*CreateConsentLevelMappingRequest) ProtoMessage()
- func (x *CreateConsentLevelMappingRequest) ProtoReflect() protoreflect.Message
- func (x *CreateConsentLevelMappingRequest) Reset()
- func (x *CreateConsentLevelMappingRequest) String() string
- type CreateConsentLevelMappingResponse
- func (*CreateConsentLevelMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateConsentLevelMappingResponse) GetConsentLevelMapping() *v1.ConsentLevelMapping
- func (*CreateConsentLevelMappingResponse) ProtoMessage()
- func (x *CreateConsentLevelMappingResponse) ProtoReflect() protoreflect.Message
- func (x *CreateConsentLevelMappingResponse) Reset()
- func (x *CreateConsentLevelMappingResponse) String() string
- type DeleteConsentLevelMappingRequest
- func (*DeleteConsentLevelMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteConsentLevelMappingRequest) GetRef() *v1.ConsentLevelMappingRef
- func (*DeleteConsentLevelMappingRequest) ProtoMessage()
- func (x *DeleteConsentLevelMappingRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteConsentLevelMappingRequest) Reset()
- func (x *DeleteConsentLevelMappingRequest) String() string
- type DeleteConsentLevelMappingResponse
- func (*DeleteConsentLevelMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteConsentLevelMappingResponse) ProtoMessage()
- func (x *DeleteConsentLevelMappingResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteConsentLevelMappingResponse) Reset()
- func (x *DeleteConsentLevelMappingResponse) String() string
- type GetConsentLevelMappingRequest
- func (*GetConsentLevelMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConsentLevelMappingRequest) GetRef() *v1.ConsentLevelMappingRef
- func (*GetConsentLevelMappingRequest) ProtoMessage()
- func (x *GetConsentLevelMappingRequest) ProtoReflect() protoreflect.Message
- func (x *GetConsentLevelMappingRequest) Reset()
- func (x *GetConsentLevelMappingRequest) String() string
- type GetConsentLevelMappingResponse
- func (*GetConsentLevelMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConsentLevelMappingResponse) GetConsentLevelMapping() *v1.ConsentLevelMapping
- func (*GetConsentLevelMappingResponse) ProtoMessage()
- func (x *GetConsentLevelMappingResponse) ProtoReflect() protoreflect.Message
- func (x *GetConsentLevelMappingResponse) Reset()
- func (x *GetConsentLevelMappingResponse) String() string
- type ListConsentLevelMappingsRequest
- func (*ListConsentLevelMappingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListConsentLevelMappingsRequest) GetBillingId() stringdeprecated
- func (x *ListConsentLevelMappingsRequest) GetProjectId() string
- func (*ListConsentLevelMappingsRequest) ProtoMessage()
- func (x *ListConsentLevelMappingsRequest) ProtoReflect() protoreflect.Message
- func (x *ListConsentLevelMappingsRequest) Reset()
- func (x *ListConsentLevelMappingsRequest) String() string
- type ListConsentLevelMappingsResponse
- func (*ListConsentLevelMappingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListConsentLevelMappingsResponse) GetConsentLevelMappings() []*v1.ConsentLevelMapping
- func (*ListConsentLevelMappingsResponse) ProtoMessage()
- func (x *ListConsentLevelMappingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListConsentLevelMappingsResponse) Reset()
- func (x *ListConsentLevelMappingsResponse) String() string
- type UnimplementedConsentLevelMappingsServiceServer
- func (UnimplementedConsentLevelMappingsServiceServer) CreateConsentLevelMapping(context.Context, *CreateConsentLevelMappingRequest) (*CreateConsentLevelMappingResponse, error)
- func (UnimplementedConsentLevelMappingsServiceServer) DeleteConsentLevelMapping(context.Context, *DeleteConsentLevelMappingRequest) (*DeleteConsentLevelMappingResponse, error)
- func (UnimplementedConsentLevelMappingsServiceServer) GetConsentLevelMapping(context.Context, *GetConsentLevelMappingRequest) (*GetConsentLevelMappingResponse, error)
- func (UnimplementedConsentLevelMappingsServiceServer) ListConsentLevelMappings(context.Context, *ListConsentLevelMappingsRequest) (*ListConsentLevelMappingsResponse, error)
- type UnsafeConsentLevelMappingsServiceServer
Constants ¶
This section is empty.
Variables ¶
var ConsentLevelMappingsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "strmprivacy.api.consent_levels.v1.ConsentLevelMappingsService", HandlerType: (*ConsentLevelMappingsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListConsentLevelMappings", Handler: _ConsentLevelMappingsService_ListConsentLevelMappings_Handler, }, { MethodName: "GetConsentLevelMapping", Handler: _ConsentLevelMappingsService_GetConsentLevelMapping_Handler, }, { MethodName: "DeleteConsentLevelMapping", Handler: _ConsentLevelMappingsService_DeleteConsentLevelMapping_Handler, }, { MethodName: "CreateConsentLevelMapping", Handler: _ConsentLevelMappingsService_CreateConsentLevelMapping_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "strmprivacy/api/consent_levels/v1/consent_levels_v1.proto", }
ConsentLevelMappingsService_ServiceDesc is the grpc.ServiceDesc for ConsentLevelMappingsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_strmprivacy_api_consent_levels_v1_consent_levels_v1_proto protoreflect.FileDescriptor
Functions ¶
func RegisterConsentLevelMappingsServiceServer ¶
func RegisterConsentLevelMappingsServiceServer(s grpc.ServiceRegistrar, srv ConsentLevelMappingsServiceServer)
Types ¶
type ConsentLevelMappingsServiceClient ¶
type ConsentLevelMappingsServiceClient interface { ListConsentLevelMappings(ctx context.Context, in *ListConsentLevelMappingsRequest, opts ...grpc.CallOption) (*ListConsentLevelMappingsResponse, error) GetConsentLevelMapping(ctx context.Context, in *GetConsentLevelMappingRequest, opts ...grpc.CallOption) (*GetConsentLevelMappingResponse, error) DeleteConsentLevelMapping(ctx context.Context, in *DeleteConsentLevelMappingRequest, opts ...grpc.CallOption) (*DeleteConsentLevelMappingResponse, error) CreateConsentLevelMapping(ctx context.Context, in *CreateConsentLevelMappingRequest, opts ...grpc.CallOption) (*CreateConsentLevelMappingResponse, error) }
ConsentLevelMappingsServiceClient is the client API for ConsentLevelMappingsService 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 NewConsentLevelMappingsServiceClient ¶
func NewConsentLevelMappingsServiceClient(cc grpc.ClientConnInterface) ConsentLevelMappingsServiceClient
type ConsentLevelMappingsServiceServer ¶
type ConsentLevelMappingsServiceServer interface { ListConsentLevelMappings(context.Context, *ListConsentLevelMappingsRequest) (*ListConsentLevelMappingsResponse, error) GetConsentLevelMapping(context.Context, *GetConsentLevelMappingRequest) (*GetConsentLevelMappingResponse, error) DeleteConsentLevelMapping(context.Context, *DeleteConsentLevelMappingRequest) (*DeleteConsentLevelMappingResponse, error) CreateConsentLevelMapping(context.Context, *CreateConsentLevelMappingRequest) (*CreateConsentLevelMappingResponse, error) // contains filtered or unexported methods }
ConsentLevelMappingsServiceServer is the server API for ConsentLevelMappingsService service. All implementations must embed UnimplementedConsentLevelMappingsServiceServer for forward compatibility
type CreateConsentLevelMappingRequest ¶
type CreateConsentLevelMappingRequest struct { ConsentLevelMapping *v1.ConsentLevelMapping `protobuf:"bytes,1,opt,name=consent_level_mapping,json=consentLevelMapping,proto3" json:"consent_level_mapping,omitempty"` // contains filtered or unexported fields }
func (*CreateConsentLevelMappingRequest) Descriptor
deprecated
func (*CreateConsentLevelMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateConsentLevelMappingRequest.ProtoReflect.Descriptor instead.
func (*CreateConsentLevelMappingRequest) GetConsentLevelMapping ¶
func (x *CreateConsentLevelMappingRequest) GetConsentLevelMapping() *v1.ConsentLevelMapping
func (*CreateConsentLevelMappingRequest) ProtoMessage ¶
func (*CreateConsentLevelMappingRequest) ProtoMessage()
func (*CreateConsentLevelMappingRequest) ProtoReflect ¶
func (x *CreateConsentLevelMappingRequest) ProtoReflect() protoreflect.Message
func (*CreateConsentLevelMappingRequest) Reset ¶
func (x *CreateConsentLevelMappingRequest) Reset()
func (*CreateConsentLevelMappingRequest) String ¶
func (x *CreateConsentLevelMappingRequest) String() string
type CreateConsentLevelMappingResponse ¶
type CreateConsentLevelMappingResponse struct { ConsentLevelMapping *v1.ConsentLevelMapping `protobuf:"bytes,1,opt,name=consent_level_mapping,json=consentLevelMapping,proto3" json:"consent_level_mapping,omitempty"` // contains filtered or unexported fields }
func (*CreateConsentLevelMappingResponse) Descriptor
deprecated
func (*CreateConsentLevelMappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateConsentLevelMappingResponse.ProtoReflect.Descriptor instead.
func (*CreateConsentLevelMappingResponse) GetConsentLevelMapping ¶
func (x *CreateConsentLevelMappingResponse) GetConsentLevelMapping() *v1.ConsentLevelMapping
func (*CreateConsentLevelMappingResponse) ProtoMessage ¶
func (*CreateConsentLevelMappingResponse) ProtoMessage()
func (*CreateConsentLevelMappingResponse) ProtoReflect ¶
func (x *CreateConsentLevelMappingResponse) ProtoReflect() protoreflect.Message
func (*CreateConsentLevelMappingResponse) Reset ¶
func (x *CreateConsentLevelMappingResponse) Reset()
func (*CreateConsentLevelMappingResponse) String ¶
func (x *CreateConsentLevelMappingResponse) String() string
type DeleteConsentLevelMappingRequest ¶
type DeleteConsentLevelMappingRequest struct { // (-- api-linter: core::0135::request-unknown-fields=disabled // aip.dev/not-precedent: A consent-level has no name, but a level. --) Ref *v1.ConsentLevelMappingRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
(-- api-linter: core::0135::request-name-required=disabled
aip.dev/not-precedent: A consent-level has no name, but a level. --)
func (*DeleteConsentLevelMappingRequest) Descriptor
deprecated
func (*DeleteConsentLevelMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConsentLevelMappingRequest.ProtoReflect.Descriptor instead.
func (*DeleteConsentLevelMappingRequest) GetRef ¶
func (x *DeleteConsentLevelMappingRequest) GetRef() *v1.ConsentLevelMappingRef
func (*DeleteConsentLevelMappingRequest) ProtoMessage ¶
func (*DeleteConsentLevelMappingRequest) ProtoMessage()
func (*DeleteConsentLevelMappingRequest) ProtoReflect ¶
func (x *DeleteConsentLevelMappingRequest) ProtoReflect() protoreflect.Message
func (*DeleteConsentLevelMappingRequest) Reset ¶
func (x *DeleteConsentLevelMappingRequest) Reset()
func (*DeleteConsentLevelMappingRequest) String ¶
func (x *DeleteConsentLevelMappingRequest) String() string
type DeleteConsentLevelMappingResponse ¶
type DeleteConsentLevelMappingResponse struct {
// contains filtered or unexported fields
}
func (*DeleteConsentLevelMappingResponse) Descriptor
deprecated
func (*DeleteConsentLevelMappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConsentLevelMappingResponse.ProtoReflect.Descriptor instead.
func (*DeleteConsentLevelMappingResponse) ProtoMessage ¶
func (*DeleteConsentLevelMappingResponse) ProtoMessage()
func (*DeleteConsentLevelMappingResponse) ProtoReflect ¶
func (x *DeleteConsentLevelMappingResponse) ProtoReflect() protoreflect.Message
func (*DeleteConsentLevelMappingResponse) Reset ¶
func (x *DeleteConsentLevelMappingResponse) Reset()
func (*DeleteConsentLevelMappingResponse) String ¶
func (x *DeleteConsentLevelMappingResponse) String() string
type GetConsentLevelMappingRequest ¶
type GetConsentLevelMappingRequest struct { Ref *v1.ConsentLevelMappingRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*GetConsentLevelMappingRequest) Descriptor
deprecated
func (*GetConsentLevelMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConsentLevelMappingRequest.ProtoReflect.Descriptor instead.
func (*GetConsentLevelMappingRequest) GetRef ¶
func (x *GetConsentLevelMappingRequest) GetRef() *v1.ConsentLevelMappingRef
func (*GetConsentLevelMappingRequest) ProtoMessage ¶
func (*GetConsentLevelMappingRequest) ProtoMessage()
func (*GetConsentLevelMappingRequest) ProtoReflect ¶
func (x *GetConsentLevelMappingRequest) ProtoReflect() protoreflect.Message
func (*GetConsentLevelMappingRequest) Reset ¶
func (x *GetConsentLevelMappingRequest) Reset()
func (*GetConsentLevelMappingRequest) String ¶
func (x *GetConsentLevelMappingRequest) String() string
type GetConsentLevelMappingResponse ¶
type GetConsentLevelMappingResponse struct { ConsentLevelMapping *v1.ConsentLevelMapping `protobuf:"bytes,1,opt,name=consent_level_mapping,json=consentLevelMapping,proto3" json:"consent_level_mapping,omitempty"` // contains filtered or unexported fields }
func (*GetConsentLevelMappingResponse) Descriptor
deprecated
func (*GetConsentLevelMappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConsentLevelMappingResponse.ProtoReflect.Descriptor instead.
func (*GetConsentLevelMappingResponse) GetConsentLevelMapping ¶
func (x *GetConsentLevelMappingResponse) GetConsentLevelMapping() *v1.ConsentLevelMapping
func (*GetConsentLevelMappingResponse) ProtoMessage ¶
func (*GetConsentLevelMappingResponse) ProtoMessage()
func (*GetConsentLevelMappingResponse) ProtoReflect ¶
func (x *GetConsentLevelMappingResponse) ProtoReflect() protoreflect.Message
func (*GetConsentLevelMappingResponse) Reset ¶
func (x *GetConsentLevelMappingResponse) Reset()
func (*GetConsentLevelMappingResponse) String ¶
func (x *GetConsentLevelMappingResponse) String() string
type ListConsentLevelMappingsRequest ¶
type ListConsentLevelMappingsRequest struct { // Deprecated: Do not use. BillingId string `protobuf:"bytes,1,opt,name=billing_id,json=billingId,proto3" json:"billing_id,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*ListConsentLevelMappingsRequest) Descriptor
deprecated
func (*ListConsentLevelMappingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListConsentLevelMappingsRequest.ProtoReflect.Descriptor instead.
func (*ListConsentLevelMappingsRequest) GetBillingId
deprecated
func (x *ListConsentLevelMappingsRequest) GetBillingId() string
Deprecated: Do not use.
func (*ListConsentLevelMappingsRequest) GetProjectId ¶
func (x *ListConsentLevelMappingsRequest) GetProjectId() string
func (*ListConsentLevelMappingsRequest) ProtoMessage ¶
func (*ListConsentLevelMappingsRequest) ProtoMessage()
func (*ListConsentLevelMappingsRequest) ProtoReflect ¶
func (x *ListConsentLevelMappingsRequest) ProtoReflect() protoreflect.Message
func (*ListConsentLevelMappingsRequest) Reset ¶
func (x *ListConsentLevelMappingsRequest) Reset()
func (*ListConsentLevelMappingsRequest) String ¶
func (x *ListConsentLevelMappingsRequest) String() string
type ListConsentLevelMappingsResponse ¶
type ListConsentLevelMappingsResponse struct { ConsentLevelMappings []*v1.ConsentLevelMapping `protobuf:"bytes,1,rep,name=consent_level_mappings,json=consentLevelMappings,proto3" json:"consent_level_mappings,omitempty"` // contains filtered or unexported fields }
func (*ListConsentLevelMappingsResponse) Descriptor
deprecated
func (*ListConsentLevelMappingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListConsentLevelMappingsResponse.ProtoReflect.Descriptor instead.
func (*ListConsentLevelMappingsResponse) GetConsentLevelMappings ¶
func (x *ListConsentLevelMappingsResponse) GetConsentLevelMappings() []*v1.ConsentLevelMapping
func (*ListConsentLevelMappingsResponse) ProtoMessage ¶
func (*ListConsentLevelMappingsResponse) ProtoMessage()
func (*ListConsentLevelMappingsResponse) ProtoReflect ¶
func (x *ListConsentLevelMappingsResponse) ProtoReflect() protoreflect.Message
func (*ListConsentLevelMappingsResponse) Reset ¶
func (x *ListConsentLevelMappingsResponse) Reset()
func (*ListConsentLevelMappingsResponse) String ¶
func (x *ListConsentLevelMappingsResponse) String() string
type UnimplementedConsentLevelMappingsServiceServer ¶
type UnimplementedConsentLevelMappingsServiceServer struct { }
UnimplementedConsentLevelMappingsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedConsentLevelMappingsServiceServer) CreateConsentLevelMapping ¶
func (UnimplementedConsentLevelMappingsServiceServer) CreateConsentLevelMapping(context.Context, *CreateConsentLevelMappingRequest) (*CreateConsentLevelMappingResponse, error)
func (UnimplementedConsentLevelMappingsServiceServer) DeleteConsentLevelMapping ¶
func (UnimplementedConsentLevelMappingsServiceServer) DeleteConsentLevelMapping(context.Context, *DeleteConsentLevelMappingRequest) (*DeleteConsentLevelMappingResponse, error)
func (UnimplementedConsentLevelMappingsServiceServer) GetConsentLevelMapping ¶
func (UnimplementedConsentLevelMappingsServiceServer) GetConsentLevelMapping(context.Context, *GetConsentLevelMappingRequest) (*GetConsentLevelMappingResponse, error)
func (UnimplementedConsentLevelMappingsServiceServer) ListConsentLevelMappings ¶
func (UnimplementedConsentLevelMappingsServiceServer) ListConsentLevelMappings(context.Context, *ListConsentLevelMappingsRequest) (*ListConsentLevelMappingsResponse, error)
type UnsafeConsentLevelMappingsServiceServer ¶
type UnsafeConsentLevelMappingsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeConsentLevelMappingsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConsentLevelMappingsServiceServer will result in compilation errors.