package bookpb

import "github.com/googleapis/gax-go/v2/internallog/internal/bookpb"

Index

Variables

var File_book_proto protoreflect.FileDescriptor

Types

type Book

type Book struct {

	// The title of the book.
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// The name of the book author.
	Author string `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"`
	// contains filtered or unexported fields
}

A single book in the library.

func (*Book) Descriptor

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

Deprecated: Use Book.ProtoReflect.Descriptor instead.

func (*Book) GetAuthor

func (x *Book) GetAuthor() 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

Source Files

book.pb.go

Version
v2.14.1 (latest)
Published
Dec 20, 2024
Platform
linux/amd64
Imports
4 packages
Last checked
12 hours ago

Tools for package owners.