members

package
v1.5.5-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: MIT Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_gds_members_v1alpha1_members_proto protoreflect.FileDescriptor
View Source
var TRISAMembers_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gds.members.v1alpha1.TRISAMembers",
	HandlerType: (*TRISAMembersServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _TRISAMembers_List_Handler,
		},
		{
			MethodName: "Summary",
			Handler:    _TRISAMembers_Summary_Handler,
		},
		{
			MethodName: "Details",
			Handler:    _TRISAMembers_Details_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gds/members/v1alpha1/members.proto",
}

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

Functions

func RegisterTRISAMembersServer

func RegisterTRISAMembersServer(s grpc.ServiceRegistrar, srv TRISAMembersServer)

Types

type DetailsRequest added in v1.5.0

type DetailsRequest struct {
	MemberId string `protobuf:"bytes,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	// contains filtered or unexported fields
}

DetailsRequest allows the caller to specify the VASP member to retrieve details for.

func (*DetailsRequest) Descriptor deprecated added in v1.5.0

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

Deprecated: Use DetailsRequest.ProtoReflect.Descriptor instead.

func (*DetailsRequest) GetMemberId added in v1.5.0

func (x *DetailsRequest) GetMemberId() string

func (*DetailsRequest) ProtoMessage added in v1.5.0

func (*DetailsRequest) ProtoMessage()

func (*DetailsRequest) ProtoReflect added in v1.5.0

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

func (*DetailsRequest) Reset added in v1.5.0

func (x *DetailsRequest) Reset()

func (*DetailsRequest) String added in v1.5.0

func (x *DetailsRequest) String() string

type ListReply

type ListReply struct {
	Vasps         []*VASPMember `protobuf:"bytes,1,rep,name=vasps,proto3" json:"vasps,omitempty"`                                        // a list of VASP information for the requested page
	NextPageToken string        `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // if specified, another page of results exists
	// contains filtered or unexported fields
}

ListReply returns an abbreviated listing of VASP details intended to facilitate p2p key exchanges or more detailed lookups against the Directory Service.

func (*ListReply) Descriptor deprecated

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

Deprecated: Use ListReply.ProtoReflect.Descriptor instead.

func (*ListReply) GetNextPageToken

func (x *ListReply) GetNextPageToken() string

func (*ListReply) GetVasps

func (x *ListReply) GetVasps() []*VASPMember

func (*ListReply) ProtoMessage

func (*ListReply) ProtoMessage()

func (*ListReply) ProtoReflect

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

func (*ListReply) Reset

func (x *ListReply) Reset()

func (*ListReply) String

func (x *ListReply) String() string

type ListRequest

type ListRequest struct {
	PageSize  int32  `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`   // specify the number of results per page, cannot change between page requests (default 100)
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // specify the page token to fetch the next page of results
	// contains filtered or unexported fields
}

ListRequest manages paginating the VASP listing. If there are more results than the specified page size, then the ListReply will return a page token; that token can be used to fetch the next page so long as the parameters of the original request are not modified (e.g. any filters or pagination parameters). See https://cloud.google.com/apis/design/design_patterns#list_pagination for more.

func (*ListRequest) Descriptor deprecated

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

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) GetPageSize

func (x *ListRequest) GetPageSize() int32

func (*ListRequest) GetPageToken

func (x *ListRequest) GetPageToken() string

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

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

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

type MemberDetails added in v1.5.0

type MemberDetails struct {

	// Summary information about the VASP member
	MemberSummary *VASPMember `protobuf:"bytes,1,opt,name=member_summary,json=memberSummary,proto3" json:"member_summary,omitempty"`
	// The IVMS101 legal person identifying the VASP member
	LegalPerson *ivms101.LegalPerson `protobuf:"bytes,2,opt,name=legal_person,json=legalPerson,proto3" json:"legal_person,omitempty"`
	// The TRIXO questionnaire used to register the VASP
	Trixo *v1beta1.TRIXOQuestionnaire `protobuf:"bytes,3,opt,name=trixo,proto3" json:"trixo,omitempty"`
	// contains filtered or unexported fields
}

MemberDetails returns details about the requested VASP member.

func (*MemberDetails) Descriptor deprecated added in v1.5.0

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

Deprecated: Use MemberDetails.ProtoReflect.Descriptor instead.

func (*MemberDetails) GetLegalPerson added in v1.5.0

func (x *MemberDetails) GetLegalPerson() *ivms101.LegalPerson

func (*MemberDetails) GetMemberSummary added in v1.5.0

func (x *MemberDetails) GetMemberSummary() *VASPMember

func (*MemberDetails) GetTrixo added in v1.5.0

func (x *MemberDetails) GetTrixo() *v1beta1.TRIXOQuestionnaire

func (*MemberDetails) ProtoMessage added in v1.5.0

func (*MemberDetails) ProtoMessage()

func (*MemberDetails) ProtoReflect added in v1.5.0

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

func (*MemberDetails) Reset added in v1.5.0

func (x *MemberDetails) Reset()

func (*MemberDetails) String added in v1.5.0

func (x *MemberDetails) String() string

type SummaryReply added in v1.5.0

type SummaryReply struct {

	// Counts of VASPs and certificates
	Vasps              int32 `protobuf:"varint,1,opt,name=vasps,proto3" json:"vasps,omitempty"`
	CertificatesIssued int32 `protobuf:"varint,2,opt,name=certificates_issued,json=certificatesIssued,proto3" json:"certificates_issued,omitempty"`
	NewMembers         int32 `protobuf:"varint,3,opt,name=new_members,json=newMembers,proto3" json:"new_members,omitempty"`
	// Details for the requested VASP
	MemberInfo *VASPMember `protobuf:"bytes,4,opt,name=member_info,json=memberInfo,proto3" json:"member_info,omitempty"`
	// contains filtered or unexported fields
}

SummaryReply returns summary info about the members in the Directory Service.

func (*SummaryReply) Descriptor deprecated added in v1.5.0

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

Deprecated: Use SummaryReply.ProtoReflect.Descriptor instead.

func (*SummaryReply) GetCertificatesIssued added in v1.5.0

func (x *SummaryReply) GetCertificatesIssued() int32

func (*SummaryReply) GetMemberInfo added in v1.5.0

func (x *SummaryReply) GetMemberInfo() *VASPMember

func (*SummaryReply) GetNewMembers added in v1.5.0

func (x *SummaryReply) GetNewMembers() int32

func (*SummaryReply) GetVasps added in v1.5.0

func (x *SummaryReply) GetVasps() int32

func (*SummaryReply) ProtoMessage added in v1.5.0

func (*SummaryReply) ProtoMessage()

func (*SummaryReply) ProtoReflect added in v1.5.0

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

func (*SummaryReply) Reset added in v1.5.0

func (x *SummaryReply) Reset()

func (*SummaryReply) String added in v1.5.0

func (x *SummaryReply) String() string

type SummaryRequest added in v1.5.0

type SummaryRequest struct {

	// The start date for determining how many members are new - optional
	Since string `protobuf:"bytes,1,opt,name=since,proto3" json:"since,omitempty"`
	// Include your VASP ID to return details about your VASP record in the summary - optional
	MemberId string `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
	// contains filtered or unexported fields
}

SummaryRequest allows the caller to specify parameters for the returned summary.

func (*SummaryRequest) Descriptor deprecated added in v1.5.0

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

Deprecated: Use SummaryRequest.ProtoReflect.Descriptor instead.

func (*SummaryRequest) GetMemberId added in v1.5.0

func (x *SummaryRequest) GetMemberId() string

func (*SummaryRequest) GetSince added in v1.5.0

func (x *SummaryRequest) GetSince() string

func (*SummaryRequest) ProtoMessage added in v1.5.0

func (*SummaryRequest) ProtoMessage()

func (*SummaryRequest) ProtoReflect added in v1.5.0

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

func (*SummaryRequest) Reset added in v1.5.0

func (x *SummaryRequest) Reset()

func (*SummaryRequest) String added in v1.5.0

func (x *SummaryRequest) String() string

type TRISAMembersClient

type TRISAMembersClient interface {
	// List all verified VASP members in the Directory Service.
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListReply, error)
	// Get a short summary of the verified VASP members in the Directory Service.
	Summary(ctx context.Context, in *SummaryRequest, opts ...grpc.CallOption) (*SummaryReply, error)
	// Get details for a VASP member in the Directory Service.
	Details(ctx context.Context, in *DetailsRequest, opts ...grpc.CallOption) (*MemberDetails, error)
}

TRISAMembersClient is the client API for TRISAMembers 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 TRISAMembersServer

type TRISAMembersServer interface {
	// List all verified VASP members in the Directory Service.
	List(context.Context, *ListRequest) (*ListReply, error)
	// Get a short summary of the verified VASP members in the Directory Service.
	Summary(context.Context, *SummaryRequest) (*SummaryReply, error)
	// Get details for a VASP member in the Directory Service.
	Details(context.Context, *DetailsRequest) (*MemberDetails, error)
	// contains filtered or unexported methods
}

TRISAMembersServer is the server API for TRISAMembers service. All implementations must embed UnimplementedTRISAMembersServer for forward compatibility

type UnimplementedTRISAMembersServer

type UnimplementedTRISAMembersServer struct {
}

UnimplementedTRISAMembersServer must be embedded to have forward compatible implementations.

func (UnimplementedTRISAMembersServer) Details added in v1.5.0

func (UnimplementedTRISAMembersServer) List

func (UnimplementedTRISAMembersServer) Summary added in v1.5.0

type UnsafeTRISAMembersServer

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

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

type VASPMember

type VASPMember struct {

	// The uniquely identifying components of the VASP in the directory service
	Id                  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	RegisteredDirectory string `protobuf:"bytes,2,opt,name=registered_directory,json=registeredDirectory,proto3" json:"registered_directory,omitempty"`
	CommonName          string `protobuf:"bytes,3,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
	// Address to connect to the remote VASP on to perform a TRISA request
	Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Extra details used to faciliate searches and matching
	Name             string                    `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Website          string                    `protobuf:"bytes,6,opt,name=website,proto3" json:"website,omitempty"`
	Country          string                    `protobuf:"bytes,7,opt,name=country,proto3" json:"country,omitempty"`
	BusinessCategory v1beta1.BusinessCategory  `` /* 157-byte string literal not displayed */
	VaspCategories   []string                  `protobuf:"bytes,9,rep,name=vasp_categories,json=vaspCategories,proto3" json:"vasp_categories,omitempty"`
	VerifiedOn       string                    `protobuf:"bytes,10,opt,name=verified_on,json=verifiedOn,proto3" json:"verified_on,omitempty"`
	Status           v1beta1.VerificationState `protobuf:"varint,11,opt,name=status,proto3,enum=trisa.gds.models.v1beta1.VerificationState" json:"status,omitempty"`
	FirstListed      string                    `protobuf:"bytes,12,opt,name=first_listed,json=firstListed,proto3" json:"first_listed,omitempty"`
	LastUpdated      string                    `protobuf:"bytes,13,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	// contains filtered or unexported fields
}

VASPMember is a lightweight data structure containing enough information to facilitate p2p exchanges or more detailed lookups against the Directory Service. Note: This should not contain any sensitive VASP information since it is returned on the publicly accessible List and Summary APIs.

func (*VASPMember) Descriptor deprecated

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

Deprecated: Use VASPMember.ProtoReflect.Descriptor instead.

func (*VASPMember) GetBusinessCategory

func (x *VASPMember) GetBusinessCategory() v1beta1.BusinessCategory

func (*VASPMember) GetCommonName

func (x *VASPMember) GetCommonName() string

func (*VASPMember) GetCountry

func (x *VASPMember) GetCountry() string

func (*VASPMember) GetEndpoint

func (x *VASPMember) GetEndpoint() string

func (*VASPMember) GetFirstListed added in v1.5.1

func (x *VASPMember) GetFirstListed() string

func (*VASPMember) GetId

func (x *VASPMember) GetId() string

func (*VASPMember) GetLastUpdated added in v1.5.1

func (x *VASPMember) GetLastUpdated() string

func (*VASPMember) GetName

func (x *VASPMember) GetName() string

func (*VASPMember) GetRegisteredDirectory

func (x *VASPMember) GetRegisteredDirectory() string

func (*VASPMember) GetStatus added in v1.5.0

func (x *VASPMember) GetStatus() v1beta1.VerificationState

func (*VASPMember) GetVaspCategories

func (x *VASPMember) GetVaspCategories() []string

func (*VASPMember) GetVerifiedOn

func (x *VASPMember) GetVerifiedOn() string

func (*VASPMember) GetWebsite

func (x *VASPMember) GetWebsite() string

func (*VASPMember) ProtoMessage

func (*VASPMember) ProtoMessage()

func (*VASPMember) ProtoReflect

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

func (*VASPMember) Reset

func (x *VASPMember) Reset()

func (*VASPMember) String

func (x *VASPMember) String() string

Jump to

Keyboard shortcuts

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