Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDatabaseServiceServer(s grpc.ServiceRegistrar, srv DatabaseServiceServer)
- type Data
- type DataSourceNamesRequest
- type DataSourceNamesResponse
- func (*DataSourceNamesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceNamesResponse) GetDsn() []string
- func (*DataSourceNamesResponse) ProtoMessage()
- func (x *DataSourceNamesResponse) ProtoReflect() protoreflect.Message
- func (x *DataSourceNamesResponse) Reset()
- func (x *DataSourceNamesResponse) String() string
- type DatabaseServiceClient
- type DatabaseServiceServer
- type DatabaseService_DownloadClient
- type DatabaseService_DownloadServer
- type DatabaseService_LatestSnapshotClient
- type DatabaseService_LatestSnapshotServer
- type DatabaseService_QueryClient
- type DatabaseService_QueryServer
- type DownloadRequest
- type DownloadResponse
- type LatestSnapshotRequest
- func (*LatestSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LatestSnapshotRequest) GetReplicationId() string
- func (*LatestSnapshotRequest) ProtoMessage()
- func (x *LatestSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *LatestSnapshotRequest) Reset()
- func (x *LatestSnapshotRequest) String() string
- type LatestSnapshotResponse
- func (*LatestSnapshotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LatestSnapshotResponse) GetData() []byte
- func (*LatestSnapshotResponse) ProtoMessage()
- func (x *LatestSnapshotResponse) ProtoReflect() protoreflect.Message
- func (x *LatestSnapshotResponse) Reset()
- func (x *LatestSnapshotResponse) String() string
- type NamedValue
- func (*NamedValue) Descriptor() ([]byte, []int)deprecated
- func (x *NamedValue) GetName() string
- func (x *NamedValue) GetOrdinal() int64
- func (x *NamedValue) GetValue() *anypb.Any
- func (*NamedValue) ProtoMessage()
- func (x *NamedValue) ProtoReflect() protoreflect.Message
- func (x *NamedValue) Reset()
- func (x *NamedValue) String() string
- type QueryRequest
- func (*QueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequest) GetParams() []*NamedValue
- func (x *QueryRequest) GetReplicationId() string
- func (x *QueryRequest) GetSql() string
- func (x *QueryRequest) GetType() QueryType
- func (*QueryRequest) ProtoMessage()
- func (x *QueryRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequest) Reset()
- func (x *QueryRequest) String() string
- type QueryResponse
- func (*QueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResponse) GetError() string
- func (x *QueryResponse) GetLastInsertId() int64
- func (x *QueryResponse) GetResultSet() *Data
- func (x *QueryResponse) GetRowsAffected() int64
- func (x *QueryResponse) GetTxseq() uint64
- func (*QueryResponse) ProtoMessage()
- func (x *QueryResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResponse) Reset()
- func (x *QueryResponse) String() string
- type QueryType
- type ReplicationIDsRequest
- type ReplicationIDsResponse
- func (*ReplicationIDsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReplicationIDsResponse) GetReplicationId() []string
- func (*ReplicationIDsResponse) ProtoMessage()
- func (x *ReplicationIDsResponse) ProtoReflect() protoreflect.Message
- func (x *ReplicationIDsResponse) Reset()
- func (x *ReplicationIDsResponse) String() string
- type Row
- type UnimplementedDatabaseServiceServer
- func (UnimplementedDatabaseServiceServer) DataSourceNames(context.Context, *DataSourceNamesRequest) (*DataSourceNamesResponse, error)
- func (UnimplementedDatabaseServiceServer) Download(*DownloadRequest, grpc.ServerStreamingServer[DownloadResponse]) error
- func (UnimplementedDatabaseServiceServer) LatestSnapshot(*LatestSnapshotRequest, grpc.ServerStreamingServer[LatestSnapshotResponse]) error
- func (UnimplementedDatabaseServiceServer) Query(grpc.BidiStreamingServer[QueryRequest, QueryResponse]) error
- func (UnimplementedDatabaseServiceServer) ReplicationIDs(context.Context, *ReplicationIDsRequest) (*ReplicationIDsResponse, error)
- type UnsafeDatabaseServiceServer
Constants ¶
const ( DatabaseService_Query_FullMethodName = "/sql.v1.DatabaseService/Query" DatabaseService_DataSourceNames_FullMethodName = "/sql.v1.DatabaseService/DataSourceNames" DatabaseService_Download_FullMethodName = "/sql.v1.DatabaseService/Download" DatabaseService_LatestSnapshot_FullMethodName = "/sql.v1.DatabaseService/LatestSnapshot" DatabaseService_ReplicationIDs_FullMethodName = "/sql.v1.DatabaseService/ReplicationIDs" )
Variables ¶
var ( QueryType_name = map[int32]string{ 0: "QUERY_TYPE_UNSPECIFIED", 1: "QUERY_TYPE_EXEC_UPDATE", 2: "QUERY_TYPE_EXEC_QUERY", 3: "QUERY_TYPE_PING", } QueryType_value = map[string]int32{ "QUERY_TYPE_UNSPECIFIED": 0, "QUERY_TYPE_EXEC_UPDATE": 1, "QUERY_TYPE_EXEC_QUERY": 2, "QUERY_TYPE_PING": 3, } )
Enum value maps for QueryType.
var DatabaseService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sql.v1.DatabaseService", HandlerType: (*DatabaseServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DataSourceNames", Handler: _DatabaseService_DataSourceNames_Handler, }, { MethodName: "ReplicationIDs", Handler: _DatabaseService_ReplicationIDs_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Query", Handler: _DatabaseService_Query_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "Download", Handler: _DatabaseService_Download_Handler, ServerStreams: true, }, { StreamName: "LatestSnapshot", Handler: _DatabaseService_LatestSnapshot_Handler, ServerStreams: true, }, }, Metadata: "sql/v1/sql.proto", }
DatabaseService_ServiceDesc is the grpc.ServiceDesc for DatabaseService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_sql_v1_sql_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDatabaseServiceServer ¶
func RegisterDatabaseServiceServer(s grpc.ServiceRegistrar, srv DatabaseServiceServer)
Types ¶
type Data ¶
type Data struct {
Columns []string `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
Rows []*Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
// contains filtered or unexported fields
}
func (*Data) Descriptor
deprecated
func (*Data) GetColumns ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type DataSourceNamesRequest ¶ added in v0.5.10
type DataSourceNamesRequest struct {
// contains filtered or unexported fields
}
func (*DataSourceNamesRequest) Descriptor
deprecated
added in
v0.5.10
func (*DataSourceNamesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DataSourceNamesRequest.ProtoReflect.Descriptor instead.
func (*DataSourceNamesRequest) ProtoMessage ¶ added in v0.5.10
func (*DataSourceNamesRequest) ProtoMessage()
func (*DataSourceNamesRequest) ProtoReflect ¶ added in v0.5.10
func (x *DataSourceNamesRequest) ProtoReflect() protoreflect.Message
func (*DataSourceNamesRequest) Reset ¶ added in v0.5.10
func (x *DataSourceNamesRequest) Reset()
func (*DataSourceNamesRequest) String ¶ added in v0.5.10
func (x *DataSourceNamesRequest) String() string
type DataSourceNamesResponse ¶ added in v0.5.10
type DataSourceNamesResponse struct {
Dsn []string `protobuf:"bytes,1,rep,name=dsn,proto3" json:"dsn,omitempty"`
// contains filtered or unexported fields
}
func (*DataSourceNamesResponse) Descriptor
deprecated
added in
v0.5.10
func (*DataSourceNamesResponse) Descriptor() ([]byte, []int)
Deprecated: Use DataSourceNamesResponse.ProtoReflect.Descriptor instead.
func (*DataSourceNamesResponse) GetDsn ¶ added in v0.5.10
func (x *DataSourceNamesResponse) GetDsn() []string
func (*DataSourceNamesResponse) ProtoMessage ¶ added in v0.5.10
func (*DataSourceNamesResponse) ProtoMessage()
func (*DataSourceNamesResponse) ProtoReflect ¶ added in v0.5.10
func (x *DataSourceNamesResponse) ProtoReflect() protoreflect.Message
func (*DataSourceNamesResponse) Reset ¶ added in v0.5.10
func (x *DataSourceNamesResponse) Reset()
func (*DataSourceNamesResponse) String ¶ added in v0.5.10
func (x *DataSourceNamesResponse) String() string
type DatabaseServiceClient ¶
type DatabaseServiceClient interface {
Query(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[QueryRequest, QueryResponse], error)
DataSourceNames(ctx context.Context, in *DataSourceNamesRequest, opts ...grpc.CallOption) (*DataSourceNamesResponse, error)
Download(ctx context.Context, in *DownloadRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[DownloadResponse], error)
LatestSnapshot(ctx context.Context, in *LatestSnapshotRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[LatestSnapshotResponse], error)
ReplicationIDs(ctx context.Context, in *ReplicationIDsRequest, opts ...grpc.CallOption) (*ReplicationIDsResponse, error)
}
DatabaseServiceClient is the client API for DatabaseService 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 NewDatabaseServiceClient ¶
func NewDatabaseServiceClient(cc grpc.ClientConnInterface) DatabaseServiceClient
type DatabaseServiceServer ¶
type DatabaseServiceServer interface {
Query(grpc.BidiStreamingServer[QueryRequest, QueryResponse]) error
DataSourceNames(context.Context, *DataSourceNamesRequest) (*DataSourceNamesResponse, error)
Download(*DownloadRequest, grpc.ServerStreamingServer[DownloadResponse]) error
LatestSnapshot(*LatestSnapshotRequest, grpc.ServerStreamingServer[LatestSnapshotResponse]) error
ReplicationIDs(context.Context, *ReplicationIDsRequest) (*ReplicationIDsResponse, error)
// contains filtered or unexported methods
}
DatabaseServiceServer is the server API for DatabaseService service. All implementations must embed UnimplementedDatabaseServiceServer for forward compatibility.
type DatabaseService_DownloadClient ¶ added in v0.8.0
type DatabaseService_DownloadClient = grpc.ServerStreamingClient[DownloadResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type DatabaseService_DownloadServer ¶ added in v0.8.0
type DatabaseService_DownloadServer = grpc.ServerStreamingServer[DownloadResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type DatabaseService_LatestSnapshotClient ¶ added in v0.8.0
type DatabaseService_LatestSnapshotClient = grpc.ServerStreamingClient[LatestSnapshotResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type DatabaseService_LatestSnapshotServer ¶ added in v0.8.0
type DatabaseService_LatestSnapshotServer = grpc.ServerStreamingServer[LatestSnapshotResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type DatabaseService_QueryClient ¶
type DatabaseService_QueryClient = grpc.BidiStreamingClient[QueryRequest, QueryResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type DatabaseService_QueryServer ¶
type DatabaseService_QueryServer = grpc.BidiStreamingServer[QueryRequest, QueryResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type DownloadRequest ¶ added in v0.8.0
type DownloadRequest struct {
ReplicationId string `protobuf:"bytes,1,opt,name=replication_id,json=replicationId,proto3" json:"replication_id,omitempty"`
// contains filtered or unexported fields
}
func (*DownloadRequest) Descriptor
deprecated
added in
v0.8.0
func (*DownloadRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadRequest.ProtoReflect.Descriptor instead.
func (*DownloadRequest) GetReplicationId ¶ added in v0.8.0
func (x *DownloadRequest) GetReplicationId() string
func (*DownloadRequest) ProtoMessage ¶ added in v0.8.0
func (*DownloadRequest) ProtoMessage()
func (*DownloadRequest) ProtoReflect ¶ added in v0.8.0
func (x *DownloadRequest) ProtoReflect() protoreflect.Message
func (*DownloadRequest) Reset ¶ added in v0.8.0
func (x *DownloadRequest) Reset()
func (*DownloadRequest) String ¶ added in v0.8.0
func (x *DownloadRequest) String() string
type DownloadResponse ¶ added in v0.8.0
type DownloadResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*DownloadResponse) Descriptor
deprecated
added in
v0.8.0
func (*DownloadResponse) Descriptor() ([]byte, []int)
Deprecated: Use DownloadResponse.ProtoReflect.Descriptor instead.
func (*DownloadResponse) GetData ¶ added in v0.8.0
func (x *DownloadResponse) GetData() []byte
func (*DownloadResponse) ProtoMessage ¶ added in v0.8.0
func (*DownloadResponse) ProtoMessage()
func (*DownloadResponse) ProtoReflect ¶ added in v0.8.0
func (x *DownloadResponse) ProtoReflect() protoreflect.Message
func (*DownloadResponse) Reset ¶ added in v0.8.0
func (x *DownloadResponse) Reset()
func (*DownloadResponse) String ¶ added in v0.8.0
func (x *DownloadResponse) String() string
type LatestSnapshotRequest ¶ added in v0.5.10
type LatestSnapshotRequest struct {
ReplicationId string `protobuf:"bytes,1,opt,name=replication_id,json=replicationId,proto3" json:"replication_id,omitempty"`
// contains filtered or unexported fields
}
func (*LatestSnapshotRequest) Descriptor
deprecated
added in
v0.5.10
func (*LatestSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use LatestSnapshotRequest.ProtoReflect.Descriptor instead.
func (*LatestSnapshotRequest) GetReplicationId ¶ added in v0.5.10
func (x *LatestSnapshotRequest) GetReplicationId() string
func (*LatestSnapshotRequest) ProtoMessage ¶ added in v0.5.10
func (*LatestSnapshotRequest) ProtoMessage()
func (*LatestSnapshotRequest) ProtoReflect ¶ added in v0.5.10
func (x *LatestSnapshotRequest) ProtoReflect() protoreflect.Message
func (*LatestSnapshotRequest) Reset ¶ added in v0.5.10
func (x *LatestSnapshotRequest) Reset()
func (*LatestSnapshotRequest) String ¶ added in v0.5.10
func (x *LatestSnapshotRequest) String() string
type LatestSnapshotResponse ¶ added in v0.5.10
type LatestSnapshotResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*LatestSnapshotResponse) Descriptor
deprecated
added in
v0.5.10
func (*LatestSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use LatestSnapshotResponse.ProtoReflect.Descriptor instead.
func (*LatestSnapshotResponse) GetData ¶ added in v0.5.10
func (x *LatestSnapshotResponse) GetData() []byte
func (*LatestSnapshotResponse) ProtoMessage ¶ added in v0.5.10
func (*LatestSnapshotResponse) ProtoMessage()
func (*LatestSnapshotResponse) ProtoReflect ¶ added in v0.5.10
func (x *LatestSnapshotResponse) ProtoReflect() protoreflect.Message
func (*LatestSnapshotResponse) Reset ¶ added in v0.5.10
func (x *LatestSnapshotResponse) Reset()
func (*LatestSnapshotResponse) String ¶ added in v0.5.10
func (x *LatestSnapshotResponse) String() string
type NamedValue ¶
type NamedValue struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Ordinal int64 `protobuf:"varint,2,opt,name=ordinal,proto3" json:"ordinal,omitempty"`
Value *anypb.Any `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*NamedValue) Descriptor
deprecated
func (*NamedValue) Descriptor() ([]byte, []int)
Deprecated: Use NamedValue.ProtoReflect.Descriptor instead.
func (*NamedValue) GetName ¶
func (x *NamedValue) GetName() string
func (*NamedValue) GetOrdinal ¶
func (x *NamedValue) GetOrdinal() int64
func (*NamedValue) GetValue ¶
func (x *NamedValue) GetValue() *anypb.Any
func (*NamedValue) ProtoMessage ¶
func (*NamedValue) ProtoMessage()
func (*NamedValue) ProtoReflect ¶
func (x *NamedValue) ProtoReflect() protoreflect.Message
func (*NamedValue) Reset ¶
func (x *NamedValue) Reset()
func (*NamedValue) String ¶
func (x *NamedValue) String() string
type QueryRequest ¶
type QueryRequest struct {
Type QueryType `protobuf:"varint,1,opt,name=type,proto3,enum=sql.v1.QueryType" json:"type,omitempty"`
Sql string `protobuf:"bytes,2,opt,name=sql,proto3" json:"sql,omitempty"`
Params []*NamedValue `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty"`
ReplicationId string `protobuf:"bytes,4,opt,name=replication_id,json=replicationId,proto3" json:"replication_id,omitempty"`
// contains filtered or unexported fields
}
func (*QueryRequest) Descriptor
deprecated
func (*QueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.
func (*QueryRequest) GetParams ¶
func (x *QueryRequest) GetParams() []*NamedValue
func (*QueryRequest) GetReplicationId ¶
func (x *QueryRequest) GetReplicationId() string
func (*QueryRequest) GetSql ¶
func (x *QueryRequest) GetSql() string
func (*QueryRequest) GetType ¶
func (x *QueryRequest) GetType() QueryType
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) ProtoReflect ¶
func (x *QueryRequest) ProtoReflect() protoreflect.Message
func (*QueryRequest) Reset ¶
func (x *QueryRequest) Reset()
func (*QueryRequest) String ¶
func (x *QueryRequest) String() string
type QueryResponse ¶
type QueryResponse struct {
ResultSet *Data `protobuf:"bytes,1,opt,name=result_set,json=resultSet,proto3" json:"result_set,omitempty"`
RowsAffected int64 `protobuf:"varint,2,opt,name=rows_affected,json=rowsAffected,proto3" json:"rows_affected,omitempty"`
LastInsertId int64 `protobuf:"varint,3,opt,name=last_insert_id,json=lastInsertId,proto3" json:"last_insert_id,omitempty"`
Txseq uint64 `protobuf:"varint,4,opt,name=txseq,proto3" json:"txseq,omitempty"`
Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*QueryResponse) Descriptor
deprecated
func (*QueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.
func (*QueryResponse) GetError ¶
func (x *QueryResponse) GetError() string
func (*QueryResponse) GetLastInsertId ¶
func (x *QueryResponse) GetLastInsertId() int64
func (*QueryResponse) GetResultSet ¶
func (x *QueryResponse) GetResultSet() *Data
func (*QueryResponse) GetRowsAffected ¶
func (x *QueryResponse) GetRowsAffected() int64
func (*QueryResponse) GetTxseq ¶
func (x *QueryResponse) GetTxseq() uint64
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) ProtoReflect ¶
func (x *QueryResponse) ProtoReflect() protoreflect.Message
func (*QueryResponse) Reset ¶
func (x *QueryResponse) Reset()
func (*QueryResponse) String ¶
func (x *QueryResponse) String() string
type QueryType ¶
type QueryType int32
func (QueryType) Descriptor ¶
func (QueryType) Descriptor() protoreflect.EnumDescriptor
func (QueryType) EnumDescriptor
deprecated
func (QueryType) Number ¶
func (x QueryType) Number() protoreflect.EnumNumber
func (QueryType) Type ¶
func (QueryType) Type() protoreflect.EnumType
type ReplicationIDsRequest ¶ added in v0.5.10
type ReplicationIDsRequest struct {
// contains filtered or unexported fields
}
func (*ReplicationIDsRequest) Descriptor
deprecated
added in
v0.5.10
func (*ReplicationIDsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReplicationIDsRequest.ProtoReflect.Descriptor instead.
func (*ReplicationIDsRequest) ProtoMessage ¶ added in v0.5.10
func (*ReplicationIDsRequest) ProtoMessage()
func (*ReplicationIDsRequest) ProtoReflect ¶ added in v0.5.10
func (x *ReplicationIDsRequest) ProtoReflect() protoreflect.Message
func (*ReplicationIDsRequest) Reset ¶ added in v0.5.10
func (x *ReplicationIDsRequest) Reset()
func (*ReplicationIDsRequest) String ¶ added in v0.5.10
func (x *ReplicationIDsRequest) String() string
type ReplicationIDsResponse ¶ added in v0.5.10
type ReplicationIDsResponse struct {
ReplicationId []string `protobuf:"bytes,1,rep,name=replication_id,json=replicationId,proto3" json:"replication_id,omitempty"`
// contains filtered or unexported fields
}
func (*ReplicationIDsResponse) Descriptor
deprecated
added in
v0.5.10
func (*ReplicationIDsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReplicationIDsResponse.ProtoReflect.Descriptor instead.
func (*ReplicationIDsResponse) GetReplicationId ¶ added in v0.5.10
func (x *ReplicationIDsResponse) GetReplicationId() []string
func (*ReplicationIDsResponse) ProtoMessage ¶ added in v0.5.10
func (*ReplicationIDsResponse) ProtoMessage()
func (*ReplicationIDsResponse) ProtoReflect ¶ added in v0.5.10
func (x *ReplicationIDsResponse) ProtoReflect() protoreflect.Message
func (*ReplicationIDsResponse) Reset ¶ added in v0.5.10
func (x *ReplicationIDsResponse) Reset()
func (*ReplicationIDsResponse) String ¶ added in v0.5.10
func (x *ReplicationIDsResponse) String() string
type Row ¶
type Row struct {
Values []*anypb.Any `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
func (*Row) Descriptor
deprecated
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) ProtoReflect ¶
func (x *Row) ProtoReflect() protoreflect.Message
type UnimplementedDatabaseServiceServer ¶
type UnimplementedDatabaseServiceServer struct{}
UnimplementedDatabaseServiceServer 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 (UnimplementedDatabaseServiceServer) DataSourceNames ¶ added in v0.5.10
func (UnimplementedDatabaseServiceServer) DataSourceNames(context.Context, *DataSourceNamesRequest) (*DataSourceNamesResponse, error)
func (UnimplementedDatabaseServiceServer) Download ¶ added in v0.8.0
func (UnimplementedDatabaseServiceServer) Download(*DownloadRequest, grpc.ServerStreamingServer[DownloadResponse]) error
func (UnimplementedDatabaseServiceServer) LatestSnapshot ¶ added in v0.5.10
func (UnimplementedDatabaseServiceServer) LatestSnapshot(*LatestSnapshotRequest, grpc.ServerStreamingServer[LatestSnapshotResponse]) error
func (UnimplementedDatabaseServiceServer) ReplicationIDs ¶ added in v0.5.10
func (UnimplementedDatabaseServiceServer) ReplicationIDs(context.Context, *ReplicationIDsRequest) (*ReplicationIDsResponse, error)
type UnsafeDatabaseServiceServer ¶
type UnsafeDatabaseServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDatabaseServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DatabaseServiceServer will result in compilation errors.