static_primitives_v1

package
v0.0.0-...-588a488 Latest Latest
Warning

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

Go to latest
Published: May 10, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Code generated by aggproto. DO NOT EDIT.

Code generated by aggproto. DO NOT EDIT.

Code generated by aggproto. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_static_primitives_v1_mock_listing_proto protoreflect.FileDescriptor
View Source
var MockListingService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "static_primitives_v1.MockListingService",
	HandlerType: (*MockListingServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "InvokeMockListing",
			Handler:    _MockListingService_InvokeMockListing_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "static_primitives_v1/mock_listing.proto",
}

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

Functions

func RegisterMockListingServiceServer

func RegisterMockListingServiceServer(s grpc.ServiceRegistrar, srv MockListingServiceServer)

Types

type MockListingRequest

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

func (*MockListingRequest) Descriptor deprecated

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

Deprecated: Use MockListingRequest.ProtoReflect.Descriptor instead.

func (*MockListingRequest) ProtoMessage

func (*MockListingRequest) ProtoMessage()

func (*MockListingRequest) ProtoReflect

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

func (*MockListingRequest) Reset

func (x *MockListingRequest) Reset()

func (*MockListingRequest) String

func (x *MockListingRequest) String() string

type MockListingResponse

type MockListingResponse struct {
	Listing *MockListingResponse_ListingGen `protobuf:"bytes,1,opt,name=listing,proto3" json:"listing,omitempty"`
	// contains filtered or unexported fields
}

func (*MockListingResponse) Descriptor deprecated

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

Deprecated: Use MockListingResponse.ProtoReflect.Descriptor instead.

func (*MockListingResponse) GetListing

func (*MockListingResponse) ProtoMessage

func (*MockListingResponse) ProtoMessage()

func (*MockListingResponse) ProtoReflect

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

func (*MockListingResponse) Reset

func (x *MockListingResponse) Reset()

func (*MockListingResponse) String

func (x *MockListingResponse) String() string

type MockListingResponse_ListingGen

type MockListingResponse_ListingGen struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*MockListingResponse_ListingGen) Descriptor deprecated

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

Deprecated: Use MockListingResponse_ListingGen.ProtoReflect.Descriptor instead.

func (*MockListingResponse_ListingGen) GetDescription

func (x *MockListingResponse_ListingGen) GetDescription() string

func (*MockListingResponse_ListingGen) GetTitle

func (x *MockListingResponse_ListingGen) GetTitle() string

func (*MockListingResponse_ListingGen) ProtoMessage

func (*MockListingResponse_ListingGen) ProtoMessage()

func (*MockListingResponse_ListingGen) ProtoReflect

func (*MockListingResponse_ListingGen) Reset

func (x *MockListingResponse_ListingGen) Reset()

func (*MockListingResponse_ListingGen) String

type MockListingServiceClient

type MockListingServiceClient interface {
	InvokeMockListing(ctx context.Context, in *MockListingRequest, opts ...grpc.CallOption) (*MockListingResponse, error)
}

MockListingServiceClient is the client API for MockListingService 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 MockListingServiceServer

type MockListingServiceServer interface {
	InvokeMockListing(context.Context, *MockListingRequest) (*MockListingResponse, error)
	// contains filtered or unexported methods
}

MockListingServiceServer is the server API for MockListingService service. All implementations must embed UnimplementedMockListingServiceServer for forward compatibility

func New

type UnimplementedMockListingServiceServer

type UnimplementedMockListingServiceServer struct {
}

UnimplementedMockListingServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMockListingServiceServer) InvokeMockListing

type UnsafeMockListingServiceServer

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

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

Jump to

Keyboard shortcuts

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