Documentation ¶
Overview ¶
Package entitypb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func RegisterEntityServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterEntityServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EntityServiceClient) error
- func RegisterEntityServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterEntityServiceServer(s *grpc.Server, srv EntityServiceServer)
- type EntityCreatePayload
- func (*EntityCreatePayload) Descriptor() ([]byte, []int)
- func (m *EntityCreatePayload) GetData() *EntityData
- func (m *EntityCreatePayload) GetReadAccess() *document.ReadAccess
- func (m *EntityCreatePayload) GetWriteAccess() *document.WriteAccess
- func (*EntityCreatePayload) ProtoMessage()
- func (m *EntityCreatePayload) Reset()
- func (m *EntityCreatePayload) String() string
- func (m *EntityCreatePayload) XXX_DiscardUnknown()
- func (m *EntityCreatePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EntityCreatePayload) XXX_Merge(src proto.Message)
- func (m *EntityCreatePayload) XXX_Size() int
- func (m *EntityCreatePayload) XXX_Unmarshal(b []byte) error
- type EntityData
- func (*EntityData) Descriptor() ([]byte, []int)
- func (m *EntityData) GetAddresses() []*entity.Address
- func (m *EntityData) GetContacts() []*entity.Contact
- func (m *EntityData) GetIdentity() string
- func (m *EntityData) GetLegalName() string
- func (m *EntityData) GetPaymentDetails() []*entity.PaymentDetail
- func (*EntityData) ProtoMessage()
- func (m *EntityData) Reset()
- func (m *EntityData) String() string
- func (m *EntityData) XXX_DiscardUnknown()
- func (m *EntityData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EntityData) XXX_Merge(src proto.Message)
- func (m *EntityData) XXX_Size() int
- func (m *EntityData) XXX_Unmarshal(b []byte) error
- type EntityDataResponse
- func (*EntityDataResponse) Descriptor() ([]byte, []int)
- func (m *EntityDataResponse) GetEntity() *EntityData
- func (m *EntityDataResponse) GetRelationships() []*Relationship
- func (*EntityDataResponse) ProtoMessage()
- func (m *EntityDataResponse) Reset()
- func (m *EntityDataResponse) String() string
- func (m *EntityDataResponse) XXX_DiscardUnknown()
- func (m *EntityDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EntityDataResponse) XXX_Merge(src proto.Message)
- func (m *EntityDataResponse) XXX_Size() int
- func (m *EntityDataResponse) XXX_Unmarshal(b []byte) error
- type EntityResponse
- func (*EntityResponse) Descriptor() ([]byte, []int)
- func (m *EntityResponse) GetData() *EntityDataResponse
- func (m *EntityResponse) GetHeader() *document.ResponseHeader
- func (*EntityResponse) ProtoMessage()
- func (m *EntityResponse) Reset()
- func (m *EntityResponse) String() string
- func (m *EntityResponse) XXX_DiscardUnknown()
- func (m *EntityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EntityResponse) XXX_Merge(src proto.Message)
- func (m *EntityResponse) XXX_Size() int
- func (m *EntityResponse) XXX_Unmarshal(b []byte) error
- type EntityServiceClient
- type EntityServiceServer
- type EntityUpdatePayload
- func (*EntityUpdatePayload) Descriptor() ([]byte, []int)
- func (m *EntityUpdatePayload) GetData() *EntityData
- func (m *EntityUpdatePayload) GetIdentifier() string
- func (m *EntityUpdatePayload) GetReadAccess() *document.ReadAccess
- func (m *EntityUpdatePayload) GetWriteAccess() *document.WriteAccess
- func (*EntityUpdatePayload) ProtoMessage()
- func (m *EntityUpdatePayload) Reset()
- func (m *EntityUpdatePayload) String() string
- func (m *EntityUpdatePayload) XXX_DiscardUnknown()
- func (m *EntityUpdatePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EntityUpdatePayload) XXX_Merge(src proto.Message)
- func (m *EntityUpdatePayload) XXX_Size() int
- func (m *EntityUpdatePayload) XXX_Unmarshal(b []byte) error
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (m *GetRequest) GetIdentifier() string
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) String() string
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type GetRequestRelationship
- func (*GetRequestRelationship) Descriptor() ([]byte, []int)
- func (m *GetRequestRelationship) GetRelationshipIdentifier() string
- func (*GetRequestRelationship) ProtoMessage()
- func (m *GetRequestRelationship) Reset()
- func (m *GetRequestRelationship) String() string
- func (m *GetRequestRelationship) XXX_DiscardUnknown()
- func (m *GetRequestRelationship) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRequestRelationship) XXX_Merge(src proto.Message)
- func (m *GetRequestRelationship) XXX_Size() int
- func (m *GetRequestRelationship) XXX_Unmarshal(b []byte) error
- type GetVersionRequest
- func (*GetVersionRequest) Descriptor() ([]byte, []int)
- func (m *GetVersionRequest) GetIdentifier() string
- func (m *GetVersionRequest) GetVersion() string
- func (*GetVersionRequest) ProtoMessage()
- func (m *GetVersionRequest) Reset()
- func (m *GetVersionRequest) String() string
- func (m *GetVersionRequest) XXX_DiscardUnknown()
- func (m *GetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetVersionRequest) XXX_Merge(src proto.Message)
- func (m *GetVersionRequest) XXX_Size() int
- func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error
- type Relationship
- func (*Relationship) Descriptor() ([]byte, []int)
- func (m *Relationship) GetActive() bool
- func (m *Relationship) GetIdentity() string
- func (*Relationship) ProtoMessage()
- func (m *Relationship) Reset()
- func (m *Relationship) String() string
- func (m *Relationship) XXX_DiscardUnknown()
- func (m *Relationship) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Relationship) XXX_Merge(src proto.Message)
- func (m *Relationship) XXX_Size() int
- func (m *Relationship) XXX_Unmarshal(b []byte) error
- type RelationshipData
- func (*RelationshipData) Descriptor() ([]byte, []int)
- func (m *RelationshipData) GetEntityIdentifier() string
- func (m *RelationshipData) GetOwnerIdentity() string
- func (m *RelationshipData) GetTargetIdentity() string
- func (*RelationshipData) ProtoMessage()
- func (m *RelationshipData) Reset()
- func (m *RelationshipData) String() string
- func (m *RelationshipData) XXX_DiscardUnknown()
- func (m *RelationshipData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RelationshipData) XXX_Merge(src proto.Message)
- func (m *RelationshipData) XXX_Size() int
- func (m *RelationshipData) XXX_Unmarshal(b []byte) error
- type RelationshipPayload
- func (*RelationshipPayload) Descriptor() ([]byte, []int)
- func (m *RelationshipPayload) GetIdentifier() string
- func (m *RelationshipPayload) GetTargetIdentity() string
- func (*RelationshipPayload) ProtoMessage()
- func (m *RelationshipPayload) Reset()
- func (m *RelationshipPayload) String() string
- func (m *RelationshipPayload) XXX_DiscardUnknown()
- func (m *RelationshipPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RelationshipPayload) XXX_Merge(src proto.Message)
- func (m *RelationshipPayload) XXX_Size() int
- func (m *RelationshipPayload) XXX_Unmarshal(b []byte) error
- type RelationshipResponse
- func (*RelationshipResponse) Descriptor() ([]byte, []int)
- func (m *RelationshipResponse) GetHeader() *document.ResponseHeader
- func (m *RelationshipResponse) GetRelationship() []*RelationshipData
- func (*RelationshipResponse) ProtoMessage()
- func (m *RelationshipResponse) Reset()
- func (m *RelationshipResponse) String() string
- func (m *RelationshipResponse) XXX_DiscardUnknown()
- func (m *RelationshipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RelationshipResponse) XXX_Merge(src proto.Message)
- func (m *RelationshipResponse) XXX_Size() int
- func (m *RelationshipResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterEntityServiceHandler ¶
func RegisterEntityServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterEntityServiceHandler registers the http handlers for service EntityService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterEntityServiceHandlerClient ¶
func RegisterEntityServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EntityServiceClient) error
RegisterEntityServiceHandlerClient registers the http handlers for service EntityService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "EntityServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "EntityServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "EntityServiceClient" to call the correct interceptors.
func RegisterEntityServiceHandlerFromEndpoint ¶
func RegisterEntityServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterEntityServiceHandlerFromEndpoint is same as RegisterEntityServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterEntityServiceServer ¶
func RegisterEntityServiceServer(s *grpc.Server, srv EntityServiceServer)
Types ¶
type EntityCreatePayload ¶
type EntityCreatePayload struct { ReadAccess *document.ReadAccess `protobuf:"bytes,1,opt,name=read_access,json=readAccess,proto3" json:"read_access,omitempty"` WriteAccess *document.WriteAccess `protobuf:"bytes,2,opt,name=write_access,json=writeAccess,proto3" json:"write_access,omitempty"` Data *EntityData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EntityCreatePayload) Descriptor ¶
func (*EntityCreatePayload) Descriptor() ([]byte, []int)
func (*EntityCreatePayload) GetData ¶
func (m *EntityCreatePayload) GetData() *EntityData
func (*EntityCreatePayload) GetReadAccess ¶
func (m *EntityCreatePayload) GetReadAccess() *document.ReadAccess
func (*EntityCreatePayload) GetWriteAccess ¶
func (m *EntityCreatePayload) GetWriteAccess() *document.WriteAccess
func (*EntityCreatePayload) ProtoMessage ¶
func (*EntityCreatePayload) ProtoMessage()
func (*EntityCreatePayload) Reset ¶
func (m *EntityCreatePayload) Reset()
func (*EntityCreatePayload) String ¶
func (m *EntityCreatePayload) String() string
func (*EntityCreatePayload) XXX_DiscardUnknown ¶
func (m *EntityCreatePayload) XXX_DiscardUnknown()
func (*EntityCreatePayload) XXX_Marshal ¶
func (m *EntityCreatePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EntityCreatePayload) XXX_Merge ¶
func (m *EntityCreatePayload) XXX_Merge(src proto.Message)
func (*EntityCreatePayload) XXX_Size ¶
func (m *EntityCreatePayload) XXX_Size() int
func (*EntityCreatePayload) XXX_Unmarshal ¶
func (m *EntityCreatePayload) XXX_Unmarshal(b []byte) error
type EntityData ¶
type EntityData struct { Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` LegalName string `protobuf:"bytes,2,opt,name=legal_name,json=legalName,proto3" json:"legal_name,omitempty"` // address Addresses []*entity.Address `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"` // tax information PaymentDetails []*entity.PaymentDetail `protobuf:"bytes,4,rep,name=payment_details,json=paymentDetails,proto3" json:"payment_details,omitempty"` // Entity contact list Contacts []*entity.Contact `protobuf:"bytes,5,rep,name=contacts,proto3" json:"contacts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
EntityData is the default entity schema
func (*EntityData) Descriptor ¶
func (*EntityData) Descriptor() ([]byte, []int)
func (*EntityData) GetAddresses ¶
func (m *EntityData) GetAddresses() []*entity.Address
func (*EntityData) GetContacts ¶
func (m *EntityData) GetContacts() []*entity.Contact
func (*EntityData) GetIdentity ¶
func (m *EntityData) GetIdentity() string
func (*EntityData) GetLegalName ¶
func (m *EntityData) GetLegalName() string
func (*EntityData) GetPaymentDetails ¶
func (m *EntityData) GetPaymentDetails() []*entity.PaymentDetail
func (*EntityData) ProtoMessage ¶
func (*EntityData) ProtoMessage()
func (*EntityData) Reset ¶
func (m *EntityData) Reset()
func (*EntityData) String ¶
func (m *EntityData) String() string
func (*EntityData) XXX_DiscardUnknown ¶
func (m *EntityData) XXX_DiscardUnknown()
func (*EntityData) XXX_Marshal ¶
func (m *EntityData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EntityData) XXX_Merge ¶
func (m *EntityData) XXX_Merge(src proto.Message)
func (*EntityData) XXX_Size ¶
func (m *EntityData) XXX_Size() int
func (*EntityData) XXX_Unmarshal ¶
func (m *EntityData) XXX_Unmarshal(b []byte) error
type EntityDataResponse ¶
type EntityDataResponse struct { Entity *EntityData `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` Relationships []*Relationship `protobuf:"bytes,2,rep,name=relationships,proto3" json:"relationships,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Entity Relationships
func (*EntityDataResponse) Descriptor ¶
func (*EntityDataResponse) Descriptor() ([]byte, []int)
func (*EntityDataResponse) GetEntity ¶
func (m *EntityDataResponse) GetEntity() *EntityData
func (*EntityDataResponse) GetRelationships ¶
func (m *EntityDataResponse) GetRelationships() []*Relationship
func (*EntityDataResponse) ProtoMessage ¶
func (*EntityDataResponse) ProtoMessage()
func (*EntityDataResponse) Reset ¶
func (m *EntityDataResponse) Reset()
func (*EntityDataResponse) String ¶
func (m *EntityDataResponse) String() string
func (*EntityDataResponse) XXX_DiscardUnknown ¶
func (m *EntityDataResponse) XXX_DiscardUnknown()
func (*EntityDataResponse) XXX_Marshal ¶
func (m *EntityDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EntityDataResponse) XXX_Merge ¶
func (m *EntityDataResponse) XXX_Merge(src proto.Message)
func (*EntityDataResponse) XXX_Size ¶
func (m *EntityDataResponse) XXX_Size() int
func (*EntityDataResponse) XXX_Unmarshal ¶
func (m *EntityDataResponse) XXX_Unmarshal(b []byte) error
type EntityResponse ¶
type EntityResponse struct { Header *document.ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Data *EntityDataResponse `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EntityResponse) Descriptor ¶
func (*EntityResponse) Descriptor() ([]byte, []int)
func (*EntityResponse) GetData ¶
func (m *EntityResponse) GetData() *EntityDataResponse
func (*EntityResponse) GetHeader ¶
func (m *EntityResponse) GetHeader() *document.ResponseHeader
func (*EntityResponse) ProtoMessage ¶
func (*EntityResponse) ProtoMessage()
func (*EntityResponse) Reset ¶
func (m *EntityResponse) Reset()
func (*EntityResponse) String ¶
func (m *EntityResponse) String() string
func (*EntityResponse) XXX_DiscardUnknown ¶
func (m *EntityResponse) XXX_DiscardUnknown()
func (*EntityResponse) XXX_Marshal ¶
func (m *EntityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EntityResponse) XXX_Merge ¶
func (m *EntityResponse) XXX_Merge(src proto.Message)
func (*EntityResponse) XXX_Size ¶
func (m *EntityResponse) XXX_Size() int
func (*EntityResponse) XXX_Unmarshal ¶
func (m *EntityResponse) XXX_Unmarshal(b []byte) error
type EntityServiceClient ¶
type EntityServiceClient interface { Create(ctx context.Context, in *EntityCreatePayload, opts ...grpc.CallOption) (*EntityResponse, error) Update(ctx context.Context, in *EntityUpdatePayload, opts ...grpc.CallOption) (*EntityResponse, error) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*EntityResponse, error) // Entity Relation Get GetEntityByRelationship(ctx context.Context, in *GetRequestRelationship, opts ...grpc.CallOption) (*EntityResponse, error) Share(ctx context.Context, in *RelationshipPayload, opts ...grpc.CallOption) (*RelationshipResponse, error) // Entity Relation Revoke Revoke(ctx context.Context, in *RelationshipPayload, opts ...grpc.CallOption) (*RelationshipResponse, error) }
EntityServiceClient is the client API for EntityService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEntityServiceClient ¶
func NewEntityServiceClient(cc *grpc.ClientConn) EntityServiceClient
type EntityServiceServer ¶
type EntityServiceServer interface { Create(context.Context, *EntityCreatePayload) (*EntityResponse, error) Update(context.Context, *EntityUpdatePayload) (*EntityResponse, error) Get(context.Context, *GetRequest) (*EntityResponse, error) // Entity Relation Get GetEntityByRelationship(context.Context, *GetRequestRelationship) (*EntityResponse, error) Share(context.Context, *RelationshipPayload) (*RelationshipResponse, error) // Entity Relation Revoke Revoke(context.Context, *RelationshipPayload) (*RelationshipResponse, error) }
EntityServiceServer is the server API for EntityService service.
type EntityUpdatePayload ¶
type EntityUpdatePayload struct { Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` ReadAccess *document.ReadAccess `protobuf:"bytes,2,opt,name=read_access,json=readAccess,proto3" json:"read_access,omitempty"` WriteAccess *document.WriteAccess `protobuf:"bytes,3,opt,name=write_access,json=writeAccess,proto3" json:"write_access,omitempty"` Data *EntityData `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EntityUpdatePayload) Descriptor ¶
func (*EntityUpdatePayload) Descriptor() ([]byte, []int)
func (*EntityUpdatePayload) GetData ¶
func (m *EntityUpdatePayload) GetData() *EntityData
func (*EntityUpdatePayload) GetIdentifier ¶
func (m *EntityUpdatePayload) GetIdentifier() string
func (*EntityUpdatePayload) GetReadAccess ¶
func (m *EntityUpdatePayload) GetReadAccess() *document.ReadAccess
func (*EntityUpdatePayload) GetWriteAccess ¶
func (m *EntityUpdatePayload) GetWriteAccess() *document.WriteAccess
func (*EntityUpdatePayload) ProtoMessage ¶
func (*EntityUpdatePayload) ProtoMessage()
func (*EntityUpdatePayload) Reset ¶
func (m *EntityUpdatePayload) Reset()
func (*EntityUpdatePayload) String ¶
func (m *EntityUpdatePayload) String() string
func (*EntityUpdatePayload) XXX_DiscardUnknown ¶
func (m *EntityUpdatePayload) XXX_DiscardUnknown()
func (*EntityUpdatePayload) XXX_Marshal ¶
func (m *EntityUpdatePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EntityUpdatePayload) XXX_Merge ¶
func (m *EntityUpdatePayload) XXX_Merge(src proto.Message)
func (*EntityUpdatePayload) XXX_Size ¶
func (m *EntityUpdatePayload) XXX_Size() int
func (*EntityUpdatePayload) XXX_Unmarshal ¶
func (m *EntityUpdatePayload) XXX_Unmarshal(b []byte) error
type GetRequest ¶
type GetRequest struct { Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRequest) Descriptor ¶
func (*GetRequest) Descriptor() ([]byte, []int)
func (*GetRequest) GetIdentifier ¶
func (m *GetRequest) GetIdentifier() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) Reset ¶
func (m *GetRequest) Reset()
func (*GetRequest) String ¶
func (m *GetRequest) String() string
func (*GetRequest) XXX_DiscardUnknown ¶
func (m *GetRequest) XXX_DiscardUnknown()
func (*GetRequest) XXX_Marshal ¶
func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRequest) XXX_Merge ¶
func (m *GetRequest) XXX_Merge(src proto.Message)
func (*GetRequest) XXX_Size ¶
func (m *GetRequest) XXX_Size() int
func (*GetRequest) XXX_Unmarshal ¶
func (m *GetRequest) XXX_Unmarshal(b []byte) error
type GetRequestRelationship ¶
type GetRequestRelationship struct { RelationshipIdentifier string `` /* 127-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRequestRelationship) Descriptor ¶
func (*GetRequestRelationship) Descriptor() ([]byte, []int)
func (*GetRequestRelationship) GetRelationshipIdentifier ¶
func (m *GetRequestRelationship) GetRelationshipIdentifier() string
func (*GetRequestRelationship) ProtoMessage ¶
func (*GetRequestRelationship) ProtoMessage()
func (*GetRequestRelationship) Reset ¶
func (m *GetRequestRelationship) Reset()
func (*GetRequestRelationship) String ¶
func (m *GetRequestRelationship) String() string
func (*GetRequestRelationship) XXX_DiscardUnknown ¶
func (m *GetRequestRelationship) XXX_DiscardUnknown()
func (*GetRequestRelationship) XXX_Marshal ¶
func (m *GetRequestRelationship) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRequestRelationship) XXX_Merge ¶
func (m *GetRequestRelationship) XXX_Merge(src proto.Message)
func (*GetRequestRelationship) XXX_Size ¶
func (m *GetRequestRelationship) XXX_Size() int
func (*GetRequestRelationship) XXX_Unmarshal ¶
func (m *GetRequestRelationship) XXX_Unmarshal(b []byte) error
type GetVersionRequest ¶
type GetVersionRequest struct { Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetVersionRequest) Descriptor ¶
func (*GetVersionRequest) Descriptor() ([]byte, []int)
func (*GetVersionRequest) GetIdentifier ¶
func (m *GetVersionRequest) GetIdentifier() string
func (*GetVersionRequest) GetVersion ¶
func (m *GetVersionRequest) GetVersion() string
func (*GetVersionRequest) ProtoMessage ¶
func (*GetVersionRequest) ProtoMessage()
func (*GetVersionRequest) Reset ¶
func (m *GetVersionRequest) Reset()
func (*GetVersionRequest) String ¶
func (m *GetVersionRequest) String() string
func (*GetVersionRequest) XXX_DiscardUnknown ¶
func (m *GetVersionRequest) XXX_DiscardUnknown()
func (*GetVersionRequest) XXX_Marshal ¶
func (m *GetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVersionRequest) XXX_Merge ¶
func (m *GetVersionRequest) XXX_Merge(src proto.Message)
func (*GetVersionRequest) XXX_Size ¶
func (m *GetVersionRequest) XXX_Size() int
func (*GetVersionRequest) XXX_Unmarshal ¶
func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error
type Relationship ¶
type Relationship struct { Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` Active bool `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Relationship) Descriptor ¶
func (*Relationship) Descriptor() ([]byte, []int)
func (*Relationship) GetActive ¶
func (m *Relationship) GetActive() bool
func (*Relationship) GetIdentity ¶
func (m *Relationship) GetIdentity() string
func (*Relationship) ProtoMessage ¶
func (*Relationship) ProtoMessage()
func (*Relationship) Reset ¶
func (m *Relationship) Reset()
func (*Relationship) String ¶
func (m *Relationship) String() string
func (*Relationship) XXX_DiscardUnknown ¶
func (m *Relationship) XXX_DiscardUnknown()
func (*Relationship) XXX_Marshal ¶
func (m *Relationship) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Relationship) XXX_Merge ¶
func (m *Relationship) XXX_Merge(src proto.Message)
func (*Relationship) XXX_Size ¶
func (m *Relationship) XXX_Size() int
func (*Relationship) XXX_Unmarshal ¶
func (m *Relationship) XXX_Unmarshal(b []byte) error
type RelationshipData ¶
type RelationshipData struct { // DID of relationship owner OwnerIdentity string `protobuf:"bytes,1,opt,name=owner_identity,json=ownerIdentity,proto3" json:"owner_identity,omitempty"` // DID of target identity TargetIdentity string `protobuf:"bytes,2,opt,name=target_identity,json=targetIdentity,proto3" json:"target_identity,omitempty"` // identifier of Entity whose data can be accessed via this relationship EntityIdentifier string `protobuf:"bytes,3,opt,name=entity_identifier,json=entityIdentifier,proto3" json:"entity_identifier,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RelationshipData) Descriptor ¶
func (*RelationshipData) Descriptor() ([]byte, []int)
func (*RelationshipData) GetEntityIdentifier ¶
func (m *RelationshipData) GetEntityIdentifier() string
func (*RelationshipData) GetOwnerIdentity ¶
func (m *RelationshipData) GetOwnerIdentity() string
func (*RelationshipData) GetTargetIdentity ¶
func (m *RelationshipData) GetTargetIdentity() string
func (*RelationshipData) ProtoMessage ¶
func (*RelationshipData) ProtoMessage()
func (*RelationshipData) Reset ¶
func (m *RelationshipData) Reset()
func (*RelationshipData) String ¶
func (m *RelationshipData) String() string
func (*RelationshipData) XXX_DiscardUnknown ¶
func (m *RelationshipData) XXX_DiscardUnknown()
func (*RelationshipData) XXX_Marshal ¶
func (m *RelationshipData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RelationshipData) XXX_Merge ¶
func (m *RelationshipData) XXX_Merge(src proto.Message)
func (*RelationshipData) XXX_Size ¶
func (m *RelationshipData) XXX_Size() int
func (*RelationshipData) XXX_Unmarshal ¶
func (m *RelationshipData) XXX_Unmarshal(b []byte) error
type RelationshipPayload ¶
type RelationshipPayload struct { // entity identifier Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` TargetIdentity string `protobuf:"bytes,2,opt,name=target_identity,json=targetIdentity,proto3" json:"target_identity,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RelationshipPayload) Descriptor ¶
func (*RelationshipPayload) Descriptor() ([]byte, []int)
func (*RelationshipPayload) GetIdentifier ¶
func (m *RelationshipPayload) GetIdentifier() string
func (*RelationshipPayload) GetTargetIdentity ¶
func (m *RelationshipPayload) GetTargetIdentity() string
func (*RelationshipPayload) ProtoMessage ¶
func (*RelationshipPayload) ProtoMessage()
func (*RelationshipPayload) Reset ¶
func (m *RelationshipPayload) Reset()
func (*RelationshipPayload) String ¶
func (m *RelationshipPayload) String() string
func (*RelationshipPayload) XXX_DiscardUnknown ¶
func (m *RelationshipPayload) XXX_DiscardUnknown()
func (*RelationshipPayload) XXX_Marshal ¶
func (m *RelationshipPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RelationshipPayload) XXX_Merge ¶
func (m *RelationshipPayload) XXX_Merge(src proto.Message)
func (*RelationshipPayload) XXX_Size ¶
func (m *RelationshipPayload) XXX_Size() int
func (*RelationshipPayload) XXX_Unmarshal ¶
func (m *RelationshipPayload) XXX_Unmarshal(b []byte) error
type RelationshipResponse ¶
type RelationshipResponse struct { Header *document.ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Relationship []*RelationshipData `protobuf:"bytes,2,rep,name=relationship,proto3" json:"relationship,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RelationshipResponse) Descriptor ¶
func (*RelationshipResponse) Descriptor() ([]byte, []int)
func (*RelationshipResponse) GetHeader ¶
func (m *RelationshipResponse) GetHeader() *document.ResponseHeader
func (*RelationshipResponse) GetRelationship ¶
func (m *RelationshipResponse) GetRelationship() []*RelationshipData
func (*RelationshipResponse) ProtoMessage ¶
func (*RelationshipResponse) ProtoMessage()
func (*RelationshipResponse) Reset ¶
func (m *RelationshipResponse) Reset()
func (*RelationshipResponse) String ¶
func (m *RelationshipResponse) String() string
func (*RelationshipResponse) XXX_DiscardUnknown ¶
func (m *RelationshipResponse) XXX_DiscardUnknown()
func (*RelationshipResponse) XXX_Marshal ¶
func (m *RelationshipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RelationshipResponse) XXX_Merge ¶
func (m *RelationshipResponse) XXX_Merge(src proto.Message)
func (*RelationshipResponse) XXX_Size ¶
func (m *RelationshipResponse) XXX_Size() int
func (*RelationshipResponse) XXX_Unmarshal ¶
func (m *RelationshipResponse) XXX_Unmarshal(b []byte) error