ntypes

package
v0.0.0-...-8b05a81 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ImageEncoding_name = map[int32]string{
	0: "INVALID",
	1: "JPEG",
	2: "PNG",
	3: "TIFF",
}
View Source
var ImageEncoding_value = map[string]int32{
	"INVALID": 0,
	"JPEG":    1,
	"PNG":     2,
	"TIFF":    3,
}
View Source
var ImageSource_name = map[int32]string{
	0: "AUTO",
	1: "SCANNER",
	2: "SCANNER_NSYS",
	3: "PHOTO",
}
View Source
var ImageSource_value = map[string]int32{
	"AUTO":         0,
	"SCANNER":      1,
	"SCANNER_NSYS": 2,
	"PHOTO":        3,
}
View Source
var Language_name = map[int32]string{
	0: "UNKNOWN",
	1: "ENGLISH",
	2: "SPANISH",
	3: "GERMAN",
	4: "FRENCH",
}
View Source
var Language_value = map[string]int32{
	"UNKNOWN": 0,
	"ENGLISH": 1,
	"SPANISH": 2,
	"GERMAN":  3,
	"FRENCH":  4,
}

Functions

This section is empty.

Types

type BoundedArea

type BoundedArea struct {
	// Types that are valid to be assigned to Shape:
	//	*BoundedArea_Rect
	//	*BoundedArea_Polygon
	//	*BoundedArea_Circle
	//	*BoundedArea_RotatedRect
	Shape                isBoundedArea_Shape `protobuf_oneof:"shape"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*BoundedArea) Descriptor

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

func (*BoundedArea) GetCircle

func (m *BoundedArea) GetCircle() *Circle

func (*BoundedArea) GetPolygon

func (m *BoundedArea) GetPolygon() *Polygon

func (*BoundedArea) GetRect

func (m *BoundedArea) GetRect() *Rectangle

func (*BoundedArea) GetRotatedRect

func (m *BoundedArea) GetRotatedRect() *RotatedRectangle

func (*BoundedArea) GetShape

func (m *BoundedArea) GetShape() isBoundedArea_Shape

func (*BoundedArea) ProtoMessage

func (*BoundedArea) ProtoMessage()

func (*BoundedArea) Reset

func (m *BoundedArea) Reset()

func (*BoundedArea) String

func (m *BoundedArea) String() string

func (*BoundedArea) XXX_DiscardUnknown

func (m *BoundedArea) XXX_DiscardUnknown()

func (*BoundedArea) XXX_Marshal

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

func (*BoundedArea) XXX_Merge

func (m *BoundedArea) XXX_Merge(src proto.Message)

func (*BoundedArea) XXX_OneofWrappers

func (*BoundedArea) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*BoundedArea) XXX_Size

func (m *BoundedArea) XXX_Size() int

func (*BoundedArea) XXX_Unmarshal

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

type BoundedArea_Circle

type BoundedArea_Circle struct {
	Circle *Circle `protobuf:"bytes,3,opt,name=circle,proto3,oneof"`
}

type BoundedArea_Polygon

type BoundedArea_Polygon struct {
	Polygon *Polygon `protobuf:"bytes,2,opt,name=polygon,proto3,oneof"`
}

type BoundedArea_Rect

type BoundedArea_Rect struct {
	Rect *Rectangle `protobuf:"bytes,1,opt,name=rect,proto3,oneof"`
}

type BoundedArea_RotatedRect

type BoundedArea_RotatedRect struct {
	RotatedRect *RotatedRectangle `protobuf:"bytes,4,opt,name=rotated_rect,json=rotatedRect,proto3,oneof"`
}

type Circle

type Circle struct {
	// Defines a circular area.
	Center               *Point   `protobuf:"bytes,1,opt,name=center,proto3" json:"center,omitempty"`
	Radius               float64  `protobuf:"fixed64,2,opt,name=radius,proto3" json:"radius,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Circle) Descriptor

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

func (*Circle) GetCenter

func (m *Circle) GetCenter() *Point

func (*Circle) GetRadius

func (m *Circle) GetRadius() float64

func (*Circle) ProtoMessage

func (*Circle) ProtoMessage()

func (*Circle) Reset

func (m *Circle) Reset()

func (*Circle) String

func (m *Circle) String() string

func (*Circle) XXX_DiscardUnknown

func (m *Circle) XXX_DiscardUnknown()

func (*Circle) XXX_Marshal

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

func (*Circle) XXX_Merge

func (m *Circle) XXX_Merge(src proto.Message)

func (*Circle) XXX_Size

func (m *Circle) XXX_Size() int

func (*Circle) XXX_Unmarshal

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

type DeskewedImage

type DeskewedImage struct {
	// An image that the nsys service has deskewed and oriented.
	Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// Clockwise degrees the image had to be rotated to bring text lines
	// into a horizontal or vertical orientation.
	DeskewAngle float64 `protobuf:"fixed64,2,opt,name=deskew_angle,json=deskewAngle,proto3" json:"deskew_angle,omitempty"`
	// 0, 90, 180, or 270. The rotation that had to performed to bring
	// the text lines into an upright and horizontal orientation.
	DegreesRotated int32 `protobuf:"varint,3,opt,name=degrees_rotated,json=degreesRotated,proto3" json:"degrees_rotated,omitempty"`
	// The dominant color of the image. Probably.
	BackgroundColor      *RGBA    `protobuf:"bytes,4,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeskewedImage) Descriptor

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

func (*DeskewedImage) GetBackgroundColor

func (m *DeskewedImage) GetBackgroundColor() *RGBA

func (*DeskewedImage) GetDegreesRotated

func (m *DeskewedImage) GetDegreesRotated() int32

func (*DeskewedImage) GetDeskewAngle

func (m *DeskewedImage) GetDeskewAngle() float64

func (*DeskewedImage) GetImage

func (m *DeskewedImage) GetImage() *Image

func (*DeskewedImage) ProtoMessage

func (*DeskewedImage) ProtoMessage()

func (*DeskewedImage) Reset

func (m *DeskewedImage) Reset()

func (*DeskewedImage) String

func (m *DeskewedImage) String() string

func (*DeskewedImage) XXX_DiscardUnknown

func (m *DeskewedImage) XXX_DiscardUnknown()

func (*DeskewedImage) XXX_Marshal

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

func (*DeskewedImage) XXX_Merge

func (m *DeskewedImage) XXX_Merge(src proto.Message)

func (*DeskewedImage) XXX_Size

func (m *DeskewedImage) XXX_Size() int

func (*DeskewedImage) XXX_Unmarshal

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

type DimensionedImage

type DimensionedImage struct {
	// An image where the physical real-world dimensions are known.
	// All elements of this message are required and must be set.
	Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// Dimensions of the image in centimeters.
	Size *Size `protobuf:"bytes,2,opt,name=size,proto3" json:"size,omitempty"`
	// Top left offset of the image. Very likely to be zero unless it's a cut.
	Offset               *Point   `protobuf:"bytes,3,opt,name=offset,proto3" json:"offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DimensionedImage) Descriptor

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

func (*DimensionedImage) GetImage

func (m *DimensionedImage) GetImage() *Image

func (*DimensionedImage) GetOffset

func (m *DimensionedImage) GetOffset() *Point

func (*DimensionedImage) GetSize

func (m *DimensionedImage) GetSize() *Size

func (*DimensionedImage) ProtoMessage

func (*DimensionedImage) ProtoMessage()

func (*DimensionedImage) Reset

func (m *DimensionedImage) Reset()

func (*DimensionedImage) String

func (m *DimensionedImage) String() string

func (*DimensionedImage) XXX_DiscardUnknown

func (m *DimensionedImage) XXX_DiscardUnknown()

func (*DimensionedImage) XXX_Marshal

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

func (*DimensionedImage) XXX_Merge

func (m *DimensionedImage) XXX_Merge(src proto.Message)

func (*DimensionedImage) XXX_Size

func (m *DimensionedImage) XXX_Size() int

func (*DimensionedImage) XXX_Unmarshal

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

type EmailAttachment

type EmailAttachment struct {
	// The generic file id of the saved attachment.  If empty, then the file
	// was not saved.
	GenericFileName string `protobuf:"bytes,1,opt,name=generic_file_name,json=genericFileName,proto3" json:"generic_file_name,omitempty"`
	// The supplied file name for the attachment, as found in the email.
	SuppliedName string `protobuf:"bytes,2,opt,name=supplied_name,json=suppliedName,proto3" json:"supplied_name,omitempty"`
	// The attachment size in bytes, if rejected it will be zero.
	Size                 uint32   `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EmailAttachment) Descriptor

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

func (*EmailAttachment) GetGenericFileName

func (m *EmailAttachment) GetGenericFileName() string

func (*EmailAttachment) GetSize

func (m *EmailAttachment) GetSize() uint32

func (*EmailAttachment) GetSuppliedName

func (m *EmailAttachment) GetSuppliedName() string

func (*EmailAttachment) ProtoMessage

func (*EmailAttachment) ProtoMessage()

func (*EmailAttachment) Reset

func (m *EmailAttachment) Reset()

func (*EmailAttachment) String

func (m *EmailAttachment) String() string

func (*EmailAttachment) XXX_DiscardUnknown

func (m *EmailAttachment) XXX_DiscardUnknown()

func (*EmailAttachment) XXX_Marshal

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

func (*EmailAttachment) XXX_Merge

func (m *EmailAttachment) XXX_Merge(src proto.Message)

func (*EmailAttachment) XXX_Size

func (m *EmailAttachment) XXX_Size() int

func (*EmailAttachment) XXX_Unmarshal

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

type Exemplar

type Exemplar struct {
	// The name / id of the exemplar.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Client-provided optional description.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The time the exemplar was registered aka created.
	CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The size of the exemplar in centimeters.
	Size *Size `protobuf:"bytes,4,opt,name=size,proto3" json:"size,omitempty"`
	// The metadata supplied by the client when the exemplar was created.
	// Not always present.
	Metadata *any.Any `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Fields   []*Field `protobuf:"bytes,6,rep,name=fields,proto3" json:"fields,omitempty"`
	// The exemplar image in PNG format. Not always present.
	PngData              []byte   `protobuf:"bytes,7,opt,name=png_data,json=pngData,proto3" json:"png_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Exemplar) Descriptor

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

func (*Exemplar) GetCreateTime

func (m *Exemplar) GetCreateTime() *timestamp.Timestamp

func (*Exemplar) GetDescription

func (m *Exemplar) GetDescription() string

func (*Exemplar) GetFields

func (m *Exemplar) GetFields() []*Field

func (*Exemplar) GetMetadata

func (m *Exemplar) GetMetadata() *any.Any

func (*Exemplar) GetName

func (m *Exemplar) GetName() string

func (*Exemplar) GetPngData

func (m *Exemplar) GetPngData() []byte

func (*Exemplar) GetSize

func (m *Exemplar) GetSize() *Size

func (*Exemplar) ProtoMessage

func (*Exemplar) ProtoMessage()

func (*Exemplar) Reset

func (m *Exemplar) Reset()

func (*Exemplar) String

func (m *Exemplar) String() string

func (*Exemplar) XXX_DiscardUnknown

func (m *Exemplar) XXX_DiscardUnknown()

func (*Exemplar) XXX_Marshal

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

func (*Exemplar) XXX_Merge

func (m *Exemplar) XXX_Merge(src proto.Message)

func (*Exemplar) XXX_Size

func (m *Exemplar) XXX_Size() int

func (*Exemplar) XXX_Unmarshal

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

type Field

type Field struct {
	// The field's identifier which must be unique within exemplar and match
	// the regex '^[0-9A-Za-z.-]{1,48}$'. Automatically generated if not
	// supplied in create requests.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional description for client use.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Optional meta data for client use.
	Metadata *any.Any `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// All lengths used in puzzle definition are expressed in centimeters.
	//
	// Types that are valid to be assigned to Puzzle:
	//	*Field_SignaturePresent
	//	*Field_HandwritingPresent
	Puzzle               isField_Puzzle `protobuf_oneof:"puzzle"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Field) Descriptor

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

func (*Field) GetDescription

func (m *Field) GetDescription() string

func (*Field) GetHandwritingPresent

func (m *Field) GetHandwritingPresent() *HandwritingPresentPuzzle

func (*Field) GetMetadata

func (m *Field) GetMetadata() *any.Any

func (*Field) GetName

func (m *Field) GetName() string

func (*Field) GetPuzzle

func (m *Field) GetPuzzle() isField_Puzzle

func (*Field) GetSignaturePresent

func (m *Field) GetSignaturePresent() *SignaturePresentPuzzle

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) Reset

func (m *Field) Reset()

func (*Field) String

func (m *Field) String() string

func (*Field) XXX_DiscardUnknown

func (m *Field) XXX_DiscardUnknown()

func (*Field) XXX_Marshal

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

func (*Field) XXX_Merge

func (m *Field) XXX_Merge(src proto.Message)

func (*Field) XXX_OneofWrappers

func (*Field) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Field) XXX_Size

func (m *Field) XXX_Size() int

func (*Field) XXX_Unmarshal

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

type FieldCut

type FieldCut struct {
	// Types that are valid to be assigned to FieldCut:
	//	*FieldCut_SignaturePresent
	//	*FieldCut_HandwritingPresent
	FieldCut             isFieldCut_FieldCut `protobuf_oneof:"field_cut"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*FieldCut) Descriptor

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

func (*FieldCut) GetFieldCut

func (m *FieldCut) GetFieldCut() isFieldCut_FieldCut

func (*FieldCut) GetHandwritingPresent

func (m *FieldCut) GetHandwritingPresent() *HandwritingPresentCut

func (*FieldCut) GetSignaturePresent

func (m *FieldCut) GetSignaturePresent() *SignaturePresentCut

func (*FieldCut) ProtoMessage

func (*FieldCut) ProtoMessage()

func (*FieldCut) Reset

func (m *FieldCut) Reset()

func (*FieldCut) String

func (m *FieldCut) String() string

func (*FieldCut) XXX_DiscardUnknown

func (m *FieldCut) XXX_DiscardUnknown()

func (*FieldCut) XXX_Marshal

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

func (*FieldCut) XXX_Merge

func (m *FieldCut) XXX_Merge(src proto.Message)

func (*FieldCut) XXX_OneofWrappers

func (*FieldCut) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*FieldCut) XXX_Size

func (m *FieldCut) XXX_Size() int

func (*FieldCut) XXX_Unmarshal

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

type FieldCut_HandwritingPresent

type FieldCut_HandwritingPresent struct {
	HandwritingPresent *HandwritingPresentCut `protobuf:"bytes,11,opt,name=handwriting_present,json=handwritingPresent,proto3,oneof"`
}

type FieldCut_SignaturePresent

type FieldCut_SignaturePresent struct {
	SignaturePresent *SignaturePresentCut `protobuf:"bytes,10,opt,name=signature_present,json=signaturePresent,proto3,oneof"`
}

type FieldSolution

type FieldSolution struct {
	// Set true if the field is impossible to solve (e.g., due to a failed
	// exemplar match and bad cut)
	Unresolvable bool `protobuf:"varint,1,opt,name=unresolvable,proto3" json:"unresolvable,omitempty"`
	// Confidence in the solution in range 1 to 99.
	// A value of zero means an unknown level of confidence, not zero confidence.
	Confidence int32 `protobuf:"varint,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// Types that are valid to be assigned to Solution:
	//	*FieldSolution_SignaturePresent
	//	*FieldSolution_HandwritingPresent
	Solution             isFieldSolution_Solution `protobuf_oneof:"solution"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*FieldSolution) Descriptor

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

func (*FieldSolution) GetConfidence

func (m *FieldSolution) GetConfidence() int32

func (*FieldSolution) GetHandwritingPresent

func (m *FieldSolution) GetHandwritingPresent() *HandwritingPresentSolution

func (*FieldSolution) GetSignaturePresent

func (m *FieldSolution) GetSignaturePresent() *SignaturePresentSolution

func (*FieldSolution) GetSolution

func (m *FieldSolution) GetSolution() isFieldSolution_Solution

func (*FieldSolution) GetUnresolvable

func (m *FieldSolution) GetUnresolvable() bool

func (*FieldSolution) ProtoMessage

func (*FieldSolution) ProtoMessage()

func (*FieldSolution) Reset

func (m *FieldSolution) Reset()

func (*FieldSolution) String

func (m *FieldSolution) String() string

func (*FieldSolution) XXX_DiscardUnknown

func (m *FieldSolution) XXX_DiscardUnknown()

func (*FieldSolution) XXX_Marshal

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

func (*FieldSolution) XXX_Merge

func (m *FieldSolution) XXX_Merge(src proto.Message)

func (*FieldSolution) XXX_OneofWrappers

func (*FieldSolution) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*FieldSolution) XXX_Size

func (m *FieldSolution) XXX_Size() int

func (*FieldSolution) XXX_Unmarshal

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

type FieldSolution_HandwritingPresent

type FieldSolution_HandwritingPresent struct {
	HandwritingPresent *HandwritingPresentSolution `protobuf:"bytes,11,opt,name=handwriting_present,json=handwritingPresent,proto3,oneof"`
}

type FieldSolution_SignaturePresent

type FieldSolution_SignaturePresent struct {
	SignaturePresent *SignaturePresentSolution `protobuf:"bytes,10,opt,name=signature_present,json=signaturePresent,proto3,oneof"`
}

type Field_HandwritingPresent

type Field_HandwritingPresent struct {
	HandwritingPresent *HandwritingPresentPuzzle `protobuf:"bytes,11,opt,name=handwriting_present,json=handwritingPresent,proto3,oneof"`
}

type Field_SignaturePresent

type Field_SignaturePresent struct {
	SignaturePresent *SignaturePresentPuzzle `protobuf:"bytes,10,opt,name=signature_present,json=signaturePresent,proto3,oneof"`
}

type GenericFile

type GenericFile struct {
	// For client or documented application use.
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// For client or documented application use.
	Metadata *any.Any `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// The basename of the file on the originating system, i.e., no
	// directory path, no slashes -- the rightmost part of the name.
	OriginBasename string `protobuf:"bytes,3,opt,name=origin_basename,json=originBasename,proto3" json:"origin_basename,omitempty"`
	// Length of the file in bytes.
	// Max length is always less than a gigabyte.
	Length uint32 `protobuf:"varint,4,opt,name=length,proto3" json:"length,omitempty"`
	// The actual file data and its checksum.
	RawFile              *RawFile `protobuf:"bytes,5,opt,name=raw_file,json=rawFile,proto3" json:"raw_file,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenericFile) Descriptor

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

func (*GenericFile) GetDescription

func (m *GenericFile) GetDescription() string

func (*GenericFile) GetLength

func (m *GenericFile) GetLength() uint32

func (*GenericFile) GetMetadata

func (m *GenericFile) GetMetadata() *any.Any

func (*GenericFile) GetOriginBasename

func (m *GenericFile) GetOriginBasename() string

func (*GenericFile) GetRawFile

func (m *GenericFile) GetRawFile() *RawFile

func (*GenericFile) ProtoMessage

func (*GenericFile) ProtoMessage()

func (*GenericFile) Reset

func (m *GenericFile) Reset()

func (*GenericFile) String

func (m *GenericFile) String() string

func (*GenericFile) XXX_DiscardUnknown

func (m *GenericFile) XXX_DiscardUnknown()

func (*GenericFile) XXX_Marshal

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

func (*GenericFile) XXX_Merge

func (m *GenericFile) XXX_Merge(src proto.Message)

func (*GenericFile) XXX_Size

func (m *GenericFile) XXX_Size() int

func (*GenericFile) XXX_Unmarshal

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

type HandwritingPresentCut

type HandwritingPresentCut struct {
	// The raw cut image
	RawCut               *DimensionedImage `protobuf:"bytes,1,opt,name=raw_cut,json=rawCut,proto3" json:"raw_cut,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*HandwritingPresentCut) Descriptor

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

func (*HandwritingPresentCut) GetRawCut

func (m *HandwritingPresentCut) GetRawCut() *DimensionedImage

func (*HandwritingPresentCut) ProtoMessage

func (*HandwritingPresentCut) ProtoMessage()

func (*HandwritingPresentCut) Reset

func (m *HandwritingPresentCut) Reset()

func (*HandwritingPresentCut) String

func (m *HandwritingPresentCut) String() string

func (*HandwritingPresentCut) XXX_DiscardUnknown

func (m *HandwritingPresentCut) XXX_DiscardUnknown()

func (*HandwritingPresentCut) XXX_Marshal

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

func (*HandwritingPresentCut) XXX_Merge

func (m *HandwritingPresentCut) XXX_Merge(src proto.Message)

func (*HandwritingPresentCut) XXX_Size

func (m *HandwritingPresentCut) XXX_Size() int

func (*HandwritingPresentCut) XXX_Unmarshal

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

type HandwritingPresentHint

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

func (*HandwritingPresentHint) Descriptor

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

func (*HandwritingPresentHint) ProtoMessage

func (*HandwritingPresentHint) ProtoMessage()

func (*HandwritingPresentHint) Reset

func (m *HandwritingPresentHint) Reset()

func (*HandwritingPresentHint) String

func (m *HandwritingPresentHint) String() string

func (*HandwritingPresentHint) XXX_DiscardUnknown

func (m *HandwritingPresentHint) XXX_DiscardUnknown()

func (*HandwritingPresentHint) XXX_Marshal

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

func (*HandwritingPresentHint) XXX_Merge

func (m *HandwritingPresentHint) XXX_Merge(src proto.Message)

func (*HandwritingPresentHint) XXX_Size

func (m *HandwritingPresentHint) XXX_Size() int

func (*HandwritingPresentHint) XXX_Unmarshal

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

type HandwritingPresentPuzzle

type HandwritingPresentPuzzle struct {
	// This should be a tightly cut area which encompasses the bulk of
	// where writing for the field should appear but does not capture
	// anything outside of that area.
	BoundingArea         *BoundedArea `protobuf:"bytes,1,opt,name=bounding_area,json=boundingArea,proto3" json:"bounding_area,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*HandwritingPresentPuzzle) Descriptor

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

func (*HandwritingPresentPuzzle) GetBoundingArea

func (m *HandwritingPresentPuzzle) GetBoundingArea() *BoundedArea

func (*HandwritingPresentPuzzle) ProtoMessage

func (*HandwritingPresentPuzzle) ProtoMessage()

func (*HandwritingPresentPuzzle) Reset

func (m *HandwritingPresentPuzzle) Reset()

func (*HandwritingPresentPuzzle) String

func (m *HandwritingPresentPuzzle) String() string

func (*HandwritingPresentPuzzle) XXX_DiscardUnknown

func (m *HandwritingPresentPuzzle) XXX_DiscardUnknown()

func (*HandwritingPresentPuzzle) XXX_Marshal

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

func (*HandwritingPresentPuzzle) XXX_Merge

func (m *HandwritingPresentPuzzle) XXX_Merge(src proto.Message)

func (*HandwritingPresentPuzzle) XXX_Size

func (m *HandwritingPresentPuzzle) XXX_Size() int

func (*HandwritingPresentPuzzle) XXX_Unmarshal

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

type HandwritingPresentSolution

type HandwritingPresentSolution struct {
	Present              bool     `protobuf:"varint,1,opt,name=present,proto3" json:"present,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HandwritingPresentSolution) Descriptor

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

func (*HandwritingPresentSolution) GetPresent

func (m *HandwritingPresentSolution) GetPresent() bool

func (*HandwritingPresentSolution) ProtoMessage

func (*HandwritingPresentSolution) ProtoMessage()

func (*HandwritingPresentSolution) Reset

func (m *HandwritingPresentSolution) Reset()

func (*HandwritingPresentSolution) String

func (m *HandwritingPresentSolution) String() string

func (*HandwritingPresentSolution) XXX_DiscardUnknown

func (m *HandwritingPresentSolution) XXX_DiscardUnknown()

func (*HandwritingPresentSolution) XXX_Marshal

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

func (*HandwritingPresentSolution) XXX_Merge

func (m *HandwritingPresentSolution) XXX_Merge(src proto.Message)

func (*HandwritingPresentSolution) XXX_Size

func (m *HandwritingPresentSolution) XXX_Size() int

func (*HandwritingPresentSolution) XXX_Unmarshal

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

type Image

type Image struct {
	// The encoded image data bytes.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// The image encoding.
	Encoding             ImageEncoding `protobuf:"varint,2,opt,name=encoding,proto3,enum=nsys.api.ntypes.ImageEncoding" json:"encoding,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Image) Descriptor

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

func (*Image) GetData

func (m *Image) GetData() []byte

func (*Image) GetEncoding

func (m *Image) GetEncoding() ImageEncoding

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) Reset

func (m *Image) Reset()

func (*Image) String

func (m *Image) String() string

func (*Image) XXX_DiscardUnknown

func (m *Image) XXX_DiscardUnknown()

func (*Image) XXX_Marshal

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

func (*Image) XXX_Merge

func (m *Image) XXX_Merge(src proto.Message)

func (*Image) XXX_Size

func (m *Image) XXX_Size() int

func (*Image) XXX_Unmarshal

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

type ImageEncoding

type ImageEncoding int32
const (
	ImageEncoding_INVALID ImageEncoding = 0
	ImageEncoding_JPEG    ImageEncoding = 1
	ImageEncoding_PNG     ImageEncoding = 2
	ImageEncoding_TIFF    ImageEncoding = 3
)

func (ImageEncoding) EnumDescriptor

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

func (ImageEncoding) String

func (x ImageEncoding) String() string

type ImageSource

type ImageSource int32
const (
	// Automatically determine the image type.
	ImageSource_AUTO ImageSource = 0
	// Image originated from a generic scanner of some sort. DPI unknown.
	ImageSource_SCANNER ImageSource = 1
	// Image is 300dpi JPEG2000 originating from our PDS-6000 based system.
	ImageSource_SCANNER_NSYS ImageSource = 2
	// Image is a raw photograph which likely needs document isolation and
	// perspective correction in addition to deskew and orienting.
	// If photo originated from scanner app or similar that does the first
	// two already, use "auto" instead.
	ImageSource_PHOTO ImageSource = 3
)

func (ImageSource) EnumDescriptor

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

func (ImageSource) String

func (x ImageSource) String() string

type Language

type Language int32
const (
	Language_UNKNOWN Language = 0
	Language_ENGLISH Language = 1
	Language_SPANISH Language = 2
	Language_GERMAN  Language = 3
	Language_FRENCH  Language = 4
)

func (Language) EnumDescriptor

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

func (Language) String

func (x Language) String() string

type Line

type Line struct {
	// Defines a line segment between points A and B.
	A                    *Point   `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
	B                    *Point   `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Line) Descriptor

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

func (*Line) GetA

func (m *Line) GetA() *Point

func (*Line) GetB

func (m *Line) GetB() *Point

func (*Line) ProtoMessage

func (*Line) ProtoMessage()

func (*Line) Reset

func (m *Line) Reset()

func (*Line) String

func (m *Line) String() string

func (*Line) XXX_DiscardUnknown

func (m *Line) XXX_DiscardUnknown()

func (*Line) XXX_Marshal

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

func (*Line) XXX_Merge

func (m *Line) XXX_Merge(src proto.Message)

func (*Line) XXX_Size

func (m *Line) XXX_Size() int

func (*Line) XXX_Unmarshal

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

type ParsedEmail

type ParsedEmail struct {
	// The email headers
	Headers map[string]string `` /* 155-byte string literal not displayed */
	// The email body (html/text)
	EmailBody string `protobuf:"bytes,2,opt,name=email_body,json=emailBody,proto3" json:"email_body,omitempty"`
	// The saved attachment generic file IDs
	Attachments []*EmailAttachment `protobuf:"bytes,3,rep,name=attachments,proto3" json:"attachments,omitempty"`
	// The attachments that were rejected due to their file extensions not
	// being in the given whitelist.
	RejectedAttachments []*EmailAttachment `protobuf:"bytes,4,rep,name=rejected_attachments,json=rejectedAttachments,proto3" json:"rejected_attachments,omitempty"`
	// The saved inline attachments
	InlineAttachments []*EmailAttachment `protobuf:"bytes,5,rep,name=inline_attachments,json=inlineAttachments,proto3" json:"inline_attachments,omitempty"`
	// The inline attachments that were rejected due to their file extensions
	// not being in the given whitelist.
	RejectedInlineAttachments []*EmailAttachment `` /* 138-byte string literal not displayed */
	// A specialized hash calculated from the email body and attachments (but
	// not the headers). It can be used to check for duplicated emails.
	EmailHash            string   `protobuf:"bytes,7,opt,name=email_hash,json=emailHash,proto3" json:"email_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ParsedEmail) Descriptor

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

func (*ParsedEmail) GetAttachments

func (m *ParsedEmail) GetAttachments() []*EmailAttachment

func (*ParsedEmail) GetEmailBody

func (m *ParsedEmail) GetEmailBody() string

func (*ParsedEmail) GetEmailHash

func (m *ParsedEmail) GetEmailHash() string

func (*ParsedEmail) GetHeaders

func (m *ParsedEmail) GetHeaders() map[string]string

func (*ParsedEmail) GetInlineAttachments

func (m *ParsedEmail) GetInlineAttachments() []*EmailAttachment

func (*ParsedEmail) GetRejectedAttachments

func (m *ParsedEmail) GetRejectedAttachments() []*EmailAttachment

func (*ParsedEmail) GetRejectedInlineAttachments

func (m *ParsedEmail) GetRejectedInlineAttachments() []*EmailAttachment

func (*ParsedEmail) ProtoMessage

func (*ParsedEmail) ProtoMessage()

func (*ParsedEmail) Reset

func (m *ParsedEmail) Reset()

func (*ParsedEmail) String

func (m *ParsedEmail) String() string

func (*ParsedEmail) XXX_DiscardUnknown

func (m *ParsedEmail) XXX_DiscardUnknown()

func (*ParsedEmail) XXX_Marshal

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

func (*ParsedEmail) XXX_Merge

func (m *ParsedEmail) XXX_Merge(src proto.Message)

func (*ParsedEmail) XXX_Size

func (m *ParsedEmail) XXX_Size() int

func (*ParsedEmail) XXX_Unmarshal

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

type PdfPage

type PdfPage struct {
	// The 1-based page number within the source PDF
	PageNumber int32 `protobuf:"varint,1,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"`
	// Size of the page in centimeters after it has been oriented such that the bulk
	// of the text appearing on it is "right side up".
	Size *Size `protobuf:"bytes,2,opt,name=size,proto3" json:"size,omitempty"`
	// Pages in the original PDF may need to be rotated by 90, 180, or 270 degrees
	// by the system so that the bulk of the printed text is "right side up". This
	// value reports what clockwise rotation was applied in order to achieve this.
	DegreesRotated int32 `protobuf:"varint,3,opt,name=degrees_rotated,json=degreesRotated,proto3" json:"degrees_rotated,omitempty"`
	// The PNG image data of the rendered and oriented page. Not always present.
	PngData              []byte   `protobuf:"bytes,4,opt,name=png_data,json=pngData,proto3" json:"png_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PdfPage) Descriptor

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

func (*PdfPage) GetDegreesRotated

func (m *PdfPage) GetDegreesRotated() int32

func (*PdfPage) GetPageNumber

func (m *PdfPage) GetPageNumber() int32

func (*PdfPage) GetPngData

func (m *PdfPage) GetPngData() []byte

func (*PdfPage) GetSize

func (m *PdfPage) GetSize() *Size

func (*PdfPage) ProtoMessage

func (*PdfPage) ProtoMessage()

func (*PdfPage) Reset

func (m *PdfPage) Reset()

func (*PdfPage) String

func (m *PdfPage) String() string

func (*PdfPage) XXX_DiscardUnknown

func (m *PdfPage) XXX_DiscardUnknown()

func (*PdfPage) XXX_Marshal

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

func (*PdfPage) XXX_Merge

func (m *PdfPage) XXX_Merge(src proto.Message)

func (*PdfPage) XXX_Size

func (m *PdfPage) XXX_Size() int

func (*PdfPage) XXX_Unmarshal

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

type Point

type Point struct {
	X                    float64  `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"`
	Y                    float64  `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Point) Descriptor

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

func (*Point) GetX

func (m *Point) GetX() float64

func (*Point) GetY

func (m *Point) GetY() float64

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) Reset

func (m *Point) Reset()

func (*Point) String

func (m *Point) String() string

func (*Point) XXX_DiscardUnknown

func (m *Point) XXX_DiscardUnknown()

func (*Point) XXX_Marshal

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

func (*Point) XXX_Merge

func (m *Point) XXX_Merge(src proto.Message)

func (*Point) XXX_Size

func (m *Point) XXX_Size() int

func (*Point) XXX_Unmarshal

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

type Polygon

type Polygon struct {
	// Three or more points defining the edges of a simple polygon.
	// Automatically closed.
	Points               []*Point `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Polygon) Descriptor

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

func (*Polygon) GetPoints

func (m *Polygon) GetPoints() []*Point

func (*Polygon) ProtoMessage

func (*Polygon) ProtoMessage()

func (*Polygon) Reset

func (m *Polygon) Reset()

func (*Polygon) String

func (m *Polygon) String() string

func (*Polygon) XXX_DiscardUnknown

func (m *Polygon) XXX_DiscardUnknown()

func (*Polygon) XXX_Marshal

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

func (*Polygon) XXX_Merge

func (m *Polygon) XXX_Merge(src proto.Message)

func (*Polygon) XXX_Size

func (m *Polygon) XXX_Size() int

func (*Polygon) XXX_Unmarshal

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

type RGBA

type RGBA struct {
	// RGBA color
	R                    uint32   `protobuf:"varint,1,opt,name=r,proto3" json:"r,omitempty"`
	G                    uint32   `protobuf:"varint,2,opt,name=g,proto3" json:"g,omitempty"`
	B                    uint32   `protobuf:"varint,3,opt,name=b,proto3" json:"b,omitempty"`
	A                    uint32   `protobuf:"varint,4,opt,name=a,proto3" json:"a,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RGBA) Descriptor

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

func (*RGBA) GetA

func (m *RGBA) GetA() uint32

func (*RGBA) GetB

func (m *RGBA) GetB() uint32

func (*RGBA) GetG

func (m *RGBA) GetG() uint32

func (*RGBA) GetR

func (m *RGBA) GetR() uint32

func (*RGBA) ProtoMessage

func (*RGBA) ProtoMessage()

func (*RGBA) Reset

func (m *RGBA) Reset()

func (*RGBA) String

func (m *RGBA) String() string

func (*RGBA) XXX_DiscardUnknown

func (m *RGBA) XXX_DiscardUnknown()

func (*RGBA) XXX_Marshal

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

func (*RGBA) XXX_Merge

func (m *RGBA) XXX_Merge(src proto.Message)

func (*RGBA) XXX_Size

func (m *RGBA) XXX_Size() int

func (*RGBA) XXX_Unmarshal

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

type RawFile

type RawFile struct {
	// The actual file data.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// The 512/256 SHA sum for the data bytes.
	Sha512_256           []byte   `protobuf:"bytes,2,opt,name=sha512_256,json=sha512256,proto3" json:"sha512_256,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RawFile) Descriptor

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

func (*RawFile) GetData

func (m *RawFile) GetData() []byte

func (*RawFile) GetSha512_256

func (m *RawFile) GetSha512_256() []byte

func (*RawFile) ProtoMessage

func (*RawFile) ProtoMessage()

func (*RawFile) Reset

func (m *RawFile) Reset()

func (*RawFile) String

func (m *RawFile) String() string

func (*RawFile) XXX_DiscardUnknown

func (m *RawFile) XXX_DiscardUnknown()

func (*RawFile) XXX_Marshal

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

func (*RawFile) XXX_Merge

func (m *RawFile) XXX_Merge(src proto.Message)

func (*RawFile) XXX_Size

func (m *RawFile) XXX_Size() int

func (*RawFile) XXX_Unmarshal

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

type Rectangle

type Rectangle struct {
	MinX                 float64  `protobuf:"fixed64,1,opt,name=min_x,json=minX,proto3" json:"min_x,omitempty"`
	MinY                 float64  `protobuf:"fixed64,2,opt,name=min_y,json=minY,proto3" json:"min_y,omitempty"`
	MaxX                 float64  `protobuf:"fixed64,3,opt,name=max_x,json=maxX,proto3" json:"max_x,omitempty"`
	MaxY                 float64  `protobuf:"fixed64,4,opt,name=max_y,json=maxY,proto3" json:"max_y,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Rectangle) Descriptor

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

func (*Rectangle) GetMaxX

func (m *Rectangle) GetMaxX() float64

func (*Rectangle) GetMaxY

func (m *Rectangle) GetMaxY() float64

func (*Rectangle) GetMinX

func (m *Rectangle) GetMinX() float64

func (*Rectangle) GetMinY

func (m *Rectangle) GetMinY() float64

func (*Rectangle) ProtoMessage

func (*Rectangle) ProtoMessage()

func (*Rectangle) Reset

func (m *Rectangle) Reset()

func (*Rectangle) String

func (m *Rectangle) String() string

func (*Rectangle) XXX_DiscardUnknown

func (m *Rectangle) XXX_DiscardUnknown()

func (*Rectangle) XXX_Marshal

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

func (*Rectangle) XXX_Merge

func (m *Rectangle) XXX_Merge(src proto.Message)

func (*Rectangle) XXX_Size

func (m *Rectangle) XXX_Size() int

func (*Rectangle) XXX_Unmarshal

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

type RotatedRectangle

type RotatedRectangle struct {
	// Interpretation of rotated rectangle matches OpenCV.
	Center *Point `protobuf:"bytes,1,opt,name=center,proto3" json:"center,omitempty"`
	Size   *Size  `protobuf:"bytes,2,opt,name=size,proto3" json:"size,omitempty"`
	// Angle of rotation in degrees.
	Angle                float64  `protobuf:"fixed64,3,opt,name=angle,proto3" json:"angle,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RotatedRectangle) Descriptor

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

func (*RotatedRectangle) GetAngle

func (m *RotatedRectangle) GetAngle() float64

func (*RotatedRectangle) GetCenter

func (m *RotatedRectangle) GetCenter() *Point

func (*RotatedRectangle) GetSize

func (m *RotatedRectangle) GetSize() *Size

func (*RotatedRectangle) ProtoMessage

func (*RotatedRectangle) ProtoMessage()

func (*RotatedRectangle) Reset

func (m *RotatedRectangle) Reset()

func (*RotatedRectangle) String

func (m *RotatedRectangle) String() string

func (*RotatedRectangle) XXX_DiscardUnknown

func (m *RotatedRectangle) XXX_DiscardUnknown()

func (*RotatedRectangle) XXX_Marshal

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

func (*RotatedRectangle) XXX_Merge

func (m *RotatedRectangle) XXX_Merge(src proto.Message)

func (*RotatedRectangle) XXX_Size

func (m *RotatedRectangle) XXX_Size() int

func (*RotatedRectangle) XXX_Unmarshal

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

type SignaturePresentCut

type SignaturePresentCut struct {
	// The raw cut image defined by the signature area in SignaturePresentPuzzle.
	RawCut *DimensionedImage `protobuf:"bytes,1,opt,name=raw_cut,json=rawCut,proto3" json:"raw_cut,omitempty"`
	// The context cut image (potentially larger than defined cut on exemplar).
	ContextCut *DimensionedImage `protobuf:"bytes,2,opt,name=context_cut,json=contextCut,proto3" json:"context_cut,omitempty"`
	// The rectangle inside the context image where the raw cut is located.
	ContextRect          *Rectangle `protobuf:"bytes,3,opt,name=context_rect,json=contextRect,proto3" json:"context_rect,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*SignaturePresentCut) Descriptor

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

func (*SignaturePresentCut) GetContextCut

func (m *SignaturePresentCut) GetContextCut() *DimensionedImage

func (*SignaturePresentCut) GetContextRect

func (m *SignaturePresentCut) GetContextRect() *Rectangle

func (*SignaturePresentCut) GetRawCut

func (m *SignaturePresentCut) GetRawCut() *DimensionedImage

func (*SignaturePresentCut) ProtoMessage

func (*SignaturePresentCut) ProtoMessage()

func (*SignaturePresentCut) Reset

func (m *SignaturePresentCut) Reset()

func (*SignaturePresentCut) String

func (m *SignaturePresentCut) String() string

func (*SignaturePresentCut) XXX_DiscardUnknown

func (m *SignaturePresentCut) XXX_DiscardUnknown()

func (*SignaturePresentCut) XXX_Marshal

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

func (*SignaturePresentCut) XXX_Merge

func (m *SignaturePresentCut) XXX_Merge(src proto.Message)

func (*SignaturePresentCut) XXX_Size

func (m *SignaturePresentCut) XXX_Size() int

func (*SignaturePresentCut) XXX_Unmarshal

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

type SignaturePresentHint

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

func (*SignaturePresentHint) Descriptor

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

func (*SignaturePresentHint) ProtoMessage

func (*SignaturePresentHint) ProtoMessage()

func (*SignaturePresentHint) Reset

func (m *SignaturePresentHint) Reset()

func (*SignaturePresentHint) String

func (m *SignaturePresentHint) String() string

func (*SignaturePresentHint) XXX_DiscardUnknown

func (m *SignaturePresentHint) XXX_DiscardUnknown()

func (*SignaturePresentHint) XXX_Marshal

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

func (*SignaturePresentHint) XXX_Merge

func (m *SignaturePresentHint) XXX_Merge(src proto.Message)

func (*SignaturePresentHint) XXX_Size

func (m *SignaturePresentHint) XXX_Size() int

func (*SignaturePresentHint) XXX_Unmarshal

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

type SignaturePresentPuzzle

type SignaturePresentPuzzle struct {
	// This should be a tightly cut area defining where the bulk of any
	// signature should be found. The bottom of the rectangle is the
	// expected baseline of the signature (whether or not there is an
	// actual line appearing on the paper). The top of the rectangle
	// should be the *typical* upper bound.
	// The system automatically expands its search area beyond these
	// bounds to capture ascenders and descenders.
	//
	// Types that are valid to be assigned to SignatureArea:
	//	*SignaturePresentPuzzle_RotatedRect
	//	*SignaturePresentPuzzle_Rect
	SignatureArea        isSignaturePresentPuzzle_SignatureArea `protobuf_oneof:"signature_area"`
	XXX_NoUnkeyedLiteral struct{}                               `json:"-"`
	XXX_unrecognized     []byte                                 `json:"-"`
	XXX_sizecache        int32                                  `json:"-"`
}

func (*SignaturePresentPuzzle) Descriptor

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

func (*SignaturePresentPuzzle) GetRect

func (m *SignaturePresentPuzzle) GetRect() *Rectangle

func (*SignaturePresentPuzzle) GetRotatedRect

func (m *SignaturePresentPuzzle) GetRotatedRect() *RotatedRectangle

func (*SignaturePresentPuzzle) GetSignatureArea

func (m *SignaturePresentPuzzle) GetSignatureArea() isSignaturePresentPuzzle_SignatureArea

func (*SignaturePresentPuzzle) ProtoMessage

func (*SignaturePresentPuzzle) ProtoMessage()

func (*SignaturePresentPuzzle) Reset

func (m *SignaturePresentPuzzle) Reset()

func (*SignaturePresentPuzzle) String

func (m *SignaturePresentPuzzle) String() string

func (*SignaturePresentPuzzle) XXX_DiscardUnknown

func (m *SignaturePresentPuzzle) XXX_DiscardUnknown()

func (*SignaturePresentPuzzle) XXX_Marshal

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

func (*SignaturePresentPuzzle) XXX_Merge

func (m *SignaturePresentPuzzle) XXX_Merge(src proto.Message)

func (*SignaturePresentPuzzle) XXX_OneofWrappers

func (*SignaturePresentPuzzle) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SignaturePresentPuzzle) XXX_Size

func (m *SignaturePresentPuzzle) XXX_Size() int

func (*SignaturePresentPuzzle) XXX_Unmarshal

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

type SignaturePresentPuzzle_Rect

type SignaturePresentPuzzle_Rect struct {
	Rect *Rectangle `protobuf:"bytes,2,opt,name=rect,proto3,oneof"`
}

type SignaturePresentPuzzle_RotatedRect

type SignaturePresentPuzzle_RotatedRect struct {
	RotatedRect *RotatedRectangle `protobuf:"bytes,1,opt,name=rotated_rect,json=rotatedRect,proto3,oneof"`
}

type SignaturePresentSolution

type SignaturePresentSolution struct {
	Present              bool     `protobuf:"varint,1,opt,name=present,proto3" json:"present,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignaturePresentSolution) Descriptor

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

func (*SignaturePresentSolution) GetPresent

func (m *SignaturePresentSolution) GetPresent() bool

func (*SignaturePresentSolution) ProtoMessage

func (*SignaturePresentSolution) ProtoMessage()

func (*SignaturePresentSolution) Reset

func (m *SignaturePresentSolution) Reset()

func (*SignaturePresentSolution) String

func (m *SignaturePresentSolution) String() string

func (*SignaturePresentSolution) XXX_DiscardUnknown

func (m *SignaturePresentSolution) XXX_DiscardUnknown()

func (*SignaturePresentSolution) XXX_Marshal

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

func (*SignaturePresentSolution) XXX_Merge

func (m *SignaturePresentSolution) XXX_Merge(src proto.Message)

func (*SignaturePresentSolution) XXX_Size

func (m *SignaturePresentSolution) XXX_Size() int

func (*SignaturePresentSolution) XXX_Unmarshal

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

type Size

type Size struct {
	Width                float64  `protobuf:"fixed64,1,opt,name=width,proto3" json:"width,omitempty"`
	Height               float64  `protobuf:"fixed64,2,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Size) Descriptor

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

func (*Size) GetHeight

func (m *Size) GetHeight() float64

func (*Size) GetWidth

func (m *Size) GetWidth() float64

func (*Size) ProtoMessage

func (*Size) ProtoMessage()

func (*Size) Reset

func (m *Size) Reset()

func (*Size) String

func (m *Size) String() string

func (*Size) XXX_DiscardUnknown

func (m *Size) XXX_DiscardUnknown()

func (*Size) XXX_Marshal

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

func (*Size) XXX_Merge

func (m *Size) XXX_Merge(src proto.Message)

func (*Size) XXX_Size

func (m *Size) XXX_Size() int

func (*Size) XXX_Unmarshal

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

type SolutionParameters

type SolutionParameters struct {
	// Types that are valid to be assigned to Hint:
	//	*SolutionParameters_SignaturePresent
	//	*SolutionParameters_HandwritingPresent
	Hint                 isSolutionParameters_Hint `protobuf_oneof:"hint"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*SolutionParameters) Descriptor

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

func (*SolutionParameters) GetHandwritingPresent

func (m *SolutionParameters) GetHandwritingPresent() *HandwritingPresentHint

func (*SolutionParameters) GetHint

func (m *SolutionParameters) GetHint() isSolutionParameters_Hint

func (*SolutionParameters) GetSignaturePresent

func (m *SolutionParameters) GetSignaturePresent() *SignaturePresentHint

func (*SolutionParameters) ProtoMessage

func (*SolutionParameters) ProtoMessage()

func (*SolutionParameters) Reset

func (m *SolutionParameters) Reset()

func (*SolutionParameters) String

func (m *SolutionParameters) String() string

func (*SolutionParameters) XXX_DiscardUnknown

func (m *SolutionParameters) XXX_DiscardUnknown()

func (*SolutionParameters) XXX_Marshal

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

func (*SolutionParameters) XXX_Merge

func (m *SolutionParameters) XXX_Merge(src proto.Message)

func (*SolutionParameters) XXX_OneofWrappers

func (*SolutionParameters) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SolutionParameters) XXX_Size

func (m *SolutionParameters) XXX_Size() int

func (*SolutionParameters) XXX_Unmarshal

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

type SolutionParameters_HandwritingPresent

type SolutionParameters_HandwritingPresent struct {
	HandwritingPresent *HandwritingPresentHint `protobuf:"bytes,11,opt,name=handwriting_present,json=handwritingPresent,proto3,oneof"`
}

type SolutionParameters_SignaturePresent

type SolutionParameters_SignaturePresent struct {
	SignaturePresent *SignaturePresentHint `protobuf:"bytes,10,opt,name=signature_present,json=signaturePresent,proto3,oneof"`
}

type Word

type Word struct {
	// The text string located.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// Confidence value in [0, 100].
	Confidence int32 `protobuf:"varint,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// Bounding rectangle. Coordinates and dimensions expressed in pixels.
	RotatedRectangle *RotatedRectangle `protobuf:"bytes,3,opt,name=rotated_rectangle,json=rotatedRectangle,proto3" json:"rotated_rectangle,omitempty"`
	// Internal use only.
	Creator              string   `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Word) Descriptor

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

func (*Word) GetConfidence

func (m *Word) GetConfidence() int32

func (*Word) GetCreator

func (m *Word) GetCreator() string

func (*Word) GetRotatedRectangle

func (m *Word) GetRotatedRectangle() *RotatedRectangle

func (*Word) GetText

func (m *Word) GetText() string

func (*Word) ProtoMessage

func (*Word) ProtoMessage()

func (*Word) Reset

func (m *Word) Reset()

func (*Word) String

func (m *Word) String() string

func (*Word) XXX_DiscardUnknown

func (m *Word) XXX_DiscardUnknown()

func (*Word) XXX_Marshal

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

func (*Word) XXX_Merge

func (m *Word) XXX_Merge(src proto.Message)

func (*Word) XXX_Size

func (m *Word) XXX_Size() int

func (*Word) XXX_Unmarshal

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

type WordList

type WordList struct {
	Words                []*Word  `protobuf:"bytes,1,rep,name=words,proto3" json:"words,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WordList) Descriptor

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

func (*WordList) GetWords

func (m *WordList) GetWords() []*Word

func (*WordList) ProtoMessage

func (*WordList) ProtoMessage()

func (*WordList) Reset

func (m *WordList) Reset()

func (*WordList) String

func (m *WordList) String() string

func (*WordList) XXX_DiscardUnknown

func (m *WordList) XXX_DiscardUnknown()

func (*WordList) XXX_Marshal

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

func (*WordList) XXX_Merge

func (m *WordList) XXX_Merge(src proto.Message)

func (*WordList) XXX_Size

func (m *WordList) XXX_Size() int

func (*WordList) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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