pb

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Bar_name = map[int32]string{
	0: "BAR1",
	1: "BAR2",
	2: "BAR3",
}
View Source
var Bar_value = map[string]int32{
	"BAR1": 0,
	"BAR2": 1,
	"BAR3": 2,
}
View Source
var Ref_Foo_Bar_En_name = map[int32]string{
	0: "A0",
	1: "A1",
}
View Source
var Ref_Foo_Bar_En_value = map[string]int32{
	"A0": 0,
	"A1": 1,
}
View Source
var Ref_Foo_En_name = map[int32]string{
	0: "A0",
	1: "A1",
}
View Source
var Ref_Foo_En_value = map[string]int32{
	"A0": 0,
	"A1": 1,
}

Functions

func RegisterConstructsServer

func RegisterConstructsServer(s *grpc.Server, srv ConstructsServer)

func RegisterQueryServer

func RegisterQueryServer(s *grpc.Server, srv QueryServer)

func RegisterServiceServer

func RegisterServiceServer(s *grpc.Server, srv ServiceServer)

func UnmarshalMaps_BoolBoolEntry

func UnmarshalMaps_BoolBoolEntry(v interface{}) (mp map[bool]bool, err error)

func UnmarshalMaps_Fixed32Fixed32Entry

func UnmarshalMaps_Fixed32Fixed32Entry(v interface{}) (mp map[uint32]uint32, err error)

func UnmarshalMaps_Fixed64Fixed64Entry

func UnmarshalMaps_Fixed64Fixed64Entry(v interface{}) (mp map[uint64]uint64, err error)

func UnmarshalMaps_Int32Int32Entry

func UnmarshalMaps_Int32Int32Entry(v interface{}) (mp map[int32]int32, err error)

func UnmarshalMaps_Int64Int64Entry

func UnmarshalMaps_Int64Int64Entry(v interface{}) (mp map[int64]int64, err error)

func UnmarshalMaps_Sfixed32Sfixed32Entry

func UnmarshalMaps_Sfixed32Sfixed32Entry(v interface{}) (mp map[int32]int32, err error)

func UnmarshalMaps_Sfixed64Sfixed64Entry

func UnmarshalMaps_Sfixed64Sfixed64Entry(v interface{}) (mp map[int64]int64, err error)

func UnmarshalMaps_Sint32Sint32Entry

func UnmarshalMaps_Sint32Sint32Entry(v interface{}) (mp map[int32]int32, err error)

func UnmarshalMaps_Sint64Sint64Entry

func UnmarshalMaps_Sint64Sint64Entry(v interface{}) (mp map[int64]int64, err error)

func UnmarshalMaps_StringBarEntry

func UnmarshalMaps_StringBarEntry(v interface{}) (mp map[string]Bar, err error)

func UnmarshalMaps_StringBytesEntry

func UnmarshalMaps_StringBytesEntry(v interface{}) (mp map[string][]byte, err error)

func UnmarshalMaps_StringDoubleEntry

func UnmarshalMaps_StringDoubleEntry(v interface{}) (mp map[string]float64, err error)

func UnmarshalMaps_StringFloatEntry

func UnmarshalMaps_StringFloatEntry(v interface{}) (mp map[string]float32, err error)

func UnmarshalMaps_StringFooEntry

func UnmarshalMaps_StringFooEntry(v interface{}) (mp map[string]*Foo, err error)

func UnmarshalMaps_StringStringEntry

func UnmarshalMaps_StringStringEntry(v interface{}) (mp map[string]string, err error)

func UnmarshalMaps_Uint32Uint32Entry

func UnmarshalMaps_Uint32Uint32Entry(v interface{}) (mp map[uint32]uint32, err error)

func UnmarshalMaps_Uint64Uint64Entry

func UnmarshalMaps_Uint64Uint64Entry(v interface{}) (mp map[uint64]uint64, err error)

Types

type Any

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

func (*Any) Descriptor

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

func (*Any) GetParam1

func (m *Any) GetParam1() string

func (*Any) ProtoMessage

func (*Any) ProtoMessage()

func (*Any) Reset

func (m *Any) Reset()

func (*Any) String

func (m *Any) String() string

func (*Any) XXX_DiscardUnknown

func (m *Any) XXX_DiscardUnknown()

func (*Any) XXX_Marshal

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

func (*Any) XXX_Merge

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

func (*Any) XXX_Size

func (m *Any) XXX_Size() int

func (*Any) XXX_Unmarshal

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

type Bar

type Bar int32
const (
	Bar_BAR1 Bar = 0
	Bar_BAR2 Bar = 1
	Bar_BAR3 Bar = 2
)

func (Bar) EnumDescriptor

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

func (Bar) MarshalGQL

func (c Bar) MarshalGQL(w io.Writer)

func (Bar) String

func (x Bar) String() string

func (*Bar) UnmarshalGQL

func (c *Bar) UnmarshalGQL(v interface{}) error

type Baz

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

func (*Baz) Descriptor

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

func (*Baz) GetParam1

func (m *Baz) GetParam1() string

func (*Baz) ProtoMessage

func (*Baz) ProtoMessage()

func (*Baz) Reset

func (m *Baz) Reset()

func (*Baz) String

func (m *Baz) String() string

func (*Baz) XXX_DiscardUnknown

func (m *Baz) XXX_DiscardUnknown()

func (*Baz) XXX_Marshal

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

func (*Baz) XXX_Merge

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

func (*Baz) XXX_Size

func (m *Baz) XXX_Size() int

func (*Baz) XXX_Unmarshal

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

type ConstructsClient

type ConstructsClient interface {
	Scalars_(ctx context.Context, in *Scalars, opts ...grpc.CallOption) (*Scalars, error)
	Repeated_(ctx context.Context, in *Repeated, opts ...grpc.CallOption) (*Repeated, error)
	Maps_(ctx context.Context, in *Maps, opts ...grpc.CallOption) (*Maps, error)
	Any_(ctx context.Context, in *any.Any, opts ...grpc.CallOption) (*Any, error)
	Empty_(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Empty, error)
	Empty2_(ctx context.Context, in *EmptyRecursive, opts ...grpc.CallOption) (*EmptyNested, error)
	Empty3_(ctx context.Context, in *Empty3, opts ...grpc.CallOption) (*Empty3, error)
	Ref_(ctx context.Context, in *Ref, opts ...grpc.CallOption) (*Ref, error)
	Oneof_(ctx context.Context, in *Oneof, opts ...grpc.CallOption) (*Oneof, error)
	CallWithId(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
}

ConstructsClient is the client API for Constructs service.

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

func NewConstructsClient

func NewConstructsClient(cc *grpc.ClientConn) ConstructsClient

type ConstructsGQLServer

type ConstructsGQLServer struct{ Service ConstructsServer }

func (*ConstructsGQLServer) ConstructsAny

func (*ConstructsGQLServer) ConstructsCallWithID

func (s *ConstructsGQLServer) ConstructsCallWithID(ctx context.Context) (*bool, error)

func (*ConstructsGQLServer) ConstructsEmpty

func (s *ConstructsGQLServer) ConstructsEmpty(ctx context.Context) (*bool, error)

func (*ConstructsGQLServer) ConstructsEmpty2

func (s *ConstructsGQLServer) ConstructsEmpty2(ctx context.Context) (*bool, error)

func (*ConstructsGQLServer) ConstructsEmpty3

func (s *ConstructsGQLServer) ConstructsEmpty3(ctx context.Context) (*bool, error)

func (*ConstructsGQLServer) ConstructsMaps

func (s *ConstructsGQLServer) ConstructsMaps(ctx context.Context, in *Maps) (*Maps, error)

func (*ConstructsGQLServer) ConstructsOneof

func (s *ConstructsGQLServer) ConstructsOneof(ctx context.Context, in *Oneof) (*Oneof, error)

func (*ConstructsGQLServer) ConstructsRef

func (s *ConstructsGQLServer) ConstructsRef(ctx context.Context, in *Ref) (*Ref, error)

func (*ConstructsGQLServer) ConstructsRepeated

func (s *ConstructsGQLServer) ConstructsRepeated(ctx context.Context, in *Repeated) (*Repeated, error)

func (*ConstructsGQLServer) ConstructsScalars

func (s *ConstructsGQLServer) ConstructsScalars(ctx context.Context, in *Scalars) (*Scalars, error)

type ConstructsServer

type ConstructsServer interface {
	Scalars_(context.Context, *Scalars) (*Scalars, error)
	Repeated_(context.Context, *Repeated) (*Repeated, error)
	Maps_(context.Context, *Maps) (*Maps, error)
	Any_(context.Context, *any.Any) (*Any, error)
	Empty_(context.Context, *empty.Empty) (*Empty, error)
	Empty2_(context.Context, *EmptyRecursive) (*EmptyNested, error)
	Empty3_(context.Context, *Empty3) (*Empty3, error)
	Ref_(context.Context, *Ref) (*Ref, error)
	Oneof_(context.Context, *Oneof) (*Oneof, error)
	CallWithId(context.Context, *Empty) (*Empty, error)
}

ConstructsServer is the server API for Constructs service.

type Data

type Data struct {
	String_              string    `protobuf:"bytes,1,opt,name=string,proto3" json:"string,omitempty"`
	Foo                  *Foo2     `protobuf:"bytes,2,opt,name=foo,proto3" json:"foo,omitempty"`
	Float                []float32 `protobuf:"fixed32,3,rep,packed,name=float,proto3" json:"float,omitempty"`
	String2              string    `protobuf:"bytes,4,opt,name=string2,proto3" json:"string2,omitempty"`
	Foo2                 *Foo2     `protobuf:"bytes,5,opt,name=foo2,proto3" json:"foo2,omitempty"`
	Float2               []float32 `protobuf:"fixed32,6,rep,packed,name=float2,proto3" json:"float2,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Data) Descriptor

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

func (*Data) GetFloat

func (m *Data) GetFloat() []float32

func (*Data) GetFloat2

func (m *Data) GetFloat2() []float32

func (*Data) GetFoo

func (m *Data) GetFoo() *Foo2

func (*Data) GetFoo2

func (m *Data) GetFoo2() *Foo2

func (*Data) GetString2

func (m *Data) GetString2() string

func (*Data) GetString_

func (m *Data) GetString_() string

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) Reset

func (m *Data) Reset()

func (*Data) String

func (m *Data) String() string

func (*Data) XXX_DiscardUnknown

func (m *Data) XXX_DiscardUnknown()

func (*Data) XXX_Marshal

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

func (*Data) XXX_Merge

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

func (*Data) XXX_Size

func (m *Data) XXX_Size() int

func (*Data) XXX_Unmarshal

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

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 Empty3

type Empty3 struct {
	I                    *Empty3_Int `protobuf:"bytes,1,opt,name=i,proto3" json:"i,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Empty3) Descriptor

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

func (*Empty3) GetI

func (m *Empty3) GetI() *Empty3_Int

func (*Empty3) ProtoMessage

func (*Empty3) ProtoMessage()

func (*Empty3) Reset

func (m *Empty3) Reset()

func (*Empty3) String

func (m *Empty3) String() string

func (*Empty3) XXX_DiscardUnknown

func (m *Empty3) XXX_DiscardUnknown()

func (*Empty3) XXX_Marshal

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

func (*Empty3) XXX_Merge

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

func (*Empty3) XXX_Size

func (m *Empty3) XXX_Size() int

func (*Empty3) XXX_Unmarshal

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

type Empty3_Int

type Empty3_Int struct {
	E                    *Empty3  `protobuf:"bytes,1,opt,name=e,proto3" json:"e,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty3_Int) Descriptor

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

func (*Empty3_Int) GetE

func (m *Empty3_Int) GetE() *Empty3

func (*Empty3_Int) ProtoMessage

func (*Empty3_Int) ProtoMessage()

func (*Empty3_Int) Reset

func (m *Empty3_Int) Reset()

func (*Empty3_Int) String

func (m *Empty3_Int) String() string

func (*Empty3_Int) XXX_DiscardUnknown

func (m *Empty3_Int) XXX_DiscardUnknown()

func (*Empty3_Int) XXX_Marshal

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

func (*Empty3_Int) XXX_Merge

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

func (*Empty3_Int) XXX_Size

func (m *Empty3_Int) XXX_Size() int

func (*Empty3_Int) XXX_Unmarshal

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

type EmptyNested

type EmptyNested struct {
	Nested1              *EmptyNested_EmptyNested1 `protobuf:"bytes,1,opt,name=nested1,proto3" json:"nested1,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*EmptyNested) Descriptor

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

func (*EmptyNested) GetNested1

func (m *EmptyNested) GetNested1() *EmptyNested_EmptyNested1

func (*EmptyNested) ProtoMessage

func (*EmptyNested) ProtoMessage()

func (*EmptyNested) Reset

func (m *EmptyNested) Reset()

func (*EmptyNested) String

func (m *EmptyNested) String() string

func (*EmptyNested) XXX_DiscardUnknown

func (m *EmptyNested) XXX_DiscardUnknown()

func (*EmptyNested) XXX_Marshal

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

func (*EmptyNested) XXX_Merge

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

func (*EmptyNested) XXX_Size

func (m *EmptyNested) XXX_Size() int

func (*EmptyNested) XXX_Unmarshal

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

type EmptyNested_EmptyNested1

type EmptyNested_EmptyNested1 struct {
	Nested2              *EmptyNested_EmptyNested1_EmptyNested2 `protobuf:"bytes,1,opt,name=nested2,proto3" json:"nested2,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                               `json:"-"`
	XXX_unrecognized     []byte                                 `json:"-"`
	XXX_sizecache        int32                                  `json:"-"`
}

func (*EmptyNested_EmptyNested1) Descriptor

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

func (*EmptyNested_EmptyNested1) GetNested2

func (*EmptyNested_EmptyNested1) ProtoMessage

func (*EmptyNested_EmptyNested1) ProtoMessage()

func (*EmptyNested_EmptyNested1) Reset

func (m *EmptyNested_EmptyNested1) Reset()

func (*EmptyNested_EmptyNested1) String

func (m *EmptyNested_EmptyNested1) String() string

func (*EmptyNested_EmptyNested1) XXX_DiscardUnknown

func (m *EmptyNested_EmptyNested1) XXX_DiscardUnknown()

func (*EmptyNested_EmptyNested1) XXX_Marshal

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

func (*EmptyNested_EmptyNested1) XXX_Merge

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

func (*EmptyNested_EmptyNested1) XXX_Size

func (m *EmptyNested_EmptyNested1) XXX_Size() int

func (*EmptyNested_EmptyNested1) XXX_Unmarshal

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

type EmptyNested_EmptyNested1_EmptyNested2

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

func (*EmptyNested_EmptyNested1_EmptyNested2) Descriptor

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

func (*EmptyNested_EmptyNested1_EmptyNested2) ProtoMessage

func (*EmptyNested_EmptyNested1_EmptyNested2) ProtoMessage()

func (*EmptyNested_EmptyNested1_EmptyNested2) Reset

func (*EmptyNested_EmptyNested1_EmptyNested2) String

func (*EmptyNested_EmptyNested1_EmptyNested2) XXX_DiscardUnknown

func (m *EmptyNested_EmptyNested1_EmptyNested2) XXX_DiscardUnknown()

func (*EmptyNested_EmptyNested1_EmptyNested2) XXX_Marshal

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

func (*EmptyNested_EmptyNested1_EmptyNested2) XXX_Merge

func (*EmptyNested_EmptyNested1_EmptyNested2) XXX_Size

func (*EmptyNested_EmptyNested1_EmptyNested2) XXX_Unmarshal

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

type EmptyRecursive

type EmptyRecursive struct {
	Nested1              *empty.Empty    `protobuf:"bytes,1,opt,name=nested1,proto3" json:"nested1,omitempty"`
	Empty                *EmptyRecursive `protobuf:"bytes,2,opt,name=empty,proto3" json:"empty,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*EmptyRecursive) Descriptor

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

func (*EmptyRecursive) GetEmpty

func (m *EmptyRecursive) GetEmpty() *EmptyRecursive

func (*EmptyRecursive) GetNested1

func (m *EmptyRecursive) GetNested1() *empty.Empty

func (*EmptyRecursive) ProtoMessage

func (*EmptyRecursive) ProtoMessage()

func (*EmptyRecursive) Reset

func (m *EmptyRecursive) Reset()

func (*EmptyRecursive) String

func (m *EmptyRecursive) String() string

func (*EmptyRecursive) XXX_DiscardUnknown

func (m *EmptyRecursive) XXX_DiscardUnknown()

func (*EmptyRecursive) XXX_Marshal

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

func (*EmptyRecursive) XXX_Merge

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

func (*EmptyRecursive) XXX_Size

func (m *EmptyRecursive) XXX_Size() int

func (*EmptyRecursive) XXX_Unmarshal

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

type Foo

type Foo struct {
	Param1               string   `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"`
	Param2               string   `protobuf:"bytes,2,opt,name=param2,proto3" json:"param2,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Foo) Descriptor

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

func (*Foo) GetParam1

func (m *Foo) GetParam1() string

func (*Foo) GetParam2

func (m *Foo) GetParam2() string

func (*Foo) ProtoMessage

func (*Foo) ProtoMessage()

func (*Foo) Reset

func (m *Foo) Reset()

func (*Foo) String

func (m *Foo) String() string

func (*Foo) XXX_DiscardUnknown

func (m *Foo) XXX_DiscardUnknown()

func (*Foo) XXX_Marshal

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

func (*Foo) XXX_Merge

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

func (*Foo) XXX_Size

func (m *Foo) XXX_Size() int

func (*Foo) XXX_Unmarshal

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

type Foo2

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

func (*Foo2) Descriptor

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

func (*Foo2) GetParam1

func (m *Foo2) GetParam1() string

func (*Foo2) ProtoMessage

func (*Foo2) ProtoMessage()

func (*Foo2) Reset

func (m *Foo2) Reset()

func (*Foo2) String

func (m *Foo2) String() string

func (*Foo2) XXX_DiscardUnknown

func (m *Foo2) XXX_DiscardUnknown()

func (*Foo2) XXX_Marshal

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

func (*Foo2) XXX_Merge

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

func (*Foo2) XXX_Size

func (m *Foo2) XXX_Size() int

func (*Foo2) XXX_Unmarshal

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

type Foo_Foo2

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

func (*Foo_Foo2) Descriptor

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

func (*Foo_Foo2) GetParam1

func (m *Foo_Foo2) GetParam1() string

func (*Foo_Foo2) ProtoMessage

func (*Foo_Foo2) ProtoMessage()

func (*Foo_Foo2) Reset

func (m *Foo_Foo2) Reset()

func (*Foo_Foo2) String

func (m *Foo_Foo2) String() string

func (*Foo_Foo2) XXX_DiscardUnknown

func (m *Foo_Foo2) XXX_DiscardUnknown()

func (*Foo_Foo2) XXX_Marshal

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

func (*Foo_Foo2) XXX_Merge

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

func (*Foo_Foo2) XXX_Size

func (m *Foo_Foo2) XXX_Size() int

func (*Foo_Foo2) XXX_Unmarshal

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

type IsOneof_Oneof1

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

type IsOneof_Oneof2

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

type IsOneof_Oneof3

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

type Maps

type Maps struct {
	Int32Int32           map[int32]int32    `` /* 181-byte string literal not displayed */
	Int64Int64           map[int64]int64    `` /* 181-byte string literal not displayed */
	Uint32Uint32         map[uint32]uint32  `` /* 187-byte string literal not displayed */
	Uint64Uint64         map[uint64]uint64  `` /* 187-byte string literal not displayed */
	Sint32Sint32         map[int32]int32    `` /* 191-byte string literal not displayed */
	Sint64Sint64         map[int64]int64    `` /* 191-byte string literal not displayed */
	Fixed32Fixed32       map[uint32]uint32  `` /* 195-byte string literal not displayed */
	Fixed64Fixed64       map[uint64]uint64  `` /* 195-byte string literal not displayed */
	Sfixed32Sfixed32     map[int32]int32    `` /* 201-byte string literal not displayed */
	Sfixed64Sfixed64     map[int64]int64    `` /* 202-byte string literal not displayed */
	BoolBool             map[bool]bool      `` /* 176-byte string literal not displayed */
	StringString         map[string]string  `` /* 186-byte string literal not displayed */
	StringBytes          map[string][]byte  `` /* 183-byte string literal not displayed */
	StringFloat          map[string]float32 `` /* 185-byte string literal not displayed */
	StringDouble         map[string]float64 `` /* 188-byte string literal not displayed */
	StringFoo            map[string]*Foo    `` /* 177-byte string literal not displayed */
	StringBar            map[string]Bar     `` /* 190-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*Maps) Descriptor

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

func (*Maps) GetBoolBool

func (m *Maps) GetBoolBool() map[bool]bool

func (*Maps) GetFixed32Fixed32

func (m *Maps) GetFixed32Fixed32() map[uint32]uint32

func (*Maps) GetFixed64Fixed64

func (m *Maps) GetFixed64Fixed64() map[uint64]uint64

func (*Maps) GetInt32Int32

func (m *Maps) GetInt32Int32() map[int32]int32

func (*Maps) GetInt64Int64

func (m *Maps) GetInt64Int64() map[int64]int64

func (*Maps) GetSfixed32Sfixed32

func (m *Maps) GetSfixed32Sfixed32() map[int32]int32

func (*Maps) GetSfixed64Sfixed64

func (m *Maps) GetSfixed64Sfixed64() map[int64]int64

func (*Maps) GetSint32Sint32

func (m *Maps) GetSint32Sint32() map[int32]int32

func (*Maps) GetSint64Sint64

func (m *Maps) GetSint64Sint64() map[int64]int64

func (*Maps) GetStringBar

func (m *Maps) GetStringBar() map[string]Bar

func (*Maps) GetStringBytes

func (m *Maps) GetStringBytes() map[string][]byte

func (*Maps) GetStringDouble

func (m *Maps) GetStringDouble() map[string]float64

func (*Maps) GetStringFloat

func (m *Maps) GetStringFloat() map[string]float32

func (*Maps) GetStringFoo

func (m *Maps) GetStringFoo() map[string]*Foo

func (*Maps) GetStringString

func (m *Maps) GetStringString() map[string]string

func (*Maps) GetUint32Uint32

func (m *Maps) GetUint32Uint32() map[uint32]uint32

func (*Maps) GetUint64Uint64

func (m *Maps) GetUint64Uint64() map[uint64]uint64

func (*Maps) ProtoMessage

func (*Maps) ProtoMessage()

func (*Maps) Reset

func (m *Maps) Reset()

func (*Maps) String

func (m *Maps) String() string

func (*Maps) XXX_DiscardUnknown

func (m *Maps) XXX_DiscardUnknown()

func (*Maps) XXX_Marshal

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

func (*Maps) XXX_Merge

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

func (*Maps) XXX_Size

func (m *Maps) XXX_Size() int

func (*Maps) XXX_Unmarshal

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

type Oneof

type Oneof struct {
	Param1 string `protobuf:"bytes,1,opt,name=param1,proto3" json:"param1,omitempty"`
	// Types that are valid to be assigned to Oneof1:
	//	*Oneof_Param2
	//	*Oneof_Param3
	Oneof1 isOneof_Oneof1 `protobuf_oneof:"Oneof1"`
	// Types that are valid to be assigned to Oneof2:
	//	*Oneof_Param4
	//	*Oneof_Param5
	Oneof2 isOneof_Oneof2 `protobuf_oneof:"Oneof2"`
	// Types that are valid to be assigned to Oneof3:
	//	*Oneof_Param6
	Oneof3               isOneof_Oneof3 `protobuf_oneof:"Oneof3"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Oneof) Descriptor

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

func (*Oneof) GetOneof1

func (m *Oneof) GetOneof1() isOneof_Oneof1

func (*Oneof) GetOneof2

func (m *Oneof) GetOneof2() isOneof_Oneof2

func (*Oneof) GetOneof3

func (m *Oneof) GetOneof3() isOneof_Oneof3

func (*Oneof) GetParam1

func (m *Oneof) GetParam1() string

func (*Oneof) GetParam2

func (m *Oneof) GetParam2() string

func (*Oneof) GetParam3

func (m *Oneof) GetParam3() string

func (*Oneof) GetParam4

func (m *Oneof) GetParam4() string

func (*Oneof) GetParam5

func (m *Oneof) GetParam5() string

func (*Oneof) GetParam6

func (m *Oneof) GetParam6() string

func (*Oneof) ProtoMessage

func (*Oneof) ProtoMessage()

func (*Oneof) Reset

func (m *Oneof) Reset()

func (*Oneof) String

func (m *Oneof) String() string

func (*Oneof) XXX_DiscardUnknown

func (m *Oneof) XXX_DiscardUnknown()

func (*Oneof) XXX_Marshal

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

func (*Oneof) XXX_Merge

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

func (*Oneof) XXX_OneofWrappers

func (*Oneof) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Oneof) XXX_Size

func (m *Oneof) XXX_Size() int

func (*Oneof) XXX_Unmarshal

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

type Oneof_Param2

type Oneof_Param2 struct {
	Param2 string `protobuf:"bytes,2,opt,name=param2,proto3,oneof"`
}

type Oneof_Param3

type Oneof_Param3 struct {
	Param3 string `protobuf:"bytes,3,opt,name=param3,proto3,oneof"`
}

type Oneof_Param4

type Oneof_Param4 struct {
	Param4 string `protobuf:"bytes,4,opt,name=param4,proto3,oneof"`
}

type Oneof_Param5

type Oneof_Param5 struct {
	Param5 string `protobuf:"bytes,5,opt,name=param5,proto3,oneof"`
}

type Oneof_Param6

type Oneof_Param6 struct {
	Param6 string `protobuf:"bytes,6,opt,name=param6,proto3,oneof"`
}

type QueryClient

type QueryClient interface {
	Query1(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Data, error)
	Query2(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Data, error)
	Mutate1(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Data, error)
	Subscribe(ctx context.Context, in *Data, opts ...grpc.CallOption) (Query_SubscribeClient, error)
}

QueryClient is the client API for Query service.

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

func NewQueryClient

func NewQueryClient(cc *grpc.ClientConn) QueryClient

type QueryGQLServer

type QueryGQLServer struct{ Service QueryServer }

func (*QueryGQLServer) QueryMutate1

func (s *QueryGQLServer) QueryMutate1(ctx context.Context, in *Data) (*Data, error)

func (*QueryGQLServer) QueryQuery1

func (s *QueryGQLServer) QueryQuery1(ctx context.Context, in *Data) (*Data, error)

func (*QueryGQLServer) QueryQuery2

func (s *QueryGQLServer) QueryQuery2(ctx context.Context, in *Data) (*Data, error)

type QueryServer

type QueryServer interface {
	Query1(context.Context, *Data) (*Data, error)
	Query2(context.Context, *Data) (*Data, error)
	Mutate1(context.Context, *Data) (*Data, error)
	Subscribe(*Data, Query_SubscribeServer) error
}

QueryServer is the server API for Query service.

type Query_SubscribeClient

type Query_SubscribeClient interface {
	Recv() (*Data, error)
	grpc.ClientStream
}

type Query_SubscribeServer

type Query_SubscribeServer interface {
	Send(*Data) error
	grpc.ServerStream
}

type Ref

type Ref struct {
	Empty                *empty.Empty         `protobuf:"bytes,10,opt,name=empty,proto3" json:"empty,omitempty"`
	LocalTime2           *Timestamp           `protobuf:"bytes,12,opt,name=local_time2,json=localTime2,proto3" json:"local_time2,omitempty"`
	External             *timestamp.Timestamp `protobuf:"bytes,1,opt,name=external,proto3" json:"external,omitempty"`
	LocalTime            *Timestamp           `protobuf:"bytes,11,opt,name=local_time,json=localTime,proto3" json:"local_time,omitempty"`
	File                 *Baz                 `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
	FileMsg              *Foo                 `protobuf:"bytes,8,opt,name=file_msg,json=fileMsg,proto3" json:"file_msg,omitempty"`
	FileEnum             Bar                  `protobuf:"varint,9,opt,name=file_enum,json=fileEnum,proto3,enum=pb.Bar" json:"file_enum,omitempty"`
	Local                *Ref_Foo             `protobuf:"bytes,3,opt,name=local,proto3" json:"local,omitempty"`
	Foreign              *Foo_Foo2            `protobuf:"bytes,4,opt,name=foreign,proto3" json:"foreign,omitempty"`
	En1                  Ref_Foo_En           `protobuf:"varint,5,opt,name=en1,proto3,enum=pb.Ref_Foo_En" json:"en1,omitempty"`
	En2                  Ref_Foo_Bar_En       `protobuf:"varint,6,opt,name=en2,proto3,enum=pb.Ref_Foo_Bar_En" json:"en2,omitempty"`
	Gz                   *Ref_Foo_Baz_Gz      `protobuf:"bytes,7,opt,name=gz,proto3" json:"gz,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Ref) Descriptor

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

func (*Ref) GetEmpty

func (m *Ref) GetEmpty() *empty.Empty

func (*Ref) GetEn1

func (m *Ref) GetEn1() Ref_Foo_En

func (*Ref) GetEn2

func (m *Ref) GetEn2() Ref_Foo_Bar_En

func (*Ref) GetExternal

func (m *Ref) GetExternal() *timestamp.Timestamp

func (*Ref) GetFile

func (m *Ref) GetFile() *Baz

func (*Ref) GetFileEnum

func (m *Ref) GetFileEnum() Bar

func (*Ref) GetFileMsg

func (m *Ref) GetFileMsg() *Foo

func (*Ref) GetForeign

func (m *Ref) GetForeign() *Foo_Foo2

func (*Ref) GetGz

func (m *Ref) GetGz() *Ref_Foo_Baz_Gz

func (*Ref) GetLocal

func (m *Ref) GetLocal() *Ref_Foo

func (*Ref) GetLocalTime

func (m *Ref) GetLocalTime() *Timestamp

func (*Ref) GetLocalTime2

func (m *Ref) GetLocalTime2() *Timestamp

func (*Ref) ProtoMessage

func (*Ref) ProtoMessage()

func (*Ref) Reset

func (m *Ref) Reset()

func (*Ref) String

func (m *Ref) String() string

func (*Ref) XXX_DiscardUnknown

func (m *Ref) XXX_DiscardUnknown()

func (*Ref) XXX_Marshal

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

func (*Ref) XXX_Merge

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

func (*Ref) XXX_Size

func (m *Ref) XXX_Size() int

func (*Ref) XXX_Unmarshal

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

type Ref_Bar

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

func (*Ref_Bar) Descriptor

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

func (*Ref_Bar) GetParam1

func (m *Ref_Bar) GetParam1() string

func (*Ref_Bar) ProtoMessage

func (*Ref_Bar) ProtoMessage()

func (*Ref_Bar) Reset

func (m *Ref_Bar) Reset()

func (*Ref_Bar) String

func (m *Ref_Bar) String() string

func (*Ref_Bar) XXX_DiscardUnknown

func (m *Ref_Bar) XXX_DiscardUnknown()

func (*Ref_Bar) XXX_Marshal

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

func (*Ref_Bar) XXX_Merge

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

func (*Ref_Bar) XXX_Size

func (m *Ref_Bar) XXX_Size() int

func (*Ref_Bar) XXX_Unmarshal

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

type Ref_Foo

type Ref_Foo struct {
	Bar1                 *Ref_Foo_Bar         `protobuf:"bytes,1,opt,name=bar1,proto3" json:"bar1,omitempty"`
	LocalTime2           *Timestamp           `protobuf:"bytes,12,opt,name=local_time2,json=localTime2,proto3" json:"local_time2,omitempty"`
	ExternalTime1        *timestamp.Timestamp `protobuf:"bytes,13,opt,name=external_time1,json=externalTime1,proto3" json:"external_time1,omitempty"`
	Bar2                 *Ref_Bar             `protobuf:"bytes,2,opt,name=bar2,proto3" json:"bar2,omitempty"`
	En1                  Ref_Foo_En           `protobuf:"varint,3,opt,name=en1,proto3,enum=pb.Ref_Foo_En" json:"en1,omitempty"`
	En2                  Ref_Foo_Bar_En       `protobuf:"varint,4,opt,name=en2,proto3,enum=pb.Ref_Foo_Bar_En" json:"en2,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Ref_Foo) Descriptor

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

func (*Ref_Foo) GetBar1

func (m *Ref_Foo) GetBar1() *Ref_Foo_Bar

func (*Ref_Foo) GetBar2

func (m *Ref_Foo) GetBar2() *Ref_Bar

func (*Ref_Foo) GetEn1

func (m *Ref_Foo) GetEn1() Ref_Foo_En

func (*Ref_Foo) GetEn2

func (m *Ref_Foo) GetEn2() Ref_Foo_Bar_En

func (*Ref_Foo) GetExternalTime1

func (m *Ref_Foo) GetExternalTime1() *timestamp.Timestamp

func (*Ref_Foo) GetLocalTime2

func (m *Ref_Foo) GetLocalTime2() *Timestamp

func (*Ref_Foo) ProtoMessage

func (*Ref_Foo) ProtoMessage()

func (*Ref_Foo) Reset

func (m *Ref_Foo) Reset()

func (*Ref_Foo) String

func (m *Ref_Foo) String() string

func (*Ref_Foo) XXX_DiscardUnknown

func (m *Ref_Foo) XXX_DiscardUnknown()

func (*Ref_Foo) XXX_Marshal

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

func (*Ref_Foo) XXX_Merge

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

func (*Ref_Foo) XXX_Size

func (m *Ref_Foo) XXX_Size() int

func (*Ref_Foo) XXX_Unmarshal

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

type Ref_Foo_Bar

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

func (*Ref_Foo_Bar) Descriptor

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

func (*Ref_Foo_Bar) GetParam1

func (m *Ref_Foo_Bar) GetParam1() string

func (*Ref_Foo_Bar) ProtoMessage

func (*Ref_Foo_Bar) ProtoMessage()

func (*Ref_Foo_Bar) Reset

func (m *Ref_Foo_Bar) Reset()

func (*Ref_Foo_Bar) String

func (m *Ref_Foo_Bar) String() string

func (*Ref_Foo_Bar) XXX_DiscardUnknown

func (m *Ref_Foo_Bar) XXX_DiscardUnknown()

func (*Ref_Foo_Bar) XXX_Marshal

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

func (*Ref_Foo_Bar) XXX_Merge

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

func (*Ref_Foo_Bar) XXX_Size

func (m *Ref_Foo_Bar) XXX_Size() int

func (*Ref_Foo_Bar) XXX_Unmarshal

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

type Ref_Foo_Bar_En

type Ref_Foo_Bar_En int32
const (
	Ref_Foo_Bar_A0 Ref_Foo_Bar_En = 0
	Ref_Foo_Bar_A1 Ref_Foo_Bar_En = 1
)

func (Ref_Foo_Bar_En) EnumDescriptor

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

func (Ref_Foo_Bar_En) MarshalGQL

func (c Ref_Foo_Bar_En) MarshalGQL(w io.Writer)

func (Ref_Foo_Bar_En) String

func (x Ref_Foo_Bar_En) String() string

func (*Ref_Foo_Bar_En) UnmarshalGQL

func (c *Ref_Foo_Bar_En) UnmarshalGQL(v interface{}) error

type Ref_Foo_Baz

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

func (*Ref_Foo_Baz) Descriptor

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

func (*Ref_Foo_Baz) ProtoMessage

func (*Ref_Foo_Baz) ProtoMessage()

func (*Ref_Foo_Baz) Reset

func (m *Ref_Foo_Baz) Reset()

func (*Ref_Foo_Baz) String

func (m *Ref_Foo_Baz) String() string

func (*Ref_Foo_Baz) XXX_DiscardUnknown

func (m *Ref_Foo_Baz) XXX_DiscardUnknown()

func (*Ref_Foo_Baz) XXX_Marshal

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

func (*Ref_Foo_Baz) XXX_Merge

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

func (*Ref_Foo_Baz) XXX_Size

func (m *Ref_Foo_Baz) XXX_Size() int

func (*Ref_Foo_Baz) XXX_Unmarshal

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

type Ref_Foo_Baz_Gz

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

func (*Ref_Foo_Baz_Gz) Descriptor

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

func (*Ref_Foo_Baz_Gz) GetParam1

func (m *Ref_Foo_Baz_Gz) GetParam1() string

func (*Ref_Foo_Baz_Gz) ProtoMessage

func (*Ref_Foo_Baz_Gz) ProtoMessage()

func (*Ref_Foo_Baz_Gz) Reset

func (m *Ref_Foo_Baz_Gz) Reset()

func (*Ref_Foo_Baz_Gz) String

func (m *Ref_Foo_Baz_Gz) String() string

func (*Ref_Foo_Baz_Gz) XXX_DiscardUnknown

func (m *Ref_Foo_Baz_Gz) XXX_DiscardUnknown()

func (*Ref_Foo_Baz_Gz) XXX_Marshal

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

func (*Ref_Foo_Baz_Gz) XXX_Merge

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

func (*Ref_Foo_Baz_Gz) XXX_Size

func (m *Ref_Foo_Baz_Gz) XXX_Size() int

func (*Ref_Foo_Baz_Gz) XXX_Unmarshal

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

type Ref_Foo_En

type Ref_Foo_En int32
const (
	Ref_Foo_A0 Ref_Foo_En = 0
	Ref_Foo_A1 Ref_Foo_En = 1
)

func (Ref_Foo_En) EnumDescriptor

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

func (Ref_Foo_En) MarshalGQL

func (c Ref_Foo_En) MarshalGQL(w io.Writer)

func (Ref_Foo_En) String

func (x Ref_Foo_En) String() string

func (*Ref_Foo_En) UnmarshalGQL

func (c *Ref_Foo_En) UnmarshalGQL(v interface{}) error

type Repeated

type Repeated struct {
	Double               []float64 `protobuf:"fixed64,1,rep,packed,name=double,proto3" json:"double,omitempty"`
	Float                []float32 `protobuf:"fixed32,2,rep,packed,name=float,proto3" json:"float,omitempty"`
	Int32                []int32   `protobuf:"varint,3,rep,packed,name=int32,proto3" json:"int32,omitempty"`
	Int64                []int64   `protobuf:"varint,4,rep,packed,name=int64,proto3" json:"int64,omitempty"`
	Uint32               []uint32  `protobuf:"varint,5,rep,packed,name=uint32,proto3" json:"uint32,omitempty"`
	Uint64               []uint64  `protobuf:"varint,6,rep,packed,name=uint64,proto3" json:"uint64,omitempty"`
	Sint32               []int32   `protobuf:"zigzag32,7,rep,packed,name=sint32,proto3" json:"sint32,omitempty"`
	Sint64               []int64   `protobuf:"zigzag64,8,rep,packed,name=sint64,proto3" json:"sint64,omitempty"`
	Fixed32              []uint32  `protobuf:"fixed32,9,rep,packed,name=fixed32,proto3" json:"fixed32,omitempty"`
	Fixed64              []uint64  `protobuf:"fixed64,10,rep,packed,name=fixed64,proto3" json:"fixed64,omitempty"`
	Sfixed32             []int32   `protobuf:"fixed32,11,rep,packed,name=sfixed32,proto3" json:"sfixed32,omitempty"`
	Sfixed64             []int64   `protobuf:"fixed64,12,rep,packed,name=sfixed64,proto3" json:"sfixed64,omitempty"`
	Bool                 []bool    `protobuf:"varint,13,rep,packed,name=bool,proto3" json:"bool,omitempty"`
	String_              []string  `protobuf:"bytes,14,rep,name=string,proto3" json:"string,omitempty"`
	Bytes                [][]byte  `protobuf:"bytes,15,rep,name=bytes,proto3" json:"bytes,omitempty"`
	Foo                  []*Foo    `protobuf:"bytes,16,rep,name=foo,proto3" json:"foo,omitempty"`
	Bar                  []Bar     `protobuf:"varint,17,rep,packed,name=bar,proto3,enum=pb.Bar" json:"bar,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Repeated) Descriptor

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

func (*Repeated) GetBar

func (m *Repeated) GetBar() []Bar

func (*Repeated) GetBool

func (m *Repeated) GetBool() []bool

func (*Repeated) GetBytes

func (m *Repeated) GetBytes() [][]byte

func (*Repeated) GetDouble

func (m *Repeated) GetDouble() []float64

func (*Repeated) GetFixed32

func (m *Repeated) GetFixed32() []uint32

func (*Repeated) GetFixed64

func (m *Repeated) GetFixed64() []uint64

func (*Repeated) GetFloat

func (m *Repeated) GetFloat() []float32

func (*Repeated) GetFoo

func (m *Repeated) GetFoo() []*Foo

func (*Repeated) GetInt32

func (m *Repeated) GetInt32() []int32

func (*Repeated) GetInt64

func (m *Repeated) GetInt64() []int64

func (*Repeated) GetSfixed32

func (m *Repeated) GetSfixed32() []int32

func (*Repeated) GetSfixed64

func (m *Repeated) GetSfixed64() []int64

func (*Repeated) GetSint32

func (m *Repeated) GetSint32() []int32

func (*Repeated) GetSint64

func (m *Repeated) GetSint64() []int64

func (*Repeated) GetString_

func (m *Repeated) GetString_() []string

func (*Repeated) GetUint32

func (m *Repeated) GetUint32() []uint32

func (*Repeated) GetUint64

func (m *Repeated) GetUint64() []uint64

func (*Repeated) ProtoMessage

func (*Repeated) ProtoMessage()

func (*Repeated) Reset

func (m *Repeated) Reset()

func (*Repeated) String

func (m *Repeated) String() string

func (*Repeated) XXX_DiscardUnknown

func (m *Repeated) XXX_DiscardUnknown()

func (*Repeated) XXX_Marshal

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

func (*Repeated) XXX_Merge

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

func (*Repeated) XXX_Size

func (m *Repeated) XXX_Size() int

func (*Repeated) XXX_Unmarshal

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

type Scalars

type Scalars struct {
	Double               float64  `protobuf:"fixed64,1,opt,name=double,proto3" json:"double,omitempty"`
	Float                float32  `protobuf:"fixed32,2,opt,name=float,proto3" json:"float,omitempty"`
	Int32                int32    `protobuf:"varint,3,opt,name=int32,proto3" json:"int32,omitempty"`
	Int64                int64    `protobuf:"varint,4,opt,name=int64,proto3" json:"int64,omitempty"`
	Uint32               uint32   `protobuf:"varint,5,opt,name=uint32,proto3" json:"uint32,omitempty"`
	Uint64               uint64   `protobuf:"varint,6,opt,name=uint64,proto3" json:"uint64,omitempty"`
	Sint32               int32    `protobuf:"zigzag32,7,opt,name=sint32,proto3" json:"sint32,omitempty"`
	Sint64               int64    `protobuf:"zigzag64,8,opt,name=sint64,proto3" json:"sint64,omitempty"`
	Fixed32              uint32   `protobuf:"fixed32,9,opt,name=fixed32,proto3" json:"fixed32,omitempty"`
	Fixed64              uint64   `protobuf:"fixed64,10,opt,name=fixed64,proto3" json:"fixed64,omitempty"`
	Sfixed32             int32    `protobuf:"fixed32,11,opt,name=sfixed32,proto3" json:"sfixed32,omitempty"`
	Sfixed64             int64    `protobuf:"fixed64,12,opt,name=sfixed64,proto3" json:"sfixed64,omitempty"`
	Bool                 bool     `protobuf:"varint,13,opt,name=bool,proto3" json:"bool,omitempty"`
	String_              string   `protobuf:"bytes,14,opt,name=string,proto3" json:"string,omitempty"`
	Bytes                []byte   `protobuf:"bytes,15,opt,name=bytes,proto3" json:"bytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Scalars) Descriptor

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

func (*Scalars) GetBool

func (m *Scalars) GetBool() bool

func (*Scalars) GetBytes

func (m *Scalars) GetBytes() []byte

func (*Scalars) GetDouble

func (m *Scalars) GetDouble() float64

func (*Scalars) GetFixed32

func (m *Scalars) GetFixed32() uint32

func (*Scalars) GetFixed64

func (m *Scalars) GetFixed64() uint64

func (*Scalars) GetFloat

func (m *Scalars) GetFloat() float32

func (*Scalars) GetInt32

func (m *Scalars) GetInt32() int32

func (*Scalars) GetInt64

func (m *Scalars) GetInt64() int64

func (*Scalars) GetSfixed32

func (m *Scalars) GetSfixed32() int32

func (*Scalars) GetSfixed64

func (m *Scalars) GetSfixed64() int64

func (*Scalars) GetSint32

func (m *Scalars) GetSint32() int32

func (*Scalars) GetSint64

func (m *Scalars) GetSint64() int64

func (*Scalars) GetString_

func (m *Scalars) GetString_() string

func (*Scalars) GetUint32

func (m *Scalars) GetUint32() uint32

func (*Scalars) GetUint64

func (m *Scalars) GetUint64() uint64

func (*Scalars) ProtoMessage

func (*Scalars) ProtoMessage()

func (*Scalars) Reset

func (m *Scalars) Reset()

func (*Scalars) String

func (m *Scalars) String() string

func (*Scalars) XXX_DiscardUnknown

func (m *Scalars) XXX_DiscardUnknown()

func (*Scalars) XXX_Marshal

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

func (*Scalars) XXX_Merge

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

func (*Scalars) XXX_Size

func (m *Scalars) XXX_Size() int

func (*Scalars) XXX_Unmarshal

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

type ServiceClient

type ServiceClient interface {
	Mutate1(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Data, error)
	Mutate2(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Data, error)
	Query1(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Data, error)
	Publish(ctx context.Context, opts ...grpc.CallOption) (Service_PublishClient, error)
	Subscribe(ctx context.Context, in *Data, opts ...grpc.CallOption) (Service_SubscribeClient, error)
	PubSub1(ctx context.Context, opts ...grpc.CallOption) (Service_PubSub1Client, error)
	InvalidSubscribe1(ctx context.Context, opts ...grpc.CallOption) (Service_InvalidSubscribe1Client, error)
	InvalidSubscribe2(ctx context.Context, in *Data, opts ...grpc.CallOption) (Service_InvalidSubscribe2Client, error)
	InvalidSubscribe3(ctx context.Context, opts ...grpc.CallOption) (Service_InvalidSubscribe3Client, error)
	PubSub2(ctx context.Context, opts ...grpc.CallOption) (Service_PubSub2Client, error)
}

ServiceClient is the client API for Service service.

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

func NewServiceClient

func NewServiceClient(cc *grpc.ClientConn) ServiceClient

type ServiceGQLServer

type ServiceGQLServer struct{ Service ServiceServer }

func (*ServiceGQLServer) ServiceMutate1

func (s *ServiceGQLServer) ServiceMutate1(ctx context.Context, in *Data) (*Data, error)

func (*ServiceGQLServer) ServiceMutate2

func (s *ServiceGQLServer) ServiceMutate2(ctx context.Context, in *Data) (*Data, error)

func (*ServiceGQLServer) ServiceQuery1

func (s *ServiceGQLServer) ServiceQuery1(ctx context.Context, in *Data) (*Data, error)

type ServiceServer

type ServiceServer interface {
	Mutate1(context.Context, *Data) (*Data, error)
	Mutate2(context.Context, *Data) (*Data, error)
	Query1(context.Context, *Data) (*Data, error)
	Publish(Service_PublishServer) error
	Subscribe(*Data, Service_SubscribeServer) error
	PubSub1(Service_PubSub1Server) error
	InvalidSubscribe1(Service_InvalidSubscribe1Server) error
	InvalidSubscribe2(*Data, Service_InvalidSubscribe2Server) error
	InvalidSubscribe3(Service_InvalidSubscribe3Server) error
	PubSub2(Service_PubSub2Server) error
}

ServiceServer is the server API for Service service.

type Service_InvalidSubscribe1Client

type Service_InvalidSubscribe1Client interface {
	Send(*Data) error
	CloseAndRecv() (*Data, error)
	grpc.ClientStream
}

type Service_InvalidSubscribe1Server

type Service_InvalidSubscribe1Server interface {
	SendAndClose(*Data) error
	Recv() (*Data, error)
	grpc.ServerStream
}

type Service_InvalidSubscribe2Client

type Service_InvalidSubscribe2Client interface {
	Recv() (*Data, error)
	grpc.ClientStream
}

type Service_InvalidSubscribe2Server

type Service_InvalidSubscribe2Server interface {
	Send(*Data) error
	grpc.ServerStream
}

type Service_InvalidSubscribe3Client

type Service_InvalidSubscribe3Client interface {
	Send(*Data) error
	Recv() (*Data, error)
	grpc.ClientStream
}

type Service_InvalidSubscribe3Server

type Service_InvalidSubscribe3Server interface {
	Send(*Data) error
	Recv() (*Data, error)
	grpc.ServerStream
}

type Service_PubSub1Client

type Service_PubSub1Client interface {
	Send(*Data) error
	Recv() (*Data, error)
	grpc.ClientStream
}

type Service_PubSub1Server

type Service_PubSub1Server interface {
	Send(*Data) error
	Recv() (*Data, error)
	grpc.ServerStream
}

type Service_PubSub2Client

type Service_PubSub2Client interface {
	Send(*Data) error
	Recv() (*Data, error)
	grpc.ClientStream
}

type Service_PubSub2Server

type Service_PubSub2Server interface {
	Send(*Data) error
	Recv() (*Data, error)
	grpc.ServerStream
}

type Service_PublishClient

type Service_PublishClient interface {
	Send(*Data) error
	CloseAndRecv() (*Data, error)
	grpc.ClientStream
}

type Service_PublishServer

type Service_PublishServer interface {
	SendAndClose(*Data) error
	Recv() (*Data, error)
	grpc.ServerStream
}

type Service_SubscribeClient

type Service_SubscribeClient interface {
	Recv() (*Data, error)
	grpc.ClientStream
}

type Service_SubscribeServer

type Service_SubscribeServer interface {
	Send(*Data) error
	grpc.ServerStream
}

type Timestamp

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

func (*Timestamp) Descriptor

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

func (*Timestamp) GetTime

func (m *Timestamp) GetTime() string

func (*Timestamp) ProtoMessage

func (*Timestamp) ProtoMessage()

func (*Timestamp) Reset

func (m *Timestamp) Reset()

func (*Timestamp) String

func (m *Timestamp) String() string

func (*Timestamp) XXX_DiscardUnknown

func (m *Timestamp) XXX_DiscardUnknown()

func (*Timestamp) XXX_Marshal

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

func (*Timestamp) XXX_Merge

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

func (*Timestamp) XXX_Size

func (m *Timestamp) XXX_Size() int

func (*Timestamp) XXX_Unmarshal

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

type UnimplementedConstructsServer

type UnimplementedConstructsServer struct {
}

UnimplementedConstructsServer can be embedded to have forward compatible implementations.

func (*UnimplementedConstructsServer) Any_

func (*UnimplementedConstructsServer) CallWithId

func (*UnimplementedConstructsServer) CallWithId(ctx context.Context, req *Empty) (*Empty, error)

func (*UnimplementedConstructsServer) Empty2_

func (*UnimplementedConstructsServer) Empty3_

func (*UnimplementedConstructsServer) Empty_

func (*UnimplementedConstructsServer) Maps_

func (*UnimplementedConstructsServer) Oneof_

func (*UnimplementedConstructsServer) Ref_

func (*UnimplementedConstructsServer) Repeated_

func (*UnimplementedConstructsServer) Scalars_

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Mutate1

func (*UnimplementedQueryServer) Mutate1(ctx context.Context, req *Data) (*Data, error)

func (*UnimplementedQueryServer) Query1

func (*UnimplementedQueryServer) Query1(ctx context.Context, req *Data) (*Data, error)

func (*UnimplementedQueryServer) Query2

func (*UnimplementedQueryServer) Query2(ctx context.Context, req *Data) (*Data, error)

func (*UnimplementedQueryServer) Subscribe

type UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedServiceServer) InvalidSubscribe1

func (*UnimplementedServiceServer) InvalidSubscribe2

func (*UnimplementedServiceServer) InvalidSubscribe3

func (*UnimplementedServiceServer) Mutate1

func (*UnimplementedServiceServer) Mutate1(ctx context.Context, req *Data) (*Data, error)

func (*UnimplementedServiceServer) Mutate2

func (*UnimplementedServiceServer) Mutate2(ctx context.Context, req *Data) (*Data, error)

func (*UnimplementedServiceServer) PubSub1

func (*UnimplementedServiceServer) PubSub2

func (*UnimplementedServiceServer) Publish

func (*UnimplementedServiceServer) Query1

func (*UnimplementedServiceServer) Query1(ctx context.Context, req *Data) (*Data, error)

func (*UnimplementedServiceServer) Subscribe

Jump to

Keyboard shortcuts

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