Documentation ¶
Index ¶
- Variables
- type Request
- type Request_Crop
- func (Request_Crop) Descriptor() protoreflect.EnumDescriptor
- func (x Request_Crop) Enum() *Request_Crop
- func (Request_Crop) EnumDescriptor() ([]byte, []int)deprecated
- func (x Request_Crop) Number() protoreflect.EnumNumber
- func (x Request_Crop) String() string
- func (Request_Crop) Type() protoreflect.EnumType
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetNailHeight() uint32
- func (x *Response) GetNailWidth() uint32
- func (x *Response) GetSourceType() string
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Request_Crop_name = map[int32]string{ 0: "NO_CROP", 1: "TOP_SQUARE", } Request_Crop_value = map[string]int32{ "NO_CROP": 0, "TOP_SQUARE": 1, } )
Enum value maps for Request_Crop.
View Source
var File_thumq_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { Scale uint32 `protobuf:"varint,1,opt,name=scale,proto3" json:"scale,omitempty"` Crop Request_Crop `protobuf:"varint,2,opt,name=crop,proto3,enum=thumq.Request_Crop" json:"crop,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) GetCrop ¶
func (x *Request) GetCrop() Request_Crop
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Request_Crop ¶
type Request_Crop int32
const ( Request_NO_CROP Request_Crop = 0 Request_TOP_SQUARE Request_Crop = 1 )
func (Request_Crop) Descriptor ¶
func (Request_Crop) Descriptor() protoreflect.EnumDescriptor
func (Request_Crop) Enum ¶
func (x Request_Crop) Enum() *Request_Crop
func (Request_Crop) EnumDescriptor
deprecated
func (Request_Crop) EnumDescriptor() ([]byte, []int)
Deprecated: Use Request_Crop.Descriptor instead.
func (Request_Crop) Number ¶
func (x Request_Crop) Number() protoreflect.EnumNumber
func (Request_Crop) String ¶
func (x Request_Crop) String() string
func (Request_Crop) Type ¶
func (Request_Crop) Type() protoreflect.EnumType
type Response ¶
type Response struct { SourceType string `protobuf:"bytes,1,opt,name=source_type,json=sourceType,proto3" json:"source_type,omitempty"` NailWidth uint32 `protobuf:"varint,2,opt,name=nail_width,json=nailWidth,proto3" json:"nail_width,omitempty"` NailHeight uint32 `protobuf:"varint,3,opt,name=nail_height,json=nailHeight,proto3" json:"nail_height,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetNailHeight ¶
func (*Response) GetNailWidth ¶
func (*Response) GetSourceType ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.