commons

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: Apache-2.0 Imports: 4 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_commons_v1_resources_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Error

type Error struct {
	Code   int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg    string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCode

func (x *Error) GetCode() int32

func (*Error) GetDetail

func (x *Error) GetDetail() string

func (*Error) GetMsg

func (x *Error) GetMsg() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

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

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type ExtractedText

type ExtractedText struct {
	WarcId         string `protobuf:"bytes,1,opt,name=warc_id,json=warcId,proto3" json:"warc_id,omitempty"`
	Text           string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	SentenceCount  int64  `protobuf:"varint,3,opt,name=sentence_count,json=sentenceCount,proto3" json:"sentence_count,omitempty"`
	WordCount      int64  `protobuf:"varint,4,opt,name=word_count,json=wordCount,proto3" json:"word_count,omitempty"`
	LongWordCount  int64  `protobuf:"varint,5,opt,name=long_word_count,json=longWordCount,proto3" json:"long_word_count,omitempty"`
	CharacterCount int64  `protobuf:"varint,6,opt,name=character_count,json=characterCount,proto3" json:"character_count,omitempty"`
	Lix            int64  `protobuf:"varint,7,opt,name=lix,proto3" json:"lix,omitempty"`
	Language       string `protobuf:"bytes,8,opt,name=language,proto3" json:"language,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtractedText) Descriptor deprecated

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

Deprecated: Use ExtractedText.ProtoReflect.Descriptor instead.

func (*ExtractedText) GetCharacterCount

func (x *ExtractedText) GetCharacterCount() int64

func (*ExtractedText) GetLanguage

func (x *ExtractedText) GetLanguage() string

func (*ExtractedText) GetLix

func (x *ExtractedText) GetLix() int64

func (*ExtractedText) GetLongWordCount

func (x *ExtractedText) GetLongWordCount() int64

func (*ExtractedText) GetSentenceCount

func (x *ExtractedText) GetSentenceCount() int64

func (*ExtractedText) GetText

func (x *ExtractedText) GetText() string

func (*ExtractedText) GetWarcId

func (x *ExtractedText) GetWarcId() string

func (*ExtractedText) GetWordCount

func (x *ExtractedText) GetWordCount() int64

func (*ExtractedText) ProtoMessage

func (*ExtractedText) ProtoMessage()

func (*ExtractedText) ProtoReflect

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

func (*ExtractedText) Reset

func (x *ExtractedText) Reset()

func (*ExtractedText) String

func (x *ExtractedText) String() string

type FieldMask

type FieldMask struct {
	Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldMask) Descriptor deprecated

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

Deprecated: Use FieldMask.ProtoReflect.Descriptor instead.

func (*FieldMask) GetPaths

func (x *FieldMask) GetPaths() []string

func (*FieldMask) ProtoMessage

func (*FieldMask) ProtoMessage()

func (*FieldMask) ProtoReflect

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

func (*FieldMask) Reset

func (x *FieldMask) Reset()

func (*FieldMask) String

func (x *FieldMask) String() string

type ParsedUri

type ParsedUri struct {

	// The entire uri
	Href string `protobuf:"bytes,1,opt,name=href,proto3" json:"href,omitempty"`
	// The scheme (protocol) part of the uri
	Scheme string `protobuf:"bytes,2,opt,name=scheme,proto3" json:"scheme,omitempty"`
	// The hostname of the uri
	Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	// The port number of the uri
	Port int32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	// The username part of the uri
	Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
	// The password part of the uri
	Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`
	// The path part of the uri
	Path string `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"`
	// The query (search) part of the uri
	Query string `protobuf:"bytes,8,opt,name=query,proto3" json:"query,omitempty"`
	// The fragment (hash) part of the uri
	Fragment string `protobuf:"bytes,9,opt,name=fragment,proto3" json:"fragment,omitempty"`
	// contains filtered or unexported fields
}

func (*ParsedUri) Descriptor deprecated

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

Deprecated: Use ParsedUri.ProtoReflect.Descriptor instead.

func (*ParsedUri) GetFragment

func (x *ParsedUri) GetFragment() string

func (*ParsedUri) GetHost

func (x *ParsedUri) GetHost() string

func (*ParsedUri) GetHref

func (x *ParsedUri) GetHref() string

func (*ParsedUri) GetPassword

func (x *ParsedUri) GetPassword() string

func (*ParsedUri) GetPath

func (x *ParsedUri) GetPath() string

func (*ParsedUri) GetPort

func (x *ParsedUri) GetPort() int32

func (*ParsedUri) GetQuery

func (x *ParsedUri) GetQuery() string

func (*ParsedUri) GetScheme

func (x *ParsedUri) GetScheme() string

func (*ParsedUri) GetUsername

func (x *ParsedUri) GetUsername() string

func (*ParsedUri) ProtoMessage

func (*ParsedUri) ProtoMessage()

func (*ParsedUri) ProtoReflect

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

func (*ParsedUri) Reset

func (x *ParsedUri) Reset()

func (*ParsedUri) String

func (x *ParsedUri) String() string

Jump to

Keyboard shortcuts

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