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
- Variables
- func RegisterBookServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterBookServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BookServiceClient) error
- func RegisterBookServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterBookServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BookServiceServer) error
- func RegisterBookServiceServer(s grpc.ServiceRegistrar, srv BookServiceServer)
- func RegisterVersionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterVersionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VersionServiceClient) error
- func RegisterVersionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterVersionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VersionServiceServer) error
- func RegisterVersionServiceServer(s grpc.ServiceRegistrar, srv VersionServiceServer)
- type Book
- func (*Book) Descriptor() ([]byte, []int)deprecated
- func (x *Book) GetCanon() string
- func (x *Book) GetChapters() []*BookChapter
- func (x *Book) GetCode() string
- func (x *Book) GetCreatedAt() *timestamppb.Timestamp
- func (x *Book) GetId() string
- func (x *Book) GetOrder() int32
- func (x *Book) GetTitle() string
- func (x *Book) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Book) GetVersionId() string
- func (*Book) ProtoMessage()
- func (x *Book) ProtoReflect() protoreflect.Message
- func (x *Book) Reset()
- func (x *Book) String() string
- type BookChapter
- func (*BookChapter) Descriptor() ([]byte, []int)deprecated
- func (x *BookChapter) GetBookId() string
- func (x *BookChapter) GetCreatedAt() *timestamppb.Timestamp
- func (x *BookChapter) GetId() string
- func (x *BookChapter) GetNumber() int32
- func (x *BookChapter) GetRef() string
- func (x *BookChapter) GetUpdatedAt() *timestamppb.Timestamp
- func (*BookChapter) ProtoMessage()
- func (x *BookChapter) ProtoReflect() protoreflect.Message
- func (x *BookChapter) Reset()
- func (x *BookChapter) String() string
- type BookFootnote
- func (*BookFootnote) Descriptor() ([]byte, []int)deprecated
- func (x *BookFootnote) GetChapterId() string
- func (x *BookFootnote) GetContent() string
- func (x *BookFootnote) GetCreatedAt() *timestamppb.Timestamp
- func (x *BookFootnote) GetHeadingId() string
- func (x *BookFootnote) GetId() string
- func (x *BookFootnote) GetOrder() int32
- func (x *BookFootnote) GetPosition() int32
- func (x *BookFootnote) GetUpdatedAt() *timestamppb.Timestamp
- func (x *BookFootnote) GetVerseId() string
- func (*BookFootnote) ProtoMessage()
- func (x *BookFootnote) ProtoReflect() protoreflect.Message
- func (x *BookFootnote) Reset()
- func (x *BookFootnote) String() string
- type BookHeading
- func (*BookHeading) Descriptor() ([]byte, []int)deprecated
- func (x *BookHeading) GetChapterId() string
- func (x *BookHeading) GetContent() string
- func (x *BookHeading) GetCreatedAt() *timestamppb.Timestamp
- func (x *BookHeading) GetId() string
- func (x *BookHeading) GetOrder() int32
- func (x *BookHeading) GetUpdatedAt() *timestamppb.Timestamp
- func (x *BookHeading) GetVerseId() string
- func (*BookHeading) ProtoMessage()
- func (x *BookHeading) ProtoReflect() protoreflect.Message
- func (x *BookHeading) Reset()
- func (x *BookHeading) String() string
- type BookReference
- func (*BookReference) Descriptor() ([]byte, []int)deprecated
- func (x *BookReference) GetChapterId() string
- func (x *BookReference) GetContent() string
- func (x *BookReference) GetCreatedAt() *timestamppb.Timestamp
- func (x *BookReference) GetHeadingId() string
- func (x *BookReference) GetId() string
- func (x *BookReference) GetOrder() int32
- func (x *BookReference) GetPosition() int32
- func (x *BookReference) GetUpdatedAt() *timestamppb.Timestamp
- func (x *BookReference) GetVerseId() string
- func (*BookReference) ProtoMessage()
- func (x *BookReference) ProtoReflect() protoreflect.Message
- func (x *BookReference) Reset()
- func (x *BookReference) String() string
- type BookServiceClient
- type BookServiceServer
- type BookVerse
- func (*BookVerse) Descriptor() ([]byte, []int)deprecated
- func (x *BookVerse) GetChapterId() string
- func (x *BookVerse) GetContent() string
- func (x *BookVerse) GetCreatedAt() *timestamppb.Timestamp
- func (x *BookVerse) GetId() string
- func (x *BookVerse) GetIsPoetry() bool
- func (x *BookVerse) GetNumber() int32
- func (x *BookVerse) GetOrder() int32
- func (x *BookVerse) GetParIndex() int32
- func (x *BookVerse) GetParNumber() int32
- func (x *BookVerse) GetUpdatedAt() *timestamppb.Timestamp
- func (*BookVerse) ProtoMessage()
- func (x *BookVerse) ProtoReflect() protoreflect.Message
- func (x *BookVerse) Reset()
- func (x *BookVerse) String() string
- type GetAllBookRequest
- func (*GetAllBookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllBookRequest) GetLangCode() string
- func (x *GetAllBookRequest) GetVersionCode() string
- func (x *GetAllBookRequest) GetWebOrigin() string
- func (*GetAllBookRequest) ProtoMessage()
- func (x *GetAllBookRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllBookRequest) Reset()
- func (x *GetAllBookRequest) String() string
- type GetAllBookResponse
- func (*GetAllBookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllBookResponse) GetBooks() []*Book
- func (*GetAllBookResponse) ProtoMessage()
- func (x *GetAllBookResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllBookResponse) Reset()
- func (x *GetAllBookResponse) String() string
- type GetAllLanguageRequest
- func (*GetAllLanguageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllLanguageRequest) GetWebOrigin() string
- func (*GetAllLanguageRequest) ProtoMessage()
- func (x *GetAllLanguageRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllLanguageRequest) Reset()
- func (x *GetAllLanguageRequest) String() string
- type GetAllLanguageResponse
- func (*GetAllLanguageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllLanguageResponse) GetLanguages() []*VersionLanguage
- func (*GetAllLanguageResponse) ProtoMessage()
- func (x *GetAllLanguageResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllLanguageResponse) Reset()
- func (x *GetAllLanguageResponse) String() string
- type GetAllVersionRequest
- func (*GetAllVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllVersionRequest) GetLangCode() string
- func (x *GetAllVersionRequest) GetVersionCode() string
- func (x *GetAllVersionRequest) GetWebOrigin() string
- func (*GetAllVersionRequest) ProtoMessage()
- func (x *GetAllVersionRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllVersionRequest) Reset()
- func (x *GetAllVersionRequest) String() string
- type GetAllVersionResponse
- func (*GetAllVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllVersionResponse) GetVersions() []*Version
- func (*GetAllVersionResponse) ProtoMessage()
- func (x *GetAllVersionResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllVersionResponse) Reset()
- func (x *GetAllVersionResponse) String() string
- type GetBiblicalReferenceHtmlRequest
- func (*GetBiblicalReferenceHtmlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBiblicalReferenceHtmlRequest) GetFormat() string
- func (x *GetBiblicalReferenceHtmlRequest) GetLangCode() string
- func (x *GetBiblicalReferenceHtmlRequest) GetQuery() string
- func (x *GetBiblicalReferenceHtmlRequest) GetVersionCode() string
- func (x *GetBiblicalReferenceHtmlRequest) GetWebOrigin() string
- func (*GetBiblicalReferenceHtmlRequest) ProtoMessage()
- func (x *GetBiblicalReferenceHtmlRequest) ProtoReflect() protoreflect.Message
- func (x *GetBiblicalReferenceHtmlRequest) Reset()
- func (x *GetBiblicalReferenceHtmlRequest) String() string
- type GetBiblicalReferenceHtmlResponse
- func (*GetBiblicalReferenceHtmlResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBiblicalReferenceHtmlResponse) GetHtml() string
- func (*GetBiblicalReferenceHtmlResponse) ProtoMessage()
- func (x *GetBiblicalReferenceHtmlResponse) ProtoReflect() protoreflect.Message
- func (x *GetBiblicalReferenceHtmlResponse) Reset()
- func (x *GetBiblicalReferenceHtmlResponse) String() string
- type GetBiblicalReferenceRequest
- func (*GetBiblicalReferenceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBiblicalReferenceRequest) GetFormat() string
- func (x *GetBiblicalReferenceRequest) GetLangCode() string
- func (x *GetBiblicalReferenceRequest) GetQuery() string
- func (x *GetBiblicalReferenceRequest) GetVersionCode() string
- func (x *GetBiblicalReferenceRequest) GetWebOrigin() string
- func (*GetBiblicalReferenceRequest) ProtoMessage()
- func (x *GetBiblicalReferenceRequest) ProtoReflect() protoreflect.Message
- func (x *GetBiblicalReferenceRequest) Reset()
- func (x *GetBiblicalReferenceRequest) String() string
- type GetBiblicalReferenceResponse
- func (*GetBiblicalReferenceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBiblicalReferenceResponse) GetChapters() []*BookChapter
- func (x *GetBiblicalReferenceResponse) GetFootnotes() []*BookFootnote
- func (x *GetBiblicalReferenceResponse) GetHeadings() []*BookHeading
- func (x *GetBiblicalReferenceResponse) GetPsalmMetadata() []*PsalmMetadata
- func (x *GetBiblicalReferenceResponse) GetReferences() []*BookReference
- func (x *GetBiblicalReferenceResponse) GetVerses() []*BookVerse
- func (*GetBiblicalReferenceResponse) ProtoMessage()
- func (x *GetBiblicalReferenceResponse) ProtoReflect() protoreflect.Message
- func (x *GetBiblicalReferenceResponse) Reset()
- func (x *GetBiblicalReferenceResponse) String() string
- type GetBiblicalReferenceTextRequest
- func (*GetBiblicalReferenceTextRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBiblicalReferenceTextRequest) GetFormat() string
- func (x *GetBiblicalReferenceTextRequest) GetLangCode() string
- func (x *GetBiblicalReferenceTextRequest) GetQuery() string
- func (x *GetBiblicalReferenceTextRequest) GetVersionCode() string
- func (x *GetBiblicalReferenceTextRequest) GetWebOrigin() string
- func (*GetBiblicalReferenceTextRequest) ProtoMessage()
- func (x *GetBiblicalReferenceTextRequest) ProtoReflect() protoreflect.Message
- func (x *GetBiblicalReferenceTextRequest) Reset()
- func (x *GetBiblicalReferenceTextRequest) String() string
- type GetBiblicalReferenceTextResponse
- func (*GetBiblicalReferenceTextResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBiblicalReferenceTextResponse) GetText() string
- func (*GetBiblicalReferenceTextResponse) ProtoMessage()
- func (x *GetBiblicalReferenceTextResponse) ProtoReflect() protoreflect.Message
- func (x *GetBiblicalReferenceTextResponse) Reset()
- func (x *GetBiblicalReferenceTextResponse) String() string
- type GetOneBookRequest
- func (*GetOneBookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOneBookRequest) GetBookCode() string
- func (x *GetOneBookRequest) GetLangCode() string
- func (x *GetOneBookRequest) GetVersionCode() string
- func (x *GetOneBookRequest) GetWebOrigin() string
- func (*GetOneBookRequest) ProtoMessage()
- func (x *GetOneBookRequest) ProtoReflect() protoreflect.Message
- func (x *GetOneBookRequest) Reset()
- func (x *GetOneBookRequest) String() string
- type GetOneBookResponse
- type GetOneChapterHtmlRequest
- func (*GetOneChapterHtmlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOneChapterHtmlRequest) GetBookCode() string
- func (x *GetOneChapterHtmlRequest) GetChapterNum() string
- func (x *GetOneChapterHtmlRequest) GetLangCode() string
- func (x *GetOneChapterHtmlRequest) GetVersionCode() string
- func (x *GetOneChapterHtmlRequest) GetWebOrigin() string
- func (*GetOneChapterHtmlRequest) ProtoMessage()
- func (x *GetOneChapterHtmlRequest) ProtoReflect() protoreflect.Message
- func (x *GetOneChapterHtmlRequest) Reset()
- func (x *GetOneChapterHtmlRequest) String() string
- type GetOneChapterHtmlResponse
- func (*GetOneChapterHtmlResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOneChapterHtmlResponse) GetHtml() string
- func (*GetOneChapterHtmlResponse) ProtoMessage()
- func (x *GetOneChapterHtmlResponse) ProtoReflect() protoreflect.Message
- func (x *GetOneChapterHtmlResponse) Reset()
- func (x *GetOneChapterHtmlResponse) String() string
- type GetOneChapterRequest
- func (*GetOneChapterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOneChapterRequest) GetBookCode() string
- func (x *GetOneChapterRequest) GetChapterNum() string
- func (x *GetOneChapterRequest) GetLangCode() string
- func (x *GetOneChapterRequest) GetVersionCode() string
- func (x *GetOneChapterRequest) GetWebOrigin() string
- func (*GetOneChapterRequest) ProtoMessage()
- func (x *GetOneChapterRequest) ProtoReflect() protoreflect.Message
- func (x *GetOneChapterRequest) Reset()
- func (x *GetOneChapterRequest) String() string
- type GetOneChapterResponse
- func (*GetOneChapterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOneChapterResponse) GetChapter() *BookChapter
- func (x *GetOneChapterResponse) GetFootnotes() []*BookFootnote
- func (x *GetOneChapterResponse) GetHeadings() []*BookHeading
- func (x *GetOneChapterResponse) GetPsalmMetadata() []*PsalmMetadata
- func (x *GetOneChapterResponse) GetReferences() []*BookReference
- func (x *GetOneChapterResponse) GetVerses() []*BookVerse
- func (*GetOneChapterResponse) ProtoMessage()
- func (x *GetOneChapterResponse) ProtoReflect() protoreflect.Message
- func (x *GetOneChapterResponse) Reset()
- func (x *GetOneChapterResponse) String() string
- type GetOneChapterTextRequest
- func (*GetOneChapterTextRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOneChapterTextRequest) GetBookCode() string
- func (x *GetOneChapterTextRequest) GetChapterNum() string
- func (x *GetOneChapterTextRequest) GetLangCode() string
- func (x *GetOneChapterTextRequest) GetVersionCode() string
- func (x *GetOneChapterTextRequest) GetWebOrigin() string
- func (*GetOneChapterTextRequest) ProtoMessage()
- func (x *GetOneChapterTextRequest) ProtoReflect() protoreflect.Message
- func (x *GetOneChapterTextRequest) Reset()
- func (x *GetOneChapterTextRequest) String() string
- type GetOneChapterTextResponse
- func (*GetOneChapterTextResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOneChapterTextResponse) GetText() string
- func (*GetOneChapterTextResponse) ProtoMessage()
- func (x *GetOneChapterTextResponse) ProtoReflect() protoreflect.Message
- func (x *GetOneChapterTextResponse) Reset()
- func (x *GetOneChapterTextResponse) String() string
- type PsalmMetadata
- func (*PsalmMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PsalmMetadata) GetChapterId() string
- func (x *PsalmMetadata) GetCreatedAt() *timestamppb.Timestamp
- func (x *PsalmMetadata) GetId() string
- func (x *PsalmMetadata) GetTitle() string
- func (x *PsalmMetadata) GetUpdatedAt() *timestamppb.Timestamp
- func (*PsalmMetadata) ProtoMessage()
- func (x *PsalmMetadata) ProtoReflect() protoreflect.Message
- func (x *PsalmMetadata) Reset()
- func (x *PsalmMetadata) String() string
- type UnimplementedBookServiceServer
- func (UnimplementedBookServiceServer) GetAllBook(context.Context, *GetAllBookRequest) (*GetAllBookResponse, error)
- func (UnimplementedBookServiceServer) GetBiblicalReference(context.Context, *GetBiblicalReferenceRequest) (*GetBiblicalReferenceResponse, error)
- func (UnimplementedBookServiceServer) GetBiblicalReferenceHtml(context.Context, *GetBiblicalReferenceHtmlRequest) (*GetBiblicalReferenceHtmlResponse, error)
- func (UnimplementedBookServiceServer) GetBiblicalReferenceText(context.Context, *GetBiblicalReferenceTextRequest) (*GetBiblicalReferenceTextResponse, error)
- func (UnimplementedBookServiceServer) GetOneBook(context.Context, *GetOneBookRequest) (*GetOneBookResponse, error)
- func (UnimplementedBookServiceServer) GetOneChapter(context.Context, *GetOneChapterRequest) (*GetOneChapterResponse, error)
- func (UnimplementedBookServiceServer) GetOneChapterHtml(context.Context, *GetOneChapterHtmlRequest) (*GetOneChapterHtmlResponse, error)
- func (UnimplementedBookServiceServer) GetOneChapterText(context.Context, *GetOneChapterTextRequest) (*GetOneChapterTextResponse, error)
- type UnimplementedVersionServiceServer
- type UnsafeBookServiceServer
- type UnsafeVersionServiceServer
- type Version
- func (*Version) Descriptor() ([]byte, []int)deprecated
- func (x *Version) GetCode() string
- func (x *Version) GetCreatedAt() *timestamppb.Timestamp
- func (x *Version) GetFormats() []*VersionFormat
- func (x *Version) GetId() string
- func (x *Version) GetLanguageId() string
- func (x *Version) GetName() string
- func (x *Version) GetOnlyNt() bool
- func (x *Version) GetOnlyOt() bool
- func (x *Version) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Version) GetWithApocrypha() bool
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (x *Version) String() string
- type VersionFormat
- func (*VersionFormat) Descriptor() ([]byte, []int)deprecated
- func (x *VersionFormat) GetCreatedAt() *timestamppb.Timestamp
- func (x *VersionFormat) GetId() string
- func (x *VersionFormat) GetRef() string
- func (x *VersionFormat) GetType() string
- func (x *VersionFormat) GetUpdatedAt() *timestamppb.Timestamp
- func (x *VersionFormat) GetVersionId() string
- func (*VersionFormat) ProtoMessage()
- func (x *VersionFormat) ProtoReflect() protoreflect.Message
- func (x *VersionFormat) Reset()
- func (x *VersionFormat) String() string
- type VersionLanguage
- func (*VersionLanguage) Descriptor() ([]byte, []int)deprecated
- func (x *VersionLanguage) GetCode() string
- func (x *VersionLanguage) GetCreatedAt() *timestamppb.Timestamp
- func (x *VersionLanguage) GetId() string
- func (x *VersionLanguage) GetName() string
- func (x *VersionLanguage) GetUpdatedAt() *timestamppb.Timestamp
- func (x *VersionLanguage) GetWebOrigin() string
- func (*VersionLanguage) ProtoMessage()
- func (x *VersionLanguage) ProtoReflect() protoreflect.Message
- func (x *VersionLanguage) Reset()
- func (x *VersionLanguage) String() string
- type VersionServiceClient
- type VersionServiceServer
Constants ¶
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" )
const ( VersionService_GetAllLanguage_FullMethodName = "/bible.v1.VersionService/GetAllLanguage" VersionService_GetAllVersion_FullMethodName = "/bible.v1.VersionService/GetAllVersion" )
Variables ¶
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)
var File_bible_v1_book_proto protoreflect.FileDescriptor
var File_bible_v1_version_proto protoreflect.FileDescriptor
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) GetChapters ¶
func (x *Book) GetChapters() []*BookChapter
func (*Book) GetCreatedAt ¶
func (x *Book) GetCreatedAt() *timestamppb.Timestamp
func (*Book) GetUpdatedAt ¶
func (x *Book) GetUpdatedAt() *timestamppb.Timestamp
func (*Book) GetVersionId ¶
func (*Book) ProtoMessage ¶
func (*Book) ProtoMessage()
func (*Book) ProtoReflect ¶
func (x *Book) ProtoReflect() protoreflect.Message
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 ¶
type BookServiceClient interface { GetAllBook(ctx context.Context, in *GetAllBookRequest, opts ...grpc.CallOption) (*GetAllBookResponse, error) GetOneBook(ctx context.Context, in *GetOneBookRequest, opts ...grpc.CallOption) (*GetOneBookResponse, error) GetOneChapter(ctx context.Context, in *GetOneChapterRequest, opts ...grpc.CallOption) (*GetOneChapterResponse, error) GetOneChapterText(ctx context.Context, in *GetOneChapterTextRequest, opts ...grpc.CallOption) (*GetOneChapterTextResponse, error) GetOneChapterHtml(ctx context.Context, in *GetOneChapterHtmlRequest, opts ...grpc.CallOption) (*GetOneChapterHtmlResponse, error) GetBiblicalReference(ctx context.Context, in *GetBiblicalReferenceRequest, opts ...grpc.CallOption) (*GetBiblicalReferenceResponse, error) GetBiblicalReferenceText(ctx context.Context, in *GetBiblicalReferenceTextRequest, opts ...grpc.CallOption) (*GetBiblicalReferenceTextResponse, error) GetBiblicalReferenceHtml(ctx context.Context, in *GetBiblicalReferenceHtmlRequest, opts ...grpc.CallOption) (*GetBiblicalReferenceHtmlResponse, error) }
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.
func NewBookServiceClient ¶
func NewBookServiceClient(cc grpc.ClientConnInterface) BookServiceClient
type BookServiceServer ¶
type BookServiceServer interface { GetAllBook(context.Context, *GetAllBookRequest) (*GetAllBookResponse, error) GetOneBook(context.Context, *GetOneBookRequest) (*GetOneBookResponse, error) GetOneChapter(context.Context, *GetOneChapterRequest) (*GetOneChapterResponse, error) GetOneChapterText(context.Context, *GetOneChapterTextRequest) (*GetOneChapterTextResponse, error) GetOneChapterHtml(context.Context, *GetOneChapterHtmlRequest) (*GetOneChapterHtmlResponse, error) GetBiblicalReference(context.Context, *GetBiblicalReferenceRequest) (*GetBiblicalReferenceResponse, error) GetBiblicalReferenceText(context.Context, *GetBiblicalReferenceTextRequest) (*GetBiblicalReferenceTextResponse, error) GetBiblicalReferenceHtml(context.Context, *GetBiblicalReferenceHtmlRequest) (*GetBiblicalReferenceHtmlResponse, error) // contains filtered or unexported methods }
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) GetChapterId ¶
func (*BookVerse) GetContent ¶
func (*BookVerse) GetCreatedAt ¶
func (x *BookVerse) GetCreatedAt() *timestamppb.Timestamp
func (*BookVerse) GetIsPoetry ¶
func (*BookVerse) GetParIndex ¶
func (*BookVerse) GetParNumber ¶
func (*BookVerse) GetUpdatedAt ¶
func (x *BookVerse) GetUpdatedAt() *timestamppb.Timestamp
func (*BookVerse) ProtoMessage ¶
func (*BookVerse) ProtoMessage()
func (*BookVerse) ProtoReflect ¶
func (x *BookVerse) ProtoReflect() protoreflect.Message
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 (x *GetBiblicalReferenceHtmlRequest) GetQuery() string
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 (x *GetBiblicalReferenceHtmlRequest) ProtoReflect() protoreflect.Message
func (*GetBiblicalReferenceHtmlRequest) Reset ¶ added in v0.5.0
func (x *GetBiblicalReferenceHtmlRequest) Reset()
func (*GetBiblicalReferenceHtmlRequest) String ¶ added in v0.5.0
func (x *GetBiblicalReferenceHtmlRequest) String() string
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 (x *GetBiblicalReferenceHtmlResponse) GetHtml() string
func (*GetBiblicalReferenceHtmlResponse) ProtoMessage ¶ added in v0.5.0
func (*GetBiblicalReferenceHtmlResponse) ProtoMessage()
func (*GetBiblicalReferenceHtmlResponse) ProtoReflect ¶ added in v0.5.0
func (x *GetBiblicalReferenceHtmlResponse) ProtoReflect() protoreflect.Message
func (*GetBiblicalReferenceHtmlResponse) Reset ¶ added in v0.5.0
func (x *GetBiblicalReferenceHtmlResponse) Reset()
func (*GetBiblicalReferenceHtmlResponse) String ¶ added in v0.5.0
func (x *GetBiblicalReferenceHtmlResponse) String() string
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 (x *GetBiblicalReferenceRequest) ProtoReflect() protoreflect.Message
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 (x *GetBiblicalReferenceResponse) ProtoReflect() protoreflect.Message
func (*GetBiblicalReferenceResponse) Reset ¶
func (x *GetBiblicalReferenceResponse) Reset()
func (*GetBiblicalReferenceResponse) String ¶
func (x *GetBiblicalReferenceResponse) String() 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 (x *GetBiblicalReferenceTextRequest) GetQuery() string
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 (x *GetBiblicalReferenceTextRequest) ProtoReflect() protoreflect.Message
func (*GetBiblicalReferenceTextRequest) Reset ¶
func (x *GetBiblicalReferenceTextRequest) Reset()
func (*GetBiblicalReferenceTextRequest) String ¶
func (x *GetBiblicalReferenceTextRequest) String() 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 (x *GetBiblicalReferenceTextResponse) GetText() string
func (*GetBiblicalReferenceTextResponse) ProtoMessage ¶
func (*GetBiblicalReferenceTextResponse) ProtoMessage()
func (*GetBiblicalReferenceTextResponse) ProtoReflect ¶
func (x *GetBiblicalReferenceTextResponse) ProtoReflect() protoreflect.Message
func (*GetBiblicalReferenceTextResponse) Reset ¶
func (x *GetBiblicalReferenceTextResponse) Reset()
func (*GetBiblicalReferenceTextResponse) String ¶
func (x *GetBiblicalReferenceTextResponse) String() 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 (x *GetOneChapterHtmlResponse) ProtoReflect() protoreflect.Message
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 (x *GetOneChapterTextResponse) ProtoReflect() protoreflect.Message
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) GetAllBook(context.Context, *GetAllBookRequest) (*GetAllBookResponse, error)
func (UnimplementedBookServiceServer) GetBiblicalReference ¶
func (UnimplementedBookServiceServer) GetBiblicalReference(context.Context, *GetBiblicalReferenceRequest) (*GetBiblicalReferenceResponse, error)
func (UnimplementedBookServiceServer) GetBiblicalReferenceHtml ¶ added in v0.5.0
func (UnimplementedBookServiceServer) GetBiblicalReferenceHtml(context.Context, *GetBiblicalReferenceHtmlRequest) (*GetBiblicalReferenceHtmlResponse, error)
func (UnimplementedBookServiceServer) GetBiblicalReferenceText ¶
func (UnimplementedBookServiceServer) GetBiblicalReferenceText(context.Context, *GetBiblicalReferenceTextRequest) (*GetBiblicalReferenceTextResponse, error)
func (UnimplementedBookServiceServer) GetOneBook ¶
func (UnimplementedBookServiceServer) GetOneBook(context.Context, *GetOneBookRequest) (*GetOneBookResponse, error)
func (UnimplementedBookServiceServer) GetOneChapter ¶
func (UnimplementedBookServiceServer) GetOneChapter(context.Context, *GetOneChapterRequest) (*GetOneChapterResponse, error)
func (UnimplementedBookServiceServer) GetOneChapterHtml ¶ added in v0.5.0
func (UnimplementedBookServiceServer) GetOneChapterHtml(context.Context, *GetOneChapterHtmlRequest) (*GetOneChapterHtmlResponse, error)
func (UnimplementedBookServiceServer) GetOneChapterText ¶
func (UnimplementedBookServiceServer) GetOneChapterText(context.Context, *GetOneChapterTextRequest) (*GetOneChapterTextResponse, error)
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) GetAllLanguage(context.Context, *GetAllLanguageRequest) (*GetAllLanguageResponse, error)
func (UnimplementedVersionServiceServer) GetAllVersion ¶
func (UnimplementedVersionServiceServer) GetAllVersion(context.Context, *GetAllVersionRequest) (*GetAllVersionResponse, error)
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) GetCreatedAt ¶
func (x *Version) GetCreatedAt() *timestamppb.Timestamp
func (*Version) GetFormats ¶
func (x *Version) GetFormats() []*VersionFormat
func (*Version) GetLanguageId ¶
func (*Version) GetUpdatedAt ¶
func (x *Version) GetUpdatedAt() *timestamppb.Timestamp
func (*Version) GetWithApocrypha ¶
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
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.
func NewVersionServiceClient ¶
func NewVersionServiceClient(cc grpc.ClientConnInterface) VersionServiceClient
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.