messaging

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 24 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AckMesssagesResponse_Result_name = map[int32]string{
		0: "OK",
	}
	AckMesssagesResponse_Result_value = map[string]int32{
		"OK": 0,
	}
)

Enum value maps for AckMesssagesResponse_Result.

View Source
var (
	SendMessageResponse_Result_name = map[int32]string{
		0: "OK",
		1: "NO_ACTIVE_STREAM",
	}
	SendMessageResponse_Result_value = map[string]int32{
		"OK":               0,
		"NO_ACTIVE_STREAM": 1,
	}
)

Enum value maps for SendMessageResponse_Result.

View Source
var File_messaging_v1_messaging_service_proto protoreflect.FileDescriptor
View Source
var Messaging_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "code.messaging.v1.Messaging",
	HandlerType: (*MessagingServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PollMessages",
			Handler:    _Messaging_PollMessages_Handler,
		},
		{
			MethodName: "AckMessages",
			Handler:    _Messaging_AckMessages_Handler,
		},
		{
			MethodName: "SendMessage",
			Handler:    _Messaging_SendMessage_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "OpenMessageStream",
			Handler:       _Messaging_OpenMessageStream_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "OpenMessageStreamWithKeepAlive",
			Handler:       _Messaging_OpenMessageStreamWithKeepAlive_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "messaging/v1/messaging_service.proto",
}

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

Functions

func RegisterMessagingServer

func RegisterMessagingServer(s grpc.ServiceRegistrar, srv MessagingServer)

Types

type AckMessagesRequest

type AckMessagesRequest struct {
	RendezvousKey *RendezvousKey `protobuf:"bytes,1,opt,name=rendezvous_key,json=rendezvousKey,proto3" json:"rendezvous_key,omitempty"`
	MessageIds    []*MessageId   `protobuf:"bytes,2,rep,name=message_ids,json=messageIds,proto3" json:"message_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*AckMessagesRequest) Descriptor deprecated

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

Deprecated: Use AckMessagesRequest.ProtoReflect.Descriptor instead.

func (*AckMessagesRequest) GetMessageIds

func (x *AckMessagesRequest) GetMessageIds() []*MessageId

func (*AckMessagesRequest) GetRendezvousKey

func (x *AckMessagesRequest) GetRendezvousKey() *RendezvousKey

func (*AckMessagesRequest) ProtoMessage

func (*AckMessagesRequest) ProtoMessage()

func (*AckMessagesRequest) ProtoReflect

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

func (*AckMessagesRequest) Reset

func (x *AckMessagesRequest) Reset()

func (*AckMessagesRequest) String

func (x *AckMessagesRequest) String() string

func (*AckMessagesRequest) Validate

func (m *AckMessagesRequest) Validate() error

Validate checks the field values on AckMessagesRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AckMessagesRequestValidationError

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

AckMessagesRequestValidationError is the validation error returned by AckMessagesRequest.Validate if the designated constraints aren't met.

func (AckMessagesRequestValidationError) Cause

Cause function returns cause value.

func (AckMessagesRequestValidationError) Error

Error satisfies the builtin error interface

func (AckMessagesRequestValidationError) ErrorName

ErrorName returns error name.

func (AckMessagesRequestValidationError) Field

Field function returns field value.

func (AckMessagesRequestValidationError) Key

Key function returns key value.

func (AckMessagesRequestValidationError) Reason

Reason function returns reason value.

type AckMesssagesResponse

type AckMesssagesResponse struct {
	Result AckMesssagesResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.messaging.v1.AckMesssagesResponse_Result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*AckMesssagesResponse) Descriptor deprecated

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

Deprecated: Use AckMesssagesResponse.ProtoReflect.Descriptor instead.

func (*AckMesssagesResponse) GetResult

func (*AckMesssagesResponse) ProtoMessage

func (*AckMesssagesResponse) ProtoMessage()

func (*AckMesssagesResponse) ProtoReflect

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

func (*AckMesssagesResponse) Reset

func (x *AckMesssagesResponse) Reset()

func (*AckMesssagesResponse) String

func (x *AckMesssagesResponse) String() string

func (*AckMesssagesResponse) Validate

func (m *AckMesssagesResponse) Validate() error

Validate checks the field values on AckMesssagesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AckMesssagesResponseValidationError

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

AckMesssagesResponseValidationError is the validation error returned by AckMesssagesResponse.Validate if the designated constraints aren't met.

func (AckMesssagesResponseValidationError) Cause

Cause function returns cause value.

func (AckMesssagesResponseValidationError) Error

Error satisfies the builtin error interface

func (AckMesssagesResponseValidationError) ErrorName

ErrorName returns error name.

func (AckMesssagesResponseValidationError) Field

Field function returns field value.

func (AckMesssagesResponseValidationError) Key

Key function returns key value.

func (AckMesssagesResponseValidationError) Reason

Reason function returns reason value.

type AckMesssagesResponse_Result

type AckMesssagesResponse_Result int32
const (
	AckMesssagesResponse_OK AckMesssagesResponse_Result = 0
)

func (AckMesssagesResponse_Result) Descriptor

func (AckMesssagesResponse_Result) Enum

func (AckMesssagesResponse_Result) EnumDescriptor deprecated

func (AckMesssagesResponse_Result) EnumDescriptor() ([]byte, []int)

Deprecated: Use AckMesssagesResponse_Result.Descriptor instead.

func (AckMesssagesResponse_Result) Number

func (AckMesssagesResponse_Result) String

func (AckMesssagesResponse_Result) Type

type AirdropReceived

type AirdropReceived struct {

	// The type of airdrop received
	AirdropType v2.AirdropType `` /* 132-byte string literal not displayed */
	// Exchange data relating to the amount of Kin and fiat value of the airdrop
	ExchangeData *v2.ExchangeData `protobuf:"bytes,2,opt,name=exchange_data,json=exchangeData,proto3" json:"exchange_data,omitempty"`
	// Time the airdrop was received
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

Client has received an aidrop from server

This message type is only initiated by server.

func (*AirdropReceived) Descriptor deprecated

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

Deprecated: Use AirdropReceived.ProtoReflect.Descriptor instead.

func (*AirdropReceived) GetAirdropType

func (x *AirdropReceived) GetAirdropType() v2.AirdropType

func (*AirdropReceived) GetExchangeData

func (x *AirdropReceived) GetExchangeData() *v2.ExchangeData

func (*AirdropReceived) GetTimestamp

func (x *AirdropReceived) GetTimestamp() *timestamppb.Timestamp

func (*AirdropReceived) ProtoMessage

func (*AirdropReceived) ProtoMessage()

func (*AirdropReceived) ProtoReflect

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

func (*AirdropReceived) Reset

func (x *AirdropReceived) Reset()

func (*AirdropReceived) String

func (x *AirdropReceived) String() string

func (*AirdropReceived) Validate

func (m *AirdropReceived) Validate() error

Validate checks the field values on AirdropReceived with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AirdropReceivedValidationError

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

AirdropReceivedValidationError is the validation error returned by AirdropReceived.Validate if the designated constraints aren't met.

func (AirdropReceivedValidationError) Cause

Cause function returns cause value.

func (AirdropReceivedValidationError) Error

Error satisfies the builtin error interface

func (AirdropReceivedValidationError) ErrorName

func (e AirdropReceivedValidationError) ErrorName() string

ErrorName returns error name.

func (AirdropReceivedValidationError) Field

Field function returns field value.

func (AirdropReceivedValidationError) Key

Key function returns key value.

func (AirdropReceivedValidationError) Reason

Reason function returns reason value.

type ClientPong

type ClientPong struct {

	// Timestamp the Pong was sent on the stream, for server to get a sense
	// of potential network latency
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientPong) Descriptor deprecated

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

Deprecated: Use ClientPong.ProtoReflect.Descriptor instead.

func (*ClientPong) GetTimestamp

func (x *ClientPong) GetTimestamp() *timestamppb.Timestamp

func (*ClientPong) ProtoMessage

func (*ClientPong) ProtoMessage()

func (*ClientPong) ProtoReflect

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

func (*ClientPong) Reset

func (x *ClientPong) Reset()

func (*ClientPong) String

func (x *ClientPong) String() string

func (*ClientPong) Validate

func (m *ClientPong) Validate() error

Validate checks the field values on ClientPong with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ClientPongValidationError

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

ClientPongValidationError is the validation error returned by ClientPong.Validate if the designated constraints aren't met.

func (ClientPongValidationError) Cause

func (e ClientPongValidationError) Cause() error

Cause function returns cause value.

func (ClientPongValidationError) Error

Error satisfies the builtin error interface

func (ClientPongValidationError) ErrorName

func (e ClientPongValidationError) ErrorName() string

ErrorName returns error name.

func (ClientPongValidationError) Field

Field function returns field value.

func (ClientPongValidationError) Key

Key function returns key value.

func (ClientPongValidationError) Reason

func (e ClientPongValidationError) Reason() string

Reason function returns reason value.

type ClientRejectedLogin added in v1.7.0

type ClientRejectedLogin struct {

	// Timestamp the login was rejected
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

Login is rejected by the client

This message type is only initiated by user clients

func (*ClientRejectedLogin) Descriptor deprecated added in v1.7.0

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

Deprecated: Use ClientRejectedLogin.ProtoReflect.Descriptor instead.

func (*ClientRejectedLogin) GetTimestamp added in v1.7.0

func (x *ClientRejectedLogin) GetTimestamp() *timestamppb.Timestamp

func (*ClientRejectedLogin) ProtoMessage added in v1.7.0

func (*ClientRejectedLogin) ProtoMessage()

func (*ClientRejectedLogin) ProtoReflect added in v1.7.0

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

func (*ClientRejectedLogin) Reset added in v1.7.0

func (x *ClientRejectedLogin) Reset()

func (*ClientRejectedLogin) String added in v1.7.0

func (x *ClientRejectedLogin) String() string

func (*ClientRejectedLogin) Validate added in v1.7.0

func (m *ClientRejectedLogin) Validate() error

Validate checks the field values on ClientRejectedLogin with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ClientRejectedLoginValidationError added in v1.7.0

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

ClientRejectedLoginValidationError is the validation error returned by ClientRejectedLogin.Validate if the designated constraints aren't met.

func (ClientRejectedLoginValidationError) Cause added in v1.7.0

Cause function returns cause value.

func (ClientRejectedLoginValidationError) Error added in v1.7.0

Error satisfies the builtin error interface

func (ClientRejectedLoginValidationError) ErrorName added in v1.7.0

ErrorName returns error name.

func (ClientRejectedLoginValidationError) Field added in v1.7.0

Field function returns field value.

func (ClientRejectedLoginValidationError) Key added in v1.7.0

Key function returns key value.

func (ClientRejectedLoginValidationError) Reason added in v1.7.0

Reason function returns reason value.

type ClientRejectedPayment

type ClientRejectedPayment struct {
	IntentId *v1.IntentId `protobuf:"bytes,1,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"`
	// contains filtered or unexported fields
}

Payment is rejected by the client

This message type is only initiated by clients

func (*ClientRejectedPayment) Descriptor deprecated

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

Deprecated: Use ClientRejectedPayment.ProtoReflect.Descriptor instead.

func (*ClientRejectedPayment) GetIntentId

func (x *ClientRejectedPayment) GetIntentId() *v1.IntentId

func (*ClientRejectedPayment) ProtoMessage

func (*ClientRejectedPayment) ProtoMessage()

func (*ClientRejectedPayment) ProtoReflect

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

func (*ClientRejectedPayment) Reset

func (x *ClientRejectedPayment) Reset()

func (*ClientRejectedPayment) String

func (x *ClientRejectedPayment) String() string

func (*ClientRejectedPayment) Validate

func (m *ClientRejectedPayment) Validate() error

Validate checks the field values on ClientRejectedPayment with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ClientRejectedPaymentValidationError

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

ClientRejectedPaymentValidationError is the validation error returned by ClientRejectedPayment.Validate if the designated constraints aren't met.

func (ClientRejectedPaymentValidationError) Cause

Cause function returns cause value.

func (ClientRejectedPaymentValidationError) Error

Error satisfies the builtin error interface

func (ClientRejectedPaymentValidationError) ErrorName

ErrorName returns error name.

func (ClientRejectedPaymentValidationError) Field

Field function returns field value.

func (ClientRejectedPaymentValidationError) Key

Key function returns key value.

func (ClientRejectedPaymentValidationError) Reason

Reason function returns reason value.

type CodeScanned

type CodeScanned struct {

	// Timestamp the client scanned the code
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

A status update on a stream to indicate a scan code was scanned. This can appear multiple times for the same stream.

This message type is only initiated by client

func (*CodeScanned) Descriptor deprecated

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

Deprecated: Use CodeScanned.ProtoReflect.Descriptor instead.

func (*CodeScanned) GetTimestamp

func (x *CodeScanned) GetTimestamp() *timestamppb.Timestamp

func (*CodeScanned) ProtoMessage

func (*CodeScanned) ProtoMessage()

func (*CodeScanned) ProtoReflect

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

func (*CodeScanned) Reset

func (x *CodeScanned) Reset()

func (*CodeScanned) String

func (x *CodeScanned) String() string

func (*CodeScanned) Validate

func (m *CodeScanned) Validate() error

Validate checks the field values on CodeScanned with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CodeScannedValidationError

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

CodeScannedValidationError is the validation error returned by CodeScanned.Validate if the designated constraints aren't met.

func (CodeScannedValidationError) Cause

Cause function returns cause value.

func (CodeScannedValidationError) Error

Error satisfies the builtin error interface

func (CodeScannedValidationError) ErrorName

func (e CodeScannedValidationError) ErrorName() string

ErrorName returns error name.

func (CodeScannedValidationError) Field

Field function returns field value.

func (CodeScannedValidationError) Key

Key function returns key value.

func (CodeScannedValidationError) Reason

Reason function returns reason value.

type IntentSubmitted

type IntentSubmitted struct {
	IntentId *v1.IntentId `protobuf:"bytes,1,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"`
	// Metadata is available for intents where it can be safely propagated publicly.
	// Anything else requires an additional authenticated RPC call (eg. login).
	Metadata *v2.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Intent was submitted via SubmitIntent

This message type is only initiated by server

func (*IntentSubmitted) Descriptor deprecated

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

Deprecated: Use IntentSubmitted.ProtoReflect.Descriptor instead.

func (*IntentSubmitted) GetIntentId

func (x *IntentSubmitted) GetIntentId() *v1.IntentId

func (*IntentSubmitted) GetMetadata

func (x *IntentSubmitted) GetMetadata() *v2.Metadata

func (*IntentSubmitted) ProtoMessage

func (*IntentSubmitted) ProtoMessage()

func (*IntentSubmitted) ProtoReflect

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

func (*IntentSubmitted) Reset

func (x *IntentSubmitted) Reset()

func (*IntentSubmitted) String

func (x *IntentSubmitted) String() string

func (*IntentSubmitted) Validate

func (m *IntentSubmitted) Validate() error

Validate checks the field values on IntentSubmitted with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type IntentSubmittedValidationError

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

IntentSubmittedValidationError is the validation error returned by IntentSubmitted.Validate if the designated constraints aren't met.

func (IntentSubmittedValidationError) Cause

Cause function returns cause value.

func (IntentSubmittedValidationError) Error

Error satisfies the builtin error interface

func (IntentSubmittedValidationError) ErrorName

func (e IntentSubmittedValidationError) ErrorName() string

ErrorName returns error name.

func (IntentSubmittedValidationError) Field

Field function returns field value.

func (IntentSubmittedValidationError) Key

Key function returns key value.

func (IntentSubmittedValidationError) Reason

Reason function returns reason value.

type Message

type Message struct {

	// MessageId is the Id of the message. This ID is generated by the
	// server, and will _always_ be set when receiving a message.
	//
	// Server generates the message to:
	//  1. Reserve the ability for any future ID changes
	//  2. Prevent clients attempting to collide message IDs.
	Id *MessageId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The signature sent from SendMessageRequest, which will be injected by server.
	// This enables clients to ensure no MITM attacks were performed to hijack contents
	// of the typed message. This is only applicable for messages not generated by server.
	SendMessageRequestSignature *v1.Signature `` /* 146-byte string literal not displayed */
	// Next field number is 13
	//
	// Types that are assignable to Kind:
	//
	//	*Message_RequestToGrabBill
	//	*Message_RequestToReceiveBill
	//	*Message_CodeScanned
	//	*Message_ClientRejectedPayment
	//	*Message_IntentSubmitted
	//	*Message_WebhookCalled
	//	*Message_RequestToLogin
	//	*Message_ClientRejectedLogin
	//	*Message_AirdropReceived
	Kind isMessage_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetAirdropReceived

func (x *Message) GetAirdropReceived() *AirdropReceived

func (*Message) GetClientRejectedLogin added in v1.7.0

func (x *Message) GetClientRejectedLogin() *ClientRejectedLogin

func (*Message) GetClientRejectedPayment

func (x *Message) GetClientRejectedPayment() *ClientRejectedPayment

func (*Message) GetCodeScanned

func (x *Message) GetCodeScanned() *CodeScanned

func (*Message) GetId

func (x *Message) GetId() *MessageId

func (*Message) GetIntentSubmitted

func (x *Message) GetIntentSubmitted() *IntentSubmitted

func (*Message) GetKind

func (m *Message) GetKind() isMessage_Kind

func (*Message) GetRequestToGrabBill

func (x *Message) GetRequestToGrabBill() *RequestToGrabBill

func (*Message) GetRequestToLogin

func (x *Message) GetRequestToLogin() *RequestToLogin

func (*Message) GetRequestToReceiveBill

func (x *Message) GetRequestToReceiveBill() *RequestToReceiveBill

func (*Message) GetSendMessageRequestSignature

func (x *Message) GetSendMessageRequestSignature() *v1.Signature

func (*Message) GetWebhookCalled

func (x *Message) GetWebhookCalled() *WebhookCalled

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

func (*Message) Validate

func (m *Message) Validate() error

Validate checks the field values on Message with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MessageId

type MessageId struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

MessageId identifies a message. It is only guaranteed to be unique when paired with a destination (i.e. the rendezvous public key).

func (*MessageId) Descriptor deprecated

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

Deprecated: Use MessageId.ProtoReflect.Descriptor instead.

func (*MessageId) GetValue

func (x *MessageId) GetValue() []byte

func (*MessageId) ProtoMessage

func (*MessageId) ProtoMessage()

func (*MessageId) ProtoReflect

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

func (*MessageId) Reset

func (x *MessageId) Reset()

func (*MessageId) String

func (x *MessageId) String() string

func (*MessageId) Validate

func (m *MessageId) Validate() error

Validate checks the field values on MessageId with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MessageIdValidationError

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

MessageIdValidationError is the validation error returned by MessageId.Validate if the designated constraints aren't met.

func (MessageIdValidationError) Cause

func (e MessageIdValidationError) Cause() error

Cause function returns cause value.

func (MessageIdValidationError) Error

func (e MessageIdValidationError) Error() string

Error satisfies the builtin error interface

func (MessageIdValidationError) ErrorName

func (e MessageIdValidationError) ErrorName() string

ErrorName returns error name.

func (MessageIdValidationError) Field

func (e MessageIdValidationError) Field() string

Field function returns field value.

func (MessageIdValidationError) Key

Key function returns key value.

func (MessageIdValidationError) Reason

func (e MessageIdValidationError) Reason() string

Reason function returns reason value.

type MessageValidationError

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

MessageValidationError is the validation error returned by Message.Validate if the designated constraints aren't met.

func (MessageValidationError) Cause

func (e MessageValidationError) Cause() error

Cause function returns cause value.

func (MessageValidationError) Error

func (e MessageValidationError) Error() string

Error satisfies the builtin error interface

func (MessageValidationError) ErrorName

func (e MessageValidationError) ErrorName() string

ErrorName returns error name.

func (MessageValidationError) Field

func (e MessageValidationError) Field() string

Field function returns field value.

func (MessageValidationError) Key

func (e MessageValidationError) Key() bool

Key function returns key value.

func (MessageValidationError) Reason

func (e MessageValidationError) Reason() string

Reason function returns reason value.

type Message_AirdropReceived

type Message_AirdropReceived struct {
	AirdropReceived *AirdropReceived `protobuf:"bytes,4,opt,name=airdrop_received,json=airdropReceived,proto3,oneof"`
}

type Message_ClientRejectedLogin added in v1.7.0

type Message_ClientRejectedLogin struct {
	ClientRejectedLogin *ClientRejectedLogin `protobuf:"bytes,12,opt,name=client_rejected_login,json=clientRejectedLogin,proto3,oneof"`
}

type Message_ClientRejectedPayment

type Message_ClientRejectedPayment struct {
	ClientRejectedPayment *ClientRejectedPayment `protobuf:"bytes,7,opt,name=client_rejected_payment,json=clientRejectedPayment,proto3,oneof"`
}

type Message_CodeScanned

type Message_CodeScanned struct {
	CodeScanned *CodeScanned `protobuf:"bytes,6,opt,name=code_scanned,json=codeScanned,proto3,oneof"`
}

type Message_IntentSubmitted

type Message_IntentSubmitted struct {
	IntentSubmitted *IntentSubmitted `protobuf:"bytes,8,opt,name=intent_submitted,json=intentSubmitted,proto3,oneof"`
}

type Message_RequestToGrabBill

type Message_RequestToGrabBill struct {
	RequestToGrabBill *RequestToGrabBill `protobuf:"bytes,2,opt,name=request_to_grab_bill,json=requestToGrabBill,proto3,oneof"`
}

type Message_RequestToLogin

type Message_RequestToLogin struct {
	RequestToLogin *RequestToLogin `protobuf:"bytes,10,opt,name=request_to_login,json=requestToLogin,proto3,oneof"`
}

type Message_RequestToReceiveBill

type Message_RequestToReceiveBill struct {
	RequestToReceiveBill *RequestToReceiveBill `protobuf:"bytes,5,opt,name=request_to_receive_bill,json=requestToReceiveBill,proto3,oneof"`
}

type Message_WebhookCalled

type Message_WebhookCalled struct {
	WebhookCalled *WebhookCalled `protobuf:"bytes,9,opt,name=webhook_called,json=webhookCalled,proto3,oneof"`
}

type MessagingClient

type MessagingClient interface {
	// OpenMessageStream opens a stream of messages. Messages are routed using the
	// public key of a rendezvous keypair derived by both the sender and the
	// recipient of the messages. The sender may be a client or server.
	//
	// Messages are expected to be acked once they have been processed by the client.
	// Ack'd messages will no longer be delivered on future OpenMessageStream calls,
	// and are eligible for deletion from the service. Clients should, however, handle
	// duplicate delivery of messages.
	//
	// For grabbing a bill, the expected flow is as follows:
	//  1. The payment sender creates a cash scan code
	//  2. The payment sender calls OpenMessageStream on the rendezvous public key, which is
	//     derived by using sha256(scan payload) as the keypair seed.
	//  3. The payment recipient scans the code and uses SendMessage to send their account ID
	//     back to the sender via the rendezvous public key.
	//  4. The payment sender receives the message, submits the intent, and closes the stream.
	//
	// For receiving a bill of requested value, the expected flow is as follows:
	//  1. The payment recipient uses SendMessage to send their account ID and payment amount to
	//     the sender via the rendezvous public key, which is derived by using sha256(scan payload)
	//     as the keypair seed.
	//  2. The payment recipient calls OpenMessageStream on the rendezvous public key to listen
	//     for status messages generated by client/server. It must ignore the original message it sent
	//     as part of step 1.
	//  3. The payment recipient creates a payment request scan code
	//  4. The payment sender calls PollMessages on the rendezvous public key. This is ok because
	//     we know the message exists per step 1, and doesn't actually incur a long poll. This is a
	//     required hack because we don't have the infrastructure in place to allow multiple listens
	//     on the same stream, and the recipient needs real-time status updates.
	//  5. The payment sender receives the message (any status messages are ignored), and submits the
	//     intent.
	//  6. The payment recipient observes status message (eg. IntentSubmitted, ClientRejectedPayment,
	//     WebhookCalled) for payment state.
	//  7. The payment recipient closes the stream once the payment hits a terminal state, or times out.
	//
	// For logging in, the expected flow is as follows:
	//  1. The third party uses SendMessage to send their login challenge to the user via the rendezvous
	//     public key, which is derived by using sha256(scan payload) as the keypair seed.
	//  2. The third party calls OpenMessageStream on the rendezvous public key to listen for status
	//     messages generated by server. It must ignore the original message it sent as part of step 1.
	//  3. The third party creates a login scan code
	//  4. The user logging in calls PollMessages on the rendezvous public key. This is ok because
	//     we know the message exists per step 1, and doesn't actually incur a long poll. This is a
	//     required hack because we don't have the infrastructure in place to allow multiple listens
	//     on the same stream, and the recipient needs real-time status updates.
	//  5. The user logging in receives the message (any status messages are ignored), verifies it,
	//     then submits a login attempt.
	//  6. The third party observes status message (eg. IntentSubmitted, ClientRejectedLogin,
	//     WebhookCalled) for login state.
	//  7. The third party closes the stream once the login hits a terminal state, or times out.
	OpenMessageStream(ctx context.Context, in *OpenMessageStreamRequest, opts ...grpc.CallOption) (Messaging_OpenMessageStreamClient, error)
	// OpenMessageStreamWithKeepAlive is like OpenMessageStream, but enables a ping/pong
	// keepalive to determine the health of the stream at both the client and server.
	//
	// The keepalive protocol is as follows:
	//  1. Client initiates a stream by sending an OpenMessageStreamRequest.
	//  2. Upon stream initialization, server begins the keepalive protocol.
	//  3. Server sends a ping to the client.
	//  4. Client responds with a pong as fast as possible, making note of
	//     the delay for when to expect the next ping.
	//  5. Steps 3 and 4 are repeated until the stream is explicitly terminated
	//     or is deemed to be unhealthy.
	//
	// Client notes:
	//   - Client should be careful to process messages async, so any responses to pings are
	//     not delayed.
	//   - Clients should implement a reasonable backoff strategy upon continued timeout failures.
	//   - Clients that abuse pong messages may have their streams terminated by server.
	//
	// At any point in the stream, server will respond with messages in real time as
	// they are observed. Messages sent over the stream should not affect the ping/pong
	// protocol timings. Individual protocols for payment flows remain the same, and are
	// documented in OpenMessageStream.
	//
	// Note: This API will enforce OpenMessageStreamRequest.signature is set as part of migration
	//
	//	to this newer protocol
	OpenMessageStreamWithKeepAlive(ctx context.Context, opts ...grpc.CallOption) (Messaging_OpenMessageStreamWithKeepAliveClient, error)
	// PollMessages is like OpenMessageStream, but uses a polling flow for receiving
	// messages. Updates are not real-time and depedent on the polling interval.
	// This RPC supports all message types.
	//
	// This is a temporary RPC until OpenMessageStream can be built out generically on
	// both client and server, while supporting things like multiple listeners.
	PollMessages(ctx context.Context, in *PollMessagesRequest, opts ...grpc.CallOption) (*PollMessagesResponse, error)
	// AckMessages acks one or more messages that have been successfully delivered to
	// the client.
	AckMessages(ctx context.Context, in *AckMessagesRequest, opts ...grpc.CallOption) (*AckMesssagesResponse, error)
	// SendMessage sends a message.
	SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*SendMessageResponse, error)
}

MessagingClient is the client API for Messaging 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 NewMessagingClient

func NewMessagingClient(cc grpc.ClientConnInterface) MessagingClient

type MessagingServer

type MessagingServer interface {
	// OpenMessageStream opens a stream of messages. Messages are routed using the
	// public key of a rendezvous keypair derived by both the sender and the
	// recipient of the messages. The sender may be a client or server.
	//
	// Messages are expected to be acked once they have been processed by the client.
	// Ack'd messages will no longer be delivered on future OpenMessageStream calls,
	// and are eligible for deletion from the service. Clients should, however, handle
	// duplicate delivery of messages.
	//
	// For grabbing a bill, the expected flow is as follows:
	//  1. The payment sender creates a cash scan code
	//  2. The payment sender calls OpenMessageStream on the rendezvous public key, which is
	//     derived by using sha256(scan payload) as the keypair seed.
	//  3. The payment recipient scans the code and uses SendMessage to send their account ID
	//     back to the sender via the rendezvous public key.
	//  4. The payment sender receives the message, submits the intent, and closes the stream.
	//
	// For receiving a bill of requested value, the expected flow is as follows:
	//  1. The payment recipient uses SendMessage to send their account ID and payment amount to
	//     the sender via the rendezvous public key, which is derived by using sha256(scan payload)
	//     as the keypair seed.
	//  2. The payment recipient calls OpenMessageStream on the rendezvous public key to listen
	//     for status messages generated by client/server. It must ignore the original message it sent
	//     as part of step 1.
	//  3. The payment recipient creates a payment request scan code
	//  4. The payment sender calls PollMessages on the rendezvous public key. This is ok because
	//     we know the message exists per step 1, and doesn't actually incur a long poll. This is a
	//     required hack because we don't have the infrastructure in place to allow multiple listens
	//     on the same stream, and the recipient needs real-time status updates.
	//  5. The payment sender receives the message (any status messages are ignored), and submits the
	//     intent.
	//  6. The payment recipient observes status message (eg. IntentSubmitted, ClientRejectedPayment,
	//     WebhookCalled) for payment state.
	//  7. The payment recipient closes the stream once the payment hits a terminal state, or times out.
	//
	// For logging in, the expected flow is as follows:
	//  1. The third party uses SendMessage to send their login challenge to the user via the rendezvous
	//     public key, which is derived by using sha256(scan payload) as the keypair seed.
	//  2. The third party calls OpenMessageStream on the rendezvous public key to listen for status
	//     messages generated by server. It must ignore the original message it sent as part of step 1.
	//  3. The third party creates a login scan code
	//  4. The user logging in calls PollMessages on the rendezvous public key. This is ok because
	//     we know the message exists per step 1, and doesn't actually incur a long poll. This is a
	//     required hack because we don't have the infrastructure in place to allow multiple listens
	//     on the same stream, and the recipient needs real-time status updates.
	//  5. The user logging in receives the message (any status messages are ignored), verifies it,
	//     then submits a login attempt.
	//  6. The third party observes status message (eg. IntentSubmitted, ClientRejectedLogin,
	//     WebhookCalled) for login state.
	//  7. The third party closes the stream once the login hits a terminal state, or times out.
	OpenMessageStream(*OpenMessageStreamRequest, Messaging_OpenMessageStreamServer) error
	// OpenMessageStreamWithKeepAlive is like OpenMessageStream, but enables a ping/pong
	// keepalive to determine the health of the stream at both the client and server.
	//
	// The keepalive protocol is as follows:
	//  1. Client initiates a stream by sending an OpenMessageStreamRequest.
	//  2. Upon stream initialization, server begins the keepalive protocol.
	//  3. Server sends a ping to the client.
	//  4. Client responds with a pong as fast as possible, making note of
	//     the delay for when to expect the next ping.
	//  5. Steps 3 and 4 are repeated until the stream is explicitly terminated
	//     or is deemed to be unhealthy.
	//
	// Client notes:
	//   - Client should be careful to process messages async, so any responses to pings are
	//     not delayed.
	//   - Clients should implement a reasonable backoff strategy upon continued timeout failures.
	//   - Clients that abuse pong messages may have their streams terminated by server.
	//
	// At any point in the stream, server will respond with messages in real time as
	// they are observed. Messages sent over the stream should not affect the ping/pong
	// protocol timings. Individual protocols for payment flows remain the same, and are
	// documented in OpenMessageStream.
	//
	// Note: This API will enforce OpenMessageStreamRequest.signature is set as part of migration
	//
	//	to this newer protocol
	OpenMessageStreamWithKeepAlive(Messaging_OpenMessageStreamWithKeepAliveServer) error
	// PollMessages is like OpenMessageStream, but uses a polling flow for receiving
	// messages. Updates are not real-time and depedent on the polling interval.
	// This RPC supports all message types.
	//
	// This is a temporary RPC until OpenMessageStream can be built out generically on
	// both client and server, while supporting things like multiple listeners.
	PollMessages(context.Context, *PollMessagesRequest) (*PollMessagesResponse, error)
	// AckMessages acks one or more messages that have been successfully delivered to
	// the client.
	AckMessages(context.Context, *AckMessagesRequest) (*AckMesssagesResponse, error)
	// SendMessage sends a message.
	SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
	// contains filtered or unexported methods
}

MessagingServer is the server API for Messaging service. All implementations must embed UnimplementedMessagingServer for forward compatibility

type Messaging_OpenMessageStreamClient

type Messaging_OpenMessageStreamClient interface {
	Recv() (*OpenMessageStreamResponse, error)
	grpc.ClientStream
}

type Messaging_OpenMessageStreamServer

type Messaging_OpenMessageStreamServer interface {
	Send(*OpenMessageStreamResponse) error
	grpc.ServerStream
}

type OpenMessageStreamRequest

type OpenMessageStreamRequest struct {
	RendezvousKey *RendezvousKey `protobuf:"bytes,1,opt,name=rendezvous_key,json=rendezvousKey,proto3" json:"rendezvous_key,omitempty"`
	// The signature is of serialize(OpenMessageStreamRequest) using rendezvous_key.
	//
	// todo: Make required once clients migrate
	Signature *v1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenMessageStreamRequest) Descriptor deprecated

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

Deprecated: Use OpenMessageStreamRequest.ProtoReflect.Descriptor instead.

func (*OpenMessageStreamRequest) GetRendezvousKey

func (x *OpenMessageStreamRequest) GetRendezvousKey() *RendezvousKey

func (*OpenMessageStreamRequest) GetSignature

func (x *OpenMessageStreamRequest) GetSignature() *v1.Signature

func (*OpenMessageStreamRequest) ProtoMessage

func (*OpenMessageStreamRequest) ProtoMessage()

func (*OpenMessageStreamRequest) ProtoReflect

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

func (*OpenMessageStreamRequest) Reset

func (x *OpenMessageStreamRequest) Reset()

func (*OpenMessageStreamRequest) String

func (x *OpenMessageStreamRequest) String() string

func (*OpenMessageStreamRequest) Validate

func (m *OpenMessageStreamRequest) Validate() error

Validate checks the field values on OpenMessageStreamRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type OpenMessageStreamRequestValidationError

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

OpenMessageStreamRequestValidationError is the validation error returned by OpenMessageStreamRequest.Validate if the designated constraints aren't met.

func (OpenMessageStreamRequestValidationError) Cause

Cause function returns cause value.

func (OpenMessageStreamRequestValidationError) Error

Error satisfies the builtin error interface

func (OpenMessageStreamRequestValidationError) ErrorName

ErrorName returns error name.

func (OpenMessageStreamRequestValidationError) Field

Field function returns field value.

func (OpenMessageStreamRequestValidationError) Key

Key function returns key value.

func (OpenMessageStreamRequestValidationError) Reason

Reason function returns reason value.

type OpenMessageStreamResponse

type OpenMessageStreamResponse struct {
	Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenMessageStreamResponse) Descriptor deprecated

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

Deprecated: Use OpenMessageStreamResponse.ProtoReflect.Descriptor instead.

func (*OpenMessageStreamResponse) GetMessages

func (x *OpenMessageStreamResponse) GetMessages() []*Message

func (*OpenMessageStreamResponse) ProtoMessage

func (*OpenMessageStreamResponse) ProtoMessage()

func (*OpenMessageStreamResponse) ProtoReflect

func (*OpenMessageStreamResponse) Reset

func (x *OpenMessageStreamResponse) Reset()

func (*OpenMessageStreamResponse) String

func (x *OpenMessageStreamResponse) String() string

func (*OpenMessageStreamResponse) Validate

func (m *OpenMessageStreamResponse) Validate() error

Validate checks the field values on OpenMessageStreamResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type OpenMessageStreamResponseValidationError

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

OpenMessageStreamResponseValidationError is the validation error returned by OpenMessageStreamResponse.Validate if the designated constraints aren't met.

func (OpenMessageStreamResponseValidationError) Cause

Cause function returns cause value.

func (OpenMessageStreamResponseValidationError) Error

Error satisfies the builtin error interface

func (OpenMessageStreamResponseValidationError) ErrorName

ErrorName returns error name.

func (OpenMessageStreamResponseValidationError) Field

Field function returns field value.

func (OpenMessageStreamResponseValidationError) Key

Key function returns key value.

func (OpenMessageStreamResponseValidationError) Reason

Reason function returns reason value.

type OpenMessageStreamWithKeepAliveRequest

type OpenMessageStreamWithKeepAliveRequest struct {

	// Types that are assignable to RequestOrPong:
	//
	//	*OpenMessageStreamWithKeepAliveRequest_Request
	//	*OpenMessageStreamWithKeepAliveRequest_Pong
	RequestOrPong isOpenMessageStreamWithKeepAliveRequest_RequestOrPong `protobuf_oneof:"requestOrPong"`
	// contains filtered or unexported fields
}

func (*OpenMessageStreamWithKeepAliveRequest) Descriptor deprecated

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

Deprecated: Use OpenMessageStreamWithKeepAliveRequest.ProtoReflect.Descriptor instead.

func (*OpenMessageStreamWithKeepAliveRequest) GetPong

func (*OpenMessageStreamWithKeepAliveRequest) GetRequest

func (*OpenMessageStreamWithKeepAliveRequest) GetRequestOrPong

func (m *OpenMessageStreamWithKeepAliveRequest) GetRequestOrPong() isOpenMessageStreamWithKeepAliveRequest_RequestOrPong

func (*OpenMessageStreamWithKeepAliveRequest) ProtoMessage

func (*OpenMessageStreamWithKeepAliveRequest) ProtoMessage()

func (*OpenMessageStreamWithKeepAliveRequest) ProtoReflect

func (*OpenMessageStreamWithKeepAliveRequest) Reset

func (*OpenMessageStreamWithKeepAliveRequest) String

func (*OpenMessageStreamWithKeepAliveRequest) Validate

Validate checks the field values on OpenMessageStreamWithKeepAliveRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type OpenMessageStreamWithKeepAliveRequestValidationError

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

OpenMessageStreamWithKeepAliveRequestValidationError is the validation error returned by OpenMessageStreamWithKeepAliveRequest.Validate if the designated constraints aren't met.

func (OpenMessageStreamWithKeepAliveRequestValidationError) Cause

Cause function returns cause value.

func (OpenMessageStreamWithKeepAliveRequestValidationError) Error

Error satisfies the builtin error interface

func (OpenMessageStreamWithKeepAliveRequestValidationError) ErrorName

ErrorName returns error name.

func (OpenMessageStreamWithKeepAliveRequestValidationError) Field

Field function returns field value.

func (OpenMessageStreamWithKeepAliveRequestValidationError) Key

Key function returns key value.

func (OpenMessageStreamWithKeepAliveRequestValidationError) Reason

Reason function returns reason value.

type OpenMessageStreamWithKeepAliveRequest_Pong

type OpenMessageStreamWithKeepAliveRequest_Pong struct {
	Pong *ClientPong `protobuf:"bytes,2,opt,name=pong,proto3,oneof"`
}

type OpenMessageStreamWithKeepAliveRequest_Request

type OpenMessageStreamWithKeepAliveRequest_Request struct {
	Request *OpenMessageStreamRequest `protobuf:"bytes,1,opt,name=request,proto3,oneof"`
}

type OpenMessageStreamWithKeepAliveResponse

type OpenMessageStreamWithKeepAliveResponse struct {

	// Types that are assignable to ResponseOrPing:
	//
	//	*OpenMessageStreamWithKeepAliveResponse_Response
	//	*OpenMessageStreamWithKeepAliveResponse_Ping
	ResponseOrPing isOpenMessageStreamWithKeepAliveResponse_ResponseOrPing `protobuf_oneof:"responseOrPing"`
	// contains filtered or unexported fields
}

func (*OpenMessageStreamWithKeepAliveResponse) Descriptor deprecated

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

Deprecated: Use OpenMessageStreamWithKeepAliveResponse.ProtoReflect.Descriptor instead.

func (*OpenMessageStreamWithKeepAliveResponse) GetPing

func (*OpenMessageStreamWithKeepAliveResponse) GetResponse

func (*OpenMessageStreamWithKeepAliveResponse) GetResponseOrPing

func (m *OpenMessageStreamWithKeepAliveResponse) GetResponseOrPing() isOpenMessageStreamWithKeepAliveResponse_ResponseOrPing

func (*OpenMessageStreamWithKeepAliveResponse) ProtoMessage

func (*OpenMessageStreamWithKeepAliveResponse) ProtoReflect

func (*OpenMessageStreamWithKeepAliveResponse) Reset

func (*OpenMessageStreamWithKeepAliveResponse) String

func (*OpenMessageStreamWithKeepAliveResponse) Validate

Validate checks the field values on OpenMessageStreamWithKeepAliveResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type OpenMessageStreamWithKeepAliveResponseValidationError

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

OpenMessageStreamWithKeepAliveResponseValidationError is the validation error returned by OpenMessageStreamWithKeepAliveResponse.Validate if the designated constraints aren't met.

func (OpenMessageStreamWithKeepAliveResponseValidationError) Cause

Cause function returns cause value.

func (OpenMessageStreamWithKeepAliveResponseValidationError) Error

Error satisfies the builtin error interface

func (OpenMessageStreamWithKeepAliveResponseValidationError) ErrorName

ErrorName returns error name.

func (OpenMessageStreamWithKeepAliveResponseValidationError) Field

Field function returns field value.

func (OpenMessageStreamWithKeepAliveResponseValidationError) Key

Key function returns key value.

func (OpenMessageStreamWithKeepAliveResponseValidationError) Reason

Reason function returns reason value.

type OpenMessageStreamWithKeepAliveResponse_Ping

type OpenMessageStreamWithKeepAliveResponse_Ping struct {
	Ping *ServerPing `protobuf:"bytes,2,opt,name=ping,proto3,oneof"`
}

type OpenMessageStreamWithKeepAliveResponse_Response

type OpenMessageStreamWithKeepAliveResponse_Response struct {
	Response *OpenMessageStreamResponse `protobuf:"bytes,1,opt,name=response,proto3,oneof"`
}

type PollMessagesRequest

type PollMessagesRequest struct {
	RendezvousKey *RendezvousKey `protobuf:"bytes,1,opt,name=rendezvous_key,json=rendezvousKey,proto3" json:"rendezvous_key,omitempty"`
	// The signature is of serialize(PollMessagesRequest) using rendezvous_key.
	Signature *v1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*PollMessagesRequest) Descriptor deprecated

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

Deprecated: Use PollMessagesRequest.ProtoReflect.Descriptor instead.

func (*PollMessagesRequest) GetRendezvousKey

func (x *PollMessagesRequest) GetRendezvousKey() *RendezvousKey

func (*PollMessagesRequest) GetSignature

func (x *PollMessagesRequest) GetSignature() *v1.Signature

func (*PollMessagesRequest) ProtoMessage

func (*PollMessagesRequest) ProtoMessage()

func (*PollMessagesRequest) ProtoReflect

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

func (*PollMessagesRequest) Reset

func (x *PollMessagesRequest) Reset()

func (*PollMessagesRequest) String

func (x *PollMessagesRequest) String() string

func (*PollMessagesRequest) Validate

func (m *PollMessagesRequest) Validate() error

Validate checks the field values on PollMessagesRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PollMessagesRequestValidationError

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

PollMessagesRequestValidationError is the validation error returned by PollMessagesRequest.Validate if the designated constraints aren't met.

func (PollMessagesRequestValidationError) Cause

Cause function returns cause value.

func (PollMessagesRequestValidationError) Error

Error satisfies the builtin error interface

func (PollMessagesRequestValidationError) ErrorName

ErrorName returns error name.

func (PollMessagesRequestValidationError) Field

Field function returns field value.

func (PollMessagesRequestValidationError) Key

Key function returns key value.

func (PollMessagesRequestValidationError) Reason

Reason function returns reason value.

type PollMessagesResponse

type PollMessagesResponse struct {
	Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*PollMessagesResponse) Descriptor deprecated

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

Deprecated: Use PollMessagesResponse.ProtoReflect.Descriptor instead.

func (*PollMessagesResponse) GetMessages

func (x *PollMessagesResponse) GetMessages() []*Message

func (*PollMessagesResponse) ProtoMessage

func (*PollMessagesResponse) ProtoMessage()

func (*PollMessagesResponse) ProtoReflect

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

func (*PollMessagesResponse) Reset

func (x *PollMessagesResponse) Reset()

func (*PollMessagesResponse) String

func (x *PollMessagesResponse) String() string

func (*PollMessagesResponse) Validate

func (m *PollMessagesResponse) Validate() error

Validate checks the field values on PollMessagesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PollMessagesResponseValidationError

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

PollMessagesResponseValidationError is the validation error returned by PollMessagesResponse.Validate if the designated constraints aren't met.

func (PollMessagesResponseValidationError) Cause

Cause function returns cause value.

func (PollMessagesResponseValidationError) Error

Error satisfies the builtin error interface

func (PollMessagesResponseValidationError) ErrorName

ErrorName returns error name.

func (PollMessagesResponseValidationError) Field

Field function returns field value.

func (PollMessagesResponseValidationError) Key

Key function returns key value.

func (PollMessagesResponseValidationError) Reason

Reason function returns reason value.

type RendezvousKey

type RendezvousKey struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

RendezvousKey is a unique key pair, typically derived from a scan code payload, which is used to establish a secure communication channel anonymously to coordinate a flow using messages.

func (*RendezvousKey) Descriptor deprecated

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

Deprecated: Use RendezvousKey.ProtoReflect.Descriptor instead.

func (*RendezvousKey) GetValue

func (x *RendezvousKey) GetValue() []byte

func (*RendezvousKey) ProtoMessage

func (*RendezvousKey) ProtoMessage()

func (*RendezvousKey) ProtoReflect

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

func (*RendezvousKey) Reset

func (x *RendezvousKey) Reset()

func (*RendezvousKey) String

func (x *RendezvousKey) String() string

func (*RendezvousKey) Validate

func (m *RendezvousKey) Validate() error

Validate checks the field values on RendezvousKey with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RendezvousKeyValidationError

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

RendezvousKeyValidationError is the validation error returned by RendezvousKey.Validate if the designated constraints aren't met.

func (RendezvousKeyValidationError) Cause

Cause function returns cause value.

func (RendezvousKeyValidationError) Error

Error satisfies the builtin error interface

func (RendezvousKeyValidationError) ErrorName

func (e RendezvousKeyValidationError) ErrorName() string

ErrorName returns error name.

func (RendezvousKeyValidationError) Field

Field function returns field value.

func (RendezvousKeyValidationError) Key

Key function returns key value.

func (RendezvousKeyValidationError) Reason

Reason function returns reason value.

type RequestToGrabBill

type RequestToGrabBill struct {

	// Requestor is the Kin token account on Solana to which a payment should be sent.
	RequestorAccount *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=requestor_account,json=requestorAccount,proto3" json:"requestor_account,omitempty"`
	// contains filtered or unexported fields
}

Request that a pulled out bill be sent to the requested address.

This message type is only initiated by clients.

func (*RequestToGrabBill) Descriptor deprecated

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

Deprecated: Use RequestToGrabBill.ProtoReflect.Descriptor instead.

func (*RequestToGrabBill) GetRequestorAccount

func (x *RequestToGrabBill) GetRequestorAccount() *v1.SolanaAccountId

func (*RequestToGrabBill) ProtoMessage

func (*RequestToGrabBill) ProtoMessage()

func (*RequestToGrabBill) ProtoReflect

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

func (*RequestToGrabBill) Reset

func (x *RequestToGrabBill) Reset()

func (*RequestToGrabBill) String

func (x *RequestToGrabBill) String() string

func (*RequestToGrabBill) Validate

func (m *RequestToGrabBill) Validate() error

Validate checks the field values on RequestToGrabBill with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RequestToGrabBillValidationError

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

RequestToGrabBillValidationError is the validation error returned by RequestToGrabBill.Validate if the designated constraints aren't met.

func (RequestToGrabBillValidationError) Cause

Cause function returns cause value.

func (RequestToGrabBillValidationError) Error

Error satisfies the builtin error interface

func (RequestToGrabBillValidationError) ErrorName

ErrorName returns error name.

func (RequestToGrabBillValidationError) Field

Field function returns field value.

func (RequestToGrabBillValidationError) Key

Key function returns key value.

func (RequestToGrabBillValidationError) Reason

Reason function returns reason value.

type RequestToLogin

type RequestToLogin struct {

	// The third-party's domain name, which is its primary identifier. Server
	// guarantees to perform domain verification against the verifier account.
	//
	// Clients should expect subdomains for future feature compatiblity, but must
	// use the ASCII base domain in the RELATIONSHIP account derivation strategy.
	Domain *v1.Domain `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	// Owner account owned by the third party used in domain verification.
	Verifier *v1.SolanaAccountId `protobuf:"bytes,4,opt,name=verifier,proto3" json:"verifier,omitempty"`
	// Signature of this message using the verifier private key, which in addition
	// to domain verification, authenticates the third party.
	Signature *v1.Signature `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
	// Rendezvous key to avoid replay attacks
	RendezvousKey *RendezvousKey `protobuf:"bytes,6,opt,name=rendezvous_key,json=rendezvousKey,proto3" json:"rendezvous_key,omitempty"`
	// contains filtered or unexported fields
}

Request that an account logs in

This message type is only initiated by third-parties through the SDK.

func (*RequestToLogin) Descriptor deprecated

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

Deprecated: Use RequestToLogin.ProtoReflect.Descriptor instead.

func (*RequestToLogin) GetDomain

func (x *RequestToLogin) GetDomain() *v1.Domain

func (*RequestToLogin) GetRendezvousKey

func (x *RequestToLogin) GetRendezvousKey() *RendezvousKey

func (*RequestToLogin) GetSignature

func (x *RequestToLogin) GetSignature() *v1.Signature

func (*RequestToLogin) GetVerifier

func (x *RequestToLogin) GetVerifier() *v1.SolanaAccountId

func (*RequestToLogin) ProtoMessage

func (*RequestToLogin) ProtoMessage()

func (*RequestToLogin) ProtoReflect

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

func (*RequestToLogin) Reset

func (x *RequestToLogin) Reset()

func (*RequestToLogin) String

func (x *RequestToLogin) String() string

func (*RequestToLogin) Validate

func (m *RequestToLogin) Validate() error

Validate checks the field values on RequestToLogin with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RequestToLoginValidationError

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

RequestToLoginValidationError is the validation error returned by RequestToLogin.Validate if the designated constraints aren't met.

func (RequestToLoginValidationError) Cause

Cause function returns cause value.

func (RequestToLoginValidationError) Error

Error satisfies the builtin error interface

func (RequestToLoginValidationError) ErrorName

func (e RequestToLoginValidationError) ErrorName() string

ErrorName returns error name.

func (RequestToLoginValidationError) Field

Field function returns field value.

func (RequestToLoginValidationError) Key

Key function returns key value.

func (RequestToLoginValidationError) Reason

Reason function returns reason value.

type RequestToReceiveBill

type RequestToReceiveBill struct {

	// Requestor is the Kin token account on Solana to which a payment should be sent.
	RequestorAccount *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=requestor_account,json=requestorAccount,proto3" json:"requestor_account,omitempty"`
	// The exchange data for the requested bill value.
	//
	// Types that are assignable to ExchangeData:
	//
	//	*RequestToReceiveBill_Exact
	//	*RequestToReceiveBill_Partial
	ExchangeData isRequestToReceiveBill_ExchangeData `protobuf_oneof:"exchange_data"`
	// The third-party's domain name, which is its primary identifier. Server
	// guarantees to perform domain verification against the verifier account.
	Domain *v1.Domain `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
	// Owner account owned by the third party used in domain verification.
	Verifier *v1.SolanaAccountId `protobuf:"bytes,5,opt,name=verifier,proto3" json:"verifier,omitempty"`
	// Signature of this message using the verifier private key, which in addition
	// to domain verification, authenticates the third party.
	Signature *v1.Signature `protobuf:"bytes,6,opt,name=signature,proto3" json:"signature,omitempty"`
	// Rendezvous key to avoid replay attacks
	RendezvousKey *RendezvousKey `protobuf:"bytes,7,opt,name=rendezvous_key,json=rendezvousKey,proto3" json:"rendezvous_key,omitempty"`
	// Additional fee payments splitting the requested amount. This is in addition
	// to the hard-coded Code $0.01 USD fee.
	AdditionalFees []*v2.AdditionalFeePayment `protobuf:"bytes,8,rep,name=additional_fees,json=additionalFees,proto3" json:"additional_fees,omitempty"`
	// contains filtered or unexported fields
}

Request that a bill of a requested value is created and sent to the requested address.

This message type is only initiated by clients.

func (*RequestToReceiveBill) Descriptor deprecated

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

Deprecated: Use RequestToReceiveBill.ProtoReflect.Descriptor instead.

func (*RequestToReceiveBill) GetAdditionalFees added in v1.10.0

func (x *RequestToReceiveBill) GetAdditionalFees() []*v2.AdditionalFeePayment

func (*RequestToReceiveBill) GetDomain

func (x *RequestToReceiveBill) GetDomain() *v1.Domain

func (*RequestToReceiveBill) GetExact

func (x *RequestToReceiveBill) GetExact() *v2.ExchangeData

func (*RequestToReceiveBill) GetExchangeData

func (m *RequestToReceiveBill) GetExchangeData() isRequestToReceiveBill_ExchangeData

func (*RequestToReceiveBill) GetPartial

func (*RequestToReceiveBill) GetRendezvousKey

func (x *RequestToReceiveBill) GetRendezvousKey() *RendezvousKey

func (*RequestToReceiveBill) GetRequestorAccount

func (x *RequestToReceiveBill) GetRequestorAccount() *v1.SolanaAccountId

func (*RequestToReceiveBill) GetSignature

func (x *RequestToReceiveBill) GetSignature() *v1.Signature

func (*RequestToReceiveBill) GetVerifier

func (x *RequestToReceiveBill) GetVerifier() *v1.SolanaAccountId

func (*RequestToReceiveBill) ProtoMessage

func (*RequestToReceiveBill) ProtoMessage()

func (*RequestToReceiveBill) ProtoReflect

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

func (*RequestToReceiveBill) Reset

func (x *RequestToReceiveBill) Reset()

func (*RequestToReceiveBill) String

func (x *RequestToReceiveBill) String() string

func (*RequestToReceiveBill) Validate

func (m *RequestToReceiveBill) Validate() error

Validate checks the field values on RequestToReceiveBill with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RequestToReceiveBillValidationError

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

RequestToReceiveBillValidationError is the validation error returned by RequestToReceiveBill.Validate if the designated constraints aren't met.

func (RequestToReceiveBillValidationError) Cause

Cause function returns cause value.

func (RequestToReceiveBillValidationError) Error

Error satisfies the builtin error interface

func (RequestToReceiveBillValidationError) ErrorName

ErrorName returns error name.

func (RequestToReceiveBillValidationError) Field

Field function returns field value.

func (RequestToReceiveBillValidationError) Key

Key function returns key value.

func (RequestToReceiveBillValidationError) Reason

Reason function returns reason value.

type RequestToReceiveBill_Exact

type RequestToReceiveBill_Exact struct {
	// An exact amount of Kin. Payment is guaranteed to transfer the specified
	// quarks in the requested currency and exchange rate.
	//
	// Only supports Kin. Use exchange_data.partial for fiat amounts.
	Exact *v2.ExchangeData `protobuf:"bytes,2,opt,name=exact,proto3,oneof"`
}

type RequestToReceiveBill_Partial

type RequestToReceiveBill_Partial struct {
	// Fiat amount request. The amount of Kin is determined at time of payment
	// with a recent exchange rate provided by the paying client and validatd
	// by server.
	//
	// Only supports fiat amounts. Use exchange_data.exact for Kin.
	Partial *v2.ExchangeDataWithoutRate `protobuf:"bytes,3,opt,name=partial,proto3,oneof"`
}

type SendMessageRequest

type SendMessageRequest struct {

	// The message to send. Types of messages clients can send are restricted.
	Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// The rendezvous key that the message should be routed to.
	RendezvousKey *RendezvousKey `protobuf:"bytes,2,opt,name=rendezvous_key,json=rendezvousKey,proto3" json:"rendezvous_key,omitempty"`
	// The signature is of serialize(Message) using the PrivateKey of the keypair.
	Signature *v1.Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*SendMessageRequest) Descriptor deprecated

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

Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.

func (*SendMessageRequest) GetMessage

func (x *SendMessageRequest) GetMessage() *Message

func (*SendMessageRequest) GetRendezvousKey

func (x *SendMessageRequest) GetRendezvousKey() *RendezvousKey

func (*SendMessageRequest) GetSignature

func (x *SendMessageRequest) GetSignature() *v1.Signature

func (*SendMessageRequest) ProtoMessage

func (*SendMessageRequest) ProtoMessage()

func (*SendMessageRequest) ProtoReflect

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

func (*SendMessageRequest) Reset

func (x *SendMessageRequest) Reset()

func (*SendMessageRequest) String

func (x *SendMessageRequest) String() string

func (*SendMessageRequest) Validate

func (m *SendMessageRequest) Validate() error

Validate checks the field values on SendMessageRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SendMessageRequestValidationError

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

SendMessageRequestValidationError is the validation error returned by SendMessageRequest.Validate if the designated constraints aren't met.

func (SendMessageRequestValidationError) Cause

Cause function returns cause value.

func (SendMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendMessageRequestValidationError) Field

Field function returns field value.

func (SendMessageRequestValidationError) Key

Key function returns key value.

func (SendMessageRequestValidationError) Reason

Reason function returns reason value.

type SendMessageResponse

type SendMessageResponse struct {
	Result SendMessageResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.messaging.v1.SendMessageResponse_Result" json:"result,omitempty"`
	// Set if result == OK.
	MessageId *MessageId `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SendMessageResponse) Descriptor deprecated

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

Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.

func (*SendMessageResponse) GetMessageId

func (x *SendMessageResponse) GetMessageId() *MessageId

func (*SendMessageResponse) GetResult

func (*SendMessageResponse) ProtoMessage

func (*SendMessageResponse) ProtoMessage()

func (*SendMessageResponse) ProtoReflect

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

func (*SendMessageResponse) Reset

func (x *SendMessageResponse) Reset()

func (*SendMessageResponse) String

func (x *SendMessageResponse) String() string

func (*SendMessageResponse) Validate

func (m *SendMessageResponse) Validate() error

Validate checks the field values on SendMessageResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SendMessageResponseValidationError

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

SendMessageResponseValidationError is the validation error returned by SendMessageResponse.Validate if the designated constraints aren't met.

func (SendMessageResponseValidationError) Cause

Cause function returns cause value.

func (SendMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendMessageResponseValidationError) Field

Field function returns field value.

func (SendMessageResponseValidationError) Key

Key function returns key value.

func (SendMessageResponseValidationError) Reason

Reason function returns reason value.

type SendMessageResponse_Result

type SendMessageResponse_Result int32
const (
	SendMessageResponse_OK               SendMessageResponse_Result = 0
	SendMessageResponse_NO_ACTIVE_STREAM SendMessageResponse_Result = 1
)

func (SendMessageResponse_Result) Descriptor

func (SendMessageResponse_Result) Enum

func (SendMessageResponse_Result) EnumDescriptor deprecated

func (SendMessageResponse_Result) EnumDescriptor() ([]byte, []int)

Deprecated: Use SendMessageResponse_Result.Descriptor instead.

func (SendMessageResponse_Result) Number

func (SendMessageResponse_Result) String

func (SendMessageResponse_Result) Type

type ServerPing

type ServerPing struct {

	// Timestamp the ping was sent on the stream, for client to get a sense
	// of potential network latency
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The delay server will apply before sending the next ping
	PingDelay *durationpb.Duration `protobuf:"bytes,2,opt,name=ping_delay,json=pingDelay,proto3" json:"ping_delay,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerPing) Descriptor deprecated

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

Deprecated: Use ServerPing.ProtoReflect.Descriptor instead.

func (*ServerPing) GetPingDelay

func (x *ServerPing) GetPingDelay() *durationpb.Duration

func (*ServerPing) GetTimestamp

func (x *ServerPing) GetTimestamp() *timestamppb.Timestamp

func (*ServerPing) ProtoMessage

func (*ServerPing) ProtoMessage()

func (*ServerPing) ProtoReflect

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

func (*ServerPing) Reset

func (x *ServerPing) Reset()

func (*ServerPing) String

func (x *ServerPing) String() string

func (*ServerPing) Validate

func (m *ServerPing) Validate() error

Validate checks the field values on ServerPing with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ServerPingValidationError

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

ServerPingValidationError is the validation error returned by ServerPing.Validate if the designated constraints aren't met.

func (ServerPingValidationError) Cause

func (e ServerPingValidationError) Cause() error

Cause function returns cause value.

func (ServerPingValidationError) Error

Error satisfies the builtin error interface

func (ServerPingValidationError) ErrorName

func (e ServerPingValidationError) ErrorName() string

ErrorName returns error name.

func (ServerPingValidationError) Field

Field function returns field value.

func (ServerPingValidationError) Key

Key function returns key value.

func (ServerPingValidationError) Reason

func (e ServerPingValidationError) Reason() string

Reason function returns reason value.

type UnimplementedMessagingServer

type UnimplementedMessagingServer struct {
}

UnimplementedMessagingServer must be embedded to have forward compatible implementations.

func (UnimplementedMessagingServer) AckMessages

func (UnimplementedMessagingServer) OpenMessageStreamWithKeepAlive

func (UnimplementedMessagingServer) PollMessages

func (UnimplementedMessagingServer) SendMessage

type UnsafeMessagingServer

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

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

type WebhookCalled

type WebhookCalled struct {

	// Estimated time webhook was received
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

Webhook was successfully called

This message type is only initiated by server

func (*WebhookCalled) Descriptor deprecated

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

Deprecated: Use WebhookCalled.ProtoReflect.Descriptor instead.

func (*WebhookCalled) GetTimestamp

func (x *WebhookCalled) GetTimestamp() *timestamppb.Timestamp

func (*WebhookCalled) ProtoMessage

func (*WebhookCalled) ProtoMessage()

func (*WebhookCalled) ProtoReflect

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

func (*WebhookCalled) Reset

func (x *WebhookCalled) Reset()

func (*WebhookCalled) String

func (x *WebhookCalled) String() string

func (*WebhookCalled) Validate

func (m *WebhookCalled) Validate() error

Validate checks the field values on WebhookCalled with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type WebhookCalledValidationError

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

WebhookCalledValidationError is the validation error returned by WebhookCalled.Validate if the designated constraints aren't met.

func (WebhookCalledValidationError) Cause

Cause function returns cause value.

func (WebhookCalledValidationError) Error

Error satisfies the builtin error interface

func (WebhookCalledValidationError) ErrorName

func (e WebhookCalledValidationError) ErrorName() string

ErrorName returns error name.

func (WebhookCalledValidationError) Field

Field function returns field value.

func (WebhookCalledValidationError) Key

Key function returns key value.

func (WebhookCalledValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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