booklendv1

package
v0.0.0-...-a71f0cf Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_actor_booklend_v1_commands_proto protoreflect.FileDescriptor
View Source
var File_actor_booklend_v1_entities_proto protoreflect.FileDescriptor
View Source
var File_actor_booklend_v1_events_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BookEntity

type BookEntity struct {
	Id               string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title            string                 `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Isbn             string                 `protobuf:"bytes,3,opt,name=isbn,proto3" json:"isbn,omitempty"`
	Borrower         string                 `protobuf:"bytes,4,opt,name=borrower,proto3" json:"borrower,omitempty"`
	Date             *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=date,proto3" json:"date,omitempty"`
	ExpectedDuration *durationpb.Duration   `protobuf:"bytes,6,opt,name=expected_duration,json=expectedDuration,proto3" json:"expected_duration,omitempty"`
	// contains filtered or unexported fields
}

func (*BookEntity) Descriptor deprecated

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

Deprecated: Use BookEntity.ProtoReflect.Descriptor instead.

func (*BookEntity) GetBorrower

func (x *BookEntity) GetBorrower() string

func (*BookEntity) GetDate

func (x *BookEntity) GetDate() *timestamppb.Timestamp

func (*BookEntity) GetExpectedDuration

func (x *BookEntity) GetExpectedDuration() *durationpb.Duration

func (*BookEntity) GetId

func (x *BookEntity) GetId() string

func (*BookEntity) GetIsbn

func (x *BookEntity) GetIsbn() string

func (*BookEntity) GetTitle

func (x *BookEntity) GetTitle() string

func (*BookEntity) ProtoMessage

func (*BookEntity) ProtoMessage()

func (*BookEntity) ProtoReflect

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

func (*BookEntity) Reset

func (x *BookEntity) Reset()

func (*BookEntity) String

func (x *BookEntity) String() string

type BookLent

type BookLent struct {
	Id               string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Timestamp        *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Borrower         string                 `protobuf:"bytes,3,opt,name=borrower,proto3" json:"borrower,omitempty"`
	Date             *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"`
	ExpectedDuration *durationpb.Duration   `protobuf:"bytes,5,opt,name=expected_duration,json=expectedDuration,proto3" json:"expected_duration,omitempty"`
	// contains filtered or unexported fields
}

func (*BookLent) Descriptor deprecated

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

Deprecated: Use BookLent.ProtoReflect.Descriptor instead.

func (*BookLent) GetBorrower

func (x *BookLent) GetBorrower() string

func (*BookLent) GetDate

func (x *BookLent) GetDate() *timestamppb.Timestamp

func (*BookLent) GetExpectedDuration

func (x *BookLent) GetExpectedDuration() *durationpb.Duration

func (*BookLent) GetId

func (x *BookLent) GetId() string

func (*BookLent) GetTimestamp

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

func (*BookLent) ProtoMessage

func (*BookLent) ProtoMessage()

func (*BookLent) ProtoReflect

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

func (*BookLent) Reset

func (x *BookLent) Reset()

func (*BookLent) String

func (x *BookLent) String() string

type BookRegistered

type BookRegistered struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Title     string                 `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Isbn      string                 `protobuf:"bytes,4,opt,name=isbn,proto3" json:"isbn,omitempty"`
	// contains filtered or unexported fields
}

func (*BookRegistered) Descriptor deprecated

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

Deprecated: Use BookRegistered.ProtoReflect.Descriptor instead.

func (*BookRegistered) GetId

func (x *BookRegistered) GetId() string

func (*BookRegistered) GetIsbn

func (x *BookRegistered) GetIsbn() string

func (*BookRegistered) GetTimestamp

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

func (*BookRegistered) GetTitle

func (x *BookRegistered) GetTitle() string

func (*BookRegistered) ProtoMessage

func (*BookRegistered) ProtoMessage()

func (*BookRegistered) ProtoReflect

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

func (*BookRegistered) Reset

func (x *BookRegistered) Reset()

func (*BookRegistered) String

func (x *BookRegistered) String() string

type BookReturned

type BookReturned struct {
	Id           string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Timestamp    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	By           string                 `protobuf:"bytes,3,opt,name=by,proto3" json:"by,omitempty"`
	Date         *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"`
	LentDuration *durationpb.Duration   `protobuf:"bytes,5,opt,name=lent_duration,json=lentDuration,proto3" json:"lent_duration,omitempty"`
	// contains filtered or unexported fields
}

func (*BookReturned) Descriptor deprecated

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

Deprecated: Use BookReturned.ProtoReflect.Descriptor instead.

func (*BookReturned) GetBy

func (x *BookReturned) GetBy() string

func (*BookReturned) GetDate

func (x *BookReturned) GetDate() *timestamppb.Timestamp

func (*BookReturned) GetId

func (x *BookReturned) GetId() string

func (*BookReturned) GetLentDuration

func (x *BookReturned) GetLentDuration() *durationpb.Duration

func (*BookReturned) GetTimestamp

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

func (*BookReturned) ProtoMessage

func (*BookReturned) ProtoMessage()

func (*BookReturned) ProtoReflect

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

func (*BookReturned) Reset

func (x *BookReturned) Reset()

func (*BookReturned) String

func (x *BookReturned) String() string

type CommandStatus

type CommandStatus struct {
	Code    code.Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.rpc.Code" json:"code,omitempty"`
	Message string    `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*CommandStatus) Descriptor deprecated

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

Deprecated: Use CommandStatus.ProtoReflect.Descriptor instead.

func (*CommandStatus) GetCode

func (x *CommandStatus) GetCode() code.Code

func (*CommandStatus) GetMessage

func (x *CommandStatus) GetMessage() string

func (*CommandStatus) ProtoMessage

func (*CommandStatus) ProtoMessage()

func (*CommandStatus) ProtoReflect

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

func (*CommandStatus) Reset

func (x *CommandStatus) Reset()

func (*CommandStatus) String

func (x *CommandStatus) String() string

type LendBook

type LendBook struct {
	BookId           string                 `protobuf:"bytes,1,opt,name=book_id,json=bookId,proto3" json:"book_id,omitempty"`
	Borrower         string                 `protobuf:"bytes,2,opt,name=borrower,proto3" json:"borrower,omitempty"`
	Date             *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
	ExpectedDuration *durationpb.Duration   `protobuf:"bytes,4,opt,name=expected_duration,json=expectedDuration,proto3" json:"expected_duration,omitempty"`
	// contains filtered or unexported fields
}

func (*LendBook) Descriptor deprecated

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

Deprecated: Use LendBook.ProtoReflect.Descriptor instead.

func (*LendBook) GetBookId

func (x *LendBook) GetBookId() string

func (*LendBook) GetBorrower

func (x *LendBook) GetBorrower() string

func (*LendBook) GetDate

func (x *LendBook) GetDate() *timestamppb.Timestamp

func (*LendBook) GetExpectedDuration

func (x *LendBook) GetExpectedDuration() *durationpb.Duration

func (*LendBook) ProtoMessage

func (*LendBook) ProtoMessage()

func (*LendBook) ProtoReflect

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

func (*LendBook) Reset

func (x *LendBook) Reset()

func (*LendBook) String

func (x *LendBook) String() string

type RegisterBook

type RegisterBook struct {
	BookId string `protobuf:"bytes,1,opt,name=book_id,json=bookId,proto3" json:"book_id,omitempty"`
	Title  string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Isbn   string `protobuf:"bytes,3,opt,name=isbn,proto3" json:"isbn,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterBook) Descriptor deprecated

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

Deprecated: Use RegisterBook.ProtoReflect.Descriptor instead.

func (*RegisterBook) GetBookId

func (x *RegisterBook) GetBookId() string

func (*RegisterBook) GetIsbn

func (x *RegisterBook) GetIsbn() string

func (*RegisterBook) GetTitle

func (x *RegisterBook) GetTitle() string

func (*RegisterBook) ProtoMessage

func (*RegisterBook) ProtoMessage()

func (*RegisterBook) ProtoReflect

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

func (*RegisterBook) Reset

func (x *RegisterBook) Reset()

func (*RegisterBook) String

func (x *RegisterBook) String() string

type ReturnBook

type ReturnBook struct {
	BookId string                 `protobuf:"bytes,1,opt,name=book_id,json=bookId,proto3" json:"book_id,omitempty"`
	Date   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
	// contains filtered or unexported fields
}

func (*ReturnBook) Descriptor deprecated

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

Deprecated: Use ReturnBook.ProtoReflect.Descriptor instead.

func (*ReturnBook) GetBookId

func (x *ReturnBook) GetBookId() string

func (*ReturnBook) GetDate

func (x *ReturnBook) GetDate() *timestamppb.Timestamp

func (*ReturnBook) ProtoMessage

func (*ReturnBook) ProtoMessage()

func (*ReturnBook) ProtoReflect

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

func (*ReturnBook) Reset

func (x *ReturnBook) Reset()

func (*ReturnBook) String

func (x *ReturnBook) String() string

Jump to

Keyboard shortcuts

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