image

package
v1.6.8 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Default_ImagesCanvas_Color int32 = -1
View Source
const Default_ImagesGetUrlBaseRequest_CreateSecureUrl bool = false
View Source
const Default_InputSettings_ParseMetadata bool = false
View Source
const Default_Transform_AllowStretch bool = false
View Source
const Default_Transform_Autolevels bool = false
View Source
const Default_Transform_CropBottomY float32 = 1
View Source
const Default_Transform_CropLeftX float32 = 0
View Source
const Default_Transform_CropOffsetX float32 = 0.5
View Source
const Default_Transform_CropOffsetY float32 = 0.5
View Source
const Default_Transform_CropRightX float32 = 1
View Source
const Default_Transform_CropToFit bool = false
View Source
const Default_Transform_CropTopY float32 = 0
View Source
const Default_Transform_HorizontalFlip bool = false
View Source
const Default_Transform_Rotate int32 = 0
View Source
const Default_Transform_VerticalFlip bool = false

Variables

View Source
var CompositeImageOptions_ANCHOR_name = map[int32]string{
	0: "TOP_LEFT",
	1: "TOP",
	2: "TOP_RIGHT",
	3: "LEFT",
	4: "CENTER",
	5: "RIGHT",
	6: "BOTTOM_LEFT",
	7: "BOTTOM",
	8: "BOTTOM_RIGHT",
}
View Source
var CompositeImageOptions_ANCHOR_value = map[string]int32{
	"TOP_LEFT":     0,
	"TOP":          1,
	"TOP_RIGHT":    2,
	"LEFT":         3,
	"CENTER":       4,
	"RIGHT":        5,
	"BOTTOM_LEFT":  6,
	"BOTTOM":       7,
	"BOTTOM_RIGHT": 8,
}
View Source
var ImagesServiceError_ErrorCode_name = map[int32]string{
	1: "UNSPECIFIED_ERROR",
	2: "BAD_TRANSFORM_DATA",
	3: "NOT_IMAGE",
	4: "BAD_IMAGE_DATA",
	5: "IMAGE_TOO_LARGE",
	6: "INVALID_BLOB_KEY",
	7: "ACCESS_DENIED",
	8: "OBJECT_NOT_FOUND",
}
View Source
var ImagesServiceError_ErrorCode_value = map[string]int32{
	"UNSPECIFIED_ERROR":  1,
	"BAD_TRANSFORM_DATA": 2,
	"NOT_IMAGE":          3,
	"BAD_IMAGE_DATA":     4,
	"IMAGE_TOO_LARGE":    5,
	"INVALID_BLOB_KEY":   6,
	"ACCESS_DENIED":      7,
	"OBJECT_NOT_FOUND":   8,
}
View Source
var ImagesServiceTransform_Type_name = map[int32]string{
	1: "RESIZE",
	2: "ROTATE",
	3: "HORIZONTAL_FLIP",
	4: "VERTICAL_FLIP",
	5: "CROP",
	6: "IM_FEELING_LUCKY",
}
View Source
var ImagesServiceTransform_Type_value = map[string]int32{
	"RESIZE":           1,
	"ROTATE":           2,
	"HORIZONTAL_FLIP":  3,
	"VERTICAL_FLIP":    4,
	"CROP":             5,
	"IM_FEELING_LUCKY": 6,
}
View Source
var InputSettings_ORIENTATION_CORRECTION_TYPE_name = map[int32]string{
	0: "UNCHANGED_ORIENTATION",
	1: "CORRECT_ORIENTATION",
}
View Source
var InputSettings_ORIENTATION_CORRECTION_TYPE_value = map[string]int32{
	"UNCHANGED_ORIENTATION": 0,
	"CORRECT_ORIENTATION":   1,
}
View Source
var OutputSettings_MIME_TYPE_name = map[int32]string{
	0: "PNG",
	1: "JPEG",
	2: "WEBP",
}
View Source
var OutputSettings_MIME_TYPE_value = map[string]int32{
	"PNG":  0,
	"JPEG": 1,
	"WEBP": 2,
}

Functions

This section is empty.

Types

type CompositeImageOptions

type CompositeImageOptions struct {
	SourceIndex          *int32                        `protobuf:"varint,1,req,name=source_index,json=sourceIndex" json:"source_index,omitempty"`
	XOffset              *int32                        `protobuf:"varint,2,req,name=x_offset,json=xOffset" json:"x_offset,omitempty"`
	YOffset              *int32                        `protobuf:"varint,3,req,name=y_offset,json=yOffset" json:"y_offset,omitempty"`
	Opacity              *float32                      `protobuf:"fixed32,4,req,name=opacity" json:"opacity,omitempty"`
	Anchor               *CompositeImageOptions_ANCHOR `protobuf:"varint,5,req,name=anchor,enum=appengine.CompositeImageOptions_ANCHOR" json:"anchor,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*CompositeImageOptions) Descriptor

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

func (*CompositeImageOptions) GetAnchor

func (*CompositeImageOptions) GetOpacity

func (m *CompositeImageOptions) GetOpacity() float32

func (*CompositeImageOptions) GetSourceIndex

func (m *CompositeImageOptions) GetSourceIndex() int32

func (*CompositeImageOptions) GetXOffset

func (m *CompositeImageOptions) GetXOffset() int32

func (*CompositeImageOptions) GetYOffset

func (m *CompositeImageOptions) GetYOffset() int32

func (*CompositeImageOptions) ProtoMessage

func (*CompositeImageOptions) ProtoMessage()

func (*CompositeImageOptions) Reset

func (m *CompositeImageOptions) Reset()

func (*CompositeImageOptions) String

func (m *CompositeImageOptions) String() string

func (*CompositeImageOptions) XXX_DiscardUnknown

func (m *CompositeImageOptions) XXX_DiscardUnknown()

func (*CompositeImageOptions) XXX_Marshal

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

func (*CompositeImageOptions) XXX_Merge

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

func (*CompositeImageOptions) XXX_Size

func (m *CompositeImageOptions) XXX_Size() int

func (*CompositeImageOptions) XXX_Unmarshal

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

type CompositeImageOptions_ANCHOR

type CompositeImageOptions_ANCHOR int32
const (
	CompositeImageOptions_TOP_LEFT     CompositeImageOptions_ANCHOR = 0
	CompositeImageOptions_TOP          CompositeImageOptions_ANCHOR = 1
	CompositeImageOptions_TOP_RIGHT    CompositeImageOptions_ANCHOR = 2
	CompositeImageOptions_LEFT         CompositeImageOptions_ANCHOR = 3
	CompositeImageOptions_CENTER       CompositeImageOptions_ANCHOR = 4
	CompositeImageOptions_RIGHT        CompositeImageOptions_ANCHOR = 5
	CompositeImageOptions_BOTTOM_LEFT  CompositeImageOptions_ANCHOR = 6
	CompositeImageOptions_BOTTOM       CompositeImageOptions_ANCHOR = 7
	CompositeImageOptions_BOTTOM_RIGHT CompositeImageOptions_ANCHOR = 8
)

func (CompositeImageOptions_ANCHOR) Enum

func (CompositeImageOptions_ANCHOR) EnumDescriptor

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

func (CompositeImageOptions_ANCHOR) String

func (*CompositeImageOptions_ANCHOR) UnmarshalJSON

func (x *CompositeImageOptions_ANCHOR) UnmarshalJSON(data []byte) error

type ImageData

type ImageData struct {
	Content              []byte   `protobuf:"bytes,1,req,name=content" json:"content,omitempty"`
	BlobKey              *string  `protobuf:"bytes,2,opt,name=blob_key,json=blobKey" json:"blob_key,omitempty"`
	Width                *int32   `protobuf:"varint,3,opt,name=width" json:"width,omitempty"`
	Height               *int32   `protobuf:"varint,4,opt,name=height" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImageData) Descriptor

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

func (*ImageData) GetBlobKey

func (m *ImageData) GetBlobKey() string

func (*ImageData) GetContent

func (m *ImageData) GetContent() []byte

func (*ImageData) GetHeight

func (m *ImageData) GetHeight() int32

func (*ImageData) GetWidth

func (m *ImageData) GetWidth() int32

func (*ImageData) ProtoMessage

func (*ImageData) ProtoMessage()

func (*ImageData) Reset

func (m *ImageData) Reset()

func (*ImageData) String

func (m *ImageData) String() string

func (*ImageData) XXX_DiscardUnknown

func (m *ImageData) XXX_DiscardUnknown()

func (*ImageData) XXX_Marshal

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

func (*ImageData) XXX_Merge

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

func (*ImageData) XXX_Size

func (m *ImageData) XXX_Size() int

func (*ImageData) XXX_Unmarshal

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

type ImagesCanvas

type ImagesCanvas struct {
	Width                *int32          `protobuf:"varint,1,req,name=width" json:"width,omitempty"`
	Height               *int32          `protobuf:"varint,2,req,name=height" json:"height,omitempty"`
	Output               *OutputSettings `protobuf:"bytes,3,req,name=output" json:"output,omitempty"`
	Color                *int32          `protobuf:"varint,4,opt,name=color,def=-1" json:"color,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ImagesCanvas) Descriptor

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

func (*ImagesCanvas) GetColor

func (m *ImagesCanvas) GetColor() int32

func (*ImagesCanvas) GetHeight

func (m *ImagesCanvas) GetHeight() int32

func (*ImagesCanvas) GetOutput

func (m *ImagesCanvas) GetOutput() *OutputSettings

func (*ImagesCanvas) GetWidth

func (m *ImagesCanvas) GetWidth() int32

func (*ImagesCanvas) ProtoMessage

func (*ImagesCanvas) ProtoMessage()

func (*ImagesCanvas) Reset

func (m *ImagesCanvas) Reset()

func (*ImagesCanvas) String

func (m *ImagesCanvas) String() string

func (*ImagesCanvas) XXX_DiscardUnknown

func (m *ImagesCanvas) XXX_DiscardUnknown()

func (*ImagesCanvas) XXX_Marshal

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

func (*ImagesCanvas) XXX_Merge

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

func (*ImagesCanvas) XXX_Size

func (m *ImagesCanvas) XXX_Size() int

func (*ImagesCanvas) XXX_Unmarshal

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

type ImagesCompositeRequest

type ImagesCompositeRequest struct {
	Image                []*ImageData             `protobuf:"bytes,1,rep,name=image" json:"image,omitempty"`
	Options              []*CompositeImageOptions `protobuf:"bytes,2,rep,name=options" json:"options,omitempty"`
	Canvas               *ImagesCanvas            `protobuf:"bytes,3,req,name=canvas" json:"canvas,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*ImagesCompositeRequest) Descriptor

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

func (*ImagesCompositeRequest) GetCanvas

func (m *ImagesCompositeRequest) GetCanvas() *ImagesCanvas

func (*ImagesCompositeRequest) GetImage

func (m *ImagesCompositeRequest) GetImage() []*ImageData

func (*ImagesCompositeRequest) GetOptions

func (m *ImagesCompositeRequest) GetOptions() []*CompositeImageOptions

func (*ImagesCompositeRequest) ProtoMessage

func (*ImagesCompositeRequest) ProtoMessage()

func (*ImagesCompositeRequest) Reset

func (m *ImagesCompositeRequest) Reset()

func (*ImagesCompositeRequest) String

func (m *ImagesCompositeRequest) String() string

func (*ImagesCompositeRequest) XXX_DiscardUnknown

func (m *ImagesCompositeRequest) XXX_DiscardUnknown()

func (*ImagesCompositeRequest) XXX_Marshal

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

func (*ImagesCompositeRequest) XXX_Merge

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

func (*ImagesCompositeRequest) XXX_Size

func (m *ImagesCompositeRequest) XXX_Size() int

func (*ImagesCompositeRequest) XXX_Unmarshal

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

type ImagesCompositeResponse

type ImagesCompositeResponse struct {
	Image                *ImageData `protobuf:"bytes,1,req,name=image" json:"image,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ImagesCompositeResponse) Descriptor

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

func (*ImagesCompositeResponse) GetImage

func (m *ImagesCompositeResponse) GetImage() *ImageData

func (*ImagesCompositeResponse) ProtoMessage

func (*ImagesCompositeResponse) ProtoMessage()

func (*ImagesCompositeResponse) Reset

func (m *ImagesCompositeResponse) Reset()

func (*ImagesCompositeResponse) String

func (m *ImagesCompositeResponse) String() string

func (*ImagesCompositeResponse) XXX_DiscardUnknown

func (m *ImagesCompositeResponse) XXX_DiscardUnknown()

func (*ImagesCompositeResponse) XXX_Marshal

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

func (*ImagesCompositeResponse) XXX_Merge

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

func (*ImagesCompositeResponse) XXX_Size

func (m *ImagesCompositeResponse) XXX_Size() int

func (*ImagesCompositeResponse) XXX_Unmarshal

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

type ImagesDeleteUrlBaseRequest

type ImagesDeleteUrlBaseRequest struct {
	BlobKey              *string  `protobuf:"bytes,1,req,name=blob_key,json=blobKey" json:"blob_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImagesDeleteUrlBaseRequest) Descriptor

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

func (*ImagesDeleteUrlBaseRequest) GetBlobKey

func (m *ImagesDeleteUrlBaseRequest) GetBlobKey() string

func (*ImagesDeleteUrlBaseRequest) ProtoMessage

func (*ImagesDeleteUrlBaseRequest) ProtoMessage()

func (*ImagesDeleteUrlBaseRequest) Reset

func (m *ImagesDeleteUrlBaseRequest) Reset()

func (*ImagesDeleteUrlBaseRequest) String

func (m *ImagesDeleteUrlBaseRequest) String() string

func (*ImagesDeleteUrlBaseRequest) XXX_DiscardUnknown

func (m *ImagesDeleteUrlBaseRequest) XXX_DiscardUnknown()

func (*ImagesDeleteUrlBaseRequest) XXX_Marshal

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

func (*ImagesDeleteUrlBaseRequest) XXX_Merge

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

func (*ImagesDeleteUrlBaseRequest) XXX_Size

func (m *ImagesDeleteUrlBaseRequest) XXX_Size() int

func (*ImagesDeleteUrlBaseRequest) XXX_Unmarshal

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

type ImagesDeleteUrlBaseResponse

type ImagesDeleteUrlBaseResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImagesDeleteUrlBaseResponse) Descriptor

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

func (*ImagesDeleteUrlBaseResponse) ProtoMessage

func (*ImagesDeleteUrlBaseResponse) ProtoMessage()

func (*ImagesDeleteUrlBaseResponse) Reset

func (m *ImagesDeleteUrlBaseResponse) Reset()

func (*ImagesDeleteUrlBaseResponse) String

func (m *ImagesDeleteUrlBaseResponse) String() string

func (*ImagesDeleteUrlBaseResponse) XXX_DiscardUnknown

func (m *ImagesDeleteUrlBaseResponse) XXX_DiscardUnknown()

func (*ImagesDeleteUrlBaseResponse) XXX_Marshal

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

func (*ImagesDeleteUrlBaseResponse) XXX_Merge

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

func (*ImagesDeleteUrlBaseResponse) XXX_Size

func (m *ImagesDeleteUrlBaseResponse) XXX_Size() int

func (*ImagesDeleteUrlBaseResponse) XXX_Unmarshal

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

type ImagesGetUrlBaseRequest

type ImagesGetUrlBaseRequest struct {
	BlobKey              *string  `protobuf:"bytes,1,req,name=blob_key,json=blobKey" json:"blob_key,omitempty"`
	CreateSecureUrl      *bool    `protobuf:"varint,2,opt,name=create_secure_url,json=createSecureUrl,def=0" json:"create_secure_url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImagesGetUrlBaseRequest) Descriptor

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

func (*ImagesGetUrlBaseRequest) GetBlobKey

func (m *ImagesGetUrlBaseRequest) GetBlobKey() string

func (*ImagesGetUrlBaseRequest) GetCreateSecureUrl

func (m *ImagesGetUrlBaseRequest) GetCreateSecureUrl() bool

func (*ImagesGetUrlBaseRequest) ProtoMessage

func (*ImagesGetUrlBaseRequest) ProtoMessage()

func (*ImagesGetUrlBaseRequest) Reset

func (m *ImagesGetUrlBaseRequest) Reset()

func (*ImagesGetUrlBaseRequest) String

func (m *ImagesGetUrlBaseRequest) String() string

func (*ImagesGetUrlBaseRequest) XXX_DiscardUnknown

func (m *ImagesGetUrlBaseRequest) XXX_DiscardUnknown()

func (*ImagesGetUrlBaseRequest) XXX_Marshal

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

func (*ImagesGetUrlBaseRequest) XXX_Merge

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

func (*ImagesGetUrlBaseRequest) XXX_Size

func (m *ImagesGetUrlBaseRequest) XXX_Size() int

func (*ImagesGetUrlBaseRequest) XXX_Unmarshal

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

type ImagesGetUrlBaseResponse

type ImagesGetUrlBaseResponse struct {
	Url                  *string  `protobuf:"bytes,1,req,name=url" json:"url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImagesGetUrlBaseResponse) Descriptor

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

func (*ImagesGetUrlBaseResponse) GetUrl

func (m *ImagesGetUrlBaseResponse) GetUrl() string

func (*ImagesGetUrlBaseResponse) ProtoMessage

func (*ImagesGetUrlBaseResponse) ProtoMessage()

func (*ImagesGetUrlBaseResponse) Reset

func (m *ImagesGetUrlBaseResponse) Reset()

func (*ImagesGetUrlBaseResponse) String

func (m *ImagesGetUrlBaseResponse) String() string

func (*ImagesGetUrlBaseResponse) XXX_DiscardUnknown

func (m *ImagesGetUrlBaseResponse) XXX_DiscardUnknown()

func (*ImagesGetUrlBaseResponse) XXX_Marshal

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

func (*ImagesGetUrlBaseResponse) XXX_Merge

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

func (*ImagesGetUrlBaseResponse) XXX_Size

func (m *ImagesGetUrlBaseResponse) XXX_Size() int

func (*ImagesGetUrlBaseResponse) XXX_Unmarshal

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

type ImagesHistogram

type ImagesHistogram struct {
	Red                  []int32  `protobuf:"varint,1,rep,name=red" json:"red,omitempty"`
	Green                []int32  `protobuf:"varint,2,rep,name=green" json:"green,omitempty"`
	Blue                 []int32  `protobuf:"varint,3,rep,name=blue" json:"blue,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImagesHistogram) Descriptor

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

func (*ImagesHistogram) GetBlue

func (m *ImagesHistogram) GetBlue() []int32

func (*ImagesHistogram) GetGreen

func (m *ImagesHistogram) GetGreen() []int32

func (*ImagesHistogram) GetRed

func (m *ImagesHistogram) GetRed() []int32

func (*ImagesHistogram) ProtoMessage

func (*ImagesHistogram) ProtoMessage()

func (*ImagesHistogram) Reset

func (m *ImagesHistogram) Reset()

func (*ImagesHistogram) String

func (m *ImagesHistogram) String() string

func (*ImagesHistogram) XXX_DiscardUnknown

func (m *ImagesHistogram) XXX_DiscardUnknown()

func (*ImagesHistogram) XXX_Marshal

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

func (*ImagesHistogram) XXX_Merge

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

func (*ImagesHistogram) XXX_Size

func (m *ImagesHistogram) XXX_Size() int

func (*ImagesHistogram) XXX_Unmarshal

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

type ImagesHistogramRequest

type ImagesHistogramRequest struct {
	Image                *ImageData `protobuf:"bytes,1,req,name=image" json:"image,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ImagesHistogramRequest) Descriptor

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

func (*ImagesHistogramRequest) GetImage

func (m *ImagesHistogramRequest) GetImage() *ImageData

func (*ImagesHistogramRequest) ProtoMessage

func (*ImagesHistogramRequest) ProtoMessage()

func (*ImagesHistogramRequest) Reset

func (m *ImagesHistogramRequest) Reset()

func (*ImagesHistogramRequest) String

func (m *ImagesHistogramRequest) String() string

func (*ImagesHistogramRequest) XXX_DiscardUnknown

func (m *ImagesHistogramRequest) XXX_DiscardUnknown()

func (*ImagesHistogramRequest) XXX_Marshal

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

func (*ImagesHistogramRequest) XXX_Merge

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

func (*ImagesHistogramRequest) XXX_Size

func (m *ImagesHistogramRequest) XXX_Size() int

func (*ImagesHistogramRequest) XXX_Unmarshal

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

type ImagesHistogramResponse

type ImagesHistogramResponse struct {
	Histogram            *ImagesHistogram `protobuf:"bytes,1,req,name=histogram" json:"histogram,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ImagesHistogramResponse) Descriptor

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

func (*ImagesHistogramResponse) GetHistogram

func (m *ImagesHistogramResponse) GetHistogram() *ImagesHistogram

func (*ImagesHistogramResponse) ProtoMessage

func (*ImagesHistogramResponse) ProtoMessage()

func (*ImagesHistogramResponse) Reset

func (m *ImagesHistogramResponse) Reset()

func (*ImagesHistogramResponse) String

func (m *ImagesHistogramResponse) String() string

func (*ImagesHistogramResponse) XXX_DiscardUnknown

func (m *ImagesHistogramResponse) XXX_DiscardUnknown()

func (*ImagesHistogramResponse) XXX_Marshal

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

func (*ImagesHistogramResponse) XXX_Merge

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

func (*ImagesHistogramResponse) XXX_Size

func (m *ImagesHistogramResponse) XXX_Size() int

func (*ImagesHistogramResponse) XXX_Unmarshal

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

type ImagesServiceError

type ImagesServiceError struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImagesServiceError) Descriptor

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

func (*ImagesServiceError) ProtoMessage

func (*ImagesServiceError) ProtoMessage()

func (*ImagesServiceError) Reset

func (m *ImagesServiceError) Reset()

func (*ImagesServiceError) String

func (m *ImagesServiceError) String() string

func (*ImagesServiceError) XXX_DiscardUnknown

func (m *ImagesServiceError) XXX_DiscardUnknown()

func (*ImagesServiceError) XXX_Marshal

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

func (*ImagesServiceError) XXX_Merge

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

func (*ImagesServiceError) XXX_Size

func (m *ImagesServiceError) XXX_Size() int

func (*ImagesServiceError) XXX_Unmarshal

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

type ImagesServiceError_ErrorCode

type ImagesServiceError_ErrorCode int32
const (
	ImagesServiceError_UNSPECIFIED_ERROR  ImagesServiceError_ErrorCode = 1
	ImagesServiceError_BAD_TRANSFORM_DATA ImagesServiceError_ErrorCode = 2
	ImagesServiceError_NOT_IMAGE          ImagesServiceError_ErrorCode = 3
	ImagesServiceError_BAD_IMAGE_DATA     ImagesServiceError_ErrorCode = 4
	ImagesServiceError_IMAGE_TOO_LARGE    ImagesServiceError_ErrorCode = 5
	ImagesServiceError_INVALID_BLOB_KEY   ImagesServiceError_ErrorCode = 6
	ImagesServiceError_ACCESS_DENIED      ImagesServiceError_ErrorCode = 7
	ImagesServiceError_OBJECT_NOT_FOUND   ImagesServiceError_ErrorCode = 8
)

func (ImagesServiceError_ErrorCode) Enum

func (ImagesServiceError_ErrorCode) EnumDescriptor

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

func (ImagesServiceError_ErrorCode) String

func (*ImagesServiceError_ErrorCode) UnmarshalJSON

func (x *ImagesServiceError_ErrorCode) UnmarshalJSON(data []byte) error

type ImagesServiceTransform

type ImagesServiceTransform struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImagesServiceTransform) Descriptor

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

func (*ImagesServiceTransform) ProtoMessage

func (*ImagesServiceTransform) ProtoMessage()

func (*ImagesServiceTransform) Reset

func (m *ImagesServiceTransform) Reset()

func (*ImagesServiceTransform) String

func (m *ImagesServiceTransform) String() string

func (*ImagesServiceTransform) XXX_DiscardUnknown

func (m *ImagesServiceTransform) XXX_DiscardUnknown()

func (*ImagesServiceTransform) XXX_Marshal

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

func (*ImagesServiceTransform) XXX_Merge

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

func (*ImagesServiceTransform) XXX_Size

func (m *ImagesServiceTransform) XXX_Size() int

func (*ImagesServiceTransform) XXX_Unmarshal

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

type ImagesServiceTransform_Type

type ImagesServiceTransform_Type int32
const (
	ImagesServiceTransform_RESIZE           ImagesServiceTransform_Type = 1
	ImagesServiceTransform_ROTATE           ImagesServiceTransform_Type = 2
	ImagesServiceTransform_HORIZONTAL_FLIP  ImagesServiceTransform_Type = 3
	ImagesServiceTransform_VERTICAL_FLIP    ImagesServiceTransform_Type = 4
	ImagesServiceTransform_CROP             ImagesServiceTransform_Type = 5
	ImagesServiceTransform_IM_FEELING_LUCKY ImagesServiceTransform_Type = 6
)

func (ImagesServiceTransform_Type) Enum

func (ImagesServiceTransform_Type) EnumDescriptor

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

func (ImagesServiceTransform_Type) String

func (*ImagesServiceTransform_Type) UnmarshalJSON

func (x *ImagesServiceTransform_Type) UnmarshalJSON(data []byte) error

type ImagesTransformRequest

type ImagesTransformRequest struct {
	Image                *ImageData      `protobuf:"bytes,1,req,name=image" json:"image,omitempty"`
	Transform            []*Transform    `protobuf:"bytes,2,rep,name=transform" json:"transform,omitempty"`
	Output               *OutputSettings `protobuf:"bytes,3,req,name=output" json:"output,omitempty"`
	Input                *InputSettings  `protobuf:"bytes,4,opt,name=input" json:"input,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ImagesTransformRequest) Descriptor

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

func (*ImagesTransformRequest) GetImage

func (m *ImagesTransformRequest) GetImage() *ImageData

func (*ImagesTransformRequest) GetInput

func (m *ImagesTransformRequest) GetInput() *InputSettings

func (*ImagesTransformRequest) GetOutput

func (m *ImagesTransformRequest) GetOutput() *OutputSettings

func (*ImagesTransformRequest) GetTransform

func (m *ImagesTransformRequest) GetTransform() []*Transform

func (*ImagesTransformRequest) ProtoMessage

func (*ImagesTransformRequest) ProtoMessage()

func (*ImagesTransformRequest) Reset

func (m *ImagesTransformRequest) Reset()

func (*ImagesTransformRequest) String

func (m *ImagesTransformRequest) String() string

func (*ImagesTransformRequest) XXX_DiscardUnknown

func (m *ImagesTransformRequest) XXX_DiscardUnknown()

func (*ImagesTransformRequest) XXX_Marshal

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

func (*ImagesTransformRequest) XXX_Merge

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

func (*ImagesTransformRequest) XXX_Size

func (m *ImagesTransformRequest) XXX_Size() int

func (*ImagesTransformRequest) XXX_Unmarshal

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

type ImagesTransformResponse

type ImagesTransformResponse struct {
	Image                *ImageData `protobuf:"bytes,1,req,name=image" json:"image,omitempty"`
	SourceMetadata       *string    `protobuf:"bytes,2,opt,name=source_metadata,json=sourceMetadata" json:"source_metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ImagesTransformResponse) Descriptor

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

func (*ImagesTransformResponse) GetImage

func (m *ImagesTransformResponse) GetImage() *ImageData

func (*ImagesTransformResponse) GetSourceMetadata

func (m *ImagesTransformResponse) GetSourceMetadata() string

func (*ImagesTransformResponse) ProtoMessage

func (*ImagesTransformResponse) ProtoMessage()

func (*ImagesTransformResponse) Reset

func (m *ImagesTransformResponse) Reset()

func (*ImagesTransformResponse) String

func (m *ImagesTransformResponse) String() string

func (*ImagesTransformResponse) XXX_DiscardUnknown

func (m *ImagesTransformResponse) XXX_DiscardUnknown()

func (*ImagesTransformResponse) XXX_Marshal

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

func (*ImagesTransformResponse) XXX_Merge

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

func (*ImagesTransformResponse) XXX_Size

func (m *ImagesTransformResponse) XXX_Size() int

func (*ImagesTransformResponse) XXX_Unmarshal

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

type InputSettings

type InputSettings struct {
	CorrectExifOrientation     *InputSettings_ORIENTATION_CORRECTION_TYPE `` /* 186-byte string literal not displayed */
	ParseMetadata              *bool                                      `protobuf:"varint,2,opt,name=parse_metadata,json=parseMetadata,def=0" json:"parse_metadata,omitempty"`
	TransparentSubstitutionRgb *int32                                     `` /* 135-byte string literal not displayed */
	XXX_NoUnkeyedLiteral       struct{}                                   `json:"-"`
	XXX_unrecognized           []byte                                     `json:"-"`
	XXX_sizecache              int32                                      `json:"-"`
}

func (*InputSettings) Descriptor

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

func (*InputSettings) GetCorrectExifOrientation

func (m *InputSettings) GetCorrectExifOrientation() InputSettings_ORIENTATION_CORRECTION_TYPE

func (*InputSettings) GetParseMetadata

func (m *InputSettings) GetParseMetadata() bool

func (*InputSettings) GetTransparentSubstitutionRgb

func (m *InputSettings) GetTransparentSubstitutionRgb() int32

func (*InputSettings) ProtoMessage

func (*InputSettings) ProtoMessage()

func (*InputSettings) Reset

func (m *InputSettings) Reset()

func (*InputSettings) String

func (m *InputSettings) String() string

func (*InputSettings) XXX_DiscardUnknown

func (m *InputSettings) XXX_DiscardUnknown()

func (*InputSettings) XXX_Marshal

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

func (*InputSettings) XXX_Merge

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

func (*InputSettings) XXX_Size

func (m *InputSettings) XXX_Size() int

func (*InputSettings) XXX_Unmarshal

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

type InputSettings_ORIENTATION_CORRECTION_TYPE

type InputSettings_ORIENTATION_CORRECTION_TYPE int32
const (
	InputSettings_UNCHANGED_ORIENTATION InputSettings_ORIENTATION_CORRECTION_TYPE = 0
	InputSettings_CORRECT_ORIENTATION   InputSettings_ORIENTATION_CORRECTION_TYPE = 1
)
const Default_InputSettings_CorrectExifOrientation InputSettings_ORIENTATION_CORRECTION_TYPE = InputSettings_UNCHANGED_ORIENTATION

func (InputSettings_ORIENTATION_CORRECTION_TYPE) Enum

func (InputSettings_ORIENTATION_CORRECTION_TYPE) EnumDescriptor

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

func (InputSettings_ORIENTATION_CORRECTION_TYPE) String

func (*InputSettings_ORIENTATION_CORRECTION_TYPE) UnmarshalJSON

func (x *InputSettings_ORIENTATION_CORRECTION_TYPE) UnmarshalJSON(data []byte) error

type OutputSettings

type OutputSettings struct {
	MimeType             *OutputSettings_MIME_TYPE `protobuf:"varint,1,opt,name=mime_type,json=mimeType,enum=appengine.OutputSettings_MIME_TYPE,def=0" json:"mime_type,omitempty"`
	Quality              *int32                    `protobuf:"varint,2,opt,name=quality" json:"quality,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*OutputSettings) Descriptor

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

func (*OutputSettings) GetMimeType

func (m *OutputSettings) GetMimeType() OutputSettings_MIME_TYPE

func (*OutputSettings) GetQuality

func (m *OutputSettings) GetQuality() int32

func (*OutputSettings) ProtoMessage

func (*OutputSettings) ProtoMessage()

func (*OutputSettings) Reset

func (m *OutputSettings) Reset()

func (*OutputSettings) String

func (m *OutputSettings) String() string

func (*OutputSettings) XXX_DiscardUnknown

func (m *OutputSettings) XXX_DiscardUnknown()

func (*OutputSettings) XXX_Marshal

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

func (*OutputSettings) XXX_Merge

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

func (*OutputSettings) XXX_Size

func (m *OutputSettings) XXX_Size() int

func (*OutputSettings) XXX_Unmarshal

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

type OutputSettings_MIME_TYPE

type OutputSettings_MIME_TYPE int32
const (
	OutputSettings_PNG  OutputSettings_MIME_TYPE = 0
	OutputSettings_JPEG OutputSettings_MIME_TYPE = 1
	OutputSettings_WEBP OutputSettings_MIME_TYPE = 2
)
const Default_OutputSettings_MimeType OutputSettings_MIME_TYPE = OutputSettings_PNG

func (OutputSettings_MIME_TYPE) Enum

func (OutputSettings_MIME_TYPE) EnumDescriptor

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

func (OutputSettings_MIME_TYPE) String

func (x OutputSettings_MIME_TYPE) String() string

func (*OutputSettings_MIME_TYPE) UnmarshalJSON

func (x *OutputSettings_MIME_TYPE) UnmarshalJSON(data []byte) error

type Transform

type Transform struct {
	Width                *int32   `protobuf:"varint,1,opt,name=width" json:"width,omitempty"`
	Height               *int32   `protobuf:"varint,2,opt,name=height" json:"height,omitempty"`
	CropToFit            *bool    `protobuf:"varint,11,opt,name=crop_to_fit,json=cropToFit,def=0" json:"crop_to_fit,omitempty"`
	CropOffsetX          *float32 `protobuf:"fixed32,12,opt,name=crop_offset_x,json=cropOffsetX,def=0.5" json:"crop_offset_x,omitempty"`
	CropOffsetY          *float32 `protobuf:"fixed32,13,opt,name=crop_offset_y,json=cropOffsetY,def=0.5" json:"crop_offset_y,omitempty"`
	Rotate               *int32   `protobuf:"varint,3,opt,name=rotate,def=0" json:"rotate,omitempty"`
	HorizontalFlip       *bool    `protobuf:"varint,4,opt,name=horizontal_flip,json=horizontalFlip,def=0" json:"horizontal_flip,omitempty"`
	VerticalFlip         *bool    `protobuf:"varint,5,opt,name=vertical_flip,json=verticalFlip,def=0" json:"vertical_flip,omitempty"`
	CropLeftX            *float32 `protobuf:"fixed32,6,opt,name=crop_left_x,json=cropLeftX,def=0" json:"crop_left_x,omitempty"`
	CropTopY             *float32 `protobuf:"fixed32,7,opt,name=crop_top_y,json=cropTopY,def=0" json:"crop_top_y,omitempty"`
	CropRightX           *float32 `protobuf:"fixed32,8,opt,name=crop_right_x,json=cropRightX,def=1" json:"crop_right_x,omitempty"`
	CropBottomY          *float32 `protobuf:"fixed32,9,opt,name=crop_bottom_y,json=cropBottomY,def=1" json:"crop_bottom_y,omitempty"`
	Autolevels           *bool    `protobuf:"varint,10,opt,name=autolevels,def=0" json:"autolevels,omitempty"`
	AllowStretch         *bool    `protobuf:"varint,14,opt,name=allow_stretch,json=allowStretch,def=0" json:"allow_stretch,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Transform) Descriptor

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

func (*Transform) GetAllowStretch

func (m *Transform) GetAllowStretch() bool

func (*Transform) GetAutolevels

func (m *Transform) GetAutolevels() bool

func (*Transform) GetCropBottomY

func (m *Transform) GetCropBottomY() float32

func (*Transform) GetCropLeftX

func (m *Transform) GetCropLeftX() float32

func (*Transform) GetCropOffsetX

func (m *Transform) GetCropOffsetX() float32

func (*Transform) GetCropOffsetY

func (m *Transform) GetCropOffsetY() float32

func (*Transform) GetCropRightX

func (m *Transform) GetCropRightX() float32

func (*Transform) GetCropToFit

func (m *Transform) GetCropToFit() bool

func (*Transform) GetCropTopY

func (m *Transform) GetCropTopY() float32

func (*Transform) GetHeight

func (m *Transform) GetHeight() int32

func (*Transform) GetHorizontalFlip

func (m *Transform) GetHorizontalFlip() bool

func (*Transform) GetRotate

func (m *Transform) GetRotate() int32

func (*Transform) GetVerticalFlip

func (m *Transform) GetVerticalFlip() bool

func (*Transform) GetWidth

func (m *Transform) GetWidth() int32

func (*Transform) ProtoMessage

func (*Transform) ProtoMessage()

func (*Transform) Reset

func (m *Transform) Reset()

func (*Transform) String

func (m *Transform) String() string

func (*Transform) XXX_DiscardUnknown

func (m *Transform) XXX_DiscardUnknown()

func (*Transform) XXX_Marshal

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

func (*Transform) XXX_Merge

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

func (*Transform) XXX_Size

func (m *Transform) XXX_Size() int

func (*Transform) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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