component

package
v0.100.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package component is a generated protocol buffer package.

It is generated from these files:

service.proto
stream_call.proto
unary_call.proto

It has these top-level messages:

StreamCallRequest
StreamCallConfigRequest
StreamCallDataRequest
StreamCallResponse
StreamCallConfigResponse
StreamCallDataResponse
UnaryCallRequest
UnaryCallResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterModuleServiceServer

func RegisterModuleServiceServer(s *grpc.Server, srv ModuleServiceServer)

Types

type ModuleServiceClient

type ModuleServiceClient interface {
	UnaryCall(ctx context.Context, in *UnaryCallRequest, opts ...grpc.CallOption) (*UnaryCallResponse, error)
	StreamCall(ctx context.Context, opts ...grpc.CallOption) (ModuleService_StreamCallClient, error)
}

func NewModuleServiceClient

func NewModuleServiceClient(cc *grpc.ClientConn) ModuleServiceClient

type ModuleServiceServer

type ModuleServiceServer interface {
	UnaryCall(context.Context, *UnaryCallRequest) (*UnaryCallResponse, error)
	StreamCall(ModuleService_StreamCallServer) error
}

type ModuleService_StreamCallClient

type ModuleService_StreamCallClient interface {
	Send(*StreamCallRequest) error
	Recv() (*StreamCallResponse, error)
	grpc.ClientStream
}

type ModuleService_StreamCallServer

type ModuleService_StreamCallServer interface {
	Send(*StreamCallResponse) error
	Recv() (*StreamCallRequest, error)
	grpc.ServerStream
}

type StreamCallConfigRequest

type StreamCallConfigRequest struct {
	Method               *wrappers.StringValue `protobuf:"bytes,1,opt,name=method" json:"method,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*StreamCallConfigRequest) Descriptor

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

func (*StreamCallConfigRequest) GetMethod

func (*StreamCallConfigRequest) ProtoMessage

func (*StreamCallConfigRequest) ProtoMessage()

func (*StreamCallConfigRequest) Reset

func (m *StreamCallConfigRequest) Reset()

func (*StreamCallConfigRequest) String

func (m *StreamCallConfigRequest) String() string

func (*StreamCallConfigRequest) Validate

func (this *StreamCallConfigRequest) Validate() error

func (*StreamCallConfigRequest) XXX_DiscardUnknown

func (m *StreamCallConfigRequest) XXX_DiscardUnknown()

func (*StreamCallConfigRequest) XXX_Marshal

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

func (*StreamCallConfigRequest) XXX_Merge

func (dst *StreamCallConfigRequest) XXX_Merge(src proto.Message)

func (*StreamCallConfigRequest) XXX_Size

func (m *StreamCallConfigRequest) XXX_Size() int

func (*StreamCallConfigRequest) XXX_Unmarshal

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

type StreamCallConfigResponse

type StreamCallConfigResponse struct {
	Method               string   `protobuf:"bytes,1,opt,name=method" json:"method,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StreamCallConfigResponse) Descriptor

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

func (*StreamCallConfigResponse) GetMethod

func (m *StreamCallConfigResponse) GetMethod() string

func (*StreamCallConfigResponse) ProtoMessage

func (*StreamCallConfigResponse) ProtoMessage()

func (*StreamCallConfigResponse) Reset

func (m *StreamCallConfigResponse) Reset()

func (*StreamCallConfigResponse) String

func (m *StreamCallConfigResponse) String() string

func (*StreamCallConfigResponse) Validate

func (this *StreamCallConfigResponse) Validate() error

func (*StreamCallConfigResponse) XXX_DiscardUnknown

func (m *StreamCallConfigResponse) XXX_DiscardUnknown()

func (*StreamCallConfigResponse) XXX_Marshal

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

func (*StreamCallConfigResponse) XXX_Merge

func (dst *StreamCallConfigResponse) XXX_Merge(src proto.Message)

func (*StreamCallConfigResponse) XXX_Size

func (m *StreamCallConfigResponse) XXX_Size() int

func (*StreamCallConfigResponse) XXX_Unmarshal

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

type StreamCallDataRequest

type StreamCallDataRequest struct {
	Value                *any.Any `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StreamCallDataRequest) Descriptor

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

func (*StreamCallDataRequest) GetValue

func (m *StreamCallDataRequest) GetValue() *any.Any

func (*StreamCallDataRequest) ProtoMessage

func (*StreamCallDataRequest) ProtoMessage()

func (*StreamCallDataRequest) Reset

func (m *StreamCallDataRequest) Reset()

func (*StreamCallDataRequest) String

func (m *StreamCallDataRequest) String() string

func (*StreamCallDataRequest) Validate

func (this *StreamCallDataRequest) Validate() error

func (*StreamCallDataRequest) XXX_DiscardUnknown

func (m *StreamCallDataRequest) XXX_DiscardUnknown()

func (*StreamCallDataRequest) XXX_Marshal

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

func (*StreamCallDataRequest) XXX_Merge

func (dst *StreamCallDataRequest) XXX_Merge(src proto.Message)

func (*StreamCallDataRequest) XXX_Size

func (m *StreamCallDataRequest) XXX_Size() int

func (*StreamCallDataRequest) XXX_Unmarshal

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

type StreamCallDataResponse

type StreamCallDataResponse struct {
	Value                *any.Any `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StreamCallDataResponse) Descriptor

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

func (*StreamCallDataResponse) GetValue

func (m *StreamCallDataResponse) GetValue() *any.Any

func (*StreamCallDataResponse) ProtoMessage

func (*StreamCallDataResponse) ProtoMessage()

func (*StreamCallDataResponse) Reset

func (m *StreamCallDataResponse) Reset()

func (*StreamCallDataResponse) String

func (m *StreamCallDataResponse) String() string

func (*StreamCallDataResponse) Validate

func (this *StreamCallDataResponse) Validate() error

func (*StreamCallDataResponse) XXX_DiscardUnknown

func (m *StreamCallDataResponse) XXX_DiscardUnknown()

func (*StreamCallDataResponse) XXX_Marshal

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

func (*StreamCallDataResponse) XXX_Merge

func (dst *StreamCallDataResponse) XXX_Merge(src proto.Message)

func (*StreamCallDataResponse) XXX_Size

func (m *StreamCallDataResponse) XXX_Size() int

func (*StreamCallDataResponse) XXX_Unmarshal

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

type StreamCallRequest

type StreamCallRequest struct {
	// Types that are valid to be assigned to Request:
	//	*StreamCallRequest_Config
	//	*StreamCallRequest_Data
	Request              isStreamCallRequest_Request `protobuf_oneof:"request"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*StreamCallRequest) Descriptor

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

func (*StreamCallRequest) GetConfig

func (*StreamCallRequest) GetData

func (*StreamCallRequest) GetRequest

func (m *StreamCallRequest) GetRequest() isStreamCallRequest_Request

func (*StreamCallRequest) ProtoMessage

func (*StreamCallRequest) ProtoMessage()

func (*StreamCallRequest) Reset

func (m *StreamCallRequest) Reset()

func (*StreamCallRequest) String

func (m *StreamCallRequest) String() string

func (*StreamCallRequest) Validate

func (this *StreamCallRequest) Validate() error

func (*StreamCallRequest) XXX_DiscardUnknown

func (m *StreamCallRequest) XXX_DiscardUnknown()

func (*StreamCallRequest) XXX_Marshal

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

func (*StreamCallRequest) XXX_Merge

func (dst *StreamCallRequest) XXX_Merge(src proto.Message)

func (*StreamCallRequest) XXX_OneofFuncs

func (*StreamCallRequest) 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 (*StreamCallRequest) XXX_Size

func (m *StreamCallRequest) XXX_Size() int

func (*StreamCallRequest) XXX_Unmarshal

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

type StreamCallRequest_Config

type StreamCallRequest_Config struct {
	Config *StreamCallConfigRequest `protobuf:"bytes,1,opt,name=config,oneof"`
}

type StreamCallRequest_Data

type StreamCallRequest_Data struct {
	Data *StreamCallDataRequest `protobuf:"bytes,21,opt,name=data,oneof"`
}

type StreamCallResponse

type StreamCallResponse struct {
	// Types that are valid to be assigned to Response:
	//	*StreamCallResponse_Config
	//	*StreamCallResponse_Data
	Response             isStreamCallResponse_Response `protobuf_oneof:"response"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*StreamCallResponse) Descriptor

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

func (*StreamCallResponse) GetConfig

func (*StreamCallResponse) GetData

func (*StreamCallResponse) GetResponse

func (m *StreamCallResponse) GetResponse() isStreamCallResponse_Response

func (*StreamCallResponse) ProtoMessage

func (*StreamCallResponse) ProtoMessage()

func (*StreamCallResponse) Reset

func (m *StreamCallResponse) Reset()

func (*StreamCallResponse) String

func (m *StreamCallResponse) String() string

func (*StreamCallResponse) Validate

func (this *StreamCallResponse) Validate() error

func (*StreamCallResponse) XXX_DiscardUnknown

func (m *StreamCallResponse) XXX_DiscardUnknown()

func (*StreamCallResponse) XXX_Marshal

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

func (*StreamCallResponse) XXX_Merge

func (dst *StreamCallResponse) XXX_Merge(src proto.Message)

func (*StreamCallResponse) XXX_OneofFuncs

func (*StreamCallResponse) 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 (*StreamCallResponse) XXX_Size

func (m *StreamCallResponse) XXX_Size() int

func (*StreamCallResponse) XXX_Unmarshal

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

type StreamCallResponse_Config

type StreamCallResponse_Config struct {
	Config *StreamCallConfigResponse `protobuf:"bytes,1,opt,name=config,oneof"`
}

type StreamCallResponse_Data

type StreamCallResponse_Data struct {
	Data *StreamCallDataResponse `protobuf:"bytes,21,opt,name=data,oneof"`
}

type UnaryCallRequest

type UnaryCallRequest struct {
	Method               *wrappers.StringValue `protobuf:"bytes,1,opt,name=method" json:"method,omitempty"`
	Value                *any.Any              `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*UnaryCallRequest) Descriptor

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

func (*UnaryCallRequest) GetMethod

func (m *UnaryCallRequest) GetMethod() *wrappers.StringValue

func (*UnaryCallRequest) GetValue

func (m *UnaryCallRequest) GetValue() *any.Any

func (*UnaryCallRequest) ProtoMessage

func (*UnaryCallRequest) ProtoMessage()

func (*UnaryCallRequest) Reset

func (m *UnaryCallRequest) Reset()

func (*UnaryCallRequest) String

func (m *UnaryCallRequest) String() string

func (*UnaryCallRequest) Validate

func (this *UnaryCallRequest) Validate() error

func (*UnaryCallRequest) XXX_DiscardUnknown

func (m *UnaryCallRequest) XXX_DiscardUnknown()

func (*UnaryCallRequest) XXX_Marshal

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

func (*UnaryCallRequest) XXX_Merge

func (dst *UnaryCallRequest) XXX_Merge(src proto.Message)

func (*UnaryCallRequest) XXX_Size

func (m *UnaryCallRequest) XXX_Size() int

func (*UnaryCallRequest) XXX_Unmarshal

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

type UnaryCallResponse

type UnaryCallResponse struct {
	Method               string   `protobuf:"bytes,1,opt,name=method" json:"method,omitempty"`
	Value                *any.Any `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UnaryCallResponse) Descriptor

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

func (*UnaryCallResponse) GetMethod

func (m *UnaryCallResponse) GetMethod() string

func (*UnaryCallResponse) GetValue

func (m *UnaryCallResponse) GetValue() *any.Any

func (*UnaryCallResponse) ProtoMessage

func (*UnaryCallResponse) ProtoMessage()

func (*UnaryCallResponse) Reset

func (m *UnaryCallResponse) Reset()

func (*UnaryCallResponse) String

func (m *UnaryCallResponse) String() string

func (*UnaryCallResponse) Validate

func (this *UnaryCallResponse) Validate() error

func (*UnaryCallResponse) XXX_DiscardUnknown

func (m *UnaryCallResponse) XXX_DiscardUnknown()

func (*UnaryCallResponse) XXX_Marshal

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

func (*UnaryCallResponse) XXX_Merge

func (dst *UnaryCallResponse) XXX_Merge(src proto.Message)

func (*UnaryCallResponse) XXX_Size

func (m *UnaryCallResponse) XXX_Size() int

func (*UnaryCallResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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