v0

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EntityJSONMarshaler = new(jsonpb.Marshaler)

EntityJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Entity. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var EntityJSONUnmarshaler = new(jsonpb.Unmarshaler)

EntityJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Entity. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var File_ocis_messages_search_v0_search_proto protoreflect.FileDescriptor
View Source
var MatchJSONMarshaler = new(jsonpb.Marshaler)

MatchJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Match. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var MatchJSONUnmarshaler = new(jsonpb.Unmarshaler)

MatchJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Match. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ReferenceJSONMarshaler = new(jsonpb.Marshaler)

ReferenceJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Reference. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ReferenceJSONUnmarshaler = new(jsonpb.Unmarshaler)

ReferenceJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Reference. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ResourceIDJSONMarshaler = new(jsonpb.Marshaler)

ResourceIDJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ResourceID. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var ResourceIDJSONUnmarshaler = new(jsonpb.Unmarshaler)

ResourceIDJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ResourceID. This struct is safe to replace or modify but should not be done so concurrently.

Functions

This section is empty.

Types

type Entity

type Entity struct {
	Ref              *Reference             `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	Id               *ResourceID            `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Name             string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Etag             string                 `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
	Size             uint64                 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
	LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
	MimeType         string                 `protobuf:"bytes,7,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	Permissions      string                 `protobuf:"bytes,8,opt,name=permissions,proto3" json:"permissions,omitempty"`
	Type             uint64                 `protobuf:"varint,9,opt,name=type,proto3" json:"type,omitempty"`
	Deleted          bool                   `protobuf:"varint,10,opt,name=deleted,proto3" json:"deleted,omitempty"`
	ShareRootName    string                 `protobuf:"bytes,11,opt,name=shareRootName,proto3" json:"shareRootName,omitempty"`
	ParentId         *ResourceID            `protobuf:"bytes,12,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Entity) Descriptor deprecated

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

Deprecated: Use Entity.ProtoReflect.Descriptor instead.

func (*Entity) GetDeleted

func (x *Entity) GetDeleted() bool

func (*Entity) GetEtag

func (x *Entity) GetEtag() string

func (*Entity) GetId

func (x *Entity) GetId() *ResourceID

func (*Entity) GetLastModifiedTime

func (x *Entity) GetLastModifiedTime() *timestamppb.Timestamp

func (*Entity) GetMimeType

func (x *Entity) GetMimeType() string

func (*Entity) GetName

func (x *Entity) GetName() string

func (*Entity) GetParentId

func (x *Entity) GetParentId() *ResourceID

func (*Entity) GetPermissions

func (x *Entity) GetPermissions() string

func (*Entity) GetRef

func (x *Entity) GetRef() *Reference

func (*Entity) GetShareRootName

func (x *Entity) GetShareRootName() string

func (*Entity) GetSize

func (x *Entity) GetSize() uint64

func (*Entity) GetType

func (x *Entity) GetType() uint64

func (*Entity) MarshalJSON

func (m *Entity) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) ProtoReflect

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

func (*Entity) Reset

func (x *Entity) Reset()

func (*Entity) String

func (x *Entity) String() string

func (*Entity) UnmarshalJSON

func (m *Entity) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type Match

type Match struct {

	// the matched entity
	Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// the match score
	Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"`
	// contains filtered or unexported fields
}

func (*Match) Descriptor deprecated

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

Deprecated: Use Match.ProtoReflect.Descriptor instead.

func (*Match) GetEntity

func (x *Match) GetEntity() *Entity

func (*Match) GetScore

func (x *Match) GetScore() float32

func (*Match) MarshalJSON

func (m *Match) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*Match) ProtoMessage

func (*Match) ProtoMessage()

func (*Match) ProtoReflect

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

func (*Match) Reset

func (x *Match) Reset()

func (*Match) String

func (x *Match) String() string

func (*Match) UnmarshalJSON

func (m *Match) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type Reference

type Reference struct {
	ResourceId *ResourceID `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	Path       string      `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*Reference) Descriptor deprecated

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

Deprecated: Use Reference.ProtoReflect.Descriptor instead.

func (*Reference) GetPath

func (x *Reference) GetPath() string

func (*Reference) GetResourceId

func (x *Reference) GetResourceId() *ResourceID

func (*Reference) MarshalJSON

func (m *Reference) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*Reference) ProtoMessage

func (*Reference) ProtoMessage()

func (*Reference) ProtoReflect

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

func (*Reference) Reset

func (x *Reference) Reset()

func (*Reference) String

func (x *Reference) String() string

func (*Reference) UnmarshalJSON

func (m *Reference) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type ResourceID

type ResourceID struct {
	StorageId string `protobuf:"bytes,1,opt,name=storage_id,json=storageId,proto3" json:"storage_id,omitempty"`
	OpaqueId  string `protobuf:"bytes,2,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"`
	SpaceId   string `protobuf:"bytes,3,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceID) Descriptor deprecated

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

Deprecated: Use ResourceID.ProtoReflect.Descriptor instead.

func (*ResourceID) GetOpaqueId

func (x *ResourceID) GetOpaqueId() string

func (*ResourceID) GetSpaceId

func (x *ResourceID) GetSpaceId() string

func (*ResourceID) GetStorageId

func (x *ResourceID) GetStorageId() string

func (*ResourceID) MarshalJSON

func (m *ResourceID) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*ResourceID) ProtoMessage

func (*ResourceID) ProtoMessage()

func (*ResourceID) ProtoReflect

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

func (*ResourceID) Reset

func (x *ResourceID) Reset()

func (*ResourceID) String

func (x *ResourceID) String() string

func (*ResourceID) UnmarshalJSON

func (m *ResourceID) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

Jump to

Keyboard shortcuts

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