Documentation ¶
Index ¶
- Variables
- func RegisterExcitedAPIServer(s *grpc.Server, srv ExcitedAPIServer)
- func RegisterHelloAPIServer(s *grpc.Server, srv HelloAPIServer)
- type Another
- func (*Another) Descriptor() ([]byte, []int)
- func (m *Another) GetAnother() *Another
- func (m *Another) GetAnotherDuration() *duration.Duration
- func (m *Another) GetEight() string
- func (m *Another) GetFour() []string
- func (m *Another) GetHello() Hello
- func (m *Another) GetM() map[string]int64
- func (m *Another) GetNine() []*Another
- func (m *Another) GetOne() int64
- func (m *Another) GetOneofOneof() isAnother_OneofOneof
- func (m *Another) GetSeven() int64
- func (m *Another) GetTwo() string
- func (*Another) ProtoMessage()
- func (m *Another) Reset()
- func (m *Another) String() string
- func (m *Another) XXX_DiscardUnknown()
- func (m *Another) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Another) XXX_Merge(src proto.Message)
- func (*Another) XXX_OneofWrappers() []interface{}
- func (m *Another) XXX_Size() int
- func (m *Another) XXX_Unmarshal(b []byte) error
- type Another_Eight
- type Another_Seven
- type Bar
- type BarRequest
- func (*BarRequest) Descriptor() ([]byte, []int)
- func (m *BarRequest) GetId() int64
- func (*BarRequest) ProtoMessage()
- func (m *BarRequest) Reset()
- func (m *BarRequest) String() string
- func (m *BarRequest) XXX_DiscardUnknown()
- func (m *BarRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BarRequest) XXX_Merge(src proto.Message)
- func (m *BarRequest) XXX_Size() int
- func (m *BarRequest) XXX_Unmarshal(b []byte) error
- type BarResponse
- func (*BarResponse) Descriptor() ([]byte, []int)
- func (*BarResponse) ProtoMessage()
- func (m *BarResponse) Reset()
- func (m *BarResponse) String() string
- func (m *BarResponse) XXX_DiscardUnknown()
- func (m *BarResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BarResponse) XXX_Merge(src proto.Message)
- func (m *BarResponse) XXX_Size() int
- func (m *BarResponse) XXX_Unmarshal(b []byte) error
- type Barr
- func (*Barr) Descriptor() ([]byte, []int)
- func (m *Barr) GetBarHello() *v1.Hello
- func (m *Barr) GetBarrTime() *timestamp.Timestamp
- func (m *Barr) GetHello() int64
- func (*Barr) ProtoMessage()
- func (m *Barr) Reset()
- func (m *Barr) String() string
- func (m *Barr) XXX_DiscardUnknown()
- func (m *Barr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Barr) XXX_Merge(src proto.Message)
- func (m *Barr) XXX_Size() int
- func (m *Barr) XXX_Unmarshal(b []byte) error
- type Bazz
- func (*Bazz) Descriptor() ([]byte, []int)
- func (m *Bazz) GetOne() int64
- func (*Bazz) ProtoMessage()
- func (m *Bazz) Reset()
- func (m *Bazz) String() string
- func (m *Bazz) XXX_DiscardUnknown()
- func (m *Bazz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bazz) XXX_Merge(src proto.Message)
- func (m *Bazz) XXX_Size() int
- func (m *Bazz) XXX_Unmarshal(b []byte) error
- type ExcitedAPIClient
- type ExcitedAPIServer
- type ExcitedAPI_ExclamationBidiStreamClient
- type ExcitedAPI_ExclamationBidiStreamServer
- type ExcitedAPI_ExclamationClientStreamClient
- type ExcitedAPI_ExclamationClientStreamServer
- type ExcitedAPI_ExclamationServerStreamClient
- type ExcitedAPI_ExclamationServerStreamServer
- type ExclamationRequest
- func (*ExclamationRequest) Descriptor() ([]byte, []int)
- func (m *ExclamationRequest) GetValue() string
- func (*ExclamationRequest) ProtoMessage()
- func (m *ExclamationRequest) Reset()
- func (m *ExclamationRequest) String() string
- func (m *ExclamationRequest) XXX_DiscardUnknown()
- func (m *ExclamationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExclamationRequest) XXX_Merge(src proto.Message)
- func (m *ExclamationRequest) XXX_Size() int
- func (m *ExclamationRequest) XXX_Unmarshal(b []byte) error
- type ExclamationResponse
- func (*ExclamationResponse) Descriptor() ([]byte, []int)
- func (m *ExclamationResponse) GetValue() string
- func (*ExclamationResponse) ProtoMessage()
- func (m *ExclamationResponse) Reset()
- func (m *ExclamationResponse) String() string
- func (m *ExclamationResponse) XXX_DiscardUnknown()
- func (m *ExclamationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExclamationResponse) XXX_Merge(src proto.Message)
- func (m *ExclamationResponse) XXX_Size() int
- func (m *ExclamationResponse) XXX_Unmarshal(b []byte) error
- type Foo
- func (*Foo) Descriptor() ([]byte, []int)
- func (m *Foo) GetBar() *Foo_Bar
- func (*Foo) ProtoMessage()
- func (m *Foo) Reset()
- func (m *Foo) String() string
- func (m *Foo) XXX_DiscardUnknown()
- func (m *Foo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Foo) XXX_Merge(src proto.Message)
- func (m *Foo) XXX_Size() int
- func (m *Foo) XXX_Unmarshal(b []byte) error
- type FooRequest
- func (*FooRequest) Descriptor() ([]byte, []int)
- func (*FooRequest) ProtoMessage()
- func (m *FooRequest) Reset()
- func (m *FooRequest) String() string
- func (m *FooRequest) XXX_DiscardUnknown()
- func (m *FooRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FooRequest) XXX_Merge(src proto.Message)
- func (m *FooRequest) XXX_Size() int
- func (m *FooRequest) XXX_Unmarshal(b []byte) error
- type FooResponse
- func (*FooResponse) Descriptor() ([]byte, []int)
- func (*FooResponse) ProtoMessage()
- func (m *FooResponse) Reset()
- func (m *FooResponse) String() string
- func (m *FooResponse) XXX_DiscardUnknown()
- func (m *FooResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FooResponse) XXX_Merge(src proto.Message)
- func (m *FooResponse) XXX_Size() int
- func (m *FooResponse) XXX_Unmarshal(b []byte) error
- type Foo_Bar
- func (*Foo_Bar) Descriptor() ([]byte, []int)
- func (m *Foo_Bar) GetBat() Foo_Bar_Bat
- func (m *Foo_Bar) GetBaz() Foo_Bar_Baz
- func (*Foo_Bar) ProtoMessage()
- func (m *Foo_Bar) Reset()
- func (m *Foo_Bar) String() string
- func (m *Foo_Bar) XXX_DiscardUnknown()
- func (m *Foo_Bar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Foo_Bar) XXX_Merge(src proto.Message)
- func (m *Foo_Bar) XXX_Size() int
- func (m *Foo_Bar) XXX_Unmarshal(b []byte) error
- type Foo_Bar_Bat
- type Foo_Bar_Baz
- type HasWKT
- func (*HasWKT) Descriptor() ([]byte, []int)
- func (m *HasWKT) GetWktDuration() *duration.Duration
- func (*HasWKT) ProtoMessage()
- func (m *HasWKT) Reset()
- func (m *HasWKT) String() string
- func (m *HasWKT) XXX_DiscardUnknown()
- func (m *HasWKT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HasWKT) XXX_Merge(src proto.Message)
- func (m *HasWKT) XXX_Size() int
- func (m *HasWKT) XXX_Unmarshal(b []byte) error
- type Hello
- type HelloAPIClient
- type HelloAPIServer
- type UnimplementedExcitedAPIServer
- func (*UnimplementedExcitedAPIServer) Exclamation(ctx context.Context, req *ExclamationRequest) (*ExclamationResponse, error)
- func (*UnimplementedExcitedAPIServer) ExclamationBidiStream(srv ExcitedAPI_ExclamationBidiStreamServer) error
- func (*UnimplementedExcitedAPIServer) ExclamationClientStream(srv ExcitedAPI_ExclamationClientStreamServer) error
- func (*UnimplementedExcitedAPIServer) ExclamationServerStream(req *ExclamationRequest, srv ExcitedAPI_ExclamationServerStreamServer) error
- type UnimplementedHelloAPIServer
Constants ¶
This section is empty.
Variables ¶
var Bar_name = map[int32]string{
0: "BAR_INVALID",
}
var Bar_value = map[string]int32{
"BAR_INVALID": 0,
}
var Foo_Bar_Bat_name = map[int32]string{
0: "BAT_INVALID",
}
var Foo_Bar_Bat_value = map[string]int32{
"BAT_INVALID": 0,
}
var Foo_Bar_Baz_name = map[int32]string{
0: "BAZ_INVALID",
}
var Foo_Bar_Baz_value = map[string]int32{
"BAZ_INVALID": 0,
}
var Hello_name = map[int32]string{
0: "HELLO_INVALID",
1: "HELLO_UNSET",
2: "HELLO_TREE",
3: "HELLO_BALLOON",
}
var Hello_value = map[string]int32{
"HELLO_INVALID": 0,
"HELLO_UNSET": 1,
"HELLO_TREE": 2,
"HELLO_BALLOON": 3,
}
Functions ¶
func RegisterExcitedAPIServer ¶
func RegisterExcitedAPIServer(s *grpc.Server, srv ExcitedAPIServer)
func RegisterHelloAPIServer ¶
func RegisterHelloAPIServer(s *grpc.Server, srv HelloAPIServer)
Types ¶
type Another ¶
type Another struct { One int64 `protobuf:"varint,1,opt,name=one,proto3" json:"one,omitempty"` Two string `protobuf:"bytes,2,opt,name=two,proto3" json:"two,omitempty"` Another *Another `protobuf:"bytes,3,opt,name=another,proto3" json:"another,omitempty"` Four []string `protobuf:"bytes,4,rep,name=four,proto3" json:"four,omitempty"` Hello Hello `protobuf:"varint,5,opt,name=hello,proto3,enum=uber.foo.v1.Hello" json:"hello,omitempty"` M map[string]int64 `` /* 144-byte string literal not displayed */ // Types that are valid to be assigned to OneofOneof: // *Another_Seven // *Another_Eight OneofOneof isAnother_OneofOneof `protobuf_oneof:"oneof_oneof"` Nine []*Another `protobuf:"bytes,9,rep,name=nine,proto3" json:"nine,omitempty"` AnotherDuration *duration.Duration `protobuf:"bytes,10,opt,name=another_duration,json=anotherDuration,proto3" json:"another_duration,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Another is another message.
func (*Another) Descriptor ¶
func (*Another) GetAnother ¶
func (*Another) GetAnotherDuration ¶
func (*Another) GetOneofOneof ¶
func (m *Another) GetOneofOneof() isAnother_OneofOneof
func (*Another) ProtoMessage ¶
func (*Another) ProtoMessage()
func (*Another) XXX_DiscardUnknown ¶
func (m *Another) XXX_DiscardUnknown()
func (*Another) XXX_Marshal ¶
func (*Another) XXX_OneofWrappers ¶
func (*Another) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Another) XXX_Unmarshal ¶
type Another_Eight ¶
type Another_Eight struct {
Eight string `protobuf:"bytes,8,opt,name=eight,proto3,oneof"`
}
type Another_Seven ¶
type Another_Seven struct {
Seven int64 `protobuf:"varint,7,opt,name=seven,proto3,oneof"`
}
type Bar ¶
type Bar int32
Bar is a bar.
const (
Bar_BAR_INVALID Bar = 0
)
func (Bar) EnumDescriptor ¶
type BarRequest ¶
type BarRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BarRequest) Descriptor ¶
func (*BarRequest) Descriptor() ([]byte, []int)
func (*BarRequest) GetId ¶
func (m *BarRequest) GetId() int64
func (*BarRequest) ProtoMessage ¶
func (*BarRequest) ProtoMessage()
func (*BarRequest) Reset ¶
func (m *BarRequest) Reset()
func (*BarRequest) String ¶
func (m *BarRequest) String() string
func (*BarRequest) XXX_DiscardUnknown ¶
func (m *BarRequest) XXX_DiscardUnknown()
func (*BarRequest) XXX_Marshal ¶
func (m *BarRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BarRequest) XXX_Merge ¶
func (m *BarRequest) XXX_Merge(src proto.Message)
func (*BarRequest) XXX_Size ¶
func (m *BarRequest) XXX_Size() int
func (*BarRequest) XXX_Unmarshal ¶
func (m *BarRequest) XXX_Unmarshal(b []byte) error
type BarResponse ¶
type BarResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BarResponse) Descriptor ¶
func (*BarResponse) Descriptor() ([]byte, []int)
func (*BarResponse) ProtoMessage ¶
func (*BarResponse) ProtoMessage()
func (*BarResponse) Reset ¶
func (m *BarResponse) Reset()
func (*BarResponse) String ¶
func (m *BarResponse) String() string
func (*BarResponse) XXX_DiscardUnknown ¶
func (m *BarResponse) XXX_DiscardUnknown()
func (*BarResponse) XXX_Marshal ¶
func (m *BarResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BarResponse) XXX_Merge ¶
func (m *BarResponse) XXX_Merge(src proto.Message)
func (*BarResponse) XXX_Size ¶
func (m *BarResponse) XXX_Size() int
func (*BarResponse) XXX_Unmarshal ¶
func (m *BarResponse) XXX_Unmarshal(b []byte) error
type Barr ¶
type Barr struct { Hello int64 `protobuf:"varint,1,opt,name=hello,proto3" json:"hello,omitempty"` BarrTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=barr_time,json=barrTime,proto3" json:"barr_time,omitempty"` BarHello *v1.Hello `protobuf:"bytes,3,opt,name=bar_hello,json=barHello,proto3" json:"bar_hello,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Barr is a barr.
func (*Barr) Descriptor ¶
func (*Barr) GetBarHello ¶
func (*Barr) GetBarrTime ¶
func (*Barr) ProtoMessage ¶
func (*Barr) ProtoMessage()
func (*Barr) XXX_DiscardUnknown ¶
func (m *Barr) XXX_DiscardUnknown()
func (*Barr) XXX_Unmarshal ¶
type Bazz ¶
type Bazz struct { One int64 `protobuf:"varint,1,opt,name=one,proto3" json:"one,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Bazz is a bazzzz.
func (*Bazz) Descriptor ¶
func (*Bazz) ProtoMessage ¶
func (*Bazz) ProtoMessage()
func (*Bazz) XXX_DiscardUnknown ¶
func (m *Bazz) XXX_DiscardUnknown()
func (*Bazz) XXX_Unmarshal ¶
type ExcitedAPIClient ¶
type ExcitedAPIClient interface { // Exclamation adds an exclamation to the request value. Exclamation(ctx context.Context, in *ExclamationRequest, opts ...grpc.CallOption) (*ExclamationResponse, error) // ExclamationClientStream adds an exclamation to the combined request values. ExclamationClientStream(ctx context.Context, opts ...grpc.CallOption) (ExcitedAPI_ExclamationClientStreamClient, error) // ExclamationServerStream adds an exclamation to the request value // and streams each character as a response. ExclamationServerStream(ctx context.Context, in *ExclamationRequest, opts ...grpc.CallOption) (ExcitedAPI_ExclamationServerStreamClient, error) // ExclamationBidiStream adds an exclamation to the each request value. ExclamationBidiStream(ctx context.Context, opts ...grpc.CallOption) (ExcitedAPI_ExclamationBidiStreamClient, error) }
ExcitedAPIClient is the client API for ExcitedAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewExcitedAPIClient ¶
func NewExcitedAPIClient(cc grpc.ClientConnInterface) ExcitedAPIClient
type ExcitedAPIServer ¶
type ExcitedAPIServer interface { // Exclamation adds an exclamation to the request value. Exclamation(context.Context, *ExclamationRequest) (*ExclamationResponse, error) // ExclamationClientStream adds an exclamation to the combined request values. ExclamationClientStream(ExcitedAPI_ExclamationClientStreamServer) error // ExclamationServerStream adds an exclamation to the request value // and streams each character as a response. ExclamationServerStream(*ExclamationRequest, ExcitedAPI_ExclamationServerStreamServer) error // ExclamationBidiStream adds an exclamation to the each request value. ExclamationBidiStream(ExcitedAPI_ExclamationBidiStreamServer) error }
ExcitedAPIServer is the server API for ExcitedAPI service.
type ExcitedAPI_ExclamationBidiStreamClient ¶
type ExcitedAPI_ExclamationBidiStreamClient interface { Send(*ExclamationRequest) error Recv() (*ExclamationResponse, error) grpc.ClientStream }
type ExcitedAPI_ExclamationBidiStreamServer ¶
type ExcitedAPI_ExclamationBidiStreamServer interface { Send(*ExclamationResponse) error Recv() (*ExclamationRequest, error) grpc.ServerStream }
type ExcitedAPI_ExclamationClientStreamClient ¶
type ExcitedAPI_ExclamationClientStreamClient interface { Send(*ExclamationRequest) error CloseAndRecv() (*ExclamationResponse, error) grpc.ClientStream }
type ExcitedAPI_ExclamationClientStreamServer ¶
type ExcitedAPI_ExclamationClientStreamServer interface { SendAndClose(*ExclamationResponse) error Recv() (*ExclamationRequest, error) grpc.ServerStream }
type ExcitedAPI_ExclamationServerStreamClient ¶
type ExcitedAPI_ExclamationServerStreamClient interface { Recv() (*ExclamationResponse, error) grpc.ClientStream }
type ExcitedAPI_ExclamationServerStreamServer ¶
type ExcitedAPI_ExclamationServerStreamServer interface { Send(*ExclamationResponse) error grpc.ServerStream }
type ExclamationRequest ¶
type ExclamationRequest struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExclamationRequest) Descriptor ¶
func (*ExclamationRequest) Descriptor() ([]byte, []int)
func (*ExclamationRequest) GetValue ¶
func (m *ExclamationRequest) GetValue() string
func (*ExclamationRequest) ProtoMessage ¶
func (*ExclamationRequest) ProtoMessage()
func (*ExclamationRequest) Reset ¶
func (m *ExclamationRequest) Reset()
func (*ExclamationRequest) String ¶
func (m *ExclamationRequest) String() string
func (*ExclamationRequest) XXX_DiscardUnknown ¶
func (m *ExclamationRequest) XXX_DiscardUnknown()
func (*ExclamationRequest) XXX_Marshal ¶
func (m *ExclamationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExclamationRequest) XXX_Merge ¶
func (m *ExclamationRequest) XXX_Merge(src proto.Message)
func (*ExclamationRequest) XXX_Size ¶
func (m *ExclamationRequest) XXX_Size() int
func (*ExclamationRequest) XXX_Unmarshal ¶
func (m *ExclamationRequest) XXX_Unmarshal(b []byte) error
type ExclamationResponse ¶
type ExclamationResponse struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExclamationResponse) Descriptor ¶
func (*ExclamationResponse) Descriptor() ([]byte, []int)
func (*ExclamationResponse) GetValue ¶
func (m *ExclamationResponse) GetValue() string
func (*ExclamationResponse) ProtoMessage ¶
func (*ExclamationResponse) ProtoMessage()
func (*ExclamationResponse) Reset ¶
func (m *ExclamationResponse) Reset()
func (*ExclamationResponse) String ¶
func (m *ExclamationResponse) String() string
func (*ExclamationResponse) XXX_DiscardUnknown ¶
func (m *ExclamationResponse) XXX_DiscardUnknown()
func (*ExclamationResponse) XXX_Marshal ¶
func (m *ExclamationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExclamationResponse) XXX_Merge ¶
func (m *ExclamationResponse) XXX_Merge(src proto.Message)
func (*ExclamationResponse) XXX_Size ¶
func (m *ExclamationResponse) XXX_Size() int
func (*ExclamationResponse) XXX_Unmarshal ¶
func (m *ExclamationResponse) XXX_Unmarshal(b []byte) error
type Foo ¶
type Foo struct { Bar *Foo_Bar `protobuf:"bytes,1,opt,name=bar,proto3" json:"bar,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Foo is a foo.
func (*Foo) Descriptor ¶
func (*Foo) ProtoMessage ¶
func (*Foo) ProtoMessage()
func (*Foo) XXX_DiscardUnknown ¶
func (m *Foo) XXX_DiscardUnknown()
func (*Foo) XXX_Unmarshal ¶
type FooRequest ¶
type FooRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FooRequest) Descriptor ¶
func (*FooRequest) Descriptor() ([]byte, []int)
func (*FooRequest) ProtoMessage ¶
func (*FooRequest) ProtoMessage()
func (*FooRequest) Reset ¶
func (m *FooRequest) Reset()
func (*FooRequest) String ¶
func (m *FooRequest) String() string
func (*FooRequest) XXX_DiscardUnknown ¶
func (m *FooRequest) XXX_DiscardUnknown()
func (*FooRequest) XXX_Marshal ¶
func (m *FooRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FooRequest) XXX_Merge ¶
func (m *FooRequest) XXX_Merge(src proto.Message)
func (*FooRequest) XXX_Size ¶
func (m *FooRequest) XXX_Size() int
func (*FooRequest) XXX_Unmarshal ¶
func (m *FooRequest) XXX_Unmarshal(b []byte) error
type FooResponse ¶
type FooResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FooResponse) Descriptor ¶
func (*FooResponse) Descriptor() ([]byte, []int)
func (*FooResponse) ProtoMessage ¶
func (*FooResponse) ProtoMessage()
func (*FooResponse) Reset ¶
func (m *FooResponse) Reset()
func (*FooResponse) String ¶
func (m *FooResponse) String() string
func (*FooResponse) XXX_DiscardUnknown ¶
func (m *FooResponse) XXX_DiscardUnknown()
func (*FooResponse) XXX_Marshal ¶
func (m *FooResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FooResponse) XXX_Merge ¶
func (m *FooResponse) XXX_Merge(src proto.Message)
func (*FooResponse) XXX_Size ¶
func (m *FooResponse) XXX_Size() int
func (*FooResponse) XXX_Unmarshal ¶
func (m *FooResponse) XXX_Unmarshal(b []byte) error
type Foo_Bar ¶
type Foo_Bar struct { Baz Foo_Bar_Baz `protobuf:"varint,1,opt,name=baz,proto3,enum=uber.foo.v1.Foo_Bar_Baz" json:"baz,omitempty"` Bat Foo_Bar_Bat `protobuf:"varint,2,opt,name=bat,proto3,enum=uber.foo.v1.Foo_Bar_Bat" json:"bat,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Bar is a bar.
func (*Foo_Bar) Descriptor ¶
func (*Foo_Bar) GetBat ¶
func (m *Foo_Bar) GetBat() Foo_Bar_Bat
func (*Foo_Bar) GetBaz ¶
func (m *Foo_Bar) GetBaz() Foo_Bar_Baz
func (*Foo_Bar) ProtoMessage ¶
func (*Foo_Bar) ProtoMessage()
func (*Foo_Bar) XXX_DiscardUnknown ¶
func (m *Foo_Bar) XXX_DiscardUnknown()
func (*Foo_Bar) XXX_Marshal ¶
func (*Foo_Bar) XXX_Unmarshal ¶
type Foo_Bar_Bat ¶
type Foo_Bar_Bat int32
Bat is a bat.
const (
Foo_Bar_BAT_INVALID Foo_Bar_Bat = 0
)
func (Foo_Bar_Bat) EnumDescriptor ¶
func (Foo_Bar_Bat) EnumDescriptor() ([]byte, []int)
func (Foo_Bar_Bat) String ¶
func (x Foo_Bar_Bat) String() string
type Foo_Bar_Baz ¶
type Foo_Bar_Baz int32
Baz is a baz.
const (
Foo_Bar_BAZ_INVALID Foo_Bar_Baz = 0
)
func (Foo_Bar_Baz) EnumDescriptor ¶
func (Foo_Bar_Baz) EnumDescriptor() ([]byte, []int)
func (Foo_Bar_Baz) String ¶
func (x Foo_Bar_Baz) String() string
type HasWKT ¶
type HasWKT struct { WktDuration *duration.Duration `protobuf:"bytes,1,opt,name=wkt_duration,json=wktDuration,proto3" json:"wkt_duration,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
HasWKT has Well-Known Types.
func (*HasWKT) Descriptor ¶
func (*HasWKT) GetWktDuration ¶
func (*HasWKT) ProtoMessage ¶
func (*HasWKT) ProtoMessage()
func (*HasWKT) XXX_DiscardUnknown ¶
func (m *HasWKT) XXX_DiscardUnknown()
func (*HasWKT) XXX_Marshal ¶
func (*HasWKT) XXX_Unmarshal ¶
type HelloAPIClient ¶
type HelloAPIClient interface { // Foo does a foo. Foo(ctx context.Context, in *FooRequest, opts ...grpc.CallOption) (*FooResponse, error) // Bar does a bar. Bar(ctx context.Context, in *BarRequest, opts ...grpc.CallOption) (*BarResponse, error) }
HelloAPIClient is the client API for HelloAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHelloAPIClient ¶
func NewHelloAPIClient(cc grpc.ClientConnInterface) HelloAPIClient
type HelloAPIServer ¶
type HelloAPIServer interface { // Foo does a foo. Foo(context.Context, *FooRequest) (*FooResponse, error) // Bar does a bar. Bar(context.Context, *BarRequest) (*BarResponse, error) }
HelloAPIServer is the server API for HelloAPI service.
type UnimplementedExcitedAPIServer ¶
type UnimplementedExcitedAPIServer struct { }
UnimplementedExcitedAPIServer can be embedded to have forward compatible implementations.
func (*UnimplementedExcitedAPIServer) Exclamation ¶
func (*UnimplementedExcitedAPIServer) Exclamation(ctx context.Context, req *ExclamationRequest) (*ExclamationResponse, error)
func (*UnimplementedExcitedAPIServer) ExclamationBidiStream ¶
func (*UnimplementedExcitedAPIServer) ExclamationBidiStream(srv ExcitedAPI_ExclamationBidiStreamServer) error
func (*UnimplementedExcitedAPIServer) ExclamationClientStream ¶
func (*UnimplementedExcitedAPIServer) ExclamationClientStream(srv ExcitedAPI_ExclamationClientStreamServer) error
func (*UnimplementedExcitedAPIServer) ExclamationServerStream ¶
func (*UnimplementedExcitedAPIServer) ExclamationServerStream(req *ExclamationRequest, srv ExcitedAPI_ExclamationServerStreamServer) error
type UnimplementedHelloAPIServer ¶
type UnimplementedHelloAPIServer struct { }
UnimplementedHelloAPIServer can be embedded to have forward compatible implementations.
func (*UnimplementedHelloAPIServer) Bar ¶
func (*UnimplementedHelloAPIServer) Bar(ctx context.Context, req *BarRequest) (*BarResponse, error)
func (*UnimplementedHelloAPIServer) Foo ¶
func (*UnimplementedHelloAPIServer) Foo(ctx context.Context, req *FooRequest) (*FooResponse, error)