Defines the host<->guest wire contract for the .so -> wazero migration as a repo-local buf module (abi/proto/v1, generated Go in abi/v1): - manifest.proto: PluginManifest mirroring every static field of plugin.PluginRegistration (abi_version, deps, block/template registrations, admin pages, settings schema, theme presets, fonts, master pages, AI actions, RBAC method roles, CSS manifest, icon packs, directory extensions, job types, RAG fetcher types, settings panel, hook flags, core service bindings) - invoke.proto: bn_invoke envelope, Hook catalog (RENDER_BLOCK, RENDER_TEMPLATE, HANDLE_HTTP, JOB, LOAD, UNLOAD, RAG_FETCH, MEDIA_HOOK, DESCRIBE), AbiError, and job/lifecycle/rag/media/describe payloads - render.proto: RenderBlock/RenderTemplate payloads + RenderContext enumerating every ctx value from blocks/context.go (incl. BlockContext 1:1) - http.proto: buffered HttpRequest/HttpResponse for HANDLE_HTTP - db.proto: guest sql-driver messages (DbValue oneof over pgx-mappable types, query/exec/tx with host-side tx handles, SQLSTATE-carrying DbError) - capability.proto: HostCall envelope + one request/response pair per CoreServices interface method (content, settings+update, gating, crypto, menus, datasources, users, subscriptions, media.deposit, email.send, ai.text_call, ai.tools.register, bridge, jobs.submit, embeddings, rag, reviews, badges.refresh) The abi/ buf module is deliberately separate from the repo-root config: proto/ is the shared block/proto submodule (service API contracts); the ABI is SDK-internal and versions in lockstep with the guest shim. New `make abi` target runs buf lint + generate. docs/wasm-abi.md documents the ptr+len calling convention (bn_alloc, bn_invoke, packed u64), hook catalog, error semantics, abi_version evolution rules, and the full registration/ CoreServices coverage tables. Verified: `cd abi && buf lint` exit 0; `go build ./...` exit 0. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1057 lines
29 KiB
Go
1057 lines
29 KiB
Go
// db.proto — DB driver messages (WO-WZ-001).
|
|
//
|
|
// The guest SDK ships a database/sql driver that marshals query text + args
|
|
// out through these messages and rows back, so sqlc-generated plugin code
|
|
// works unchanged. The host executes on a connection under the per-plugin
|
|
// Postgres role. Transactions map to a host-side handle held per guest call
|
|
// chain, with a hard deadline so a guest can never pin a connection.
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc (unknown)
|
|
// source: v1/db.proto
|
|
|
|
package abiv1
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// DbValue is one pgx-mappable parameter or column value.
|
|
type DbValue struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Kind:
|
|
//
|
|
// *DbValue_Null
|
|
// *DbValue_BoolValue
|
|
// *DbValue_Int64Value
|
|
// *DbValue_Float64Value
|
|
// *DbValue_StringValue
|
|
// *DbValue_BytesValue
|
|
// *DbValue_TimestampValue
|
|
// *DbValue_UuidValue
|
|
// *DbValue_JsonbValue
|
|
// *DbValue_NumericValue
|
|
// *DbValue_TextArrayValue
|
|
Kind isDbValue_Kind `protobuf_oneof:"kind"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DbValue) Reset() {
|
|
*x = DbValue{}
|
|
mi := &file_v1_db_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DbValue) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DbValue) ProtoMessage() {}
|
|
|
|
func (x *DbValue) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_db_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DbValue.ProtoReflect.Descriptor instead.
|
|
func (*DbValue) Descriptor() ([]byte, []int) {
|
|
return file_v1_db_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *DbValue) GetKind() isDbValue_Kind {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DbValue) GetNull() bool {
|
|
if x != nil {
|
|
if x, ok := x.Kind.(*DbValue_Null); ok {
|
|
return x.Null
|
|
}
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DbValue) GetBoolValue() bool {
|
|
if x != nil {
|
|
if x, ok := x.Kind.(*DbValue_BoolValue); ok {
|
|
return x.BoolValue
|
|
}
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DbValue) GetInt64Value() int64 {
|
|
if x != nil {
|
|
if x, ok := x.Kind.(*DbValue_Int64Value); ok {
|
|
return x.Int64Value
|
|
}
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DbValue) GetFloat64Value() float64 {
|
|
if x != nil {
|
|
if x, ok := x.Kind.(*DbValue_Float64Value); ok {
|
|
return x.Float64Value
|
|
}
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DbValue) GetStringValue() string {
|
|
if x != nil {
|
|
if x, ok := x.Kind.(*DbValue_StringValue); ok {
|
|
return x.StringValue
|
|
}
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DbValue) GetBytesValue() []byte {
|
|
if x != nil {
|
|
if x, ok := x.Kind.(*DbValue_BytesValue); ok {
|
|
return x.BytesValue
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DbValue) GetTimestampValue() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
if x, ok := x.Kind.(*DbValue_TimestampValue); ok {
|
|
return x.TimestampValue
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DbValue) GetUuidValue() string {
|
|
if x != nil {
|
|
if x, ok := x.Kind.(*DbValue_UuidValue); ok {
|
|
return x.UuidValue
|
|
}
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DbValue) GetJsonbValue() []byte {
|
|
if x != nil {
|
|
if x, ok := x.Kind.(*DbValue_JsonbValue); ok {
|
|
return x.JsonbValue
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DbValue) GetNumericValue() string {
|
|
if x != nil {
|
|
if x, ok := x.Kind.(*DbValue_NumericValue); ok {
|
|
return x.NumericValue
|
|
}
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DbValue) GetTextArrayValue() *TextArray {
|
|
if x != nil {
|
|
if x, ok := x.Kind.(*DbValue_TextArrayValue); ok {
|
|
return x.TextArrayValue
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isDbValue_Kind interface {
|
|
isDbValue_Kind()
|
|
}
|
|
|
|
type DbValue_Null struct {
|
|
// SQL NULL (the bool carries no information; true by convention).
|
|
Null bool `protobuf:"varint,1,opt,name=null,proto3,oneof"`
|
|
}
|
|
|
|
type DbValue_BoolValue struct {
|
|
BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
|
|
}
|
|
|
|
type DbValue_Int64Value struct {
|
|
Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"`
|
|
}
|
|
|
|
type DbValue_Float64Value struct {
|
|
Float64Value float64 `protobuf:"fixed64,4,opt,name=float64_value,json=float64Value,proto3,oneof"`
|
|
}
|
|
|
|
type DbValue_StringValue struct {
|
|
StringValue string `protobuf:"bytes,5,opt,name=string_value,json=stringValue,proto3,oneof"`
|
|
}
|
|
|
|
type DbValue_BytesValue struct {
|
|
BytesValue []byte `protobuf:"bytes,6,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
|
|
}
|
|
|
|
type DbValue_TimestampValue struct {
|
|
TimestampValue *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=timestamp_value,json=timestampValue,proto3,oneof"`
|
|
}
|
|
|
|
type DbValue_UuidValue struct {
|
|
// UUID in canonical string form.
|
|
UuidValue string `protobuf:"bytes,8,opt,name=uuid_value,json=uuidValue,proto3,oneof"`
|
|
}
|
|
|
|
type DbValue_JsonbValue struct {
|
|
// JSON/JSONB payload bytes.
|
|
JsonbValue []byte `protobuf:"bytes,9,opt,name=jsonb_value,json=jsonbValue,proto3,oneof"`
|
|
}
|
|
|
|
type DbValue_NumericValue struct {
|
|
// NUMERIC in decimal string form (lossless).
|
|
NumericValue string `protobuf:"bytes,10,opt,name=numeric_value,json=numericValue,proto3,oneof"`
|
|
}
|
|
|
|
type DbValue_TextArrayValue struct {
|
|
// text[] array.
|
|
TextArrayValue *TextArray `protobuf:"bytes,11,opt,name=text_array_value,json=textArrayValue,proto3,oneof"`
|
|
}
|
|
|
|
func (*DbValue_Null) isDbValue_Kind() {}
|
|
|
|
func (*DbValue_BoolValue) isDbValue_Kind() {}
|
|
|
|
func (*DbValue_Int64Value) isDbValue_Kind() {}
|
|
|
|
func (*DbValue_Float64Value) isDbValue_Kind() {}
|
|
|
|
func (*DbValue_StringValue) isDbValue_Kind() {}
|
|
|
|
func (*DbValue_BytesValue) isDbValue_Kind() {}
|
|
|
|
func (*DbValue_TimestampValue) isDbValue_Kind() {}
|
|
|
|
func (*DbValue_UuidValue) isDbValue_Kind() {}
|
|
|
|
func (*DbValue_JsonbValue) isDbValue_Kind() {}
|
|
|
|
func (*DbValue_NumericValue) isDbValue_Kind() {}
|
|
|
|
func (*DbValue_TextArrayValue) isDbValue_Kind() {}
|
|
|
|
// TextArray is a Postgres text[] value.
|
|
type TextArray struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TextArray) Reset() {
|
|
*x = TextArray{}
|
|
mi := &file_v1_db_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TextArray) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TextArray) ProtoMessage() {}
|
|
|
|
func (x *TextArray) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_db_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TextArray.ProtoReflect.Descriptor instead.
|
|
func (*TextArray) Descriptor() ([]byte, []int) {
|
|
return file_v1_db_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *TextArray) GetValues() []string {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DbRow is one result row; values align with DbRowsResponse.columns.
|
|
type DbRow struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Values []*DbValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DbRow) Reset() {
|
|
*x = DbRow{}
|
|
mi := &file_v1_db_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DbRow) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DbRow) ProtoMessage() {}
|
|
|
|
func (x *DbRow) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_db_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DbRow.ProtoReflect.Descriptor instead.
|
|
func (*DbRow) Descriptor() ([]byte, []int) {
|
|
return file_v1_db_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *DbRow) GetValues() []*DbValue {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DbError carries a database failure back to the guest driver.
|
|
type DbError struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Postgres SQLSTATE when available (e.g. "23505"); empty otherwise.
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DbError) Reset() {
|
|
*x = DbError{}
|
|
mi := &file_v1_db_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DbError) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DbError) ProtoMessage() {}
|
|
|
|
func (x *DbError) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_db_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DbError.ProtoReflect.Descriptor instead.
|
|
func (*DbError) Descriptor() ([]byte, []int) {
|
|
return file_v1_db_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DbError) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DbError) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// DbQueryRequest executes a rows-returning statement.
|
|
type DbQueryRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Sql string `protobuf:"bytes,1,opt,name=sql,proto3" json:"sql,omitempty"`
|
|
Args []*DbValue `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
|
|
// Transaction handle from DbTxBeginResponse; 0 = no transaction
|
|
// (autocommit).
|
|
TxHandle uint64 `protobuf:"varint,3,opt,name=tx_handle,json=txHandle,proto3" json:"tx_handle,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DbQueryRequest) Reset() {
|
|
*x = DbQueryRequest{}
|
|
mi := &file_v1_db_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DbQueryRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DbQueryRequest) ProtoMessage() {}
|
|
|
|
func (x *DbQueryRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_db_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DbQueryRequest.ProtoReflect.Descriptor instead.
|
|
func (*DbQueryRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_db_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *DbQueryRequest) GetSql() string {
|
|
if x != nil {
|
|
return x.Sql
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DbQueryRequest) GetArgs() []*DbValue {
|
|
if x != nil {
|
|
return x.Args
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DbQueryRequest) GetTxHandle() uint64 {
|
|
if x != nil {
|
|
return x.TxHandle
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// DbRowsResponse returns the full buffered result set.
|
|
type DbRowsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Columns []string `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
|
|
Rows []*DbRow `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
|
|
Error *DbError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DbRowsResponse) Reset() {
|
|
*x = DbRowsResponse{}
|
|
mi := &file_v1_db_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DbRowsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DbRowsResponse) ProtoMessage() {}
|
|
|
|
func (x *DbRowsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_db_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DbRowsResponse.ProtoReflect.Descriptor instead.
|
|
func (*DbRowsResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_db_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *DbRowsResponse) GetColumns() []string {
|
|
if x != nil {
|
|
return x.Columns
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DbRowsResponse) GetRows() []*DbRow {
|
|
if x != nil {
|
|
return x.Rows
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DbRowsResponse) GetError() *DbError {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DbExecRequest executes a statement without returning rows.
|
|
type DbExecRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Sql string `protobuf:"bytes,1,opt,name=sql,proto3" json:"sql,omitempty"`
|
|
Args []*DbValue `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
|
|
// Transaction handle from DbTxBeginResponse; 0 = no transaction.
|
|
TxHandle uint64 `protobuf:"varint,3,opt,name=tx_handle,json=txHandle,proto3" json:"tx_handle,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DbExecRequest) Reset() {
|
|
*x = DbExecRequest{}
|
|
mi := &file_v1_db_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DbExecRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DbExecRequest) ProtoMessage() {}
|
|
|
|
func (x *DbExecRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_db_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DbExecRequest.ProtoReflect.Descriptor instead.
|
|
func (*DbExecRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_db_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *DbExecRequest) GetSql() string {
|
|
if x != nil {
|
|
return x.Sql
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DbExecRequest) GetArgs() []*DbValue {
|
|
if x != nil {
|
|
return x.Args
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DbExecRequest) GetTxHandle() uint64 {
|
|
if x != nil {
|
|
return x.TxHandle
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DbExecResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RowsAffected int64 `protobuf:"varint,1,opt,name=rows_affected,json=rowsAffected,proto3" json:"rows_affected,omitempty"`
|
|
Error *DbError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DbExecResponse) Reset() {
|
|
*x = DbExecResponse{}
|
|
mi := &file_v1_db_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DbExecResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DbExecResponse) ProtoMessage() {}
|
|
|
|
func (x *DbExecResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_db_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DbExecResponse.ProtoReflect.Descriptor instead.
|
|
func (*DbExecResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_db_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *DbExecResponse) GetRowsAffected() int64 {
|
|
if x != nil {
|
|
return x.RowsAffected
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DbExecResponse) GetError() *DbError {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DbTxBeginRequest opens a host-side transaction for this call chain.
|
|
type DbTxBeginRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DbTxBeginRequest) Reset() {
|
|
*x = DbTxBeginRequest{}
|
|
mi := &file_v1_db_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DbTxBeginRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DbTxBeginRequest) ProtoMessage() {}
|
|
|
|
func (x *DbTxBeginRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_db_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DbTxBeginRequest.ProtoReflect.Descriptor instead.
|
|
func (*DbTxBeginRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_db_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type DbTxBeginResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Opaque handle referencing the host-side transaction; never 0 on success.
|
|
TxHandle uint64 `protobuf:"varint,1,opt,name=tx_handle,json=txHandle,proto3" json:"tx_handle,omitempty"`
|
|
Error *DbError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DbTxBeginResponse) Reset() {
|
|
*x = DbTxBeginResponse{}
|
|
mi := &file_v1_db_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DbTxBeginResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DbTxBeginResponse) ProtoMessage() {}
|
|
|
|
func (x *DbTxBeginResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_db_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DbTxBeginResponse.ProtoReflect.Descriptor instead.
|
|
func (*DbTxBeginResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_db_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *DbTxBeginResponse) GetTxHandle() uint64 {
|
|
if x != nil {
|
|
return x.TxHandle
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DbTxBeginResponse) GetError() *DbError {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DbTxCommitRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TxHandle uint64 `protobuf:"varint,1,opt,name=tx_handle,json=txHandle,proto3" json:"tx_handle,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DbTxCommitRequest) Reset() {
|
|
*x = DbTxCommitRequest{}
|
|
mi := &file_v1_db_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DbTxCommitRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DbTxCommitRequest) ProtoMessage() {}
|
|
|
|
func (x *DbTxCommitRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_db_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DbTxCommitRequest.ProtoReflect.Descriptor instead.
|
|
func (*DbTxCommitRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_db_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *DbTxCommitRequest) GetTxHandle() uint64 {
|
|
if x != nil {
|
|
return x.TxHandle
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DbTxCommitResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error *DbError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DbTxCommitResponse) Reset() {
|
|
*x = DbTxCommitResponse{}
|
|
mi := &file_v1_db_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DbTxCommitResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DbTxCommitResponse) ProtoMessage() {}
|
|
|
|
func (x *DbTxCommitResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_db_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DbTxCommitResponse.ProtoReflect.Descriptor instead.
|
|
func (*DbTxCommitResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_db_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *DbTxCommitResponse) GetError() *DbError {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DbTxRollbackRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TxHandle uint64 `protobuf:"varint,1,opt,name=tx_handle,json=txHandle,proto3" json:"tx_handle,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DbTxRollbackRequest) Reset() {
|
|
*x = DbTxRollbackRequest{}
|
|
mi := &file_v1_db_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DbTxRollbackRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DbTxRollbackRequest) ProtoMessage() {}
|
|
|
|
func (x *DbTxRollbackRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_db_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DbTxRollbackRequest.ProtoReflect.Descriptor instead.
|
|
func (*DbTxRollbackRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_db_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *DbTxRollbackRequest) GetTxHandle() uint64 {
|
|
if x != nil {
|
|
return x.TxHandle
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DbTxRollbackResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error *DbError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DbTxRollbackResponse) Reset() {
|
|
*x = DbTxRollbackResponse{}
|
|
mi := &file_v1_db_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DbTxRollbackResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DbTxRollbackResponse) ProtoMessage() {}
|
|
|
|
func (x *DbTxRollbackResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_db_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DbTxRollbackResponse.ProtoReflect.Descriptor instead.
|
|
func (*DbTxRollbackResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_db_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *DbTxRollbackResponse) GetError() *DbError {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_v1_db_proto protoreflect.FileDescriptor
|
|
|
|
const file_v1_db_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\vv1/db.proto\x12\x06abi.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcb\x03\n" +
|
|
"\aDbValue\x12\x14\n" +
|
|
"\x04null\x18\x01 \x01(\bH\x00R\x04null\x12\x1f\n" +
|
|
"\n" +
|
|
"bool_value\x18\x02 \x01(\bH\x00R\tboolValue\x12!\n" +
|
|
"\vint64_value\x18\x03 \x01(\x03H\x00R\n" +
|
|
"int64Value\x12%\n" +
|
|
"\rfloat64_value\x18\x04 \x01(\x01H\x00R\ffloat64Value\x12#\n" +
|
|
"\fstring_value\x18\x05 \x01(\tH\x00R\vstringValue\x12!\n" +
|
|
"\vbytes_value\x18\x06 \x01(\fH\x00R\n" +
|
|
"bytesValue\x12E\n" +
|
|
"\x0ftimestamp_value\x18\a \x01(\v2\x1a.google.protobuf.TimestampH\x00R\x0etimestampValue\x12\x1f\n" +
|
|
"\n" +
|
|
"uuid_value\x18\b \x01(\tH\x00R\tuuidValue\x12!\n" +
|
|
"\vjsonb_value\x18\t \x01(\fH\x00R\n" +
|
|
"jsonbValue\x12%\n" +
|
|
"\rnumeric_value\x18\n" +
|
|
" \x01(\tH\x00R\fnumericValue\x12=\n" +
|
|
"\x10text_array_value\x18\v \x01(\v2\x11.abi.v1.TextArrayH\x00R\x0etextArrayValueB\x06\n" +
|
|
"\x04kind\"#\n" +
|
|
"\tTextArray\x12\x16\n" +
|
|
"\x06values\x18\x01 \x03(\tR\x06values\"0\n" +
|
|
"\x05DbRow\x12'\n" +
|
|
"\x06values\x18\x01 \x03(\v2\x0f.abi.v1.DbValueR\x06values\"7\n" +
|
|
"\aDbError\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\tR\x04code\x12\x18\n" +
|
|
"\amessage\x18\x02 \x01(\tR\amessage\"d\n" +
|
|
"\x0eDbQueryRequest\x12\x10\n" +
|
|
"\x03sql\x18\x01 \x01(\tR\x03sql\x12#\n" +
|
|
"\x04args\x18\x02 \x03(\v2\x0f.abi.v1.DbValueR\x04args\x12\x1b\n" +
|
|
"\ttx_handle\x18\x03 \x01(\x04R\btxHandle\"t\n" +
|
|
"\x0eDbRowsResponse\x12\x18\n" +
|
|
"\acolumns\x18\x01 \x03(\tR\acolumns\x12!\n" +
|
|
"\x04rows\x18\x02 \x03(\v2\r.abi.v1.DbRowR\x04rows\x12%\n" +
|
|
"\x05error\x18\x03 \x01(\v2\x0f.abi.v1.DbErrorR\x05error\"c\n" +
|
|
"\rDbExecRequest\x12\x10\n" +
|
|
"\x03sql\x18\x01 \x01(\tR\x03sql\x12#\n" +
|
|
"\x04args\x18\x02 \x03(\v2\x0f.abi.v1.DbValueR\x04args\x12\x1b\n" +
|
|
"\ttx_handle\x18\x03 \x01(\x04R\btxHandle\"\\\n" +
|
|
"\x0eDbExecResponse\x12#\n" +
|
|
"\rrows_affected\x18\x01 \x01(\x03R\frowsAffected\x12%\n" +
|
|
"\x05error\x18\x02 \x01(\v2\x0f.abi.v1.DbErrorR\x05error\"\x12\n" +
|
|
"\x10DbTxBeginRequest\"W\n" +
|
|
"\x11DbTxBeginResponse\x12\x1b\n" +
|
|
"\ttx_handle\x18\x01 \x01(\x04R\btxHandle\x12%\n" +
|
|
"\x05error\x18\x02 \x01(\v2\x0f.abi.v1.DbErrorR\x05error\"0\n" +
|
|
"\x11DbTxCommitRequest\x12\x1b\n" +
|
|
"\ttx_handle\x18\x01 \x01(\x04R\btxHandle\";\n" +
|
|
"\x12DbTxCommitResponse\x12%\n" +
|
|
"\x05error\x18\x01 \x01(\v2\x0f.abi.v1.DbErrorR\x05error\"2\n" +
|
|
"\x13DbTxRollbackRequest\x12\x1b\n" +
|
|
"\ttx_handle\x18\x01 \x01(\x04R\btxHandle\"=\n" +
|
|
"\x14DbTxRollbackResponse\x12%\n" +
|
|
"\x05error\x18\x01 \x01(\v2\x0f.abi.v1.DbErrorR\x05errorB0Z.git.dev.alexdunmow.com/block/core/abi/v1;abiv1b\x06proto3"
|
|
|
|
var (
|
|
file_v1_db_proto_rawDescOnce sync.Once
|
|
file_v1_db_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_v1_db_proto_rawDescGZIP() []byte {
|
|
file_v1_db_proto_rawDescOnce.Do(func() {
|
|
file_v1_db_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_v1_db_proto_rawDesc), len(file_v1_db_proto_rawDesc)))
|
|
})
|
|
return file_v1_db_proto_rawDescData
|
|
}
|
|
|
|
var file_v1_db_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
|
var file_v1_db_proto_goTypes = []any{
|
|
(*DbValue)(nil), // 0: abi.v1.DbValue
|
|
(*TextArray)(nil), // 1: abi.v1.TextArray
|
|
(*DbRow)(nil), // 2: abi.v1.DbRow
|
|
(*DbError)(nil), // 3: abi.v1.DbError
|
|
(*DbQueryRequest)(nil), // 4: abi.v1.DbQueryRequest
|
|
(*DbRowsResponse)(nil), // 5: abi.v1.DbRowsResponse
|
|
(*DbExecRequest)(nil), // 6: abi.v1.DbExecRequest
|
|
(*DbExecResponse)(nil), // 7: abi.v1.DbExecResponse
|
|
(*DbTxBeginRequest)(nil), // 8: abi.v1.DbTxBeginRequest
|
|
(*DbTxBeginResponse)(nil), // 9: abi.v1.DbTxBeginResponse
|
|
(*DbTxCommitRequest)(nil), // 10: abi.v1.DbTxCommitRequest
|
|
(*DbTxCommitResponse)(nil), // 11: abi.v1.DbTxCommitResponse
|
|
(*DbTxRollbackRequest)(nil), // 12: abi.v1.DbTxRollbackRequest
|
|
(*DbTxRollbackResponse)(nil), // 13: abi.v1.DbTxRollbackResponse
|
|
(*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp
|
|
}
|
|
var file_v1_db_proto_depIdxs = []int32{
|
|
14, // 0: abi.v1.DbValue.timestamp_value:type_name -> google.protobuf.Timestamp
|
|
1, // 1: abi.v1.DbValue.text_array_value:type_name -> abi.v1.TextArray
|
|
0, // 2: abi.v1.DbRow.values:type_name -> abi.v1.DbValue
|
|
0, // 3: abi.v1.DbQueryRequest.args:type_name -> abi.v1.DbValue
|
|
2, // 4: abi.v1.DbRowsResponse.rows:type_name -> abi.v1.DbRow
|
|
3, // 5: abi.v1.DbRowsResponse.error:type_name -> abi.v1.DbError
|
|
0, // 6: abi.v1.DbExecRequest.args:type_name -> abi.v1.DbValue
|
|
3, // 7: abi.v1.DbExecResponse.error:type_name -> abi.v1.DbError
|
|
3, // 8: abi.v1.DbTxBeginResponse.error:type_name -> abi.v1.DbError
|
|
3, // 9: abi.v1.DbTxCommitResponse.error:type_name -> abi.v1.DbError
|
|
3, // 10: abi.v1.DbTxRollbackResponse.error:type_name -> abi.v1.DbError
|
|
11, // [11:11] is the sub-list for method output_type
|
|
11, // [11:11] is the sub-list for method input_type
|
|
11, // [11:11] is the sub-list for extension type_name
|
|
11, // [11:11] is the sub-list for extension extendee
|
|
0, // [0:11] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_v1_db_proto_init() }
|
|
func file_v1_db_proto_init() {
|
|
if File_v1_db_proto != nil {
|
|
return
|
|
}
|
|
file_v1_db_proto_msgTypes[0].OneofWrappers = []any{
|
|
(*DbValue_Null)(nil),
|
|
(*DbValue_BoolValue)(nil),
|
|
(*DbValue_Int64Value)(nil),
|
|
(*DbValue_Float64Value)(nil),
|
|
(*DbValue_StringValue)(nil),
|
|
(*DbValue_BytesValue)(nil),
|
|
(*DbValue_TimestampValue)(nil),
|
|
(*DbValue_UuidValue)(nil),
|
|
(*DbValue_JsonbValue)(nil),
|
|
(*DbValue_NumericValue)(nil),
|
|
(*DbValue_TextArrayValue)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_v1_db_proto_rawDesc), len(file_v1_db_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 14,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_v1_db_proto_goTypes,
|
|
DependencyIndexes: file_v1_db_proto_depIdxs,
|
|
MessageInfos: file_v1_db_proto_msgTypes,
|
|
}.Build()
|
|
File_v1_db_proto = out.File
|
|
file_v1_db_proto_goTypes = nil
|
|
file_v1_db_proto_depIdxs = nil
|
|
}
|