quickdbv1

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Quick_CreateEphemeralDatabase_FullMethodName = "/remote.sqlc.dev.quickdb.v1.Quick/CreateEphemeralDatabase"
	Quick_DropEphemeralDatabase_FullMethodName   = "/remote.sqlc.dev.quickdb.v1.Quick/DropEphemeralDatabase"
	Quick_UploadArchive_FullMethodName           = "/remote.sqlc.dev.quickdb.v1.Quick/UploadArchive"
	Quick_VerifyQuerySets_FullMethodName         = "/remote.sqlc.dev.quickdb.v1.Quick/VerifyQuerySets"
	Quick_GetQuerySets_FullMethodName            = "/remote.sqlc.dev.quickdb.v1.Quick/GetQuerySets"
)

Variables

View Source
var File_v1_quickdb_proto protoreflect.FileDescriptor
View Source
var Quick_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "remote.sqlc.dev.quickdb.v1.Quick",
	HandlerType: (*QuickServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateEphemeralDatabase",
			Handler:    _Quick_CreateEphemeralDatabase_Handler,
		},
		{
			MethodName: "DropEphemeralDatabase",
			Handler:    _Quick_DropEphemeralDatabase_Handler,
		},
		{
			MethodName: "UploadArchive",
			Handler:    _Quick_UploadArchive_Handler,
		},
		{
			MethodName: "VerifyQuerySets",
			Handler:    _Quick_VerifyQuerySets_Handler,
		},
		{
			MethodName: "GetQuerySets",
			Handler:    _Quick_GetQuerySets_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1/quickdb.proto",
}

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

Functions

func RegisterQuickServer

func RegisterQuickServer(s grpc.ServiceRegistrar, srv QuickServer)

Types

type CreateEphemeralDatabaseRequest

type CreateEphemeralDatabaseRequest struct {
	Region     string   `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	Engine     string   `protobuf:"bytes,2,opt,name=engine,proto3" json:"engine,omitempty"`
	ServerId   string   `protobuf:"bytes,3,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	Migrations []string `protobuf:"bytes,4,rep,name=migrations,proto3" json:"migrations,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEphemeralDatabaseRequest) Descriptor deprecated

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

Deprecated: Use CreateEphemeralDatabaseRequest.ProtoReflect.Descriptor instead.

func (*CreateEphemeralDatabaseRequest) GetEngine

func (x *CreateEphemeralDatabaseRequest) GetEngine() string

func (*CreateEphemeralDatabaseRequest) GetMigrations

func (x *CreateEphemeralDatabaseRequest) GetMigrations() []string

func (*CreateEphemeralDatabaseRequest) GetRegion

func (x *CreateEphemeralDatabaseRequest) GetRegion() string

func (*CreateEphemeralDatabaseRequest) GetServerId

func (x *CreateEphemeralDatabaseRequest) GetServerId() string

func (*CreateEphemeralDatabaseRequest) ProtoMessage

func (*CreateEphemeralDatabaseRequest) ProtoMessage()

func (*CreateEphemeralDatabaseRequest) ProtoReflect

func (*CreateEphemeralDatabaseRequest) Reset

func (x *CreateEphemeralDatabaseRequest) Reset()

func (*CreateEphemeralDatabaseRequest) String

type CreateEphemeralDatabaseResponse

type CreateEphemeralDatabaseResponse struct {
	DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	Uri        string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEphemeralDatabaseResponse) Descriptor deprecated

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

Deprecated: Use CreateEphemeralDatabaseResponse.ProtoReflect.Descriptor instead.

func (*CreateEphemeralDatabaseResponse) GetDatabaseId

func (x *CreateEphemeralDatabaseResponse) GetDatabaseId() string

func (*CreateEphemeralDatabaseResponse) GetUri

func (*CreateEphemeralDatabaseResponse) ProtoMessage

func (*CreateEphemeralDatabaseResponse) ProtoMessage()

func (*CreateEphemeralDatabaseResponse) ProtoReflect

func (*CreateEphemeralDatabaseResponse) Reset

func (*CreateEphemeralDatabaseResponse) String

type DropEphemeralDatabaseRequest

type DropEphemeralDatabaseRequest struct {
	DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DropEphemeralDatabaseRequest) Descriptor deprecated

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

Deprecated: Use DropEphemeralDatabaseRequest.ProtoReflect.Descriptor instead.

func (*DropEphemeralDatabaseRequest) GetDatabaseId

func (x *DropEphemeralDatabaseRequest) GetDatabaseId() string

func (*DropEphemeralDatabaseRequest) ProtoMessage

func (*DropEphemeralDatabaseRequest) ProtoMessage()

func (*DropEphemeralDatabaseRequest) ProtoReflect

func (*DropEphemeralDatabaseRequest) Reset

func (x *DropEphemeralDatabaseRequest) Reset()

func (*DropEphemeralDatabaseRequest) String

type DropEphemeralDatabaseResponse

type DropEphemeralDatabaseResponse struct {
	// contains filtered or unexported fields
}

func (*DropEphemeralDatabaseResponse) Descriptor deprecated

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

Deprecated: Use DropEphemeralDatabaseResponse.ProtoReflect.Descriptor instead.

func (*DropEphemeralDatabaseResponse) ProtoMessage

func (*DropEphemeralDatabaseResponse) ProtoMessage()

func (*DropEphemeralDatabaseResponse) ProtoReflect

func (*DropEphemeralDatabaseResponse) Reset

func (x *DropEphemeralDatabaseResponse) Reset()

func (*DropEphemeralDatabaseResponse) String

type File

type File struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Contents []byte `protobuf:"bytes,2,opt,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

func (*File) Descriptor deprecated

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

Deprecated: Use File.ProtoReflect.Descriptor instead.

func (*File) GetContents

func (x *File) GetContents() []byte

func (*File) GetName

func (x *File) GetName() string

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) ProtoReflect

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

func (*File) Reset

func (x *File) Reset()

func (*File) String

func (x *File) String() string

type GetQuerySetsRequest added in v1.27.0

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

func (*GetQuerySetsRequest) Descriptor deprecated added in v1.27.0

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

Deprecated: Use GetQuerySetsRequest.ProtoReflect.Descriptor instead.

func (*GetQuerySetsRequest) GetTag added in v1.27.0

func (x *GetQuerySetsRequest) GetTag() string

func (*GetQuerySetsRequest) ProtoMessage added in v1.27.0

func (*GetQuerySetsRequest) ProtoMessage()

func (*GetQuerySetsRequest) ProtoReflect added in v1.27.0

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

func (*GetQuerySetsRequest) Reset added in v1.27.0

func (x *GetQuerySetsRequest) Reset()

func (*GetQuerySetsRequest) String added in v1.27.0

func (x *GetQuerySetsRequest) String() string

type GetQuerySetsResponse added in v1.27.0

type GetQuerySetsResponse struct {
	QuerySets []*QuerySet `protobuf:"bytes,1,rep,name=query_sets,json=querySets,proto3" json:"query_sets,omitempty"`
	// contains filtered or unexported fields
}

func (*GetQuerySetsResponse) Descriptor deprecated added in v1.27.0

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

Deprecated: Use GetQuerySetsResponse.ProtoReflect.Descriptor instead.

func (*GetQuerySetsResponse) GetQuerySets added in v1.27.0

func (x *GetQuerySetsResponse) GetQuerySets() []*QuerySet

func (*GetQuerySetsResponse) ProtoMessage added in v1.27.0

func (*GetQuerySetsResponse) ProtoMessage()

func (*GetQuerySetsResponse) ProtoReflect added in v1.27.0

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

func (*GetQuerySetsResponse) Reset added in v1.27.0

func (x *GetQuerySetsResponse) Reset()

func (*GetQuerySetsResponse) String added in v1.27.0

func (x *GetQuerySetsResponse) String() string

type QuerySet added in v1.24.0

type QuerySet struct {
	Name           string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Schema         []*File `protobuf:"bytes,2,rep,name=schema,proto3" json:"schema,omitempty"`
	Queries        []*File `protobuf:"bytes,3,rep,name=queries,proto3" json:"queries,omitempty"`
	CodegenRequest *File   `protobuf:"bytes,4,opt,name=codegen_request,json=codegenRequest,proto3" json:"codegen_request,omitempty"`
	// contains filtered or unexported fields
}

func (*QuerySet) Descriptor deprecated added in v1.24.0

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

Deprecated: Use QuerySet.ProtoReflect.Descriptor instead.

func (*QuerySet) GetCodegenRequest added in v1.24.0

func (x *QuerySet) GetCodegenRequest() *File

func (*QuerySet) GetName added in v1.24.0

func (x *QuerySet) GetName() string

func (*QuerySet) GetQueries added in v1.24.0

func (x *QuerySet) GetQueries() []*File

func (*QuerySet) GetSchema added in v1.24.0

func (x *QuerySet) GetSchema() []*File

func (*QuerySet) ProtoMessage added in v1.24.0

func (*QuerySet) ProtoMessage()

func (*QuerySet) ProtoReflect added in v1.24.0

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

func (*QuerySet) Reset added in v1.24.0

func (x *QuerySet) Reset()

func (*QuerySet) String added in v1.24.0

func (x *QuerySet) String() string

type QuickClient

QuickClient is the client API for Quick 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 NewQuickClient

func NewQuickClient(cc grpc.ClientConnInterface) QuickClient

type QuickServer

QuickServer is the server API for Quick service. All implementations must embed UnimplementedQuickServer for forward compatibility

type UnimplementedQuickServer

type UnimplementedQuickServer struct {
}

UnimplementedQuickServer must be embedded to have forward compatible implementations.

func (UnimplementedQuickServer) GetQuerySets added in v1.27.0

func (UnimplementedQuickServer) UploadArchive

func (UnimplementedQuickServer) VerifyQuerySets added in v1.24.0

type UnsafeQuickServer added in v1.24.0

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

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

type UploadArchiveRequest

type UploadArchiveRequest struct {
	SqlcVersion string            `protobuf:"bytes,1,opt,name=sqlc_version,json=sqlcVersion,proto3" json:"sqlc_version,omitempty"`
	Inputs      []*File           `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`   // deprecated
	Outputs     []*File           `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"` // deprecated
	Annotations map[string]string ``                                                                    /* 163-byte string literal not displayed */
	QuerySets   []*QuerySet       `protobuf:"bytes,5,rep,name=query_sets,json=querySets,proto3" json:"query_sets,omitempty"`
	Config      *File             `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"`
	Tags        []string          `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadArchiveRequest) Descriptor deprecated

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

Deprecated: Use UploadArchiveRequest.ProtoReflect.Descriptor instead.

func (*UploadArchiveRequest) GetAnnotations added in v1.24.0

func (x *UploadArchiveRequest) GetAnnotations() map[string]string

func (*UploadArchiveRequest) GetConfig added in v1.24.0

func (x *UploadArchiveRequest) GetConfig() *File

func (*UploadArchiveRequest) GetInputs

func (x *UploadArchiveRequest) GetInputs() []*File

func (*UploadArchiveRequest) GetOutputs

func (x *UploadArchiveRequest) GetOutputs() []*File

func (*UploadArchiveRequest) GetQuerySets added in v1.24.0

func (x *UploadArchiveRequest) GetQuerySets() []*QuerySet

func (*UploadArchiveRequest) GetSqlcVersion

func (x *UploadArchiveRequest) GetSqlcVersion() string

func (*UploadArchiveRequest) GetTags added in v1.25.0

func (x *UploadArchiveRequest) GetTags() []string

func (*UploadArchiveRequest) ProtoMessage

func (*UploadArchiveRequest) ProtoMessage()

func (*UploadArchiveRequest) ProtoReflect

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

func (*UploadArchiveRequest) Reset

func (x *UploadArchiveRequest) Reset()

func (*UploadArchiveRequest) String

func (x *UploadArchiveRequest) String() string

type UploadArchiveResponse

type UploadArchiveResponse struct {
	Checksum []byte `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadArchiveResponse) Descriptor deprecated

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

Deprecated: Use UploadArchiveResponse.ProtoReflect.Descriptor instead.

func (*UploadArchiveResponse) GetChecksum

func (x *UploadArchiveResponse) GetChecksum() []byte

func (*UploadArchiveResponse) ProtoMessage

func (*UploadArchiveResponse) ProtoMessage()

func (*UploadArchiveResponse) ProtoReflect

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

func (*UploadArchiveResponse) Reset

func (x *UploadArchiveResponse) Reset()

func (*UploadArchiveResponse) String

func (x *UploadArchiveResponse) String() string

type VerifyQuerySetsRequest added in v1.24.0

type VerifyQuerySetsRequest struct {
	SqlcVersion string            `protobuf:"bytes,1,opt,name=sqlc_version,json=sqlcVersion,proto3" json:"sqlc_version,omitempty"`
	QuerySets   []*QuerySet       `protobuf:"bytes,2,rep,name=query_sets,json=querySets,proto3" json:"query_sets,omitempty"`
	Config      *File             `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	Against     string            `protobuf:"bytes,5,opt,name=against,proto3" json:"against,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyQuerySetsRequest) Descriptor deprecated added in v1.24.0

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

Deprecated: Use VerifyQuerySetsRequest.ProtoReflect.Descriptor instead.

func (*VerifyQuerySetsRequest) GetAgainst added in v1.25.0

func (x *VerifyQuerySetsRequest) GetAgainst() string

func (*VerifyQuerySetsRequest) GetAnnotations added in v1.24.0

func (x *VerifyQuerySetsRequest) GetAnnotations() map[string]string

func (*VerifyQuerySetsRequest) GetConfig added in v1.24.0

func (x *VerifyQuerySetsRequest) GetConfig() *File

func (*VerifyQuerySetsRequest) GetQuerySets added in v1.24.0

func (x *VerifyQuerySetsRequest) GetQuerySets() []*QuerySet

func (*VerifyQuerySetsRequest) GetSqlcVersion added in v1.24.0

func (x *VerifyQuerySetsRequest) GetSqlcVersion() string

func (*VerifyQuerySetsRequest) ProtoMessage added in v1.24.0

func (*VerifyQuerySetsRequest) ProtoMessage()

func (*VerifyQuerySetsRequest) ProtoReflect added in v1.24.0

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

func (*VerifyQuerySetsRequest) Reset added in v1.24.0

func (x *VerifyQuerySetsRequest) Reset()

func (*VerifyQuerySetsRequest) String added in v1.24.0

func (x *VerifyQuerySetsRequest) String() string

type VerifyQuerySetsResponse added in v1.24.0

type VerifyQuerySetsResponse struct {
	Errored bool   `protobuf:"varint,1,opt,name=errored,proto3" json:"errored,omitempty"`
	Output  string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
	Summary string `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyQuerySetsResponse) Descriptor deprecated added in v1.24.0

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

Deprecated: Use VerifyQuerySetsResponse.ProtoReflect.Descriptor instead.

func (*VerifyQuerySetsResponse) GetErrored added in v1.24.0

func (x *VerifyQuerySetsResponse) GetErrored() bool

func (*VerifyQuerySetsResponse) GetOutput added in v1.24.0

func (x *VerifyQuerySetsResponse) GetOutput() string

func (*VerifyQuerySetsResponse) GetSummary added in v1.24.0

func (x *VerifyQuerySetsResponse) GetSummary() string

func (*VerifyQuerySetsResponse) ProtoMessage added in v1.24.0

func (*VerifyQuerySetsResponse) ProtoMessage()

func (*VerifyQuerySetsResponse) ProtoReflect added in v1.24.0

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

func (*VerifyQuerySetsResponse) Reset added in v1.24.0

func (x *VerifyQuerySetsResponse) Reset()

func (*VerifyQuerySetsResponse) String added in v1.24.0

func (x *VerifyQuerySetsResponse) String() string

Jump to

Keyboard shortcuts

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