booksv1

package
v0.0.0-...-436daa5 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_books_v1_books_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Book

type Book 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"`
	AuthorId      string `protobuf:"bytes,3,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"`
	PublishedDate string `protobuf:"bytes,4,opt,name=published_date,json=publishedDate,proto3" json:"published_date,omitempty"`
	// contains filtered or unexported fields
}

func (*Book) Descriptor deprecated

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

Deprecated: Use Book.ProtoReflect.Descriptor instead.

func (*Book) GetAuthorId

func (x *Book) GetAuthorId() string

func (*Book) GetId

func (x *Book) GetId() string

func (*Book) GetPublishedDate

func (x *Book) GetPublishedDate() string

func (*Book) GetTitle

func (x *Book) GetTitle() string

func (*Book) ProtoMessage

func (*Book) ProtoMessage()

func (*Book) ProtoReflect

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

func (*Book) Reset

func (x *Book) Reset()

func (*Book) String

func (x *Book) String() string

type CreateBookRequest

type CreateBookRequest struct {
	Title         string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	AuthorId      string `protobuf:"bytes,2,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"`
	PublishedDate string `protobuf:"bytes,3,opt,name=published_date,json=publishedDate,proto3" json:"published_date,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBookRequest) Descriptor deprecated

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

Deprecated: Use CreateBookRequest.ProtoReflect.Descriptor instead.

func (*CreateBookRequest) GetAuthorId

func (x *CreateBookRequest) GetAuthorId() string

func (*CreateBookRequest) GetPublishedDate

func (x *CreateBookRequest) GetPublishedDate() string

func (*CreateBookRequest) GetTitle

func (x *CreateBookRequest) GetTitle() string

func (*CreateBookRequest) ProtoMessage

func (*CreateBookRequest) ProtoMessage()

func (*CreateBookRequest) ProtoReflect

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

func (*CreateBookRequest) Reset

func (x *CreateBookRequest) Reset()

func (*CreateBookRequest) String

func (x *CreateBookRequest) String() string

type CreateBookResponse

type CreateBookResponse struct {
	Book *Book `protobuf:"bytes,1,opt,name=book,proto3" json:"book,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBookResponse) Descriptor deprecated

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

Deprecated: Use CreateBookResponse.ProtoReflect.Descriptor instead.

func (*CreateBookResponse) GetBook

func (x *CreateBookResponse) GetBook() *Book

func (*CreateBookResponse) ProtoMessage

func (*CreateBookResponse) ProtoMessage()

func (*CreateBookResponse) ProtoReflect

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

func (*CreateBookResponse) Reset

func (x *CreateBookResponse) Reset()

func (*CreateBookResponse) String

func (x *CreateBookResponse) String() string

type DeleteBookRequest

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

func (*DeleteBookRequest) Descriptor deprecated

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

Deprecated: Use DeleteBookRequest.ProtoReflect.Descriptor instead.

func (*DeleteBookRequest) GetId

func (x *DeleteBookRequest) GetId() string

func (*DeleteBookRequest) ProtoMessage

func (*DeleteBookRequest) ProtoMessage()

func (*DeleteBookRequest) ProtoReflect

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

func (*DeleteBookRequest) Reset

func (x *DeleteBookRequest) Reset()

func (*DeleteBookRequest) String

func (x *DeleteBookRequest) String() string

type DeleteBookResponse

type DeleteBookResponse struct {
	Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBookResponse) Descriptor deprecated

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

Deprecated: Use DeleteBookResponse.ProtoReflect.Descriptor instead.

func (*DeleteBookResponse) GetStatus

func (x *DeleteBookResponse) GetStatus() bool

func (*DeleteBookResponse) ProtoMessage

func (*DeleteBookResponse) ProtoMessage()

func (*DeleteBookResponse) ProtoReflect

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

func (*DeleteBookResponse) Reset

func (x *DeleteBookResponse) Reset()

func (*DeleteBookResponse) String

func (x *DeleteBookResponse) String() string

type GetBookRequest

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

func (*GetBookRequest) Descriptor deprecated

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

Deprecated: Use GetBookRequest.ProtoReflect.Descriptor instead.

func (*GetBookRequest) GetId

func (x *GetBookRequest) GetId() string

func (*GetBookRequest) ProtoMessage

func (*GetBookRequest) ProtoMessage()

func (*GetBookRequest) ProtoReflect

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

func (*GetBookRequest) Reset

func (x *GetBookRequest) Reset()

func (*GetBookRequest) String

func (x *GetBookRequest) String() string

type GetBookResponse

type GetBookResponse struct {
	Book *Book `protobuf:"bytes,1,opt,name=book,proto3" json:"book,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBookResponse) Descriptor deprecated

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

Deprecated: Use GetBookResponse.ProtoReflect.Descriptor instead.

func (*GetBookResponse) GetBook

func (x *GetBookResponse) GetBook() *Book

func (*GetBookResponse) ProtoMessage

func (*GetBookResponse) ProtoMessage()

func (*GetBookResponse) ProtoReflect

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

func (*GetBookResponse) Reset

func (x *GetBookResponse) Reset()

func (*GetBookResponse) String

func (x *GetBookResponse) String() string

type ListBooksRequest

type ListBooksRequest struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBooksRequest) Descriptor deprecated

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

Deprecated: Use ListBooksRequest.ProtoReflect.Descriptor instead.

func (*ListBooksRequest) GetIds

func (x *ListBooksRequest) GetIds() []string

func (*ListBooksRequest) ProtoMessage

func (*ListBooksRequest) ProtoMessage()

func (*ListBooksRequest) ProtoReflect

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

func (*ListBooksRequest) Reset

func (x *ListBooksRequest) Reset()

func (*ListBooksRequest) String

func (x *ListBooksRequest) String() string

type ListBooksResponse

type ListBooksResponse struct {
	Books []*Book `protobuf:"bytes,1,rep,name=books,proto3" json:"books,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBooksResponse) Descriptor deprecated

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

Deprecated: Use ListBooksResponse.ProtoReflect.Descriptor instead.

func (*ListBooksResponse) GetBooks

func (x *ListBooksResponse) GetBooks() []*Book

func (*ListBooksResponse) ProtoMessage

func (*ListBooksResponse) ProtoMessage()

func (*ListBooksResponse) ProtoReflect

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

func (*ListBooksResponse) Reset

func (x *ListBooksResponse) Reset()

func (*ListBooksResponse) String

func (x *ListBooksResponse) String() string

type UpdateBookRequest

type UpdateBookRequest 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"`
	AuthorId      string `protobuf:"bytes,3,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"`
	PublishedDate string `protobuf:"bytes,4,opt,name=published_date,json=publishedDate,proto3" json:"published_date,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBookRequest) Descriptor deprecated

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

Deprecated: Use UpdateBookRequest.ProtoReflect.Descriptor instead.

func (*UpdateBookRequest) GetAuthorId

func (x *UpdateBookRequest) GetAuthorId() string

func (*UpdateBookRequest) GetId

func (x *UpdateBookRequest) GetId() string

func (*UpdateBookRequest) GetPublishedDate

func (x *UpdateBookRequest) GetPublishedDate() string

func (*UpdateBookRequest) GetTitle

func (x *UpdateBookRequest) GetTitle() string

func (*UpdateBookRequest) ProtoMessage

func (*UpdateBookRequest) ProtoMessage()

func (*UpdateBookRequest) ProtoReflect

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

func (*UpdateBookRequest) Reset

func (x *UpdateBookRequest) Reset()

func (*UpdateBookRequest) String

func (x *UpdateBookRequest) String() string

type UpdateBookResponse

type UpdateBookResponse struct {
	Book *Book `protobuf:"bytes,1,opt,name=book,proto3" json:"book,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBookResponse) Descriptor deprecated

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

Deprecated: Use UpdateBookResponse.ProtoReflect.Descriptor instead.

func (*UpdateBookResponse) GetBook

func (x *UpdateBookResponse) GetBook() *Book

func (*UpdateBookResponse) ProtoMessage

func (*UpdateBookResponse) ProtoMessage()

func (*UpdateBookResponse) ProtoReflect

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

func (*UpdateBookResponse) Reset

func (x *UpdateBookResponse) Reset()

func (*UpdateBookResponse) String

func (x *UpdateBookResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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