lostidv1

package
v1.16.6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package lostidv1 is a generated GoMock package.

Index

Constants

View Source
const (
	LostIdService_Collectible_FullMethodName     = "/lostid.v1.LostIdService/Collectible"
	LostIdService_ListCollectible_FullMethodName = "/lostid.v1.LostIdService/ListCollectible"
	LostIdService_Search_FullMethodName          = "/lostid.v1.LostIdService/Search"
	LostIdService_ListSearch_FullMethodName      = "/lostid.v1.LostIdService/ListSearch"
	LostIdService_Progress_FullMethodName        = "/lostid.v1.LostIdService/Progress"
	LostIdService_ListTransaction_FullMethodName = "/lostid.v1.LostIdService/ListTransaction"
)

Variables

View Source
var (
	ItemType_name = map[int32]string{
		0: "COLLECTIBLE",
		1: "SEARCH",
		2: "TRANSACTION",
	}
	ItemType_value = map[string]int32{
		"COLLECTIBLE": 0,
		"SEARCH":      1,
		"TRANSACTION": 2,
	}
)

Enum value maps for ItemType.

View Source
var File_lostid_v1_lostid_proto protoreflect.FileDescriptor
View Source
var LostIdService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "lostid.v1.LostIdService",
	HandlerType: (*LostIdServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Collectible",
			Handler:    _LostIdService_Collectible_Handler,
		},
		{
			MethodName: "Search",
			Handler:    _LostIdService_Search_Handler,
		},
		{
			MethodName: "Progress",
			Handler:    _LostIdService_Progress_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ListCollectible",
			Handler:       _LostIdService_ListCollectible_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ListSearch",
			Handler:       _LostIdService_ListSearch_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ListTransaction",
			Handler:       _LostIdService_ListTransaction_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "lostid/v1/lostid.proto",
}

LostIdService_ServiceDesc is the grpc.ServiceDesc for LostIdService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterLostIdServiceServer

func RegisterLostIdServiceServer(s grpc.ServiceRegistrar, srv LostIdServiceServer)

Types

type CollectibleRequest

type CollectibleRequest struct {
	FileId     []string          `protobuf:"bytes,1,rep,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
	Properties map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request to log a Collectible card

func (*CollectibleRequest) Descriptor deprecated

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

Deprecated: Use CollectibleRequest.ProtoReflect.Descriptor instead.

func (*CollectibleRequest) GetFileId

func (x *CollectibleRequest) GetFileId() []string

func (*CollectibleRequest) GetProperties

func (x *CollectibleRequest) GetProperties() map[string]string

func (*CollectibleRequest) ProtoMessage

func (*CollectibleRequest) ProtoMessage()

func (*CollectibleRequest) ProtoReflect

func (x *CollectibleRequest) ProtoReflect() protoreflect.Message

func (*CollectibleRequest) Reset

func (x *CollectibleRequest) Reset()

func (*CollectibleRequest) String

func (x *CollectibleRequest) String() string

type CollectibleResponse

type CollectibleResponse struct {
	Id         string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	FileId     []string          `protobuf:"bytes,2,rep,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
	Properties map[string]string `` /* 161-byte string literal not displayed */
	State      string            `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectibleResponse) Descriptor deprecated

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

Deprecated: Use CollectibleResponse.ProtoReflect.Descriptor instead.

func (*CollectibleResponse) GetFileId

func (x *CollectibleResponse) GetFileId() []string

func (*CollectibleResponse) GetId

func (x *CollectibleResponse) GetId() string

func (*CollectibleResponse) GetProperties

func (x *CollectibleResponse) GetProperties() map[string]string

func (*CollectibleResponse) GetState

func (x *CollectibleResponse) GetState() string

func (*CollectibleResponse) ProtoMessage

func (*CollectibleResponse) ProtoMessage()

func (*CollectibleResponse) ProtoReflect

func (x *CollectibleResponse) ProtoReflect() protoreflect.Message

func (*CollectibleResponse) Reset

func (x *CollectibleResponse) Reset()

func (*CollectibleResponse) String

func (x *CollectibleResponse) String() string

type ItemType

type ItemType int32

buf:lint:ignore ENUM_VALUE_PREFIX

const (
	// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
	ItemType_COLLECTIBLE ItemType = 0
	ItemType_SEARCH      ItemType = 1
	ItemType_TRANSACTION ItemType = 2
)

func (ItemType) Descriptor

func (ItemType) Descriptor() protoreflect.EnumDescriptor

func (ItemType) Enum

func (x ItemType) Enum() *ItemType

func (ItemType) EnumDescriptor deprecated

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

Deprecated: Use ItemType.Descriptor instead.

func (ItemType) Number

func (x ItemType) Number() protoreflect.EnumNumber

func (ItemType) String

func (x ItemType) String() string

func (ItemType) Type

type ListCollectibleRequest

type ListCollectibleRequest struct {

	// Types that are assignable to Range:
	//
	//	*ListCollectibleRequest_Pagination
	//	*ListCollectibleRequest_Interval
	Range isListCollectibleRequest_Range `protobuf_oneof:"range"`
	// contains filtered or unexported fields
}

func (*ListCollectibleRequest) Descriptor deprecated

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

Deprecated: Use ListCollectibleRequest.ProtoReflect.Descriptor instead.

func (*ListCollectibleRequest) GetInterval

func (x *ListCollectibleRequest) GetInterval() *interval.Interval

func (*ListCollectibleRequest) GetPagination

func (x *ListCollectibleRequest) GetPagination() *v1.Pagination

func (*ListCollectibleRequest) GetRange

func (m *ListCollectibleRequest) GetRange() isListCollectibleRequest_Range

func (*ListCollectibleRequest) ProtoMessage

func (*ListCollectibleRequest) ProtoMessage()

func (*ListCollectibleRequest) ProtoReflect

func (x *ListCollectibleRequest) ProtoReflect() protoreflect.Message

func (*ListCollectibleRequest) Reset

func (x *ListCollectibleRequest) Reset()

func (*ListCollectibleRequest) String

func (x *ListCollectibleRequest) String() string

type ListCollectibleRequest_Interval

type ListCollectibleRequest_Interval struct {
	Interval *interval.Interval `protobuf:"bytes,2,opt,name=interval,proto3,oneof"`
}

type ListCollectibleRequest_Pagination

type ListCollectibleRequest_Pagination struct {
	Pagination *v1.Pagination `protobuf:"bytes,1,opt,name=pagination,proto3,oneof"`
}

type ListCollectibleResponse

type ListCollectibleResponse struct {
	Data []*CollectibleResponse `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCollectibleResponse) Descriptor deprecated

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

Deprecated: Use ListCollectibleResponse.ProtoReflect.Descriptor instead.

func (*ListCollectibleResponse) GetData

func (*ListCollectibleResponse) ProtoMessage

func (*ListCollectibleResponse) ProtoMessage()

func (*ListCollectibleResponse) ProtoReflect

func (x *ListCollectibleResponse) ProtoReflect() protoreflect.Message

func (*ListCollectibleResponse) Reset

func (x *ListCollectibleResponse) Reset()

func (*ListCollectibleResponse) String

func (x *ListCollectibleResponse) String() string

type ListSearchRequest

type ListSearchRequest struct {

	// Types that are assignable to Range:
	//
	//	*ListSearchRequest_Pagination
	//	*ListSearchRequest_Interval
	Range isListSearchRequest_Range `protobuf_oneof:"range"`
	// contains filtered or unexported fields
}

func (*ListSearchRequest) Descriptor deprecated

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

Deprecated: Use ListSearchRequest.ProtoReflect.Descriptor instead.

func (*ListSearchRequest) GetInterval

func (x *ListSearchRequest) GetInterval() *interval.Interval

func (*ListSearchRequest) GetPagination

func (x *ListSearchRequest) GetPagination() *v1.Pagination

func (*ListSearchRequest) GetRange

func (m *ListSearchRequest) GetRange() isListSearchRequest_Range

func (*ListSearchRequest) ProtoMessage

func (*ListSearchRequest) ProtoMessage()

func (*ListSearchRequest) ProtoReflect

func (x *ListSearchRequest) ProtoReflect() protoreflect.Message

func (*ListSearchRequest) Reset

func (x *ListSearchRequest) Reset()

func (*ListSearchRequest) String

func (x *ListSearchRequest) String() string

type ListSearchRequest_Interval

type ListSearchRequest_Interval struct {
	Interval *interval.Interval `protobuf:"bytes,2,opt,name=interval,proto3,oneof"`
}

type ListSearchRequest_Pagination

type ListSearchRequest_Pagination struct {
	Pagination *v1.Pagination `protobuf:"bytes,1,opt,name=pagination,proto3,oneof"`
}

type ListSearchResponse

type ListSearchResponse struct {
	Data []*SearchResponse `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSearchResponse) Descriptor deprecated

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

Deprecated: Use ListSearchResponse.ProtoReflect.Descriptor instead.

func (*ListSearchResponse) GetData

func (x *ListSearchResponse) GetData() []*SearchResponse

func (*ListSearchResponse) ProtoMessage

func (*ListSearchResponse) ProtoMessage()

func (*ListSearchResponse) ProtoReflect

func (x *ListSearchResponse) ProtoReflect() protoreflect.Message

func (*ListSearchResponse) Reset

func (x *ListSearchResponse) Reset()

func (*ListSearchResponse) String

func (x *ListSearchResponse) String() string

type ListTransactionRequest

type ListTransactionRequest struct {

	// Types that are assignable to Range:
	//
	//	*ListTransactionRequest_Pagination
	//	*ListTransactionRequest_Interval
	Range isListTransactionRequest_Range `protobuf_oneof:"range"`
	// contains filtered or unexported fields
}

func (*ListTransactionRequest) Descriptor deprecated

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

Deprecated: Use ListTransactionRequest.ProtoReflect.Descriptor instead.

func (*ListTransactionRequest) GetInterval

func (x *ListTransactionRequest) GetInterval() *interval.Interval

func (*ListTransactionRequest) GetPagination

func (x *ListTransactionRequest) GetPagination() *v1.Pagination

func (*ListTransactionRequest) GetRange

func (m *ListTransactionRequest) GetRange() isListTransactionRequest_Range

func (*ListTransactionRequest) ProtoMessage

func (*ListTransactionRequest) ProtoMessage()

func (*ListTransactionRequest) ProtoReflect

func (x *ListTransactionRequest) ProtoReflect() protoreflect.Message

func (*ListTransactionRequest) Reset

func (x *ListTransactionRequest) Reset()

func (*ListTransactionRequest) String

func (x *ListTransactionRequest) String() string

type ListTransactionRequest_Interval

type ListTransactionRequest_Interval struct {
	Interval *interval.Interval `protobuf:"bytes,2,opt,name=interval,proto3,oneof"`
}

type ListTransactionRequest_Pagination

type ListTransactionRequest_Pagination struct {
	Pagination *v1.Pagination `protobuf:"bytes,1,opt,name=pagination,proto3,oneof"`
}

type ListTransactionResponse

type ListTransactionResponse struct {
	Data []*TransactionItem `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTransactionResponse) Descriptor deprecated

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

Deprecated: Use ListTransactionResponse.ProtoReflect.Descriptor instead.

func (*ListTransactionResponse) GetData

func (x *ListTransactionResponse) GetData() []*TransactionItem

func (*ListTransactionResponse) ProtoMessage

func (*ListTransactionResponse) ProtoMessage()

func (*ListTransactionResponse) ProtoReflect

func (x *ListTransactionResponse) ProtoReflect() protoreflect.Message

func (*ListTransactionResponse) Reset

func (x *ListTransactionResponse) Reset()

func (*ListTransactionResponse) String

func (x *ListTransactionResponse) String() string

type LostIdServiceClient

type LostIdServiceClient interface {
	// Log a new Collectible request
	Collectible(ctx context.Context, in *CollectibleRequest, opts ...grpc.CallOption) (*CollectibleResponse, error)
	ListCollectible(ctx context.Context, in *ListCollectibleRequest, opts ...grpc.CallOption) (LostIdService_ListCollectibleClient, error)
	// Log a new search request
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error)
	ListSearch(ctx context.Context, in *ListSearchRequest, opts ...grpc.CallOption) (LostIdService_ListSearchClient, error)
	Progress(ctx context.Context, in *ProgressRequest, opts ...grpc.CallOption) (*ProgressResponse, error)
	ListTransaction(ctx context.Context, in *ListTransactionRequest, opts ...grpc.CallOption) (LostIdService_ListTransactionClient, error)
}

LostIdServiceClient is the client API for LostIdService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type LostIdServiceServer

type LostIdServiceServer interface {
	// Log a new Collectible request
	Collectible(context.Context, *CollectibleRequest) (*CollectibleResponse, error)
	ListCollectible(*ListCollectibleRequest, LostIdService_ListCollectibleServer) error
	// Log a new search request
	Search(context.Context, *SearchRequest) (*SearchResponse, error)
	ListSearch(*ListSearchRequest, LostIdService_ListSearchServer) error
	Progress(context.Context, *ProgressRequest) (*ProgressResponse, error)
	ListTransaction(*ListTransactionRequest, LostIdService_ListTransactionServer) error
	// contains filtered or unexported methods
}

LostIdServiceServer is the server API for LostIdService service. All implementations must embed UnimplementedLostIdServiceServer for forward compatibility

type LostIdService_ListCollectibleClient

type LostIdService_ListCollectibleClient interface {
	Recv() (*ListCollectibleResponse, error)
	grpc.ClientStream
}

type LostIdService_ListCollectibleServer

type LostIdService_ListCollectibleServer interface {
	Send(*ListCollectibleResponse) error
	grpc.ServerStream
}

type LostIdService_ListSearchClient

type LostIdService_ListSearchClient interface {
	Recv() (*ListSearchResponse, error)
	grpc.ClientStream
}

type LostIdService_ListSearchServer

type LostIdService_ListSearchServer interface {
	Send(*ListSearchResponse) error
	grpc.ServerStream
}

type LostIdService_ListTransactionClient

type LostIdService_ListTransactionClient interface {
	Recv() (*ListTransactionResponse, error)
	grpc.ClientStream
}

type LostIdService_ListTransactionServer

type LostIdService_ListTransactionServer interface {
	Send(*ListTransactionResponse) error
	grpc.ServerStream
}

type MockLostIdServiceClient

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

MockLostIdServiceClient is a mock of LostIdServiceClient interface.

func NewMockLostIdServiceClient

func NewMockLostIdServiceClient(ctrl *gomock.Controller) *MockLostIdServiceClient

NewMockLostIdServiceClient creates a new mock instance.

func (*MockLostIdServiceClient) Collectible

Collectible mocks base method.

func (*MockLostIdServiceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLostIdServiceClient) ListCollectible

ListCollectible mocks base method.

func (*MockLostIdServiceClient) ListSearch

ListSearch mocks base method.

func (*MockLostIdServiceClient) ListTransaction

ListTransaction mocks base method.

func (*MockLostIdServiceClient) Progress

Progress mocks base method.

func (*MockLostIdServiceClient) Search

Search mocks base method.

type MockLostIdServiceClientMockRecorder

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

MockLostIdServiceClientMockRecorder is the mock recorder for MockLostIdServiceClient.

func (*MockLostIdServiceClientMockRecorder) Collectible

func (mr *MockLostIdServiceClientMockRecorder) Collectible(ctx, in any, opts ...any) *gomock.Call

Collectible indicates an expected call of Collectible.

func (*MockLostIdServiceClientMockRecorder) ListCollectible

func (mr *MockLostIdServiceClientMockRecorder) ListCollectible(ctx, in any, opts ...any) *gomock.Call

ListCollectible indicates an expected call of ListCollectible.

func (*MockLostIdServiceClientMockRecorder) ListSearch

func (mr *MockLostIdServiceClientMockRecorder) ListSearch(ctx, in any, opts ...any) *gomock.Call

ListSearch indicates an expected call of ListSearch.

func (*MockLostIdServiceClientMockRecorder) ListTransaction

func (mr *MockLostIdServiceClientMockRecorder) ListTransaction(ctx, in any, opts ...any) *gomock.Call

ListTransaction indicates an expected call of ListTransaction.

func (*MockLostIdServiceClientMockRecorder) Progress

func (mr *MockLostIdServiceClientMockRecorder) Progress(ctx, in any, opts ...any) *gomock.Call

Progress indicates an expected call of Progress.

func (*MockLostIdServiceClientMockRecorder) Search

func (mr *MockLostIdServiceClientMockRecorder) Search(ctx, in any, opts ...any) *gomock.Call

Search indicates an expected call of Search.

type MockLostIdServiceServer

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

MockLostIdServiceServer is a mock of LostIdServiceServer interface.

func NewMockLostIdServiceServer

func NewMockLostIdServiceServer(ctrl *gomock.Controller) *MockLostIdServiceServer

NewMockLostIdServiceServer creates a new mock instance.

func (*MockLostIdServiceServer) Collectible

Collectible mocks base method.

func (*MockLostIdServiceServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLostIdServiceServer) ListCollectible

ListCollectible mocks base method.

func (*MockLostIdServiceServer) ListSearch

ListSearch mocks base method.

func (*MockLostIdServiceServer) ListTransaction

ListTransaction mocks base method.

func (*MockLostIdServiceServer) Progress

Progress mocks base method.

func (*MockLostIdServiceServer) Search

Search mocks base method.

type MockLostIdServiceServerMockRecorder

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

MockLostIdServiceServerMockRecorder is the mock recorder for MockLostIdServiceServer.

func (*MockLostIdServiceServerMockRecorder) Collectible

func (mr *MockLostIdServiceServerMockRecorder) Collectible(arg0, arg1 any) *gomock.Call

Collectible indicates an expected call of Collectible.

func (*MockLostIdServiceServerMockRecorder) ListCollectible

func (mr *MockLostIdServiceServerMockRecorder) ListCollectible(arg0, arg1 any) *gomock.Call

ListCollectible indicates an expected call of ListCollectible.

func (*MockLostIdServiceServerMockRecorder) ListSearch

func (mr *MockLostIdServiceServerMockRecorder) ListSearch(arg0, arg1 any) *gomock.Call

ListSearch indicates an expected call of ListSearch.

func (*MockLostIdServiceServerMockRecorder) ListTransaction

func (mr *MockLostIdServiceServerMockRecorder) ListTransaction(arg0, arg1 any) *gomock.Call

ListTransaction indicates an expected call of ListTransaction.

func (*MockLostIdServiceServerMockRecorder) Progress

func (mr *MockLostIdServiceServerMockRecorder) Progress(arg0, arg1 any) *gomock.Call

Progress indicates an expected call of Progress.

func (*MockLostIdServiceServerMockRecorder) Search

func (mr *MockLostIdServiceServerMockRecorder) Search(arg0, arg1 any) *gomock.Call

Search indicates an expected call of Search.

type MockLostIdService_ListCollectibleClient

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

MockLostIdService_ListCollectibleClient is a mock of LostIdService_ListCollectibleClient interface.

func NewMockLostIdService_ListCollectibleClient

func NewMockLostIdService_ListCollectibleClient(ctrl *gomock.Controller) *MockLostIdService_ListCollectibleClient

NewMockLostIdService_ListCollectibleClient creates a new mock instance.

func (*MockLostIdService_ListCollectibleClient) CloseSend

CloseSend mocks base method.

func (*MockLostIdService_ListCollectibleClient) Context

Context mocks base method.

func (*MockLostIdService_ListCollectibleClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLostIdService_ListCollectibleClient) Header

Header mocks base method.

func (*MockLostIdService_ListCollectibleClient) Recv

Recv mocks base method.

func (*MockLostIdService_ListCollectibleClient) RecvMsg

RecvMsg mocks base method.

func (*MockLostIdService_ListCollectibleClient) SendMsg

SendMsg mocks base method.

func (*MockLostIdService_ListCollectibleClient) Trailer

Trailer mocks base method.

type MockLostIdService_ListCollectibleClientMockRecorder

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

MockLostIdService_ListCollectibleClientMockRecorder is the mock recorder for MockLostIdService_ListCollectibleClient.

func (*MockLostIdService_ListCollectibleClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockLostIdService_ListCollectibleClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLostIdService_ListCollectibleClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockLostIdService_ListCollectibleClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockLostIdService_ListCollectibleClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockLostIdService_ListCollectibleClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockLostIdService_ListCollectibleClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockLostIdService_ListCollectibleServer

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

MockLostIdService_ListCollectibleServer is a mock of LostIdService_ListCollectibleServer interface.

func NewMockLostIdService_ListCollectibleServer

func NewMockLostIdService_ListCollectibleServer(ctrl *gomock.Controller) *MockLostIdService_ListCollectibleServer

NewMockLostIdService_ListCollectibleServer creates a new mock instance.

func (*MockLostIdService_ListCollectibleServer) Context

Context mocks base method.

func (*MockLostIdService_ListCollectibleServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLostIdService_ListCollectibleServer) RecvMsg

RecvMsg mocks base method.

func (*MockLostIdService_ListCollectibleServer) Send

Send mocks base method.

func (*MockLostIdService_ListCollectibleServer) SendHeader

SendHeader mocks base method.

func (*MockLostIdService_ListCollectibleServer) SendMsg

SendMsg mocks base method.

func (*MockLostIdService_ListCollectibleServer) SetHeader

SetHeader mocks base method.

func (*MockLostIdService_ListCollectibleServer) SetTrailer

SetTrailer mocks base method.

type MockLostIdService_ListCollectibleServerMockRecorder

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

MockLostIdService_ListCollectibleServerMockRecorder is the mock recorder for MockLostIdService_ListCollectibleServer.

func (*MockLostIdService_ListCollectibleServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLostIdService_ListCollectibleServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockLostIdService_ListCollectibleServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockLostIdService_ListCollectibleServerMockRecorder) SendHeader

SendHeader indicates an expected call of SendHeader.

func (*MockLostIdService_ListCollectibleServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockLostIdService_ListCollectibleServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader.

func (*MockLostIdService_ListCollectibleServerMockRecorder) SetTrailer

SetTrailer indicates an expected call of SetTrailer.

type MockLostIdService_ListSearchClient

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

MockLostIdService_ListSearchClient is a mock of LostIdService_ListSearchClient interface.

func NewMockLostIdService_ListSearchClient

func NewMockLostIdService_ListSearchClient(ctrl *gomock.Controller) *MockLostIdService_ListSearchClient

NewMockLostIdService_ListSearchClient creates a new mock instance.

func (*MockLostIdService_ListSearchClient) CloseSend

CloseSend mocks base method.

func (*MockLostIdService_ListSearchClient) Context

Context mocks base method.

func (*MockLostIdService_ListSearchClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLostIdService_ListSearchClient) Header

Header mocks base method.

func (*MockLostIdService_ListSearchClient) Recv

Recv mocks base method.

func (*MockLostIdService_ListSearchClient) RecvMsg

RecvMsg mocks base method.

func (*MockLostIdService_ListSearchClient) SendMsg

SendMsg mocks base method.

func (*MockLostIdService_ListSearchClient) Trailer

Trailer mocks base method.

type MockLostIdService_ListSearchClientMockRecorder

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

MockLostIdService_ListSearchClientMockRecorder is the mock recorder for MockLostIdService_ListSearchClient.

func (*MockLostIdService_ListSearchClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockLostIdService_ListSearchClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLostIdService_ListSearchClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockLostIdService_ListSearchClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockLostIdService_ListSearchClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockLostIdService_ListSearchClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockLostIdService_ListSearchClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockLostIdService_ListSearchServer

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

MockLostIdService_ListSearchServer is a mock of LostIdService_ListSearchServer interface.

func NewMockLostIdService_ListSearchServer

func NewMockLostIdService_ListSearchServer(ctrl *gomock.Controller) *MockLostIdService_ListSearchServer

NewMockLostIdService_ListSearchServer creates a new mock instance.

func (*MockLostIdService_ListSearchServer) Context

Context mocks base method.

func (*MockLostIdService_ListSearchServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLostIdService_ListSearchServer) RecvMsg

RecvMsg mocks base method.

func (*MockLostIdService_ListSearchServer) Send

Send mocks base method.

func (*MockLostIdService_ListSearchServer) SendHeader

SendHeader mocks base method.

func (*MockLostIdService_ListSearchServer) SendMsg

SendMsg mocks base method.

func (*MockLostIdService_ListSearchServer) SetHeader

SetHeader mocks base method.

func (*MockLostIdService_ListSearchServer) SetTrailer

func (m *MockLostIdService_ListSearchServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockLostIdService_ListSearchServerMockRecorder

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

MockLostIdService_ListSearchServerMockRecorder is the mock recorder for MockLostIdService_ListSearchServer.

func (*MockLostIdService_ListSearchServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLostIdService_ListSearchServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockLostIdService_ListSearchServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockLostIdService_ListSearchServerMockRecorder) SendHeader

SendHeader indicates an expected call of SendHeader.

func (*MockLostIdService_ListSearchServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockLostIdService_ListSearchServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader.

func (*MockLostIdService_ListSearchServerMockRecorder) SetTrailer

SetTrailer indicates an expected call of SetTrailer.

type MockLostIdService_ListTransactionClient

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

MockLostIdService_ListTransactionClient is a mock of LostIdService_ListTransactionClient interface.

func NewMockLostIdService_ListTransactionClient

func NewMockLostIdService_ListTransactionClient(ctrl *gomock.Controller) *MockLostIdService_ListTransactionClient

NewMockLostIdService_ListTransactionClient creates a new mock instance.

func (*MockLostIdService_ListTransactionClient) CloseSend

CloseSend mocks base method.

func (*MockLostIdService_ListTransactionClient) Context

Context mocks base method.

func (*MockLostIdService_ListTransactionClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLostIdService_ListTransactionClient) Header

Header mocks base method.

func (*MockLostIdService_ListTransactionClient) Recv

Recv mocks base method.

func (*MockLostIdService_ListTransactionClient) RecvMsg

RecvMsg mocks base method.

func (*MockLostIdService_ListTransactionClient) SendMsg

SendMsg mocks base method.

func (*MockLostIdService_ListTransactionClient) Trailer

Trailer mocks base method.

type MockLostIdService_ListTransactionClientMockRecorder

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

MockLostIdService_ListTransactionClientMockRecorder is the mock recorder for MockLostIdService_ListTransactionClient.

func (*MockLostIdService_ListTransactionClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockLostIdService_ListTransactionClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLostIdService_ListTransactionClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockLostIdService_ListTransactionClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockLostIdService_ListTransactionClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockLostIdService_ListTransactionClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockLostIdService_ListTransactionClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockLostIdService_ListTransactionServer

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

MockLostIdService_ListTransactionServer is a mock of LostIdService_ListTransactionServer interface.

func NewMockLostIdService_ListTransactionServer

func NewMockLostIdService_ListTransactionServer(ctrl *gomock.Controller) *MockLostIdService_ListTransactionServer

NewMockLostIdService_ListTransactionServer creates a new mock instance.

func (*MockLostIdService_ListTransactionServer) Context

Context mocks base method.

func (*MockLostIdService_ListTransactionServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLostIdService_ListTransactionServer) RecvMsg

RecvMsg mocks base method.

func (*MockLostIdService_ListTransactionServer) Send

Send mocks base method.

func (*MockLostIdService_ListTransactionServer) SendHeader

SendHeader mocks base method.

func (*MockLostIdService_ListTransactionServer) SendMsg

SendMsg mocks base method.

func (*MockLostIdService_ListTransactionServer) SetHeader

SetHeader mocks base method.

func (*MockLostIdService_ListTransactionServer) SetTrailer

SetTrailer mocks base method.

type MockLostIdService_ListTransactionServerMockRecorder

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

MockLostIdService_ListTransactionServerMockRecorder is the mock recorder for MockLostIdService_ListTransactionServer.

func (*MockLostIdService_ListTransactionServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockLostIdService_ListTransactionServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockLostIdService_ListTransactionServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockLostIdService_ListTransactionServerMockRecorder) SendHeader

SendHeader indicates an expected call of SendHeader.

func (*MockLostIdService_ListTransactionServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockLostIdService_ListTransactionServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader.

func (*MockLostIdService_ListTransactionServerMockRecorder) SetTrailer

SetTrailer indicates an expected call of SetTrailer.

type MockUnsafeLostIdServiceServer

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

MockUnsafeLostIdServiceServer is a mock of UnsafeLostIdServiceServer interface.

func NewMockUnsafeLostIdServiceServer

func NewMockUnsafeLostIdServiceServer(ctrl *gomock.Controller) *MockUnsafeLostIdServiceServer

NewMockUnsafeLostIdServiceServer creates a new mock instance.

func (*MockUnsafeLostIdServiceServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockUnsafeLostIdServiceServerMockRecorder

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

MockUnsafeLostIdServiceServerMockRecorder is the mock recorder for MockUnsafeLostIdServiceServer.

type ProgressItem

type ProgressItem struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Datetime    string `protobuf:"bytes,2,opt,name=datetime,proto3" json:"datetime,omitempty"`
	State       string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*ProgressItem) Descriptor deprecated

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

Deprecated: Use ProgressItem.ProtoReflect.Descriptor instead.

func (*ProgressItem) GetDatetime

func (x *ProgressItem) GetDatetime() string

func (*ProgressItem) GetDescription

func (x *ProgressItem) GetDescription() string

func (*ProgressItem) GetId

func (x *ProgressItem) GetId() string

func (*ProgressItem) GetState

func (x *ProgressItem) GetState() string

func (*ProgressItem) ProtoMessage

func (*ProgressItem) ProtoMessage()

func (*ProgressItem) ProtoReflect

func (x *ProgressItem) ProtoReflect() protoreflect.Message

func (*ProgressItem) Reset

func (x *ProgressItem) Reset()

func (*ProgressItem) String

func (x *ProgressItem) String() string

type ProgressRequest

type ProgressRequest struct {
	Id   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type ItemType `protobuf:"varint,2,opt,name=type,proto3,enum=lostid.v1.ItemType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ProgressRequest) Descriptor deprecated

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

Deprecated: Use ProgressRequest.ProtoReflect.Descriptor instead.

func (*ProgressRequest) GetId

func (x *ProgressRequest) GetId() string

func (*ProgressRequest) GetType

func (x *ProgressRequest) GetType() ItemType

func (*ProgressRequest) ProtoMessage

func (*ProgressRequest) ProtoMessage()

func (*ProgressRequest) ProtoReflect

func (x *ProgressRequest) ProtoReflect() protoreflect.Message

func (*ProgressRequest) Reset

func (x *ProgressRequest) Reset()

func (*ProgressRequest) String

func (x *ProgressRequest) String() string

type ProgressResponse

type ProgressResponse struct {
	Id           string             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type         ItemType           `protobuf:"varint,2,opt,name=type,proto3,enum=lostid.v1.ItemType" json:"type,omitempty"`
	Properties   map[string]string  `` /* 161-byte string literal not displayed */
	State        string             `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	Items        []*ProgressItem    `protobuf:"bytes,5,rep,name=items,proto3" json:"items,omitempty"`
	Transactions []*TransactionItem `protobuf:"bytes,6,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*ProgressResponse) Descriptor deprecated

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

Deprecated: Use ProgressResponse.ProtoReflect.Descriptor instead.

func (*ProgressResponse) GetId

func (x *ProgressResponse) GetId() string

func (*ProgressResponse) GetItems

func (x *ProgressResponse) GetItems() []*ProgressItem

func (*ProgressResponse) GetProperties

func (x *ProgressResponse) GetProperties() map[string]string

func (*ProgressResponse) GetState

func (x *ProgressResponse) GetState() string

func (*ProgressResponse) GetTransactions

func (x *ProgressResponse) GetTransactions() []*TransactionItem

func (*ProgressResponse) GetType

func (x *ProgressResponse) GetType() ItemType

func (*ProgressResponse) ProtoMessage

func (*ProgressResponse) ProtoMessage()

func (*ProgressResponse) ProtoReflect

func (x *ProgressResponse) ProtoReflect() protoreflect.Message

func (*ProgressResponse) Reset

func (x *ProgressResponse) Reset()

func (*ProgressResponse) String

func (x *ProgressResponse) String() string

type SearchRequest

type SearchRequest struct {
	Id         string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Query      string            `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	Properties map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SearchRequest) Descriptor deprecated

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

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetId

func (x *SearchRequest) GetId() string

func (*SearchRequest) GetProperties

func (x *SearchRequest) GetProperties() map[string]string

func (*SearchRequest) GetQuery

func (x *SearchRequest) GetQuery() string

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect

func (x *SearchRequest) ProtoReflect() protoreflect.Message

func (*SearchRequest) Reset

func (x *SearchRequest) Reset()

func (*SearchRequest) String

func (x *SearchRequest) String() string

type SearchResponse

type SearchResponse struct {
	Id         string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Query      string            `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	Properties map[string]string `` /* 161-byte string literal not displayed */
	State      string            `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchResponse) Descriptor deprecated

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

Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.

func (*SearchResponse) GetId

func (x *SearchResponse) GetId() string

func (*SearchResponse) GetProperties

func (x *SearchResponse) GetProperties() map[string]string

func (*SearchResponse) GetQuery

func (x *SearchResponse) GetQuery() string

func (*SearchResponse) GetState

func (x *SearchResponse) GetState() string

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) ProtoReflect

func (x *SearchResponse) ProtoReflect() protoreflect.Message

func (*SearchResponse) Reset

func (x *SearchResponse) Reset()

func (*SearchResponse) String

func (x *SearchResponse) String() string

type TransactionItem

type TransactionItem struct {
	Id          string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Datetime    string       `protobuf:"bytes,2,opt,name=datetime,proto3" json:"datetime,omitempty"`
	Credit      bool         `protobuf:"varint,3,opt,name=credit,proto3" json:"credit,omitempty"`
	Amount      *money.Money `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	Description string       `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionItem) Descriptor deprecated

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

Deprecated: Use TransactionItem.ProtoReflect.Descriptor instead.

func (*TransactionItem) GetAmount

func (x *TransactionItem) GetAmount() *money.Money

func (*TransactionItem) GetCredit

func (x *TransactionItem) GetCredit() bool

func (*TransactionItem) GetDatetime

func (x *TransactionItem) GetDatetime() string

func (*TransactionItem) GetDescription

func (x *TransactionItem) GetDescription() string

func (*TransactionItem) GetId

func (x *TransactionItem) GetId() string

func (*TransactionItem) ProtoMessage

func (*TransactionItem) ProtoMessage()

func (*TransactionItem) ProtoReflect

func (x *TransactionItem) ProtoReflect() protoreflect.Message

func (*TransactionItem) Reset

func (x *TransactionItem) Reset()

func (*TransactionItem) String

func (x *TransactionItem) String() string

type UnimplementedLostIdServiceServer

type UnimplementedLostIdServiceServer struct {
}

UnimplementedLostIdServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLostIdServiceServer) Collectible

func (UnimplementedLostIdServiceServer) ListSearch

func (UnimplementedLostIdServiceServer) Progress

func (UnimplementedLostIdServiceServer) Search

type UnsafeLostIdServiceServer

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

UnsafeLostIdServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LostIdServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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