Help us shape the future of Go! Take the 2026 Go Developer Survey

pb

package
v2.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PublicKey_Algorithm_name = map[int32]string{
		0: "Ed25519",
	}
	PublicKey_Algorithm_value = map[string]int32{
		"Ed25519": 0,
	}
)

Enum value maps for PublicKey_Algorithm.

View Source
var (
	OpUnary_Kind_name = map[int32]string{
		0: "Negate",
		1: "Parens",
		2: "Length",
	}
	OpUnary_Kind_value = map[string]int32{
		"Negate": 0,
		"Parens": 1,
		"Length": 2,
	}
)

Enum value maps for OpUnary_Kind.

View Source
var (
	OpBinary_Kind_name = map[int32]string{
		0:  "LessThan",
		1:  "GreaterThan",
		2:  "LessOrEqual",
		3:  "GreaterOrEqual",
		4:  "Equal",
		5:  "Contains",
		6:  "Prefix",
		7:  "Suffix",
		8:  "Regex",
		9:  "Add",
		10: "Sub",
		11: "Mul",
		12: "Div",
		13: "And",
		14: "Or",
		15: "Intersection",
		16: "Union",
	}
	OpBinary_Kind_value = map[string]int32{
		"LessThan":       0,
		"GreaterThan":    1,
		"LessOrEqual":    2,
		"GreaterOrEqual": 3,
		"Equal":          4,
		"Contains":       5,
		"Prefix":         6,
		"Suffix":         7,
		"Regex":          8,
		"Add":            9,
		"Sub":            10,
		"Mul":            11,
		"Div":            12,
		"And":            13,
		"Or":             14,
		"Intersection":   15,
		"Union":          16,
	}
)

Enum value maps for OpBinary_Kind.

View Source
var (
	Policy_Kind_name = map[int32]string{
		0: "Allow",
		1: "Deny",
	}
	Policy_Kind_value = map[string]int32{
		"Allow": 0,
		"Deny":  1,
	}
)

Enum value maps for Policy_Kind.

View Source
var File_biscuit_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuthorizerPolicies

type AuthorizerPolicies struct {
	Symbols  []string   `protobuf:"bytes,1,rep,name=symbols" json:"symbols,omitempty"`
	Version  *uint32    `protobuf:"varint,2,opt,name=version" json:"version,omitempty"`
	Facts    []*FactV2  `protobuf:"bytes,3,rep,name=facts" json:"facts,omitempty"`
	Rules    []*RuleV2  `protobuf:"bytes,4,rep,name=rules" json:"rules,omitempty"`
	Checks   []*CheckV2 `protobuf:"bytes,5,rep,name=checks" json:"checks,omitempty"`
	Policies []*Policy  `protobuf:"bytes,6,rep,name=policies" json:"policies,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthorizerPolicies) Descriptor deprecated

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

Deprecated: Use AuthorizerPolicies.ProtoReflect.Descriptor instead.

func (*AuthorizerPolicies) GetChecks

func (x *AuthorizerPolicies) GetChecks() []*CheckV2

func (*AuthorizerPolicies) GetFacts

func (x *AuthorizerPolicies) GetFacts() []*FactV2

func (*AuthorizerPolicies) GetPolicies

func (x *AuthorizerPolicies) GetPolicies() []*Policy

func (*AuthorizerPolicies) GetRules

func (x *AuthorizerPolicies) GetRules() []*RuleV2

func (*AuthorizerPolicies) GetSymbols

func (x *AuthorizerPolicies) GetSymbols() []string

func (*AuthorizerPolicies) GetVersion

func (x *AuthorizerPolicies) GetVersion() uint32

func (*AuthorizerPolicies) ProtoMessage

func (*AuthorizerPolicies) ProtoMessage()

func (*AuthorizerPolicies) ProtoReflect

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

func (*AuthorizerPolicies) Reset

func (x *AuthorizerPolicies) Reset()

func (*AuthorizerPolicies) String

func (x *AuthorizerPolicies) String() string

type Biscuit

type Biscuit struct {
	RootKeyId *uint32        `protobuf:"varint,1,opt,name=rootKeyId" json:"rootKeyId,omitempty"`
	Authority *SignedBlock   `protobuf:"bytes,2,req,name=authority" json:"authority,omitempty"`
	Blocks    []*SignedBlock `protobuf:"bytes,3,rep,name=blocks" json:"blocks,omitempty"`
	Proof     *Proof         `protobuf:"bytes,4,req,name=proof" json:"proof,omitempty"`
	// contains filtered or unexported fields
}

func (*Biscuit) Descriptor deprecated

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

Deprecated: Use Biscuit.ProtoReflect.Descriptor instead.

func (*Biscuit) GetAuthority

func (x *Biscuit) GetAuthority() *SignedBlock

func (*Biscuit) GetBlocks

func (x *Biscuit) GetBlocks() []*SignedBlock

func (*Biscuit) GetProof

func (x *Biscuit) GetProof() *Proof

func (*Biscuit) GetRootKeyId

func (x *Biscuit) GetRootKeyId() uint32

func (*Biscuit) ProtoMessage

func (*Biscuit) ProtoMessage()

func (*Biscuit) ProtoReflect

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

func (*Biscuit) Reset

func (x *Biscuit) Reset()

func (*Biscuit) String

func (x *Biscuit) String() string

type Block

type Block struct {
	Symbols  []string   `protobuf:"bytes,1,rep,name=symbols" json:"symbols,omitempty"`
	Context  *string    `protobuf:"bytes,2,opt,name=context" json:"context,omitempty"`
	Version  *uint32    `protobuf:"varint,3,opt,name=version" json:"version,omitempty"`
	FactsV2  []*FactV2  `protobuf:"bytes,4,rep,name=facts_v2,json=factsV2" json:"facts_v2,omitempty"`
	RulesV2  []*RuleV2  `protobuf:"bytes,5,rep,name=rules_v2,json=rulesV2" json:"rules_v2,omitempty"`
	ChecksV2 []*CheckV2 `protobuf:"bytes,6,rep,name=checks_v2,json=checksV2" json:"checks_v2,omitempty"`
	// contains filtered or unexported fields
}

func (*Block) Descriptor deprecated

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

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetChecksV2

func (x *Block) GetChecksV2() []*CheckV2

func (*Block) GetContext

func (x *Block) GetContext() string

func (*Block) GetFactsV2

func (x *Block) GetFactsV2() []*FactV2

func (*Block) GetRulesV2

func (x *Block) GetRulesV2() []*RuleV2

func (*Block) GetSymbols

func (x *Block) GetSymbols() []string

func (*Block) GetVersion

func (x *Block) GetVersion() uint32

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

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

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

type CheckV2

type CheckV2 struct {
	Queries []*RuleV2 `protobuf:"bytes,1,rep,name=queries" json:"queries,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckV2) Descriptor deprecated

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

Deprecated: Use CheckV2.ProtoReflect.Descriptor instead.

func (*CheckV2) GetQueries

func (x *CheckV2) GetQueries() []*RuleV2

func (*CheckV2) ProtoMessage

func (*CheckV2) ProtoMessage()

func (*CheckV2) ProtoReflect

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

func (*CheckV2) Reset

func (x *CheckV2) Reset()

func (*CheckV2) String

func (x *CheckV2) String() string

type ExpressionV2

type ExpressionV2 struct {
	Ops []*Op `protobuf:"bytes,1,rep,name=ops" json:"ops,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpressionV2) Descriptor deprecated

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

Deprecated: Use ExpressionV2.ProtoReflect.Descriptor instead.

func (*ExpressionV2) GetOps

func (x *ExpressionV2) GetOps() []*Op

func (*ExpressionV2) ProtoMessage

func (*ExpressionV2) ProtoMessage()

func (*ExpressionV2) ProtoReflect

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

func (*ExpressionV2) Reset

func (x *ExpressionV2) Reset()

func (*ExpressionV2) String

func (x *ExpressionV2) String() string

type FactV2

type FactV2 struct {
	Predicate *PredicateV2 `protobuf:"bytes,1,req,name=predicate" json:"predicate,omitempty"`
	// contains filtered or unexported fields
}

func (*FactV2) Descriptor deprecated

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

Deprecated: Use FactV2.ProtoReflect.Descriptor instead.

func (*FactV2) GetPredicate

func (x *FactV2) GetPredicate() *PredicateV2

func (*FactV2) ProtoMessage

func (*FactV2) ProtoMessage()

func (*FactV2) ProtoReflect

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

func (*FactV2) Reset

func (x *FactV2) Reset()

func (*FactV2) String

func (x *FactV2) String() string

type Op

type Op struct {

	// Types that are assignable to Content:
	//	*Op_Value
	//	*Op_Unary
	//	*Op_Binary
	Content isOp_Content `protobuf_oneof:"Content"`
	// contains filtered or unexported fields
}

func (*Op) Descriptor deprecated

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

Deprecated: Use Op.ProtoReflect.Descriptor instead.

func (*Op) GetBinary

func (x *Op) GetBinary() *OpBinary

func (*Op) GetContent

func (m *Op) GetContent() isOp_Content

func (*Op) GetUnary

func (x *Op) GetUnary() *OpUnary

func (*Op) GetValue

func (x *Op) GetValue() *TermV2

func (*Op) ProtoMessage

func (*Op) ProtoMessage()

func (*Op) ProtoReflect

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

func (*Op) Reset

func (x *Op) Reset()

func (*Op) String

func (x *Op) String() string

type OpBinary

type OpBinary struct {
	Kind *OpBinary_Kind `protobuf:"varint,1,req,name=kind,enum=OpBinary_Kind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*OpBinary) Descriptor deprecated

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

Deprecated: Use OpBinary.ProtoReflect.Descriptor instead.

func (*OpBinary) GetKind

func (x *OpBinary) GetKind() OpBinary_Kind

func (*OpBinary) ProtoMessage

func (*OpBinary) ProtoMessage()

func (*OpBinary) ProtoReflect

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

func (*OpBinary) Reset

func (x *OpBinary) Reset()

func (*OpBinary) String

func (x *OpBinary) String() string

type OpBinary_Kind

type OpBinary_Kind int32
const (
	OpBinary_LessThan       OpBinary_Kind = 0
	OpBinary_GreaterThan    OpBinary_Kind = 1
	OpBinary_LessOrEqual    OpBinary_Kind = 2
	OpBinary_GreaterOrEqual OpBinary_Kind = 3
	OpBinary_Equal          OpBinary_Kind = 4
	OpBinary_Contains       OpBinary_Kind = 5
	OpBinary_Prefix         OpBinary_Kind = 6
	OpBinary_Suffix         OpBinary_Kind = 7
	OpBinary_Regex          OpBinary_Kind = 8
	OpBinary_Add            OpBinary_Kind = 9
	OpBinary_Sub            OpBinary_Kind = 10
	OpBinary_Mul            OpBinary_Kind = 11
	OpBinary_Div            OpBinary_Kind = 12
	OpBinary_And            OpBinary_Kind = 13
	OpBinary_Or             OpBinary_Kind = 14
	OpBinary_Intersection   OpBinary_Kind = 15
	OpBinary_Union          OpBinary_Kind = 16
)

func (OpBinary_Kind) Descriptor

func (OpBinary_Kind) Enum

func (x OpBinary_Kind) Enum() *OpBinary_Kind

func (OpBinary_Kind) EnumDescriptor deprecated

func (OpBinary_Kind) EnumDescriptor() ([]byte, []int)

Deprecated: Use OpBinary_Kind.Descriptor instead.

func (OpBinary_Kind) Number

func (OpBinary_Kind) String

func (x OpBinary_Kind) String() string

func (OpBinary_Kind) Type

func (*OpBinary_Kind) UnmarshalJSON deprecated

func (x *OpBinary_Kind) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type OpUnary

type OpUnary struct {
	Kind *OpUnary_Kind `protobuf:"varint,1,req,name=kind,enum=OpUnary_Kind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*OpUnary) Descriptor deprecated

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

Deprecated: Use OpUnary.ProtoReflect.Descriptor instead.

func (*OpUnary) GetKind

func (x *OpUnary) GetKind() OpUnary_Kind

func (*OpUnary) ProtoMessage

func (*OpUnary) ProtoMessage()

func (*OpUnary) ProtoReflect

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

func (*OpUnary) Reset

func (x *OpUnary) Reset()

func (*OpUnary) String

func (x *OpUnary) String() string

type OpUnary_Kind

type OpUnary_Kind int32
const (
	OpUnary_Negate OpUnary_Kind = 0
	OpUnary_Parens OpUnary_Kind = 1
	OpUnary_Length OpUnary_Kind = 2
)

func (OpUnary_Kind) Descriptor

func (OpUnary_Kind) Enum

func (x OpUnary_Kind) Enum() *OpUnary_Kind

func (OpUnary_Kind) EnumDescriptor deprecated

func (OpUnary_Kind) EnumDescriptor() ([]byte, []int)

Deprecated: Use OpUnary_Kind.Descriptor instead.

func (OpUnary_Kind) Number

func (OpUnary_Kind) String

func (x OpUnary_Kind) String() string

func (OpUnary_Kind) Type

func (*OpUnary_Kind) UnmarshalJSON deprecated

func (x *OpUnary_Kind) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Op_Binary

type Op_Binary struct {
	Binary *OpBinary `protobuf:"bytes,3,opt,name=Binary,oneof"`
}

type Op_Unary

type Op_Unary struct {
	Unary *OpUnary `protobuf:"bytes,2,opt,name=unary,oneof"`
}

type Op_Value

type Op_Value struct {
	Value *TermV2 `protobuf:"bytes,1,opt,name=value,oneof"`
}

type Policy

type Policy struct {
	Queries []*RuleV2    `protobuf:"bytes,1,rep,name=queries" json:"queries,omitempty"`
	Kind    *Policy_Kind `protobuf:"varint,2,req,name=kind,enum=Policy_Kind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*Policy) Descriptor deprecated

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

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetKind

func (x *Policy) GetKind() Policy_Kind

func (*Policy) GetQueries

func (x *Policy) GetQueries() []*RuleV2

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

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

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) String

func (x *Policy) String() string

type Policy_Kind

type Policy_Kind int32
const (
	Policy_Allow Policy_Kind = 0
	Policy_Deny  Policy_Kind = 1
)

func (Policy_Kind) Descriptor

func (Policy_Kind) Enum

func (x Policy_Kind) Enum() *Policy_Kind

func (Policy_Kind) EnumDescriptor deprecated

func (Policy_Kind) EnumDescriptor() ([]byte, []int)

Deprecated: Use Policy_Kind.Descriptor instead.

func (Policy_Kind) Number

func (x Policy_Kind) Number() protoreflect.EnumNumber

func (Policy_Kind) String

func (x Policy_Kind) String() string

func (Policy_Kind) Type

func (*Policy_Kind) UnmarshalJSON deprecated

func (x *Policy_Kind) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PredicateV2

type PredicateV2 struct {
	Name  *uint64   `protobuf:"varint,1,req,name=name" json:"name,omitempty"`
	Terms []*TermV2 `protobuf:"bytes,2,rep,name=terms" json:"terms,omitempty"`
	// contains filtered or unexported fields
}

func (*PredicateV2) Descriptor deprecated

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

Deprecated: Use PredicateV2.ProtoReflect.Descriptor instead.

func (*PredicateV2) GetName

func (x *PredicateV2) GetName() uint64

func (*PredicateV2) GetTerms

func (x *PredicateV2) GetTerms() []*TermV2

func (*PredicateV2) ProtoMessage

func (*PredicateV2) ProtoMessage()

func (*PredicateV2) ProtoReflect

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

func (*PredicateV2) Reset

func (x *PredicateV2) Reset()

func (*PredicateV2) String

func (x *PredicateV2) String() string

type Proof

type Proof struct {

	// Types that are assignable to Content:
	//	*Proof_NextSecret
	//	*Proof_FinalSignature
	Content isProof_Content `protobuf_oneof:"Content"`
	// contains filtered or unexported fields
}

func (*Proof) Descriptor deprecated

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

Deprecated: Use Proof.ProtoReflect.Descriptor instead.

func (*Proof) GetContent

func (m *Proof) GetContent() isProof_Content

func (*Proof) GetFinalSignature

func (x *Proof) GetFinalSignature() []byte

func (*Proof) GetNextSecret

func (x *Proof) GetNextSecret() []byte

func (*Proof) ProtoMessage

func (*Proof) ProtoMessage()

func (*Proof) ProtoReflect

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

func (*Proof) Reset

func (x *Proof) Reset()

func (*Proof) String

func (x *Proof) String() string

type Proof_FinalSignature

type Proof_FinalSignature struct {
	FinalSignature []byte `protobuf:"bytes,2,opt,name=finalSignature,oneof"`
}

type Proof_NextSecret

type Proof_NextSecret struct {
	NextSecret []byte `protobuf:"bytes,1,opt,name=nextSecret,oneof"`
}

type PublicKey

type PublicKey struct {
	Algorithm *PublicKey_Algorithm `protobuf:"varint,1,req,name=algorithm,enum=PublicKey_Algorithm" json:"algorithm,omitempty"`
	Key       []byte               `protobuf:"bytes,2,req,name=key" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*PublicKey) Descriptor deprecated

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

Deprecated: Use PublicKey.ProtoReflect.Descriptor instead.

func (*PublicKey) GetAlgorithm

func (x *PublicKey) GetAlgorithm() PublicKey_Algorithm

func (*PublicKey) GetKey

func (x *PublicKey) GetKey() []byte

func (*PublicKey) ProtoMessage

func (*PublicKey) ProtoMessage()

func (*PublicKey) ProtoReflect

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

func (*PublicKey) Reset

func (x *PublicKey) Reset()

func (*PublicKey) String

func (x *PublicKey) String() string

type PublicKey_Algorithm

type PublicKey_Algorithm int32
const (
	PublicKey_Ed25519 PublicKey_Algorithm = 0
)

func (PublicKey_Algorithm) Descriptor

func (PublicKey_Algorithm) Enum

func (PublicKey_Algorithm) EnumDescriptor deprecated

func (PublicKey_Algorithm) EnumDescriptor() ([]byte, []int)

Deprecated: Use PublicKey_Algorithm.Descriptor instead.

func (PublicKey_Algorithm) Number

func (PublicKey_Algorithm) String

func (x PublicKey_Algorithm) String() string

func (PublicKey_Algorithm) Type

func (*PublicKey_Algorithm) UnmarshalJSON deprecated

func (x *PublicKey_Algorithm) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RuleV2

type RuleV2 struct {
	Head        *PredicateV2    `protobuf:"bytes,1,req,name=head" json:"head,omitempty"`
	Body        []*PredicateV2  `protobuf:"bytes,2,rep,name=body" json:"body,omitempty"`
	Expressions []*ExpressionV2 `protobuf:"bytes,3,rep,name=expressions" json:"expressions,omitempty"`
	// contains filtered or unexported fields
}

func (*RuleV2) Descriptor deprecated

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

Deprecated: Use RuleV2.ProtoReflect.Descriptor instead.

func (*RuleV2) GetBody

func (x *RuleV2) GetBody() []*PredicateV2

func (*RuleV2) GetExpressions

func (x *RuleV2) GetExpressions() []*ExpressionV2

func (*RuleV2) GetHead

func (x *RuleV2) GetHead() *PredicateV2

func (*RuleV2) ProtoMessage

func (*RuleV2) ProtoMessage()

func (*RuleV2) ProtoReflect

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

func (*RuleV2) Reset

func (x *RuleV2) Reset()

func (*RuleV2) String

func (x *RuleV2) String() string

type SignedBlock

type SignedBlock struct {
	Block     []byte     `protobuf:"bytes,1,req,name=block" json:"block,omitempty"`
	NextKey   *PublicKey `protobuf:"bytes,2,req,name=nextKey" json:"nextKey,omitempty"`
	Signature []byte     `protobuf:"bytes,3,req,name=signature" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedBlock) Descriptor deprecated

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

Deprecated: Use SignedBlock.ProtoReflect.Descriptor instead.

func (*SignedBlock) GetBlock

func (x *SignedBlock) GetBlock() []byte

func (*SignedBlock) GetNextKey

func (x *SignedBlock) GetNextKey() *PublicKey

func (*SignedBlock) GetSignature

func (x *SignedBlock) GetSignature() []byte

func (*SignedBlock) ProtoMessage

func (*SignedBlock) ProtoMessage()

func (*SignedBlock) ProtoReflect

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

func (*SignedBlock) Reset

func (x *SignedBlock) Reset()

func (*SignedBlock) String

func (x *SignedBlock) String() string

type TermSet

type TermSet struct {
	Set []*TermV2 `protobuf:"bytes,1,rep,name=set" json:"set,omitempty"`
	// contains filtered or unexported fields
}

func (*TermSet) Descriptor deprecated

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

Deprecated: Use TermSet.ProtoReflect.Descriptor instead.

func (*TermSet) GetSet

func (x *TermSet) GetSet() []*TermV2

func (*TermSet) ProtoMessage

func (*TermSet) ProtoMessage()

func (*TermSet) ProtoReflect

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

func (*TermSet) Reset

func (x *TermSet) Reset()

func (*TermSet) String

func (x *TermSet) String() string

type TermV2

type TermV2 struct {

	// Types that are assignable to Content:
	//	*TermV2_Variable
	//	*TermV2_Integer
	//	*TermV2_String_
	//	*TermV2_Date
	//	*TermV2_Bytes
	//	*TermV2_Bool
	//	*TermV2_Set
	Content isTermV2_Content `protobuf_oneof:"Content"`
	// contains filtered or unexported fields
}

func (*TermV2) Descriptor deprecated

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

Deprecated: Use TermV2.ProtoReflect.Descriptor instead.

func (*TermV2) GetBool

func (x *TermV2) GetBool() bool

func (*TermV2) GetBytes

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

func (*TermV2) GetContent

func (m *TermV2) GetContent() isTermV2_Content

func (*TermV2) GetDate

func (x *TermV2) GetDate() uint64

func (*TermV2) GetInteger

func (x *TermV2) GetInteger() int64

func (*TermV2) GetSet

func (x *TermV2) GetSet() *TermSet

func (*TermV2) GetString_

func (x *TermV2) GetString_() uint64

func (*TermV2) GetVariable

func (x *TermV2) GetVariable() uint32

func (*TermV2) ProtoMessage

func (*TermV2) ProtoMessage()

func (*TermV2) ProtoReflect

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

func (*TermV2) Reset

func (x *TermV2) Reset()

func (*TermV2) String

func (x *TermV2) String() string

type TermV2_Bool

type TermV2_Bool struct {
	Bool bool `protobuf:"varint,6,opt,name=bool,oneof"`
}

type TermV2_Bytes

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

type TermV2_Date

type TermV2_Date struct {
	Date uint64 `protobuf:"varint,4,opt,name=date,oneof"`
}

type TermV2_Integer

type TermV2_Integer struct {
	Integer int64 `protobuf:"varint,2,opt,name=integer,oneof"`
}

type TermV2_Set

type TermV2_Set struct {
	Set *TermSet `protobuf:"bytes,7,opt,name=set,oneof"`
}

type TermV2_String_

type TermV2_String_ struct {
	String_ uint64 `protobuf:"varint,3,opt,name=string,oneof"`
}

type TermV2_Variable

type TermV2_Variable struct {
	Variable uint32 `protobuf:"varint,1,opt,name=variable,oneof"`
}

Jump to

Keyboard shortcuts

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