basic

package
v4.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Overview

This file is generated by protoc-gen-persist Source File: tests/spanner/basic/basic_example.proto DO NOT EDIT !

Index

Constants

This section is empty.

Variables

View Source
var MappedEnum_name = map[int32]string{
	0: "OPT_0",
	1: "OPT_1",
}
View Source
var MappedEnum_value = map[string]int32{
	"OPT_0": 0,
	"OPT_1": 1,
}
View Source
var MyEnum_name = map[int32]string{
	0: "OPTION_0",
	1: "OPTION_1",
}
View Source
var MyEnum_value = map[string]int32{
	"OPTION_0": 0,
	"OPTION_1": 1,
}

Functions

func RegisterExtraSrvServer

func RegisterExtraSrvServer(s *grpc.Server, srv ExtraSrvServer)

func RegisterMySpannerServer

func RegisterMySpannerServer(s *grpc.Server, srv MySpannerServer)

Types

type DefaultHooks_ExtraSrv

type DefaultHooks_ExtraSrv struct{}

type DefaultHooks_MySpanner

type DefaultHooks_MySpanner struct{}

func (*DefaultHooks_MySpanner) ClientStreamUpdateWithHooksAfterHook

func (*DefaultHooks_MySpanner) ClientStreamUpdateWithHooksAfterHook(context.Context, *test.ExampleTable, *test.NumRows) error

func (*DefaultHooks_MySpanner) ClientStreamUpdateWithHooksBeforeHook

func (*DefaultHooks_MySpanner) ClientStreamUpdateWithHooksBeforeHook(context.Context, *test.ExampleTable) (*test.NumRows, error)

func (*DefaultHooks_MySpanner) ServerStreamWithHooksAfterHook

func (*DefaultHooks_MySpanner) ServerStreamWithHooksAfterHook(context.Context, *test.Name, *test.ExampleTable) error

func (*DefaultHooks_MySpanner) ServerStreamWithHooksBeforeHook

func (*DefaultHooks_MySpanner) ServerStreamWithHooksBeforeHook(context.Context, *test.Name) (*test.ExampleTable, error)

func (*DefaultHooks_MySpanner) UniarySelectWithHooksAfterHook

func (*DefaultHooks_MySpanner) UniarySelectWithHooksAfterHook(context.Context, *test.ExampleTable, *test.ExampleTable) error

func (*DefaultHooks_MySpanner) UniarySelectWithHooksBeforeHook

func (*DefaultHooks_MySpanner) UniarySelectWithHooksBeforeHook(context.Context, *test.ExampleTable) (*test.ExampleTable, error)

type DefaultMappingImpl_MySpanner_TimestampTimestamp

type DefaultMappingImpl_MySpanner_TimestampTimestamp struct{}

func (*DefaultMappingImpl_MySpanner_TimestampTimestamp) SpannerScan

func (*DefaultMappingImpl_MySpanner_TimestampTimestamp) SpannerValue

func (this *DefaultMappingImpl_MySpanner_TimestampTimestamp) SpannerValue() (interface{}, error)

func (*DefaultMappingImpl_MySpanner_TimestampTimestamp) ToProto

func (*DefaultMappingImpl_MySpanner_TimestampTimestamp) ToSpanner

type DefaultTypeMappings_ExtraSrv

type DefaultTypeMappings_ExtraSrv struct{}

type DefaultTypeMappings_MySpanner

type DefaultTypeMappings_MySpanner struct{}

func (*DefaultTypeMappings_MySpanner) TimestampTimestamp

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge

func (m *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

func (m *Empty) XXX_Unmarshal(b []byte) error

type ExtraSrvClient

type ExtraSrvClient interface {
	ExtraUnary(ctx context.Context, in *test.NumRows, opts ...grpc.CallOption) (*test.ExampleTable, error)
	ExtraMethod(ctx context.Context, in *test.ExampleTable, opts ...grpc.CallOption) (*test.ExampleTable, error)
}

ExtraSrvClient is the client API for ExtraSrv service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewExtraSrvClient

func NewExtraSrvClient(cc *grpc.ClientConn) ExtraSrvClient

type ExtraSrvServer

type ExtraSrvServer interface {
	ExtraUnary(context.Context, *test.NumRows) (*test.ExampleTable, error)
	ExtraMethod(context.Context, *test.ExampleTable) (*test.ExampleTable, error)
}

ExtraSrvServer is the server API for ExtraSrv service.

type HasTimestamp

type HasTimestamp struct {
	Time                 *timestamp.Timestamp   `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	Some                 *Something             `protobuf:"bytes,2,opt,name=some,proto3" json:"some,omitempty"`
	Str                  string                 `protobuf:"bytes,3,opt,name=str,proto3" json:"str,omitempty"`
	Table                *test.ExampleTable     `protobuf:"bytes,4,opt,name=table,proto3" json:"table,omitempty"`
	Strs                 []string               `protobuf:"bytes,5,rep,name=strs,proto3" json:"strs,omitempty"`
	Tables               []*test.ExampleTable   `protobuf:"bytes,6,rep,name=tables,proto3" json:"tables,omitempty"`
	Somes                []*Something           `protobuf:"bytes,7,rep,name=somes,proto3" json:"somes,omitempty"`
	Times                []*timestamp.Timestamp `protobuf:"bytes,8,rep,name=times,proto3" json:"times,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*HasTimestamp) Descriptor

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

func (*HasTimestamp) GetSome

func (m *HasTimestamp) GetSome() *Something

func (*HasTimestamp) GetSomes

func (m *HasTimestamp) GetSomes() []*Something

func (*HasTimestamp) GetStr

func (m *HasTimestamp) GetStr() string

func (*HasTimestamp) GetStrs

func (m *HasTimestamp) GetStrs() []string

func (*HasTimestamp) GetTable

func (m *HasTimestamp) GetTable() *test.ExampleTable

func (*HasTimestamp) GetTables

func (m *HasTimestamp) GetTables() []*test.ExampleTable

func (*HasTimestamp) GetTime

func (m *HasTimestamp) GetTime() *timestamp.Timestamp

func (*HasTimestamp) GetTimes

func (m *HasTimestamp) GetTimes() []*timestamp.Timestamp

func (*HasTimestamp) ProtoMessage

func (*HasTimestamp) ProtoMessage()

func (*HasTimestamp) Reset

func (m *HasTimestamp) Reset()

func (*HasTimestamp) String

func (m *HasTimestamp) String() string

func (*HasTimestamp) XXX_DiscardUnknown

func (m *HasTimestamp) XXX_DiscardUnknown()

func (*HasTimestamp) XXX_Marshal

func (m *HasTimestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HasTimestamp) XXX_Merge

func (m *HasTimestamp) XXX_Merge(src proto.Message)

func (*HasTimestamp) XXX_Size

func (m *HasTimestamp) XXX_Size() int

func (*HasTimestamp) XXX_Unmarshal

func (m *HasTimestamp) XXX_Unmarshal(b []byte) error

type Hooks_ExtraSrv

type Hooks_ExtraSrv interface {
}

type Hooks_MySpanner

type Hooks_MySpanner interface {
	UniarySelectWithHooksBeforeHook(context.Context, *test.ExampleTable) (*test.ExampleTable, error)
	ServerStreamWithHooksBeforeHook(context.Context, *test.Name) (*test.ExampleTable, error)
	ClientStreamUpdateWithHooksBeforeHook(context.Context, *test.ExampleTable) (*test.NumRows, error)
	UniarySelectWithHooksAfterHook(context.Context, *test.ExampleTable, *test.ExampleTable) error
	ServerStreamWithHooksAfterHook(context.Context, *test.Name, *test.ExampleTable) error
	ClientStreamUpdateWithHooksAfterHook(context.Context, *test.ExampleTable, *test.NumRows) error
}

type Impl_ExtraSrv

type Impl_ExtraSrv struct {
	QUERIES  *Queries_ExtraSrv
	HANDLERS RestOfHandlers_ExtraSrv
	DB       *spanner.Client
	// contains filtered or unexported fields
}

func ImplExtraSrv

func ImplExtraSrv(db *spanner.Client, handlers RestOfHandlers_ExtraSrv, opts ...Opts_ExtraSrv) *Impl_ExtraSrv

func (*Impl_ExtraSrv) ExtraMethod

func (this *Impl_ExtraSrv) ExtraMethod(ctx context.Context, req *test.ExampleTable) (*test.ExampleTable, error)

func (*Impl_ExtraSrv) ExtraUnary

func (this *Impl_ExtraSrv) ExtraUnary(ctx context.Context, req *test.NumRows) (*test.ExampleTable, error)

type Impl_MySpanner

type Impl_MySpanner struct {
	QUERIES  *Queries_MySpanner
	HANDLERS RestOfHandlers_MySpanner
	DB       *spanner.Client
	// contains filtered or unexported fields
}

func ImplMySpanner

func ImplMySpanner(db *spanner.Client, handlers RestOfHandlers_MySpanner, opts ...Opts_MySpanner) *Impl_MySpanner

func (*Impl_MySpanner) ClientStreamDelete

func (this *Impl_MySpanner) ClientStreamDelete(stream MySpanner_ClientStreamDeleteServer) error

func (*Impl_MySpanner) ClientStreamDeleteTx

func (this *Impl_MySpanner) ClientStreamDeleteTx(stream MySpanner_ClientStreamDeleteServer) error

func (*Impl_MySpanner) ClientStreamInsert

func (this *Impl_MySpanner) ClientStreamInsert(stream MySpanner_ClientStreamInsertServer) error

func (*Impl_MySpanner) ClientStreamInsertTx

func (this *Impl_MySpanner) ClientStreamInsertTx(stream MySpanner_ClientStreamInsertServer) error

func (*Impl_MySpanner) ClientStreamUpdateWithHooks

func (this *Impl_MySpanner) ClientStreamUpdateWithHooks(stream MySpanner_ClientStreamUpdateWithHooksServer) error

func (*Impl_MySpanner) ClientStreamUpdateWithHooksTx

func (this *Impl_MySpanner) ClientStreamUpdateWithHooksTx(stream MySpanner_ClientStreamUpdateWithHooksServer) error

func (*Impl_MySpanner) ServerStream

func (this *Impl_MySpanner) ServerStream(req *test.Name, stream MySpanner_ServerStreamServer) error

func (*Impl_MySpanner) ServerStreamTx

func (this *Impl_MySpanner) ServerStreamTx(req *test.Name, stream MySpanner_ServerStreamServer, tx persist.SpannerRunnable) error

func (*Impl_MySpanner) ServerStreamWithHooks

func (this *Impl_MySpanner) ServerStreamWithHooks(req *test.Name, stream MySpanner_ServerStreamWithHooksServer) error

func (*Impl_MySpanner) ServerStreamWithHooksTx

func (this *Impl_MySpanner) ServerStreamWithHooksTx(req *test.Name, stream MySpanner_ServerStreamWithHooksServer, tx persist.SpannerRunnable) error

func (*Impl_MySpanner) UniaryDeleteRange

func (this *Impl_MySpanner) UniaryDeleteRange(ctx context.Context, req *test.ExampleTableRange) (*test.ExampleTable, error)

func (*Impl_MySpanner) UniaryInsert

func (this *Impl_MySpanner) UniaryInsert(ctx context.Context, req *test.ExampleTable) (*test.ExampleTable, error)

func (*Impl_MySpanner) UniarySelect

func (this *Impl_MySpanner) UniarySelect(ctx context.Context, req *test.ExampleTable) (*test.ExampleTable, error)

func (*Impl_MySpanner) UniarySelectWithDirectives

func (this *Impl_MySpanner) UniarySelectWithDirectives(ctx context.Context, req *test.ExampleTable) (*test.ExampleTable, error)

func (*Impl_MySpanner) UniarySelectWithHooks

func (this *Impl_MySpanner) UniarySelectWithHooks(ctx context.Context, req *test.ExampleTable) (*test.ExampleTable, error)

func (*Impl_MySpanner) UniaryUpdate

func (this *Impl_MySpanner) UniaryUpdate(ctx context.Context, req *test.ExampleTable) (*test.PartialTable, error)

type In_ExtraSrv_Extra

type In_ExtraSrv_Extra interface {
}

type In_MySpanner_Delete

type In_MySpanner_Delete interface {
	GetStartId() int64
	GetEndId() int64
}

type In_MySpanner_DeleteId

type In_MySpanner_DeleteId interface {
	GetId() int64
	GetStartTime() *timestamp.Timestamp
	GetName() string
}

type In_MySpanner_Insert

type In_MySpanner_Insert interface {
	GetId() int64
	GetStartTime() *timestamp.Timestamp
	GetName() string
}

type In_MySpanner_Insert_3

type In_MySpanner_Insert_3 interface {
	GetId() int64
	GetStartTime() *timestamp.Timestamp
	GetName() string
}

type In_MySpanner_Select

type In_MySpanner_Select interface {
	GetId() int64
	GetStartTime() *timestamp.Timestamp
	GetName() string
}

type In_MySpanner_SelectAll

type In_MySpanner_SelectAll interface {
}

type In_MySpanner_SelectIndex

type In_MySpanner_SelectIndex interface {
	GetId() int64
	GetStartTime() *timestamp.Timestamp
	GetName() string
}

type In_MySpanner_SetNameAsdf

type In_MySpanner_SetNameAsdf interface {
	GetId() int64
	GetStartTime() *timestamp.Timestamp
	GetName() string
}

type In_MySpanner_Update

type In_MySpanner_Update interface {
	GetId() int64
	GetStartTime() *timestamp.Timestamp
	GetName() string
}

type Iter_ExtraSrv_Extra

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

func (*Iter_ExtraSrv_Extra) Each

func (this *Iter_ExtraSrv_Extra) Each(fun func(*Row_ExtraSrv_Extra) error) error

Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.

func (*Iter_ExtraSrv_Extra) IterInTypeEmpty

func (this *Iter_ExtraSrv_Extra) IterInTypeEmpty()

func (*Iter_ExtraSrv_Extra) IterOutTypeHasTimestamp

func (this *Iter_ExtraSrv_Extra) IterOutTypeHasTimestamp()

func (*Iter_ExtraSrv_Extra) Next

func (this *Iter_ExtraSrv_Extra) Next() (*Row_ExtraSrv_Extra, bool)

Next returns the next scanned row out of the database, or (nil, false) if there are no more rows

func (*Iter_ExtraSrv_Extra) One

One returns the sole row, or ensures an error if there was not one result when this row is converted

func (*Iter_ExtraSrv_Extra) Slice

func (this *Iter_ExtraSrv_Extra) Slice() []*Row_ExtraSrv_Extra

Slice returns all rows found in the iterator as a Slice.

func (*Iter_ExtraSrv_Extra) Zero

func (this *Iter_ExtraSrv_Extra) Zero() error

Zero returns an error if there were any rows in the result

type Iter_MySpanner_Delete

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

func (*Iter_MySpanner_Delete) Each

func (this *Iter_MySpanner_Delete) Each(fun func(*Row_MySpanner_Delete) error) error

Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.

func (*Iter_MySpanner_Delete) IterInTypeTestExampleTableRange

func (this *Iter_MySpanner_Delete) IterInTypeTestExampleTableRange()

func (*Iter_MySpanner_Delete) IterOutTypeEmpty

func (this *Iter_MySpanner_Delete) IterOutTypeEmpty()

func (*Iter_MySpanner_Delete) Next

Next returns the next scanned row out of the database, or (nil, false) if there are no more rows

func (*Iter_MySpanner_Delete) One

One returns the sole row, or ensures an error if there was not one result when this row is converted

func (*Iter_MySpanner_Delete) Slice

Slice returns all rows found in the iterator as a Slice.

func (*Iter_MySpanner_Delete) Zero

func (this *Iter_MySpanner_Delete) Zero() error

Zero returns an error if there were any rows in the result

type Iter_MySpanner_DeleteId

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

func (*Iter_MySpanner_DeleteId) Each

Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.

func (*Iter_MySpanner_DeleteId) IterInTypeTestExampleTable

func (this *Iter_MySpanner_DeleteId) IterInTypeTestExampleTable()

func (*Iter_MySpanner_DeleteId) IterOutTypeEmpty

func (this *Iter_MySpanner_DeleteId) IterOutTypeEmpty()

func (*Iter_MySpanner_DeleteId) Next

Next returns the next scanned row out of the database, or (nil, false) if there are no more rows

func (*Iter_MySpanner_DeleteId) One

One returns the sole row, or ensures an error if there was not one result when this row is converted

func (*Iter_MySpanner_DeleteId) Slice

Slice returns all rows found in the iterator as a Slice.

func (*Iter_MySpanner_DeleteId) Zero

func (this *Iter_MySpanner_DeleteId) Zero() error

Zero returns an error if there were any rows in the result

type Iter_MySpanner_Insert

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

func (*Iter_MySpanner_Insert) Each

func (this *Iter_MySpanner_Insert) Each(fun func(*Row_MySpanner_Insert) error) error

Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.

func (*Iter_MySpanner_Insert) IterInTypeTestExampleTable

func (this *Iter_MySpanner_Insert) IterInTypeTestExampleTable()

func (*Iter_MySpanner_Insert) IterOutTypeEmpty

func (this *Iter_MySpanner_Insert) IterOutTypeEmpty()

func (*Iter_MySpanner_Insert) Next

Next returns the next scanned row out of the database, or (nil, false) if there are no more rows

func (*Iter_MySpanner_Insert) One

One returns the sole row, or ensures an error if there was not one result when this row is converted

func (*Iter_MySpanner_Insert) Slice

Slice returns all rows found in the iterator as a Slice.

func (*Iter_MySpanner_Insert) Zero

func (this *Iter_MySpanner_Insert) Zero() error

Zero returns an error if there were any rows in the result

type Iter_MySpanner_Insert_3

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

func (*Iter_MySpanner_Insert_3) Each

Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.

func (*Iter_MySpanner_Insert_3) IterInTypeTestExampleTable

func (this *Iter_MySpanner_Insert_3) IterInTypeTestExampleTable()

func (*Iter_MySpanner_Insert_3) IterOutTypeEmpty

func (this *Iter_MySpanner_Insert_3) IterOutTypeEmpty()

func (*Iter_MySpanner_Insert_3) Next

Next returns the next scanned row out of the database, or (nil, false) if there are no more rows

func (*Iter_MySpanner_Insert_3) One

One returns the sole row, or ensures an error if there was not one result when this row is converted

func (*Iter_MySpanner_Insert_3) Slice

Slice returns all rows found in the iterator as a Slice.

func (*Iter_MySpanner_Insert_3) Zero

func (this *Iter_MySpanner_Insert_3) Zero() error

Zero returns an error if there were any rows in the result

type Iter_MySpanner_Select

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

func (*Iter_MySpanner_Select) Each

func (this *Iter_MySpanner_Select) Each(fun func(*Row_MySpanner_Select) error) error

Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.

func (*Iter_MySpanner_Select) IterInTypeTestExampleTable

func (this *Iter_MySpanner_Select) IterInTypeTestExampleTable()

func (*Iter_MySpanner_Select) IterOutTypeTestExampleTable

func (this *Iter_MySpanner_Select) IterOutTypeTestExampleTable()

func (*Iter_MySpanner_Select) Next

Next returns the next scanned row out of the database, or (nil, false) if there are no more rows

func (*Iter_MySpanner_Select) One

One returns the sole row, or ensures an error if there was not one result when this row is converted

func (*Iter_MySpanner_Select) Slice

Slice returns all rows found in the iterator as a Slice.

func (*Iter_MySpanner_Select) Zero

func (this *Iter_MySpanner_Select) Zero() error

Zero returns an error if there were any rows in the result

type Iter_MySpanner_SelectAll

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

func (*Iter_MySpanner_SelectAll) Each

Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.

func (*Iter_MySpanner_SelectAll) IterInTypeEmpty

func (this *Iter_MySpanner_SelectAll) IterInTypeEmpty()

func (*Iter_MySpanner_SelectAll) IterOutTypeTestExampleTable

func (this *Iter_MySpanner_SelectAll) IterOutTypeTestExampleTable()

func (*Iter_MySpanner_SelectAll) Next

Next returns the next scanned row out of the database, or (nil, false) if there are no more rows

func (*Iter_MySpanner_SelectAll) One

One returns the sole row, or ensures an error if there was not one result when this row is converted

func (*Iter_MySpanner_SelectAll) Slice

Slice returns all rows found in the iterator as a Slice.

func (*Iter_MySpanner_SelectAll) Zero

func (this *Iter_MySpanner_SelectAll) Zero() error

Zero returns an error if there were any rows in the result

type Iter_MySpanner_SelectIndex

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

func (*Iter_MySpanner_SelectIndex) Each

Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.

func (*Iter_MySpanner_SelectIndex) IterInTypeTestExampleTable

func (this *Iter_MySpanner_SelectIndex) IterInTypeTestExampleTable()

func (*Iter_MySpanner_SelectIndex) IterOutTypeTestExampleTable

func (this *Iter_MySpanner_SelectIndex) IterOutTypeTestExampleTable()

func (*Iter_MySpanner_SelectIndex) Next

Next returns the next scanned row out of the database, or (nil, false) if there are no more rows

func (*Iter_MySpanner_SelectIndex) One

One returns the sole row, or ensures an error if there was not one result when this row is converted

func (*Iter_MySpanner_SelectIndex) Slice

Slice returns all rows found in the iterator as a Slice.

func (*Iter_MySpanner_SelectIndex) Zero

func (this *Iter_MySpanner_SelectIndex) Zero() error

Zero returns an error if there were any rows in the result

type Iter_MySpanner_SetNameAsdf

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

func (*Iter_MySpanner_SetNameAsdf) Each

Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.

func (*Iter_MySpanner_SetNameAsdf) IterInTypeTestExampleTable

func (this *Iter_MySpanner_SetNameAsdf) IterInTypeTestExampleTable()

func (*Iter_MySpanner_SetNameAsdf) IterOutTypeEmpty

func (this *Iter_MySpanner_SetNameAsdf) IterOutTypeEmpty()

func (*Iter_MySpanner_SetNameAsdf) Next

Next returns the next scanned row out of the database, or (nil, false) if there are no more rows

func (*Iter_MySpanner_SetNameAsdf) One

One returns the sole row, or ensures an error if there was not one result when this row is converted

func (*Iter_MySpanner_SetNameAsdf) Slice

Slice returns all rows found in the iterator as a Slice.

func (*Iter_MySpanner_SetNameAsdf) Zero

func (this *Iter_MySpanner_SetNameAsdf) Zero() error

Zero returns an error if there were any rows in the result

type Iter_MySpanner_Update

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

func (*Iter_MySpanner_Update) Each

func (this *Iter_MySpanner_Update) Each(fun func(*Row_MySpanner_Update) error) error

Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.

func (*Iter_MySpanner_Update) IterInTypeTestExampleTable

func (this *Iter_MySpanner_Update) IterInTypeTestExampleTable()

func (*Iter_MySpanner_Update) IterOutTypeEmpty

func (this *Iter_MySpanner_Update) IterOutTypeEmpty()

func (*Iter_MySpanner_Update) Next

Next returns the next scanned row out of the database, or (nil, false) if there are no more rows

func (*Iter_MySpanner_Update) One

One returns the sole row, or ensures an error if there was not one result when this row is converted

func (*Iter_MySpanner_Update) Slice

Slice returns all rows found in the iterator as a Slice.

func (*Iter_MySpanner_Update) Zero

func (this *Iter_MySpanner_Update) Zero() error

Zero returns an error if there were any rows in the result

type MappedEnum

type MappedEnum int32
const (
	MappedEnum_OPT_0 MappedEnum = 0
	MappedEnum_OPT_1 MappedEnum = 1
)

func (MappedEnum) EnumDescriptor

func (MappedEnum) EnumDescriptor() ([]byte, []int)

func (MappedEnum) String

func (x MappedEnum) String() string

type MappingImpl_MySpanner_TimestampTimestamp

type MappingImpl_MySpanner_TimestampTimestamp interface {
	ToProto(**timestamp.Timestamp) error
	ToSpanner(*timestamp.Timestamp) persist.SpannerScanValuer
	SpannerScan(*spanner.GenericColumnValue) error
	SpannerValue() (interface{}, error)
}

type MyEnum

type MyEnum int32
const (
	MyEnum_OPTION_0 MyEnum = 0
	MyEnum_OPTION_1 MyEnum = 1
)

func (MyEnum) EnumDescriptor

func (MyEnum) EnumDescriptor() ([]byte, []int)

func (MyEnum) String

func (x MyEnum) String() string

type MyMappedEnum

type MyMappedEnum struct {
	Status int32
}

func (*MyMappedEnum) SpannerScan

func (t *MyMappedEnum) SpannerScan(src *spanner.GenericColumnValue) error

func (*MyMappedEnum) SpannerValue

func (t *MyMappedEnum) SpannerValue() (interface{}, error)

func (MyMappedEnum) ToProto

func (t MyMappedEnum) ToProto() MyEnum

func (MyMappedEnum) ToSpanner

func (t MyMappedEnum) ToSpanner(src MyEnum) *MyMappedEnum

type MySpannerClient

type MySpannerClient interface {
	UniaryInsert(ctx context.Context, in *test.ExampleTable, opts ...grpc.CallOption) (*test.ExampleTable, error)
	UniarySelect(ctx context.Context, in *test.ExampleTable, opts ...grpc.CallOption) (*test.ExampleTable, error)
	UniarySelectWithDirectives(ctx context.Context, in *test.ExampleTable, opts ...grpc.CallOption) (*test.ExampleTable, error)
	UniaryUpdate(ctx context.Context, in *test.ExampleTable, opts ...grpc.CallOption) (*test.PartialTable, error)
	UniaryDeleteRange(ctx context.Context, in *test.ExampleTableRange, opts ...grpc.CallOption) (*test.ExampleTable, error)
	ServerStream(ctx context.Context, in *test.Name, opts ...grpc.CallOption) (MySpanner_ServerStreamClient, error)
	ClientStreamInsert(ctx context.Context, opts ...grpc.CallOption) (MySpanner_ClientStreamInsertClient, error)
	ClientStreamDelete(ctx context.Context, opts ...grpc.CallOption) (MySpanner_ClientStreamDeleteClient, error)
	UniarySelectWithHooks(ctx context.Context, in *test.ExampleTable, opts ...grpc.CallOption) (*test.ExampleTable, error)
	ServerStreamWithHooks(ctx context.Context, in *test.Name, opts ...grpc.CallOption) (MySpanner_ServerStreamWithHooksClient, error)
	ClientStreamUpdateWithHooks(ctx context.Context, opts ...grpc.CallOption) (MySpanner_ClientStreamUpdateWithHooksClient, error)
}

MySpannerClient is the client API for MySpanner service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMySpannerClient

func NewMySpannerClient(cc *grpc.ClientConn) MySpannerClient

type MySpannerServer

MySpannerServer is the server API for MySpanner service.

type MySpanner_ClientStreamDeleteClient

type MySpanner_ClientStreamDeleteClient interface {
	Send(*test.ExampleTable) error
	CloseAndRecv() (*test.NumRows, error)
	grpc.ClientStream
}

type MySpanner_ClientStreamDeleteServer

type MySpanner_ClientStreamDeleteServer interface {
	SendAndClose(*test.NumRows) error
	Recv() (*test.ExampleTable, error)
	grpc.ServerStream
}

type MySpanner_ClientStreamInsertClient

type MySpanner_ClientStreamInsertClient interface {
	Send(*test.ExampleTable) error
	CloseAndRecv() (*test.NumRows, error)
	grpc.ClientStream
}

type MySpanner_ClientStreamInsertServer

type MySpanner_ClientStreamInsertServer interface {
	SendAndClose(*test.NumRows) error
	Recv() (*test.ExampleTable, error)
	grpc.ServerStream
}

type MySpanner_ClientStreamUpdateWithHooksClient

type MySpanner_ClientStreamUpdateWithHooksClient interface {
	Send(*test.ExampleTable) error
	CloseAndRecv() (*test.NumRows, error)
	grpc.ClientStream
}

type MySpanner_ClientStreamUpdateWithHooksServer

type MySpanner_ClientStreamUpdateWithHooksServer interface {
	SendAndClose(*test.NumRows) error
	Recv() (*test.ExampleTable, error)
	grpc.ServerStream
}

type MySpanner_ServerStreamClient

type MySpanner_ServerStreamClient interface {
	Recv() (*test.ExampleTable, error)
	grpc.ClientStream
}

type MySpanner_ServerStreamServer

type MySpanner_ServerStreamServer interface {
	Send(*test.ExampleTable) error
	grpc.ServerStream
}

type MySpanner_ServerStreamWithHooksClient

type MySpanner_ServerStreamWithHooksClient interface {
	Recv() (*test.ExampleTable, error)
	grpc.ClientStream
}

type MySpanner_ServerStreamWithHooksServer

type MySpanner_ServerStreamWithHooksServer interface {
	Send(*test.ExampleTable) error
	grpc.ServerStream
}

type Opts_ExtraSrv

type Opts_ExtraSrv struct {
	MAPPINGS TypeMappings_ExtraSrv
	HOOKS    Hooks_ExtraSrv
}

func OptsExtraSrv

func OptsExtraSrv(hooks Hooks_ExtraSrv, mappings TypeMappings_ExtraSrv) Opts_ExtraSrv

type Opts_MySpanner

type Opts_MySpanner struct {
	MAPPINGS TypeMappings_MySpanner
	HOOKS    Hooks_MySpanner
}

func OptsMySpanner

func OptsMySpanner(hooks Hooks_MySpanner, mappings TypeMappings_MySpanner) Opts_MySpanner

type Out_ExtraSrv_Extra

type Out_ExtraSrv_Extra interface {
	GetTime() *timestamp.Timestamp
	GetSome() *Something
	GetStr() string
	GetTable() *test.ExampleTable
	GetStrs() []string
	GetTables() []*test.ExampleTable
	GetSomes() []*Something
	GetTimes() []*timestamp.Timestamp
}

type Out_MySpanner_Delete

type Out_MySpanner_Delete interface {
}

type Out_MySpanner_DeleteId

type Out_MySpanner_DeleteId interface {
}

type Out_MySpanner_Insert

type Out_MySpanner_Insert interface {
}

type Out_MySpanner_Insert_3

type Out_MySpanner_Insert_3 interface {
}

type Out_MySpanner_Select

type Out_MySpanner_Select interface {
	GetId() int64
	GetStartTime() *timestamp.Timestamp
	GetName() string
}

type Out_MySpanner_SelectAll

type Out_MySpanner_SelectAll interface {
	GetId() int64
	GetStartTime() *timestamp.Timestamp
	GetName() string
}

type Out_MySpanner_SelectIndex

type Out_MySpanner_SelectIndex interface {
	GetId() int64
	GetStartTime() *timestamp.Timestamp
	GetName() string
}

type Out_MySpanner_SetNameAsdf

type Out_MySpanner_SetNameAsdf interface {
}

type Out_MySpanner_Update

type Out_MySpanner_Update interface {
}

type Queries_ExtraSrv

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

Queries_ExtraSrv holds all the queries found the proto service option as methods

func QueriesExtraSrv

func QueriesExtraSrv(opts ...Opts_ExtraSrv) *Queries_ExtraSrv

QueriesExtraSrv returns all the known 'SQL' queires for the 'ExtraSrv' service. If no opts are provided default implementations are used.

func (*Queries_ExtraSrv) Extra

Extra returns a struct that will perform the 'extra' query. When Execute is called, it will use the following fields: []

type Queries_MySpanner

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

Queries_MySpanner holds all the queries found the proto service option as methods

func QueriesMySpanner

func QueriesMySpanner(opts ...Opts_MySpanner) *Queries_MySpanner

QueriesMySpanner returns all the known 'SQL' queires for the 'MySpanner' service. If no opts are provided default implementations are used.

func (*Queries_MySpanner) Delete

Delete returns a struct that will perform the 'delete' query. When Execute is called, it will use the following fields: [start_id end_id]

func (*Queries_MySpanner) DeleteId

DeleteId returns a struct that will perform the 'delete_id' query. When Execute is called, it will use the following fields: [id]

func (*Queries_MySpanner) Insert

Insert returns a struct that will perform the 'insert' query. When Execute is called, it will use the following fields: [id start_time]

func (*Queries_MySpanner) Insert_3

Insert_3 returns a struct that will perform the 'insert_3' query. When Execute is called, it will use the following fields: [id start_time]

func (*Queries_MySpanner) Select

Select returns a struct that will perform the 'select' query. When Execute is called, it will use the following fields: [id name]

func (*Queries_MySpanner) SelectAll

SelectAll returns a struct that will perform the 'select_all' query. When Execute is called, it will use the following fields: []

func (*Queries_MySpanner) SelectIndex

SelectIndex returns a struct that will perform the 'select_index' query. When Execute is called, it will use the following fields: [id name]

func (*Queries_MySpanner) SetNameAsdf

SetNameAsdf returns a struct that will perform the 'set_name_asdf' query. When Execute is called, it will use the following fields: [id]

func (*Queries_MySpanner) Update

Update returns a struct that will perform the 'update' query. When Execute is called, it will use the following fields: [start_time id]

type Query_ExtraSrv_Extra

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

Query_ExtraSrv_Extra (future doc string needed)

func (*Query_ExtraSrv_Extra) Execute

Executes the query 'extra' with parameters retrieved from x. Fields used: []

func (*Query_ExtraSrv_Extra) QueryInType_Empty

func (this *Query_ExtraSrv_Extra) QueryInType_Empty()

func (*Query_ExtraSrv_Extra) QueryOutType_HasTimestamp

func (this *Query_ExtraSrv_Extra) QueryOutType_HasTimestamp()

type Query_MySpanner_Delete

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

Query_MySpanner_Delete (future doc string needed)

func (*Query_MySpanner_Delete) Execute

Executes the query 'delete' with parameters retrieved from x. Fields used: [start_id end_id]

func (*Query_MySpanner_Delete) QueryInType_ExampleTableRange

func (this *Query_MySpanner_Delete) QueryInType_ExampleTableRange()

func (*Query_MySpanner_Delete) QueryOutType_Empty

func (this *Query_MySpanner_Delete) QueryOutType_Empty()

type Query_MySpanner_DeleteId

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

Query_MySpanner_DeleteId (future doc string needed)

func (*Query_MySpanner_DeleteId) Execute

Executes the query 'delete_id' with parameters retrieved from x. Fields used: [id]

func (*Query_MySpanner_DeleteId) QueryInType_ExampleTable

func (this *Query_MySpanner_DeleteId) QueryInType_ExampleTable()

func (*Query_MySpanner_DeleteId) QueryOutType_Empty

func (this *Query_MySpanner_DeleteId) QueryOutType_Empty()

type Query_MySpanner_Insert

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

Query_MySpanner_Insert (future doc string needed)

func (*Query_MySpanner_Insert) Execute

Executes the query 'insert' with parameters retrieved from x. Fields used: [id start_time]

func (*Query_MySpanner_Insert) QueryInType_ExampleTable

func (this *Query_MySpanner_Insert) QueryInType_ExampleTable()

func (*Query_MySpanner_Insert) QueryOutType_Empty

func (this *Query_MySpanner_Insert) QueryOutType_Empty()

type Query_MySpanner_Insert_3

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

Query_MySpanner_Insert_3 (future doc string needed)

func (*Query_MySpanner_Insert_3) Execute

Executes the query 'insert_3' with parameters retrieved from x. Fields used: [id start_time]

func (*Query_MySpanner_Insert_3) QueryInType_ExampleTable

func (this *Query_MySpanner_Insert_3) QueryInType_ExampleTable()

func (*Query_MySpanner_Insert_3) QueryOutType_Empty

func (this *Query_MySpanner_Insert_3) QueryOutType_Empty()

type Query_MySpanner_Select

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

Query_MySpanner_Select (future doc string needed)

func (*Query_MySpanner_Select) Execute

Executes the query 'select' with parameters retrieved from x. Fields used: [id name]

func (*Query_MySpanner_Select) QueryInType_ExampleTable

func (this *Query_MySpanner_Select) QueryInType_ExampleTable()

func (*Query_MySpanner_Select) QueryOutType_ExampleTable

func (this *Query_MySpanner_Select) QueryOutType_ExampleTable()

type Query_MySpanner_SelectAll

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

Query_MySpanner_SelectAll (future doc string needed)

func (*Query_MySpanner_SelectAll) Execute

Executes the query 'select_all' with parameters retrieved from x. Fields used: []

func (*Query_MySpanner_SelectAll) QueryInType_Empty

func (this *Query_MySpanner_SelectAll) QueryInType_Empty()

func (*Query_MySpanner_SelectAll) QueryOutType_ExampleTable

func (this *Query_MySpanner_SelectAll) QueryOutType_ExampleTable()

type Query_MySpanner_SelectIndex

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

Query_MySpanner_SelectIndex (future doc string needed)

func (*Query_MySpanner_SelectIndex) Execute

Executes the query 'select_index' with parameters retrieved from x. Fields used: [id name]

func (*Query_MySpanner_SelectIndex) QueryInType_ExampleTable

func (this *Query_MySpanner_SelectIndex) QueryInType_ExampleTable()

func (*Query_MySpanner_SelectIndex) QueryOutType_ExampleTable

func (this *Query_MySpanner_SelectIndex) QueryOutType_ExampleTable()

type Query_MySpanner_SetNameAsdf

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

Query_MySpanner_SetNameAsdf (future doc string needed)

func (*Query_MySpanner_SetNameAsdf) Execute

Executes the query 'set_name_asdf' with parameters retrieved from x. Fields used: [id]

func (*Query_MySpanner_SetNameAsdf) QueryInType_ExampleTable

func (this *Query_MySpanner_SetNameAsdf) QueryInType_ExampleTable()

func (*Query_MySpanner_SetNameAsdf) QueryOutType_Empty

func (this *Query_MySpanner_SetNameAsdf) QueryOutType_Empty()

type Query_MySpanner_Update

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

Query_MySpanner_Update (future doc string needed)

func (*Query_MySpanner_Update) Execute

Executes the query 'update' with parameters retrieved from x. Fields used: [start_time id]

func (*Query_MySpanner_Update) QueryInType_ExampleTable

func (this *Query_MySpanner_Update) QueryInType_ExampleTable()

func (*Query_MySpanner_Update) QueryOutType_Empty

func (this *Query_MySpanner_Update) QueryOutType_Empty()

type RestOfHandlers_ExtraSrv

type RestOfHandlers_ExtraSrv interface {
	ExtraMethod(context.Context, *test.ExampleTable) (*test.ExampleTable, error)
}

type RestOfHandlers_MySpanner

type RestOfHandlers_MySpanner interface {
}

type Result

type Result interface {
	LastInsertId() (int64, error)
	RowsAffected() (int64, error)
}

type Row_ExtraSrv_Extra

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

func (*Row_ExtraSrv_Extra) HasTimestamp

func (this *Row_ExtraSrv_Extra) HasTimestamp() (*HasTimestamp, error)

func (*Row_ExtraSrv_Extra) Proto

func (this *Row_ExtraSrv_Extra) Proto() (*HasTimestamp, error)

func (*Row_ExtraSrv_Extra) TestExampleTable

func (this *Row_ExtraSrv_Extra) TestExampleTable() (*test.ExampleTable, error)

func (*Row_ExtraSrv_Extra) Unwrap

func (this *Row_ExtraSrv_Extra) Unwrap(pointerToMsg proto.Message) error

Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself

type Row_MySpanner_Delete

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

func (*Row_MySpanner_Delete) Empty

func (this *Row_MySpanner_Delete) Empty() (*Empty, error)

func (*Row_MySpanner_Delete) Proto

func (this *Row_MySpanner_Delete) Proto() (*Empty, error)

func (*Row_MySpanner_Delete) TestExampleTable

func (this *Row_MySpanner_Delete) TestExampleTable() (*test.ExampleTable, error)

func (*Row_MySpanner_Delete) Unwrap

func (this *Row_MySpanner_Delete) Unwrap(pointerToMsg proto.Message) error

Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself

type Row_MySpanner_DeleteId

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

func (*Row_MySpanner_DeleteId) Empty

func (this *Row_MySpanner_DeleteId) Empty() (*Empty, error)

func (*Row_MySpanner_DeleteId) Proto

func (this *Row_MySpanner_DeleteId) Proto() (*Empty, error)

func (*Row_MySpanner_DeleteId) TestNumRows

func (this *Row_MySpanner_DeleteId) TestNumRows() (*test.NumRows, error)

func (*Row_MySpanner_DeleteId) Unwrap

func (this *Row_MySpanner_DeleteId) Unwrap(pointerToMsg proto.Message) error

Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself

type Row_MySpanner_Insert

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

func (*Row_MySpanner_Insert) Empty

func (this *Row_MySpanner_Insert) Empty() (*Empty, error)

func (*Row_MySpanner_Insert) Proto

func (this *Row_MySpanner_Insert) Proto() (*Empty, error)

func (*Row_MySpanner_Insert) TestExampleTable

func (this *Row_MySpanner_Insert) TestExampleTable() (*test.ExampleTable, error)

func (*Row_MySpanner_Insert) Unwrap

func (this *Row_MySpanner_Insert) Unwrap(pointerToMsg proto.Message) error

Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself

type Row_MySpanner_Insert_3

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

func (*Row_MySpanner_Insert_3) Empty

func (this *Row_MySpanner_Insert_3) Empty() (*Empty, error)

func (*Row_MySpanner_Insert_3) Proto

func (this *Row_MySpanner_Insert_3) Proto() (*Empty, error)

func (*Row_MySpanner_Insert_3) TestNumRows

func (this *Row_MySpanner_Insert_3) TestNumRows() (*test.NumRows, error)

func (*Row_MySpanner_Insert_3) Unwrap

func (this *Row_MySpanner_Insert_3) Unwrap(pointerToMsg proto.Message) error

Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself

type Row_MySpanner_Select

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

func (*Row_MySpanner_Select) Proto

func (this *Row_MySpanner_Select) Proto() (*test.ExampleTable, error)

func (*Row_MySpanner_Select) TestExampleTable

func (this *Row_MySpanner_Select) TestExampleTable() (*test.ExampleTable, error)

func (*Row_MySpanner_Select) Unwrap

func (this *Row_MySpanner_Select) Unwrap(pointerToMsg proto.Message) error

Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself

type Row_MySpanner_SelectAll

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

func (*Row_MySpanner_SelectAll) Proto

func (this *Row_MySpanner_SelectAll) Proto() (*test.ExampleTable, error)

func (*Row_MySpanner_SelectAll) TestExampleTable

func (this *Row_MySpanner_SelectAll) TestExampleTable() (*test.ExampleTable, error)

func (*Row_MySpanner_SelectAll) Unwrap

func (this *Row_MySpanner_SelectAll) Unwrap(pointerToMsg proto.Message) error

Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself

type Row_MySpanner_SelectIndex

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

func (*Row_MySpanner_SelectIndex) Proto

func (*Row_MySpanner_SelectIndex) TestExampleTable

func (this *Row_MySpanner_SelectIndex) TestExampleTable() (*test.ExampleTable, error)

func (*Row_MySpanner_SelectIndex) Unwrap

func (this *Row_MySpanner_SelectIndex) Unwrap(pointerToMsg proto.Message) error

Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself

type Row_MySpanner_SetNameAsdf

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

func (*Row_MySpanner_SetNameAsdf) Empty

func (this *Row_MySpanner_SetNameAsdf) Empty() (*Empty, error)

func (*Row_MySpanner_SetNameAsdf) Proto

func (this *Row_MySpanner_SetNameAsdf) Proto() (*Empty, error)

func (*Row_MySpanner_SetNameAsdf) TestNumRows

func (this *Row_MySpanner_SetNameAsdf) TestNumRows() (*test.NumRows, error)

func (*Row_MySpanner_SetNameAsdf) Unwrap

func (this *Row_MySpanner_SetNameAsdf) Unwrap(pointerToMsg proto.Message) error

Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself

type Row_MySpanner_Update

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

func (*Row_MySpanner_Update) Empty

func (this *Row_MySpanner_Update) Empty() (*Empty, error)

func (*Row_MySpanner_Update) Proto

func (this *Row_MySpanner_Update) Proto() (*Empty, error)

func (*Row_MySpanner_Update) TestPartialTable

func (this *Row_MySpanner_Update) TestPartialTable() (*test.PartialTable, error)

func (*Row_MySpanner_Update) Unwrap

func (this *Row_MySpanner_Update) Unwrap(pointerToMsg proto.Message) error

Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself

type Something

type Something struct {
	Thing                *Something_SomethingElse `protobuf:"bytes,2,opt,name=thing,proto3" json:"thing,omitempty"`
	Myenum               MyEnum                   `protobuf:"varint,3,opt,name=myenum,proto3,enum=tests.MyEnum" json:"myenum,omitempty"`
	Mappedenum           MappedEnum               `protobuf:"varint,4,opt,name=mappedenum,proto3,enum=tests.MappedEnum" json:"mappedenum,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*Something) Descriptor

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

func (*Something) GetMappedenum

func (m *Something) GetMappedenum() MappedEnum

func (*Something) GetMyenum

func (m *Something) GetMyenum() MyEnum

func (*Something) GetThing

func (m *Something) GetThing() *Something_SomethingElse

func (*Something) ProtoMessage

func (*Something) ProtoMessage()

func (*Something) Reset

func (m *Something) Reset()

func (*Something) String

func (m *Something) String() string

func (*Something) XXX_DiscardUnknown

func (m *Something) XXX_DiscardUnknown()

func (*Something) XXX_Marshal

func (m *Something) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Something) XXX_Merge

func (m *Something) XXX_Merge(src proto.Message)

func (*Something) XXX_Size

func (m *Something) XXX_Size() int

func (*Something) XXX_Unmarshal

func (m *Something) XXX_Unmarshal(b []byte) error

type Something_SomethingElse

type Something_SomethingElse struct {
	Thing                string   `protobuf:"bytes,1,opt,name=thing,proto3" json:"thing,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Something_SomethingElse) Descriptor

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

func (*Something_SomethingElse) GetThing

func (m *Something_SomethingElse) GetThing() string

func (*Something_SomethingElse) ProtoMessage

func (*Something_SomethingElse) ProtoMessage()

func (*Something_SomethingElse) Reset

func (m *Something_SomethingElse) Reset()

func (*Something_SomethingElse) String

func (m *Something_SomethingElse) String() string

func (*Something_SomethingElse) XXX_DiscardUnknown

func (m *Something_SomethingElse) XXX_DiscardUnknown()

func (*Something_SomethingElse) XXX_Marshal

func (m *Something_SomethingElse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Something_SomethingElse) XXX_Merge

func (m *Something_SomethingElse) XXX_Merge(src proto.Message)

func (*Something_SomethingElse) XXX_Size

func (m *Something_SomethingElse) XXX_Size() int

func (*Something_SomethingElse) XXX_Unmarshal

func (m *Something_SomethingElse) XXX_Unmarshal(b []byte) error

type SpannerResult

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

func (*SpannerResult) LastInsertId

func (sr *SpannerResult) LastInsertId() (int64, error)

func (*SpannerResult) RowsAffected

func (sr *SpannerResult) RowsAffected() (int64, error)

type TypeMappings_ExtraSrv

type TypeMappings_ExtraSrv interface {
}

type TypeMappings_MySpanner

type TypeMappings_MySpanner interface {
	TimestampTimestamp() MappingImpl_MySpanner_TimestampTimestamp
}

Jump to

Keyboard shortcuts

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