proto

package
v0.0.0-...-1c3dfad Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_rdf_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Literal

type Literal struct {

	// Types that are assignable to Value:
	//
	//	*Literal_String_
	//	*Literal_Int
	//	*Literal_Float64
	//	*Literal_Bool
	//	*Literal_Bytes
	Value isLiteral_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Literal) Descriptor deprecated

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

Deprecated: Use Literal.ProtoReflect.Descriptor instead.

func (*Literal) GetBool

func (x *Literal) GetBool() bool

func (*Literal) GetBytes

func (x *Literal) GetBytes() []byte

func (*Literal) GetFloat64

func (x *Literal) GetFloat64() float64

func (*Literal) GetInt

func (x *Literal) GetInt() int64

func (*Literal) GetString_

func (x *Literal) GetString_() string

func (*Literal) GetValue

func (m *Literal) GetValue() isLiteral_Value

func (*Literal) ProtoMessage

func (*Literal) ProtoMessage()

func (*Literal) ProtoReflect

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

func (*Literal) Reset

func (x *Literal) Reset()

func (*Literal) String

func (x *Literal) String() string

type Literal_Bool

type Literal_Bool struct {
	Bool bool `protobuf:"varint,4,opt,name=bool,proto3,oneof"`
}

type Literal_Bytes

type Literal_Bytes struct {
	Bytes []byte `protobuf:"bytes,5,opt,name=bytes,proto3,oneof"`
}

type Literal_Float64

type Literal_Float64 struct {
	Float64 float64 `protobuf:"fixed64,3,opt,name=float64,proto3,oneof"`
}

type Literal_Int

type Literal_Int struct {
	Int int64 `protobuf:"varint,2,opt,name=int,proto3,oneof"`
}

type Literal_String_

type Literal_String_ struct {
	String_ string `protobuf:"bytes,1,opt,name=string,proto3,oneof"`
}

type Object

type Object struct {

	// Types that are assignable to Value:
	//
	//	*Object_Iri
	//	*Object_BlankNode
	//	*Object_Literal
	Value isObject_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Object) Descriptor deprecated

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

Deprecated: Use Object.ProtoReflect.Descriptor instead.

func (*Object) GetBlankNode

func (x *Object) GetBlankNode() string

func (*Object) GetIri

func (x *Object) GetIri() string

func (*Object) GetLiteral

func (x *Object) GetLiteral() *Literal

func (*Object) GetValue

func (m *Object) GetValue() isObject_Value

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) ProtoReflect

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

func (*Object) Reset

func (x *Object) Reset()

func (*Object) String

func (x *Object) String() string

type Object_BlankNode

type Object_BlankNode struct {
	BlankNode string `protobuf:"bytes,5,opt,name=blank_node,json=blankNode,proto3,oneof"`
}

type Object_Iri

type Object_Iri struct {
	Iri string `protobuf:"bytes,4,opt,name=iri,proto3,oneof"`
}

type Object_Literal

type Object_Literal struct {
	Literal *Literal `protobuf:"bytes,6,opt,name=literal,proto3,oneof"`
}

type Subject

type Subject struct {

	// Types that are assignable to Value:
	//
	//	*Subject_Iri
	//	*Subject_BlankNode
	Value isSubject_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Subject) Descriptor deprecated

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

Deprecated: Use Subject.ProtoReflect.Descriptor instead.

func (*Subject) GetBlankNode

func (x *Subject) GetBlankNode() string

func (*Subject) GetIri

func (x *Subject) GetIri() string

func (*Subject) GetValue

func (m *Subject) GetValue() isSubject_Value

func (*Subject) ProtoMessage

func (*Subject) ProtoMessage()

func (*Subject) ProtoReflect

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

func (*Subject) Reset

func (x *Subject) Reset()

func (*Subject) String

func (x *Subject) String() string

type Subject_BlankNode

type Subject_BlankNode struct {
	BlankNode string `protobuf:"bytes,2,opt,name=blank_node,json=blankNode,proto3,oneof"`
}

type Subject_Iri

type Subject_Iri struct {
	Iri string `protobuf:"bytes,1,opt,name=iri,proto3,oneof"`
}

type Triple

type Triple struct {
	Subject   *Subject `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Predicate string   `protobuf:"bytes,2,opt,name=predicate,proto3" json:"predicate,omitempty"`
	Object    *Object  `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (*Triple) Descriptor deprecated

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

Deprecated: Use Triple.ProtoReflect.Descriptor instead.

func (*Triple) GetObject

func (x *Triple) GetObject() *Object

func (*Triple) GetPredicate

func (x *Triple) GetPredicate() string

func (*Triple) GetSubject

func (x *Triple) GetSubject() *Subject

func (*Triple) ProtoMessage

func (*Triple) ProtoMessage()

func (*Triple) ProtoReflect

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

func (*Triple) Reset

func (x *Triple) Reset()

func (*Triple) String

func (x *Triple) String() string

Jump to

Keyboard shortcuts

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