Documentation ¶
Index ¶
- Variables
- type Document
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetBounds() *geometrypb.Rect
- func (x *Node) GetName() string
- func (x *Node) GetSearchAreas() []*geometrypb.Rect
- func (x *Node) GetTags() []string
- func (x *Node) GetText() *wrappers.StringValue
- func (x *Node) GetTextMatchGroups() []*TextMatchGroup
- func (x *Node) GetValid() bool
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type Page
- type TextMatchGroup
- func (*TextMatchGroup) Descriptor() ([]byte, []int)deprecated
- func (x *TextMatchGroup) GetEnd() int32
- func (x *TextMatchGroup) GetName() string
- func (x *TextMatchGroup) GetStart() int32
- func (x *TextMatchGroup) GetText() string
- func (*TextMatchGroup) ProtoMessage()
- func (x *TextMatchGroup) ProtoReflect() protoreflect.Message
- func (x *TextMatchGroup) Reset()
- func (x *TextMatchGroup) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_report_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Document ¶
type Document struct { Pages []*Page `protobuf:"bytes,1,rep,name=pages,proto3" json:"pages,omitempty"` // Sketch tags. Tags []string `protobuf:"bytes,15,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*Document) Descriptor
deprecated
func (*Document) ProtoMessage ¶
func (*Document) ProtoMessage()
func (*Document) ProtoReflect ¶
func (x *Document) ProtoReflect() protoreflect.Message
type Node ¶
type Node struct { // Sketch node name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Whether a match was found. Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` // Node bounds. Bounds *geometrypb.Rect `protobuf:"bytes,3,opt,name=bounds,proto3" json:"bounds,omitempty"` // Searched rectangles until the node was found to be valid or invalid. SearchAreas []*geometrypb.Rect `protobuf:"bytes,4,rep,name=search_areas,json=searchAreas,proto3" json:"search_areas,omitempty"` // Complete node text. Text *wrappers.StringValue `protobuf:"bytes,10,opt,name=text,proto3" json:"text,omitempty"` // Regular expression match groups. TextMatchGroups []*TextMatchGroup `protobuf:"bytes,11,rep,name=text_match_groups,json=textMatchGroups,proto3" json:"text_match_groups,omitempty"` // Sketch node tags. Tags []string `protobuf:"bytes,15,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) GetBounds ¶
func (x *Node) GetBounds() *geometrypb.Rect
func (*Node) GetSearchAreas ¶
func (x *Node) GetSearchAreas() []*geometrypb.Rect
func (*Node) GetText ¶
func (x *Node) GetText() *wrappers.StringValue
func (*Node) GetTextMatchGroups ¶
func (x *Node) GetTextMatchGroups() []*TextMatchGroup
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type Page ¶
type Page struct { // 1-based page number. Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` Size *geometrypb.Size `protobuf:"bytes,2,opt,name=size,proto3" json:"size,omitempty"` Nodes []*Node `protobuf:"bytes,10,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*Page) Descriptor
deprecated
func (*Page) GetSize ¶
func (x *Page) GetSize() *geometrypb.Size
func (*Page) ProtoMessage ¶
func (*Page) ProtoMessage()
func (*Page) ProtoReflect ¶
func (x *Page) ProtoReflect() protoreflect.Message
type TextMatchGroup ¶
type TextMatchGroup struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Byte offsets for start and end of group. Start int32 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"` End int32 `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"` Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*TextMatchGroup) Descriptor
deprecated
func (*TextMatchGroup) Descriptor() ([]byte, []int)
Deprecated: Use TextMatchGroup.ProtoReflect.Descriptor instead.
func (*TextMatchGroup) GetEnd ¶
func (x *TextMatchGroup) GetEnd() int32
func (*TextMatchGroup) GetName ¶
func (x *TextMatchGroup) GetName() string
func (*TextMatchGroup) GetStart ¶
func (x *TextMatchGroup) GetStart() int32
func (*TextMatchGroup) GetText ¶
func (x *TextMatchGroup) GetText() string
func (*TextMatchGroup) ProtoMessage ¶
func (*TextMatchGroup) ProtoMessage()
func (*TextMatchGroup) ProtoReflect ¶
func (x *TextMatchGroup) ProtoReflect() protoreflect.Message
func (*TextMatchGroup) Reset ¶
func (x *TextMatchGroup) Reset()
func (*TextMatchGroup) String ¶
func (x *TextMatchGroup) String() string
Click to show internal directories.
Click to hide internal directories.