collage_maker_pb

package
v0.0.0-...-34395f8 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_collage_maker_proto protoreflect.FileDescriptor
View Source
var ImageProcessor_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.ImageProcessor",
	HandlerType: (*ImageProcessorServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCollage",
			Handler:    _ImageProcessor_GetCollage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "collage_maker.proto",
}

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

Functions

func RegisterImageProcessorServer

func RegisterImageProcessorServer(s grpc.ServiceRegistrar, srv ImageProcessorServer)

Types

type ImageProcessorClient

type ImageProcessorClient interface {
	GetCollage(ctx context.Context, in *Images, opts ...grpc.CallOption) (*core_pb.Image, error)
}

ImageProcessorClient is the client API for ImageProcessor 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 ImageProcessorServer

type ImageProcessorServer interface {
	GetCollage(context.Context, *Images) (*core_pb.Image, error)
	// contains filtered or unexported methods
}

ImageProcessorServer is the server API for ImageProcessor service. All implementations must embed UnimplementedImageProcessorServer for forward compatibility

type ImageURL

type ImageURL struct {
	ImageURL string `protobuf:"bytes,1,opt,name=imageURL,proto3" json:"imageURL,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageURL) Descriptor deprecated

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

Deprecated: Use ImageURL.ProtoReflect.Descriptor instead.

func (*ImageURL) GetImageURL

func (x *ImageURL) GetImageURL() string

func (*ImageURL) ProtoMessage

func (*ImageURL) ProtoMessage()

func (*ImageURL) ProtoReflect

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

func (*ImageURL) Reset

func (x *ImageURL) Reset()

func (*ImageURL) String

func (x *ImageURL) String() string

type Images

type Images struct {
	Images     []*ImageURL `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	RowCount   int64       `protobuf:"varint,2,opt,name=rowCount,proto3" json:"rowCount,omitempty"`
	ColCount   int64       `protobuf:"varint,3,opt,name=colCount,proto3" json:"colCount,omitempty"`
	TargetSize int64       `protobuf:"varint,4,opt,name=targetSize,proto3" json:"targetSize,omitempty"`
	// contains filtered or unexported fields
}

func (*Images) Descriptor deprecated

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

Deprecated: Use Images.ProtoReflect.Descriptor instead.

func (*Images) GetColCount

func (x *Images) GetColCount() int64

func (*Images) GetImages

func (x *Images) GetImages() []*ImageURL

func (*Images) GetRowCount

func (x *Images) GetRowCount() int64

func (*Images) GetTargetSize

func (x *Images) GetTargetSize() int64

func (*Images) ProtoMessage

func (*Images) ProtoMessage()

func (*Images) ProtoReflect

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

func (*Images) Reset

func (x *Images) Reset()

func (*Images) String

func (x *Images) String() string

type UnimplementedImageProcessorServer

type UnimplementedImageProcessorServer struct {
}

UnimplementedImageProcessorServer must be embedded to have forward compatible implementations.

func (UnimplementedImageProcessorServer) GetCollage

type UnsafeImageProcessorServer

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

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

Jump to

Keyboard shortcuts

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