reportpb

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Document.ProtoReflect.Descriptor instead.

func (*Document) GetPages

func (x *Document) GetPages() []*Page

func (*Document) GetTags

func (x *Document) GetTags() []string

func (*Document) ProtoMessage

func (*Document) ProtoMessage()

func (*Document) ProtoReflect

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

func (*Document) Reset

func (x *Document) Reset()

func (*Document) String

func (x *Document) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetBounds

func (x *Node) GetBounds() *geometrypb.Rect

func (*Node) GetName

func (x *Node) GetName() string

func (*Node) GetSearchAreas

func (x *Node) GetSearchAreas() []*geometrypb.Rect

func (*Node) GetTags

func (x *Node) GetTags() []string

func (*Node) GetText

func (x *Node) GetText() *wrappers.StringValue

func (*Node) GetTextMatchGroups

func (x *Node) GetTextMatchGroups() []*TextMatchGroup

func (*Node) GetValid

func (x *Node) GetValid() bool

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Page.ProtoReflect.Descriptor instead.

func (*Page) GetNodes

func (x *Page) GetNodes() []*Node

func (*Page) GetNumber

func (x *Page) GetNumber() int32

func (*Page) GetSize

func (x *Page) GetSize() *geometrypb.Size

func (*Page) ProtoMessage

func (*Page) ProtoMessage()

func (*Page) ProtoReflect

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

func (*Page) Reset

func (x *Page) Reset()

func (*Page) String

func (x *Page) String() string

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

Jump to

Keyboard shortcuts

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