Documentation ¶
Overview ¶
Package examplepb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package examplepb is a generated protocol buffer package.
Echo Service ¶
Echo Service API consists of a single service which returns a message.
It is generated from these files:
examples/proto/examplepb/echo_service.proto examples/proto/examplepb/a_bit_of_everything.proto examples/proto/examplepb/stream.proto examples/proto/examplepb/flow_combination.proto examples/proto/examplepb/wrappers.proto examples/proto/examplepb/unannotated_echo_service.proto examples/proto/examplepb/response_body_service.proto
It has these top-level messages:
Embedded SimpleMessage ABitOfEverything ABitOfEverythingRepeated Body MessageWithBody MimicObjectResponse MimicObjectRequest MimicObjectHidden UpdateV2Request EmptyProto NonEmptyProto UnaryProto NestedProto SingleNestedProto Wrappers UnannotatedSimpleMessage ResponseBodyIn ResponseBodyOut
Package examplepb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package examplepb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package examplepb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package examplepb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package examplepb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package examplepb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterABitOfEverythingServiceHandler(s server.Server, hdlr ABitOfEverythingServiceHandler, ...) error
- func RegisterABitOfEverythingServiceHandlerService(ctx context.Context, mux *runtime.ServeMux, client ABitOfEverythingService) error
- func RegisterABitOfEverythingServiceServer(s *grpc.Server, srv ABitOfEverythingServiceServer)
- func RegisterAnotherServiceWithNoBindingsHandler(s server.Server, hdlr AnotherServiceWithNoBindingsHandler, ...) error
- func RegisterAnotherServiceWithNoBindingsServer(s *grpc.Server, srv AnotherServiceWithNoBindingsServer)
- func RegisterCamelCaseServiceNameHandler(s server.Server, hdlr CamelCaseServiceNameHandler, ...) error
- func RegisterCamelCaseServiceNameHandlerService(ctx context.Context, mux *runtime.ServeMux, client CamelCaseServiceNameService) error
- func RegisterCamelCaseServiceNameServer(s *grpc.Server, srv CamelCaseServiceNameServer)
- func RegisterEchoServiceHandler(s server.Server, hdlr EchoServiceHandler, opts ...server.HandlerOption) error
- func RegisterEchoServiceHandlerService(ctx context.Context, mux *runtime.ServeMux, client EchoService) error
- func RegisterEchoServiceServer(s *grpc.Server, srv EchoServiceServer)
- func RegisterFlowCombinationHandler(s server.Server, hdlr FlowCombinationHandler, opts ...server.HandlerOption) error
- func RegisterFlowCombinationHandlerService(ctx context.Context, mux *runtime.ServeMux, client FlowCombinationService) error
- func RegisterFlowCombinationServer(s *grpc.Server, srv FlowCombinationServer)
- func RegisterResponseBodyServiceHandler(s server.Server, hdlr ResponseBodyServiceHandler, opts ...server.HandlerOption) error
- func RegisterResponseBodyServiceHandlerService(ctx context.Context, mux *runtime.ServeMux, client ResponseBodyService) error
- func RegisterResponseBodyServiceServer(s *grpc.Server, srv ResponseBodyServiceServer)
- func RegisterStreamServiceHandler(s server.Server, hdlr StreamServiceHandler, opts ...server.HandlerOption) error
- func RegisterStreamServiceHandlerService(ctx context.Context, mux *runtime.ServeMux, client StreamService) error
- func RegisterStreamServiceServer(s *grpc.Server, srv StreamServiceServer)
- func RegisterUnannotatedEchoServiceHandler(s server.Server, hdlr UnannotatedEchoServiceHandler, ...) error
- func RegisterUnannotatedEchoServiceHandlerService(ctx context.Context, mux *runtime.ServeMux, client UnannotatedEchoService) error
- func RegisterUnannotatedEchoServiceServer(s *grpc.Server, srv UnannotatedEchoServiceServer)
- func RegisterWrappersServiceHandler(s server.Server, hdlr WrappersServiceHandler, opts ...server.HandlerOption) error
- func RegisterWrappersServiceHandlerService(ctx context.Context, mux *runtime.ServeMux, client WrappersService) error
- func RegisterWrappersServiceServer(s *grpc.Server, srv WrappersServiceServer)
- type ABitOfEverything
- func (*ABitOfEverything) Descriptor() ([]byte, []int)
- func (m *ABitOfEverything) GetBoolValue() bool
- func (m *ABitOfEverything) GetBytesValue() []byte
- func (m *ABitOfEverything) GetDoubleValue() float64
- func (m *ABitOfEverything) GetEnumValue() NumericEnum
- func (m *ABitOfEverything) GetFixed32Value() uint32
- func (m *ABitOfEverything) GetFixed64Value() uint64
- func (m *ABitOfEverything) GetFloatValue() float32
- func (m *ABitOfEverything) GetInt32Value() int32
- func (m *ABitOfEverything) GetInt64Value() int64
- func (m *ABitOfEverything) GetMapValue() map[string]NumericEnum
- func (m *ABitOfEverything) GetMappedNestedValue() map[string]*ABitOfEverything_Nested
- func (m *ABitOfEverything) GetMappedStringValue() map[string]string
- func (m *ABitOfEverything) GetMimicString() *MimicObjectHidden
- func (m *ABitOfEverything) GetNested() []*ABitOfEverything_Nested
- func (m *ABitOfEverything) GetNestedPathEnumValue() pathenum.MessagePathEnum_NestedPathEnum
- func (m *ABitOfEverything) GetNonConventionalNameValue() string
- func (m *ABitOfEverything) GetOneofEmpty() *empty.Empty
- func (m *ABitOfEverything) GetOneofString() string
- func (m *ABitOfEverything) GetOneofValue() isABitOfEverything_OneofValue
- func (m *ABitOfEverything) GetPathEnumValue() pathenum.PathEnum
- func (m *ABitOfEverything) GetRepeatedEnumValue() []NumericEnum
- func (m *ABitOfEverything) GetRepeatedStringValue() []string
- func (m *ABitOfEverything) GetSfixed32Value() int32
- func (m *ABitOfEverything) GetSfixed64Value() int64
- func (m *ABitOfEverything) GetSingleNested() *ABitOfEverything_Nested
- func (m *ABitOfEverything) GetSint32Value() int32
- func (m *ABitOfEverything) GetSint64Value() int64
- func (m *ABitOfEverything) GetStringValue() string
- func (m *ABitOfEverything) GetTimestampValue() *timestamp.Timestamp
- func (m *ABitOfEverything) GetUint32Value() uint32
- func (m *ABitOfEverything) GetUint64Value() uint64
- func (m *ABitOfEverything) GetUuid() string
- func (*ABitOfEverything) ProtoMessage()
- func (m *ABitOfEverything) Reset()
- func (m *ABitOfEverything) String() string
- func (m *ABitOfEverything) XXX_DiscardUnknown()
- func (m *ABitOfEverything) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ABitOfEverything) XXX_Merge(src proto.Message)
- func (*ABitOfEverything) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *ABitOfEverything) XXX_Size() int
- func (m *ABitOfEverything) XXX_Unmarshal(b []byte) error
- type ABitOfEverythingRepeated
- func (*ABitOfEverythingRepeated) Descriptor() ([]byte, []int)
- func (m *ABitOfEverythingRepeated) GetPathRepeatedBoolValue() []bool
- func (m *ABitOfEverythingRepeated) GetPathRepeatedBytesValue() [][]byte
- func (m *ABitOfEverythingRepeated) GetPathRepeatedDoubleValue() []float64
- func (m *ABitOfEverythingRepeated) GetPathRepeatedEnumValue() []NumericEnum
- func (m *ABitOfEverythingRepeated) GetPathRepeatedFixed32Value() []uint32
- func (m *ABitOfEverythingRepeated) GetPathRepeatedFixed64Value() []uint64
- func (m *ABitOfEverythingRepeated) GetPathRepeatedFloatValue() []float32
- func (m *ABitOfEverythingRepeated) GetPathRepeatedInt32Value() []int32
- func (m *ABitOfEverythingRepeated) GetPathRepeatedInt64Value() []int64
- func (m *ABitOfEverythingRepeated) GetPathRepeatedSfixed32Value() []int32
- func (m *ABitOfEverythingRepeated) GetPathRepeatedSfixed64Value() []int64
- func (m *ABitOfEverythingRepeated) GetPathRepeatedSint32Value() []int32
- func (m *ABitOfEverythingRepeated) GetPathRepeatedSint64Value() []int64
- func (m *ABitOfEverythingRepeated) GetPathRepeatedStringValue() []string
- func (m *ABitOfEverythingRepeated) GetPathRepeatedUint32Value() []uint32
- func (m *ABitOfEverythingRepeated) GetPathRepeatedUint64Value() []uint64
- func (*ABitOfEverythingRepeated) ProtoMessage()
- func (m *ABitOfEverythingRepeated) Reset()
- func (m *ABitOfEverythingRepeated) String() string
- func (m *ABitOfEverythingRepeated) XXX_DiscardUnknown()
- func (m *ABitOfEverythingRepeated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ABitOfEverythingRepeated) XXX_Merge(src proto.Message)
- func (m *ABitOfEverythingRepeated) XXX_Size() int
- func (m *ABitOfEverythingRepeated) XXX_Unmarshal(b []byte) error
- type ABitOfEverythingService
- type ABitOfEverythingServiceClient
- type ABitOfEverythingServiceHandler
- type ABitOfEverythingServiceServer
- type ABitOfEverything_Nested
- func (*ABitOfEverything_Nested) Descriptor() ([]byte, []int)
- func (m *ABitOfEverything_Nested) GetAmount() uint32
- func (m *ABitOfEverything_Nested) GetName() string
- func (m *ABitOfEverything_Nested) GetOk() ABitOfEverything_Nested_DeepEnum
- func (*ABitOfEverything_Nested) ProtoMessage()
- func (m *ABitOfEverything_Nested) Reset()
- func (m *ABitOfEverything_Nested) String() string
- func (m *ABitOfEverything_Nested) XXX_DiscardUnknown()
- func (m *ABitOfEverything_Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ABitOfEverything_Nested) XXX_Merge(src proto.Message)
- func (m *ABitOfEverything_Nested) XXX_Size() int
- func (m *ABitOfEverything_Nested) XXX_Unmarshal(b []byte) error
- type ABitOfEverything_Nested_DeepEnum
- type ABitOfEverything_OneofEmpty
- type ABitOfEverything_OneofString
- type AnotherServiceWithNoBindingsClient
- type AnotherServiceWithNoBindingsHandler
- type AnotherServiceWithNoBindingsServer
- type AnotherServiceWithNoBindingsService
- type Body
- func (*Body) Descriptor() ([]byte, []int)
- func (m *Body) GetName() string
- func (*Body) ProtoMessage()
- func (m *Body) Reset()
- func (m *Body) String() string
- func (m *Body) XXX_DiscardUnknown()
- func (m *Body) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Body) XXX_Merge(src proto.Message)
- func (m *Body) XXX_Size() int
- func (m *Body) XXX_Unmarshal(b []byte) error
- type CamelCaseServiceNameClient
- type CamelCaseServiceNameHandler
- type CamelCaseServiceNameServer
- type CamelCaseServiceNameService
- type EchoService
- type EchoServiceClient
- type EchoServiceHandler
- type EchoServiceServer
- type Embedded
- func (*Embedded) Descriptor() ([]byte, []int)
- func (m *Embedded) GetMark() isEmbedded_Mark
- func (m *Embedded) GetNote() string
- func (m *Embedded) GetProgress() int64
- func (*Embedded) ProtoMessage()
- func (m *Embedded) Reset()
- func (m *Embedded) String() string
- func (m *Embedded) XXX_DiscardUnknown()
- func (m *Embedded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Embedded) XXX_Merge(src proto.Message)
- func (*Embedded) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Embedded) XXX_Size() int
- func (m *Embedded) XXX_Unmarshal(b []byte) error
- type Embedded_Note
- type Embedded_Progress
- type EmptyProto
- func (*EmptyProto) Descriptor() ([]byte, []int)
- func (*EmptyProto) ProtoMessage()
- func (m *EmptyProto) Reset()
- func (m *EmptyProto) String() string
- func (m *EmptyProto) XXX_DiscardUnknown()
- func (m *EmptyProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *EmptyProto) XXX_Merge(src proto.Message)
- func (m *EmptyProto) XXX_Size() int
- func (m *EmptyProto) XXX_Unmarshal(b []byte) error
- type FlowCombinationClient
- type FlowCombinationHandler
- type FlowCombinationServer
- type FlowCombinationService
- type FlowCombination_RpcBodyStreamClient
- type FlowCombination_RpcBodyStreamServer
- type FlowCombination_RpcBodyStreamService
- type FlowCombination_RpcBodyStreamStream
- type FlowCombination_RpcEmptyStreamClient
- type FlowCombination_RpcEmptyStreamServer
- type FlowCombination_RpcEmptyStreamService
- type FlowCombination_RpcEmptyStreamStream
- type FlowCombination_RpcPathNestedStreamClient
- type FlowCombination_RpcPathNestedStreamServer
- type FlowCombination_RpcPathNestedStreamService
- type FlowCombination_RpcPathNestedStreamStream
- type FlowCombination_RpcPathSingleNestedStreamClient
- type FlowCombination_RpcPathSingleNestedStreamServer
- type FlowCombination_RpcPathSingleNestedStreamService
- type FlowCombination_RpcPathSingleNestedStreamStream
- type FlowCombination_StreamEmptyRpcClient
- type FlowCombination_StreamEmptyRpcServer
- type FlowCombination_StreamEmptyRpcService
- type FlowCombination_StreamEmptyRpcStream
- type FlowCombination_StreamEmptyStreamClient
- type FlowCombination_StreamEmptyStreamServer
- type FlowCombination_StreamEmptyStreamService
- type FlowCombination_StreamEmptyStreamStream
- type MessageWithBody
- func (*MessageWithBody) Descriptor() ([]byte, []int)
- func (m *MessageWithBody) GetData() *Body
- func (m *MessageWithBody) GetId() string
- func (*MessageWithBody) ProtoMessage()
- func (m *MessageWithBody) Reset()
- func (m *MessageWithBody) String() string
- func (m *MessageWithBody) XXX_DiscardUnknown()
- func (m *MessageWithBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MessageWithBody) XXX_Merge(src proto.Message)
- func (m *MessageWithBody) XXX_Size() int
- func (m *MessageWithBody) XXX_Unmarshal(b []byte) error
- type MimicObjectHidden
- func (*MimicObjectHidden) Descriptor() ([]byte, []int)
- func (m *MimicObjectHidden) GetHiddenEnum() MimicObjectHidden_HiddenEnum
- func (m *MimicObjectHidden) GetHiddenValueOne() string
- func (m *MimicObjectHidden) GetHiddenValueTwo() string
- func (m MimicObjectHidden) MarshalJSONPB(_ *jsonpb.Marshaler) ([]byte, error)
- func (*MimicObjectHidden) ProtoMessage()
- func (m *MimicObjectHidden) Reset()
- func (m *MimicObjectHidden) String() string
- func (m *MimicObjectHidden) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, d []byte) error
- func (m *MimicObjectHidden) XXX_DiscardUnknown()
- func (m *MimicObjectHidden) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MimicObjectHidden) XXX_Merge(src proto.Message)
- func (m *MimicObjectHidden) XXX_Size() int
- func (m *MimicObjectHidden) XXX_Unmarshal(b []byte) error
- type MimicObjectHidden_HiddenEnum
- type MimicObjectRequest
- func (*MimicObjectRequest) Descriptor() ([]byte, []int)
- func (m *MimicObjectRequest) GetRequestEnum() MimicObjectRequest_MimicRequestEnum
- func (m *MimicObjectRequest) GetRequestValueOne() string
- func (m *MimicObjectRequest) GetRequestValueTwo() string
- func (*MimicObjectRequest) ProtoMessage()
- func (m *MimicObjectRequest) Reset()
- func (m *MimicObjectRequest) String() string
- func (m *MimicObjectRequest) XXX_DiscardUnknown()
- func (m *MimicObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MimicObjectRequest) XXX_Merge(src proto.Message)
- func (m *MimicObjectRequest) XXX_Size() int
- func (m *MimicObjectRequest) XXX_Unmarshal(b []byte) error
- type MimicObjectRequest_MimicRequestEnum
- type MimicObjectResponse
- func (*MimicObjectResponse) Descriptor() ([]byte, []int)
- func (m *MimicObjectResponse) GetResponseEnum() MimicObjectResponse_MimicResponseEnum
- func (m *MimicObjectResponse) GetResponseValueOne() string
- func (m *MimicObjectResponse) GetResponseValueTwo() string
- func (*MimicObjectResponse) ProtoMessage()
- func (m *MimicObjectResponse) Reset()
- func (m *MimicObjectResponse) String() string
- func (m *MimicObjectResponse) XXX_DiscardUnknown()
- func (m *MimicObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MimicObjectResponse) XXX_Merge(src proto.Message)
- func (m *MimicObjectResponse) XXX_Size() int
- func (m *MimicObjectResponse) XXX_Unmarshal(b []byte) error
- type MimicObjectResponse_MimicResponseEnum
- type NestedProto
- func (*NestedProto) Descriptor() ([]byte, []int)
- func (m *NestedProto) GetA() *UnaryProto
- func (m *NestedProto) GetB() string
- func (m *NestedProto) GetC() string
- func (*NestedProto) ProtoMessage()
- func (m *NestedProto) Reset()
- func (m *NestedProto) String() string
- func (m *NestedProto) XXX_DiscardUnknown()
- func (m *NestedProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NestedProto) XXX_Merge(src proto.Message)
- func (m *NestedProto) XXX_Size() int
- func (m *NestedProto) XXX_Unmarshal(b []byte) error
- type NonEmptyProto
- func (*NonEmptyProto) Descriptor() ([]byte, []int)
- func (m *NonEmptyProto) GetA() string
- func (m *NonEmptyProto) GetB() string
- func (m *NonEmptyProto) GetC() string
- func (*NonEmptyProto) ProtoMessage()
- func (m *NonEmptyProto) Reset()
- func (m *NonEmptyProto) String() string
- func (m *NonEmptyProto) XXX_DiscardUnknown()
- func (m *NonEmptyProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NonEmptyProto) XXX_Merge(src proto.Message)
- func (m *NonEmptyProto) XXX_Size() int
- func (m *NonEmptyProto) XXX_Unmarshal(b []byte) error
- type NumericEnum
- type ResponseBodyIn
- func (*ResponseBodyIn) Descriptor() ([]byte, []int)
- func (m *ResponseBodyIn) GetData() string
- func (*ResponseBodyIn) ProtoMessage()
- func (m *ResponseBodyIn) Reset()
- func (m *ResponseBodyIn) String() string
- func (m *ResponseBodyIn) XXX_DiscardUnknown()
- func (m *ResponseBodyIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseBodyIn) XXX_Merge(src proto.Message)
- func (m *ResponseBodyIn) XXX_Size() int
- func (m *ResponseBodyIn) XXX_Unmarshal(b []byte) error
- type ResponseBodyOut
- func (*ResponseBodyOut) Descriptor() ([]byte, []int)
- func (m *ResponseBodyOut) GetResponse() *ResponseBodyOut_Response
- func (*ResponseBodyOut) ProtoMessage()
- func (m *ResponseBodyOut) Reset()
- func (m *ResponseBodyOut) String() string
- func (m *ResponseBodyOut) XXX_DiscardUnknown()
- func (m *ResponseBodyOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseBodyOut) XXX_Merge(src proto.Message)
- func (m *ResponseBodyOut) XXX_Size() int
- func (m *ResponseBodyOut) XXX_Unmarshal(b []byte) error
- type ResponseBodyOut_Response
- func (*ResponseBodyOut_Response) Descriptor() ([]byte, []int)
- func (m *ResponseBodyOut_Response) GetData() string
- func (*ResponseBodyOut_Response) ProtoMessage()
- func (m *ResponseBodyOut_Response) Reset()
- func (m *ResponseBodyOut_Response) String() string
- func (m *ResponseBodyOut_Response) XXX_DiscardUnknown()
- func (m *ResponseBodyOut_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseBodyOut_Response) XXX_Merge(src proto.Message)
- func (m *ResponseBodyOut_Response) XXX_Size() int
- func (m *ResponseBodyOut_Response) XXX_Unmarshal(b []byte) error
- type ResponseBodyService
- type ResponseBodyServiceClient
- type ResponseBodyServiceHandler
- type ResponseBodyServiceServer
- type SimpleMessage
- func (*SimpleMessage) Descriptor() ([]byte, []int)
- func (m *SimpleMessage) GetCode() isSimpleMessage_Code
- func (m *SimpleMessage) GetEn() int64
- func (m *SimpleMessage) GetExt() isSimpleMessage_Ext
- func (m *SimpleMessage) GetId() string
- func (m *SimpleMessage) GetLang() string
- func (m *SimpleMessage) GetLineNum() int64
- func (m *SimpleMessage) GetNo() *Embedded
- func (m *SimpleMessage) GetNum() int64
- func (m *SimpleMessage) GetStatus() *Embedded
- func (*SimpleMessage) ProtoMessage()
- func (m *SimpleMessage) Reset()
- func (m *SimpleMessage) String() string
- func (m *SimpleMessage) XXX_DiscardUnknown()
- func (m *SimpleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SimpleMessage) XXX_Merge(src proto.Message)
- func (*SimpleMessage) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *SimpleMessage) XXX_Size() int
- func (m *SimpleMessage) XXX_Unmarshal(b []byte) error
- type SimpleMessage_En
- type SimpleMessage_Lang
- type SimpleMessage_LineNum
- type SimpleMessage_No
- type SingleNestedProto
- func (*SingleNestedProto) Descriptor() ([]byte, []int)
- func (m *SingleNestedProto) GetA() *UnaryProto
- func (*SingleNestedProto) ProtoMessage()
- func (m *SingleNestedProto) Reset()
- func (m *SingleNestedProto) String() string
- func (m *SingleNestedProto) XXX_DiscardUnknown()
- func (m *SingleNestedProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SingleNestedProto) XXX_Merge(src proto.Message)
- func (m *SingleNestedProto) XXX_Size() int
- func (m *SingleNestedProto) XXX_Unmarshal(b []byte) error
- type StreamService
- type StreamServiceClient
- type StreamServiceHandler
- type StreamServiceServer
- type StreamService_BulkCreateClient
- type StreamService_BulkCreateServer
- type StreamService_BulkCreateService
- type StreamService_BulkCreateStream
- type StreamService_BulkEchoClient
- type StreamService_BulkEchoServer
- type StreamService_BulkEchoService
- type StreamService_BulkEchoStream
- type StreamService_ListClient
- type StreamService_ListServer
- type StreamService_ListService
- type StreamService_ListStream
- type UnannotatedEchoService
- type UnannotatedEchoServiceClient
- type UnannotatedEchoServiceHandler
- type UnannotatedEchoServiceServer
- type UnannotatedSimpleMessage
- func (*UnannotatedSimpleMessage) Descriptor() ([]byte, []int)
- func (m *UnannotatedSimpleMessage) GetDuration() *duration.Duration
- func (m *UnannotatedSimpleMessage) GetId() string
- func (m *UnannotatedSimpleMessage) GetNum() int64
- func (*UnannotatedSimpleMessage) ProtoMessage()
- func (m *UnannotatedSimpleMessage) Reset()
- func (m *UnannotatedSimpleMessage) String() string
- func (m *UnannotatedSimpleMessage) XXX_DiscardUnknown()
- func (m *UnannotatedSimpleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnannotatedSimpleMessage) XXX_Merge(src proto.Message)
- func (m *UnannotatedSimpleMessage) XXX_Size() int
- func (m *UnannotatedSimpleMessage) XXX_Unmarshal(b []byte) error
- type UnaryProto
- func (*UnaryProto) Descriptor() ([]byte, []int)
- func (m *UnaryProto) GetStr() string
- func (*UnaryProto) ProtoMessage()
- func (m *UnaryProto) Reset()
- func (m *UnaryProto) String() string
- func (m *UnaryProto) XXX_DiscardUnknown()
- func (m *UnaryProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnaryProto) XXX_Merge(src proto.Message)
- func (m *UnaryProto) XXX_Size() int
- func (m *UnaryProto) XXX_Unmarshal(b []byte) error
- type UpdateV2Request
- func (*UpdateV2Request) Descriptor() ([]byte, []int)
- func (m *UpdateV2Request) GetAbe() *ABitOfEverything
- func (m *UpdateV2Request) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateV2Request) ProtoMessage()
- func (m *UpdateV2Request) Reset()
- func (m *UpdateV2Request) String() string
- func (m *UpdateV2Request) XXX_DiscardUnknown()
- func (m *UpdateV2Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateV2Request) XXX_Merge(src proto.Message)
- func (m *UpdateV2Request) XXX_Size() int
- func (m *UpdateV2Request) XXX_Unmarshal(b []byte) error
- type Wrappers
- func (*Wrappers) Descriptor() ([]byte, []int)
- func (m *Wrappers) GetBoolValue() *wrappers.BoolValue
- func (m *Wrappers) GetBytesValue() *wrappers.BytesValue
- func (m *Wrappers) GetDoubleValue() *wrappers.DoubleValue
- func (m *Wrappers) GetFloatValue() *wrappers.FloatValue
- func (m *Wrappers) GetInt32Value() *wrappers.Int32Value
- func (m *Wrappers) GetInt64Value() *wrappers.Int64Value
- func (m *Wrappers) GetStringValue() *wrappers.StringValue
- func (m *Wrappers) GetUint32Value() *wrappers.UInt32Value
- func (m *Wrappers) GetUint64Value() *wrappers.UInt64Value
- func (*Wrappers) ProtoMessage()
- func (m *Wrappers) Reset()
- func (m *Wrappers) String() string
- func (m *Wrappers) XXX_DiscardUnknown()
- func (m *Wrappers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Wrappers) XXX_Merge(src proto.Message)
- func (m *Wrappers) XXX_Size() int
- func (m *Wrappers) XXX_Unmarshal(b []byte) error
- type WrappersService
- type WrappersServiceClient
- type WrappersServiceHandler
- type WrappersServiceServer
Constants ¶
This section is empty.
Variables ¶
var ABitOfEverything_Nested_DeepEnum_name = map[int32]string{
0: "FALSE",
1: "TRUE",
}
var ABitOfEverything_Nested_DeepEnum_value = map[string]int32{
"FALSE": 0,
"TRUE": 1,
}
var MimicObjectHidden_HiddenEnum_name = map[int32]string{
0: "VALUE_ONE",
1: "VALUE_TWO",
}
var MimicObjectHidden_HiddenEnum_value = map[string]int32{
"VALUE_ONE": 0,
"VALUE_TWO": 1,
}
var MimicObjectRequest_MimicRequestEnum_name = map[int32]string{
0: "VALUE_ONE",
1: "VALUE_TWO",
}
var MimicObjectRequest_MimicRequestEnum_value = map[string]int32{
"VALUE_ONE": 0,
"VALUE_TWO": 1,
}
var MimicObjectResponse_MimicResponseEnum_name = map[int32]string{
0: "VALUE_ONE",
1: "VALUE_TWO",
}
var MimicObjectResponse_MimicResponseEnum_value = map[string]int32{
"VALUE_ONE": 0,
"VALUE_TWO": 1,
}
var NumericEnum_name = map[int32]string{
0: "ZERO",
1: "ONE",
}
var NumericEnum_value = map[string]int32{
"ZERO": 0,
"ONE": 1,
}
Functions ¶
func RegisterABitOfEverythingServiceHandler ¶
func RegisterABitOfEverythingServiceHandler(s server.Server, hdlr ABitOfEverythingServiceHandler, opts ...server.HandlerOption) error
func RegisterABitOfEverythingServiceHandlerService ¶ added in v1.6.6
func RegisterABitOfEverythingServiceHandlerService(ctx context.Context, mux *runtime.ServeMux, client ABitOfEverythingService) error
RegisterABitOfEverythingServiceHandlerService registers the http handlers for service ABitOfEverythingService to "mux". The handlers forward requests to the micro service endpoint over the given implementation of "ABitOfEverythingService".
func RegisterABitOfEverythingServiceServer ¶
func RegisterABitOfEverythingServiceServer(s *grpc.Server, srv ABitOfEverythingServiceServer)
func RegisterAnotherServiceWithNoBindingsHandler ¶ added in v1.6.6
func RegisterAnotherServiceWithNoBindingsHandler(s server.Server, hdlr AnotherServiceWithNoBindingsHandler, opts ...server.HandlerOption) error
func RegisterAnotherServiceWithNoBindingsServer ¶
func RegisterAnotherServiceWithNoBindingsServer(s *grpc.Server, srv AnotherServiceWithNoBindingsServer)
func RegisterCamelCaseServiceNameHandler ¶
func RegisterCamelCaseServiceNameHandler(s server.Server, hdlr CamelCaseServiceNameHandler, opts ...server.HandlerOption) error
func RegisterCamelCaseServiceNameHandlerService ¶ added in v1.6.6
func RegisterCamelCaseServiceNameHandlerService(ctx context.Context, mux *runtime.ServeMux, client CamelCaseServiceNameService) error
RegisterCamelCaseServiceNameHandlerService registers the http handlers for service CamelCaseServiceName to "mux". The handlers forward requests to the micro service endpoint over the given implementation of "CamelCaseServiceNameService".
func RegisterCamelCaseServiceNameServer ¶
func RegisterCamelCaseServiceNameServer(s *grpc.Server, srv CamelCaseServiceNameServer)
func RegisterEchoServiceHandler ¶
func RegisterEchoServiceHandler(s server.Server, hdlr EchoServiceHandler, opts ...server.HandlerOption) error
func RegisterEchoServiceHandlerService ¶ added in v1.6.6
func RegisterEchoServiceHandlerService(ctx context.Context, mux *runtime.ServeMux, client EchoService) error
RegisterEchoServiceHandlerService registers the http handlers for service EchoService to "mux". The handlers forward requests to the micro service endpoint over the given implementation of "EchoService".
func RegisterEchoServiceServer ¶
func RegisterEchoServiceServer(s *grpc.Server, srv EchoServiceServer)
func RegisterFlowCombinationHandler ¶
func RegisterFlowCombinationHandler(s server.Server, hdlr FlowCombinationHandler, opts ...server.HandlerOption) error
func RegisterFlowCombinationHandlerService ¶ added in v1.6.6
func RegisterFlowCombinationHandlerService(ctx context.Context, mux *runtime.ServeMux, client FlowCombinationService) error
RegisterFlowCombinationHandlerService registers the http handlers for service FlowCombination to "mux". The handlers forward requests to the micro service endpoint over the given implementation of "FlowCombinationService".
func RegisterFlowCombinationServer ¶
func RegisterFlowCombinationServer(s *grpc.Server, srv FlowCombinationServer)
func RegisterResponseBodyServiceHandler ¶ added in v1.5.0
func RegisterResponseBodyServiceHandler(s server.Server, hdlr ResponseBodyServiceHandler, opts ...server.HandlerOption) error
func RegisterResponseBodyServiceHandlerService ¶ added in v1.6.6
func RegisterResponseBodyServiceHandlerService(ctx context.Context, mux *runtime.ServeMux, client ResponseBodyService) error
RegisterResponseBodyServiceHandlerService registers the http handlers for service ResponseBodyService to "mux". The handlers forward requests to the micro service endpoint over the given implementation of "ResponseBodyService".
func RegisterResponseBodyServiceServer ¶ added in v1.5.0
func RegisterResponseBodyServiceServer(s *grpc.Server, srv ResponseBodyServiceServer)
func RegisterStreamServiceHandler ¶
func RegisterStreamServiceHandler(s server.Server, hdlr StreamServiceHandler, opts ...server.HandlerOption) error
func RegisterStreamServiceHandlerService ¶ added in v1.6.6
func RegisterStreamServiceHandlerService(ctx context.Context, mux *runtime.ServeMux, client StreamService) error
RegisterStreamServiceHandlerService registers the http handlers for service StreamService to "mux". The handlers forward requests to the micro service endpoint over the given implementation of "StreamService".
func RegisterStreamServiceServer ¶
func RegisterStreamServiceServer(s *grpc.Server, srv StreamServiceServer)
func RegisterUnannotatedEchoServiceHandler ¶
func RegisterUnannotatedEchoServiceHandler(s server.Server, hdlr UnannotatedEchoServiceHandler, opts ...server.HandlerOption) error
func RegisterUnannotatedEchoServiceHandlerService ¶ added in v1.6.6
func RegisterUnannotatedEchoServiceHandlerService(ctx context.Context, mux *runtime.ServeMux, client UnannotatedEchoService) error
RegisterUnannotatedEchoServiceHandlerService registers the http handlers for service UnannotatedEchoService to "mux". The handlers forward requests to the micro service endpoint over the given implementation of "UnannotatedEchoService".
func RegisterUnannotatedEchoServiceServer ¶
func RegisterUnannotatedEchoServiceServer(s *grpc.Server, srv UnannotatedEchoServiceServer)
func RegisterWrappersServiceHandler ¶
func RegisterWrappersServiceHandler(s server.Server, hdlr WrappersServiceHandler, opts ...server.HandlerOption) error
func RegisterWrappersServiceHandlerService ¶ added in v1.6.6
func RegisterWrappersServiceHandlerService(ctx context.Context, mux *runtime.ServeMux, client WrappersService) error
RegisterWrappersServiceHandlerService registers the http handlers for service WrappersService to "mux". The handlers forward requests to the micro service endpoint over the given implementation of "WrappersService".
func RegisterWrappersServiceServer ¶
func RegisterWrappersServiceServer(s *grpc.Server, srv WrappersServiceServer)
Types ¶
type ABitOfEverything ¶
type ABitOfEverything struct { SingleNested *ABitOfEverything_Nested `protobuf:"bytes,25,opt,name=single_nested,json=singleNested,proto3" json:"single_nested,omitempty"` Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Nested []*ABitOfEverything_Nested `protobuf:"bytes,2,rep,name=nested,proto3" json:"nested,omitempty"` FloatValue float32 `protobuf:"fixed32,3,opt,name=float_value,json=floatValue,proto3" json:"float_value,omitempty"` DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"` Int64Value int64 `protobuf:"varint,5,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"` Uint64Value uint64 `protobuf:"varint,6,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"` Int32Value int32 `protobuf:"varint,7,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"` Fixed64Value uint64 `protobuf:"fixed64,8,opt,name=fixed64_value,json=fixed64Value,proto3" json:"fixed64_value,omitempty"` Fixed32Value uint32 `protobuf:"fixed32,9,opt,name=fixed32_value,json=fixed32Value,proto3" json:"fixed32_value,omitempty"` BoolValue bool `protobuf:"varint,10,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"` StringValue string `protobuf:"bytes,11,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"` BytesValue []byte `protobuf:"bytes,29,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"` Uint32Value uint32 `protobuf:"varint,13,opt,name=uint32_value,json=uint32Value,proto3" json:"uint32_value,omitempty"` EnumValue NumericEnum `` /* 139-byte string literal not displayed */ PathEnumValue pathenum.PathEnum `` /* 149-byte string literal not displayed */ NestedPathEnumValue pathenum.MessagePathEnum_NestedPathEnum `` /* 191-byte string literal not displayed */ Sfixed32Value int32 `protobuf:"fixed32,15,opt,name=sfixed32_value,json=sfixed32Value,proto3" json:"sfixed32_value,omitempty"` Sfixed64Value int64 `protobuf:"fixed64,16,opt,name=sfixed64_value,json=sfixed64Value,proto3" json:"sfixed64_value,omitempty"` Sint32Value int32 `protobuf:"zigzag32,17,opt,name=sint32_value,json=sint32Value,proto3" json:"sint32_value,omitempty"` Sint64Value int64 `protobuf:"zigzag64,18,opt,name=sint64_value,json=sint64Value,proto3" json:"sint64_value,omitempty"` RepeatedStringValue []string `protobuf:"bytes,19,rep,name=repeated_string_value,json=repeatedStringValue,proto3" json:"repeated_string_value,omitempty"` // Types that are valid to be assigned to OneofValue: // *ABitOfEverything_OneofEmpty // *ABitOfEverything_OneofString OneofValue isABitOfEverything_OneofValue `protobuf_oneof:"oneof_value"` MapValue map[string]NumericEnum `` /* 224-byte string literal not displayed */ MappedStringValue map[string]string `` /* 203-byte string literal not displayed */ MappedNestedValue map[string]*ABitOfEverything_Nested `` /* 203-byte string literal not displayed */ NonConventionalNameValue string `protobuf:"bytes,26,opt,name=nonConventionalNameValue,proto3" json:"nonConventionalNameValue,omitempty"` TimestampValue *timestamp.Timestamp `protobuf:"bytes,27,opt,name=timestamp_value,json=timestampValue,proto3" json:"timestamp_value,omitempty"` // repeated enum value. it is comma-separated in query RepeatedEnumValue []NumericEnum `` /* 172-byte string literal not displayed */ // This comment will not appear, MimicObject description will be used instead. MimicString *MimicObjectHidden `protobuf:"bytes,33,opt,name=mimic_string,json=mimicString,proto3" json:"mimic_string,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Intentionaly complicated message type to cover many features of Protobuf. NEXT ID: 30
func (*ABitOfEverything) Descriptor ¶
func (*ABitOfEverything) Descriptor() ([]byte, []int)
func (*ABitOfEverything) GetBoolValue ¶
func (m *ABitOfEverything) GetBoolValue() bool
func (*ABitOfEverything) GetBytesValue ¶
func (m *ABitOfEverything) GetBytesValue() []byte
func (*ABitOfEverything) GetDoubleValue ¶
func (m *ABitOfEverything) GetDoubleValue() float64
func (*ABitOfEverything) GetEnumValue ¶
func (m *ABitOfEverything) GetEnumValue() NumericEnum
func (*ABitOfEverything) GetFixed32Value ¶
func (m *ABitOfEverything) GetFixed32Value() uint32
func (*ABitOfEverything) GetFixed64Value ¶
func (m *ABitOfEverything) GetFixed64Value() uint64
func (*ABitOfEverything) GetFloatValue ¶
func (m *ABitOfEverything) GetFloatValue() float32
func (*ABitOfEverything) GetInt32Value ¶
func (m *ABitOfEverything) GetInt32Value() int32
func (*ABitOfEverything) GetInt64Value ¶
func (m *ABitOfEverything) GetInt64Value() int64
func (*ABitOfEverything) GetMapValue ¶
func (m *ABitOfEverything) GetMapValue() map[string]NumericEnum
func (*ABitOfEverything) GetMappedNestedValue ¶
func (m *ABitOfEverything) GetMappedNestedValue() map[string]*ABitOfEverything_Nested
func (*ABitOfEverything) GetMappedStringValue ¶
func (m *ABitOfEverything) GetMappedStringValue() map[string]string
func (*ABitOfEverything) GetMimicString ¶ added in v1.6.6
func (m *ABitOfEverything) GetMimicString() *MimicObjectHidden
func (*ABitOfEverything) GetNested ¶
func (m *ABitOfEverything) GetNested() []*ABitOfEverything_Nested
func (*ABitOfEverything) GetNestedPathEnumValue ¶ added in v1.5.0
func (m *ABitOfEverything) GetNestedPathEnumValue() pathenum.MessagePathEnum_NestedPathEnum
func (*ABitOfEverything) GetNonConventionalNameValue ¶
func (m *ABitOfEverything) GetNonConventionalNameValue() string
func (*ABitOfEverything) GetOneofEmpty ¶
func (m *ABitOfEverything) GetOneofEmpty() *empty.Empty
func (*ABitOfEverything) GetOneofString ¶
func (m *ABitOfEverything) GetOneofString() string
func (*ABitOfEverything) GetOneofValue ¶
func (m *ABitOfEverything) GetOneofValue() isABitOfEverything_OneofValue
func (*ABitOfEverything) GetPathEnumValue ¶ added in v1.5.0
func (m *ABitOfEverything) GetPathEnumValue() pathenum.PathEnum
func (*ABitOfEverything) GetRepeatedEnumValue ¶
func (m *ABitOfEverything) GetRepeatedEnumValue() []NumericEnum
func (*ABitOfEverything) GetRepeatedStringValue ¶
func (m *ABitOfEverything) GetRepeatedStringValue() []string
func (*ABitOfEverything) GetSfixed32Value ¶
func (m *ABitOfEverything) GetSfixed32Value() int32
func (*ABitOfEverything) GetSfixed64Value ¶
func (m *ABitOfEverything) GetSfixed64Value() int64
func (*ABitOfEverything) GetSingleNested ¶
func (m *ABitOfEverything) GetSingleNested() *ABitOfEverything_Nested
func (*ABitOfEverything) GetSint32Value ¶
func (m *ABitOfEverything) GetSint32Value() int32
func (*ABitOfEverything) GetSint64Value ¶
func (m *ABitOfEverything) GetSint64Value() int64
func (*ABitOfEverything) GetStringValue ¶
func (m *ABitOfEverything) GetStringValue() string
func (*ABitOfEverything) GetTimestampValue ¶
func (m *ABitOfEverything) GetTimestampValue() *timestamp.Timestamp
func (*ABitOfEverything) GetUint32Value ¶
func (m *ABitOfEverything) GetUint32Value() uint32
func (*ABitOfEverything) GetUint64Value ¶
func (m *ABitOfEverything) GetUint64Value() uint64
func (*ABitOfEverything) GetUuid ¶
func (m *ABitOfEverything) GetUuid() string
func (*ABitOfEverything) ProtoMessage ¶
func (*ABitOfEverything) ProtoMessage()
func (*ABitOfEverything) Reset ¶
func (m *ABitOfEverything) Reset()
func (*ABitOfEverything) String ¶
func (m *ABitOfEverything) String() string
func (*ABitOfEverything) XXX_DiscardUnknown ¶
func (m *ABitOfEverything) XXX_DiscardUnknown()
func (*ABitOfEverything) XXX_Marshal ¶
func (m *ABitOfEverything) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ABitOfEverything) XXX_Merge ¶
func (dst *ABitOfEverything) XXX_Merge(src proto.Message)
func (*ABitOfEverything) XXX_OneofFuncs ¶
func (*ABitOfEverything) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*ABitOfEverything) XXX_Size ¶
func (m *ABitOfEverything) XXX_Size() int
func (*ABitOfEverything) XXX_Unmarshal ¶
func (m *ABitOfEverything) XXX_Unmarshal(b []byte) error
type ABitOfEverythingRepeated ¶ added in v1.5.0
type ABitOfEverythingRepeated struct { // repeated values. they are comma-separated in path PathRepeatedFloatValue []float32 `` /* 140-byte string literal not displayed */ PathRepeatedDoubleValue []float64 `` /* 143-byte string literal not displayed */ PathRepeatedInt64Value []int64 `` /* 139-byte string literal not displayed */ PathRepeatedUint64Value []uint64 `` /* 142-byte string literal not displayed */ PathRepeatedInt32Value []int32 `` /* 139-byte string literal not displayed */ PathRepeatedFixed64Value []uint64 `` /* 146-byte string literal not displayed */ PathRepeatedFixed32Value []uint32 `` /* 146-byte string literal not displayed */ PathRepeatedBoolValue []bool `` /* 136-byte string literal not displayed */ PathRepeatedStringValue []string `` /* 134-byte string literal not displayed */ PathRepeatedBytesValue [][]byte `` /* 132-byte string literal not displayed */ PathRepeatedUint32Value []uint32 `` /* 143-byte string literal not displayed */ PathRepeatedEnumValue []NumericEnum `` /* 186-byte string literal not displayed */ PathRepeatedSfixed32Value []int32 `` /* 150-byte string literal not displayed */ PathRepeatedSfixed64Value []int64 `` /* 150-byte string literal not displayed */ PathRepeatedSint32Value []int32 `` /* 145-byte string literal not displayed */ PathRepeatedSint64Value []int64 `` /* 145-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ABitOfEverythingRepeated is used to validate repeated path parameter functionality
func (*ABitOfEverythingRepeated) Descriptor ¶ added in v1.5.0
func (*ABitOfEverythingRepeated) Descriptor() ([]byte, []int)
func (*ABitOfEverythingRepeated) GetPathRepeatedBoolValue ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) GetPathRepeatedBoolValue() []bool
func (*ABitOfEverythingRepeated) GetPathRepeatedBytesValue ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) GetPathRepeatedBytesValue() [][]byte
func (*ABitOfEverythingRepeated) GetPathRepeatedDoubleValue ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) GetPathRepeatedDoubleValue() []float64
func (*ABitOfEverythingRepeated) GetPathRepeatedEnumValue ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) GetPathRepeatedEnumValue() []NumericEnum
func (*ABitOfEverythingRepeated) GetPathRepeatedFixed32Value ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) GetPathRepeatedFixed32Value() []uint32
func (*ABitOfEverythingRepeated) GetPathRepeatedFixed64Value ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) GetPathRepeatedFixed64Value() []uint64
func (*ABitOfEverythingRepeated) GetPathRepeatedFloatValue ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) GetPathRepeatedFloatValue() []float32
func (*ABitOfEverythingRepeated) GetPathRepeatedInt32Value ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) GetPathRepeatedInt32Value() []int32
func (*ABitOfEverythingRepeated) GetPathRepeatedInt64Value ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) GetPathRepeatedInt64Value() []int64
func (*ABitOfEverythingRepeated) GetPathRepeatedSfixed32Value ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) GetPathRepeatedSfixed32Value() []int32
func (*ABitOfEverythingRepeated) GetPathRepeatedSfixed64Value ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) GetPathRepeatedSfixed64Value() []int64
func (*ABitOfEverythingRepeated) GetPathRepeatedSint32Value ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) GetPathRepeatedSint32Value() []int32
func (*ABitOfEverythingRepeated) GetPathRepeatedSint64Value ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) GetPathRepeatedSint64Value() []int64
func (*ABitOfEverythingRepeated) GetPathRepeatedStringValue ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) GetPathRepeatedStringValue() []string
func (*ABitOfEverythingRepeated) GetPathRepeatedUint32Value ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) GetPathRepeatedUint32Value() []uint32
func (*ABitOfEverythingRepeated) GetPathRepeatedUint64Value ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) GetPathRepeatedUint64Value() []uint64
func (*ABitOfEverythingRepeated) ProtoMessage ¶ added in v1.5.0
func (*ABitOfEverythingRepeated) ProtoMessage()
func (*ABitOfEverythingRepeated) Reset ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) Reset()
func (*ABitOfEverythingRepeated) String ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) String() string
func (*ABitOfEverythingRepeated) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) XXX_DiscardUnknown()
func (*ABitOfEverythingRepeated) XXX_Marshal ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ABitOfEverythingRepeated) XXX_Merge ¶ added in v1.5.0
func (dst *ABitOfEverythingRepeated) XXX_Merge(src proto.Message)
func (*ABitOfEverythingRepeated) XXX_Size ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) XXX_Size() int
func (*ABitOfEverythingRepeated) XXX_Unmarshal ¶ added in v1.5.0
func (m *ABitOfEverythingRepeated) XXX_Unmarshal(b []byte) error
type ABitOfEverythingService ¶ added in v1.6.6
type ABitOfEverythingService interface { // Create a new ABitOfEverything // // This API creates a new ABitOfEverything Create(ctx context.Context, in *ABitOfEverything, opts ...client.CallOption) (*ABitOfEverything, error) CreateBody(ctx context.Context, in *ABitOfEverything, opts ...client.CallOption) (*ABitOfEverything, error) Lookup(ctx context.Context, in *sub2.IdMessage, opts ...client.CallOption) (*ABitOfEverything, error) Update(ctx context.Context, in *ABitOfEverything, opts ...client.CallOption) (*google_protobuf2.Empty, error) UpdateV2(ctx context.Context, in *UpdateV2Request, opts ...client.CallOption) (*google_protobuf2.Empty, error) PatchWithFieldMaskInBody(ctx context.Context, in *UpdateV2Request, opts ...client.CallOption) (*google_protobuf2.Empty, error) Delete(ctx context.Context, in *sub2.IdMessage, opts ...client.CallOption) (*google_protobuf2.Empty, error) GetQuery(ctx context.Context, in *ABitOfEverything, opts ...client.CallOption) (*google_protobuf2.Empty, error) GetRepeatedQuery(ctx context.Context, in *ABitOfEverythingRepeated, opts ...client.CallOption) (*ABitOfEverythingRepeated, error) // Echo allows posting a StringMessage value. // // It also exposes multiple bindings. // // This makes it useful when validating that the OpenAPI v2 API // description exposes documentation correctly on all paths // defined as additional_bindings in the proto. Echo(ctx context.Context, in *grpc_gateway_examples_sub.StringMessage, opts ...client.CallOption) (*grpc_gateway_examples_sub.StringMessage, error) DeepPathEcho(ctx context.Context, in *ABitOfEverything, opts ...client.CallOption) (*ABitOfEverything, error) NoBindings(ctx context.Context, in *google_protobuf3.Duration, opts ...client.CallOption) (*google_protobuf2.Empty, error) Timeout(ctx context.Context, in *google_protobuf2.Empty, opts ...client.CallOption) (*google_protobuf2.Empty, error) ErrorWithDetails(ctx context.Context, in *google_protobuf2.Empty, opts ...client.CallOption) (*google_protobuf2.Empty, error) GetMessageWithBody(ctx context.Context, in *MessageWithBody, opts ...client.CallOption) (*google_protobuf2.Empty, error) PostWithEmptyBody(ctx context.Context, in *Body, opts ...client.CallOption) (*google_protobuf2.Empty, error) GetWithMimicObjectResponse(ctx context.Context, in *google_protobuf2.Empty, opts ...client.CallOption) (*MimicObjectResponse, error) PostWithMimicObjectRequest(ctx context.Context, in *MimicObjectRequest, opts ...client.CallOption) (*google_protobuf2.Empty, error) }
func NewABitOfEverythingService ¶ added in v1.6.6
func NewABitOfEverythingService(name string, c client.Client) ABitOfEverythingService
type ABitOfEverythingServiceClient ¶
type ABitOfEverythingServiceClient interface { // Create a new ABitOfEverything // // This API creates a new ABitOfEverything Create(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*ABitOfEverything, error) CreateBody(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*ABitOfEverything, error) Lookup(ctx context.Context, in *sub2.IdMessage, opts ...grpc.CallOption) (*ABitOfEverything, error) Update(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*empty.Empty, error) UpdateV2(ctx context.Context, in *UpdateV2Request, opts ...grpc.CallOption) (*empty.Empty, error) PatchWithFieldMaskInBody(ctx context.Context, in *UpdateV2Request, opts ...grpc.CallOption) (*empty.Empty, error) Delete(ctx context.Context, in *sub2.IdMessage, opts ...grpc.CallOption) (*empty.Empty, error) GetQuery(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*empty.Empty, error) GetRepeatedQuery(ctx context.Context, in *ABitOfEverythingRepeated, opts ...grpc.CallOption) (*ABitOfEverythingRepeated, error) // Echo allows posting a StringMessage value. // // It also exposes multiple bindings. // // This makes it useful when validating that the OpenAPI v2 API // description exposes documentation correctly on all paths // defined as additional_bindings in the proto. Echo(ctx context.Context, in *sub.StringMessage, opts ...grpc.CallOption) (*sub.StringMessage, error) DeepPathEcho(ctx context.Context, in *ABitOfEverything, opts ...grpc.CallOption) (*ABitOfEverything, error) NoBindings(ctx context.Context, in *duration.Duration, opts ...grpc.CallOption) (*empty.Empty, error) Timeout(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) ErrorWithDetails(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) GetMessageWithBody(ctx context.Context, in *MessageWithBody, opts ...grpc.CallOption) (*empty.Empty, error) PostWithEmptyBody(ctx context.Context, in *Body, opts ...grpc.CallOption) (*empty.Empty, error) GetWithMimicObjectResponse(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MimicObjectResponse, error) PostWithMimicObjectRequest(ctx context.Context, in *MimicObjectRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
ABitOfEverythingServiceClient is the client API for ABitOfEverythingService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewABitOfEverythingServiceClient ¶
func NewABitOfEverythingServiceClient(cc *grpc.ClientConn) ABitOfEverythingServiceClient
type ABitOfEverythingServiceHandler ¶ added in v1.6.6
type ABitOfEverythingServiceHandler interface { // Create a new ABitOfEverything // // This API creates a new ABitOfEverything Create(context.Context, *ABitOfEverything, *ABitOfEverything) error CreateBody(context.Context, *ABitOfEverything, *ABitOfEverything) error Lookup(context.Context, *sub2.IdMessage, *ABitOfEverything) error Update(context.Context, *ABitOfEverything, *google_protobuf2.Empty) error UpdateV2(context.Context, *UpdateV2Request, *google_protobuf2.Empty) error PatchWithFieldMaskInBody(context.Context, *UpdateV2Request, *google_protobuf2.Empty) error Delete(context.Context, *sub2.IdMessage, *google_protobuf2.Empty) error GetQuery(context.Context, *ABitOfEverything, *google_protobuf2.Empty) error GetRepeatedQuery(context.Context, *ABitOfEverythingRepeated, *ABitOfEverythingRepeated) error // Echo allows posting a StringMessage value. // // It also exposes multiple bindings. // // This makes it useful when validating that the OpenAPI v2 API // description exposes documentation correctly on all paths // defined as additional_bindings in the proto. Echo(context.Context, *grpc_gateway_examples_sub.StringMessage, *grpc_gateway_examples_sub.StringMessage) error DeepPathEcho(context.Context, *ABitOfEverything, *ABitOfEverything) error NoBindings(context.Context, *google_protobuf3.Duration, *google_protobuf2.Empty) error Timeout(context.Context, *google_protobuf2.Empty, *google_protobuf2.Empty) error ErrorWithDetails(context.Context, *google_protobuf2.Empty, *google_protobuf2.Empty) error GetMessageWithBody(context.Context, *MessageWithBody, *google_protobuf2.Empty) error PostWithEmptyBody(context.Context, *Body, *google_protobuf2.Empty) error GetWithMimicObjectResponse(context.Context, *google_protobuf2.Empty, *MimicObjectResponse) error PostWithMimicObjectRequest(context.Context, *MimicObjectRequest, *google_protobuf2.Empty) error }
type ABitOfEverythingServiceServer ¶
type ABitOfEverythingServiceServer interface { // Create a new ABitOfEverything // // This API creates a new ABitOfEverything Create(context.Context, *ABitOfEverything) (*ABitOfEverything, error) CreateBody(context.Context, *ABitOfEverything) (*ABitOfEverything, error) Lookup(context.Context, *sub2.IdMessage) (*ABitOfEverything, error) Update(context.Context, *ABitOfEverything) (*empty.Empty, error) UpdateV2(context.Context, *UpdateV2Request) (*empty.Empty, error) PatchWithFieldMaskInBody(context.Context, *UpdateV2Request) (*empty.Empty, error) Delete(context.Context, *sub2.IdMessage) (*empty.Empty, error) GetQuery(context.Context, *ABitOfEverything) (*empty.Empty, error) GetRepeatedQuery(context.Context, *ABitOfEverythingRepeated) (*ABitOfEverythingRepeated, error) // Echo allows posting a StringMessage value. // // It also exposes multiple bindings. // // This makes it useful when validating that the OpenAPI v2 API // description exposes documentation correctly on all paths // defined as additional_bindings in the proto. Echo(context.Context, *sub.StringMessage) (*sub.StringMessage, error) DeepPathEcho(context.Context, *ABitOfEverything) (*ABitOfEverything, error) NoBindings(context.Context, *duration.Duration) (*empty.Empty, error) Timeout(context.Context, *empty.Empty) (*empty.Empty, error) ErrorWithDetails(context.Context, *empty.Empty) (*empty.Empty, error) GetMessageWithBody(context.Context, *MessageWithBody) (*empty.Empty, error) PostWithEmptyBody(context.Context, *Body) (*empty.Empty, error) GetWithMimicObjectResponse(context.Context, *empty.Empty) (*MimicObjectResponse, error) PostWithMimicObjectRequest(context.Context, *MimicObjectRequest) (*empty.Empty, error) }
ABitOfEverythingServiceServer is the server API for ABitOfEverythingService service.
type ABitOfEverything_Nested ¶
type ABitOfEverything_Nested struct { // name is nested field. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Amount uint32 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` Ok ABitOfEverything_Nested_DeepEnum `` /* 128-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Nested is nested type.
func (*ABitOfEverything_Nested) Descriptor ¶
func (*ABitOfEverything_Nested) Descriptor() ([]byte, []int)
func (*ABitOfEverything_Nested) GetAmount ¶
func (m *ABitOfEverything_Nested) GetAmount() uint32
func (*ABitOfEverything_Nested) GetName ¶
func (m *ABitOfEverything_Nested) GetName() string
func (*ABitOfEverything_Nested) GetOk ¶
func (m *ABitOfEverything_Nested) GetOk() ABitOfEverything_Nested_DeepEnum
func (*ABitOfEverything_Nested) ProtoMessage ¶
func (*ABitOfEverything_Nested) ProtoMessage()
func (*ABitOfEverything_Nested) Reset ¶
func (m *ABitOfEverything_Nested) Reset()
func (*ABitOfEverything_Nested) String ¶
func (m *ABitOfEverything_Nested) String() string
func (*ABitOfEverything_Nested) XXX_DiscardUnknown ¶
func (m *ABitOfEverything_Nested) XXX_DiscardUnknown()
func (*ABitOfEverything_Nested) XXX_Marshal ¶
func (m *ABitOfEverything_Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ABitOfEverything_Nested) XXX_Merge ¶
func (dst *ABitOfEverything_Nested) XXX_Merge(src proto.Message)
func (*ABitOfEverything_Nested) XXX_Size ¶
func (m *ABitOfEverything_Nested) XXX_Size() int
func (*ABitOfEverything_Nested) XXX_Unmarshal ¶
func (m *ABitOfEverything_Nested) XXX_Unmarshal(b []byte) error
type ABitOfEverything_Nested_DeepEnum ¶
type ABitOfEverything_Nested_DeepEnum int32
DeepEnum is one or zero.
const ( // FALSE is false. ABitOfEverything_Nested_FALSE ABitOfEverything_Nested_DeepEnum = 0 // TRUE is true. ABitOfEverything_Nested_TRUE ABitOfEverything_Nested_DeepEnum = 1 )
func (ABitOfEverything_Nested_DeepEnum) EnumDescriptor ¶
func (ABitOfEverything_Nested_DeepEnum) EnumDescriptor() ([]byte, []int)
func (ABitOfEverything_Nested_DeepEnum) String ¶
func (x ABitOfEverything_Nested_DeepEnum) String() string
type ABitOfEverything_OneofString ¶
type ABitOfEverything_OneofString struct {
OneofString string `protobuf:"bytes,21,opt,name=oneof_string,json=oneofString,proto3,oneof"`
}
type AnotherServiceWithNoBindingsClient ¶
type AnotherServiceWithNoBindingsClient interface {
NoBindings(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
}
AnotherServiceWithNoBindingsClient is the client API for AnotherServiceWithNoBindings service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAnotherServiceWithNoBindingsClient ¶
func NewAnotherServiceWithNoBindingsClient(cc *grpc.ClientConn) AnotherServiceWithNoBindingsClient
type AnotherServiceWithNoBindingsHandler ¶ added in v1.6.6
type AnotherServiceWithNoBindingsHandler interface {
NoBindings(context.Context, *google_protobuf2.Empty, *google_protobuf2.Empty) error
}
type AnotherServiceWithNoBindingsServer ¶
type AnotherServiceWithNoBindingsServer interface {
NoBindings(context.Context, *empty.Empty) (*empty.Empty, error)
}
AnotherServiceWithNoBindingsServer is the server API for AnotherServiceWithNoBindings service.
type AnotherServiceWithNoBindingsService ¶ added in v1.6.6
type AnotherServiceWithNoBindingsService interface {
NoBindings(ctx context.Context, in *google_protobuf2.Empty, opts ...client.CallOption) (*google_protobuf2.Empty, error)
}
func NewAnotherServiceWithNoBindingsService ¶ added in v1.6.6
func NewAnotherServiceWithNoBindingsService(name string, c client.Client) AnotherServiceWithNoBindingsService
type Body ¶
type Body struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Body) Descriptor ¶
func (*Body) ProtoMessage ¶
func (*Body) ProtoMessage()
func (*Body) XXX_DiscardUnknown ¶
func (m *Body) XXX_DiscardUnknown()
func (*Body) XXX_Unmarshal ¶
type CamelCaseServiceNameClient ¶
type CamelCaseServiceNameClient interface {
Empty(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
}
CamelCaseServiceNameClient is the client API for CamelCaseServiceName service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCamelCaseServiceNameClient ¶
func NewCamelCaseServiceNameClient(cc *grpc.ClientConn) CamelCaseServiceNameClient
type CamelCaseServiceNameHandler ¶ added in v1.6.6
type CamelCaseServiceNameHandler interface {
Empty(context.Context, *google_protobuf2.Empty, *google_protobuf2.Empty) error
}
type CamelCaseServiceNameServer ¶
type CamelCaseServiceNameServer interface {
Empty(context.Context, *empty.Empty) (*empty.Empty, error)
}
CamelCaseServiceNameServer is the server API for CamelCaseServiceName service.
type CamelCaseServiceNameService ¶ added in v1.6.6
type CamelCaseServiceNameService interface {
Empty(ctx context.Context, in *google_protobuf2.Empty, opts ...client.CallOption) (*google_protobuf2.Empty, error)
}
func NewCamelCaseServiceNameService ¶ added in v1.6.6
func NewCamelCaseServiceNameService(name string, c client.Client) CamelCaseServiceNameService
type EchoService ¶ added in v1.6.6
type EchoService interface { // Echo method receives a simple message and returns it. // // The message posted as the id parameter will also be // returned. Echo(ctx context.Context, in *SimpleMessage, opts ...client.CallOption) (*SimpleMessage, error) // EchoBody method receives a simple message and returns it. EchoBody(ctx context.Context, in *SimpleMessage, opts ...client.CallOption) (*SimpleMessage, error) // EchoDelete method receives a simple message and returns it. EchoDelete(ctx context.Context, in *SimpleMessage, opts ...client.CallOption) (*SimpleMessage, error) }
func NewEchoService ¶ added in v1.6.6
func NewEchoService(name string, c client.Client) EchoService
type EchoServiceClient ¶
type EchoServiceClient interface { // Echo method receives a simple message and returns it. // // The message posted as the id parameter will also be // returned. Echo(ctx context.Context, in *SimpleMessage, opts ...grpc.CallOption) (*SimpleMessage, error) // EchoBody method receives a simple message and returns it. EchoBody(ctx context.Context, in *SimpleMessage, opts ...grpc.CallOption) (*SimpleMessage, error) // EchoDelete method receives a simple message and returns it. EchoDelete(ctx context.Context, in *SimpleMessage, opts ...grpc.CallOption) (*SimpleMessage, error) }
EchoServiceClient is the client API for EchoService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEchoServiceClient ¶
func NewEchoServiceClient(cc *grpc.ClientConn) EchoServiceClient
type EchoServiceHandler ¶ added in v1.6.6
type EchoServiceHandler interface { // Echo method receives a simple message and returns it. // // The message posted as the id parameter will also be // returned. Echo(context.Context, *SimpleMessage, *SimpleMessage) error // EchoBody method receives a simple message and returns it. EchoBody(context.Context, *SimpleMessage, *SimpleMessage) error // EchoDelete method receives a simple message and returns it. EchoDelete(context.Context, *SimpleMessage, *SimpleMessage) error }
type EchoServiceServer ¶
type EchoServiceServer interface { // Echo method receives a simple message and returns it. // // The message posted as the id parameter will also be // returned. Echo(context.Context, *SimpleMessage) (*SimpleMessage, error) // EchoBody method receives a simple message and returns it. EchoBody(context.Context, *SimpleMessage) (*SimpleMessage, error) // EchoDelete method receives a simple message and returns it. EchoDelete(context.Context, *SimpleMessage) (*SimpleMessage, error) }
EchoServiceServer is the server API for EchoService service.
type Embedded ¶
type Embedded struct { // Types that are valid to be assigned to Mark: // *Embedded_Progress // *Embedded_Note Mark isEmbedded_Mark `protobuf_oneof:"mark"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Embedded represents a message embedded in SimpleMessage.
func (*Embedded) Descriptor ¶
func (*Embedded) GetProgress ¶
func (*Embedded) ProtoMessage ¶
func (*Embedded) ProtoMessage()
func (*Embedded) XXX_DiscardUnknown ¶
func (m *Embedded) XXX_DiscardUnknown()
func (*Embedded) XXX_Marshal ¶
func (*Embedded) XXX_OneofFuncs ¶
func (*Embedded) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Embedded) XXX_Unmarshal ¶
type Embedded_Note ¶
type Embedded_Note struct {
Note string `protobuf:"bytes,2,opt,name=note,proto3,oneof"`
}
type Embedded_Progress ¶
type Embedded_Progress struct {
Progress int64 `protobuf:"varint,1,opt,name=progress,proto3,oneof"`
}
type EmptyProto ¶
type EmptyProto struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EmptyProto) Descriptor ¶
func (*EmptyProto) Descriptor() ([]byte, []int)
func (*EmptyProto) ProtoMessage ¶
func (*EmptyProto) ProtoMessage()
func (*EmptyProto) Reset ¶
func (m *EmptyProto) Reset()
func (*EmptyProto) String ¶
func (m *EmptyProto) String() string
func (*EmptyProto) XXX_DiscardUnknown ¶
func (m *EmptyProto) XXX_DiscardUnknown()
func (*EmptyProto) XXX_Marshal ¶
func (m *EmptyProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmptyProto) XXX_Merge ¶
func (dst *EmptyProto) XXX_Merge(src proto.Message)
func (*EmptyProto) XXX_Size ¶
func (m *EmptyProto) XXX_Size() int
func (*EmptyProto) XXX_Unmarshal ¶
func (m *EmptyProto) XXX_Unmarshal(b []byte) error
type FlowCombinationClient ¶
type FlowCombinationClient interface { RpcEmptyRpc(ctx context.Context, in *EmptyProto, opts ...grpc.CallOption) (*EmptyProto, error) RpcEmptyStream(ctx context.Context, in *EmptyProto, opts ...grpc.CallOption) (FlowCombination_RpcEmptyStreamClient, error) StreamEmptyRpc(ctx context.Context, opts ...grpc.CallOption) (FlowCombination_StreamEmptyRpcClient, error) StreamEmptyStream(ctx context.Context, opts ...grpc.CallOption) (FlowCombination_StreamEmptyStreamClient, error) RpcBodyRpc(ctx context.Context, in *NonEmptyProto, opts ...grpc.CallOption) (*EmptyProto, error) RpcPathSingleNestedRpc(ctx context.Context, in *SingleNestedProto, opts ...grpc.CallOption) (*EmptyProto, error) RpcPathNestedRpc(ctx context.Context, in *NestedProto, opts ...grpc.CallOption) (*EmptyProto, error) RpcBodyStream(ctx context.Context, in *NonEmptyProto, opts ...grpc.CallOption) (FlowCombination_RpcBodyStreamClient, error) RpcPathSingleNestedStream(ctx context.Context, in *SingleNestedProto, opts ...grpc.CallOption) (FlowCombination_RpcPathSingleNestedStreamClient, error) RpcPathNestedStream(ctx context.Context, in *NestedProto, opts ...grpc.CallOption) (FlowCombination_RpcPathNestedStreamClient, error) }
FlowCombinationClient is the client API for FlowCombination service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFlowCombinationClient ¶
func NewFlowCombinationClient(cc *grpc.ClientConn) FlowCombinationClient
type FlowCombinationHandler ¶ added in v1.6.6
type FlowCombinationHandler interface { RpcEmptyRpc(context.Context, *EmptyProto, *EmptyProto) error RpcEmptyStream(context.Context, *EmptyProto, FlowCombination_RpcEmptyStreamStream) error StreamEmptyRpc(context.Context, FlowCombination_StreamEmptyRpcStream) error StreamEmptyStream(context.Context, FlowCombination_StreamEmptyStreamStream) error RpcBodyRpc(context.Context, *NonEmptyProto, *EmptyProto) error RpcPathSingleNestedRpc(context.Context, *SingleNestedProto, *EmptyProto) error RpcPathNestedRpc(context.Context, *NestedProto, *EmptyProto) error RpcBodyStream(context.Context, *NonEmptyProto, FlowCombination_RpcBodyStreamStream) error RpcPathSingleNestedStream(context.Context, *SingleNestedProto, FlowCombination_RpcPathSingleNestedStreamStream) error RpcPathNestedStream(context.Context, *NestedProto, FlowCombination_RpcPathNestedStreamStream) error }
type FlowCombinationServer ¶
type FlowCombinationServer interface { RpcEmptyRpc(context.Context, *EmptyProto) (*EmptyProto, error) RpcEmptyStream(*EmptyProto, FlowCombination_RpcEmptyStreamServer) error StreamEmptyRpc(FlowCombination_StreamEmptyRpcServer) error StreamEmptyStream(FlowCombination_StreamEmptyStreamServer) error RpcBodyRpc(context.Context, *NonEmptyProto) (*EmptyProto, error) RpcPathSingleNestedRpc(context.Context, *SingleNestedProto) (*EmptyProto, error) RpcPathNestedRpc(context.Context, *NestedProto) (*EmptyProto, error) RpcBodyStream(*NonEmptyProto, FlowCombination_RpcBodyStreamServer) error RpcPathSingleNestedStream(*SingleNestedProto, FlowCombination_RpcPathSingleNestedStreamServer) error RpcPathNestedStream(*NestedProto, FlowCombination_RpcPathNestedStreamServer) error }
FlowCombinationServer is the server API for FlowCombination service.
type FlowCombinationService ¶ added in v1.6.6
type FlowCombinationService interface { RpcEmptyRpc(ctx context.Context, in *EmptyProto, opts ...client.CallOption) (*EmptyProto, error) RpcEmptyStream(ctx context.Context, in *EmptyProto, opts ...client.CallOption) (FlowCombination_RpcEmptyStreamService, error) StreamEmptyRpc(ctx context.Context, opts ...client.CallOption) (FlowCombination_StreamEmptyRpcService, error) StreamEmptyStream(ctx context.Context, opts ...client.CallOption) (FlowCombination_StreamEmptyStreamService, error) RpcBodyRpc(ctx context.Context, in *NonEmptyProto, opts ...client.CallOption) (*EmptyProto, error) RpcPathSingleNestedRpc(ctx context.Context, in *SingleNestedProto, opts ...client.CallOption) (*EmptyProto, error) RpcPathNestedRpc(ctx context.Context, in *NestedProto, opts ...client.CallOption) (*EmptyProto, error) RpcBodyStream(ctx context.Context, in *NonEmptyProto, opts ...client.CallOption) (FlowCombination_RpcBodyStreamService, error) RpcPathSingleNestedStream(ctx context.Context, in *SingleNestedProto, opts ...client.CallOption) (FlowCombination_RpcPathSingleNestedStreamService, error) RpcPathNestedStream(ctx context.Context, in *NestedProto, opts ...client.CallOption) (FlowCombination_RpcPathNestedStreamService, error) }
func NewFlowCombinationService ¶ added in v1.6.6
func NewFlowCombinationService(name string, c client.Client) FlowCombinationService
type FlowCombination_RpcBodyStreamClient ¶
type FlowCombination_RpcBodyStreamClient interface { Recv() (*EmptyProto, error) grpc.ClientStream }
type FlowCombination_RpcBodyStreamServer ¶
type FlowCombination_RpcBodyStreamServer interface { Send(*EmptyProto) error grpc.ServerStream }
type FlowCombination_RpcBodyStreamService ¶ added in v1.6.6
type FlowCombination_RpcBodyStreamService interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Recv() (*EmptyProto, error) }
type FlowCombination_RpcBodyStreamStream ¶ added in v1.6.6
type FlowCombination_RpcBodyStreamStream interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Send(*EmptyProto) error }
type FlowCombination_RpcEmptyStreamClient ¶
type FlowCombination_RpcEmptyStreamClient interface { Recv() (*EmptyProto, error) grpc.ClientStream }
type FlowCombination_RpcEmptyStreamServer ¶
type FlowCombination_RpcEmptyStreamServer interface { Send(*EmptyProto) error grpc.ServerStream }
type FlowCombination_RpcEmptyStreamService ¶ added in v1.6.6
type FlowCombination_RpcEmptyStreamService interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Recv() (*EmptyProto, error) }
type FlowCombination_RpcEmptyStreamStream ¶ added in v1.6.6
type FlowCombination_RpcEmptyStreamStream interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Send(*EmptyProto) error }
type FlowCombination_RpcPathNestedStreamClient ¶
type FlowCombination_RpcPathNestedStreamClient interface { Recv() (*EmptyProto, error) grpc.ClientStream }
type FlowCombination_RpcPathNestedStreamServer ¶
type FlowCombination_RpcPathNestedStreamServer interface { Send(*EmptyProto) error grpc.ServerStream }
type FlowCombination_RpcPathNestedStreamService ¶ added in v1.6.6
type FlowCombination_RpcPathNestedStreamService interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Recv() (*EmptyProto, error) }
type FlowCombination_RpcPathNestedStreamStream ¶ added in v1.6.6
type FlowCombination_RpcPathNestedStreamStream interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Send(*EmptyProto) error }
type FlowCombination_RpcPathSingleNestedStreamClient ¶
type FlowCombination_RpcPathSingleNestedStreamClient interface { Recv() (*EmptyProto, error) grpc.ClientStream }
type FlowCombination_RpcPathSingleNestedStreamServer ¶
type FlowCombination_RpcPathSingleNestedStreamServer interface { Send(*EmptyProto) error grpc.ServerStream }
type FlowCombination_RpcPathSingleNestedStreamService ¶ added in v1.6.6
type FlowCombination_RpcPathSingleNestedStreamService interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Recv() (*EmptyProto, error) }
type FlowCombination_RpcPathSingleNestedStreamStream ¶ added in v1.6.6
type FlowCombination_RpcPathSingleNestedStreamStream interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Send(*EmptyProto) error }
type FlowCombination_StreamEmptyRpcClient ¶
type FlowCombination_StreamEmptyRpcClient interface { Send(*EmptyProto) error CloseAndRecv() (*EmptyProto, error) grpc.ClientStream }
type FlowCombination_StreamEmptyRpcServer ¶
type FlowCombination_StreamEmptyRpcServer interface { SendAndClose(*EmptyProto) error Recv() (*EmptyProto, error) grpc.ServerStream }
type FlowCombination_StreamEmptyRpcService ¶ added in v1.6.6
type FlowCombination_StreamEmptyRpcService interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Send(*EmptyProto) error }
type FlowCombination_StreamEmptyRpcStream ¶ added in v1.6.6
type FlowCombination_StreamEmptyRpcStream interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Recv() (*EmptyProto, error) }
type FlowCombination_StreamEmptyStreamClient ¶
type FlowCombination_StreamEmptyStreamClient interface { Send(*EmptyProto) error Recv() (*EmptyProto, error) grpc.ClientStream }
type FlowCombination_StreamEmptyStreamServer ¶
type FlowCombination_StreamEmptyStreamServer interface { Send(*EmptyProto) error Recv() (*EmptyProto, error) grpc.ServerStream }
type FlowCombination_StreamEmptyStreamService ¶ added in v1.6.6
type FlowCombination_StreamEmptyStreamService interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Send(*EmptyProto) error Recv() (*EmptyProto, error) }
type FlowCombination_StreamEmptyStreamStream ¶ added in v1.6.6
type FlowCombination_StreamEmptyStreamStream interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Send(*EmptyProto) error Recv() (*EmptyProto, error) }
type MessageWithBody ¶
type MessageWithBody struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Data *Body `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageWithBody) Descriptor ¶
func (*MessageWithBody) Descriptor() ([]byte, []int)
func (*MessageWithBody) GetData ¶
func (m *MessageWithBody) GetData() *Body
func (*MessageWithBody) GetId ¶
func (m *MessageWithBody) GetId() string
func (*MessageWithBody) ProtoMessage ¶
func (*MessageWithBody) ProtoMessage()
func (*MessageWithBody) Reset ¶
func (m *MessageWithBody) Reset()
func (*MessageWithBody) String ¶
func (m *MessageWithBody) String() string
func (*MessageWithBody) XXX_DiscardUnknown ¶
func (m *MessageWithBody) XXX_DiscardUnknown()
func (*MessageWithBody) XXX_Marshal ¶
func (m *MessageWithBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageWithBody) XXX_Merge ¶
func (dst *MessageWithBody) XXX_Merge(src proto.Message)
func (*MessageWithBody) XXX_Size ¶
func (m *MessageWithBody) XXX_Size() int
func (*MessageWithBody) XXX_Unmarshal ¶
func (m *MessageWithBody) XXX_Unmarshal(b []byte) error
type MimicObjectHidden ¶ added in v1.6.6
type MimicObjectHidden struct { HiddenValueOne string `protobuf:"bytes,1,opt,name=hidden_value_one,json=hiddenValueOne,proto3" json:"hidden_value_one,omitempty"` HiddenValueTwo string `protobuf:"bytes,2,opt,name=hidden_value_two,json=hiddenValueTwo,proto3" json:"hidden_value_two,omitempty"` HiddenEnum MimicObjectHidden_HiddenEnum `` /* 158-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MimicObjectHidden) Descriptor ¶ added in v1.6.6
func (*MimicObjectHidden) Descriptor() ([]byte, []int)
func (*MimicObjectHidden) GetHiddenEnum ¶ added in v1.6.6
func (m *MimicObjectHidden) GetHiddenEnum() MimicObjectHidden_HiddenEnum
func (*MimicObjectHidden) GetHiddenValueOne ¶ added in v1.6.6
func (m *MimicObjectHidden) GetHiddenValueOne() string
func (*MimicObjectHidden) GetHiddenValueTwo ¶ added in v1.6.6
func (m *MimicObjectHidden) GetHiddenValueTwo() string
func (MimicObjectHidden) MarshalJSONPB ¶ added in v1.6.6
func (m MimicObjectHidden) MarshalJSONPB(_ *jsonpb.Marshaler) ([]byte, error)
func (*MimicObjectHidden) ProtoMessage ¶ added in v1.6.6
func (*MimicObjectHidden) ProtoMessage()
func (*MimicObjectHidden) Reset ¶ added in v1.6.6
func (m *MimicObjectHidden) Reset()
func (*MimicObjectHidden) String ¶ added in v1.6.6
func (m *MimicObjectHidden) String() string
func (*MimicObjectHidden) UnmarshalJSONPB ¶ added in v1.6.6
func (m *MimicObjectHidden) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, d []byte) error
func (*MimicObjectHidden) XXX_DiscardUnknown ¶ added in v1.6.6
func (m *MimicObjectHidden) XXX_DiscardUnknown()
func (*MimicObjectHidden) XXX_Marshal ¶ added in v1.6.6
func (m *MimicObjectHidden) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MimicObjectHidden) XXX_Merge ¶ added in v1.6.6
func (dst *MimicObjectHidden) XXX_Merge(src proto.Message)
func (*MimicObjectHidden) XXX_Size ¶ added in v1.6.6
func (m *MimicObjectHidden) XXX_Size() int
func (*MimicObjectHidden) XXX_Unmarshal ¶ added in v1.6.6
func (m *MimicObjectHidden) XXX_Unmarshal(b []byte) error
type MimicObjectHidden_HiddenEnum ¶ added in v1.6.6
type MimicObjectHidden_HiddenEnum int32
const ( MimicObjectHidden_VALUE_ONE MimicObjectHidden_HiddenEnum = 0 MimicObjectHidden_VALUE_TWO MimicObjectHidden_HiddenEnum = 1 )
func (MimicObjectHidden_HiddenEnum) EnumDescriptor ¶ added in v1.6.6
func (MimicObjectHidden_HiddenEnum) EnumDescriptor() ([]byte, []int)
func (MimicObjectHidden_HiddenEnum) String ¶ added in v1.6.6
func (x MimicObjectHidden_HiddenEnum) String() string
type MimicObjectRequest ¶ added in v1.6.6
type MimicObjectRequest struct { RequestValueOne string `protobuf:"bytes,1,opt,name=request_value_one,json=requestValueOne,proto3" json:"request_value_one,omitempty"` RequestValueTwo string `protobuf:"bytes,2,opt,name=request_value_two,json=requestValueTwo,proto3" json:"request_value_two,omitempty"` RequestEnum MimicObjectRequest_MimicRequestEnum `` /* 168-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MimicObjectRequest) Descriptor ¶ added in v1.6.6
func (*MimicObjectRequest) Descriptor() ([]byte, []int)
func (*MimicObjectRequest) GetRequestEnum ¶ added in v1.6.6
func (m *MimicObjectRequest) GetRequestEnum() MimicObjectRequest_MimicRequestEnum
func (*MimicObjectRequest) GetRequestValueOne ¶ added in v1.6.6
func (m *MimicObjectRequest) GetRequestValueOne() string
func (*MimicObjectRequest) GetRequestValueTwo ¶ added in v1.6.6
func (m *MimicObjectRequest) GetRequestValueTwo() string
func (*MimicObjectRequest) ProtoMessage ¶ added in v1.6.6
func (*MimicObjectRequest) ProtoMessage()
func (*MimicObjectRequest) Reset ¶ added in v1.6.6
func (m *MimicObjectRequest) Reset()
func (*MimicObjectRequest) String ¶ added in v1.6.6
func (m *MimicObjectRequest) String() string
func (*MimicObjectRequest) XXX_DiscardUnknown ¶ added in v1.6.6
func (m *MimicObjectRequest) XXX_DiscardUnknown()
func (*MimicObjectRequest) XXX_Marshal ¶ added in v1.6.6
func (m *MimicObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MimicObjectRequest) XXX_Merge ¶ added in v1.6.6
func (dst *MimicObjectRequest) XXX_Merge(src proto.Message)
func (*MimicObjectRequest) XXX_Size ¶ added in v1.6.6
func (m *MimicObjectRequest) XXX_Size() int
func (*MimicObjectRequest) XXX_Unmarshal ¶ added in v1.6.6
func (m *MimicObjectRequest) XXX_Unmarshal(b []byte) error
type MimicObjectRequest_MimicRequestEnum ¶ added in v1.6.6
type MimicObjectRequest_MimicRequestEnum int32
const ( MimicObjectRequest_VALUE_ONE MimicObjectRequest_MimicRequestEnum = 0 MimicObjectRequest_VALUE_TWO MimicObjectRequest_MimicRequestEnum = 1 )
func (MimicObjectRequest_MimicRequestEnum) EnumDescriptor ¶ added in v1.6.6
func (MimicObjectRequest_MimicRequestEnum) EnumDescriptor() ([]byte, []int)
func (MimicObjectRequest_MimicRequestEnum) String ¶ added in v1.6.6
func (x MimicObjectRequest_MimicRequestEnum) String() string
type MimicObjectResponse ¶ added in v1.6.6
type MimicObjectResponse struct { ResponseValueOne string `protobuf:"bytes,1,opt,name=response_value_one,json=responseValueOne,proto3" json:"response_value_one,omitempty"` ResponseValueTwo string `protobuf:"bytes,2,opt,name=response_value_two,json=responseValueTwo,proto3" json:"response_value_two,omitempty"` ResponseEnum MimicObjectResponse_MimicResponseEnum `` /* 173-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MimicObjectResponse) Descriptor ¶ added in v1.6.6
func (*MimicObjectResponse) Descriptor() ([]byte, []int)
func (*MimicObjectResponse) GetResponseEnum ¶ added in v1.6.6
func (m *MimicObjectResponse) GetResponseEnum() MimicObjectResponse_MimicResponseEnum
func (*MimicObjectResponse) GetResponseValueOne ¶ added in v1.6.6
func (m *MimicObjectResponse) GetResponseValueOne() string
func (*MimicObjectResponse) GetResponseValueTwo ¶ added in v1.6.6
func (m *MimicObjectResponse) GetResponseValueTwo() string
func (*MimicObjectResponse) ProtoMessage ¶ added in v1.6.6
func (*MimicObjectResponse) ProtoMessage()
func (*MimicObjectResponse) Reset ¶ added in v1.6.6
func (m *MimicObjectResponse) Reset()
func (*MimicObjectResponse) String ¶ added in v1.6.6
func (m *MimicObjectResponse) String() string
func (*MimicObjectResponse) XXX_DiscardUnknown ¶ added in v1.6.6
func (m *MimicObjectResponse) XXX_DiscardUnknown()
func (*MimicObjectResponse) XXX_Marshal ¶ added in v1.6.6
func (m *MimicObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MimicObjectResponse) XXX_Merge ¶ added in v1.6.6
func (dst *MimicObjectResponse) XXX_Merge(src proto.Message)
func (*MimicObjectResponse) XXX_Size ¶ added in v1.6.6
func (m *MimicObjectResponse) XXX_Size() int
func (*MimicObjectResponse) XXX_Unmarshal ¶ added in v1.6.6
func (m *MimicObjectResponse) XXX_Unmarshal(b []byte) error
type MimicObjectResponse_MimicResponseEnum ¶ added in v1.6.6
type MimicObjectResponse_MimicResponseEnum int32
const ( MimicObjectResponse_VALUE_ONE MimicObjectResponse_MimicResponseEnum = 0 MimicObjectResponse_VALUE_TWO MimicObjectResponse_MimicResponseEnum = 1 )
func (MimicObjectResponse_MimicResponseEnum) EnumDescriptor ¶ added in v1.6.6
func (MimicObjectResponse_MimicResponseEnum) EnumDescriptor() ([]byte, []int)
func (MimicObjectResponse_MimicResponseEnum) String ¶ added in v1.6.6
func (x MimicObjectResponse_MimicResponseEnum) String() string
type NestedProto ¶
type NestedProto struct { A *UnaryProto `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` B string `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"` C string `protobuf:"bytes,3,opt,name=c,proto3" json:"c,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NestedProto) Descriptor ¶
func (*NestedProto) Descriptor() ([]byte, []int)
func (*NestedProto) GetA ¶
func (m *NestedProto) GetA() *UnaryProto
func (*NestedProto) GetB ¶
func (m *NestedProto) GetB() string
func (*NestedProto) GetC ¶
func (m *NestedProto) GetC() string
func (*NestedProto) ProtoMessage ¶
func (*NestedProto) ProtoMessage()
func (*NestedProto) Reset ¶
func (m *NestedProto) Reset()
func (*NestedProto) String ¶
func (m *NestedProto) String() string
func (*NestedProto) XXX_DiscardUnknown ¶
func (m *NestedProto) XXX_DiscardUnknown()
func (*NestedProto) XXX_Marshal ¶
func (m *NestedProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NestedProto) XXX_Merge ¶
func (dst *NestedProto) XXX_Merge(src proto.Message)
func (*NestedProto) XXX_Size ¶
func (m *NestedProto) XXX_Size() int
func (*NestedProto) XXX_Unmarshal ¶
func (m *NestedProto) XXX_Unmarshal(b []byte) error
type NonEmptyProto ¶
type NonEmptyProto struct { A string `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` B string `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"` C string `protobuf:"bytes,3,opt,name=c,proto3" json:"c,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NonEmptyProto) Descriptor ¶
func (*NonEmptyProto) Descriptor() ([]byte, []int)
func (*NonEmptyProto) GetA ¶
func (m *NonEmptyProto) GetA() string
func (*NonEmptyProto) GetB ¶
func (m *NonEmptyProto) GetB() string
func (*NonEmptyProto) GetC ¶
func (m *NonEmptyProto) GetC() string
func (*NonEmptyProto) ProtoMessage ¶
func (*NonEmptyProto) ProtoMessage()
func (*NonEmptyProto) Reset ¶
func (m *NonEmptyProto) Reset()
func (*NonEmptyProto) String ¶
func (m *NonEmptyProto) String() string
func (*NonEmptyProto) XXX_DiscardUnknown ¶
func (m *NonEmptyProto) XXX_DiscardUnknown()
func (*NonEmptyProto) XXX_Marshal ¶
func (m *NonEmptyProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NonEmptyProto) XXX_Merge ¶
func (dst *NonEmptyProto) XXX_Merge(src proto.Message)
func (*NonEmptyProto) XXX_Size ¶
func (m *NonEmptyProto) XXX_Size() int
func (*NonEmptyProto) XXX_Unmarshal ¶
func (m *NonEmptyProto) XXX_Unmarshal(b []byte) error
type NumericEnum ¶
type NumericEnum int32
NumericEnum is one or zero.
const ( // ZERO means 0 NumericEnum_ZERO NumericEnum = 0 // ONE means 1 NumericEnum_ONE NumericEnum = 1 )
func (NumericEnum) EnumDescriptor ¶
func (NumericEnum) EnumDescriptor() ([]byte, []int)
func (NumericEnum) String ¶
func (x NumericEnum) String() string
type ResponseBodyIn ¶ added in v1.5.0
type ResponseBodyIn struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResponseBodyIn) Descriptor ¶ added in v1.5.0
func (*ResponseBodyIn) Descriptor() ([]byte, []int)
func (*ResponseBodyIn) GetData ¶ added in v1.5.0
func (m *ResponseBodyIn) GetData() string
func (*ResponseBodyIn) ProtoMessage ¶ added in v1.5.0
func (*ResponseBodyIn) ProtoMessage()
func (*ResponseBodyIn) Reset ¶ added in v1.5.0
func (m *ResponseBodyIn) Reset()
func (*ResponseBodyIn) String ¶ added in v1.5.0
func (m *ResponseBodyIn) String() string
func (*ResponseBodyIn) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *ResponseBodyIn) XXX_DiscardUnknown()
func (*ResponseBodyIn) XXX_Marshal ¶ added in v1.5.0
func (m *ResponseBodyIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseBodyIn) XXX_Merge ¶ added in v1.5.0
func (dst *ResponseBodyIn) XXX_Merge(src proto.Message)
func (*ResponseBodyIn) XXX_Size ¶ added in v1.5.0
func (m *ResponseBodyIn) XXX_Size() int
func (*ResponseBodyIn) XXX_Unmarshal ¶ added in v1.5.0
func (m *ResponseBodyIn) XXX_Unmarshal(b []byte) error
type ResponseBodyOut ¶ added in v1.5.0
type ResponseBodyOut struct { Response *ResponseBodyOut_Response `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResponseBodyOut) Descriptor ¶ added in v1.5.0
func (*ResponseBodyOut) Descriptor() ([]byte, []int)
func (*ResponseBodyOut) GetResponse ¶ added in v1.5.0
func (m *ResponseBodyOut) GetResponse() *ResponseBodyOut_Response
func (*ResponseBodyOut) ProtoMessage ¶ added in v1.5.0
func (*ResponseBodyOut) ProtoMessage()
func (*ResponseBodyOut) Reset ¶ added in v1.5.0
func (m *ResponseBodyOut) Reset()
func (*ResponseBodyOut) String ¶ added in v1.5.0
func (m *ResponseBodyOut) String() string
func (*ResponseBodyOut) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *ResponseBodyOut) XXX_DiscardUnknown()
func (*ResponseBodyOut) XXX_Marshal ¶ added in v1.5.0
func (m *ResponseBodyOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseBodyOut) XXX_Merge ¶ added in v1.5.0
func (dst *ResponseBodyOut) XXX_Merge(src proto.Message)
func (*ResponseBodyOut) XXX_Size ¶ added in v1.5.0
func (m *ResponseBodyOut) XXX_Size() int
func (*ResponseBodyOut) XXX_Unmarshal ¶ added in v1.5.0
func (m *ResponseBodyOut) XXX_Unmarshal(b []byte) error
type ResponseBodyOut_Response ¶ added in v1.5.0
type ResponseBodyOut_Response struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResponseBodyOut_Response) Descriptor ¶ added in v1.5.0
func (*ResponseBodyOut_Response) Descriptor() ([]byte, []int)
func (*ResponseBodyOut_Response) GetData ¶ added in v1.5.0
func (m *ResponseBodyOut_Response) GetData() string
func (*ResponseBodyOut_Response) ProtoMessage ¶ added in v1.5.0
func (*ResponseBodyOut_Response) ProtoMessage()
func (*ResponseBodyOut_Response) Reset ¶ added in v1.5.0
func (m *ResponseBodyOut_Response) Reset()
func (*ResponseBodyOut_Response) String ¶ added in v1.5.0
func (m *ResponseBodyOut_Response) String() string
func (*ResponseBodyOut_Response) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *ResponseBodyOut_Response) XXX_DiscardUnknown()
func (*ResponseBodyOut_Response) XXX_Marshal ¶ added in v1.5.0
func (m *ResponseBodyOut_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseBodyOut_Response) XXX_Merge ¶ added in v1.5.0
func (dst *ResponseBodyOut_Response) XXX_Merge(src proto.Message)
func (*ResponseBodyOut_Response) XXX_Size ¶ added in v1.5.0
func (m *ResponseBodyOut_Response) XXX_Size() int
func (*ResponseBodyOut_Response) XXX_Unmarshal ¶ added in v1.5.0
func (m *ResponseBodyOut_Response) XXX_Unmarshal(b []byte) error
type ResponseBodyService ¶ added in v1.6.6
type ResponseBodyService interface {
GetResponseBody(ctx context.Context, in *ResponseBodyIn, opts ...client.CallOption) (*ResponseBodyOut, error)
}
func NewResponseBodyService ¶ added in v1.6.6
func NewResponseBodyService(name string, c client.Client) ResponseBodyService
type ResponseBodyServiceClient ¶ added in v1.5.0
type ResponseBodyServiceClient interface {
GetResponseBody(ctx context.Context, in *ResponseBodyIn, opts ...grpc.CallOption) (*ResponseBodyOut, error)
}
ResponseBodyServiceClient is the client API for ResponseBodyService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewResponseBodyServiceClient ¶ added in v1.5.0
func NewResponseBodyServiceClient(cc *grpc.ClientConn) ResponseBodyServiceClient
type ResponseBodyServiceHandler ¶ added in v1.6.6
type ResponseBodyServiceHandler interface {
GetResponseBody(context.Context, *ResponseBodyIn, *ResponseBodyOut) error
}
type ResponseBodyServiceServer ¶ added in v1.5.0
type ResponseBodyServiceServer interface {
GetResponseBody(context.Context, *ResponseBodyIn) (*ResponseBodyOut, error)
}
ResponseBodyServiceServer is the server API for ResponseBodyService service.
type SimpleMessage ¶
type SimpleMessage struct { // Id represents the message identifier. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Num int64 `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"` // Types that are valid to be assigned to Code: // *SimpleMessage_LineNum // *SimpleMessage_Lang Code isSimpleMessage_Code `protobuf_oneof:"code"` Status *Embedded `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // Types that are valid to be assigned to Ext: // *SimpleMessage_En // *SimpleMessage_No Ext isSimpleMessage_Ext `protobuf_oneof:"ext"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SimpleMessage represents a simple message sent to the Echo service.
func (*SimpleMessage) Descriptor ¶
func (*SimpleMessage) Descriptor() ([]byte, []int)
func (*SimpleMessage) GetCode ¶
func (m *SimpleMessage) GetCode() isSimpleMessage_Code
func (*SimpleMessage) GetEn ¶
func (m *SimpleMessage) GetEn() int64
func (*SimpleMessage) GetExt ¶
func (m *SimpleMessage) GetExt() isSimpleMessage_Ext
func (*SimpleMessage) GetId ¶
func (m *SimpleMessage) GetId() string
func (*SimpleMessage) GetLang ¶
func (m *SimpleMessage) GetLang() string
func (*SimpleMessage) GetLineNum ¶
func (m *SimpleMessage) GetLineNum() int64
func (*SimpleMessage) GetNo ¶
func (m *SimpleMessage) GetNo() *Embedded
func (*SimpleMessage) GetNum ¶
func (m *SimpleMessage) GetNum() int64
func (*SimpleMessage) GetStatus ¶
func (m *SimpleMessage) GetStatus() *Embedded
func (*SimpleMessage) ProtoMessage ¶
func (*SimpleMessage) ProtoMessage()
func (*SimpleMessage) Reset ¶
func (m *SimpleMessage) Reset()
func (*SimpleMessage) String ¶
func (m *SimpleMessage) String() string
func (*SimpleMessage) XXX_DiscardUnknown ¶
func (m *SimpleMessage) XXX_DiscardUnknown()
func (*SimpleMessage) XXX_Marshal ¶
func (m *SimpleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SimpleMessage) XXX_Merge ¶
func (dst *SimpleMessage) XXX_Merge(src proto.Message)
func (*SimpleMessage) XXX_OneofFuncs ¶
func (*SimpleMessage) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*SimpleMessage) XXX_Size ¶
func (m *SimpleMessage) XXX_Size() int
func (*SimpleMessage) XXX_Unmarshal ¶
func (m *SimpleMessage) XXX_Unmarshal(b []byte) error
type SimpleMessage_En ¶
type SimpleMessage_En struct {
En int64 `protobuf:"varint,6,opt,name=en,proto3,oneof"`
}
type SimpleMessage_Lang ¶
type SimpleMessage_Lang struct {
Lang string `protobuf:"bytes,4,opt,name=lang,proto3,oneof"`
}
type SimpleMessage_LineNum ¶
type SimpleMessage_LineNum struct {
LineNum int64 `protobuf:"varint,3,opt,name=line_num,json=lineNum,proto3,oneof"`
}
type SimpleMessage_No ¶
type SimpleMessage_No struct {
No *Embedded `protobuf:"bytes,7,opt,name=no,proto3,oneof"`
}
type SingleNestedProto ¶
type SingleNestedProto struct { A *UnaryProto `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SingleNestedProto) Descriptor ¶
func (*SingleNestedProto) Descriptor() ([]byte, []int)
func (*SingleNestedProto) GetA ¶
func (m *SingleNestedProto) GetA() *UnaryProto
func (*SingleNestedProto) ProtoMessage ¶
func (*SingleNestedProto) ProtoMessage()
func (*SingleNestedProto) Reset ¶
func (m *SingleNestedProto) Reset()
func (*SingleNestedProto) String ¶
func (m *SingleNestedProto) String() string
func (*SingleNestedProto) XXX_DiscardUnknown ¶
func (m *SingleNestedProto) XXX_DiscardUnknown()
func (*SingleNestedProto) XXX_Marshal ¶
func (m *SingleNestedProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SingleNestedProto) XXX_Merge ¶
func (dst *SingleNestedProto) XXX_Merge(src proto.Message)
func (*SingleNestedProto) XXX_Size ¶
func (m *SingleNestedProto) XXX_Size() int
func (*SingleNestedProto) XXX_Unmarshal ¶
func (m *SingleNestedProto) XXX_Unmarshal(b []byte) error
type StreamService ¶ added in v1.6.6
type StreamService interface { BulkCreate(ctx context.Context, opts ...client.CallOption) (StreamService_BulkCreateService, error) List(ctx context.Context, in *google_protobuf2.Empty, opts ...client.CallOption) (StreamService_ListService, error) BulkEcho(ctx context.Context, opts ...client.CallOption) (StreamService_BulkEchoService, error) }
func NewStreamService ¶ added in v1.6.6
func NewStreamService(name string, c client.Client) StreamService
type StreamServiceClient ¶
type StreamServiceClient interface { BulkCreate(ctx context.Context, opts ...grpc.CallOption) (StreamService_BulkCreateClient, error) List(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (StreamService_ListClient, error) BulkEcho(ctx context.Context, opts ...grpc.CallOption) (StreamService_BulkEchoClient, error) }
StreamServiceClient is the client API for StreamService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStreamServiceClient ¶
func NewStreamServiceClient(cc *grpc.ClientConn) StreamServiceClient
type StreamServiceHandler ¶ added in v1.6.6
type StreamServiceHandler interface { BulkCreate(context.Context, StreamService_BulkCreateStream) error List(context.Context, *google_protobuf2.Empty, StreamService_ListStream) error BulkEcho(context.Context, StreamService_BulkEchoStream) error }
type StreamServiceServer ¶
type StreamServiceServer interface { BulkCreate(StreamService_BulkCreateServer) error List(*empty.Empty, StreamService_ListServer) error BulkEcho(StreamService_BulkEchoServer) error }
StreamServiceServer is the server API for StreamService service.
type StreamService_BulkCreateClient ¶
type StreamService_BulkCreateClient interface { Send(*ABitOfEverything) error CloseAndRecv() (*empty.Empty, error) grpc.ClientStream }
type StreamService_BulkCreateServer ¶
type StreamService_BulkCreateServer interface { SendAndClose(*empty.Empty) error Recv() (*ABitOfEverything, error) grpc.ServerStream }
type StreamService_BulkCreateService ¶ added in v1.6.6
type StreamService_BulkCreateService interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Send(*ABitOfEverything) error }
type StreamService_BulkCreateStream ¶ added in v1.6.6
type StreamService_BulkCreateStream interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Recv() (*ABitOfEverything, error) }
type StreamService_BulkEchoClient ¶
type StreamService_BulkEchoClient interface { Send(*sub.StringMessage) error Recv() (*sub.StringMessage, error) grpc.ClientStream }
type StreamService_BulkEchoServer ¶
type StreamService_BulkEchoServer interface { Send(*sub.StringMessage) error Recv() (*sub.StringMessage, error) grpc.ServerStream }
type StreamService_BulkEchoService ¶ added in v1.6.6
type StreamService_BulkEchoService interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Send(*grpc_gateway_examples_sub.StringMessage) error Recv() (*grpc_gateway_examples_sub.StringMessage, error) }
type StreamService_BulkEchoStream ¶ added in v1.6.6
type StreamService_BulkEchoStream interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Send(*grpc_gateway_examples_sub.StringMessage) error Recv() (*grpc_gateway_examples_sub.StringMessage, error) }
type StreamService_ListClient ¶
type StreamService_ListClient interface { Recv() (*ABitOfEverything, error) grpc.ClientStream }
type StreamService_ListServer ¶
type StreamService_ListServer interface { Send(*ABitOfEverything) error grpc.ServerStream }
type StreamService_ListService ¶ added in v1.6.6
type StreamService_ListService interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Recv() (*ABitOfEverything, error) }
type StreamService_ListStream ¶ added in v1.6.6
type StreamService_ListStream interface { SendMsg(interface{}) error RecvMsg(interface{}) error Close() error Send(*ABitOfEverything) error }
type UnannotatedEchoService ¶ added in v1.6.6
type UnannotatedEchoService interface { // Echo method receives a simple message and returns it. // // The message posted as the id parameter will also be // returned. Echo(ctx context.Context, in *UnannotatedSimpleMessage, opts ...client.CallOption) (*UnannotatedSimpleMessage, error) // EchoBody method receives a simple message and returns it. EchoBody(ctx context.Context, in *UnannotatedSimpleMessage, opts ...client.CallOption) (*UnannotatedSimpleMessage, error) // EchoDelete method receives a simple message and returns it. EchoDelete(ctx context.Context, in *UnannotatedSimpleMessage, opts ...client.CallOption) (*UnannotatedSimpleMessage, error) }
func NewUnannotatedEchoService ¶ added in v1.6.6
func NewUnannotatedEchoService(name string, c client.Client) UnannotatedEchoService
type UnannotatedEchoServiceClient ¶
type UnannotatedEchoServiceClient interface { // Echo method receives a simple message and returns it. // // The message posted as the id parameter will also be // returned. Echo(ctx context.Context, in *UnannotatedSimpleMessage, opts ...grpc.CallOption) (*UnannotatedSimpleMessage, error) // EchoBody method receives a simple message and returns it. EchoBody(ctx context.Context, in *UnannotatedSimpleMessage, opts ...grpc.CallOption) (*UnannotatedSimpleMessage, error) // EchoDelete method receives a simple message and returns it. EchoDelete(ctx context.Context, in *UnannotatedSimpleMessage, opts ...grpc.CallOption) (*UnannotatedSimpleMessage, error) }
UnannotatedEchoServiceClient is the client API for UnannotatedEchoService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUnannotatedEchoServiceClient ¶
func NewUnannotatedEchoServiceClient(cc *grpc.ClientConn) UnannotatedEchoServiceClient
type UnannotatedEchoServiceHandler ¶ added in v1.6.6
type UnannotatedEchoServiceHandler interface { // Echo method receives a simple message and returns it. // // The message posted as the id parameter will also be // returned. Echo(context.Context, *UnannotatedSimpleMessage, *UnannotatedSimpleMessage) error // EchoBody method receives a simple message and returns it. EchoBody(context.Context, *UnannotatedSimpleMessage, *UnannotatedSimpleMessage) error // EchoDelete method receives a simple message and returns it. EchoDelete(context.Context, *UnannotatedSimpleMessage, *UnannotatedSimpleMessage) error }
type UnannotatedEchoServiceServer ¶
type UnannotatedEchoServiceServer interface { // Echo method receives a simple message and returns it. // // The message posted as the id parameter will also be // returned. Echo(context.Context, *UnannotatedSimpleMessage) (*UnannotatedSimpleMessage, error) // EchoBody method receives a simple message and returns it. EchoBody(context.Context, *UnannotatedSimpleMessage) (*UnannotatedSimpleMessage, error) // EchoDelete method receives a simple message and returns it. EchoDelete(context.Context, *UnannotatedSimpleMessage) (*UnannotatedSimpleMessage, error) }
UnannotatedEchoServiceServer is the server API for UnannotatedEchoService service.
type UnannotatedSimpleMessage ¶
type UnannotatedSimpleMessage struct { // Id represents the message identifier. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Num int64 `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"` Duration *duration.Duration `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UnannotatedSimpleMessage represents a simple message sent to the unannotated Echo service.
func (*UnannotatedSimpleMessage) Descriptor ¶
func (*UnannotatedSimpleMessage) Descriptor() ([]byte, []int)
func (*UnannotatedSimpleMessage) GetDuration ¶
func (m *UnannotatedSimpleMessage) GetDuration() *duration.Duration
func (*UnannotatedSimpleMessage) GetId ¶
func (m *UnannotatedSimpleMessage) GetId() string
func (*UnannotatedSimpleMessage) GetNum ¶
func (m *UnannotatedSimpleMessage) GetNum() int64
func (*UnannotatedSimpleMessage) ProtoMessage ¶
func (*UnannotatedSimpleMessage) ProtoMessage()
func (*UnannotatedSimpleMessage) Reset ¶
func (m *UnannotatedSimpleMessage) Reset()
func (*UnannotatedSimpleMessage) String ¶
func (m *UnannotatedSimpleMessage) String() string
func (*UnannotatedSimpleMessage) XXX_DiscardUnknown ¶
func (m *UnannotatedSimpleMessage) XXX_DiscardUnknown()
func (*UnannotatedSimpleMessage) XXX_Marshal ¶
func (m *UnannotatedSimpleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnannotatedSimpleMessage) XXX_Merge ¶
func (dst *UnannotatedSimpleMessage) XXX_Merge(src proto.Message)
func (*UnannotatedSimpleMessage) XXX_Size ¶
func (m *UnannotatedSimpleMessage) XXX_Size() int
func (*UnannotatedSimpleMessage) XXX_Unmarshal ¶
func (m *UnannotatedSimpleMessage) XXX_Unmarshal(b []byte) error
type UnaryProto ¶
type UnaryProto struct { Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnaryProto) Descriptor ¶
func (*UnaryProto) Descriptor() ([]byte, []int)
func (*UnaryProto) GetStr ¶
func (m *UnaryProto) GetStr() string
func (*UnaryProto) ProtoMessage ¶
func (*UnaryProto) ProtoMessage()
func (*UnaryProto) Reset ¶
func (m *UnaryProto) Reset()
func (*UnaryProto) String ¶
func (m *UnaryProto) String() string
func (*UnaryProto) XXX_DiscardUnknown ¶
func (m *UnaryProto) XXX_DiscardUnknown()
func (*UnaryProto) XXX_Marshal ¶
func (m *UnaryProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnaryProto) XXX_Merge ¶
func (dst *UnaryProto) XXX_Merge(src proto.Message)
func (*UnaryProto) XXX_Size ¶
func (m *UnaryProto) XXX_Size() int
func (*UnaryProto) XXX_Unmarshal ¶
func (m *UnaryProto) XXX_Unmarshal(b []byte) error
type UpdateV2Request ¶ added in v1.6.0
type UpdateV2Request struct { Abe *ABitOfEverything `protobuf:"bytes,1,opt,name=abe,proto3" json:"abe,omitempty"` UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateV2Request request for update includes the message and the update mask
func (*UpdateV2Request) Descriptor ¶ added in v1.6.0
func (*UpdateV2Request) Descriptor() ([]byte, []int)
func (*UpdateV2Request) GetAbe ¶ added in v1.6.0
func (m *UpdateV2Request) GetAbe() *ABitOfEverything
func (*UpdateV2Request) GetUpdateMask ¶ added in v1.6.0
func (m *UpdateV2Request) GetUpdateMask() *field_mask.FieldMask
func (*UpdateV2Request) ProtoMessage ¶ added in v1.6.0
func (*UpdateV2Request) ProtoMessage()
func (*UpdateV2Request) Reset ¶ added in v1.6.0
func (m *UpdateV2Request) Reset()
func (*UpdateV2Request) String ¶ added in v1.6.0
func (m *UpdateV2Request) String() string
func (*UpdateV2Request) XXX_DiscardUnknown ¶ added in v1.6.0
func (m *UpdateV2Request) XXX_DiscardUnknown()
func (*UpdateV2Request) XXX_Marshal ¶ added in v1.6.0
func (m *UpdateV2Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateV2Request) XXX_Merge ¶ added in v1.6.0
func (dst *UpdateV2Request) XXX_Merge(src proto.Message)
func (*UpdateV2Request) XXX_Size ¶ added in v1.6.0
func (m *UpdateV2Request) XXX_Size() int
func (*UpdateV2Request) XXX_Unmarshal ¶ added in v1.6.0
func (m *UpdateV2Request) XXX_Unmarshal(b []byte) error
type Wrappers ¶
type Wrappers struct { StringValue *wrappers.StringValue `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"` Int32Value *wrappers.Int32Value `protobuf:"bytes,2,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"` Int64Value *wrappers.Int64Value `protobuf:"bytes,3,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"` FloatValue *wrappers.FloatValue `protobuf:"bytes,4,opt,name=float_value,json=floatValue,proto3" json:"float_value,omitempty"` DoubleValue *wrappers.DoubleValue `protobuf:"bytes,5,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"` BoolValue *wrappers.BoolValue `protobuf:"bytes,6,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"` Uint32Value *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=uint32_value,json=uint32Value,proto3" json:"uint32_value,omitempty"` Uint64Value *wrappers.UInt64Value `protobuf:"bytes,8,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"` BytesValue *wrappers.BytesValue `protobuf:"bytes,9,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Wrappers) Descriptor ¶
func (*Wrappers) GetBoolValue ¶
func (*Wrappers) GetBytesValue ¶ added in v1.5.0
func (m *Wrappers) GetBytesValue() *wrappers.BytesValue
func (*Wrappers) GetDoubleValue ¶
func (m *Wrappers) GetDoubleValue() *wrappers.DoubleValue
func (*Wrappers) GetFloatValue ¶
func (m *Wrappers) GetFloatValue() *wrappers.FloatValue
func (*Wrappers) GetInt32Value ¶
func (m *Wrappers) GetInt32Value() *wrappers.Int32Value
func (*Wrappers) GetInt64Value ¶
func (m *Wrappers) GetInt64Value() *wrappers.Int64Value
func (*Wrappers) GetStringValue ¶
func (m *Wrappers) GetStringValue() *wrappers.StringValue
func (*Wrappers) GetUint32Value ¶ added in v1.5.0
func (m *Wrappers) GetUint32Value() *wrappers.UInt32Value
func (*Wrappers) GetUint64Value ¶ added in v1.5.0
func (m *Wrappers) GetUint64Value() *wrappers.UInt64Value
func (*Wrappers) ProtoMessage ¶
func (*Wrappers) ProtoMessage()
func (*Wrappers) XXX_DiscardUnknown ¶
func (m *Wrappers) XXX_DiscardUnknown()
func (*Wrappers) XXX_Marshal ¶
func (*Wrappers) XXX_Unmarshal ¶
type WrappersService ¶ added in v1.6.6
type WrappersService interface { Create(ctx context.Context, in *Wrappers, opts ...client.CallOption) (*Wrappers, error) CreateStringValue(ctx context.Context, in *google_protobuf6.StringValue, opts ...client.CallOption) (*google_protobuf6.StringValue, error) CreateInt32Value(ctx context.Context, in *google_protobuf6.Int32Value, opts ...client.CallOption) (*google_protobuf6.Int32Value, error) CreateInt64Value(ctx context.Context, in *google_protobuf6.Int64Value, opts ...client.CallOption) (*google_protobuf6.Int64Value, error) CreateFloatValue(ctx context.Context, in *google_protobuf6.FloatValue, opts ...client.CallOption) (*google_protobuf6.FloatValue, error) CreateDoubleValue(ctx context.Context, in *google_protobuf6.DoubleValue, opts ...client.CallOption) (*google_protobuf6.DoubleValue, error) CreateBoolValue(ctx context.Context, in *google_protobuf6.BoolValue, opts ...client.CallOption) (*google_protobuf6.BoolValue, error) CreateUInt32Value(ctx context.Context, in *google_protobuf6.UInt32Value, opts ...client.CallOption) (*google_protobuf6.UInt32Value, error) CreateUInt64Value(ctx context.Context, in *google_protobuf6.UInt64Value, opts ...client.CallOption) (*google_protobuf6.UInt64Value, error) CreateBytesValue(ctx context.Context, in *google_protobuf6.BytesValue, opts ...client.CallOption) (*google_protobuf6.BytesValue, error) CreateEmpty(ctx context.Context, in *google_protobuf2.Empty, opts ...client.CallOption) (*google_protobuf2.Empty, error) }
func NewWrappersService ¶ added in v1.6.6
func NewWrappersService(name string, c client.Client) WrappersService
type WrappersServiceClient ¶
type WrappersServiceClient interface { Create(ctx context.Context, in *Wrappers, opts ...grpc.CallOption) (*Wrappers, error) CreateStringValue(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*wrappers.StringValue, error) CreateInt32Value(ctx context.Context, in *wrappers.Int32Value, opts ...grpc.CallOption) (*wrappers.Int32Value, error) CreateInt64Value(ctx context.Context, in *wrappers.Int64Value, opts ...grpc.CallOption) (*wrappers.Int64Value, error) CreateFloatValue(ctx context.Context, in *wrappers.FloatValue, opts ...grpc.CallOption) (*wrappers.FloatValue, error) CreateDoubleValue(ctx context.Context, in *wrappers.DoubleValue, opts ...grpc.CallOption) (*wrappers.DoubleValue, error) CreateBoolValue(ctx context.Context, in *wrappers.BoolValue, opts ...grpc.CallOption) (*wrappers.BoolValue, error) CreateUInt32Value(ctx context.Context, in *wrappers.UInt32Value, opts ...grpc.CallOption) (*wrappers.UInt32Value, error) CreateUInt64Value(ctx context.Context, in *wrappers.UInt64Value, opts ...grpc.CallOption) (*wrappers.UInt64Value, error) CreateBytesValue(ctx context.Context, in *wrappers.BytesValue, opts ...grpc.CallOption) (*wrappers.BytesValue, error) CreateEmpty(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) }
WrappersServiceClient is the client API for WrappersService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWrappersServiceClient ¶
func NewWrappersServiceClient(cc *grpc.ClientConn) WrappersServiceClient
type WrappersServiceHandler ¶ added in v1.6.6
type WrappersServiceHandler interface { Create(context.Context, *Wrappers, *Wrappers) error CreateStringValue(context.Context, *google_protobuf6.StringValue, *google_protobuf6.StringValue) error CreateInt32Value(context.Context, *google_protobuf6.Int32Value, *google_protobuf6.Int32Value) error CreateInt64Value(context.Context, *google_protobuf6.Int64Value, *google_protobuf6.Int64Value) error CreateFloatValue(context.Context, *google_protobuf6.FloatValue, *google_protobuf6.FloatValue) error CreateDoubleValue(context.Context, *google_protobuf6.DoubleValue, *google_protobuf6.DoubleValue) error CreateBoolValue(context.Context, *google_protobuf6.BoolValue, *google_protobuf6.BoolValue) error CreateUInt32Value(context.Context, *google_protobuf6.UInt32Value, *google_protobuf6.UInt32Value) error CreateUInt64Value(context.Context, *google_protobuf6.UInt64Value, *google_protobuf6.UInt64Value) error CreateBytesValue(context.Context, *google_protobuf6.BytesValue, *google_protobuf6.BytesValue) error CreateEmpty(context.Context, *google_protobuf2.Empty, *google_protobuf2.Empty) error }
type WrappersServiceServer ¶
type WrappersServiceServer interface { Create(context.Context, *Wrappers) (*Wrappers, error) CreateStringValue(context.Context, *wrappers.StringValue) (*wrappers.StringValue, error) CreateInt32Value(context.Context, *wrappers.Int32Value) (*wrappers.Int32Value, error) CreateInt64Value(context.Context, *wrappers.Int64Value) (*wrappers.Int64Value, error) CreateFloatValue(context.Context, *wrappers.FloatValue) (*wrappers.FloatValue, error) CreateDoubleValue(context.Context, *wrappers.DoubleValue) (*wrappers.DoubleValue, error) CreateBoolValue(context.Context, *wrappers.BoolValue) (*wrappers.BoolValue, error) CreateUInt32Value(context.Context, *wrappers.UInt32Value) (*wrappers.UInt32Value, error) CreateUInt64Value(context.Context, *wrappers.UInt64Value) (*wrappers.UInt64Value, error) CreateBytesValue(context.Context, *wrappers.BytesValue) (*wrappers.BytesValue, error) CreateEmpty(context.Context, *empty.Empty) (*empty.Empty, error) }
WrappersServiceServer is the server API for WrappersService service.
Source Files ¶
- a_bit_of_everything.go
- a_bit_of_everything.micro.go
- a_bit_of_everything.micro.gw.go
- a_bit_of_everything.pb.go
- echo_service.micro.go
- echo_service.micro.gw.go
- echo_service.pb.go
- flow_combination.micro.go
- flow_combination.micro.gw.go
- flow_combination.pb.go
- response_body_service.micro.go
- response_body_service.micro.gw.go
- response_body_service.pb.go
- stream.micro.go
- stream.micro.gw.go
- stream.pb.go
- unannotated_echo_service.micro.go
- unannotated_echo_service.micro.gw.go
- unannotated_echo_service.pb.go
- wrappers.micro.go
- wrappers.micro.gw.go
- wrappers.pb.go