Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCustomerContactServiceServer(s grpc.ServiceRegistrar, srv CustomerContactServiceServer)deprecated
- type CustomerContactServiceClientdeprecated
- type CustomerContactServiceServerdeprecated
- type UnimplementedCustomerContactServiceServer
- func (UnimplementedCustomerContactServiceServer) AcceptLatestTermsAndConditions(context.Context, *v2beta1.AcceptLatestTermsAndConditionsRequest) (*v2beta1.AcceptLatestTermsAndConditionsResponse, error)
- func (UnimplementedCustomerContactServiceServer) GetAdvertisingInterests(context.Context, *v2beta1.GetAdvertisingInterestsRequest) (*v2beta1.GetAdvertisingInterestsResponse, error)
- func (UnimplementedCustomerContactServiceServer) HasAcceptedLatestTermsAndConditions(context.Context, *v2beta1.HasAcceptedLatestTermsAndConditionsRequest) (*v2beta1.HasAcceptedLatestTermsAndConditionsResponse, error)
- func (UnimplementedCustomerContactServiceServer) SetAdvertisingInterests(context.Context, *v2beta1.SetAdvertisingInterestsRequest) (*v2beta1.SetAdvertisingInterestsResponse, error)
- type UnsafeCustomerContactServiceServer
Constants ¶
const ( CustomerContactService_AcceptLatestTermsAndConditions_FullMethodName = "/stargate.customer.contact.v2beta1.CustomerContactService/AcceptLatestTermsAndConditions" CustomerContactService_HasAcceptedLatestTermsAndConditions_FullMethodName = "/stargate.customer.contact.v2beta1.CustomerContactService/HasAcceptedLatestTermsAndConditions" CustomerContactService_GetAdvertisingInterests_FullMethodName = "/stargate.customer.contact.v2beta1.CustomerContactService/GetAdvertisingInterests" CustomerContactService_SetAdvertisingInterests_FullMethodName = "/stargate.customer.contact.v2beta1.CustomerContactService/SetAdvertisingInterests" )
Variables ¶
var CustomerContactService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "stargate.customer.contact.v2beta1.CustomerContactService", HandlerType: (*CustomerContactServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AcceptLatestTermsAndConditions", Handler: _CustomerContactService_AcceptLatestTermsAndConditions_Handler, }, { MethodName: "HasAcceptedLatestTermsAndConditions", Handler: _CustomerContactService_HasAcceptedLatestTermsAndConditions_Handler, }, { MethodName: "GetAdvertisingInterests", Handler: _CustomerContactService_GetAdvertisingInterests_Handler, }, { MethodName: "SetAdvertisingInterests", Handler: _CustomerContactService_SetAdvertisingInterests_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "stargate/customer/contact/v2beta1/customer_contact_service.proto", }
CustomerContactService_ServiceDesc is the grpc.ServiceDesc for CustomerContactService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterCustomerContactServiceServer
deprecated
func RegisterCustomerContactServiceServer(s grpc.ServiceRegistrar, srv CustomerContactServiceServer)
Deprecated: Do not use.
Types ¶
type CustomerContactServiceClient
deprecated
type CustomerContactServiceClient interface {
AcceptLatestTermsAndConditions(ctx context.Context, in *v2beta1.AcceptLatestTermsAndConditionsRequest, opts ...grpc.CallOption) (*v2beta1.AcceptLatestTermsAndConditionsResponse, error)
HasAcceptedLatestTermsAndConditions(ctx context.Context, in *v2beta1.HasAcceptedLatestTermsAndConditionsRequest, opts ...grpc.CallOption) (*v2beta1.HasAcceptedLatestTermsAndConditionsResponse, error)
// Get advertising interests for a specific customer contact.
GetAdvertisingInterests(ctx context.Context, in *v2beta1.GetAdvertisingInterestsRequest, opts ...grpc.CallOption) (*v2beta1.GetAdvertisingInterestsResponse, error)
// Sets advertising interests for a specific customer contact.
SetAdvertisingInterests(ctx context.Context, in *v2beta1.SetAdvertisingInterestsRequest, opts ...grpc.CallOption) (*v2beta1.SetAdvertisingInterestsResponse, error)
}
CustomerContactServiceClient is the client API for CustomerContactService 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.
Deprecated: Do not use.
func NewCustomerContactServiceClient
deprecated
func NewCustomerContactServiceClient(cc grpc.ClientConnInterface) CustomerContactServiceClient
Deprecated: Do not use.
type CustomerContactServiceServer
deprecated
type CustomerContactServiceServer interface {
AcceptLatestTermsAndConditions(context.Context, *v2beta1.AcceptLatestTermsAndConditionsRequest) (*v2beta1.AcceptLatestTermsAndConditionsResponse, error)
HasAcceptedLatestTermsAndConditions(context.Context, *v2beta1.HasAcceptedLatestTermsAndConditionsRequest) (*v2beta1.HasAcceptedLatestTermsAndConditionsResponse, error)
// Get advertising interests for a specific customer contact.
GetAdvertisingInterests(context.Context, *v2beta1.GetAdvertisingInterestsRequest) (*v2beta1.GetAdvertisingInterestsResponse, error)
// Sets advertising interests for a specific customer contact.
SetAdvertisingInterests(context.Context, *v2beta1.SetAdvertisingInterestsRequest) (*v2beta1.SetAdvertisingInterestsResponse, error)
}
CustomerContactServiceServer is the server API for CustomerContactService service. All implementations should embed UnimplementedCustomerContactServiceServer for forward compatibility.
Deprecated: Do not use.
type UnimplementedCustomerContactServiceServer ¶
type UnimplementedCustomerContactServiceServer struct{}
UnimplementedCustomerContactServiceServer should 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 (UnimplementedCustomerContactServiceServer) AcceptLatestTermsAndConditions ¶
func (UnimplementedCustomerContactServiceServer) AcceptLatestTermsAndConditions(context.Context, *v2beta1.AcceptLatestTermsAndConditionsRequest) (*v2beta1.AcceptLatestTermsAndConditionsResponse, error)
func (UnimplementedCustomerContactServiceServer) GetAdvertisingInterests ¶
func (UnimplementedCustomerContactServiceServer) GetAdvertisingInterests(context.Context, *v2beta1.GetAdvertisingInterestsRequest) (*v2beta1.GetAdvertisingInterestsResponse, error)
func (UnimplementedCustomerContactServiceServer) HasAcceptedLatestTermsAndConditions ¶
func (UnimplementedCustomerContactServiceServer) HasAcceptedLatestTermsAndConditions(context.Context, *v2beta1.HasAcceptedLatestTermsAndConditionsRequest) (*v2beta1.HasAcceptedLatestTermsAndConditionsResponse, error)
func (UnimplementedCustomerContactServiceServer) SetAdvertisingInterests ¶
func (UnimplementedCustomerContactServiceServer) SetAdvertisingInterests(context.Context, *v2beta1.SetAdvertisingInterestsRequest) (*v2beta1.SetAdvertisingInterestsResponse, error)
type UnsafeCustomerContactServiceServer ¶
type UnsafeCustomerContactServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCustomerContactServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CustomerContactServiceServer will result in compilation errors.
Source Files
¶
- customer_contact_service_grpc.pb.go