Documentation ¶
Overview ¶
Package TSP is a generated protocol buffer package.
It is generated from these files:
TSPArchiveMessages.proto
It has these top-level messages:
ArchiveInfo MessageInfo FieldInfo FieldPath ComponentInfo ComponentExternalReference ComponentDataReference PackageMetadata PasteboardMetadata DataInfo ViewStateMetadata
Package TSP is a generated protocol buffer package.
It is generated from these files:
TSPDatabaseMessages.proto
It has these top-level messages:
DatabaseData DatabaseDataArchive DatabaseImageDataArchive
Package TSP is a generated protocol buffer package.
It is generated from these files:
TSPMessages.proto
It has these top-level messages:
Reference DataReference Point Size Range Date IndexSet Color Path ReferenceDictionary PasteboardObject ObjectContainer
Index ¶
- Constants
- Variables
- type ArchiveInfo
- type Color
- func (m *Color) GetA() float32
- func (m *Color) GetB() float32
- func (m *Color) GetC() float32
- func (m *Color) GetG() float32
- func (m *Color) GetK() float32
- func (m *Color) GetM() float32
- func (m *Color) GetModel() Color_ColorModel
- func (m *Color) GetR() float32
- func (m *Color) GetW() float32
- func (m *Color) GetY() float32
- func (*Color) ProtoMessage()
- func (m *Color) Reset()
- func (m *Color) String() string
- type Color_ColorModel
- type ComponentDataReference
- type ComponentExternalReference
- func (m *ComponentExternalReference) GetComponentIdentifier() uint64
- func (m *ComponentExternalReference) GetIsWeak() bool
- func (m *ComponentExternalReference) GetObjectIdentifier() uint64
- func (*ComponentExternalReference) ProtoMessage()
- func (m *ComponentExternalReference) Reset()
- func (m *ComponentExternalReference) String() string
- type ComponentInfo
- func (m *ComponentInfo) GetAllowsDuplicatesOutsideOfDocumentPackage() bool
- func (m *ComponentInfo) GetDataReferences() []*ComponentDataReference
- func (m *ComponentInfo) GetDirtiesDocumentPackage() bool
- func (m *ComponentInfo) GetExternalReferences() []*ComponentExternalReference
- func (m *ComponentInfo) GetIdentifier() uint64
- func (m *ComponentInfo) GetIsStoredOutsideObjectArchive() bool
- func (m *ComponentInfo) GetLocator() string
- func (m *ComponentInfo) GetPreferredLocator() string
- func (m *ComponentInfo) GetReadVersion() []uint32
- func (m *ComponentInfo) GetWriteVersion() []uint32
- func (*ComponentInfo) ProtoMessage()
- func (m *ComponentInfo) Reset()
- func (m *ComponentInfo) String() string
- type DataInfo
- func (m *DataInfo) GetDigest() []byte
- func (m *DataInfo) GetDocumentResourceLocator() string
- func (m *DataInfo) GetFileName() string
- func (m *DataInfo) GetIdentifier() uint64
- func (m *DataInfo) GetPasteboardExternalFilePath() string
- func (m *DataInfo) GetPreferredFileName() string
- func (m *DataInfo) GetSourceBookmarkData() []byte
- func (*DataInfo) ProtoMessage()
- func (m *DataInfo) Reset()
- func (m *DataInfo) String() string
- type DataReference
- type DatabaseData
- type DatabaseDataArchive
- func (m *DatabaseDataArchive) GetAppRelativePath() string
- func (m *DatabaseDataArchive) GetData() *Reference
- func (m *DatabaseDataArchive) GetDisplayName() string
- func (m *DatabaseDataArchive) GetHash() uint32
- func (m *DatabaseDataArchive) GetLength() uint64
- func (m *DatabaseDataArchive) GetSharable() bool
- func (*DatabaseDataArchive) ProtoMessage()
- func (m *DatabaseDataArchive) Reset()
- func (m *DatabaseDataArchive) String() string
- type DatabaseImageDataArchive
- type DatabaseImageDataArchive_ImageType
- type Date
- type FieldInfo
- func (m *FieldInfo) GetDataReferences() []uint64
- func (m *FieldInfo) GetObjectReferences() []uint64
- func (m *FieldInfo) GetPath() *FieldPath
- func (m *FieldInfo) GetRule() FieldInfo_Rule
- func (m *FieldInfo) GetType() FieldInfo_Type
- func (*FieldInfo) ProtoMessage()
- func (m *FieldInfo) Reset()
- func (m *FieldInfo) String() string
- type FieldInfo_Rule
- type FieldInfo_Type
- type FieldPath
- type IndexSet
- type MessageInfo
- func (m *MessageInfo) GetDataReferences() []uint64
- func (m *MessageInfo) GetFieldInfos() []*FieldInfo
- func (m *MessageInfo) GetLength() uint32
- func (m *MessageInfo) GetObjectReferences() []uint64
- func (m *MessageInfo) GetType() uint32
- func (m *MessageInfo) GetVersion() []uint32
- func (*MessageInfo) ProtoMessage()
- func (m *MessageInfo) Reset()
- func (m *MessageInfo) String() string
- type ObjectContainer
- type PackageMetadata
- func (m *PackageMetadata) GetComponents() []*ComponentInfo
- func (m *PackageMetadata) GetDatas() []*DataInfo
- func (m *PackageMetadata) GetLastObjectIdentifier() uint64
- func (m *PackageMetadata) GetReadVersion() []uint32
- func (m *PackageMetadata) GetWriteVersion() []uint32
- func (*PackageMetadata) ProtoMessage()
- func (m *PackageMetadata) Reset()
- func (m *PackageMetadata) String() string
- type PasteboardMetadata
- func (m *PasteboardMetadata) GetAppName() string
- func (m *PasteboardMetadata) GetDatas() []*DataInfo
- func (m *PasteboardMetadata) GetSourceDocumentUuid() string
- func (m *PasteboardMetadata) GetVersion() []uint32
- func (*PasteboardMetadata) ProtoMessage()
- func (m *PasteboardMetadata) Reset()
- func (m *PasteboardMetadata) String() string
- type PasteboardObject
- func (m *PasteboardObject) GetAppNativeObject() *Reference
- func (m *PasteboardObject) GetDrawables() []*Reference
- func (m *PasteboardObject) GetGuideStorage() *Reference
- func (m *PasteboardObject) GetIsSmart() bool
- func (m *PasteboardObject) GetIsTextPrimary() bool
- func (m *PasteboardObject) GetStyles() []*Reference
- func (m *PasteboardObject) GetStylesheet() *Reference
- func (m *PasteboardObject) GetTheme() *Reference
- func (m *PasteboardObject) GetWpStorage() *Reference
- func (*PasteboardObject) ProtoMessage()
- func (m *PasteboardObject) Reset()
- func (m *PasteboardObject) String() string
- type Path
- type Path_Element
- type Path_ElementType
- type Point
- type Range
- type Reference
- type ReferenceDictionary
- type ReferenceDictionary_Entry
- type Size
- type ViewStateMetadata
Constants ¶
View Source
const Default_Color_A float32 = 1
View Source
const Default_ComponentInfo_AllowsDuplicatesOutsideOfDocumentPackage bool = false
View Source
const Default_ComponentInfo_DirtiesDocumentPackage bool = true
View Source
const Default_ComponentInfo_IsStoredOutsideObjectArchive bool = false
View Source
const Default_DatabaseDataArchive_Sharable bool = true
View Source
const Default_PasteboardObject_IsSmart bool = false
View Source
const Default_PasteboardObject_IsTextPrimary bool = false
Variables ¶
View Source
var Color_ColorModel_name = map[int32]string{
1: "rgb",
2: "cmyk",
3: "white",
}
View Source
var Color_ColorModel_value = map[string]int32{
"rgb": 1,
"cmyk": 2,
"white": 3,
}
View Source
var DatabaseImageDataArchive_ImageType_name = map[int32]string{
0: "unknown",
1: "bitmap",
2: "pdf",
}
View Source
var DatabaseImageDataArchive_ImageType_value = map[string]int32{
"unknown": 0,
"bitmap": 1,
"pdf": 2,
}
View Source
var FieldInfo_Rule_name = map[int32]string{
0: "IgnoreAndDrop",
1: "IgnoreAndPreserve",
2: "MustUnderstand",
-1: "NotSupported",
}
View Source
var FieldInfo_Rule_value = map[string]int32{
"IgnoreAndDrop": 0,
"IgnoreAndPreserve": 1,
"MustUnderstand": 2,
"NotSupported": -1,
}
View Source
var FieldInfo_Type_name = map[int32]string{
0: "Value",
1: "ObjectReference",
2: "DataReference",
3: "Message",
}
View Source
var FieldInfo_Type_value = map[string]int32{
"Value": 0,
"ObjectReference": 1,
"DataReference": 2,
"Message": 3,
}
View Source
var Path_ElementType_name = map[int32]string{
1: "moveTo",
2: "lineTo",
3: "quadCurveTo",
4: "curveTo",
5: "closeSubpath",
}
View Source
var Path_ElementType_value = map[string]int32{
"moveTo": 1,
"lineTo": 2,
"quadCurveTo": 3,
"curveTo": 4,
"closeSubpath": 5,
}
Functions ¶
This section is empty.
Types ¶
type ArchiveInfo ¶
type ArchiveInfo struct { Identifier *uint64 `protobuf:"varint,1,opt,name=identifier" json:"identifier,omitempty"` MessageInfos []*MessageInfo `protobuf:"bytes,2,rep,name=message_infos" json:"message_infos,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ArchiveInfo) GetIdentifier ¶
func (m *ArchiveInfo) GetIdentifier() uint64
func (*ArchiveInfo) GetMessageInfos ¶
func (m *ArchiveInfo) GetMessageInfos() []*MessageInfo
func (*ArchiveInfo) ProtoMessage ¶
func (*ArchiveInfo) ProtoMessage()
func (*ArchiveInfo) Reset ¶
func (m *ArchiveInfo) Reset()
func (*ArchiveInfo) String ¶
func (m *ArchiveInfo) String() string
type Color ¶
type Color struct { Model *Color_ColorModel `protobuf:"varint,1,req,name=model,enum=TSP.Color_ColorModel" json:"model,omitempty"` R *float32 `protobuf:"fixed32,3,opt,name=r" json:"r,omitempty"` G *float32 `protobuf:"fixed32,4,opt,name=g" json:"g,omitempty"` B *float32 `protobuf:"fixed32,5,opt,name=b" json:"b,omitempty"` A *float32 `protobuf:"fixed32,6,opt,name=a,def=1" json:"a,omitempty"` C *float32 `protobuf:"fixed32,7,opt,name=c" json:"c,omitempty"` M *float32 `protobuf:"fixed32,8,opt,name=m" json:"m,omitempty"` Y *float32 `protobuf:"fixed32,9,opt,name=y" json:"y,omitempty"` K *float32 `protobuf:"fixed32,10,opt,name=k" json:"k,omitempty"` W *float32 `protobuf:"fixed32,11,opt,name=w" json:"w,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Color) GetModel ¶
func (m *Color) GetModel() Color_ColorModel
func (*Color) ProtoMessage ¶
func (*Color) ProtoMessage()
type Color_ColorModel ¶
type Color_ColorModel int32
const ( Color_rgb Color_ColorModel = 1 Color_cmyk Color_ColorModel = 2 Color_white Color_ColorModel = 3 )
func (Color_ColorModel) Enum ¶
func (x Color_ColorModel) Enum() *Color_ColorModel
func (Color_ColorModel) String ¶
func (x Color_ColorModel) String() string
func (*Color_ColorModel) UnmarshalJSON ¶
func (x *Color_ColorModel) UnmarshalJSON(data []byte) error
type ComponentDataReference ¶
type ComponentDataReference struct { DataIdentifier *uint64 `protobuf:"varint,1,req,name=data_identifier" json:"data_identifier,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ComponentDataReference) GetDataIdentifier ¶
func (m *ComponentDataReference) GetDataIdentifier() uint64
func (*ComponentDataReference) ProtoMessage ¶
func (*ComponentDataReference) ProtoMessage()
func (*ComponentDataReference) Reset ¶
func (m *ComponentDataReference) Reset()
func (*ComponentDataReference) String ¶
func (m *ComponentDataReference) String() string
type ComponentExternalReference ¶
type ComponentExternalReference struct { ComponentIdentifier *uint64 `protobuf:"varint,1,req,name=component_identifier" json:"component_identifier,omitempty"` ObjectIdentifier *uint64 `protobuf:"varint,2,opt,name=object_identifier" json:"object_identifier,omitempty"` IsWeak *bool `protobuf:"varint,3,opt,name=is_weak" json:"is_weak,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ComponentExternalReference) GetComponentIdentifier ¶
func (m *ComponentExternalReference) GetComponentIdentifier() uint64
func (*ComponentExternalReference) GetIsWeak ¶
func (m *ComponentExternalReference) GetIsWeak() bool
func (*ComponentExternalReference) GetObjectIdentifier ¶
func (m *ComponentExternalReference) GetObjectIdentifier() uint64
func (*ComponentExternalReference) ProtoMessage ¶
func (*ComponentExternalReference) ProtoMessage()
func (*ComponentExternalReference) Reset ¶
func (m *ComponentExternalReference) Reset()
func (*ComponentExternalReference) String ¶
func (m *ComponentExternalReference) String() string
type ComponentInfo ¶
type ComponentInfo struct { Identifier *uint64 `protobuf:"varint,1,req,name=identifier" json:"identifier,omitempty"` PreferredLocator *string `protobuf:"bytes,2,req,name=preferred_locator" json:"preferred_locator,omitempty"` Locator *string `protobuf:"bytes,3,opt,name=locator" json:"locator,omitempty"` ReadVersion []uint32 `protobuf:"varint,4,rep,packed,name=read_version" json:"read_version,omitempty"` WriteVersion []uint32 `protobuf:"varint,5,rep,packed,name=write_version" json:"write_version,omitempty"` ExternalReferences []*ComponentExternalReference `protobuf:"bytes,6,rep,name=external_references" json:"external_references,omitempty"` DataReferences []*ComponentDataReference `protobuf:"bytes,7,rep,name=data_references" json:"data_references,omitempty"` AllowsDuplicatesOutsideOfDocumentPackage *bool `` /* 143-byte string literal not displayed */ DirtiesDocumentPackage *bool `protobuf:"varint,9,opt,name=dirties_document_package,def=1" json:"dirties_document_package,omitempty"` IsStoredOutsideObjectArchive *bool `protobuf:"varint,10,opt,name=is_stored_outside_object_archive,def=0" json:"is_stored_outside_object_archive,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ComponentInfo) GetAllowsDuplicatesOutsideOfDocumentPackage ¶
func (m *ComponentInfo) GetAllowsDuplicatesOutsideOfDocumentPackage() bool
func (*ComponentInfo) GetDataReferences ¶
func (m *ComponentInfo) GetDataReferences() []*ComponentDataReference
func (*ComponentInfo) GetDirtiesDocumentPackage ¶
func (m *ComponentInfo) GetDirtiesDocumentPackage() bool
func (*ComponentInfo) GetExternalReferences ¶
func (m *ComponentInfo) GetExternalReferences() []*ComponentExternalReference
func (*ComponentInfo) GetIdentifier ¶
func (m *ComponentInfo) GetIdentifier() uint64
func (*ComponentInfo) GetIsStoredOutsideObjectArchive ¶
func (m *ComponentInfo) GetIsStoredOutsideObjectArchive() bool
func (*ComponentInfo) GetLocator ¶
func (m *ComponentInfo) GetLocator() string
func (*ComponentInfo) GetPreferredLocator ¶
func (m *ComponentInfo) GetPreferredLocator() string
func (*ComponentInfo) GetReadVersion ¶
func (m *ComponentInfo) GetReadVersion() []uint32
func (*ComponentInfo) GetWriteVersion ¶
func (m *ComponentInfo) GetWriteVersion() []uint32
func (*ComponentInfo) ProtoMessage ¶
func (*ComponentInfo) ProtoMessage()
func (*ComponentInfo) Reset ¶
func (m *ComponentInfo) Reset()
func (*ComponentInfo) String ¶
func (m *ComponentInfo) String() string
type DataInfo ¶
type DataInfo struct { Identifier *uint64 `protobuf:"varint,1,req,name=identifier" json:"identifier,omitempty"` Digest []byte `protobuf:"bytes,2,req,name=digest" json:"digest,omitempty"` PreferredFileName *string `protobuf:"bytes,3,req,name=preferred_file_name" json:"preferred_file_name,omitempty"` FileName *string `protobuf:"bytes,4,opt,name=file_name" json:"file_name,omitempty"` DocumentResourceLocator *string `protobuf:"bytes,5,opt,name=document_resource_locator" json:"document_resource_locator,omitempty"` SourceBookmarkData []byte `protobuf:"bytes,6,opt,name=source_bookmark_data" json:"source_bookmark_data,omitempty"` PasteboardExternalFilePath *string `protobuf:"bytes,99,opt,name=pasteboard_external_file_path" json:"pasteboard_external_file_path,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DataInfo) GetDocumentResourceLocator ¶
func (*DataInfo) GetFileName ¶
func (*DataInfo) GetIdentifier ¶
func (*DataInfo) GetPasteboardExternalFilePath ¶
func (*DataInfo) GetPreferredFileName ¶
func (*DataInfo) GetSourceBookmarkData ¶
func (*DataInfo) ProtoMessage ¶
func (*DataInfo) ProtoMessage()
type DataReference ¶
type DataReference struct { Identifier *uint64 `protobuf:"varint,1,req,name=identifier" json:"identifier,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DataReference) GetIdentifier ¶
func (m *DataReference) GetIdentifier() uint64
func (*DataReference) ProtoMessage ¶
func (*DataReference) ProtoMessage()
func (*DataReference) Reset ¶
func (m *DataReference) Reset()
func (*DataReference) String ¶
func (m *DataReference) String() string
type DatabaseData ¶
type DatabaseData struct { Data *DataReference `protobuf:"bytes,1,req,name=data" json:"data,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DatabaseData) GetData ¶
func (m *DatabaseData) GetData() *DataReference
func (*DatabaseData) ProtoMessage ¶
func (*DatabaseData) ProtoMessage()
func (*DatabaseData) Reset ¶
func (m *DatabaseData) Reset()
func (*DatabaseData) String ¶
func (m *DatabaseData) String() string
type DatabaseDataArchive ¶
type DatabaseDataArchive struct { Data *Reference `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"` AppRelativePath *string `protobuf:"bytes,2,opt,name=app_relative_path" json:"app_relative_path,omitempty"` DisplayName *string `protobuf:"bytes,3,req,name=display_name" json:"display_name,omitempty"` Length *uint64 `protobuf:"varint,4,opt,name=length" json:"length,omitempty"` Hash *uint32 `protobuf:"varint,5,opt,name=hash" json:"hash,omitempty"` Sharable *bool `protobuf:"varint,6,req,name=sharable,def=1" json:"sharable,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DatabaseDataArchive) GetAppRelativePath ¶
func (m *DatabaseDataArchive) GetAppRelativePath() string
func (*DatabaseDataArchive) GetData ¶
func (m *DatabaseDataArchive) GetData() *Reference
func (*DatabaseDataArchive) GetDisplayName ¶
func (m *DatabaseDataArchive) GetDisplayName() string
func (*DatabaseDataArchive) GetHash ¶
func (m *DatabaseDataArchive) GetHash() uint32
func (*DatabaseDataArchive) GetLength ¶
func (m *DatabaseDataArchive) GetLength() uint64
func (*DatabaseDataArchive) GetSharable ¶
func (m *DatabaseDataArchive) GetSharable() bool
func (*DatabaseDataArchive) ProtoMessage ¶
func (*DatabaseDataArchive) ProtoMessage()
func (*DatabaseDataArchive) Reset ¶
func (m *DatabaseDataArchive) Reset()
func (*DatabaseDataArchive) String ¶
func (m *DatabaseDataArchive) String() string
type DatabaseImageDataArchive ¶
type DatabaseImageDataArchive struct { Super *DatabaseDataArchive `protobuf:"bytes,1,req,name=super" json:"super,omitempty"` Type *DatabaseImageDataArchive_ImageType `protobuf:"varint,2,req,name=type,enum=DatabaseImageDataArchive_ImageType" json:"type,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DatabaseImageDataArchive) GetSuper ¶
func (m *DatabaseImageDataArchive) GetSuper() *DatabaseDataArchive
func (*DatabaseImageDataArchive) GetType ¶
func (m *DatabaseImageDataArchive) GetType() DatabaseImageDataArchive_ImageType
func (*DatabaseImageDataArchive) ProtoMessage ¶
func (*DatabaseImageDataArchive) ProtoMessage()
func (*DatabaseImageDataArchive) Reset ¶
func (m *DatabaseImageDataArchive) Reset()
func (*DatabaseImageDataArchive) String ¶
func (m *DatabaseImageDataArchive) String() string
type DatabaseImageDataArchive_ImageType ¶
type DatabaseImageDataArchive_ImageType int32
const ( DatabaseImageDataArchive_unknown DatabaseImageDataArchive_ImageType = 0 DatabaseImageDataArchive_bitmap DatabaseImageDataArchive_ImageType = 1 DatabaseImageDataArchive_pdf DatabaseImageDataArchive_ImageType = 2 )
func (DatabaseImageDataArchive_ImageType) Enum ¶
func (x DatabaseImageDataArchive_ImageType) Enum() *DatabaseImageDataArchive_ImageType
func (DatabaseImageDataArchive_ImageType) String ¶
func (x DatabaseImageDataArchive_ImageType) String() string
func (*DatabaseImageDataArchive_ImageType) UnmarshalJSON ¶
func (x *DatabaseImageDataArchive_ImageType) UnmarshalJSON(data []byte) error
type Date ¶
type Date struct { Seconds *float64 `protobuf:"fixed64,1,req,name=seconds" json:"seconds,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Date) GetSeconds ¶
func (*Date) ProtoMessage ¶
func (*Date) ProtoMessage()
type FieldInfo ¶
type FieldInfo struct { Path *FieldPath `protobuf:"bytes,1,req,name=path" json:"path,omitempty"` Type *FieldInfo_Type `protobuf:"varint,2,opt,name=type,enum=TSP.FieldInfo_Type,def=0" json:"type,omitempty"` Rule *FieldInfo_Rule `protobuf:"varint,3,opt,name=rule,enum=TSP.FieldInfo_Rule,def=0" json:"rule,omitempty"` ObjectReferences []uint64 `protobuf:"varint,4,rep,packed,name=object_references" json:"object_references,omitempty"` DataReferences []uint64 `protobuf:"varint,5,rep,packed,name=data_references" json:"data_references,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*FieldInfo) GetDataReferences ¶
func (*FieldInfo) GetObjectReferences ¶
func (*FieldInfo) GetRule ¶
func (m *FieldInfo) GetRule() FieldInfo_Rule
func (*FieldInfo) GetType ¶
func (m *FieldInfo) GetType() FieldInfo_Type
func (*FieldInfo) ProtoMessage ¶
func (*FieldInfo) ProtoMessage()
type FieldInfo_Rule ¶
type FieldInfo_Rule int32
const ( FieldInfo_IgnoreAndDrop FieldInfo_Rule = 0 FieldInfo_IgnoreAndPreserve FieldInfo_Rule = 1 FieldInfo_MustUnderstand FieldInfo_Rule = 2 FieldInfo_NotSupported FieldInfo_Rule = -1 )
const Default_FieldInfo_Rule FieldInfo_Rule = FieldInfo_IgnoreAndDrop
func (FieldInfo_Rule) Enum ¶
func (x FieldInfo_Rule) Enum() *FieldInfo_Rule
func (FieldInfo_Rule) String ¶
func (x FieldInfo_Rule) String() string
func (*FieldInfo_Rule) UnmarshalJSON ¶
func (x *FieldInfo_Rule) UnmarshalJSON(data []byte) error
type FieldInfo_Type ¶
type FieldInfo_Type int32
const ( FieldInfo_Value FieldInfo_Type = 0 FieldInfo_ObjectReference FieldInfo_Type = 1 FieldInfo_DataReference FieldInfo_Type = 2 FieldInfo_Message FieldInfo_Type = 3 )
const Default_FieldInfo_Type FieldInfo_Type = FieldInfo_Value
func (FieldInfo_Type) Enum ¶
func (x FieldInfo_Type) Enum() *FieldInfo_Type
func (FieldInfo_Type) String ¶
func (x FieldInfo_Type) String() string
func (*FieldInfo_Type) UnmarshalJSON ¶
func (x *FieldInfo_Type) UnmarshalJSON(data []byte) error
type FieldPath ¶
type FieldPath struct { Path []uint32 `protobuf:"varint,1,rep,packed,name=path" json:"path,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*FieldPath) ProtoMessage ¶
func (*FieldPath) ProtoMessage()
type IndexSet ¶
type IndexSet struct { Ranges []*Range `protobuf:"bytes,1,rep,name=ranges" json:"ranges,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*IndexSet) ProtoMessage ¶
func (*IndexSet) ProtoMessage()
type MessageInfo ¶
type MessageInfo struct { Type *uint32 `protobuf:"varint,1,req,name=type" json:"type,omitempty"` Version []uint32 `protobuf:"varint,2,rep,packed,name=version" json:"version,omitempty"` Length *uint32 `protobuf:"varint,3,req,name=length" json:"length,omitempty"` FieldInfos []*FieldInfo `protobuf:"bytes,4,rep,name=field_infos" json:"field_infos,omitempty"` ObjectReferences []uint64 `protobuf:"varint,5,rep,packed,name=object_references" json:"object_references,omitempty"` DataReferences []uint64 `protobuf:"varint,6,rep,packed,name=data_references" json:"data_references,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MessageInfo) GetDataReferences ¶
func (m *MessageInfo) GetDataReferences() []uint64
func (*MessageInfo) GetFieldInfos ¶
func (m *MessageInfo) GetFieldInfos() []*FieldInfo
func (*MessageInfo) GetLength ¶
func (m *MessageInfo) GetLength() uint32
func (*MessageInfo) GetObjectReferences ¶
func (m *MessageInfo) GetObjectReferences() []uint64
func (*MessageInfo) GetType ¶
func (m *MessageInfo) GetType() uint32
func (*MessageInfo) GetVersion ¶
func (m *MessageInfo) GetVersion() []uint32
func (*MessageInfo) ProtoMessage ¶
func (*MessageInfo) ProtoMessage()
func (*MessageInfo) Reset ¶
func (m *MessageInfo) Reset()
func (*MessageInfo) String ¶
func (m *MessageInfo) String() string
type ObjectContainer ¶
type ObjectContainer struct { Identifier *uint32 `protobuf:"varint,1,opt,name=identifier" json:"identifier,omitempty"` Objects []*Reference `protobuf:"bytes,2,rep,name=objects" json:"objects,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ObjectContainer) GetIdentifier ¶
func (m *ObjectContainer) GetIdentifier() uint32
func (*ObjectContainer) GetObjects ¶
func (m *ObjectContainer) GetObjects() []*Reference
func (*ObjectContainer) ProtoMessage ¶
func (*ObjectContainer) ProtoMessage()
func (*ObjectContainer) Reset ¶
func (m *ObjectContainer) Reset()
func (*ObjectContainer) String ¶
func (m *ObjectContainer) String() string
type PackageMetadata ¶
type PackageMetadata struct { LastObjectIdentifier *uint64 `protobuf:"varint,1,req,name=last_object_identifier" json:"last_object_identifier,omitempty"` Components []*ComponentInfo `protobuf:"bytes,3,rep,name=components" json:"components,omitempty"` Datas []*DataInfo `protobuf:"bytes,4,rep,name=datas" json:"datas,omitempty"` ReadVersion []uint32 `protobuf:"varint,5,rep,packed,name=read_version" json:"read_version,omitempty"` WriteVersion []uint32 `protobuf:"varint,6,rep,packed,name=write_version" json:"write_version,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PackageMetadata) GetComponents ¶
func (m *PackageMetadata) GetComponents() []*ComponentInfo
func (*PackageMetadata) GetDatas ¶
func (m *PackageMetadata) GetDatas() []*DataInfo
func (*PackageMetadata) GetLastObjectIdentifier ¶
func (m *PackageMetadata) GetLastObjectIdentifier() uint64
func (*PackageMetadata) GetReadVersion ¶
func (m *PackageMetadata) GetReadVersion() []uint32
func (*PackageMetadata) GetWriteVersion ¶
func (m *PackageMetadata) GetWriteVersion() []uint32
func (*PackageMetadata) ProtoMessage ¶
func (*PackageMetadata) ProtoMessage()
func (*PackageMetadata) Reset ¶
func (m *PackageMetadata) Reset()
func (*PackageMetadata) String ¶
func (m *PackageMetadata) String() string
type PasteboardMetadata ¶
type PasteboardMetadata struct { Version []uint32 `protobuf:"varint,1,rep,packed,name=version" json:"version,omitempty"` AppName *string `protobuf:"bytes,2,req,name=app_name" json:"app_name,omitempty"` Datas []*DataInfo `protobuf:"bytes,3,rep,name=datas" json:"datas,omitempty"` SourceDocumentUuid *string `protobuf:"bytes,4,opt,name=source_document_uuid" json:"source_document_uuid,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PasteboardMetadata) GetAppName ¶
func (m *PasteboardMetadata) GetAppName() string
func (*PasteboardMetadata) GetDatas ¶
func (m *PasteboardMetadata) GetDatas() []*DataInfo
func (*PasteboardMetadata) GetSourceDocumentUuid ¶
func (m *PasteboardMetadata) GetSourceDocumentUuid() string
func (*PasteboardMetadata) GetVersion ¶
func (m *PasteboardMetadata) GetVersion() []uint32
func (*PasteboardMetadata) ProtoMessage ¶
func (*PasteboardMetadata) ProtoMessage()
func (*PasteboardMetadata) Reset ¶
func (m *PasteboardMetadata) Reset()
func (*PasteboardMetadata) String ¶
func (m *PasteboardMetadata) String() string
type PasteboardObject ¶
type PasteboardObject struct { Stylesheet *Reference `protobuf:"bytes,1,opt,name=stylesheet" json:"stylesheet,omitempty"` Drawables []*Reference `protobuf:"bytes,2,rep,name=drawables" json:"drawables,omitempty"` Styles []*Reference `protobuf:"bytes,3,rep,name=styles" json:"styles,omitempty"` Theme *Reference `protobuf:"bytes,4,opt,name=theme" json:"theme,omitempty"` WpStorage *Reference `protobuf:"bytes,5,opt,name=wp_storage" json:"wp_storage,omitempty"` GuideStorage *Reference `protobuf:"bytes,9,opt,name=guide_storage" json:"guide_storage,omitempty"` AppNativeObject *Reference `protobuf:"bytes,6,opt,name=app_native_object" json:"app_native_object,omitempty"` IsTextPrimary *bool `protobuf:"varint,7,opt,name=is_text_primary,def=0" json:"is_text_primary,omitempty"` IsSmart *bool `protobuf:"varint,8,opt,name=is_smart,def=0" json:"is_smart,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PasteboardObject) GetAppNativeObject ¶
func (m *PasteboardObject) GetAppNativeObject() *Reference
func (*PasteboardObject) GetDrawables ¶
func (m *PasteboardObject) GetDrawables() []*Reference
func (*PasteboardObject) GetGuideStorage ¶
func (m *PasteboardObject) GetGuideStorage() *Reference
func (*PasteboardObject) GetIsSmart ¶
func (m *PasteboardObject) GetIsSmart() bool
func (*PasteboardObject) GetIsTextPrimary ¶
func (m *PasteboardObject) GetIsTextPrimary() bool
func (*PasteboardObject) GetStyles ¶
func (m *PasteboardObject) GetStyles() []*Reference
func (*PasteboardObject) GetStylesheet ¶
func (m *PasteboardObject) GetStylesheet() *Reference
func (*PasteboardObject) GetTheme ¶
func (m *PasteboardObject) GetTheme() *Reference
func (*PasteboardObject) GetWpStorage ¶
func (m *PasteboardObject) GetWpStorage() *Reference
func (*PasteboardObject) ProtoMessage ¶
func (*PasteboardObject) ProtoMessage()
func (*PasteboardObject) Reset ¶
func (m *PasteboardObject) Reset()
func (*PasteboardObject) String ¶
func (m *PasteboardObject) String() string
type Path ¶
type Path struct { Elements []*Path_Element `protobuf:"bytes,1,rep,name=elements" json:"elements,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Path) GetElements ¶
func (m *Path) GetElements() []*Path_Element
func (*Path) ProtoMessage ¶
func (*Path) ProtoMessage()
type Path_Element ¶
type Path_Element struct { Type *Path_ElementType `protobuf:"varint,1,req,name=type,enum=TSP.Path_ElementType" json:"type,omitempty"` Points []*Point `protobuf:"bytes,2,rep,name=points" json:"points,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Path_Element) GetPoints ¶
func (m *Path_Element) GetPoints() []*Point
func (*Path_Element) GetType ¶
func (m *Path_Element) GetType() Path_ElementType
func (*Path_Element) ProtoMessage ¶
func (*Path_Element) ProtoMessage()
func (*Path_Element) Reset ¶
func (m *Path_Element) Reset()
func (*Path_Element) String ¶
func (m *Path_Element) String() string
type Path_ElementType ¶
type Path_ElementType int32
const ( Path_moveTo Path_ElementType = 1 Path_lineTo Path_ElementType = 2 Path_quadCurveTo Path_ElementType = 3 Path_curveTo Path_ElementType = 4 Path_closeSubpath Path_ElementType = 5 )
func (Path_ElementType) Enum ¶
func (x Path_ElementType) Enum() *Path_ElementType
func (Path_ElementType) String ¶
func (x Path_ElementType) String() string
func (*Path_ElementType) UnmarshalJSON ¶
func (x *Path_ElementType) UnmarshalJSON(data []byte) error
type Point ¶
type Point struct { X *float32 `protobuf:"fixed32,1,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,2,req,name=y" json:"y,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
type Range ¶
type Range struct { Location *uint32 `protobuf:"varint,1,req,name=location" json:"location,omitempty"` Length *uint32 `protobuf:"varint,2,req,name=length" json:"length,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Range) GetLocation ¶
func (*Range) ProtoMessage ¶
func (*Range) ProtoMessage()
type Reference ¶
type Reference struct { Identifier *uint64 `protobuf:"varint,1,req,name=identifier" json:"identifier,omitempty"` DeprecatedType *int32 `protobuf:"varint,2,opt,name=deprecated_type" json:"deprecated_type,omitempty"` DeprecatedIsExternal *bool `protobuf:"varint,3,opt,name=deprecated_is_external" json:"deprecated_is_external,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Reference) GetDeprecatedIsExternal ¶
func (*Reference) GetDeprecatedType ¶
func (*Reference) GetIdentifier ¶
func (*Reference) ProtoMessage ¶
func (*Reference) ProtoMessage()
type ReferenceDictionary ¶
type ReferenceDictionary struct { Entries []*ReferenceDictionary_Entry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ReferenceDictionary) GetEntries ¶
func (m *ReferenceDictionary) GetEntries() []*ReferenceDictionary_Entry
func (*ReferenceDictionary) ProtoMessage ¶
func (*ReferenceDictionary) ProtoMessage()
func (*ReferenceDictionary) Reset ¶
func (m *ReferenceDictionary) Reset()
func (*ReferenceDictionary) String ¶
func (m *ReferenceDictionary) String() string
type ReferenceDictionary_Entry ¶
type ReferenceDictionary_Entry struct { Key *Reference `protobuf:"bytes,1,req,name=key" json:"key,omitempty"` Value *Reference `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ReferenceDictionary_Entry) GetKey ¶
func (m *ReferenceDictionary_Entry) GetKey() *Reference
func (*ReferenceDictionary_Entry) GetValue ¶
func (m *ReferenceDictionary_Entry) GetValue() *Reference
func (*ReferenceDictionary_Entry) ProtoMessage ¶
func (*ReferenceDictionary_Entry) ProtoMessage()
func (*ReferenceDictionary_Entry) Reset ¶
func (m *ReferenceDictionary_Entry) Reset()
func (*ReferenceDictionary_Entry) String ¶
func (m *ReferenceDictionary_Entry) String() string
type Size ¶
type Size struct { Width *float32 `protobuf:"fixed32,1,req,name=width" json:"width,omitempty"` Height *float32 `protobuf:"fixed32,2,req,name=height" json:"height,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Size) ProtoMessage ¶
func (*Size) ProtoMessage()
type ViewStateMetadata ¶
type ViewStateMetadata struct { Version []uint32 `protobuf:"varint,1,rep,packed,name=version" json:"version,omitempty"` DocumentVersionUuid *string `protobuf:"bytes,2,req,name=document_version_uuid" json:"document_version_uuid,omitempty"` Component *ComponentInfo `protobuf:"bytes,3,req,name=component" json:"component,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ViewStateMetadata) GetComponent ¶
func (m *ViewStateMetadata) GetComponent() *ComponentInfo
func (*ViewStateMetadata) GetDocumentVersionUuid ¶
func (m *ViewStateMetadata) GetDocumentVersionUuid() string
func (*ViewStateMetadata) GetVersion ¶
func (m *ViewStateMetadata) GetVersion() []uint32
func (*ViewStateMetadata) ProtoMessage ¶
func (*ViewStateMetadata) ProtoMessage()
func (*ViewStateMetadata) Reset ¶
func (m *ViewStateMetadata) Reset()
func (*ViewStateMetadata) String ¶
func (m *ViewStateMetadata) String() string
Click to show internal directories.
Click to hide internal directories.