iam_common

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 38 Imported by: 29

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TpmVersion_name = map[int32]string{
		0: "TPMVAGNOSTIC",
		1: "TPMV12",
		2: "TPMV20",
	}

	TpmVersion_value = map[string]int32{
		"TPMVAGNOSTIC": 0,
		"TPMV12":       1,
		"TPMV20":       2,
	}
)
View Source
var (
	DigestAlg_name = map[int32]string{
		0: "SHA1",
		1: "SHA256",
	}

	DigestAlg_value = map[string]int32{
		"SHA1":   0,
		"SHA256": 1,
	}
)
View Source
var (
	Invitation_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING",
		2: "ACCEPTED",
		3: "DECLINED",
		4: "EXPIRED",
	}

	Invitation_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"ACCEPTED":          2,
		"DECLINED":          3,
		"EXPIRED":           4,
	}
)

Functions

This section is empty.

Types

type Actor

type Actor struct {
	User           *user.Reference            `protobuf:"bytes,1,opt,customtype=Reference,name=user,proto3" json:"user,omitempty" firestore:"user"`
	ServiceAccount *service_account.Reference `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

Actor is a party performing an action

func (*Actor) Clone

func (o *Actor) Clone() *Actor

func (*Actor) CloneRaw

func (o *Actor) CloneRaw() gotenobject.GotenObjectExt

func (*Actor) Descriptor

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

Deprecated, Use Actor.ProtoReflect.Descriptor instead.

func (*Actor) GetServiceAccount

func (m *Actor) GetServiceAccount() *service_account.Reference

func (*Actor) GetUser

func (m *Actor) GetUser() *user.Reference

func (*Actor) GotenMessage

func (*Actor) GotenMessage()

func (*Actor) GotenObjectExt

func (o *Actor) GotenObjectExt()

func (*Actor) GotenValidate

func (obj *Actor) GotenValidate() error

func (*Actor) MakeDiffFieldMask

func (o *Actor) MakeDiffFieldMask(other *Actor) *Actor_FieldMask

func (*Actor) MakeFullFieldMask

func (o *Actor) MakeFullFieldMask() *Actor_FieldMask

func (*Actor) MakeRawDiffFieldMask

func (o *Actor) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask

func (*Actor) MakeRawFullFieldMask

func (o *Actor) MakeRawFullFieldMask() gotenobject.FieldMask

func (*Actor) Marshal

func (m *Actor) Marshal() ([]byte, error)

func (*Actor) MarshalJSON

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

func (*Actor) Merge

func (o *Actor) Merge(source *Actor)

func (*Actor) MergeRaw

func (o *Actor) MergeRaw(source gotenobject.GotenObjectExt)

func (*Actor) ProtoMessage

func (*Actor) ProtoMessage()

func (*Actor) ProtoReflect

func (m *Actor) ProtoReflect() preflect.Message

func (*Actor) Reset

func (m *Actor) Reset()

func (*Actor) SetServiceAccount

func (m *Actor) SetServiceAccount(fv *service_account.Reference)

func (*Actor) SetUser

func (m *Actor) SetUser(fv *user.Reference)

func (*Actor) String

func (m *Actor) String() string

func (*Actor) Unmarshal

func (m *Actor) Unmarshal(b []byte) error

func (*Actor) UnmarshalJSON

func (m *Actor) UnmarshalJSON(data []byte) error

type ActorFieldPathBuilder

type ActorFieldPathBuilder struct{}

func NewActorFieldPathBuilder

func NewActorFieldPathBuilder() ActorFieldPathBuilder

func (ActorFieldPathBuilder) ServiceAccount

func (ActorFieldPathBuilder) User

type ActorPathSelectorServiceAccount

type ActorPathSelectorServiceAccount struct{}

func (ActorPathSelectorServiceAccount) FieldPath

func (ActorPathSelectorServiceAccount) WithArrayOfValues

func (ActorPathSelectorServiceAccount) WithValue

type ActorPathSelectorUser

type ActorPathSelectorUser struct{}

func (ActorPathSelectorUser) FieldPath

func (ActorPathSelectorUser) WithArrayOfValues

func (ActorPathSelectorUser) WithValue

type Actor_FieldMask

type Actor_FieldMask struct {
	Paths []Actor_FieldPath
}

func FullActor_FieldMask

func FullActor_FieldMask() *Actor_FieldMask

func (*Actor_FieldMask) AppendPath

func (fieldMask *Actor_FieldMask) AppendPath(path Actor_FieldPath)

func (*Actor_FieldMask) AppendRawPath

func (fieldMask *Actor_FieldMask) AppendRawPath(path gotenobject.FieldPath)

func (*Actor_FieldMask) DecodeFirestore

func (fieldMask *Actor_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error

func (*Actor_FieldMask) EncodeFirestore

func (fieldMask *Actor_FieldMask) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*Actor_FieldMask) FilterInputFields

func (fieldMask *Actor_FieldMask) FilterInputFields() *Actor_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Actor_FieldMask) FromProtoFieldMask

func (fieldMask *Actor_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error

func (*Actor_FieldMask) GetPaths

func (fieldMask *Actor_FieldMask) GetPaths() []Actor_FieldPath

func (*Actor_FieldMask) GetRawPaths

func (fieldMask *Actor_FieldMask) GetRawPaths() []gotenobject.FieldPath

func (*Actor_FieldMask) IsFull

func (fieldMask *Actor_FieldMask) IsFull() bool

func (Actor_FieldMask) Marshal

func (fieldMask Actor_FieldMask) Marshal() ([]byte, error)

implement methods required by customType

func (Actor_FieldMask) MarshalJSON

func (fieldMask Actor_FieldMask) MarshalJSON() ([]byte, error)

func (*Actor_FieldMask) PathsCount

func (fieldMask *Actor_FieldMask) PathsCount() int

func (*Actor_FieldMask) Project

func (fieldMask *Actor_FieldMask) Project(source *Actor) *Actor

func (*Actor_FieldMask) ProjectRaw

func (*Actor_FieldMask) ProtoMessage

func (fieldMask *Actor_FieldMask) ProtoMessage()

func (*Actor_FieldMask) ProtoReflect

func (fieldMask *Actor_FieldMask) ProtoReflect() preflect.Message

func (*Actor_FieldMask) Reset

func (fieldMask *Actor_FieldMask) Reset()

func (*Actor_FieldMask) Set

func (fieldMask *Actor_FieldMask) Set(target, source *Actor)

func (*Actor_FieldMask) SetFromCliFlag

func (fieldMask *Actor_FieldMask) SetFromCliFlag(raw string) error

func (*Actor_FieldMask) SetRaw

func (fieldMask *Actor_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)

func (*Actor_FieldMask) Size

func (fieldMask *Actor_FieldMask) Size() int

func (*Actor_FieldMask) String

func (fieldMask *Actor_FieldMask) String() string

func (*Actor_FieldMask) Subtract

func (fieldMask *Actor_FieldMask) Subtract(other *Actor_FieldMask) *Actor_FieldMask

func (*Actor_FieldMask) SubtractRaw

func (fieldMask *Actor_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask

func (*Actor_FieldMask) ToProtoFieldMask

func (fieldMask *Actor_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*Actor_FieldMask) Unmarshal

func (fieldMask *Actor_FieldMask) Unmarshal(data []byte) error

func (*Actor_FieldMask) UnmarshalJSON

func (fieldMask *Actor_FieldMask) UnmarshalJSON(data []byte) error

type Actor_FieldPath

type Actor_FieldPath interface {
	gotenobject.FieldPath
	Selector() Actor_FieldPathSelector
	Get(source *Actor) []interface{}
	GetSingle(source *Actor) (interface{}, bool)
	ClearValue(item *Actor)

	// Those methods build corresponding Actor_FieldPathValue
	// (or array of values) and holds passed value. Panics if injected type is incorrect.
	WithIValue(value interface{}) Actor_FieldPathValue
	WithIArrayOfValues(values interface{}) Actor_FieldPathArrayOfValues
	WithIArrayItemValue(value interface{}) Actor_FieldPathArrayItemValue
}

FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto

func BuildActor_FieldPath

func BuildActor_FieldPath(fp gotenobject.RawFieldPath) (Actor_FieldPath, error)

func MustParseActor_FieldPath

func MustParseActor_FieldPath(rawField string) Actor_FieldPath

func ParseActor_FieldPath

func ParseActor_FieldPath(rawField string) (Actor_FieldPath, error)

type Actor_FieldPathArrayItemValue

type Actor_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Actor_FieldPath
	ContainsValue(*Actor) bool
}

Actor_FieldPathArrayItemValue allows storing single item in Path-specific values for Actor according to their type Present only for array (repeated) types.

func MustParseActor_FieldPathArrayItemValue

func MustParseActor_FieldPathArrayItemValue(pathStr, valueStr string) Actor_FieldPathArrayItemValue

func ParseActor_FieldPathArrayItemValue

func ParseActor_FieldPathArrayItemValue(pathStr, valueStr string) (Actor_FieldPathArrayItemValue, error)

ParseActor_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Actor_FieldPathArrayOfValues

type Actor_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Actor_FieldPath
}

Actor_FieldPathArrayOfValues allows storing slice of values for Actor fields according to their type

func MustParseActor_FieldPathArrayOfValues

func MustParseActor_FieldPathArrayOfValues(pathStr, valuesStr string) Actor_FieldPathArrayOfValues

func ParseActor_FieldPathArrayOfValues

func ParseActor_FieldPathArrayOfValues(pathStr, valuesStr string) (Actor_FieldPathArrayOfValues, error)

type Actor_FieldPathSelector

type Actor_FieldPathSelector int32
const (
	Actor_FieldPathSelectorUser           Actor_FieldPathSelector = 0
	Actor_FieldPathSelectorServiceAccount Actor_FieldPathSelector = 1
)

func (Actor_FieldPathSelector) String

func (s Actor_FieldPathSelector) String() string

type Actor_FieldPathValue

type Actor_FieldPathValue interface {
	Actor_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Actor)
	CompareWith(*Actor) (cmp int, comparable bool)
}

Actor_FieldPathValue allows storing values for Actor fields according to their type

func MustParseActor_FieldPathValue

func MustParseActor_FieldPathValue(pathStr, valueStr string) Actor_FieldPathValue

func ParseActor_FieldPathValue

func ParseActor_FieldPathValue(pathStr, valueStr string) (Actor_FieldPathValue, error)

type Actor_FieldTerminalPath

type Actor_FieldTerminalPath struct {
	// contains filtered or unexported fields
}

func (*Actor_FieldTerminalPath) ClearValue

func (fp *Actor_FieldTerminalPath) ClearValue(item *Actor)

func (*Actor_FieldTerminalPath) ClearValueRaw

func (fp *Actor_FieldTerminalPath) ClearValueRaw(item proto.Message)

func (*Actor_FieldTerminalPath) Get

func (fp *Actor_FieldTerminalPath) Get(source *Actor) (values []interface{})

Get returns all values pointed by specific field from source Actor

func (*Actor_FieldTerminalPath) GetDefault

func (fp *Actor_FieldTerminalPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*Actor_FieldTerminalPath) GetRaw

func (fp *Actor_FieldTerminalPath) GetRaw(source proto.Message) []interface{}

func (*Actor_FieldTerminalPath) GetSingle

func (fp *Actor_FieldTerminalPath) GetSingle(source *Actor) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Actor

func (*Actor_FieldTerminalPath) GetSingleRaw

func (fp *Actor_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*Actor_FieldTerminalPath) IsLeaf

func (fp *Actor_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Actor_FieldTerminalPath) JSONString

func (fp *Actor_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Actor_FieldTerminalPath) Selector

func (*Actor_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (fp *Actor_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*Actor_FieldTerminalPath) String

func (fp *Actor_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Actor_FieldTerminalPath) WithIArrayItemValue

func (fp *Actor_FieldTerminalPath) WithIArrayItemValue(value interface{}) Actor_FieldPathArrayItemValue

func (*Actor_FieldTerminalPath) WithIArrayOfValues

func (fp *Actor_FieldTerminalPath) WithIArrayOfValues(values interface{}) Actor_FieldPathArrayOfValues

func (*Actor_FieldTerminalPath) WithIValue

func (fp *Actor_FieldTerminalPath) WithIValue(value interface{}) Actor_FieldPathValue

func (*Actor_FieldTerminalPath) WithRawIArrayItemValue

func (fp *Actor_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*Actor_FieldTerminalPath) WithRawIArrayOfValues

func (fp *Actor_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*Actor_FieldTerminalPath) WithRawIValue

func (fp *Actor_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type Actor_FieldTerminalPathArrayItemValue

type Actor_FieldTerminalPathArrayItemValue struct {
	Actor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Actor_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *Actor_FieldTerminalPathArrayItemValue) ContainsValue(source *Actor) bool

Contains returns a boolean indicating if value that is being held is present in given 'Actor'

func (*Actor_FieldTerminalPathArrayItemValue) GetRawItemValue

func (fpaiv *Actor_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored element value for array in object Actor as interface{}

func (*Actor_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Actor_FieldTerminalPathArrayItemValue) GetSingle(source *Actor) (interface{}, bool)

func (*Actor_FieldTerminalPathArrayItemValue) GetSingleRaw

func (fpaiv *Actor_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)

type Actor_FieldTerminalPathArrayOfValues

type Actor_FieldTerminalPathArrayOfValues struct {
	Actor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Actor_FieldTerminalPathArrayOfValues) AsServiceAccountArrayOfValues

func (fpaov *Actor_FieldTerminalPathArrayOfValues) AsServiceAccountArrayOfValues() ([]*service_account.Reference, bool)

func (*Actor_FieldTerminalPathArrayOfValues) AsUserArrayOfValues

func (fpaov *Actor_FieldTerminalPathArrayOfValues) AsUserArrayOfValues() ([]*user.Reference, bool)

func (*Actor_FieldTerminalPathArrayOfValues) GetRawValues

func (fpaov *Actor_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})

type Actor_FieldTerminalPathValue

type Actor_FieldTerminalPathValue struct {
	Actor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Actor_FieldTerminalPathValue) AsServiceAccountValue

func (fpv *Actor_FieldTerminalPathValue) AsServiceAccountValue() (*service_account.Reference, bool)

func (*Actor_FieldTerminalPathValue) AsUserValue

func (fpv *Actor_FieldTerminalPathValue) AsUserValue() (*user.Reference, bool)

func (*Actor_FieldTerminalPathValue) CompareWith

func (fpv *Actor_FieldTerminalPathValue) CompareWith(source *Actor) (int, bool)

CompareWith compares value in the 'Actor_FieldTerminalPathValue' with the value under path in 'Actor'.

func (*Actor_FieldTerminalPathValue) CompareWithRaw

func (fpv *Actor_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*Actor_FieldTerminalPathValue) GetRawValue

func (fpv *Actor_FieldTerminalPathValue) GetRawValue() interface{}

GetRawValue returns raw value stored under selected path for 'Actor' as interface{}

func (*Actor_FieldTerminalPathValue) SetTo

func (fpv *Actor_FieldTerminalPathValue) SetTo(target **Actor)

SetTo stores value for selected field for object Actor

func (*Actor_FieldTerminalPathValue) SetToRaw

func (fpv *Actor_FieldTerminalPathValue) SetToRaw(target proto.Message)

type DigestAlg

type DigestAlg int32
const (
	DigestAlg_SHA1   DigestAlg = 0
	DigestAlg_SHA256 DigestAlg = 1
)

func (DigestAlg) Descriptor

func (DigestAlg) Descriptor() preflect.EnumDescriptor

func (DigestAlg) Enum

func (x DigestAlg) Enum() *DigestAlg

func (DigestAlg) EnumDescriptor

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

Deprecated, Use DigestAlg.ProtoReflect.Descriptor instead.

func (DigestAlg) Number

func (x DigestAlg) Number() preflect.EnumNumber

func (DigestAlg) String

func (x DigestAlg) String() string

func (DigestAlg) Type

func (DigestAlg) Type() preflect.EnumType

type Invitation

type Invitation struct {

	// Invitee Email address
	InviteeEmail string `protobuf:"bytes,3,opt,name=invitee_email,json=inviteeEmail,proto3" json:"invitee_email,omitempty" firestore:"inviteeEmail"`
	// Inviter User
	InviterActor *Actor `protobuf:"bytes,6,opt,name=inviter_actor,json=inviterActor,proto3" json:"inviter_actor,omitempty" firestore:"inviterActor"`
	// Denormalized data - TODO: remove it
	InviterFullName string `` /* 136-byte string literal not displayed */
	// Inviter Email
	InviterEmail string `protobuf:"bytes,10,opt,name=inviter_email,json=inviterEmail,proto3" json:"inviter_email,omitempty" firestore:"inviterEmail"`
	// Invitation ISO language code. Defaults to "en-us" (American English).
	LanguageCode string `protobuf:"bytes,11,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty" firestore:"languageCode"`
	// List of Roles to be granted on project when invitation is accepted
	Roles []*role.Reference `protobuf:"bytes,7,rep,customtype=Reference,name=roles,proto3" json:"roles,omitempty" firestore:"roles"`
	// Expiration date
	ExpirationDate *timestamp.Timestamp `` /* 130-byte string literal not displayed */
	// Extra custom fields to further customize invitation experience.
	// Fields should be agreed between sender (usually UI) and documented in
	// the template of email service provider.
	Extras map[string]string `` /* 173-byte string literal not displayed */
	// Status of Invitation
	State Invitation_State `protobuf:"varint,9,opt,name=state,proto3,enum=ntt.iam.v1alpha2.Invitation_State" json:"state,omitempty" firestore:"state"`
	// contains filtered or unexported fields
}

Common invitation body. It's used in Project/Organization Invitations

func (*Invitation) Clone

func (o *Invitation) Clone() *Invitation

func (*Invitation) CloneRaw

func (o *Invitation) CloneRaw() gotenobject.GotenObjectExt

func (*Invitation) Descriptor

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

Deprecated, Use Invitation.ProtoReflect.Descriptor instead.

func (*Invitation) GetExpirationDate

func (m *Invitation) GetExpirationDate() *timestamp.Timestamp

func (*Invitation) GetExtras added in v0.4.31

func (m *Invitation) GetExtras() map[string]string

func (*Invitation) GetInviteeEmail

func (m *Invitation) GetInviteeEmail() string

func (*Invitation) GetInviterActor

func (m *Invitation) GetInviterActor() *Actor

func (*Invitation) GetInviterEmail

func (m *Invitation) GetInviterEmail() string

func (*Invitation) GetInviterFullName

func (m *Invitation) GetInviterFullName() string

func (*Invitation) GetLanguageCode added in v0.4.29

func (m *Invitation) GetLanguageCode() string

func (*Invitation) GetRoles

func (m *Invitation) GetRoles() []*role.Reference

func (*Invitation) GetState

func (m *Invitation) GetState() Invitation_State

func (*Invitation) GotenMessage

func (*Invitation) GotenMessage()

func (*Invitation) GotenObjectExt

func (o *Invitation) GotenObjectExt()

func (*Invitation) GotenValidate

func (obj *Invitation) GotenValidate() error

func (*Invitation) MakeDiffFieldMask

func (o *Invitation) MakeDiffFieldMask(other *Invitation) *Invitation_FieldMask

func (*Invitation) MakeFullFieldMask

func (o *Invitation) MakeFullFieldMask() *Invitation_FieldMask

func (*Invitation) MakeRawDiffFieldMask

func (o *Invitation) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask

func (*Invitation) MakeRawFullFieldMask

func (o *Invitation) MakeRawFullFieldMask() gotenobject.FieldMask

func (*Invitation) Marshal

func (m *Invitation) Marshal() ([]byte, error)

func (*Invitation) MarshalJSON

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

func (*Invitation) Merge

func (o *Invitation) Merge(source *Invitation)

func (*Invitation) MergeRaw

func (o *Invitation) MergeRaw(source gotenobject.GotenObjectExt)

func (*Invitation) ProtoMessage

func (*Invitation) ProtoMessage()

func (*Invitation) ProtoReflect

func (m *Invitation) ProtoReflect() preflect.Message

func (*Invitation) Reset

func (m *Invitation) Reset()

func (*Invitation) SetExpirationDate

func (m *Invitation) SetExpirationDate(fv *timestamp.Timestamp)

func (*Invitation) SetExtras added in v0.4.31

func (m *Invitation) SetExtras(fv map[string]string)

func (*Invitation) SetInviteeEmail

func (m *Invitation) SetInviteeEmail(fv string)

func (*Invitation) SetInviterActor

func (m *Invitation) SetInviterActor(fv *Actor)

func (*Invitation) SetInviterEmail

func (m *Invitation) SetInviterEmail(fv string)

func (*Invitation) SetInviterFullName

func (m *Invitation) SetInviterFullName(fv string)

func (*Invitation) SetLanguageCode added in v0.4.29

func (m *Invitation) SetLanguageCode(fv string)

func (*Invitation) SetRoles

func (m *Invitation) SetRoles(fv []*role.Reference)

func (*Invitation) SetState

func (m *Invitation) SetState(fv Invitation_State)

func (*Invitation) String

func (m *Invitation) String() string

func (*Invitation) Unmarshal

func (m *Invitation) Unmarshal(b []byte) error

func (*Invitation) UnmarshalJSON

func (m *Invitation) UnmarshalJSON(data []byte) error

type InvitationFieldPathBuilder

type InvitationFieldPathBuilder struct{}

func NewInvitationFieldPathBuilder

func NewInvitationFieldPathBuilder() InvitationFieldPathBuilder

func (InvitationFieldPathBuilder) ExpirationDate

func (InvitationFieldPathBuilder) Extras added in v0.4.31

func (InvitationFieldPathBuilder) InviteeEmail

func (InvitationFieldPathBuilder) InviterActor

func (InvitationFieldPathBuilder) InviterEmail

func (InvitationFieldPathBuilder) InviterFullName

func (InvitationFieldPathBuilder) LanguageCode added in v0.4.29

func (InvitationFieldPathBuilder) Roles

func (InvitationFieldPathBuilder) State

type InvitationMapPathSelectorExtras added in v0.4.31

type InvitationMapPathSelectorExtras struct {
	// contains filtered or unexported fields
}

func (InvitationMapPathSelectorExtras) FieldPath added in v0.4.31

func (InvitationMapPathSelectorExtras) WithArrayOfValues added in v0.4.31

func (InvitationMapPathSelectorExtras) WithValue added in v0.4.31

type InvitationPathSelectorExpirationDate

type InvitationPathSelectorExpirationDate struct{}

func (InvitationPathSelectorExpirationDate) FieldPath

func (InvitationPathSelectorExpirationDate) WithArrayOfValues

func (InvitationPathSelectorExpirationDate) WithValue

type InvitationPathSelectorExtras added in v0.4.31

type InvitationPathSelectorExtras struct{}

func (InvitationPathSelectorExtras) FieldPath added in v0.4.31

func (InvitationPathSelectorExtras) WithArrayOfValues added in v0.4.31

func (InvitationPathSelectorExtras) WithKey added in v0.4.31

func (InvitationPathSelectorExtras) WithValue added in v0.4.31

type InvitationPathSelectorInviteeEmail

type InvitationPathSelectorInviteeEmail struct{}

func (InvitationPathSelectorInviteeEmail) FieldPath

func (InvitationPathSelectorInviteeEmail) WithArrayOfValues

func (InvitationPathSelectorInviteeEmail) WithValue

type InvitationPathSelectorInviterActor

type InvitationPathSelectorInviterActor struct{}

func (InvitationPathSelectorInviterActor) FieldPath

func (InvitationPathSelectorInviterActor) ServiceAccount

func (InvitationPathSelectorInviterActor) User

func (InvitationPathSelectorInviterActor) WithArrayOfValues

func (InvitationPathSelectorInviterActor) WithSubArrayItemValue

func (InvitationPathSelectorInviterActor) WithSubArrayOfValues

func (InvitationPathSelectorInviterActor) WithSubPath

func (InvitationPathSelectorInviterActor) WithSubValue

func (InvitationPathSelectorInviterActor) WithValue

type InvitationPathSelectorInviterActorServiceAccount

type InvitationPathSelectorInviterActorServiceAccount struct{}

func (InvitationPathSelectorInviterActorServiceAccount) FieldPath

func (InvitationPathSelectorInviterActorServiceAccount) WithArrayOfValues

func (InvitationPathSelectorInviterActorServiceAccount) WithValue

type InvitationPathSelectorInviterActorUser

type InvitationPathSelectorInviterActorUser struct{}

func (InvitationPathSelectorInviterActorUser) FieldPath

func (InvitationPathSelectorInviterActorUser) WithArrayOfValues

func (InvitationPathSelectorInviterActorUser) WithValue

type InvitationPathSelectorInviterEmail

type InvitationPathSelectorInviterEmail struct{}

func (InvitationPathSelectorInviterEmail) FieldPath

func (InvitationPathSelectorInviterEmail) WithArrayOfValues

func (InvitationPathSelectorInviterEmail) WithValue

type InvitationPathSelectorInviterFullName

type InvitationPathSelectorInviterFullName struct{}

func (InvitationPathSelectorInviterFullName) FieldPath

func (InvitationPathSelectorInviterFullName) WithArrayOfValues

func (InvitationPathSelectorInviterFullName) WithValue

type InvitationPathSelectorLanguageCode added in v0.4.29

type InvitationPathSelectorLanguageCode struct{}

func (InvitationPathSelectorLanguageCode) FieldPath added in v0.4.29

func (InvitationPathSelectorLanguageCode) WithArrayOfValues added in v0.4.29

func (InvitationPathSelectorLanguageCode) WithValue added in v0.4.29

type InvitationPathSelectorRoles

type InvitationPathSelectorRoles struct{}

func (InvitationPathSelectorRoles) FieldPath

func (InvitationPathSelectorRoles) WithArrayOfValues

func (InvitationPathSelectorRoles) WithItemValue

func (InvitationPathSelectorRoles) WithValue

type InvitationPathSelectorState

type InvitationPathSelectorState struct{}

func (InvitationPathSelectorState) FieldPath

func (InvitationPathSelectorState) WithArrayOfValues

func (InvitationPathSelectorState) WithValue

type Invitation_FieldMask

type Invitation_FieldMask struct {
	Paths []Invitation_FieldPath
}

func FullInvitation_FieldMask

func FullInvitation_FieldMask() *Invitation_FieldMask

func (*Invitation_FieldMask) AppendPath

func (fieldMask *Invitation_FieldMask) AppendPath(path Invitation_FieldPath)

func (*Invitation_FieldMask) AppendRawPath

func (fieldMask *Invitation_FieldMask) AppendRawPath(path gotenobject.FieldPath)

func (*Invitation_FieldMask) DecodeFirestore

func (fieldMask *Invitation_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error

func (*Invitation_FieldMask) EncodeFirestore

func (fieldMask *Invitation_FieldMask) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*Invitation_FieldMask) FilterInputFields

func (fieldMask *Invitation_FieldMask) FilterInputFields() *Invitation_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Invitation_FieldMask) FromProtoFieldMask

func (fieldMask *Invitation_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error

func (*Invitation_FieldMask) GetPaths

func (fieldMask *Invitation_FieldMask) GetPaths() []Invitation_FieldPath

func (*Invitation_FieldMask) GetRawPaths

func (fieldMask *Invitation_FieldMask) GetRawPaths() []gotenobject.FieldPath

func (*Invitation_FieldMask) IsFull

func (fieldMask *Invitation_FieldMask) IsFull() bool

func (Invitation_FieldMask) Marshal

func (fieldMask Invitation_FieldMask) Marshal() ([]byte, error)

implement methods required by customType

func (Invitation_FieldMask) MarshalJSON

func (fieldMask Invitation_FieldMask) MarshalJSON() ([]byte, error)

func (*Invitation_FieldMask) PathsCount

func (fieldMask *Invitation_FieldMask) PathsCount() int

func (*Invitation_FieldMask) Project

func (fieldMask *Invitation_FieldMask) Project(source *Invitation) *Invitation

func (*Invitation_FieldMask) ProjectRaw

func (*Invitation_FieldMask) ProtoMessage

func (fieldMask *Invitation_FieldMask) ProtoMessage()

func (*Invitation_FieldMask) ProtoReflect

func (fieldMask *Invitation_FieldMask) ProtoReflect() preflect.Message

func (*Invitation_FieldMask) Reset

func (fieldMask *Invitation_FieldMask) Reset()

func (*Invitation_FieldMask) Set

func (fieldMask *Invitation_FieldMask) Set(target, source *Invitation)

func (*Invitation_FieldMask) SetFromCliFlag

func (fieldMask *Invitation_FieldMask) SetFromCliFlag(raw string) error

func (*Invitation_FieldMask) SetRaw

func (fieldMask *Invitation_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)

func (*Invitation_FieldMask) Size

func (fieldMask *Invitation_FieldMask) Size() int

func (*Invitation_FieldMask) String

func (fieldMask *Invitation_FieldMask) String() string

func (*Invitation_FieldMask) Subtract

func (fieldMask *Invitation_FieldMask) Subtract(other *Invitation_FieldMask) *Invitation_FieldMask

func (*Invitation_FieldMask) SubtractRaw

func (fieldMask *Invitation_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask

func (*Invitation_FieldMask) ToProtoFieldMask

func (fieldMask *Invitation_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*Invitation_FieldMask) Unmarshal

func (fieldMask *Invitation_FieldMask) Unmarshal(data []byte) error

func (*Invitation_FieldMask) UnmarshalJSON

func (fieldMask *Invitation_FieldMask) UnmarshalJSON(data []byte) error

type Invitation_FieldPath

type Invitation_FieldPath interface {
	gotenobject.FieldPath
	Selector() Invitation_FieldPathSelector
	Get(source *Invitation) []interface{}
	GetSingle(source *Invitation) (interface{}, bool)
	ClearValue(item *Invitation)

	// Those methods build corresponding Invitation_FieldPathValue
	// (or array of values) and holds passed value. Panics if injected type is incorrect.
	WithIValue(value interface{}) Invitation_FieldPathValue
	WithIArrayOfValues(values interface{}) Invitation_FieldPathArrayOfValues
	WithIArrayItemValue(value interface{}) Invitation_FieldPathArrayItemValue
}

FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto

func BuildInvitation_FieldPath

func BuildInvitation_FieldPath(fp gotenobject.RawFieldPath) (Invitation_FieldPath, error)

func MustParseInvitation_FieldPath

func MustParseInvitation_FieldPath(rawField string) Invitation_FieldPath

func ParseInvitation_FieldPath

func ParseInvitation_FieldPath(rawField string) (Invitation_FieldPath, error)

type Invitation_FieldPathArrayItemValue

type Invitation_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Invitation_FieldPath
	ContainsValue(*Invitation) bool
}

Invitation_FieldPathArrayItemValue allows storing single item in Path-specific values for Invitation according to their type Present only for array (repeated) types.

func MustParseInvitation_FieldPathArrayItemValue

func MustParseInvitation_FieldPathArrayItemValue(pathStr, valueStr string) Invitation_FieldPathArrayItemValue

func ParseInvitation_FieldPathArrayItemValue

func ParseInvitation_FieldPathArrayItemValue(pathStr, valueStr string) (Invitation_FieldPathArrayItemValue, error)

ParseInvitation_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Invitation_FieldPathArrayOfValues

type Invitation_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Invitation_FieldPath
}

Invitation_FieldPathArrayOfValues allows storing slice of values for Invitation fields according to their type

func MustParseInvitation_FieldPathArrayOfValues

func MustParseInvitation_FieldPathArrayOfValues(pathStr, valuesStr string) Invitation_FieldPathArrayOfValues

func ParseInvitation_FieldPathArrayOfValues

func ParseInvitation_FieldPathArrayOfValues(pathStr, valuesStr string) (Invitation_FieldPathArrayOfValues, error)

type Invitation_FieldPathMap added in v0.4.31

type Invitation_FieldPathMap struct {
	// contains filtered or unexported fields
}

FieldPath for map type with additional Key information

func (*Invitation_FieldPathMap) ClearValue added in v0.4.31

func (fpm *Invitation_FieldPathMap) ClearValue(item *Invitation)

func (*Invitation_FieldPathMap) ClearValueRaw added in v0.4.31

func (fpm *Invitation_FieldPathMap) ClearValueRaw(item proto.Message)

func (*Invitation_FieldPathMap) Get added in v0.4.31

func (fpm *Invitation_FieldPathMap) Get(source *Invitation) (values []interface{})

Get returns all values pointed by selected field map key from source Invitation

func (*Invitation_FieldPathMap) GetDefault added in v0.4.31

func (fpm *Invitation_FieldPathMap) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*Invitation_FieldPathMap) GetRaw added in v0.4.31

func (fpm *Invitation_FieldPathMap) GetRaw(source proto.Message) []interface{}

func (*Invitation_FieldPathMap) GetSingle added in v0.4.31

func (fpm *Invitation_FieldPathMap) GetSingle(source *Invitation) (interface{}, bool)

GetSingle returns value by selected field map key from source Invitation

func (*Invitation_FieldPathMap) GetSingleRaw added in v0.4.31

func (fpm *Invitation_FieldPathMap) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*Invitation_FieldPathMap) IsLeaf added in v0.4.31

func (fpm *Invitation_FieldPathMap) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Invitation_FieldPathMap) JSONString added in v0.4.31

func (fpm *Invitation_FieldPathMap) JSONString() string

JSONString returns path representation is JSON convention. Note that map keys are not transformed

func (*Invitation_FieldPathMap) Key added in v0.4.31

func (fpm *Invitation_FieldPathMap) Key() string

func (*Invitation_FieldPathMap) Selector added in v0.4.31

func (*Invitation_FieldPathMap) SplitIntoTerminalIPaths added in v0.8.0

func (fpm *Invitation_FieldPathMap) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*Invitation_FieldPathMap) String added in v0.4.31

func (fpm *Invitation_FieldPathMap) String() string

String returns path representation in proto convention

func (*Invitation_FieldPathMap) WithIArrayItemValue added in v0.4.31

func (fpm *Invitation_FieldPathMap) WithIArrayItemValue(value interface{}) Invitation_FieldPathArrayItemValue

func (*Invitation_FieldPathMap) WithIArrayOfValues added in v0.4.31

func (fpm *Invitation_FieldPathMap) WithIArrayOfValues(values interface{}) Invitation_FieldPathArrayOfValues

func (*Invitation_FieldPathMap) WithIValue added in v0.4.31

func (fpm *Invitation_FieldPathMap) WithIValue(value interface{}) Invitation_FieldPathValue

func (*Invitation_FieldPathMap) WithRawIArrayItemValue added in v0.4.31

func (fpm *Invitation_FieldPathMap) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*Invitation_FieldPathMap) WithRawIArrayOfValues added in v0.4.31

func (fpm *Invitation_FieldPathMap) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*Invitation_FieldPathMap) WithRawIValue added in v0.4.31

func (fpm *Invitation_FieldPathMap) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type Invitation_FieldPathMapArrayOfValues added in v0.4.31

type Invitation_FieldPathMapArrayOfValues struct {
	Invitation_FieldPathMap
	// contains filtered or unexported fields
}

func (*Invitation_FieldPathMapArrayOfValues) AsExtrasArrayOfElementValues added in v0.4.31

func (fpmaov *Invitation_FieldPathMapArrayOfValues) AsExtrasArrayOfElementValues() ([]string, bool)

func (*Invitation_FieldPathMapArrayOfValues) GetRawValues added in v0.4.31

func (fpmaov *Invitation_FieldPathMapArrayOfValues) GetRawValues() (values []interface{})

type Invitation_FieldPathMapValue added in v0.4.31

type Invitation_FieldPathMapValue struct {
	Invitation_FieldPathMap
	// contains filtered or unexported fields
}

func (*Invitation_FieldPathMapValue) AsExtrasElementValue added in v0.4.31

func (fpmv *Invitation_FieldPathMapValue) AsExtrasElementValue() (string, bool)

func (*Invitation_FieldPathMapValue) CompareWith added in v0.4.31

func (fpmv *Invitation_FieldPathMapValue) CompareWith(source *Invitation) (int, bool)

CompareWith compares value in the 'Invitation_FieldPathMapValue' with the value under path in 'Invitation'.

func (*Invitation_FieldPathMapValue) CompareWithRaw added in v0.4.31

func (fpmv *Invitation_FieldPathMapValue) CompareWithRaw(source proto.Message) (int, bool)

func (*Invitation_FieldPathMapValue) GetRawValue added in v0.4.31

func (fpmv *Invitation_FieldPathMapValue) GetRawValue() interface{}

GetValue returns value stored under selected field in Invitation as interface{}

func (*Invitation_FieldPathMapValue) SetTo added in v0.4.31

func (fpmv *Invitation_FieldPathMapValue) SetTo(target **Invitation)

SetTo stores value for selected field in Invitation

func (*Invitation_FieldPathMapValue) SetToRaw added in v0.4.31

func (fpmv *Invitation_FieldPathMapValue) SetToRaw(target proto.Message)

type Invitation_FieldPathSelector

type Invitation_FieldPathSelector int32
const (
	Invitation_FieldPathSelectorInviteeEmail    Invitation_FieldPathSelector = 0
	Invitation_FieldPathSelectorInviterActor    Invitation_FieldPathSelector = 1
	Invitation_FieldPathSelectorInviterFullName Invitation_FieldPathSelector = 2
	Invitation_FieldPathSelectorInviterEmail    Invitation_FieldPathSelector = 3
	Invitation_FieldPathSelectorLanguageCode    Invitation_FieldPathSelector = 4
	Invitation_FieldPathSelectorRoles           Invitation_FieldPathSelector = 5
	Invitation_FieldPathSelectorExpirationDate  Invitation_FieldPathSelector = 6
	Invitation_FieldPathSelectorExtras          Invitation_FieldPathSelector = 7
	Invitation_FieldPathSelectorState           Invitation_FieldPathSelector = 8
)

func (Invitation_FieldPathSelector) String

type Invitation_FieldPathValue

type Invitation_FieldPathValue interface {
	Invitation_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Invitation)
	CompareWith(*Invitation) (cmp int, comparable bool)
}

Invitation_FieldPathValue allows storing values for Invitation fields according to their type

func MustParseInvitation_FieldPathValue

func MustParseInvitation_FieldPathValue(pathStr, valueStr string) Invitation_FieldPathValue

func ParseInvitation_FieldPathValue

func ParseInvitation_FieldPathValue(pathStr, valueStr string) (Invitation_FieldPathValue, error)

type Invitation_FieldSubPath

type Invitation_FieldSubPath struct {
	// contains filtered or unexported fields
}

func (*Invitation_FieldSubPath) AsInviterActorSubPath

func (fps *Invitation_FieldSubPath) AsInviterActorSubPath() (Actor_FieldPath, bool)

func (*Invitation_FieldSubPath) ClearValue

func (fps *Invitation_FieldSubPath) ClearValue(item *Invitation)

func (*Invitation_FieldSubPath) ClearValueRaw

func (fps *Invitation_FieldSubPath) ClearValueRaw(item proto.Message)

func (*Invitation_FieldSubPath) Get

func (fps *Invitation_FieldSubPath) Get(source *Invitation) (values []interface{})

Get returns all values pointed by selected field from source Invitation

func (*Invitation_FieldSubPath) GetDefault

func (fps *Invitation_FieldSubPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*Invitation_FieldSubPath) GetRaw

func (fps *Invitation_FieldSubPath) GetRaw(source proto.Message) []interface{}

func (*Invitation_FieldSubPath) GetSingle

func (fps *Invitation_FieldSubPath) GetSingle(source *Invitation) (interface{}, bool)

GetSingle returns value of selected field from source Invitation

func (*Invitation_FieldSubPath) GetSingleRaw

func (fps *Invitation_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*Invitation_FieldSubPath) IsLeaf

func (fps *Invitation_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Invitation_FieldSubPath) JSONString

func (fps *Invitation_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Invitation_FieldSubPath) Selector

func (*Invitation_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

func (fps *Invitation_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*Invitation_FieldSubPath) String

func (fps *Invitation_FieldSubPath) String() string

String returns path representation in proto convention

func (*Invitation_FieldSubPath) WithIArrayItemValue

func (fps *Invitation_FieldSubPath) WithIArrayItemValue(value interface{}) Invitation_FieldPathArrayItemValue

func (*Invitation_FieldSubPath) WithIArrayOfValues

func (fps *Invitation_FieldSubPath) WithIArrayOfValues(values interface{}) Invitation_FieldPathArrayOfValues

func (*Invitation_FieldSubPath) WithIValue

func (fps *Invitation_FieldSubPath) WithIValue(value interface{}) Invitation_FieldPathValue

func (*Invitation_FieldSubPath) WithRawIArrayItemValue

func (fps *Invitation_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*Invitation_FieldSubPath) WithRawIArrayOfValues

func (fps *Invitation_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*Invitation_FieldSubPath) WithRawIValue

func (fps *Invitation_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type Invitation_FieldSubPathArrayItemValue

type Invitation_FieldSubPathArrayItemValue struct {
	Invitation_FieldPath
	// contains filtered or unexported fields
}

func (*Invitation_FieldSubPathArrayItemValue) AsInviterActorPathItemValue

func (fpaivs *Invitation_FieldSubPathArrayItemValue) AsInviterActorPathItemValue() (Actor_FieldPathArrayItemValue, bool)

func (*Invitation_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *Invitation_FieldSubPathArrayItemValue) ContainsValue(source *Invitation) bool

Contains returns a boolean indicating if value that is being held is present in given 'Invitation'

func (*Invitation_FieldSubPathArrayItemValue) GetRawItemValue

func (fpaivs *Invitation_FieldSubPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored array item value

type Invitation_FieldSubPathArrayOfValues

type Invitation_FieldSubPathArrayOfValues struct {
	Invitation_FieldPath
	// contains filtered or unexported fields
}

func (*Invitation_FieldSubPathArrayOfValues) AsInviterActorPathArrayOfValues

func (fpsaov *Invitation_FieldSubPathArrayOfValues) AsInviterActorPathArrayOfValues() (Actor_FieldPathArrayOfValues, bool)

func (*Invitation_FieldSubPathArrayOfValues) GetRawValues

func (fpsaov *Invitation_FieldSubPathArrayOfValues) GetRawValues() []interface{}

type Invitation_FieldSubPathValue

type Invitation_FieldSubPathValue struct {
	Invitation_FieldPath
	// contains filtered or unexported fields
}

func (*Invitation_FieldSubPathValue) AsInviterActorPathValue

func (fpvs *Invitation_FieldSubPathValue) AsInviterActorPathValue() (Actor_FieldPathValue, bool)

func (*Invitation_FieldSubPathValue) CompareWith

func (fpvs *Invitation_FieldSubPathValue) CompareWith(source *Invitation) (int, bool)

func (*Invitation_FieldSubPathValue) CompareWithRaw

func (fpvs *Invitation_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*Invitation_FieldSubPathValue) GetRawValue

func (fpvs *Invitation_FieldSubPathValue) GetRawValue() interface{}

func (*Invitation_FieldSubPathValue) SetTo

func (fpvs *Invitation_FieldSubPathValue) SetTo(target **Invitation)

func (*Invitation_FieldSubPathValue) SetToRaw

func (fpvs *Invitation_FieldSubPathValue) SetToRaw(target proto.Message)

type Invitation_FieldTerminalPath

type Invitation_FieldTerminalPath struct {
	// contains filtered or unexported fields
}

func (*Invitation_FieldTerminalPath) ClearValue

func (fp *Invitation_FieldTerminalPath) ClearValue(item *Invitation)

func (*Invitation_FieldTerminalPath) ClearValueRaw

func (fp *Invitation_FieldTerminalPath) ClearValueRaw(item proto.Message)

func (*Invitation_FieldTerminalPath) Get

func (fp *Invitation_FieldTerminalPath) Get(source *Invitation) (values []interface{})

Get returns all values pointed by specific field from source Invitation

func (*Invitation_FieldTerminalPath) GetDefault

func (fp *Invitation_FieldTerminalPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*Invitation_FieldTerminalPath) GetRaw

func (fp *Invitation_FieldTerminalPath) GetRaw(source proto.Message) []interface{}

func (*Invitation_FieldTerminalPath) GetSingle

func (fp *Invitation_FieldTerminalPath) GetSingle(source *Invitation) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Invitation

func (*Invitation_FieldTerminalPath) GetSingleRaw

func (fp *Invitation_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*Invitation_FieldTerminalPath) IsLeaf

func (fp *Invitation_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Invitation_FieldTerminalPath) JSONString

func (fp *Invitation_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Invitation_FieldTerminalPath) Selector

func (*Invitation_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (fp *Invitation_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*Invitation_FieldTerminalPath) String

func (fp *Invitation_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Invitation_FieldTerminalPath) WithIArrayItemValue

func (fp *Invitation_FieldTerminalPath) WithIArrayItemValue(value interface{}) Invitation_FieldPathArrayItemValue

func (*Invitation_FieldTerminalPath) WithIArrayOfValues

func (fp *Invitation_FieldTerminalPath) WithIArrayOfValues(values interface{}) Invitation_FieldPathArrayOfValues

func (*Invitation_FieldTerminalPath) WithIValue

func (fp *Invitation_FieldTerminalPath) WithIValue(value interface{}) Invitation_FieldPathValue

func (*Invitation_FieldTerminalPath) WithRawIArrayItemValue

func (fp *Invitation_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*Invitation_FieldTerminalPath) WithRawIArrayOfValues

func (fp *Invitation_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*Invitation_FieldTerminalPath) WithRawIValue

func (fp *Invitation_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type Invitation_FieldTerminalPathArrayItemValue

type Invitation_FieldTerminalPathArrayItemValue struct {
	Invitation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Invitation_FieldTerminalPathArrayItemValue) AsRolesItemValue

func (fpaiv *Invitation_FieldTerminalPathArrayItemValue) AsRolesItemValue() (*role.Reference, bool)

func (*Invitation_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *Invitation_FieldTerminalPathArrayItemValue) ContainsValue(source *Invitation) bool

Contains returns a boolean indicating if value that is being held is present in given 'Invitation'

func (*Invitation_FieldTerminalPathArrayItemValue) GetRawItemValue

func (fpaiv *Invitation_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored element value for array in object Invitation as interface{}

func (*Invitation_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Invitation_FieldTerminalPathArrayItemValue) GetSingle(source *Invitation) (interface{}, bool)

func (*Invitation_FieldTerminalPathArrayItemValue) GetSingleRaw

func (fpaiv *Invitation_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)

type Invitation_FieldTerminalPathArrayOfValues

type Invitation_FieldTerminalPathArrayOfValues struct {
	Invitation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Invitation_FieldTerminalPathArrayOfValues) AsExpirationDateArrayOfValues

func (fpaov *Invitation_FieldTerminalPathArrayOfValues) AsExpirationDateArrayOfValues() ([]*timestamp.Timestamp, bool)

func (*Invitation_FieldTerminalPathArrayOfValues) AsExtrasArrayOfValues added in v0.4.31

func (fpaov *Invitation_FieldTerminalPathArrayOfValues) AsExtrasArrayOfValues() ([]map[string]string, bool)

func (*Invitation_FieldTerminalPathArrayOfValues) AsInviteeEmailArrayOfValues

func (fpaov *Invitation_FieldTerminalPathArrayOfValues) AsInviteeEmailArrayOfValues() ([]string, bool)

func (*Invitation_FieldTerminalPathArrayOfValues) AsInviterActorArrayOfValues

func (fpaov *Invitation_FieldTerminalPathArrayOfValues) AsInviterActorArrayOfValues() ([]*Actor, bool)

func (*Invitation_FieldTerminalPathArrayOfValues) AsInviterEmailArrayOfValues

func (fpaov *Invitation_FieldTerminalPathArrayOfValues) AsInviterEmailArrayOfValues() ([]string, bool)

func (*Invitation_FieldTerminalPathArrayOfValues) AsInviterFullNameArrayOfValues

func (fpaov *Invitation_FieldTerminalPathArrayOfValues) AsInviterFullNameArrayOfValues() ([]string, bool)

func (*Invitation_FieldTerminalPathArrayOfValues) AsLanguageCodeArrayOfValues added in v0.4.29

func (fpaov *Invitation_FieldTerminalPathArrayOfValues) AsLanguageCodeArrayOfValues() ([]string, bool)

func (*Invitation_FieldTerminalPathArrayOfValues) AsRolesArrayOfValues

func (fpaov *Invitation_FieldTerminalPathArrayOfValues) AsRolesArrayOfValues() ([][]*role.Reference, bool)

func (*Invitation_FieldTerminalPathArrayOfValues) AsStateArrayOfValues

func (fpaov *Invitation_FieldTerminalPathArrayOfValues) AsStateArrayOfValues() ([]Invitation_State, bool)

func (*Invitation_FieldTerminalPathArrayOfValues) GetRawValues

func (fpaov *Invitation_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})

type Invitation_FieldTerminalPathValue

type Invitation_FieldTerminalPathValue struct {
	Invitation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Invitation_FieldTerminalPathValue) AsExpirationDateValue

func (fpv *Invitation_FieldTerminalPathValue) AsExpirationDateValue() (*timestamp.Timestamp, bool)

func (*Invitation_FieldTerminalPathValue) AsExtrasValue added in v0.4.31

func (fpv *Invitation_FieldTerminalPathValue) AsExtrasValue() (map[string]string, bool)

func (*Invitation_FieldTerminalPathValue) AsInviteeEmailValue

func (fpv *Invitation_FieldTerminalPathValue) AsInviteeEmailValue() (string, bool)

func (*Invitation_FieldTerminalPathValue) AsInviterActorValue

func (fpv *Invitation_FieldTerminalPathValue) AsInviterActorValue() (*Actor, bool)

func (*Invitation_FieldTerminalPathValue) AsInviterEmailValue

func (fpv *Invitation_FieldTerminalPathValue) AsInviterEmailValue() (string, bool)

func (*Invitation_FieldTerminalPathValue) AsInviterFullNameValue

func (fpv *Invitation_FieldTerminalPathValue) AsInviterFullNameValue() (string, bool)

func (*Invitation_FieldTerminalPathValue) AsLanguageCodeValue added in v0.4.29

func (fpv *Invitation_FieldTerminalPathValue) AsLanguageCodeValue() (string, bool)

func (*Invitation_FieldTerminalPathValue) AsRolesValue

func (fpv *Invitation_FieldTerminalPathValue) AsRolesValue() ([]*role.Reference, bool)

func (*Invitation_FieldTerminalPathValue) AsStateValue

func (*Invitation_FieldTerminalPathValue) CompareWith

func (fpv *Invitation_FieldTerminalPathValue) CompareWith(source *Invitation) (int, bool)

CompareWith compares value in the 'Invitation_FieldTerminalPathValue' with the value under path in 'Invitation'.

func (*Invitation_FieldTerminalPathValue) CompareWithRaw

func (fpv *Invitation_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*Invitation_FieldTerminalPathValue) GetRawValue

func (fpv *Invitation_FieldTerminalPathValue) GetRawValue() interface{}

GetRawValue returns raw value stored under selected path for 'Invitation' as interface{}

func (*Invitation_FieldTerminalPathValue) SetTo

func (fpv *Invitation_FieldTerminalPathValue) SetTo(target **Invitation)

SetTo stores value for selected field for object Invitation

func (*Invitation_FieldTerminalPathValue) SetToRaw

func (fpv *Invitation_FieldTerminalPathValue) SetToRaw(target proto.Message)

type Invitation_State

type Invitation_State int32

Invitation FSM States

const (
	Invitation_STATE_UNSPECIFIED Invitation_State = 0
	Invitation_PENDING           Invitation_State = 1
	Invitation_ACCEPTED          Invitation_State = 2
	Invitation_DECLINED          Invitation_State = 3
	Invitation_EXPIRED           Invitation_State = 4
)

func (Invitation_State) Descriptor

func (Invitation_State) Enum

func (Invitation_State) EnumDescriptor

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

Deprecated, Use Invitation_State.ProtoReflect.Descriptor instead.

func (Invitation_State) Number

func (Invitation_State) String

func (x Invitation_State) String() string

func (Invitation_State) Type

type PCR

type PCR struct {
	Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" firestore:"index"`
	// Hex-encoded digest string (without 0x prefix, e.g. "DEADBEEF")
	DigestHex string    `protobuf:"bytes,2,opt,name=digest_hex,json=digestHex,proto3" json:"digest_hex,omitempty" firestore:"digestHex"`
	DigestAlg DigestAlg `` /* 143-byte string literal not displayed */
	// User's comments for this entry
	Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty" firestore:"comment"`
	// contains filtered or unexported fields
}

func (*PCR) Clone

func (o *PCR) Clone() *PCR

func (*PCR) CloneRaw

func (o *PCR) CloneRaw() gotenobject.GotenObjectExt

func (*PCR) Descriptor

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

Deprecated, Use PCR.ProtoReflect.Descriptor instead.

func (*PCR) GetComment

func (m *PCR) GetComment() string

func (*PCR) GetDigestAlg

func (m *PCR) GetDigestAlg() DigestAlg

func (*PCR) GetDigestHex

func (m *PCR) GetDigestHex() string

func (*PCR) GetIndex

func (m *PCR) GetIndex() uint32

func (*PCR) GotenMessage

func (*PCR) GotenMessage()

func (*PCR) GotenObjectExt

func (o *PCR) GotenObjectExt()

func (*PCR) GotenValidate

func (obj *PCR) GotenValidate() error

func (*PCR) MakeDiffFieldMask

func (o *PCR) MakeDiffFieldMask(other *PCR) *PCR_FieldMask

func (*PCR) MakeFullFieldMask

func (o *PCR) MakeFullFieldMask() *PCR_FieldMask

func (*PCR) MakeRawDiffFieldMask

func (o *PCR) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask

func (*PCR) MakeRawFullFieldMask

func (o *PCR) MakeRawFullFieldMask() gotenobject.FieldMask

func (*PCR) Marshal

func (m *PCR) Marshal() ([]byte, error)

func (*PCR) MarshalJSON

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

func (*PCR) Merge

func (o *PCR) Merge(source *PCR)

func (*PCR) MergeRaw

func (o *PCR) MergeRaw(source gotenobject.GotenObjectExt)

func (*PCR) ProtoMessage

func (*PCR) ProtoMessage()

func (*PCR) ProtoReflect

func (m *PCR) ProtoReflect() preflect.Message

func (*PCR) Reset

func (m *PCR) Reset()

func (*PCR) SetComment

func (m *PCR) SetComment(fv string)

func (*PCR) SetDigestAlg

func (m *PCR) SetDigestAlg(fv DigestAlg)

func (*PCR) SetDigestHex

func (m *PCR) SetDigestHex(fv string)

func (*PCR) SetIndex

func (m *PCR) SetIndex(fv uint32)

func (*PCR) String

func (m *PCR) String() string

func (*PCR) Unmarshal

func (m *PCR) Unmarshal(b []byte) error

func (*PCR) UnmarshalJSON

func (m *PCR) UnmarshalJSON(data []byte) error

type PCRFieldPathBuilder

type PCRFieldPathBuilder struct{}

func NewPCRFieldPathBuilder

func NewPCRFieldPathBuilder() PCRFieldPathBuilder

func (PCRFieldPathBuilder) Comment

func (PCRFieldPathBuilder) DigestAlg

func (PCRFieldPathBuilder) DigestHex

func (PCRFieldPathBuilder) Index

type PCRPathSelectorComment

type PCRPathSelectorComment struct{}

func (PCRPathSelectorComment) FieldPath

func (PCRPathSelectorComment) WithArrayOfValues

func (s PCRPathSelectorComment) WithArrayOfValues(values []string) *PCR_FieldTerminalPathArrayOfValues

func (PCRPathSelectorComment) WithValue

type PCRPathSelectorDigestAlg

type PCRPathSelectorDigestAlg struct{}

func (PCRPathSelectorDigestAlg) FieldPath

func (PCRPathSelectorDigestAlg) WithArrayOfValues

func (PCRPathSelectorDigestAlg) WithValue

type PCRPathSelectorDigestHex

type PCRPathSelectorDigestHex struct{}

func (PCRPathSelectorDigestHex) FieldPath

func (PCRPathSelectorDigestHex) WithArrayOfValues

func (PCRPathSelectorDigestHex) WithValue

type PCRPathSelectorIndex

type PCRPathSelectorIndex struct{}

func (PCRPathSelectorIndex) FieldPath

func (PCRPathSelectorIndex) WithArrayOfValues

func (s PCRPathSelectorIndex) WithArrayOfValues(values []uint32) *PCR_FieldTerminalPathArrayOfValues

func (PCRPathSelectorIndex) WithValue

type PCR_FieldMask

type PCR_FieldMask struct {
	Paths []PCR_FieldPath
}

func FullPCR_FieldMask

func FullPCR_FieldMask() *PCR_FieldMask

func (*PCR_FieldMask) AppendPath

func (fieldMask *PCR_FieldMask) AppendPath(path PCR_FieldPath)

func (*PCR_FieldMask) AppendRawPath

func (fieldMask *PCR_FieldMask) AppendRawPath(path gotenobject.FieldPath)

func (*PCR_FieldMask) DecodeFirestore

func (fieldMask *PCR_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error

func (*PCR_FieldMask) EncodeFirestore

func (fieldMask *PCR_FieldMask) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*PCR_FieldMask) FilterInputFields

func (fieldMask *PCR_FieldMask) FilterInputFields() *PCR_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*PCR_FieldMask) FromProtoFieldMask

func (fieldMask *PCR_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error

func (*PCR_FieldMask) GetPaths

func (fieldMask *PCR_FieldMask) GetPaths() []PCR_FieldPath

func (*PCR_FieldMask) GetRawPaths

func (fieldMask *PCR_FieldMask) GetRawPaths() []gotenobject.FieldPath

func (*PCR_FieldMask) IsFull

func (fieldMask *PCR_FieldMask) IsFull() bool

func (PCR_FieldMask) Marshal

func (fieldMask PCR_FieldMask) Marshal() ([]byte, error)

implement methods required by customType

func (PCR_FieldMask) MarshalJSON

func (fieldMask PCR_FieldMask) MarshalJSON() ([]byte, error)

func (*PCR_FieldMask) PathsCount

func (fieldMask *PCR_FieldMask) PathsCount() int

func (*PCR_FieldMask) Project

func (fieldMask *PCR_FieldMask) Project(source *PCR) *PCR

func (*PCR_FieldMask) ProjectRaw

func (fieldMask *PCR_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt

func (*PCR_FieldMask) ProtoMessage

func (fieldMask *PCR_FieldMask) ProtoMessage()

func (*PCR_FieldMask) ProtoReflect

func (fieldMask *PCR_FieldMask) ProtoReflect() preflect.Message

func (*PCR_FieldMask) Reset

func (fieldMask *PCR_FieldMask) Reset()

func (*PCR_FieldMask) Set

func (fieldMask *PCR_FieldMask) Set(target, source *PCR)

func (*PCR_FieldMask) SetFromCliFlag

func (fieldMask *PCR_FieldMask) SetFromCliFlag(raw string) error

func (*PCR_FieldMask) SetRaw

func (fieldMask *PCR_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)

func (*PCR_FieldMask) Size

func (fieldMask *PCR_FieldMask) Size() int

func (*PCR_FieldMask) String

func (fieldMask *PCR_FieldMask) String() string

func (*PCR_FieldMask) Subtract

func (fieldMask *PCR_FieldMask) Subtract(other *PCR_FieldMask) *PCR_FieldMask

func (*PCR_FieldMask) SubtractRaw

func (fieldMask *PCR_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask

func (*PCR_FieldMask) ToProtoFieldMask

func (fieldMask *PCR_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*PCR_FieldMask) Unmarshal

func (fieldMask *PCR_FieldMask) Unmarshal(data []byte) error

func (*PCR_FieldMask) UnmarshalJSON

func (fieldMask *PCR_FieldMask) UnmarshalJSON(data []byte) error

type PCR_FieldPath

type PCR_FieldPath interface {
	gotenobject.FieldPath
	Selector() PCR_FieldPathSelector
	Get(source *PCR) []interface{}
	GetSingle(source *PCR) (interface{}, bool)
	ClearValue(item *PCR)

	// Those methods build corresponding PCR_FieldPathValue
	// (or array of values) and holds passed value. Panics if injected type is incorrect.
	WithIValue(value interface{}) PCR_FieldPathValue
	WithIArrayOfValues(values interface{}) PCR_FieldPathArrayOfValues
	WithIArrayItemValue(value interface{}) PCR_FieldPathArrayItemValue
}

FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto

func BuildPCR_FieldPath

func BuildPCR_FieldPath(fp gotenobject.RawFieldPath) (PCR_FieldPath, error)

func MustParsePCR_FieldPath

func MustParsePCR_FieldPath(rawField string) PCR_FieldPath

func ParsePCR_FieldPath

func ParsePCR_FieldPath(rawField string) (PCR_FieldPath, error)

type PCR_FieldPathArrayItemValue

type PCR_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	PCR_FieldPath
	ContainsValue(*PCR) bool
}

PCR_FieldPathArrayItemValue allows storing single item in Path-specific values for PCR according to their type Present only for array (repeated) types.

func MustParsePCR_FieldPathArrayItemValue

func MustParsePCR_FieldPathArrayItemValue(pathStr, valueStr string) PCR_FieldPathArrayItemValue

func ParsePCR_FieldPathArrayItemValue

func ParsePCR_FieldPathArrayItemValue(pathStr, valueStr string) (PCR_FieldPathArrayItemValue, error)

ParsePCR_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type PCR_FieldPathArrayOfValues

type PCR_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	PCR_FieldPath
}

PCR_FieldPathArrayOfValues allows storing slice of values for PCR fields according to their type

func MustParsePCR_FieldPathArrayOfValues

func MustParsePCR_FieldPathArrayOfValues(pathStr, valuesStr string) PCR_FieldPathArrayOfValues

func ParsePCR_FieldPathArrayOfValues

func ParsePCR_FieldPathArrayOfValues(pathStr, valuesStr string) (PCR_FieldPathArrayOfValues, error)

type PCR_FieldPathSelector

type PCR_FieldPathSelector int32
const (
	PCR_FieldPathSelectorIndex     PCR_FieldPathSelector = 0
	PCR_FieldPathSelectorDigestHex PCR_FieldPathSelector = 1
	PCR_FieldPathSelectorDigestAlg PCR_FieldPathSelector = 2
	PCR_FieldPathSelectorComment   PCR_FieldPathSelector = 3
)

func (PCR_FieldPathSelector) String

func (s PCR_FieldPathSelector) String() string

type PCR_FieldPathValue

type PCR_FieldPathValue interface {
	PCR_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **PCR)
	CompareWith(*PCR) (cmp int, comparable bool)
}

PCR_FieldPathValue allows storing values for PCR fields according to their type

func MustParsePCR_FieldPathValue

func MustParsePCR_FieldPathValue(pathStr, valueStr string) PCR_FieldPathValue

func ParsePCR_FieldPathValue

func ParsePCR_FieldPathValue(pathStr, valueStr string) (PCR_FieldPathValue, error)

type PCR_FieldTerminalPath

type PCR_FieldTerminalPath struct {
	// contains filtered or unexported fields
}

func (*PCR_FieldTerminalPath) ClearValue

func (fp *PCR_FieldTerminalPath) ClearValue(item *PCR)

func (*PCR_FieldTerminalPath) ClearValueRaw

func (fp *PCR_FieldTerminalPath) ClearValueRaw(item proto.Message)

func (*PCR_FieldTerminalPath) Get

func (fp *PCR_FieldTerminalPath) Get(source *PCR) (values []interface{})

Get returns all values pointed by specific field from source PCR

func (*PCR_FieldTerminalPath) GetDefault

func (fp *PCR_FieldTerminalPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*PCR_FieldTerminalPath) GetRaw

func (fp *PCR_FieldTerminalPath) GetRaw(source proto.Message) []interface{}

func (*PCR_FieldTerminalPath) GetSingle

func (fp *PCR_FieldTerminalPath) GetSingle(source *PCR) (interface{}, bool)

GetSingle returns value pointed by specific field of from source PCR

func (*PCR_FieldTerminalPath) GetSingleRaw

func (fp *PCR_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*PCR_FieldTerminalPath) IsLeaf

func (fp *PCR_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*PCR_FieldTerminalPath) JSONString

func (fp *PCR_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*PCR_FieldTerminalPath) Selector

func (*PCR_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (fp *PCR_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*PCR_FieldTerminalPath) String

func (fp *PCR_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*PCR_FieldTerminalPath) WithIArrayItemValue

func (fp *PCR_FieldTerminalPath) WithIArrayItemValue(value interface{}) PCR_FieldPathArrayItemValue

func (*PCR_FieldTerminalPath) WithIArrayOfValues

func (fp *PCR_FieldTerminalPath) WithIArrayOfValues(values interface{}) PCR_FieldPathArrayOfValues

func (*PCR_FieldTerminalPath) WithIValue

func (fp *PCR_FieldTerminalPath) WithIValue(value interface{}) PCR_FieldPathValue

func (*PCR_FieldTerminalPath) WithRawIArrayItemValue

func (fp *PCR_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*PCR_FieldTerminalPath) WithRawIArrayOfValues

func (fp *PCR_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*PCR_FieldTerminalPath) WithRawIValue

func (fp *PCR_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type PCR_FieldTerminalPathArrayItemValue

type PCR_FieldTerminalPathArrayItemValue struct {
	PCR_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*PCR_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *PCR_FieldTerminalPathArrayItemValue) ContainsValue(source *PCR) bool

Contains returns a boolean indicating if value that is being held is present in given 'PCR'

func (*PCR_FieldTerminalPathArrayItemValue) GetRawItemValue

func (fpaiv *PCR_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored element value for array in object PCR as interface{}

func (*PCR_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *PCR_FieldTerminalPathArrayItemValue) GetSingle(source *PCR) (interface{}, bool)

func (*PCR_FieldTerminalPathArrayItemValue) GetSingleRaw

func (fpaiv *PCR_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)

type PCR_FieldTerminalPathArrayOfValues

type PCR_FieldTerminalPathArrayOfValues struct {
	PCR_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*PCR_FieldTerminalPathArrayOfValues) AsCommentArrayOfValues

func (fpaov *PCR_FieldTerminalPathArrayOfValues) AsCommentArrayOfValues() ([]string, bool)

func (*PCR_FieldTerminalPathArrayOfValues) AsDigestAlgArrayOfValues

func (fpaov *PCR_FieldTerminalPathArrayOfValues) AsDigestAlgArrayOfValues() ([]DigestAlg, bool)

func (*PCR_FieldTerminalPathArrayOfValues) AsDigestHexArrayOfValues

func (fpaov *PCR_FieldTerminalPathArrayOfValues) AsDigestHexArrayOfValues() ([]string, bool)

func (*PCR_FieldTerminalPathArrayOfValues) AsIndexArrayOfValues

func (fpaov *PCR_FieldTerminalPathArrayOfValues) AsIndexArrayOfValues() ([]uint32, bool)

func (*PCR_FieldTerminalPathArrayOfValues) GetRawValues

func (fpaov *PCR_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})

type PCR_FieldTerminalPathValue

type PCR_FieldTerminalPathValue struct {
	PCR_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*PCR_FieldTerminalPathValue) AsCommentValue

func (fpv *PCR_FieldTerminalPathValue) AsCommentValue() (string, bool)

func (*PCR_FieldTerminalPathValue) AsDigestAlgValue

func (fpv *PCR_FieldTerminalPathValue) AsDigestAlgValue() (DigestAlg, bool)

func (*PCR_FieldTerminalPathValue) AsDigestHexValue

func (fpv *PCR_FieldTerminalPathValue) AsDigestHexValue() (string, bool)

func (*PCR_FieldTerminalPathValue) AsIndexValue

func (fpv *PCR_FieldTerminalPathValue) AsIndexValue() (uint32, bool)

func (*PCR_FieldTerminalPathValue) CompareWith

func (fpv *PCR_FieldTerminalPathValue) CompareWith(source *PCR) (int, bool)

CompareWith compares value in the 'PCR_FieldTerminalPathValue' with the value under path in 'PCR'.

func (*PCR_FieldTerminalPathValue) CompareWithRaw

func (fpv *PCR_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*PCR_FieldTerminalPathValue) GetRawValue

func (fpv *PCR_FieldTerminalPathValue) GetRawValue() interface{}

GetRawValue returns raw value stored under selected path for 'PCR' as interface{}

func (*PCR_FieldTerminalPathValue) SetTo

func (fpv *PCR_FieldTerminalPathValue) SetTo(target **PCR)

SetTo stores value for selected field for object PCR

func (*PCR_FieldTerminalPathValue) SetToRaw

func (fpv *PCR_FieldTerminalPathValue) SetToRaw(target proto.Message)

type TpmVersion

type TpmVersion int32
const (
	TpmVersion_TPMVAGNOSTIC TpmVersion = 0
	TpmVersion_TPMV12       TpmVersion = 1
	TpmVersion_TPMV20       TpmVersion = 2
)

func (TpmVersion) Descriptor

func (TpmVersion) Descriptor() preflect.EnumDescriptor

func (TpmVersion) Enum

func (x TpmVersion) Enum() *TpmVersion

func (TpmVersion) EnumDescriptor

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

Deprecated, Use TpmVersion.ProtoReflect.Descriptor instead.

func (TpmVersion) Number

func (x TpmVersion) Number() preflect.EnumNumber

func (TpmVersion) String

func (x TpmVersion) String() string

func (TpmVersion) Type

func (TpmVersion) Type() preflect.EnumType

Jump to

Keyboard shortcuts

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