Documentation ¶
Index ¶
- Variables
- type Error
- type ExtractedText
- func (*ExtractedText) Descriptor() ([]byte, []int)deprecated
- func (x *ExtractedText) GetCharacterCount() int64
- func (x *ExtractedText) GetLanguage() string
- func (x *ExtractedText) GetLix() int64
- func (x *ExtractedText) GetLongWordCount() int64
- func (x *ExtractedText) GetSentenceCount() int64
- func (x *ExtractedText) GetText() string
- func (x *ExtractedText) GetWarcId() string
- func (x *ExtractedText) GetWordCount() int64
- func (*ExtractedText) ProtoMessage()
- func (x *ExtractedText) ProtoReflect() protoreflect.Message
- func (x *ExtractedText) Reset()
- func (x *ExtractedText) String() string
- type FieldMask
- type ParsedUri
- func (*ParsedUri) Descriptor() ([]byte, []int)deprecated
- func (x *ParsedUri) GetFragment() string
- func (x *ParsedUri) GetHost() string
- func (x *ParsedUri) GetHref() string
- func (x *ParsedUri) GetPassword() string
- func (x *ParsedUri) GetPath() string
- func (x *ParsedUri) GetPort() int32
- func (x *ParsedUri) GetQuery() string
- func (x *ParsedUri) GetScheme() string
- func (x *ParsedUri) GetUsername() string
- func (*ParsedUri) ProtoMessage()
- func (x *ParsedUri) ProtoReflect() protoreflect.Message
- func (x *ParsedUri) Reset()
- func (x *ParsedUri) String() string
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) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*FieldMask) ProtoMessage()
func (*FieldMask) ProtoReflect ¶
func (x *FieldMask) ProtoReflect() protoreflect.Message
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) GetFragment ¶
func (*ParsedUri) GetPassword ¶
func (*ParsedUri) GetUsername ¶
func (*ParsedUri) ProtoMessage ¶
func (*ParsedUri) ProtoMessage()
func (*ParsedUri) ProtoReflect ¶
func (x *ParsedUri) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.