types

package
v0.0.0-...-893f904 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_did_msg_types_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Batch

type Batch struct {
	Id        string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`     // @id
	Type      string        `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type
	BatchSize int32         `protobuf:"varint,3,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
	Thread    *types.Thread `protobuf:"bytes,4,opt,name=thread,proto3" json:"thread,omitempty"`     // ~thread
	Messages  []*Message    `protobuf:"bytes,5,rep,name=messages,proto3" json:"messages,omitempty"` // messages~attach
	// contains filtered or unexported fields
}

Batch a message that contains multiple waiting messages. https://github.com/hyperledger/aries-rfcs/tree/master/features/0212-pickup#batch swagger:model

func (*Batch) Descriptor deprecated

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

Deprecated: Use Batch.ProtoReflect.Descriptor instead.

func (*Batch) GetBatchSize

func (x *Batch) GetBatchSize() int32

func (*Batch) GetId

func (x *Batch) GetId() string

func (*Batch) GetMessages

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

func (*Batch) GetThread

func (x *Batch) GetThread() *types.Thread

func (*Batch) GetType

func (x *Batch) GetType() string

func (*Batch) ProtoMessage

func (*Batch) ProtoMessage()

func (*Batch) ProtoReflect

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

func (*Batch) Reset

func (x *Batch) Reset()

func (*Batch) String

func (x *Batch) String() string

type BatchPickup

type BatchPickup struct {
	Id        string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`     // @id
	Type      string        `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type
	BatchSize int32         `protobuf:"varint,3,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
	Thread    *types.Thread `protobuf:"bytes,4,opt,name=thread,proto3" json:"thread,omitempty"` // ~thread
	// contains filtered or unexported fields
}

BatchPickup a request to have multiple waiting messages sent inside a batch message. https://github.com/hyperledger/aries-rfcs/tree/master/features/0212-pickup#batch-pickup swagger:model

func (*BatchPickup) Descriptor deprecated

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

Deprecated: Use BatchPickup.ProtoReflect.Descriptor instead.

func (*BatchPickup) GetBatchSize

func (x *BatchPickup) GetBatchSize() int32

func (*BatchPickup) GetId

func (x *BatchPickup) GetId() string

func (*BatchPickup) GetThread

func (x *BatchPickup) GetThread() *types.Thread

func (*BatchPickup) GetType

func (x *BatchPickup) GetType() string

func (*BatchPickup) ProtoMessage

func (*BatchPickup) ProtoMessage()

func (*BatchPickup) ProtoReflect

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

func (*BatchPickup) Reset

func (x *BatchPickup) Reset()

func (*BatchPickup) String

func (x *BatchPickup) String() string

type HttpHeader

type HttpHeader struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

httpOverDIDCommMsg is incoming DIDComm message for http-over-didcomm message types Reference:

https://github.com/hyperledger/aries-rfcs/blob/master/features/0335-http-over-didcomm/README.md#message-format

func (*HttpHeader) Descriptor deprecated

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

Deprecated: Use HttpHeader.ProtoReflect.Descriptor instead.

func (*HttpHeader) GetName

func (x *HttpHeader) GetName() string

func (*HttpHeader) GetValue

func (x *HttpHeader) GetValue() string

func (*HttpHeader) ProtoMessage

func (*HttpHeader) ProtoMessage()

func (*HttpHeader) ProtoReflect

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

func (*HttpHeader) Reset

func (x *HttpHeader) Reset()

func (*HttpHeader) String

func (x *HttpHeader) String() string

type HttpOverDIDCommMsg

type HttpOverDIDCommMsg struct {
	Id          string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id
	Method      string        `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	ResourceUri string        `protobuf:"bytes,3,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"` //resource-uri
	Version     string        `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	Headers     []*HttpHeader `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty"`
	Body        string        `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

swagger:model

func (*HttpOverDIDCommMsg) Descriptor deprecated

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

Deprecated: Use HttpOverDIDCommMsg.ProtoReflect.Descriptor instead.

func (*HttpOverDIDCommMsg) GetBody

func (x *HttpOverDIDCommMsg) GetBody() string

func (*HttpOverDIDCommMsg) GetHeaders

func (x *HttpOverDIDCommMsg) GetHeaders() []*HttpHeader

func (*HttpOverDIDCommMsg) GetId

func (x *HttpOverDIDCommMsg) GetId() string

func (*HttpOverDIDCommMsg) GetMethod

func (x *HttpOverDIDCommMsg) GetMethod() string

func (*HttpOverDIDCommMsg) GetResourceUri

func (x *HttpOverDIDCommMsg) GetResourceUri() string

func (*HttpOverDIDCommMsg) GetVersion

func (x *HttpOverDIDCommMsg) GetVersion() string

func (*HttpOverDIDCommMsg) ProtoMessage

func (*HttpOverDIDCommMsg) ProtoMessage()

func (*HttpOverDIDCommMsg) ProtoReflect

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

func (*HttpOverDIDCommMsg) Reset

func (x *HttpOverDIDCommMsg) Reset()

func (*HttpOverDIDCommMsg) String

func (x *HttpOverDIDCommMsg) String() string

type I10N

type I10N struct {
	Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"`
	// contains filtered or unexported fields
}

Message is message model for basic message protocol Reference:

https://github.com/hyperledger/aries-rfcs/tree/master/features/0095-basic-message#reference

func (*I10N) Descriptor deprecated

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

Deprecated: Use I10N.ProtoReflect.Descriptor instead.

func (*I10N) GetLocale

func (x *I10N) GetLocale() string

func (*I10N) ProtoMessage

func (*I10N) ProtoMessage()

func (*I10N) ProtoReflect

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

func (*I10N) Reset

func (x *I10N) Reset()

func (*I10N) String

func (x *I10N) String() string

type Inbox

type Inbox struct {
	Did               string                 `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"`
	MessageCount      int32                  `protobuf:"varint,2,opt,name=message_count,json=messageCount,proto3" json:"message_count,omitempty"`
	LastAddedTime     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_added_time,json=lastAddedTime,proto3" json:"last_added_time,omitempty"`
	LastDeliveredTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_delivered_time,json=lastDeliveredTime,proto3" json:"last_delivered_time,omitempty"`
	LastRemovedTime   *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_removed_time,json=lastRemovedTime,proto3" json:"last_removed_time,omitempty"`
	TotalSize         int32                  `protobuf:"varint,6,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	Messages          []*Message             `protobuf:"bytes,7,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

swagger:model

func (*Inbox) Descriptor deprecated

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

Deprecated: Use Inbox.ProtoReflect.Descriptor instead.

func (*Inbox) GetDid

func (x *Inbox) GetDid() string

func (*Inbox) GetLastAddedTime

func (x *Inbox) GetLastAddedTime() *timestamppb.Timestamp

func (*Inbox) GetLastDeliveredTime

func (x *Inbox) GetLastDeliveredTime() *timestamppb.Timestamp

func (*Inbox) GetLastRemovedTime

func (x *Inbox) GetLastRemovedTime() *timestamppb.Timestamp

func (*Inbox) GetMessageCount

func (x *Inbox) GetMessageCount() int32

func (*Inbox) GetMessages

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

func (*Inbox) GetTotalSize

func (x *Inbox) GetTotalSize() int32

func (*Inbox) ProtoMessage

func (*Inbox) ProtoMessage()

func (*Inbox) ProtoReflect

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

func (*Inbox) Reset

func (x *Inbox) Reset()

func (*Inbox) String

func (x *Inbox) String() string

type Message

type Message struct {
	Id       string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`     // @id
	Type     string                 `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type
	L10N     *I10N                  `protobuf:"bytes,3,opt,name=l10n,proto3" json:"l10n,omitempty"` // ~l10n
	Content  string                 `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	SentTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=sent_time,json=sentTime,proto3" json:"sent_time,omitempty"`
	// Message messagepickup wrapper.
	Msg       []byte                 `protobuf:"bytes,6,opt,name=msg,proto3" json:"msg,omitempty"`
	AddedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=added_time,json=addedTime,proto3" json:"added_time,omitempty"`
	// contains filtered or unexported fields
}

swagger:model

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetAddedTime

func (x *Message) GetAddedTime() *timestamppb.Timestamp

func (*Message) GetContent

func (x *Message) GetContent() string

func (*Message) GetId

func (x *Message) GetId() string

func (*Message) GetL10N

func (x *Message) GetL10N() *I10N

func (*Message) GetMsg

func (x *Message) GetMsg() []byte

func (*Message) GetSentTime

func (x *Message) GetSentTime() *timestamppb.Timestamp

func (*Message) GetType

func (x *Message) GetType() string

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

type Noop

type Noop struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`     // @id
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type
	// contains filtered or unexported fields
}

Noop message https://github.com/hyperledger/aries-rfcs/tree/master/features/0212-pickup#noop swagger:model

func (*Noop) Descriptor deprecated

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

Deprecated: Use Noop.ProtoReflect.Descriptor instead.

func (*Noop) GetId

func (x *Noop) GetId() string

func (*Noop) GetType

func (x *Noop) GetType() string

func (*Noop) ProtoMessage

func (*Noop) ProtoMessage()

func (*Noop) ProtoReflect

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

func (*Noop) Reset

func (x *Noop) Reset()

func (*Noop) String

func (x *Noop) String() string

type Status

type Status struct {
	Id                string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`     // @id
	Type              string                 `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type
	MessageCount      int32                  `protobuf:"varint,3,opt,name=message_count,json=messageCount,proto3" json:"message_count,omitempty"`
	DurationWaited    int32                  `protobuf:"varint,4,opt,name=duration_waited,json=durationWaited,proto3" json:"duration_waited,omitempty"`
	LastAddedTime     *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_added_time,json=lastAddedTime,proto3" json:"last_added_time,omitempty"`
	LastDeliveredTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_delivered_time,json=lastDeliveredTime,proto3" json:"last_delivered_time,omitempty"`
	LastRemovedTime   *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_removed_time,json=lastRemovedTime,proto3" json:"last_removed_time,omitempty"`
	TotalSize         int32                  `protobuf:"varint,8,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	Thread            *types.Thread          `protobuf:"bytes,9,opt,name=thread,proto3" json:"thread,omitempty"` // ~thread
	// contains filtered or unexported fields
}

Status details about pending messages https://github.com/hyperledger/aries-rfcs/tree/master/features/0212-pickup#status swagger:model

func (*Status) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetDurationWaited

func (x *Status) GetDurationWaited() int32

func (*Status) GetId

func (x *Status) GetId() string

func (*Status) GetLastAddedTime

func (x *Status) GetLastAddedTime() *timestamppb.Timestamp

func (*Status) GetLastDeliveredTime

func (x *Status) GetLastDeliveredTime() *timestamppb.Timestamp

func (*Status) GetLastRemovedTime

func (x *Status) GetLastRemovedTime() *timestamppb.Timestamp

func (*Status) GetMessageCount

func (x *Status) GetMessageCount() int32

func (*Status) GetThread

func (x *Status) GetThread() *types.Thread

func (*Status) GetTotalSize

func (x *Status) GetTotalSize() int32

func (*Status) GetType

func (x *Status) GetType() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

type StatusRequest

type StatusRequest struct {
	Id     string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`         // @id
	Type   string        `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`     // @type
	Thread *types.Thread `protobuf:"bytes,3,opt,name=thread,proto3" json:"thread,omitempty"` // ~thread
	// contains filtered or unexported fields
}

StatusRequest sent by the recipient to the message_holder to request a status message./0212-pickup#statusrequest https://github.com/hyperledger/aries-rfcs/tree/master/features/0212-pickup#statusrequest swagger:model

func (*StatusRequest) Descriptor deprecated

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

Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.

func (*StatusRequest) GetId

func (x *StatusRequest) GetId() string

func (*StatusRequest) GetThread

func (x *StatusRequest) GetThread() *types.Thread

func (*StatusRequest) GetType

func (x *StatusRequest) GetType() string

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) ProtoReflect

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

func (*StatusRequest) Reset

func (x *StatusRequest) Reset()

func (*StatusRequest) String

func (x *StatusRequest) String() string

Jump to

Keyboard shortcuts

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