consent_levels

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConsentLevelMappingsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "streammachine.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: "streammachine/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)

View Source
var File_streammachine_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.

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 (*CreateConsentLevelMappingRequest) Reset

func (*CreateConsentLevelMappingRequest) 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 (*CreateConsentLevelMappingResponse) Reset

func (*CreateConsentLevelMappingResponse) 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 (*DeleteConsentLevelMappingRequest) ProtoMessage

func (*DeleteConsentLevelMappingRequest) ProtoMessage()

func (*DeleteConsentLevelMappingRequest) ProtoReflect

func (*DeleteConsentLevelMappingRequest) Reset

func (*DeleteConsentLevelMappingRequest) 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 (*DeleteConsentLevelMappingResponse) Reset

func (*DeleteConsentLevelMappingResponse) 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 (*GetConsentLevelMappingRequest) ProtoMessage

func (*GetConsentLevelMappingRequest) ProtoMessage()

func (*GetConsentLevelMappingRequest) ProtoReflect

func (*GetConsentLevelMappingRequest) Reset

func (x *GetConsentLevelMappingRequest) Reset()

func (*GetConsentLevelMappingRequest) 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 (*GetConsentLevelMappingResponse) Reset

func (x *GetConsentLevelMappingResponse) Reset()

func (*GetConsentLevelMappingResponse) String

type ListConsentLevelMappingsRequest

type ListConsentLevelMappingsRequest struct {
	BillingId string `protobuf:"bytes,1,opt,name=billing_id,json=billingId,proto3" json:"billing_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

func (x *ListConsentLevelMappingsRequest) GetBillingId() string

func (*ListConsentLevelMappingsRequest) ProtoMessage

func (*ListConsentLevelMappingsRequest) ProtoMessage()

func (*ListConsentLevelMappingsRequest) ProtoReflect

func (*ListConsentLevelMappingsRequest) Reset

func (*ListConsentLevelMappingsRequest) 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 (*ListConsentLevelMappingsResponse) Reset

func (*ListConsentLevelMappingsResponse) String

type UnimplementedConsentLevelMappingsServiceServer

type UnimplementedConsentLevelMappingsServiceServer struct {
}

UnimplementedConsentLevelMappingsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedConsentLevelMappingsServiceServer) GetConsentLevelMapping

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.

Jump to

Keyboard shortcuts

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