biblev1

package
v0.5.1 Latest Latest
Warning

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

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

Documentation

Overview

Package biblev1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package biblev1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	BookService_GetAllBook_FullMethodName               = "/bible.v1.BookService/GetAllBook"
	BookService_GetOneBook_FullMethodName               = "/bible.v1.BookService/GetOneBook"
	BookService_GetOneChapter_FullMethodName            = "/bible.v1.BookService/GetOneChapter"
	BookService_GetOneChapterText_FullMethodName        = "/bible.v1.BookService/GetOneChapterText"
	BookService_GetOneChapterHtml_FullMethodName        = "/bible.v1.BookService/GetOneChapterHtml"
	BookService_GetBiblicalReference_FullMethodName     = "/bible.v1.BookService/GetBiblicalReference"
	BookService_GetBiblicalReferenceText_FullMethodName = "/bible.v1.BookService/GetBiblicalReferenceText"
	BookService_GetBiblicalReferenceHtml_FullMethodName = "/bible.v1.BookService/GetBiblicalReferenceHtml"
)
View Source
const (
	VersionService_GetAllLanguage_FullMethodName = "/bible.v1.VersionService/GetAllLanguage"
	VersionService_GetAllVersion_FullMethodName  = "/bible.v1.VersionService/GetAllVersion"
)

Variables

View Source
var BookService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "bible.v1.BookService",
	HandlerType: (*BookServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAllBook",
			Handler:    _BookService_GetAllBook_Handler,
		},
		{
			MethodName: "GetOneBook",
			Handler:    _BookService_GetOneBook_Handler,
		},
		{
			MethodName: "GetOneChapter",
			Handler:    _BookService_GetOneChapter_Handler,
		},
		{
			MethodName: "GetOneChapterText",
			Handler:    _BookService_GetOneChapterText_Handler,
		},
		{
			MethodName: "GetOneChapterHtml",
			Handler:    _BookService_GetOneChapterHtml_Handler,
		},
		{
			MethodName: "GetBiblicalReference",
			Handler:    _BookService_GetBiblicalReference_Handler,
		},
		{
			MethodName: "GetBiblicalReferenceText",
			Handler:    _BookService_GetBiblicalReferenceText_Handler,
		},
		{
			MethodName: "GetBiblicalReferenceHtml",
			Handler:    _BookService_GetBiblicalReferenceHtml_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "bible/v1/book.proto",
}

BookService_ServiceDesc is the grpc.ServiceDesc for BookService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_bible_v1_book_proto protoreflect.FileDescriptor
View Source
var File_bible_v1_version_proto protoreflect.FileDescriptor
View Source
var VersionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "bible.v1.VersionService",
	HandlerType: (*VersionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAllLanguage",
			Handler:    _VersionService_GetAllLanguage_Handler,
		},
		{
			MethodName: "GetAllVersion",
			Handler:    _VersionService_GetAllVersion_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "bible/v1/version.proto",
}

VersionService_ServiceDesc is the grpc.ServiceDesc for VersionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterBookServiceHandler

func RegisterBookServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterBookServiceHandler registers the http handlers for service BookService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterBookServiceHandlerClient

func RegisterBookServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BookServiceClient) error

RegisterBookServiceHandlerClient registers the http handlers for service BookService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BookServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BookServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BookServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterBookServiceHandlerFromEndpoint

func RegisterBookServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterBookServiceHandlerFromEndpoint is same as RegisterBookServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterBookServiceHandlerServer

func RegisterBookServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BookServiceServer) error

RegisterBookServiceHandlerServer registers the http handlers for service BookService to "mux". UnaryRPC :call BookServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBookServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterBookServiceServer

func RegisterBookServiceServer(s grpc.ServiceRegistrar, srv BookServiceServer)

func RegisterVersionServiceHandler

func RegisterVersionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterVersionServiceHandler registers the http handlers for service VersionService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterVersionServiceHandlerClient

func RegisterVersionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VersionServiceClient) error

RegisterVersionServiceHandlerClient registers the http handlers for service VersionService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "VersionServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "VersionServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "VersionServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterVersionServiceHandlerFromEndpoint

func RegisterVersionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterVersionServiceHandlerFromEndpoint is same as RegisterVersionServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterVersionServiceHandlerServer

func RegisterVersionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VersionServiceServer) error

RegisterVersionServiceHandlerServer registers the http handlers for service VersionService to "mux". UnaryRPC :call VersionServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterVersionServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterVersionServiceServer

func RegisterVersionServiceServer(s grpc.ServiceRegistrar, srv VersionServiceServer)

Types

type Book

type Book struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Code      string                 `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Title     string                 `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Canon     string                 `protobuf:"bytes,4,opt,name=canon,proto3" json:"canon,omitempty"`
	Order     int32                  `protobuf:"varint,5,opt,name=order,proto3" json:"order,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Chapters  []*BookChapter         `protobuf:"bytes,8,rep,name=chapters,proto3" json:"chapters,omitempty"`
	VersionId string                 `protobuf:"bytes,9,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Book) Descriptor deprecated

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

Deprecated: Use Book.ProtoReflect.Descriptor instead.

func (*Book) GetCanon

func (x *Book) GetCanon() string

func (*Book) GetChapters

func (x *Book) GetChapters() []*BookChapter

func (*Book) GetCode

func (x *Book) GetCode() string

func (*Book) GetCreatedAt

func (x *Book) GetCreatedAt() *timestamppb.Timestamp

func (*Book) GetId

func (x *Book) GetId() string

func (*Book) GetOrder

func (x *Book) GetOrder() int32

func (*Book) GetTitle

func (x *Book) GetTitle() string

func (*Book) GetUpdatedAt

func (x *Book) GetUpdatedAt() *timestamppb.Timestamp

func (*Book) GetVersionId

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

type BookChapter struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Number    int32                  `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
	Ref       string                 `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	BookId    string                 `protobuf:"bytes,6,opt,name=book_id,json=bookId,proto3" json:"book_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BookChapter) Descriptor deprecated

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

Deprecated: Use BookChapter.ProtoReflect.Descriptor instead.

func (*BookChapter) GetBookId

func (x *BookChapter) GetBookId() string

func (*BookChapter) GetCreatedAt

func (x *BookChapter) GetCreatedAt() *timestamppb.Timestamp

func (*BookChapter) GetId

func (x *BookChapter) GetId() string

func (*BookChapter) GetNumber

func (x *BookChapter) GetNumber() int32

func (*BookChapter) GetRef

func (x *BookChapter) GetRef() string

func (*BookChapter) GetUpdatedAt

func (x *BookChapter) GetUpdatedAt() *timestamppb.Timestamp

func (*BookChapter) ProtoMessage

func (*BookChapter) ProtoMessage()

func (*BookChapter) ProtoReflect

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

func (*BookChapter) Reset

func (x *BookChapter) Reset()

func (*BookChapter) String

func (x *BookChapter) String() string

type BookFootnote

type BookFootnote struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Content   string                 `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	Position  int32                  `protobuf:"varint,3,opt,name=position,proto3" json:"position,omitempty"`
	Order     int32                  `protobuf:"varint,4,opt,name=order,proto3" json:"order,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	VerseId   *string                `protobuf:"bytes,7,opt,name=verse_id,json=verseId,proto3,oneof" json:"verse_id,omitempty"`
	HeadingId *string                `protobuf:"bytes,8,opt,name=heading_id,json=headingId,proto3,oneof" json:"heading_id,omitempty"`
	ChapterId string                 `protobuf:"bytes,9,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BookFootnote) Descriptor deprecated

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

Deprecated: Use BookFootnote.ProtoReflect.Descriptor instead.

func (*BookFootnote) GetChapterId

func (x *BookFootnote) GetChapterId() string

func (*BookFootnote) GetContent

func (x *BookFootnote) GetContent() string

func (*BookFootnote) GetCreatedAt

func (x *BookFootnote) GetCreatedAt() *timestamppb.Timestamp

func (*BookFootnote) GetHeadingId

func (x *BookFootnote) GetHeadingId() string

func (*BookFootnote) GetId

func (x *BookFootnote) GetId() string

func (*BookFootnote) GetOrder

func (x *BookFootnote) GetOrder() int32

func (*BookFootnote) GetPosition

func (x *BookFootnote) GetPosition() int32

func (*BookFootnote) GetUpdatedAt

func (x *BookFootnote) GetUpdatedAt() *timestamppb.Timestamp

func (*BookFootnote) GetVerseId

func (x *BookFootnote) GetVerseId() string

func (*BookFootnote) ProtoMessage

func (*BookFootnote) ProtoMessage()

func (*BookFootnote) ProtoReflect

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

func (*BookFootnote) Reset

func (x *BookFootnote) Reset()

func (*BookFootnote) String

func (x *BookFootnote) String() string

type BookHeading

type BookHeading struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Content   string                 `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	Order     int32                  `protobuf:"varint,3,opt,name=order,proto3" json:"order,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	VerseId   string                 `protobuf:"bytes,6,opt,name=verse_id,json=verseId,proto3" json:"verse_id,omitempty"`
	ChapterId string                 `protobuf:"bytes,7,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BookHeading) Descriptor deprecated

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

Deprecated: Use BookHeading.ProtoReflect.Descriptor instead.

func (*BookHeading) GetChapterId

func (x *BookHeading) GetChapterId() string

func (*BookHeading) GetContent

func (x *BookHeading) GetContent() string

func (*BookHeading) GetCreatedAt

func (x *BookHeading) GetCreatedAt() *timestamppb.Timestamp

func (*BookHeading) GetId

func (x *BookHeading) GetId() string

func (*BookHeading) GetOrder

func (x *BookHeading) GetOrder() int32

func (*BookHeading) GetUpdatedAt

func (x *BookHeading) GetUpdatedAt() *timestamppb.Timestamp

func (*BookHeading) GetVerseId

func (x *BookHeading) GetVerseId() string

func (*BookHeading) ProtoMessage

func (*BookHeading) ProtoMessage()

func (*BookHeading) ProtoReflect

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

func (*BookHeading) Reset

func (x *BookHeading) Reset()

func (*BookHeading) String

func (x *BookHeading) String() string

type BookReference

type BookReference struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Content   string                 `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	Position  *int32                 `protobuf:"varint,3,opt,name=position,proto3,oneof" json:"position,omitempty"`
	Order     int32                  `protobuf:"varint,4,opt,name=order,proto3" json:"order,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	VerseId   *string                `protobuf:"bytes,7,opt,name=verse_id,json=verseId,proto3,oneof" json:"verse_id,omitempty"`
	HeadingId *string                `protobuf:"bytes,8,opt,name=heading_id,json=headingId,proto3,oneof" json:"heading_id,omitempty"`
	ChapterId string                 `protobuf:"bytes,9,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BookReference) Descriptor deprecated

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

Deprecated: Use BookReference.ProtoReflect.Descriptor instead.

func (*BookReference) GetChapterId

func (x *BookReference) GetChapterId() string

func (*BookReference) GetContent

func (x *BookReference) GetContent() string

func (*BookReference) GetCreatedAt

func (x *BookReference) GetCreatedAt() *timestamppb.Timestamp

func (*BookReference) GetHeadingId

func (x *BookReference) GetHeadingId() string

func (*BookReference) GetId

func (x *BookReference) GetId() string

func (*BookReference) GetOrder

func (x *BookReference) GetOrder() int32

func (*BookReference) GetPosition

func (x *BookReference) GetPosition() int32

func (*BookReference) GetUpdatedAt

func (x *BookReference) GetUpdatedAt() *timestamppb.Timestamp

func (*BookReference) GetVerseId

func (x *BookReference) GetVerseId() string

func (*BookReference) ProtoMessage

func (*BookReference) ProtoMessage()

func (*BookReference) ProtoReflect

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

func (*BookReference) Reset

func (x *BookReference) Reset()

func (*BookReference) String

func (x *BookReference) String() string

type BookServiceClient

BookServiceClient is the client API for BookService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type BookServiceServer

BookServiceServer is the server API for BookService service. All implementations must embed UnimplementedBookServiceServer for forward compatibility.

type BookVerse

type BookVerse struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Number    int32                  `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
	Content   string                 `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	Order     int32                  `protobuf:"varint,4,opt,name=order,proto3" json:"order,omitempty"`
	ParNumber int32                  `protobuf:"varint,5,opt,name=par_number,json=parNumber,proto3" json:"par_number,omitempty"`
	ParIndex  int32                  `protobuf:"varint,6,opt,name=par_index,json=parIndex,proto3" json:"par_index,omitempty"`
	IsPoetry  bool                   `protobuf:"varint,7,opt,name=is_poetry,json=isPoetry,proto3" json:"is_poetry,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	ChapterId string                 `protobuf:"bytes,10,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BookVerse) Descriptor deprecated

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

Deprecated: Use BookVerse.ProtoReflect.Descriptor instead.

func (*BookVerse) GetChapterId

func (x *BookVerse) GetChapterId() string

func (*BookVerse) GetContent

func (x *BookVerse) GetContent() string

func (*BookVerse) GetCreatedAt

func (x *BookVerse) GetCreatedAt() *timestamppb.Timestamp

func (*BookVerse) GetId

func (x *BookVerse) GetId() string

func (*BookVerse) GetIsPoetry

func (x *BookVerse) GetIsPoetry() bool

func (*BookVerse) GetNumber

func (x *BookVerse) GetNumber() int32

func (*BookVerse) GetOrder

func (x *BookVerse) GetOrder() int32

func (*BookVerse) GetParIndex

func (x *BookVerse) GetParIndex() int32

func (*BookVerse) GetParNumber

func (x *BookVerse) GetParNumber() int32

func (*BookVerse) GetUpdatedAt

func (x *BookVerse) GetUpdatedAt() *timestamppb.Timestamp

func (*BookVerse) ProtoMessage

func (*BookVerse) ProtoMessage()

func (*BookVerse) ProtoReflect

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

func (*BookVerse) Reset

func (x *BookVerse) Reset()

func (*BookVerse) String

func (x *BookVerse) String() string

type GetAllBookRequest

type GetAllBookRequest struct {

	// Query params
	VersionCode string `protobuf:"bytes,1,opt,name=version_code,json=versionCode,proto3" json:"version_code,omitempty"`
	LangCode    string `protobuf:"bytes,2,opt,name=lang_code,json=langCode,proto3" json:"lang_code,omitempty"`
	WebOrigin   string `protobuf:"bytes,3,opt,name=web_origin,json=webOrigin,proto3" json:"web_origin,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllBookRequest) Descriptor deprecated

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

Deprecated: Use GetAllBookRequest.ProtoReflect.Descriptor instead.

func (*GetAllBookRequest) GetLangCode

func (x *GetAllBookRequest) GetLangCode() string

func (*GetAllBookRequest) GetVersionCode

func (x *GetAllBookRequest) GetVersionCode() string

func (*GetAllBookRequest) GetWebOrigin

func (x *GetAllBookRequest) GetWebOrigin() string

func (*GetAllBookRequest) ProtoMessage

func (*GetAllBookRequest) ProtoMessage()

func (*GetAllBookRequest) ProtoReflect

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

func (*GetAllBookRequest) Reset

func (x *GetAllBookRequest) Reset()

func (*GetAllBookRequest) String

func (x *GetAllBookRequest) String() string

type GetAllBookResponse

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

func (*GetAllBookResponse) Descriptor deprecated

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

Deprecated: Use GetAllBookResponse.ProtoReflect.Descriptor instead.

func (*GetAllBookResponse) GetBooks

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

func (*GetAllBookResponse) ProtoMessage

func (*GetAllBookResponse) ProtoMessage()

func (*GetAllBookResponse) ProtoReflect

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

func (*GetAllBookResponse) Reset

func (x *GetAllBookResponse) Reset()

func (*GetAllBookResponse) String

func (x *GetAllBookResponse) String() string

type GetAllLanguageRequest

type GetAllLanguageRequest struct {

	// Query params
	WebOrigin *string `protobuf:"bytes,1,opt,name=web_origin,json=webOrigin,proto3,oneof" json:"web_origin,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllLanguageRequest) Descriptor deprecated

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

Deprecated: Use GetAllLanguageRequest.ProtoReflect.Descriptor instead.

func (*GetAllLanguageRequest) GetWebOrigin

func (x *GetAllLanguageRequest) GetWebOrigin() string

func (*GetAllLanguageRequest) ProtoMessage

func (*GetAllLanguageRequest) ProtoMessage()

func (*GetAllLanguageRequest) ProtoReflect

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

func (*GetAllLanguageRequest) Reset

func (x *GetAllLanguageRequest) Reset()

func (*GetAllLanguageRequest) String

func (x *GetAllLanguageRequest) String() string

type GetAllLanguageResponse

type GetAllLanguageResponse struct {
	Languages []*VersionLanguage `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllLanguageResponse) Descriptor deprecated

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

Deprecated: Use GetAllLanguageResponse.ProtoReflect.Descriptor instead.

func (*GetAllLanguageResponse) GetLanguages

func (x *GetAllLanguageResponse) GetLanguages() []*VersionLanguage

func (*GetAllLanguageResponse) ProtoMessage

func (*GetAllLanguageResponse) ProtoMessage()

func (*GetAllLanguageResponse) ProtoReflect

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

func (*GetAllLanguageResponse) Reset

func (x *GetAllLanguageResponse) Reset()

func (*GetAllLanguageResponse) String

func (x *GetAllLanguageResponse) String() string

type GetAllVersionRequest

type GetAllVersionRequest struct {

	// Query params
	VersionCode *string `protobuf:"bytes,1,opt,name=version_code,json=versionCode,proto3,oneof" json:"version_code,omitempty"`
	LangCode    *string `protobuf:"bytes,2,opt,name=lang_code,json=langCode,proto3,oneof" json:"lang_code,omitempty"`
	WebOrigin   *string `protobuf:"bytes,3,opt,name=web_origin,json=webOrigin,proto3,oneof" json:"web_origin,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllVersionRequest) Descriptor deprecated

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

Deprecated: Use GetAllVersionRequest.ProtoReflect.Descriptor instead.

func (*GetAllVersionRequest) GetLangCode

func (x *GetAllVersionRequest) GetLangCode() string

func (*GetAllVersionRequest) GetVersionCode

func (x *GetAllVersionRequest) GetVersionCode() string

func (*GetAllVersionRequest) GetWebOrigin

func (x *GetAllVersionRequest) GetWebOrigin() string

func (*GetAllVersionRequest) ProtoMessage

func (*GetAllVersionRequest) ProtoMessage()

func (*GetAllVersionRequest) ProtoReflect

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

func (*GetAllVersionRequest) Reset

func (x *GetAllVersionRequest) Reset()

func (*GetAllVersionRequest) String

func (x *GetAllVersionRequest) String() string

type GetAllVersionResponse

type GetAllVersionResponse struct {
	Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllVersionResponse) Descriptor deprecated

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

Deprecated: Use GetAllVersionResponse.ProtoReflect.Descriptor instead.

func (*GetAllVersionResponse) GetVersions

func (x *GetAllVersionResponse) GetVersions() []*Version

func (*GetAllVersionResponse) ProtoMessage

func (*GetAllVersionResponse) ProtoMessage()

func (*GetAllVersionResponse) ProtoReflect

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

func (*GetAllVersionResponse) Reset

func (x *GetAllVersionResponse) Reset()

func (*GetAllVersionResponse) String

func (x *GetAllVersionResponse) String() string

type GetBiblicalReferenceHtmlRequest added in v0.5.0

type GetBiblicalReferenceHtmlRequest struct {
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// Query params
	VersionCode string `protobuf:"bytes,2,opt,name=version_code,json=versionCode,proto3" json:"version_code,omitempty"`
	LangCode    string `protobuf:"bytes,3,opt,name=lang_code,json=langCode,proto3" json:"lang_code,omitempty"`
	WebOrigin   string `protobuf:"bytes,4,opt,name=web_origin,json=webOrigin,proto3" json:"web_origin,omitempty"`
	Format      string `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBiblicalReferenceHtmlRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use GetBiblicalReferenceHtmlRequest.ProtoReflect.Descriptor instead.

func (*GetBiblicalReferenceHtmlRequest) GetFormat added in v0.5.0

func (x *GetBiblicalReferenceHtmlRequest) GetFormat() string

func (*GetBiblicalReferenceHtmlRequest) GetLangCode added in v0.5.0

func (x *GetBiblicalReferenceHtmlRequest) GetLangCode() string

func (*GetBiblicalReferenceHtmlRequest) GetQuery added in v0.5.0

func (*GetBiblicalReferenceHtmlRequest) GetVersionCode added in v0.5.0

func (x *GetBiblicalReferenceHtmlRequest) GetVersionCode() string

func (*GetBiblicalReferenceHtmlRequest) GetWebOrigin added in v0.5.0

func (x *GetBiblicalReferenceHtmlRequest) GetWebOrigin() string

func (*GetBiblicalReferenceHtmlRequest) ProtoMessage added in v0.5.0

func (*GetBiblicalReferenceHtmlRequest) ProtoMessage()

func (*GetBiblicalReferenceHtmlRequest) ProtoReflect added in v0.5.0

func (*GetBiblicalReferenceHtmlRequest) Reset added in v0.5.0

func (*GetBiblicalReferenceHtmlRequest) String added in v0.5.0

type GetBiblicalReferenceHtmlResponse added in v0.5.0

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

func (*GetBiblicalReferenceHtmlResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use GetBiblicalReferenceHtmlResponse.ProtoReflect.Descriptor instead.

func (*GetBiblicalReferenceHtmlResponse) GetHtml added in v0.5.0

func (*GetBiblicalReferenceHtmlResponse) ProtoMessage added in v0.5.0

func (*GetBiblicalReferenceHtmlResponse) ProtoMessage()

func (*GetBiblicalReferenceHtmlResponse) ProtoReflect added in v0.5.0

func (*GetBiblicalReferenceHtmlResponse) Reset added in v0.5.0

func (*GetBiblicalReferenceHtmlResponse) String added in v0.5.0

type GetBiblicalReferenceRequest

type GetBiblicalReferenceRequest struct {
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// Query params
	VersionCode string `protobuf:"bytes,2,opt,name=version_code,json=versionCode,proto3" json:"version_code,omitempty"`
	LangCode    string `protobuf:"bytes,3,opt,name=lang_code,json=langCode,proto3" json:"lang_code,omitempty"`
	WebOrigin   string `protobuf:"bytes,4,opt,name=web_origin,json=webOrigin,proto3" json:"web_origin,omitempty"`
	Format      string `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBiblicalReferenceRequest) Descriptor deprecated

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

Deprecated: Use GetBiblicalReferenceRequest.ProtoReflect.Descriptor instead.

func (*GetBiblicalReferenceRequest) GetFormat

func (x *GetBiblicalReferenceRequest) GetFormat() string

func (*GetBiblicalReferenceRequest) GetLangCode

func (x *GetBiblicalReferenceRequest) GetLangCode() string

func (*GetBiblicalReferenceRequest) GetQuery

func (x *GetBiblicalReferenceRequest) GetQuery() string

func (*GetBiblicalReferenceRequest) GetVersionCode

func (x *GetBiblicalReferenceRequest) GetVersionCode() string

func (*GetBiblicalReferenceRequest) GetWebOrigin

func (x *GetBiblicalReferenceRequest) GetWebOrigin() string

func (*GetBiblicalReferenceRequest) ProtoMessage

func (*GetBiblicalReferenceRequest) ProtoMessage()

func (*GetBiblicalReferenceRequest) ProtoReflect

func (*GetBiblicalReferenceRequest) Reset

func (x *GetBiblicalReferenceRequest) Reset()

func (*GetBiblicalReferenceRequest) String

func (x *GetBiblicalReferenceRequest) String() string

type GetBiblicalReferenceResponse

type GetBiblicalReferenceResponse struct {
	Chapters      []*BookChapter   `protobuf:"bytes,1,rep,name=chapters,proto3" json:"chapters,omitempty"`
	Verses        []*BookVerse     `protobuf:"bytes,2,rep,name=verses,proto3" json:"verses,omitempty"`
	Footnotes     []*BookFootnote  `protobuf:"bytes,3,rep,name=footnotes,proto3" json:"footnotes,omitempty"`
	Headings      []*BookHeading   `protobuf:"bytes,4,rep,name=headings,proto3" json:"headings,omitempty"`
	References    []*BookReference `protobuf:"bytes,5,rep,name=references,proto3" json:"references,omitempty"`
	PsalmMetadata []*PsalmMetadata `protobuf:"bytes,6,rep,name=psalm_metadata,json=psalmMetadata,proto3" json:"psalm_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBiblicalReferenceResponse) Descriptor deprecated

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

Deprecated: Use GetBiblicalReferenceResponse.ProtoReflect.Descriptor instead.

func (*GetBiblicalReferenceResponse) GetChapters

func (x *GetBiblicalReferenceResponse) GetChapters() []*BookChapter

func (*GetBiblicalReferenceResponse) GetFootnotes

func (x *GetBiblicalReferenceResponse) GetFootnotes() []*BookFootnote

func (*GetBiblicalReferenceResponse) GetHeadings

func (x *GetBiblicalReferenceResponse) GetHeadings() []*BookHeading

func (*GetBiblicalReferenceResponse) GetPsalmMetadata

func (x *GetBiblicalReferenceResponse) GetPsalmMetadata() []*PsalmMetadata

func (*GetBiblicalReferenceResponse) GetReferences

func (x *GetBiblicalReferenceResponse) GetReferences() []*BookReference

func (*GetBiblicalReferenceResponse) GetVerses

func (x *GetBiblicalReferenceResponse) GetVerses() []*BookVerse

func (*GetBiblicalReferenceResponse) ProtoMessage

func (*GetBiblicalReferenceResponse) ProtoMessage()

func (*GetBiblicalReferenceResponse) ProtoReflect

func (*GetBiblicalReferenceResponse) Reset

func (x *GetBiblicalReferenceResponse) Reset()

func (*GetBiblicalReferenceResponse) String

type GetBiblicalReferenceTextRequest

type GetBiblicalReferenceTextRequest struct {
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// Query params
	VersionCode string `protobuf:"bytes,2,opt,name=version_code,json=versionCode,proto3" json:"version_code,omitempty"`
	LangCode    string `protobuf:"bytes,3,opt,name=lang_code,json=langCode,proto3" json:"lang_code,omitempty"`
	WebOrigin   string `protobuf:"bytes,4,opt,name=web_origin,json=webOrigin,proto3" json:"web_origin,omitempty"`
	Format      string `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBiblicalReferenceTextRequest) Descriptor deprecated

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

Deprecated: Use GetBiblicalReferenceTextRequest.ProtoReflect.Descriptor instead.

func (*GetBiblicalReferenceTextRequest) GetFormat

func (x *GetBiblicalReferenceTextRequest) GetFormat() string

func (*GetBiblicalReferenceTextRequest) GetLangCode

func (x *GetBiblicalReferenceTextRequest) GetLangCode() string

func (*GetBiblicalReferenceTextRequest) GetQuery

func (*GetBiblicalReferenceTextRequest) GetVersionCode

func (x *GetBiblicalReferenceTextRequest) GetVersionCode() string

func (*GetBiblicalReferenceTextRequest) GetWebOrigin

func (x *GetBiblicalReferenceTextRequest) GetWebOrigin() string

func (*GetBiblicalReferenceTextRequest) ProtoMessage

func (*GetBiblicalReferenceTextRequest) ProtoMessage()

func (*GetBiblicalReferenceTextRequest) ProtoReflect

func (*GetBiblicalReferenceTextRequest) Reset

func (*GetBiblicalReferenceTextRequest) String

type GetBiblicalReferenceTextResponse

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

func (*GetBiblicalReferenceTextResponse) Descriptor deprecated

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

Deprecated: Use GetBiblicalReferenceTextResponse.ProtoReflect.Descriptor instead.

func (*GetBiblicalReferenceTextResponse) GetText

func (*GetBiblicalReferenceTextResponse) ProtoMessage

func (*GetBiblicalReferenceTextResponse) ProtoMessage()

func (*GetBiblicalReferenceTextResponse) ProtoReflect

func (*GetBiblicalReferenceTextResponse) Reset

func (*GetBiblicalReferenceTextResponse) String

type GetOneBookRequest

type GetOneBookRequest struct {
	BookCode string `protobuf:"bytes,1,opt,name=book_code,json=bookCode,proto3" json:"book_code,omitempty"`
	// Query params
	VersionCode string `protobuf:"bytes,2,opt,name=version_code,json=versionCode,proto3" json:"version_code,omitempty"`
	LangCode    string `protobuf:"bytes,3,opt,name=lang_code,json=langCode,proto3" json:"lang_code,omitempty"`
	WebOrigin   string `protobuf:"bytes,4,opt,name=web_origin,json=webOrigin,proto3" json:"web_origin,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOneBookRequest) Descriptor deprecated

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

Deprecated: Use GetOneBookRequest.ProtoReflect.Descriptor instead.

func (*GetOneBookRequest) GetBookCode

func (x *GetOneBookRequest) GetBookCode() string

func (*GetOneBookRequest) GetLangCode

func (x *GetOneBookRequest) GetLangCode() string

func (*GetOneBookRequest) GetVersionCode

func (x *GetOneBookRequest) GetVersionCode() string

func (*GetOneBookRequest) GetWebOrigin

func (x *GetOneBookRequest) GetWebOrigin() string

func (*GetOneBookRequest) ProtoMessage

func (*GetOneBookRequest) ProtoMessage()

func (*GetOneBookRequest) ProtoReflect

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

func (*GetOneBookRequest) Reset

func (x *GetOneBookRequest) Reset()

func (*GetOneBookRequest) String

func (x *GetOneBookRequest) String() string

type GetOneBookResponse

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

func (*GetOneBookResponse) Descriptor deprecated

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

Deprecated: Use GetOneBookResponse.ProtoReflect.Descriptor instead.

func (*GetOneBookResponse) GetBook

func (x *GetOneBookResponse) GetBook() *Book

func (*GetOneBookResponse) ProtoMessage

func (*GetOneBookResponse) ProtoMessage()

func (*GetOneBookResponse) ProtoReflect

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

func (*GetOneBookResponse) Reset

func (x *GetOneBookResponse) Reset()

func (*GetOneBookResponse) String

func (x *GetOneBookResponse) String() string

type GetOneChapterHtmlRequest added in v0.5.0

type GetOneChapterHtmlRequest struct {
	BookCode   string `protobuf:"bytes,1,opt,name=book_code,json=bookCode,proto3" json:"book_code,omitempty"`
	ChapterNum string `protobuf:"bytes,2,opt,name=chapter_num,json=chapterNum,proto3" json:"chapter_num,omitempty"`
	// Query params
	VersionCode string `protobuf:"bytes,3,opt,name=version_code,json=versionCode,proto3" json:"version_code,omitempty"`
	LangCode    string `protobuf:"bytes,4,opt,name=lang_code,json=langCode,proto3" json:"lang_code,omitempty"`
	WebOrigin   string `protobuf:"bytes,5,opt,name=web_origin,json=webOrigin,proto3" json:"web_origin,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOneChapterHtmlRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use GetOneChapterHtmlRequest.ProtoReflect.Descriptor instead.

func (*GetOneChapterHtmlRequest) GetBookCode added in v0.5.0

func (x *GetOneChapterHtmlRequest) GetBookCode() string

func (*GetOneChapterHtmlRequest) GetChapterNum added in v0.5.0

func (x *GetOneChapterHtmlRequest) GetChapterNum() string

func (*GetOneChapterHtmlRequest) GetLangCode added in v0.5.0

func (x *GetOneChapterHtmlRequest) GetLangCode() string

func (*GetOneChapterHtmlRequest) GetVersionCode added in v0.5.0

func (x *GetOneChapterHtmlRequest) GetVersionCode() string

func (*GetOneChapterHtmlRequest) GetWebOrigin added in v0.5.0

func (x *GetOneChapterHtmlRequest) GetWebOrigin() string

func (*GetOneChapterHtmlRequest) ProtoMessage added in v0.5.0

func (*GetOneChapterHtmlRequest) ProtoMessage()

func (*GetOneChapterHtmlRequest) ProtoReflect added in v0.5.0

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

func (*GetOneChapterHtmlRequest) Reset added in v0.5.0

func (x *GetOneChapterHtmlRequest) Reset()

func (*GetOneChapterHtmlRequest) String added in v0.5.0

func (x *GetOneChapterHtmlRequest) String() string

type GetOneChapterHtmlResponse added in v0.5.0

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

func (*GetOneChapterHtmlResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use GetOneChapterHtmlResponse.ProtoReflect.Descriptor instead.

func (*GetOneChapterHtmlResponse) GetHtml added in v0.5.0

func (x *GetOneChapterHtmlResponse) GetHtml() string

func (*GetOneChapterHtmlResponse) ProtoMessage added in v0.5.0

func (*GetOneChapterHtmlResponse) ProtoMessage()

func (*GetOneChapterHtmlResponse) ProtoReflect added in v0.5.0

func (*GetOneChapterHtmlResponse) Reset added in v0.5.0

func (x *GetOneChapterHtmlResponse) Reset()

func (*GetOneChapterHtmlResponse) String added in v0.5.0

func (x *GetOneChapterHtmlResponse) String() string

type GetOneChapterRequest

type GetOneChapterRequest struct {
	BookCode   string `protobuf:"bytes,1,opt,name=book_code,json=bookCode,proto3" json:"book_code,omitempty"`
	ChapterNum string `protobuf:"bytes,2,opt,name=chapter_num,json=chapterNum,proto3" json:"chapter_num,omitempty"`
	// Query params
	VersionCode string `protobuf:"bytes,3,opt,name=version_code,json=versionCode,proto3" json:"version_code,omitempty"`
	LangCode    string `protobuf:"bytes,4,opt,name=lang_code,json=langCode,proto3" json:"lang_code,omitempty"`
	WebOrigin   string `protobuf:"bytes,5,opt,name=web_origin,json=webOrigin,proto3" json:"web_origin,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOneChapterRequest) Descriptor deprecated

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

Deprecated: Use GetOneChapterRequest.ProtoReflect.Descriptor instead.

func (*GetOneChapterRequest) GetBookCode

func (x *GetOneChapterRequest) GetBookCode() string

func (*GetOneChapterRequest) GetChapterNum

func (x *GetOneChapterRequest) GetChapterNum() string

func (*GetOneChapterRequest) GetLangCode

func (x *GetOneChapterRequest) GetLangCode() string

func (*GetOneChapterRequest) GetVersionCode

func (x *GetOneChapterRequest) GetVersionCode() string

func (*GetOneChapterRequest) GetWebOrigin

func (x *GetOneChapterRequest) GetWebOrigin() string

func (*GetOneChapterRequest) ProtoMessage

func (*GetOneChapterRequest) ProtoMessage()

func (*GetOneChapterRequest) ProtoReflect

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

func (*GetOneChapterRequest) Reset

func (x *GetOneChapterRequest) Reset()

func (*GetOneChapterRequest) String

func (x *GetOneChapterRequest) String() string

type GetOneChapterResponse

type GetOneChapterResponse struct {
	Chapter       *BookChapter     `protobuf:"bytes,1,opt,name=chapter,proto3" json:"chapter,omitempty"`
	Verses        []*BookVerse     `protobuf:"bytes,2,rep,name=verses,proto3" json:"verses,omitempty"`
	Footnotes     []*BookFootnote  `protobuf:"bytes,3,rep,name=footnotes,proto3" json:"footnotes,omitempty"`
	Headings      []*BookHeading   `protobuf:"bytes,4,rep,name=headings,proto3" json:"headings,omitempty"`
	References    []*BookReference `protobuf:"bytes,5,rep,name=references,proto3" json:"references,omitempty"`
	PsalmMetadata []*PsalmMetadata `protobuf:"bytes,6,rep,name=psalm_metadata,json=psalmMetadata,proto3" json:"psalm_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOneChapterResponse) Descriptor deprecated

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

Deprecated: Use GetOneChapterResponse.ProtoReflect.Descriptor instead.

func (*GetOneChapterResponse) GetChapter

func (x *GetOneChapterResponse) GetChapter() *BookChapter

func (*GetOneChapterResponse) GetFootnotes

func (x *GetOneChapterResponse) GetFootnotes() []*BookFootnote

func (*GetOneChapterResponse) GetHeadings

func (x *GetOneChapterResponse) GetHeadings() []*BookHeading

func (*GetOneChapterResponse) GetPsalmMetadata

func (x *GetOneChapterResponse) GetPsalmMetadata() []*PsalmMetadata

func (*GetOneChapterResponse) GetReferences

func (x *GetOneChapterResponse) GetReferences() []*BookReference

func (*GetOneChapterResponse) GetVerses

func (x *GetOneChapterResponse) GetVerses() []*BookVerse

func (*GetOneChapterResponse) ProtoMessage

func (*GetOneChapterResponse) ProtoMessage()

func (*GetOneChapterResponse) ProtoReflect

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

func (*GetOneChapterResponse) Reset

func (x *GetOneChapterResponse) Reset()

func (*GetOneChapterResponse) String

func (x *GetOneChapterResponse) String() string

type GetOneChapterTextRequest

type GetOneChapterTextRequest struct {
	BookCode   string `protobuf:"bytes,1,opt,name=book_code,json=bookCode,proto3" json:"book_code,omitempty"`
	ChapterNum string `protobuf:"bytes,2,opt,name=chapter_num,json=chapterNum,proto3" json:"chapter_num,omitempty"`
	// Query params
	VersionCode string `protobuf:"bytes,3,opt,name=version_code,json=versionCode,proto3" json:"version_code,omitempty"`
	LangCode    string `protobuf:"bytes,4,opt,name=lang_code,json=langCode,proto3" json:"lang_code,omitempty"`
	WebOrigin   string `protobuf:"bytes,5,opt,name=web_origin,json=webOrigin,proto3" json:"web_origin,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOneChapterTextRequest) Descriptor deprecated

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

Deprecated: Use GetOneChapterTextRequest.ProtoReflect.Descriptor instead.

func (*GetOneChapterTextRequest) GetBookCode

func (x *GetOneChapterTextRequest) GetBookCode() string

func (*GetOneChapterTextRequest) GetChapterNum

func (x *GetOneChapterTextRequest) GetChapterNum() string

func (*GetOneChapterTextRequest) GetLangCode

func (x *GetOneChapterTextRequest) GetLangCode() string

func (*GetOneChapterTextRequest) GetVersionCode

func (x *GetOneChapterTextRequest) GetVersionCode() string

func (*GetOneChapterTextRequest) GetWebOrigin

func (x *GetOneChapterTextRequest) GetWebOrigin() string

func (*GetOneChapterTextRequest) ProtoMessage

func (*GetOneChapterTextRequest) ProtoMessage()

func (*GetOneChapterTextRequest) ProtoReflect

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

func (*GetOneChapterTextRequest) Reset

func (x *GetOneChapterTextRequest) Reset()

func (*GetOneChapterTextRequest) String

func (x *GetOneChapterTextRequest) String() string

type GetOneChapterTextResponse

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

func (*GetOneChapterTextResponse) Descriptor deprecated

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

Deprecated: Use GetOneChapterTextResponse.ProtoReflect.Descriptor instead.

func (*GetOneChapterTextResponse) GetText

func (x *GetOneChapterTextResponse) GetText() string

func (*GetOneChapterTextResponse) ProtoMessage

func (*GetOneChapterTextResponse) ProtoMessage()

func (*GetOneChapterTextResponse) ProtoReflect

func (*GetOneChapterTextResponse) Reset

func (x *GetOneChapterTextResponse) Reset()

func (*GetOneChapterTextResponse) String

func (x *GetOneChapterTextResponse) String() string

type PsalmMetadata

type PsalmMetadata 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"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	ChapterId string                 `protobuf:"bytes,5,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PsalmMetadata) Descriptor deprecated

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

Deprecated: Use PsalmMetadata.ProtoReflect.Descriptor instead.

func (*PsalmMetadata) GetChapterId

func (x *PsalmMetadata) GetChapterId() string

func (*PsalmMetadata) GetCreatedAt

func (x *PsalmMetadata) GetCreatedAt() *timestamppb.Timestamp

func (*PsalmMetadata) GetId

func (x *PsalmMetadata) GetId() string

func (*PsalmMetadata) GetTitle

func (x *PsalmMetadata) GetTitle() string

func (*PsalmMetadata) GetUpdatedAt

func (x *PsalmMetadata) GetUpdatedAt() *timestamppb.Timestamp

func (*PsalmMetadata) ProtoMessage

func (*PsalmMetadata) ProtoMessage()

func (*PsalmMetadata) ProtoReflect

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

func (*PsalmMetadata) Reset

func (x *PsalmMetadata) Reset()

func (*PsalmMetadata) String

func (x *PsalmMetadata) String() string

type UnimplementedBookServiceServer

type UnimplementedBookServiceServer struct{}

UnimplementedBookServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedBookServiceServer) GetAllBook

func (UnimplementedBookServiceServer) GetBiblicalReferenceHtml added in v0.5.0

func (UnimplementedBookServiceServer) GetOneBook

func (UnimplementedBookServiceServer) GetOneChapter

func (UnimplementedBookServiceServer) GetOneChapterHtml added in v0.5.0

func (UnimplementedBookServiceServer) GetOneChapterText

type UnimplementedVersionServiceServer

type UnimplementedVersionServiceServer struct{}

UnimplementedVersionServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedVersionServiceServer) GetAllLanguage

func (UnimplementedVersionServiceServer) GetAllVersion

type UnsafeBookServiceServer

type UnsafeBookServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBookServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BookServiceServer will result in compilation errors.

type UnsafeVersionServiceServer

type UnsafeVersionServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeVersionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VersionServiceServer will result in compilation errors.

type Version

type Version struct {
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Code          string                 `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Name          string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	OnlyNt        bool                   `protobuf:"varint,4,opt,name=only_nt,json=onlyNt,proto3" json:"only_nt,omitempty"`
	OnlyOt        bool                   `protobuf:"varint,5,opt,name=only_ot,json=onlyOt,proto3" json:"only_ot,omitempty"`
	WithApocrypha bool                   `protobuf:"varint,6,opt,name=with_apocrypha,json=withApocrypha,proto3" json:"with_apocrypha,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Formats       []*VersionFormat       `protobuf:"bytes,9,rep,name=formats,proto3" json:"formats,omitempty"`
	LanguageId    string                 `protobuf:"bytes,10,opt,name=language_id,json=languageId,proto3" json:"language_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Version) Descriptor deprecated

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

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetCode

func (x *Version) GetCode() string

func (*Version) GetCreatedAt

func (x *Version) GetCreatedAt() *timestamppb.Timestamp

func (*Version) GetFormats

func (x *Version) GetFormats() []*VersionFormat

func (*Version) GetId

func (x *Version) GetId() string

func (*Version) GetLanguageId

func (x *Version) GetLanguageId() string

func (*Version) GetName

func (x *Version) GetName() string

func (*Version) GetOnlyNt

func (x *Version) GetOnlyNt() bool

func (*Version) GetOnlyOt

func (x *Version) GetOnlyOt() bool

func (*Version) GetUpdatedAt

func (x *Version) GetUpdatedAt() *timestamppb.Timestamp

func (*Version) GetWithApocrypha

func (x *Version) GetWithApocrypha() bool

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

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

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

type VersionFormat

type VersionFormat struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type      string                 `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Ref       string                 `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	VersionId string                 `protobuf:"bytes,6,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionFormat) Descriptor deprecated

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

Deprecated: Use VersionFormat.ProtoReflect.Descriptor instead.

func (*VersionFormat) GetCreatedAt

func (x *VersionFormat) GetCreatedAt() *timestamppb.Timestamp

func (*VersionFormat) GetId

func (x *VersionFormat) GetId() string

func (*VersionFormat) GetRef

func (x *VersionFormat) GetRef() string

func (*VersionFormat) GetType

func (x *VersionFormat) GetType() string

func (*VersionFormat) GetUpdatedAt

func (x *VersionFormat) GetUpdatedAt() *timestamppb.Timestamp

func (*VersionFormat) GetVersionId

func (x *VersionFormat) GetVersionId() string

func (*VersionFormat) ProtoMessage

func (*VersionFormat) ProtoMessage()

func (*VersionFormat) ProtoReflect

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

func (*VersionFormat) Reset

func (x *VersionFormat) Reset()

func (*VersionFormat) String

func (x *VersionFormat) String() string

type VersionLanguage

type VersionLanguage struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Code      string                 `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Name      string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	WebOrigin string                 `protobuf:"bytes,4,opt,name=web_origin,json=webOrigin,proto3" json:"web_origin,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionLanguage) Descriptor deprecated

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

Deprecated: Use VersionLanguage.ProtoReflect.Descriptor instead.

func (*VersionLanguage) GetCode

func (x *VersionLanguage) GetCode() string

func (*VersionLanguage) GetCreatedAt

func (x *VersionLanguage) GetCreatedAt() *timestamppb.Timestamp

func (*VersionLanguage) GetId

func (x *VersionLanguage) GetId() string

func (*VersionLanguage) GetName

func (x *VersionLanguage) GetName() string

func (*VersionLanguage) GetUpdatedAt

func (x *VersionLanguage) GetUpdatedAt() *timestamppb.Timestamp

func (*VersionLanguage) GetWebOrigin

func (x *VersionLanguage) GetWebOrigin() string

func (*VersionLanguage) ProtoMessage

func (*VersionLanguage) ProtoMessage()

func (*VersionLanguage) ProtoReflect

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

func (*VersionLanguage) Reset

func (x *VersionLanguage) Reset()

func (*VersionLanguage) String

func (x *VersionLanguage) String() string

type VersionServiceClient

type VersionServiceClient interface {
	GetAllLanguage(ctx context.Context, in *GetAllLanguageRequest, opts ...grpc.CallOption) (*GetAllLanguageResponse, error)
	GetAllVersion(ctx context.Context, in *GetAllVersionRequest, opts ...grpc.CallOption) (*GetAllVersionResponse, error)
}

VersionServiceClient is the client API for VersionService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type VersionServiceServer

type VersionServiceServer interface {
	GetAllLanguage(context.Context, *GetAllLanguageRequest) (*GetAllLanguageResponse, error)
	GetAllVersion(context.Context, *GetAllVersionRequest) (*GetAllVersionResponse, error)
	// contains filtered or unexported methods
}

VersionServiceServer is the server API for VersionService service. All implementations must embed UnimplementedVersionServiceServer for forward compatibility.

Jump to

Keyboard shortcuts

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