audit_common

package
v0.12.31 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authentication

type Authentication struct {

	// Name of the principal, for example: "user:our_new_admin@example.com"
	Principal string `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty" firestore:"principal"`
	// Principal type - user, serviceAccount, anonymous
	PrincipalType string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Information about authorized principal who sent a request

func (*Authentication) Clone

func (o *Authentication) Clone() *Authentication

func (*Authentication) CloneRaw

func (*Authentication) Descriptor

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

Deprecated, Use Authentication.ProtoReflect.Descriptor instead.

func (*Authentication) GetPrincipal

func (m *Authentication) GetPrincipal() string

func (*Authentication) GetPrincipalType added in v0.4.22

func (m *Authentication) GetPrincipalType() string

func (*Authentication) GotenMessage

func (*Authentication) GotenMessage()

func (*Authentication) GotenObjectExt

func (o *Authentication) GotenObjectExt()

func (*Authentication) GotenValidate

func (obj *Authentication) GotenValidate() error

func (*Authentication) MakeDiffFieldMask

func (o *Authentication) MakeDiffFieldMask(other *Authentication) *Authentication_FieldMask

func (*Authentication) MakeFullFieldMask

func (o *Authentication) MakeFullFieldMask() *Authentication_FieldMask

func (*Authentication) MakeRawDiffFieldMask

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

func (*Authentication) MakeRawFullFieldMask

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

func (*Authentication) Marshal

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

func (*Authentication) MarshalJSON

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

func (*Authentication) Merge

func (o *Authentication) Merge(source *Authentication)

func (*Authentication) MergeRaw

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

func (*Authentication) ProtoMessage

func (*Authentication) ProtoMessage()

func (*Authentication) ProtoReflect

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

func (*Authentication) Reset

func (m *Authentication) Reset()

func (*Authentication) SetPrincipal

func (m *Authentication) SetPrincipal(fv string)

func (*Authentication) SetPrincipalType added in v0.4.22

func (m *Authentication) SetPrincipalType(fv string)

func (*Authentication) String

func (m *Authentication) String() string

func (*Authentication) Unmarshal

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

func (*Authentication) UnmarshalJSON

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

type AuthenticationFieldPathBuilder

type AuthenticationFieldPathBuilder struct{}

func NewAuthenticationFieldPathBuilder

func NewAuthenticationFieldPathBuilder() AuthenticationFieldPathBuilder

func (AuthenticationFieldPathBuilder) Principal

func (AuthenticationFieldPathBuilder) PrincipalType added in v0.4.22

type AuthenticationPathSelectorPrincipal

type AuthenticationPathSelectorPrincipal struct{}

func (AuthenticationPathSelectorPrincipal) FieldPath

func (AuthenticationPathSelectorPrincipal) WithArrayOfValues

func (AuthenticationPathSelectorPrincipal) WithValue

type AuthenticationPathSelectorPrincipalType added in v0.4.22

type AuthenticationPathSelectorPrincipalType struct{}

func (AuthenticationPathSelectorPrincipalType) FieldPath added in v0.4.22

func (AuthenticationPathSelectorPrincipalType) WithArrayOfValues added in v0.4.22

func (AuthenticationPathSelectorPrincipalType) WithValue added in v0.4.22

type Authentication_FieldMask

type Authentication_FieldMask struct {
	Paths []Authentication_FieldPath
}

func FullAuthentication_FieldMask

func FullAuthentication_FieldMask() *Authentication_FieldMask

func (*Authentication_FieldMask) AppendPath

func (fieldMask *Authentication_FieldMask) AppendPath(path Authentication_FieldPath)

func (*Authentication_FieldMask) AppendRawPath

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

func (*Authentication_FieldMask) DecodeFirestore

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

func (*Authentication_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Authentication_FieldMask) FilterInputFields

func (fieldMask *Authentication_FieldMask) FilterInputFields() *Authentication_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Authentication_FieldMask) FromProtoFieldMask

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

func (*Authentication_FieldMask) GetPaths

func (fieldMask *Authentication_FieldMask) GetPaths() []Authentication_FieldPath

func (*Authentication_FieldMask) GetRawPaths

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

func (*Authentication_FieldMask) IsFull

func (fieldMask *Authentication_FieldMask) IsFull() bool

func (Authentication_FieldMask) Marshal

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

implement methods required by customType

func (Authentication_FieldMask) MarshalJSON

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

func (*Authentication_FieldMask) PathsCount

func (fieldMask *Authentication_FieldMask) PathsCount() int

func (*Authentication_FieldMask) Project

func (fieldMask *Authentication_FieldMask) Project(source *Authentication) *Authentication

func (*Authentication_FieldMask) ProjectRaw

func (*Authentication_FieldMask) ProtoMessage

func (fieldMask *Authentication_FieldMask) ProtoMessage()

func (*Authentication_FieldMask) ProtoReflect

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

func (*Authentication_FieldMask) Reset

func (fieldMask *Authentication_FieldMask) Reset()

func (*Authentication_FieldMask) Set

func (fieldMask *Authentication_FieldMask) Set(target, source *Authentication)

func (*Authentication_FieldMask) SetFromCliFlag

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

func (*Authentication_FieldMask) SetRaw

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

func (*Authentication_FieldMask) Size

func (fieldMask *Authentication_FieldMask) Size() int

func (*Authentication_FieldMask) String

func (fieldMask *Authentication_FieldMask) String() string

func (*Authentication_FieldMask) Subtract

func (*Authentication_FieldMask) SubtractRaw

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

func (*Authentication_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Authentication_FieldMask) Unmarshal

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

func (*Authentication_FieldMask) UnmarshalJSON

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

type Authentication_FieldPath

type Authentication_FieldPath interface {
	gotenobject.FieldPath
	Selector() Authentication_FieldPathSelector
	Get(source *Authentication) []interface{}
	GetSingle(source *Authentication) (interface{}, bool)
	ClearValue(item *Authentication)

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

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

func MustParseAuthentication_FieldPath

func MustParseAuthentication_FieldPath(rawField string) Authentication_FieldPath

func ParseAuthentication_FieldPath

func ParseAuthentication_FieldPath(rawField string) (Authentication_FieldPath, error)

type Authentication_FieldPathArrayItemValue

type Authentication_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Authentication_FieldPath
	ContainsValue(*Authentication) bool
}

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

func MustParseAuthentication_FieldPathArrayItemValue

func MustParseAuthentication_FieldPathArrayItemValue(pathStr, valueStr string) Authentication_FieldPathArrayItemValue

func ParseAuthentication_FieldPathArrayItemValue

func ParseAuthentication_FieldPathArrayItemValue(pathStr, valueStr string) (Authentication_FieldPathArrayItemValue, error)

ParseAuthentication_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Authentication_FieldPathArrayOfValues

type Authentication_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Authentication_FieldPath
}

Authentication_FieldPathArrayOfValues allows storing slice of values for Authentication fields according to their type

func MustParseAuthentication_FieldPathArrayOfValues

func MustParseAuthentication_FieldPathArrayOfValues(pathStr, valuesStr string) Authentication_FieldPathArrayOfValues

func ParseAuthentication_FieldPathArrayOfValues

func ParseAuthentication_FieldPathArrayOfValues(pathStr, valuesStr string) (Authentication_FieldPathArrayOfValues, error)

type Authentication_FieldPathSelector

type Authentication_FieldPathSelector int32
const (
	Authentication_FieldPathSelectorPrincipal     Authentication_FieldPathSelector = 0
	Authentication_FieldPathSelectorPrincipalType Authentication_FieldPathSelector = 1
)

func (Authentication_FieldPathSelector) String

type Authentication_FieldPathValue

type Authentication_FieldPathValue interface {
	Authentication_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Authentication)
	CompareWith(*Authentication) (cmp int, comparable bool)
}

Authentication_FieldPathValue allows storing values for Authentication fields according to their type

func MustParseAuthentication_FieldPathValue

func MustParseAuthentication_FieldPathValue(pathStr, valueStr string) Authentication_FieldPathValue

func ParseAuthentication_FieldPathValue

func ParseAuthentication_FieldPathValue(pathStr, valueStr string) (Authentication_FieldPathValue, error)

type Authentication_FieldTerminalPath

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

func (*Authentication_FieldTerminalPath) ClearValue

func (fp *Authentication_FieldTerminalPath) ClearValue(item *Authentication)

func (*Authentication_FieldTerminalPath) ClearValueRaw

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

func (*Authentication_FieldTerminalPath) Get

func (fp *Authentication_FieldTerminalPath) Get(source *Authentication) (values []interface{})

Get returns all values pointed by specific field from source Authentication

func (*Authentication_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Authentication_FieldTerminalPath) GetRaw

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

func (*Authentication_FieldTerminalPath) GetSingle

func (fp *Authentication_FieldTerminalPath) GetSingle(source *Authentication) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Authentication

func (*Authentication_FieldTerminalPath) GetSingleRaw

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

func (*Authentication_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*Authentication_FieldTerminalPath) JSONString

func (fp *Authentication_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Authentication_FieldTerminalPath) Selector

func (*Authentication_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*Authentication_FieldTerminalPath) String

String returns path representation in proto convention

func (*Authentication_FieldTerminalPath) WithIArrayItemValue

func (fp *Authentication_FieldTerminalPath) WithIArrayItemValue(value interface{}) Authentication_FieldPathArrayItemValue

func (*Authentication_FieldTerminalPath) WithIArrayOfValues

func (fp *Authentication_FieldTerminalPath) WithIArrayOfValues(values interface{}) Authentication_FieldPathArrayOfValues

func (*Authentication_FieldTerminalPath) WithIValue

func (fp *Authentication_FieldTerminalPath) WithIValue(value interface{}) Authentication_FieldPathValue

func (*Authentication_FieldTerminalPath) WithRawIArrayItemValue

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

func (*Authentication_FieldTerminalPath) WithRawIArrayOfValues

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

func (*Authentication_FieldTerminalPath) WithRawIValue

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

type Authentication_FieldTerminalPathArrayItemValue

type Authentication_FieldTerminalPathArrayItemValue struct {
	Authentication_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Authentication_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*Authentication_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*Authentication_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Authentication_FieldTerminalPathArrayItemValue) GetSingle(source *Authentication) (interface{}, bool)

func (*Authentication_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type Authentication_FieldTerminalPathArrayOfValues

type Authentication_FieldTerminalPathArrayOfValues struct {
	Authentication_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Authentication_FieldTerminalPathArrayOfValues) AsPrincipalArrayOfValues

func (fpaov *Authentication_FieldTerminalPathArrayOfValues) AsPrincipalArrayOfValues() ([]string, bool)

func (*Authentication_FieldTerminalPathArrayOfValues) AsPrincipalTypeArrayOfValues added in v0.4.22

func (fpaov *Authentication_FieldTerminalPathArrayOfValues) AsPrincipalTypeArrayOfValues() ([]string, bool)

func (*Authentication_FieldTerminalPathArrayOfValues) GetRawValues

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

type Authentication_FieldTerminalPathValue

type Authentication_FieldTerminalPathValue struct {
	Authentication_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Authentication_FieldTerminalPathValue) AsPrincipalTypeValue added in v0.4.22

func (fpv *Authentication_FieldTerminalPathValue) AsPrincipalTypeValue() (string, bool)

func (*Authentication_FieldTerminalPathValue) AsPrincipalValue

func (fpv *Authentication_FieldTerminalPathValue) AsPrincipalValue() (string, bool)

func (*Authentication_FieldTerminalPathValue) CompareWith

func (fpv *Authentication_FieldTerminalPathValue) CompareWith(source *Authentication) (int, bool)

CompareWith compares value in the 'Authentication_FieldTerminalPathValue' with the value under path in 'Authentication'.

func (*Authentication_FieldTerminalPathValue) CompareWithRaw

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

func (*Authentication_FieldTerminalPathValue) GetRawValue

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

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

func (*Authentication_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object Authentication

func (*Authentication_FieldTerminalPathValue) SetToRaw

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

type Authorization

type Authorization struct {

	// List of permissions that were granted
	GrantedPermissions []string `` /* 146-byte string literal not displayed */
	// List of permissions that were denied
	DeniedPermissions []string `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

Information about authorization applicable for a request.

func (*Authorization) Clone

func (o *Authorization) Clone() *Authorization

func (*Authorization) CloneRaw

func (*Authorization) Descriptor

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

Deprecated, Use Authorization.ProtoReflect.Descriptor instead.

func (*Authorization) GetDeniedPermissions

func (m *Authorization) GetDeniedPermissions() []string

func (*Authorization) GetGrantedPermissions

func (m *Authorization) GetGrantedPermissions() []string

func (*Authorization) GotenMessage

func (*Authorization) GotenMessage()

func (*Authorization) GotenObjectExt

func (o *Authorization) GotenObjectExt()

func (*Authorization) GotenValidate

func (obj *Authorization) GotenValidate() error

func (*Authorization) MakeDiffFieldMask

func (o *Authorization) MakeDiffFieldMask(other *Authorization) *Authorization_FieldMask

func (*Authorization) MakeFullFieldMask

func (o *Authorization) MakeFullFieldMask() *Authorization_FieldMask

func (*Authorization) MakeRawDiffFieldMask

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

func (*Authorization) MakeRawFullFieldMask

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

func (*Authorization) Marshal

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

func (*Authorization) MarshalJSON

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

func (*Authorization) Merge

func (o *Authorization) Merge(source *Authorization)

func (*Authorization) MergeRaw

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

func (*Authorization) ProtoMessage

func (*Authorization) ProtoMessage()

func (*Authorization) ProtoReflect

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

func (*Authorization) Reset

func (m *Authorization) Reset()

func (*Authorization) SetDeniedPermissions

func (m *Authorization) SetDeniedPermissions(fv []string)

func (*Authorization) SetGrantedPermissions

func (m *Authorization) SetGrantedPermissions(fv []string)

func (*Authorization) String

func (m *Authorization) String() string

func (*Authorization) Unmarshal

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

func (*Authorization) UnmarshalJSON

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

type AuthorizationFieldPathBuilder

type AuthorizationFieldPathBuilder struct{}

func NewAuthorizationFieldPathBuilder

func NewAuthorizationFieldPathBuilder() AuthorizationFieldPathBuilder

func (AuthorizationFieldPathBuilder) DeniedPermissions

func (AuthorizationFieldPathBuilder) GrantedPermissions

type AuthorizationPathSelectorDeniedPermissions

type AuthorizationPathSelectorDeniedPermissions struct{}

func (AuthorizationPathSelectorDeniedPermissions) FieldPath

func (AuthorizationPathSelectorDeniedPermissions) WithArrayOfValues

func (AuthorizationPathSelectorDeniedPermissions) WithItemValue

func (AuthorizationPathSelectorDeniedPermissions) WithValue

type AuthorizationPathSelectorGrantedPermissions

type AuthorizationPathSelectorGrantedPermissions struct{}

func (AuthorizationPathSelectorGrantedPermissions) FieldPath

func (AuthorizationPathSelectorGrantedPermissions) WithArrayOfValues

func (AuthorizationPathSelectorGrantedPermissions) WithItemValue

func (AuthorizationPathSelectorGrantedPermissions) WithValue

type Authorization_FieldMask

type Authorization_FieldMask struct {
	Paths []Authorization_FieldPath
}

func FullAuthorization_FieldMask

func FullAuthorization_FieldMask() *Authorization_FieldMask

func (*Authorization_FieldMask) AppendPath

func (fieldMask *Authorization_FieldMask) AppendPath(path Authorization_FieldPath)

func (*Authorization_FieldMask) AppendRawPath

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

func (*Authorization_FieldMask) DecodeFirestore

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

func (*Authorization_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Authorization_FieldMask) FilterInputFields

func (fieldMask *Authorization_FieldMask) FilterInputFields() *Authorization_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Authorization_FieldMask) FromProtoFieldMask

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

func (*Authorization_FieldMask) GetPaths

func (fieldMask *Authorization_FieldMask) GetPaths() []Authorization_FieldPath

func (*Authorization_FieldMask) GetRawPaths

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

func (*Authorization_FieldMask) IsFull

func (fieldMask *Authorization_FieldMask) IsFull() bool

func (Authorization_FieldMask) Marshal

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

implement methods required by customType

func (Authorization_FieldMask) MarshalJSON

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

func (*Authorization_FieldMask) PathsCount

func (fieldMask *Authorization_FieldMask) PathsCount() int

func (*Authorization_FieldMask) Project

func (fieldMask *Authorization_FieldMask) Project(source *Authorization) *Authorization

func (*Authorization_FieldMask) ProjectRaw

func (*Authorization_FieldMask) ProtoMessage

func (fieldMask *Authorization_FieldMask) ProtoMessage()

func (*Authorization_FieldMask) ProtoReflect

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

func (*Authorization_FieldMask) Reset

func (fieldMask *Authorization_FieldMask) Reset()

func (*Authorization_FieldMask) Set

func (fieldMask *Authorization_FieldMask) Set(target, source *Authorization)

func (*Authorization_FieldMask) SetFromCliFlag

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

func (*Authorization_FieldMask) SetRaw

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

func (*Authorization_FieldMask) Size

func (fieldMask *Authorization_FieldMask) Size() int

func (*Authorization_FieldMask) String

func (fieldMask *Authorization_FieldMask) String() string

func (*Authorization_FieldMask) Subtract

func (*Authorization_FieldMask) SubtractRaw

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

func (*Authorization_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Authorization_FieldMask) Unmarshal

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

func (*Authorization_FieldMask) UnmarshalJSON

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

type Authorization_FieldPath

type Authorization_FieldPath interface {
	gotenobject.FieldPath
	Selector() Authorization_FieldPathSelector
	Get(source *Authorization) []interface{}
	GetSingle(source *Authorization) (interface{}, bool)
	ClearValue(item *Authorization)

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

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

func MustParseAuthorization_FieldPath

func MustParseAuthorization_FieldPath(rawField string) Authorization_FieldPath

func ParseAuthorization_FieldPath

func ParseAuthorization_FieldPath(rawField string) (Authorization_FieldPath, error)

type Authorization_FieldPathArrayItemValue

type Authorization_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Authorization_FieldPath
	ContainsValue(*Authorization) bool
}

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

func MustParseAuthorization_FieldPathArrayItemValue

func MustParseAuthorization_FieldPathArrayItemValue(pathStr, valueStr string) Authorization_FieldPathArrayItemValue

func ParseAuthorization_FieldPathArrayItemValue

func ParseAuthorization_FieldPathArrayItemValue(pathStr, valueStr string) (Authorization_FieldPathArrayItemValue, error)

ParseAuthorization_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Authorization_FieldPathArrayOfValues

type Authorization_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Authorization_FieldPath
}

Authorization_FieldPathArrayOfValues allows storing slice of values for Authorization fields according to their type

func MustParseAuthorization_FieldPathArrayOfValues

func MustParseAuthorization_FieldPathArrayOfValues(pathStr, valuesStr string) Authorization_FieldPathArrayOfValues

func ParseAuthorization_FieldPathArrayOfValues

func ParseAuthorization_FieldPathArrayOfValues(pathStr, valuesStr string) (Authorization_FieldPathArrayOfValues, error)

type Authorization_FieldPathSelector

type Authorization_FieldPathSelector int32
const (
	Authorization_FieldPathSelectorGrantedPermissions Authorization_FieldPathSelector = 0
	Authorization_FieldPathSelectorDeniedPermissions  Authorization_FieldPathSelector = 1
)

func (Authorization_FieldPathSelector) String

type Authorization_FieldPathValue

type Authorization_FieldPathValue interface {
	Authorization_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Authorization)
	CompareWith(*Authorization) (cmp int, comparable bool)
}

Authorization_FieldPathValue allows storing values for Authorization fields according to their type

func MustParseAuthorization_FieldPathValue

func MustParseAuthorization_FieldPathValue(pathStr, valueStr string) Authorization_FieldPathValue

func ParseAuthorization_FieldPathValue

func ParseAuthorization_FieldPathValue(pathStr, valueStr string) (Authorization_FieldPathValue, error)

type Authorization_FieldTerminalPath

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

func (*Authorization_FieldTerminalPath) ClearValue

func (fp *Authorization_FieldTerminalPath) ClearValue(item *Authorization)

func (*Authorization_FieldTerminalPath) ClearValueRaw

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

func (*Authorization_FieldTerminalPath) Get

func (fp *Authorization_FieldTerminalPath) Get(source *Authorization) (values []interface{})

Get returns all values pointed by specific field from source Authorization

func (*Authorization_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Authorization_FieldTerminalPath) GetRaw

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

func (*Authorization_FieldTerminalPath) GetSingle

func (fp *Authorization_FieldTerminalPath) GetSingle(source *Authorization) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Authorization

func (*Authorization_FieldTerminalPath) GetSingleRaw

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

func (*Authorization_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*Authorization_FieldTerminalPath) JSONString

func (fp *Authorization_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Authorization_FieldTerminalPath) Selector

func (*Authorization_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*Authorization_FieldTerminalPath) String

String returns path representation in proto convention

func (*Authorization_FieldTerminalPath) WithIArrayItemValue

func (fp *Authorization_FieldTerminalPath) WithIArrayItemValue(value interface{}) Authorization_FieldPathArrayItemValue

func (*Authorization_FieldTerminalPath) WithIArrayOfValues

func (fp *Authorization_FieldTerminalPath) WithIArrayOfValues(values interface{}) Authorization_FieldPathArrayOfValues

func (*Authorization_FieldTerminalPath) WithIValue

func (fp *Authorization_FieldTerminalPath) WithIValue(value interface{}) Authorization_FieldPathValue

func (*Authorization_FieldTerminalPath) WithRawIArrayItemValue

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

func (*Authorization_FieldTerminalPath) WithRawIArrayOfValues

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

func (*Authorization_FieldTerminalPath) WithRawIValue

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

type Authorization_FieldTerminalPathArrayItemValue

type Authorization_FieldTerminalPathArrayItemValue struct {
	Authorization_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Authorization_FieldTerminalPathArrayItemValue) AsDeniedPermissionsItemValue

func (fpaiv *Authorization_FieldTerminalPathArrayItemValue) AsDeniedPermissionsItemValue() (string, bool)

func (*Authorization_FieldTerminalPathArrayItemValue) AsGrantedPermissionsItemValue

func (fpaiv *Authorization_FieldTerminalPathArrayItemValue) AsGrantedPermissionsItemValue() (string, bool)

func (*Authorization_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*Authorization_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*Authorization_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Authorization_FieldTerminalPathArrayItemValue) GetSingle(source *Authorization) (interface{}, bool)

func (*Authorization_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type Authorization_FieldTerminalPathArrayOfValues

type Authorization_FieldTerminalPathArrayOfValues struct {
	Authorization_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Authorization_FieldTerminalPathArrayOfValues) AsDeniedPermissionsArrayOfValues

func (fpaov *Authorization_FieldTerminalPathArrayOfValues) AsDeniedPermissionsArrayOfValues() ([][]string, bool)

func (*Authorization_FieldTerminalPathArrayOfValues) AsGrantedPermissionsArrayOfValues

func (fpaov *Authorization_FieldTerminalPathArrayOfValues) AsGrantedPermissionsArrayOfValues() ([][]string, bool)

func (*Authorization_FieldTerminalPathArrayOfValues) GetRawValues

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

type Authorization_FieldTerminalPathValue

type Authorization_FieldTerminalPathValue struct {
	Authorization_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Authorization_FieldTerminalPathValue) AsDeniedPermissionsValue

func (fpv *Authorization_FieldTerminalPathValue) AsDeniedPermissionsValue() ([]string, bool)

func (*Authorization_FieldTerminalPathValue) AsGrantedPermissionsValue

func (fpv *Authorization_FieldTerminalPathValue) AsGrantedPermissionsValue() ([]string, bool)

func (*Authorization_FieldTerminalPathValue) CompareWith

func (fpv *Authorization_FieldTerminalPathValue) CompareWith(source *Authorization) (int, bool)

CompareWith compares value in the 'Authorization_FieldTerminalPathValue' with the value under path in 'Authorization'.

func (*Authorization_FieldTerminalPathValue) CompareWithRaw

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

func (*Authorization_FieldTerminalPathValue) GetRawValue

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

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

func (*Authorization_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object Authorization

func (*Authorization_FieldTerminalPathValue) SetToRaw

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

type LabelDescriptor

type LabelDescriptor struct {

	// The label key.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" firestore:"key"`
	// List of versions where label is supported
	Versions []string `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty" firestore:"versions"`
	// contains filtered or unexported fields
}

func (*LabelDescriptor) Clone

func (o *LabelDescriptor) Clone() *LabelDescriptor

func (*LabelDescriptor) CloneRaw

func (*LabelDescriptor) Descriptor

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

Deprecated, Use LabelDescriptor.ProtoReflect.Descriptor instead.

func (*LabelDescriptor) GetKey

func (m *LabelDescriptor) GetKey() string

func (*LabelDescriptor) GetVersions

func (m *LabelDescriptor) GetVersions() []string

func (*LabelDescriptor) GotenMessage

func (*LabelDescriptor) GotenMessage()

func (*LabelDescriptor) GotenObjectExt

func (o *LabelDescriptor) GotenObjectExt()

func (*LabelDescriptor) GotenValidate

func (obj *LabelDescriptor) GotenValidate() error

func (*LabelDescriptor) MakeDiffFieldMask

func (o *LabelDescriptor) MakeDiffFieldMask(other *LabelDescriptor) *LabelDescriptor_FieldMask

func (*LabelDescriptor) MakeFullFieldMask

func (o *LabelDescriptor) MakeFullFieldMask() *LabelDescriptor_FieldMask

func (*LabelDescriptor) MakeRawDiffFieldMask

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

func (*LabelDescriptor) MakeRawFullFieldMask

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

func (*LabelDescriptor) Marshal

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

func (*LabelDescriptor) MarshalJSON

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

func (*LabelDescriptor) Merge

func (o *LabelDescriptor) Merge(source *LabelDescriptor)

func (*LabelDescriptor) MergeRaw

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

func (*LabelDescriptor) ProtoMessage

func (*LabelDescriptor) ProtoMessage()

func (*LabelDescriptor) ProtoReflect

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

func (*LabelDescriptor) Reset

func (m *LabelDescriptor) Reset()

func (*LabelDescriptor) SetKey

func (m *LabelDescriptor) SetKey(fv string)

func (*LabelDescriptor) SetVersions

func (m *LabelDescriptor) SetVersions(fv []string)

func (*LabelDescriptor) String

func (m *LabelDescriptor) String() string

func (*LabelDescriptor) Unmarshal

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

func (*LabelDescriptor) UnmarshalJSON

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

type LabelDescriptorFieldPathBuilder

type LabelDescriptorFieldPathBuilder struct{}

func NewLabelDescriptorFieldPathBuilder

func NewLabelDescriptorFieldPathBuilder() LabelDescriptorFieldPathBuilder

func (LabelDescriptorFieldPathBuilder) Key

func (LabelDescriptorFieldPathBuilder) Versions

type LabelDescriptorPathSelectorKey

type LabelDescriptorPathSelectorKey struct{}

func (LabelDescriptorPathSelectorKey) FieldPath

func (LabelDescriptorPathSelectorKey) WithArrayOfValues

func (LabelDescriptorPathSelectorKey) WithValue

type LabelDescriptorPathSelectorVersions

type LabelDescriptorPathSelectorVersions struct{}

func (LabelDescriptorPathSelectorVersions) FieldPath

func (LabelDescriptorPathSelectorVersions) WithArrayOfValues

func (LabelDescriptorPathSelectorVersions) WithItemValue

func (LabelDescriptorPathSelectorVersions) WithValue

type LabelDescriptor_FieldMask

type LabelDescriptor_FieldMask struct {
	Paths []LabelDescriptor_FieldPath
}

func FullLabelDescriptor_FieldMask

func FullLabelDescriptor_FieldMask() *LabelDescriptor_FieldMask

func (*LabelDescriptor_FieldMask) AppendPath

func (fieldMask *LabelDescriptor_FieldMask) AppendPath(path LabelDescriptor_FieldPath)

func (*LabelDescriptor_FieldMask) AppendRawPath

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

func (*LabelDescriptor_FieldMask) DecodeFirestore

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

func (*LabelDescriptor_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*LabelDescriptor_FieldMask) FilterInputFields

func (fieldMask *LabelDescriptor_FieldMask) FilterInputFields() *LabelDescriptor_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*LabelDescriptor_FieldMask) FromProtoFieldMask

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

func (*LabelDescriptor_FieldMask) GetPaths

func (fieldMask *LabelDescriptor_FieldMask) GetPaths() []LabelDescriptor_FieldPath

func (*LabelDescriptor_FieldMask) GetRawPaths

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

func (*LabelDescriptor_FieldMask) IsFull

func (fieldMask *LabelDescriptor_FieldMask) IsFull() bool

func (LabelDescriptor_FieldMask) Marshal

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

implement methods required by customType

func (LabelDescriptor_FieldMask) MarshalJSON

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

func (*LabelDescriptor_FieldMask) PathsCount

func (fieldMask *LabelDescriptor_FieldMask) PathsCount() int

func (*LabelDescriptor_FieldMask) Project

func (fieldMask *LabelDescriptor_FieldMask) Project(source *LabelDescriptor) *LabelDescriptor

func (*LabelDescriptor_FieldMask) ProjectRaw

func (*LabelDescriptor_FieldMask) ProtoMessage

func (fieldMask *LabelDescriptor_FieldMask) ProtoMessage()

func (*LabelDescriptor_FieldMask) ProtoReflect

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

func (*LabelDescriptor_FieldMask) Reset

func (fieldMask *LabelDescriptor_FieldMask) Reset()

func (*LabelDescriptor_FieldMask) Set

func (fieldMask *LabelDescriptor_FieldMask) Set(target, source *LabelDescriptor)

func (*LabelDescriptor_FieldMask) SetFromCliFlag

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

func (*LabelDescriptor_FieldMask) SetRaw

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

func (*LabelDescriptor_FieldMask) Size

func (fieldMask *LabelDescriptor_FieldMask) Size() int

func (*LabelDescriptor_FieldMask) String

func (fieldMask *LabelDescriptor_FieldMask) String() string

func (*LabelDescriptor_FieldMask) Subtract

func (*LabelDescriptor_FieldMask) SubtractRaw

func (*LabelDescriptor_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*LabelDescriptor_FieldMask) Unmarshal

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

func (*LabelDescriptor_FieldMask) UnmarshalJSON

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

type LabelDescriptor_FieldPath

type LabelDescriptor_FieldPath interface {
	gotenobject.FieldPath
	Selector() LabelDescriptor_FieldPathSelector
	Get(source *LabelDescriptor) []interface{}
	GetSingle(source *LabelDescriptor) (interface{}, bool)
	ClearValue(item *LabelDescriptor)

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

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

func MustParseLabelDescriptor_FieldPath

func MustParseLabelDescriptor_FieldPath(rawField string) LabelDescriptor_FieldPath

func ParseLabelDescriptor_FieldPath

func ParseLabelDescriptor_FieldPath(rawField string) (LabelDescriptor_FieldPath, error)

type LabelDescriptor_FieldPathArrayItemValue

type LabelDescriptor_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	LabelDescriptor_FieldPath
	ContainsValue(*LabelDescriptor) bool
}

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

func MustParseLabelDescriptor_FieldPathArrayItemValue

func MustParseLabelDescriptor_FieldPathArrayItemValue(pathStr, valueStr string) LabelDescriptor_FieldPathArrayItemValue

func ParseLabelDescriptor_FieldPathArrayItemValue

func ParseLabelDescriptor_FieldPathArrayItemValue(pathStr, valueStr string) (LabelDescriptor_FieldPathArrayItemValue, error)

ParseLabelDescriptor_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type LabelDescriptor_FieldPathArrayOfValues

type LabelDescriptor_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	LabelDescriptor_FieldPath
}

LabelDescriptor_FieldPathArrayOfValues allows storing slice of values for LabelDescriptor fields according to their type

func MustParseLabelDescriptor_FieldPathArrayOfValues

func MustParseLabelDescriptor_FieldPathArrayOfValues(pathStr, valuesStr string) LabelDescriptor_FieldPathArrayOfValues

func ParseLabelDescriptor_FieldPathArrayOfValues

func ParseLabelDescriptor_FieldPathArrayOfValues(pathStr, valuesStr string) (LabelDescriptor_FieldPathArrayOfValues, error)

type LabelDescriptor_FieldPathSelector

type LabelDescriptor_FieldPathSelector int32
const (
	LabelDescriptor_FieldPathSelectorKey      LabelDescriptor_FieldPathSelector = 0
	LabelDescriptor_FieldPathSelectorVersions LabelDescriptor_FieldPathSelector = 1
)

func (LabelDescriptor_FieldPathSelector) String

type LabelDescriptor_FieldPathValue

type LabelDescriptor_FieldPathValue interface {
	LabelDescriptor_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **LabelDescriptor)
	CompareWith(*LabelDescriptor) (cmp int, comparable bool)
}

LabelDescriptor_FieldPathValue allows storing values for LabelDescriptor fields according to their type

func MustParseLabelDescriptor_FieldPathValue

func MustParseLabelDescriptor_FieldPathValue(pathStr, valueStr string) LabelDescriptor_FieldPathValue

func ParseLabelDescriptor_FieldPathValue

func ParseLabelDescriptor_FieldPathValue(pathStr, valueStr string) (LabelDescriptor_FieldPathValue, error)

type LabelDescriptor_FieldTerminalPath

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

func (*LabelDescriptor_FieldTerminalPath) ClearValue

func (fp *LabelDescriptor_FieldTerminalPath) ClearValue(item *LabelDescriptor)

func (*LabelDescriptor_FieldTerminalPath) ClearValueRaw

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

func (*LabelDescriptor_FieldTerminalPath) Get

func (fp *LabelDescriptor_FieldTerminalPath) Get(source *LabelDescriptor) (values []interface{})

Get returns all values pointed by specific field from source LabelDescriptor

func (*LabelDescriptor_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*LabelDescriptor_FieldTerminalPath) GetRaw

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

func (*LabelDescriptor_FieldTerminalPath) GetSingle

func (fp *LabelDescriptor_FieldTerminalPath) GetSingle(source *LabelDescriptor) (interface{}, bool)

GetSingle returns value pointed by specific field of from source LabelDescriptor

func (*LabelDescriptor_FieldTerminalPath) GetSingleRaw

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

func (*LabelDescriptor_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*LabelDescriptor_FieldTerminalPath) JSONString

func (fp *LabelDescriptor_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*LabelDescriptor_FieldTerminalPath) Selector

func (*LabelDescriptor_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*LabelDescriptor_FieldTerminalPath) String

String returns path representation in proto convention

func (*LabelDescriptor_FieldTerminalPath) WithIArrayItemValue

func (fp *LabelDescriptor_FieldTerminalPath) WithIArrayItemValue(value interface{}) LabelDescriptor_FieldPathArrayItemValue

func (*LabelDescriptor_FieldTerminalPath) WithIArrayOfValues

func (fp *LabelDescriptor_FieldTerminalPath) WithIArrayOfValues(values interface{}) LabelDescriptor_FieldPathArrayOfValues

func (*LabelDescriptor_FieldTerminalPath) WithIValue

func (fp *LabelDescriptor_FieldTerminalPath) WithIValue(value interface{}) LabelDescriptor_FieldPathValue

func (*LabelDescriptor_FieldTerminalPath) WithRawIArrayItemValue

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

func (*LabelDescriptor_FieldTerminalPath) WithRawIArrayOfValues

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

func (*LabelDescriptor_FieldTerminalPath) WithRawIValue

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

type LabelDescriptor_FieldTerminalPathArrayItemValue

type LabelDescriptor_FieldTerminalPathArrayItemValue struct {
	LabelDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelDescriptor_FieldTerminalPathArrayItemValue) AsVersionsItemValue

func (fpaiv *LabelDescriptor_FieldTerminalPathArrayItemValue) AsVersionsItemValue() (string, bool)

func (*LabelDescriptor_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*LabelDescriptor_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*LabelDescriptor_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *LabelDescriptor_FieldTerminalPathArrayItemValue) GetSingle(source *LabelDescriptor) (interface{}, bool)

func (*LabelDescriptor_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type LabelDescriptor_FieldTerminalPathArrayOfValues

type LabelDescriptor_FieldTerminalPathArrayOfValues struct {
	LabelDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelDescriptor_FieldTerminalPathArrayOfValues) AsKeyArrayOfValues

func (fpaov *LabelDescriptor_FieldTerminalPathArrayOfValues) AsKeyArrayOfValues() ([]string, bool)

func (*LabelDescriptor_FieldTerminalPathArrayOfValues) AsVersionsArrayOfValues

func (fpaov *LabelDescriptor_FieldTerminalPathArrayOfValues) AsVersionsArrayOfValues() ([][]string, bool)

func (*LabelDescriptor_FieldTerminalPathArrayOfValues) GetRawValues

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

type LabelDescriptor_FieldTerminalPathValue

type LabelDescriptor_FieldTerminalPathValue struct {
	LabelDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelDescriptor_FieldTerminalPathValue) AsKeyValue

func (fpv *LabelDescriptor_FieldTerminalPathValue) AsKeyValue() (string, bool)

func (*LabelDescriptor_FieldTerminalPathValue) AsVersionsValue

func (fpv *LabelDescriptor_FieldTerminalPathValue) AsVersionsValue() ([]string, bool)

func (*LabelDescriptor_FieldTerminalPathValue) CompareWith

func (fpv *LabelDescriptor_FieldTerminalPathValue) CompareWith(source *LabelDescriptor) (int, bool)

CompareWith compares value in the 'LabelDescriptor_FieldTerminalPathValue' with the value under path in 'LabelDescriptor'.

func (*LabelDescriptor_FieldTerminalPathValue) CompareWithRaw

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

func (*LabelDescriptor_FieldTerminalPathValue) GetRawValue

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

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

func (*LabelDescriptor_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object LabelDescriptor

func (*LabelDescriptor_FieldTerminalPathValue) SetToRaw

type LabelKeySet

type LabelKeySet struct {
	LabelKeys []string `protobuf:"bytes,1,rep,name=label_keys,json=labelKeys,proto3" json:"label_keys,omitempty" firestore:"labelKeys"`
	// List of versions where label set is supported
	Versions []string `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty" firestore:"versions"`
	// contains filtered or unexported fields
}

LabelKeySet is used for defining PromotedLabelKeySets on Object descriptors

func (*LabelKeySet) Clone

func (o *LabelKeySet) Clone() *LabelKeySet

func (*LabelKeySet) CloneRaw

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

func (*LabelKeySet) Descriptor

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

Deprecated, Use LabelKeySet.ProtoReflect.Descriptor instead.

func (*LabelKeySet) GetLabelKeys

func (m *LabelKeySet) GetLabelKeys() []string

func (*LabelKeySet) GetVersions

func (m *LabelKeySet) GetVersions() []string

func (*LabelKeySet) GotenMessage

func (*LabelKeySet) GotenMessage()

func (*LabelKeySet) GotenObjectExt

func (o *LabelKeySet) GotenObjectExt()

func (*LabelKeySet) GotenValidate

func (obj *LabelKeySet) GotenValidate() error

func (*LabelKeySet) MakeDiffFieldMask

func (o *LabelKeySet) MakeDiffFieldMask(other *LabelKeySet) *LabelKeySet_FieldMask

func (*LabelKeySet) MakeFullFieldMask

func (o *LabelKeySet) MakeFullFieldMask() *LabelKeySet_FieldMask

func (*LabelKeySet) MakeRawDiffFieldMask

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

func (*LabelKeySet) MakeRawFullFieldMask

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

func (*LabelKeySet) Marshal

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

func (*LabelKeySet) MarshalJSON

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

func (*LabelKeySet) Merge

func (o *LabelKeySet) Merge(source *LabelKeySet)

func (*LabelKeySet) MergeRaw

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

func (*LabelKeySet) ProtoMessage

func (*LabelKeySet) ProtoMessage()

func (*LabelKeySet) ProtoReflect

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

func (*LabelKeySet) Reset

func (m *LabelKeySet) Reset()

func (*LabelKeySet) SetLabelKeys

func (m *LabelKeySet) SetLabelKeys(fv []string)

func (*LabelKeySet) SetVersions

func (m *LabelKeySet) SetVersions(fv []string)

func (*LabelKeySet) String

func (m *LabelKeySet) String() string

func (*LabelKeySet) Unmarshal

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

func (*LabelKeySet) UnmarshalJSON

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

type LabelKeySetFieldPathBuilder

type LabelKeySetFieldPathBuilder struct{}

func NewLabelKeySetFieldPathBuilder

func NewLabelKeySetFieldPathBuilder() LabelKeySetFieldPathBuilder

func (LabelKeySetFieldPathBuilder) LabelKeys

func (LabelKeySetFieldPathBuilder) Versions

type LabelKeySetPathSelectorLabelKeys

type LabelKeySetPathSelectorLabelKeys struct{}

func (LabelKeySetPathSelectorLabelKeys) FieldPath

func (LabelKeySetPathSelectorLabelKeys) WithArrayOfValues

func (LabelKeySetPathSelectorLabelKeys) WithItemValue

func (LabelKeySetPathSelectorLabelKeys) WithValue

type LabelKeySetPathSelectorVersions

type LabelKeySetPathSelectorVersions struct{}

func (LabelKeySetPathSelectorVersions) FieldPath

func (LabelKeySetPathSelectorVersions) WithArrayOfValues

func (LabelKeySetPathSelectorVersions) WithItemValue

func (LabelKeySetPathSelectorVersions) WithValue

type LabelKeySet_FieldMask

type LabelKeySet_FieldMask struct {
	Paths []LabelKeySet_FieldPath
}

func FullLabelKeySet_FieldMask

func FullLabelKeySet_FieldMask() *LabelKeySet_FieldMask

func (*LabelKeySet_FieldMask) AppendPath

func (fieldMask *LabelKeySet_FieldMask) AppendPath(path LabelKeySet_FieldPath)

func (*LabelKeySet_FieldMask) AppendRawPath

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

func (*LabelKeySet_FieldMask) DecodeFirestore

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

func (*LabelKeySet_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*LabelKeySet_FieldMask) FilterInputFields

func (fieldMask *LabelKeySet_FieldMask) FilterInputFields() *LabelKeySet_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*LabelKeySet_FieldMask) FromProtoFieldMask

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

func (*LabelKeySet_FieldMask) GetPaths

func (fieldMask *LabelKeySet_FieldMask) GetPaths() []LabelKeySet_FieldPath

func (*LabelKeySet_FieldMask) GetRawPaths

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

func (*LabelKeySet_FieldMask) IsFull

func (fieldMask *LabelKeySet_FieldMask) IsFull() bool

func (LabelKeySet_FieldMask) Marshal

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

implement methods required by customType

func (LabelKeySet_FieldMask) MarshalJSON

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

func (*LabelKeySet_FieldMask) PathsCount

func (fieldMask *LabelKeySet_FieldMask) PathsCount() int

func (*LabelKeySet_FieldMask) Project

func (fieldMask *LabelKeySet_FieldMask) Project(source *LabelKeySet) *LabelKeySet

func (*LabelKeySet_FieldMask) ProjectRaw

func (*LabelKeySet_FieldMask) ProtoMessage

func (fieldMask *LabelKeySet_FieldMask) ProtoMessage()

func (*LabelKeySet_FieldMask) ProtoReflect

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

func (*LabelKeySet_FieldMask) Reset

func (fieldMask *LabelKeySet_FieldMask) Reset()

func (*LabelKeySet_FieldMask) Set

func (fieldMask *LabelKeySet_FieldMask) Set(target, source *LabelKeySet)

func (*LabelKeySet_FieldMask) SetFromCliFlag

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

func (*LabelKeySet_FieldMask) SetRaw

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

func (*LabelKeySet_FieldMask) Size

func (fieldMask *LabelKeySet_FieldMask) Size() int

func (*LabelKeySet_FieldMask) String

func (fieldMask *LabelKeySet_FieldMask) String() string

func (*LabelKeySet_FieldMask) Subtract

func (*LabelKeySet_FieldMask) SubtractRaw

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

func (*LabelKeySet_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*LabelKeySet_FieldMask) Unmarshal

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

func (*LabelKeySet_FieldMask) UnmarshalJSON

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

type LabelKeySet_FieldPath

type LabelKeySet_FieldPath interface {
	gotenobject.FieldPath
	Selector() LabelKeySet_FieldPathSelector
	Get(source *LabelKeySet) []interface{}
	GetSingle(source *LabelKeySet) (interface{}, bool)
	ClearValue(item *LabelKeySet)

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

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

func MustParseLabelKeySet_FieldPath

func MustParseLabelKeySet_FieldPath(rawField string) LabelKeySet_FieldPath

func ParseLabelKeySet_FieldPath

func ParseLabelKeySet_FieldPath(rawField string) (LabelKeySet_FieldPath, error)

type LabelKeySet_FieldPathArrayItemValue

type LabelKeySet_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	LabelKeySet_FieldPath
	ContainsValue(*LabelKeySet) bool
}

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

func MustParseLabelKeySet_FieldPathArrayItemValue

func MustParseLabelKeySet_FieldPathArrayItemValue(pathStr, valueStr string) LabelKeySet_FieldPathArrayItemValue

func ParseLabelKeySet_FieldPathArrayItemValue

func ParseLabelKeySet_FieldPathArrayItemValue(pathStr, valueStr string) (LabelKeySet_FieldPathArrayItemValue, error)

ParseLabelKeySet_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type LabelKeySet_FieldPathArrayOfValues

type LabelKeySet_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	LabelKeySet_FieldPath
}

LabelKeySet_FieldPathArrayOfValues allows storing slice of values for LabelKeySet fields according to their type

func MustParseLabelKeySet_FieldPathArrayOfValues

func MustParseLabelKeySet_FieldPathArrayOfValues(pathStr, valuesStr string) LabelKeySet_FieldPathArrayOfValues

func ParseLabelKeySet_FieldPathArrayOfValues

func ParseLabelKeySet_FieldPathArrayOfValues(pathStr, valuesStr string) (LabelKeySet_FieldPathArrayOfValues, error)

type LabelKeySet_FieldPathSelector

type LabelKeySet_FieldPathSelector int32
const (
	LabelKeySet_FieldPathSelectorLabelKeys LabelKeySet_FieldPathSelector = 0
	LabelKeySet_FieldPathSelectorVersions  LabelKeySet_FieldPathSelector = 1
)

func (LabelKeySet_FieldPathSelector) String

type LabelKeySet_FieldPathValue

type LabelKeySet_FieldPathValue interface {
	LabelKeySet_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **LabelKeySet)
	CompareWith(*LabelKeySet) (cmp int, comparable bool)
}

LabelKeySet_FieldPathValue allows storing values for LabelKeySet fields according to their type

func MustParseLabelKeySet_FieldPathValue

func MustParseLabelKeySet_FieldPathValue(pathStr, valueStr string) LabelKeySet_FieldPathValue

func ParseLabelKeySet_FieldPathValue

func ParseLabelKeySet_FieldPathValue(pathStr, valueStr string) (LabelKeySet_FieldPathValue, error)

type LabelKeySet_FieldTerminalPath

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

func (*LabelKeySet_FieldTerminalPath) ClearValue

func (fp *LabelKeySet_FieldTerminalPath) ClearValue(item *LabelKeySet)

func (*LabelKeySet_FieldTerminalPath) ClearValueRaw

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

func (*LabelKeySet_FieldTerminalPath) Get

func (fp *LabelKeySet_FieldTerminalPath) Get(source *LabelKeySet) (values []interface{})

Get returns all values pointed by specific field from source LabelKeySet

func (*LabelKeySet_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*LabelKeySet_FieldTerminalPath) GetRaw

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

func (*LabelKeySet_FieldTerminalPath) GetSingle

func (fp *LabelKeySet_FieldTerminalPath) GetSingle(source *LabelKeySet) (interface{}, bool)

GetSingle returns value pointed by specific field of from source LabelKeySet

func (*LabelKeySet_FieldTerminalPath) GetSingleRaw

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

func (*LabelKeySet_FieldTerminalPath) IsLeaf

func (fp *LabelKeySet_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*LabelKeySet_FieldTerminalPath) JSONString

func (fp *LabelKeySet_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*LabelKeySet_FieldTerminalPath) Selector

func (*LabelKeySet_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*LabelKeySet_FieldTerminalPath) String

String returns path representation in proto convention

func (*LabelKeySet_FieldTerminalPath) WithIArrayItemValue

func (fp *LabelKeySet_FieldTerminalPath) WithIArrayItemValue(value interface{}) LabelKeySet_FieldPathArrayItemValue

func (*LabelKeySet_FieldTerminalPath) WithIArrayOfValues

func (fp *LabelKeySet_FieldTerminalPath) WithIArrayOfValues(values interface{}) LabelKeySet_FieldPathArrayOfValues

func (*LabelKeySet_FieldTerminalPath) WithIValue

func (fp *LabelKeySet_FieldTerminalPath) WithIValue(value interface{}) LabelKeySet_FieldPathValue

func (*LabelKeySet_FieldTerminalPath) WithRawIArrayItemValue

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

func (*LabelKeySet_FieldTerminalPath) WithRawIArrayOfValues

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

func (*LabelKeySet_FieldTerminalPath) WithRawIValue

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

type LabelKeySet_FieldTerminalPathArrayItemValue

type LabelKeySet_FieldTerminalPathArrayItemValue struct {
	LabelKeySet_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelKeySet_FieldTerminalPathArrayItemValue) AsLabelKeysItemValue

func (fpaiv *LabelKeySet_FieldTerminalPathArrayItemValue) AsLabelKeysItemValue() (string, bool)

func (*LabelKeySet_FieldTerminalPathArrayItemValue) AsVersionsItemValue

func (fpaiv *LabelKeySet_FieldTerminalPathArrayItemValue) AsVersionsItemValue() (string, bool)

func (*LabelKeySet_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *LabelKeySet_FieldTerminalPathArrayItemValue) ContainsValue(source *LabelKeySet) bool

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

func (*LabelKeySet_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*LabelKeySet_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *LabelKeySet_FieldTerminalPathArrayItemValue) GetSingle(source *LabelKeySet) (interface{}, bool)

func (*LabelKeySet_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type LabelKeySet_FieldTerminalPathArrayOfValues

type LabelKeySet_FieldTerminalPathArrayOfValues struct {
	LabelKeySet_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelKeySet_FieldTerminalPathArrayOfValues) AsLabelKeysArrayOfValues

func (fpaov *LabelKeySet_FieldTerminalPathArrayOfValues) AsLabelKeysArrayOfValues() ([][]string, bool)

func (*LabelKeySet_FieldTerminalPathArrayOfValues) AsVersionsArrayOfValues

func (fpaov *LabelKeySet_FieldTerminalPathArrayOfValues) AsVersionsArrayOfValues() ([][]string, bool)

func (*LabelKeySet_FieldTerminalPathArrayOfValues) GetRawValues

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

type LabelKeySet_FieldTerminalPathValue

type LabelKeySet_FieldTerminalPathValue struct {
	LabelKeySet_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelKeySet_FieldTerminalPathValue) AsLabelKeysValue

func (fpv *LabelKeySet_FieldTerminalPathValue) AsLabelKeysValue() ([]string, bool)

func (*LabelKeySet_FieldTerminalPathValue) AsVersionsValue

func (fpv *LabelKeySet_FieldTerminalPathValue) AsVersionsValue() ([]string, bool)

func (*LabelKeySet_FieldTerminalPathValue) CompareWith

func (fpv *LabelKeySet_FieldTerminalPathValue) CompareWith(source *LabelKeySet) (int, bool)

CompareWith compares value in the 'LabelKeySet_FieldTerminalPathValue' with the value under path in 'LabelKeySet'.

func (*LabelKeySet_FieldTerminalPathValue) CompareWithRaw

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

func (*LabelKeySet_FieldTerminalPathValue) GetRawValue

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

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

func (*LabelKeySet_FieldTerminalPathValue) SetTo

func (fpv *LabelKeySet_FieldTerminalPathValue) SetTo(target **LabelKeySet)

SetTo stores value for selected field for object LabelKeySet

func (*LabelKeySet_FieldTerminalPathValue) SetToRaw

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

type ObjectState

type ObjectState struct {

	// Object data
	Data *any.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" firestore:"data"`
	// Values for all of the labels listed in the associated audited
	// object descriptor - they are extracted from protobuf object
	// and used for filtering
	Labels map[string]string `` /* 172-byte string literal not displayed */
	// contains filtered or unexported fields
}

State of the object - can be resource, request or response.

func (*ObjectState) Clone

func (o *ObjectState) Clone() *ObjectState

func (*ObjectState) CloneRaw

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

func (*ObjectState) Descriptor

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

Deprecated, Use ObjectState.ProtoReflect.Descriptor instead.

func (*ObjectState) GetData

func (m *ObjectState) GetData() *any.Any

func (*ObjectState) GetLabels

func (m *ObjectState) GetLabels() map[string]string

func (*ObjectState) GotenMessage

func (*ObjectState) GotenMessage()

func (*ObjectState) GotenObjectExt

func (o *ObjectState) GotenObjectExt()

func (*ObjectState) GotenValidate

func (obj *ObjectState) GotenValidate() error

func (*ObjectState) MakeDiffFieldMask

func (o *ObjectState) MakeDiffFieldMask(other *ObjectState) *ObjectState_FieldMask

func (*ObjectState) MakeFullFieldMask

func (o *ObjectState) MakeFullFieldMask() *ObjectState_FieldMask

func (*ObjectState) MakeRawDiffFieldMask

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

func (*ObjectState) MakeRawFullFieldMask

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

func (*ObjectState) Marshal

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

func (*ObjectState) MarshalJSON

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

func (*ObjectState) Merge

func (o *ObjectState) Merge(source *ObjectState)

func (*ObjectState) MergeRaw

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

func (*ObjectState) ProtoMessage

func (*ObjectState) ProtoMessage()

func (*ObjectState) ProtoReflect

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

func (*ObjectState) Reset

func (m *ObjectState) Reset()

func (*ObjectState) SetData

func (m *ObjectState) SetData(fv *any.Any)

func (*ObjectState) SetLabels

func (m *ObjectState) SetLabels(fv map[string]string)

func (*ObjectState) String

func (m *ObjectState) String() string

func (*ObjectState) Unmarshal

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

func (*ObjectState) UnmarshalJSON

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

type ObjectStateFieldPathBuilder

type ObjectStateFieldPathBuilder struct{}

func NewObjectStateFieldPathBuilder

func NewObjectStateFieldPathBuilder() ObjectStateFieldPathBuilder

func (ObjectStateFieldPathBuilder) Data

func (ObjectStateFieldPathBuilder) Labels

type ObjectStateMapPathSelectorLabels

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

func (ObjectStateMapPathSelectorLabels) FieldPath

func (ObjectStateMapPathSelectorLabels) WithArrayOfValues

func (ObjectStateMapPathSelectorLabels) WithValue

type ObjectStatePathSelectorData

type ObjectStatePathSelectorData struct{}

func (ObjectStatePathSelectorData) FieldPath

func (ObjectStatePathSelectorData) WithArrayOfValues

func (ObjectStatePathSelectorData) WithValue

type ObjectStatePathSelectorLabels

type ObjectStatePathSelectorLabels struct{}

func (ObjectStatePathSelectorLabels) FieldPath

func (ObjectStatePathSelectorLabels) WithArrayOfValues

func (ObjectStatePathSelectorLabels) WithKey

func (ObjectStatePathSelectorLabels) WithValue

type ObjectState_FieldMask

type ObjectState_FieldMask struct {
	Paths []ObjectState_FieldPath
}

func FullObjectState_FieldMask

func FullObjectState_FieldMask() *ObjectState_FieldMask

func (*ObjectState_FieldMask) AppendPath

func (fieldMask *ObjectState_FieldMask) AppendPath(path ObjectState_FieldPath)

func (*ObjectState_FieldMask) AppendRawPath

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

func (*ObjectState_FieldMask) DecodeFirestore

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

func (*ObjectState_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*ObjectState_FieldMask) FilterInputFields

func (fieldMask *ObjectState_FieldMask) FilterInputFields() *ObjectState_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*ObjectState_FieldMask) FromProtoFieldMask

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

func (*ObjectState_FieldMask) GetPaths

func (fieldMask *ObjectState_FieldMask) GetPaths() []ObjectState_FieldPath

func (*ObjectState_FieldMask) GetRawPaths

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

func (*ObjectState_FieldMask) IsFull

func (fieldMask *ObjectState_FieldMask) IsFull() bool

func (ObjectState_FieldMask) Marshal

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

implement methods required by customType

func (ObjectState_FieldMask) MarshalJSON

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

func (*ObjectState_FieldMask) PathsCount

func (fieldMask *ObjectState_FieldMask) PathsCount() int

func (*ObjectState_FieldMask) Project

func (fieldMask *ObjectState_FieldMask) Project(source *ObjectState) *ObjectState

func (*ObjectState_FieldMask) ProjectRaw

func (*ObjectState_FieldMask) ProtoMessage

func (fieldMask *ObjectState_FieldMask) ProtoMessage()

func (*ObjectState_FieldMask) ProtoReflect

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

func (*ObjectState_FieldMask) Reset

func (fieldMask *ObjectState_FieldMask) Reset()

func (*ObjectState_FieldMask) Set

func (fieldMask *ObjectState_FieldMask) Set(target, source *ObjectState)

func (*ObjectState_FieldMask) SetFromCliFlag

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

func (*ObjectState_FieldMask) SetRaw

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

func (*ObjectState_FieldMask) Size

func (fieldMask *ObjectState_FieldMask) Size() int

func (*ObjectState_FieldMask) String

func (fieldMask *ObjectState_FieldMask) String() string

func (*ObjectState_FieldMask) Subtract

func (*ObjectState_FieldMask) SubtractRaw

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

func (*ObjectState_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*ObjectState_FieldMask) Unmarshal

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

func (*ObjectState_FieldMask) UnmarshalJSON

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

type ObjectState_FieldPath

type ObjectState_FieldPath interface {
	gotenobject.FieldPath
	Selector() ObjectState_FieldPathSelector
	Get(source *ObjectState) []interface{}
	GetSingle(source *ObjectState) (interface{}, bool)
	ClearValue(item *ObjectState)

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

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

func MustParseObjectState_FieldPath

func MustParseObjectState_FieldPath(rawField string) ObjectState_FieldPath

func ParseObjectState_FieldPath

func ParseObjectState_FieldPath(rawField string) (ObjectState_FieldPath, error)

type ObjectState_FieldPathArrayItemValue

type ObjectState_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	ObjectState_FieldPath
	ContainsValue(*ObjectState) bool
}

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

func MustParseObjectState_FieldPathArrayItemValue

func MustParseObjectState_FieldPathArrayItemValue(pathStr, valueStr string) ObjectState_FieldPathArrayItemValue

func ParseObjectState_FieldPathArrayItemValue

func ParseObjectState_FieldPathArrayItemValue(pathStr, valueStr string) (ObjectState_FieldPathArrayItemValue, error)

ParseObjectState_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type ObjectState_FieldPathArrayOfValues

type ObjectState_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	ObjectState_FieldPath
}

ObjectState_FieldPathArrayOfValues allows storing slice of values for ObjectState fields according to their type

func MustParseObjectState_FieldPathArrayOfValues

func MustParseObjectState_FieldPathArrayOfValues(pathStr, valuesStr string) ObjectState_FieldPathArrayOfValues

func ParseObjectState_FieldPathArrayOfValues

func ParseObjectState_FieldPathArrayOfValues(pathStr, valuesStr string) (ObjectState_FieldPathArrayOfValues, error)

type ObjectState_FieldPathMap

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

FieldPath for map type with additional Key information

func (*ObjectState_FieldPathMap) ClearValue

func (fpm *ObjectState_FieldPathMap) ClearValue(item *ObjectState)

func (*ObjectState_FieldPathMap) ClearValueRaw

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

func (*ObjectState_FieldPathMap) Get

func (fpm *ObjectState_FieldPathMap) Get(source *ObjectState) (values []interface{})

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

func (*ObjectState_FieldPathMap) GetDefault

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

GetDefault returns a default value of the field type

func (*ObjectState_FieldPathMap) GetRaw

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

func (*ObjectState_FieldPathMap) GetSingle

func (fpm *ObjectState_FieldPathMap) GetSingle(source *ObjectState) (interface{}, bool)

GetSingle returns value by selected field map key from source ObjectState

func (*ObjectState_FieldPathMap) GetSingleRaw

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

func (*ObjectState_FieldPathMap) IsLeaf

func (fpm *ObjectState_FieldPathMap) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*ObjectState_FieldPathMap) JSONString

func (fpm *ObjectState_FieldPathMap) JSONString() string

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

func (*ObjectState_FieldPathMap) Key

func (fpm *ObjectState_FieldPathMap) Key() string

func (*ObjectState_FieldPathMap) Selector

func (*ObjectState_FieldPathMap) SplitIntoTerminalIPaths added in v0.8.0

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

func (*ObjectState_FieldPathMap) String

func (fpm *ObjectState_FieldPathMap) String() string

String returns path representation in proto convention

func (*ObjectState_FieldPathMap) WithIArrayItemValue

func (fpm *ObjectState_FieldPathMap) WithIArrayItemValue(value interface{}) ObjectState_FieldPathArrayItemValue

func (*ObjectState_FieldPathMap) WithIArrayOfValues

func (fpm *ObjectState_FieldPathMap) WithIArrayOfValues(values interface{}) ObjectState_FieldPathArrayOfValues

func (*ObjectState_FieldPathMap) WithIValue

func (fpm *ObjectState_FieldPathMap) WithIValue(value interface{}) ObjectState_FieldPathValue

func (*ObjectState_FieldPathMap) WithRawIArrayItemValue

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

func (*ObjectState_FieldPathMap) WithRawIArrayOfValues

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

func (*ObjectState_FieldPathMap) WithRawIValue

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

type ObjectState_FieldPathMapArrayOfValues

type ObjectState_FieldPathMapArrayOfValues struct {
	ObjectState_FieldPathMap
	// contains filtered or unexported fields
}

func (*ObjectState_FieldPathMapArrayOfValues) AsLabelsArrayOfElementValues

func (fpmaov *ObjectState_FieldPathMapArrayOfValues) AsLabelsArrayOfElementValues() ([]string, bool)

func (*ObjectState_FieldPathMapArrayOfValues) GetRawValues

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

type ObjectState_FieldPathMapValue

type ObjectState_FieldPathMapValue struct {
	ObjectState_FieldPathMap
	// contains filtered or unexported fields
}

func (*ObjectState_FieldPathMapValue) AsLabelsElementValue

func (fpmv *ObjectState_FieldPathMapValue) AsLabelsElementValue() (string, bool)

func (*ObjectState_FieldPathMapValue) CompareWith

func (fpmv *ObjectState_FieldPathMapValue) CompareWith(source *ObjectState) (int, bool)

CompareWith compares value in the 'ObjectState_FieldPathMapValue' with the value under path in 'ObjectState'.

func (*ObjectState_FieldPathMapValue) CompareWithRaw

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

func (*ObjectState_FieldPathMapValue) GetRawValue

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

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

func (*ObjectState_FieldPathMapValue) SetTo

func (fpmv *ObjectState_FieldPathMapValue) SetTo(target **ObjectState)

SetTo stores value for selected field in ObjectState

func (*ObjectState_FieldPathMapValue) SetToRaw

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

type ObjectState_FieldPathSelector

type ObjectState_FieldPathSelector int32
const (
	ObjectState_FieldPathSelectorData   ObjectState_FieldPathSelector = 0
	ObjectState_FieldPathSelectorLabels ObjectState_FieldPathSelector = 1
)

func (ObjectState_FieldPathSelector) String

type ObjectState_FieldPathValue

type ObjectState_FieldPathValue interface {
	ObjectState_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **ObjectState)
	CompareWith(*ObjectState) (cmp int, comparable bool)
}

ObjectState_FieldPathValue allows storing values for ObjectState fields according to their type

func MustParseObjectState_FieldPathValue

func MustParseObjectState_FieldPathValue(pathStr, valueStr string) ObjectState_FieldPathValue

func ParseObjectState_FieldPathValue

func ParseObjectState_FieldPathValue(pathStr, valueStr string) (ObjectState_FieldPathValue, error)

type ObjectState_FieldTerminalPath

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

func (*ObjectState_FieldTerminalPath) ClearValue

func (fp *ObjectState_FieldTerminalPath) ClearValue(item *ObjectState)

func (*ObjectState_FieldTerminalPath) ClearValueRaw

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

func (*ObjectState_FieldTerminalPath) Get

func (fp *ObjectState_FieldTerminalPath) Get(source *ObjectState) (values []interface{})

Get returns all values pointed by specific field from source ObjectState

func (*ObjectState_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*ObjectState_FieldTerminalPath) GetRaw

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

func (*ObjectState_FieldTerminalPath) GetSingle

func (fp *ObjectState_FieldTerminalPath) GetSingle(source *ObjectState) (interface{}, bool)

GetSingle returns value pointed by specific field of from source ObjectState

func (*ObjectState_FieldTerminalPath) GetSingleRaw

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

func (*ObjectState_FieldTerminalPath) IsLeaf

func (fp *ObjectState_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*ObjectState_FieldTerminalPath) JSONString

func (fp *ObjectState_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*ObjectState_FieldTerminalPath) Selector

func (*ObjectState_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*ObjectState_FieldTerminalPath) String

String returns path representation in proto convention

func (*ObjectState_FieldTerminalPath) WithIArrayItemValue

func (fp *ObjectState_FieldTerminalPath) WithIArrayItemValue(value interface{}) ObjectState_FieldPathArrayItemValue

func (*ObjectState_FieldTerminalPath) WithIArrayOfValues

func (fp *ObjectState_FieldTerminalPath) WithIArrayOfValues(values interface{}) ObjectState_FieldPathArrayOfValues

func (*ObjectState_FieldTerminalPath) WithIValue

func (fp *ObjectState_FieldTerminalPath) WithIValue(value interface{}) ObjectState_FieldPathValue

func (*ObjectState_FieldTerminalPath) WithRawIArrayItemValue

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

func (*ObjectState_FieldTerminalPath) WithRawIArrayOfValues

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

func (*ObjectState_FieldTerminalPath) WithRawIValue

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

type ObjectState_FieldTerminalPathArrayItemValue

type ObjectState_FieldTerminalPathArrayItemValue struct {
	ObjectState_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ObjectState_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *ObjectState_FieldTerminalPathArrayItemValue) ContainsValue(source *ObjectState) bool

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

func (*ObjectState_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*ObjectState_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *ObjectState_FieldTerminalPathArrayItemValue) GetSingle(source *ObjectState) (interface{}, bool)

func (*ObjectState_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type ObjectState_FieldTerminalPathArrayOfValues

type ObjectState_FieldTerminalPathArrayOfValues struct {
	ObjectState_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ObjectState_FieldTerminalPathArrayOfValues) AsDataArrayOfValues

func (fpaov *ObjectState_FieldTerminalPathArrayOfValues) AsDataArrayOfValues() ([]*any.Any, bool)

func (*ObjectState_FieldTerminalPathArrayOfValues) AsLabelsArrayOfValues

func (fpaov *ObjectState_FieldTerminalPathArrayOfValues) AsLabelsArrayOfValues() ([]map[string]string, bool)

func (*ObjectState_FieldTerminalPathArrayOfValues) GetRawValues

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

type ObjectState_FieldTerminalPathValue

type ObjectState_FieldTerminalPathValue struct {
	ObjectState_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ObjectState_FieldTerminalPathValue) AsDataValue

func (fpv *ObjectState_FieldTerminalPathValue) AsDataValue() (*any.Any, bool)

func (*ObjectState_FieldTerminalPathValue) AsLabelsValue

func (fpv *ObjectState_FieldTerminalPathValue) AsLabelsValue() (map[string]string, bool)

func (*ObjectState_FieldTerminalPathValue) CompareWith

func (fpv *ObjectState_FieldTerminalPathValue) CompareWith(source *ObjectState) (int, bool)

CompareWith compares value in the 'ObjectState_FieldTerminalPathValue' with the value under path in 'ObjectState'.

func (*ObjectState_FieldTerminalPathValue) CompareWithRaw

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

func (*ObjectState_FieldTerminalPathValue) GetRawValue

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

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

func (*ObjectState_FieldTerminalPathValue) SetTo

func (fpv *ObjectState_FieldTerminalPathValue) SetTo(target **ObjectState)

SetTo stores value for selected field for object ObjectState

func (*ObjectState_FieldTerminalPathValue) SetToRaw

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

type ServiceData

type ServiceData struct {

	// Fully qualified service name executing a request
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// contains filtered or unexported fields
}

Information about service processing a request

func (*ServiceData) Clone

func (o *ServiceData) Clone() *ServiceData

func (*ServiceData) CloneRaw

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

func (*ServiceData) Descriptor

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

Deprecated, Use ServiceData.ProtoReflect.Descriptor instead.

func (*ServiceData) GetName

func (m *ServiceData) GetName() string

func (*ServiceData) GotenMessage

func (*ServiceData) GotenMessage()

func (*ServiceData) GotenObjectExt

func (o *ServiceData) GotenObjectExt()

func (*ServiceData) GotenValidate

func (obj *ServiceData) GotenValidate() error

func (*ServiceData) MakeDiffFieldMask

func (o *ServiceData) MakeDiffFieldMask(other *ServiceData) *ServiceData_FieldMask

func (*ServiceData) MakeFullFieldMask

func (o *ServiceData) MakeFullFieldMask() *ServiceData_FieldMask

func (*ServiceData) MakeRawDiffFieldMask

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

func (*ServiceData) MakeRawFullFieldMask

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

func (*ServiceData) Marshal

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

func (*ServiceData) MarshalJSON

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

func (*ServiceData) Merge

func (o *ServiceData) Merge(source *ServiceData)

func (*ServiceData) MergeRaw

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

func (*ServiceData) ProtoMessage

func (*ServiceData) ProtoMessage()

func (*ServiceData) ProtoReflect

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

func (*ServiceData) Reset

func (m *ServiceData) Reset()

func (*ServiceData) SetName

func (m *ServiceData) SetName(fv string)

func (*ServiceData) String

func (m *ServiceData) String() string

func (*ServiceData) Unmarshal

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

func (*ServiceData) UnmarshalJSON

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

type ServiceDataFieldPathBuilder

type ServiceDataFieldPathBuilder struct{}

func NewServiceDataFieldPathBuilder

func NewServiceDataFieldPathBuilder() ServiceDataFieldPathBuilder

func (ServiceDataFieldPathBuilder) Name

type ServiceDataPathSelectorName

type ServiceDataPathSelectorName struct{}

func (ServiceDataPathSelectorName) FieldPath

func (ServiceDataPathSelectorName) WithArrayOfValues

func (ServiceDataPathSelectorName) WithValue

type ServiceData_FieldMask

type ServiceData_FieldMask struct {
	Paths []ServiceData_FieldPath
}

func FullServiceData_FieldMask

func FullServiceData_FieldMask() *ServiceData_FieldMask

func (*ServiceData_FieldMask) AppendPath

func (fieldMask *ServiceData_FieldMask) AppendPath(path ServiceData_FieldPath)

func (*ServiceData_FieldMask) AppendRawPath

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

func (*ServiceData_FieldMask) DecodeFirestore

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

func (*ServiceData_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*ServiceData_FieldMask) FilterInputFields

func (fieldMask *ServiceData_FieldMask) FilterInputFields() *ServiceData_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*ServiceData_FieldMask) FromProtoFieldMask

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

func (*ServiceData_FieldMask) GetPaths

func (fieldMask *ServiceData_FieldMask) GetPaths() []ServiceData_FieldPath

func (*ServiceData_FieldMask) GetRawPaths

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

func (*ServiceData_FieldMask) IsFull

func (fieldMask *ServiceData_FieldMask) IsFull() bool

func (ServiceData_FieldMask) Marshal

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

implement methods required by customType

func (ServiceData_FieldMask) MarshalJSON

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

func (*ServiceData_FieldMask) PathsCount

func (fieldMask *ServiceData_FieldMask) PathsCount() int

func (*ServiceData_FieldMask) Project

func (fieldMask *ServiceData_FieldMask) Project(source *ServiceData) *ServiceData

func (*ServiceData_FieldMask) ProjectRaw

func (*ServiceData_FieldMask) ProtoMessage

func (fieldMask *ServiceData_FieldMask) ProtoMessage()

func (*ServiceData_FieldMask) ProtoReflect

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

func (*ServiceData_FieldMask) Reset

func (fieldMask *ServiceData_FieldMask) Reset()

func (*ServiceData_FieldMask) Set

func (fieldMask *ServiceData_FieldMask) Set(target, source *ServiceData)

func (*ServiceData_FieldMask) SetFromCliFlag

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

func (*ServiceData_FieldMask) SetRaw

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

func (*ServiceData_FieldMask) Size

func (fieldMask *ServiceData_FieldMask) Size() int

func (*ServiceData_FieldMask) String

func (fieldMask *ServiceData_FieldMask) String() string

func (*ServiceData_FieldMask) Subtract

func (*ServiceData_FieldMask) SubtractRaw

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

func (*ServiceData_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*ServiceData_FieldMask) Unmarshal

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

func (*ServiceData_FieldMask) UnmarshalJSON

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

type ServiceData_FieldPath

type ServiceData_FieldPath interface {
	gotenobject.FieldPath
	Selector() ServiceData_FieldPathSelector
	Get(source *ServiceData) []interface{}
	GetSingle(source *ServiceData) (interface{}, bool)
	ClearValue(item *ServiceData)

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

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

func MustParseServiceData_FieldPath

func MustParseServiceData_FieldPath(rawField string) ServiceData_FieldPath

func ParseServiceData_FieldPath

func ParseServiceData_FieldPath(rawField string) (ServiceData_FieldPath, error)

type ServiceData_FieldPathArrayItemValue

type ServiceData_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	ServiceData_FieldPath
	ContainsValue(*ServiceData) bool
}

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

func MustParseServiceData_FieldPathArrayItemValue

func MustParseServiceData_FieldPathArrayItemValue(pathStr, valueStr string) ServiceData_FieldPathArrayItemValue

func ParseServiceData_FieldPathArrayItemValue

func ParseServiceData_FieldPathArrayItemValue(pathStr, valueStr string) (ServiceData_FieldPathArrayItemValue, error)

ParseServiceData_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type ServiceData_FieldPathArrayOfValues

type ServiceData_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	ServiceData_FieldPath
}

ServiceData_FieldPathArrayOfValues allows storing slice of values for ServiceData fields according to their type

func MustParseServiceData_FieldPathArrayOfValues

func MustParseServiceData_FieldPathArrayOfValues(pathStr, valuesStr string) ServiceData_FieldPathArrayOfValues

func ParseServiceData_FieldPathArrayOfValues

func ParseServiceData_FieldPathArrayOfValues(pathStr, valuesStr string) (ServiceData_FieldPathArrayOfValues, error)

type ServiceData_FieldPathSelector

type ServiceData_FieldPathSelector int32
const (
	ServiceData_FieldPathSelectorName ServiceData_FieldPathSelector = 0
)

func (ServiceData_FieldPathSelector) String

type ServiceData_FieldPathValue

type ServiceData_FieldPathValue interface {
	ServiceData_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **ServiceData)
	CompareWith(*ServiceData) (cmp int, comparable bool)
}

ServiceData_FieldPathValue allows storing values for ServiceData fields according to their type

func MustParseServiceData_FieldPathValue

func MustParseServiceData_FieldPathValue(pathStr, valueStr string) ServiceData_FieldPathValue

func ParseServiceData_FieldPathValue

func ParseServiceData_FieldPathValue(pathStr, valueStr string) (ServiceData_FieldPathValue, error)

type ServiceData_FieldTerminalPath

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

func (*ServiceData_FieldTerminalPath) ClearValue

func (fp *ServiceData_FieldTerminalPath) ClearValue(item *ServiceData)

func (*ServiceData_FieldTerminalPath) ClearValueRaw

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

func (*ServiceData_FieldTerminalPath) Get

func (fp *ServiceData_FieldTerminalPath) Get(source *ServiceData) (values []interface{})

Get returns all values pointed by specific field from source ServiceData

func (*ServiceData_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*ServiceData_FieldTerminalPath) GetRaw

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

func (*ServiceData_FieldTerminalPath) GetSingle

func (fp *ServiceData_FieldTerminalPath) GetSingle(source *ServiceData) (interface{}, bool)

GetSingle returns value pointed by specific field of from source ServiceData

func (*ServiceData_FieldTerminalPath) GetSingleRaw

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

func (*ServiceData_FieldTerminalPath) IsLeaf

func (fp *ServiceData_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*ServiceData_FieldTerminalPath) JSONString

func (fp *ServiceData_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*ServiceData_FieldTerminalPath) Selector

func (*ServiceData_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*ServiceData_FieldTerminalPath) String

String returns path representation in proto convention

func (*ServiceData_FieldTerminalPath) WithIArrayItemValue

func (fp *ServiceData_FieldTerminalPath) WithIArrayItemValue(value interface{}) ServiceData_FieldPathArrayItemValue

func (*ServiceData_FieldTerminalPath) WithIArrayOfValues

func (fp *ServiceData_FieldTerminalPath) WithIArrayOfValues(values interface{}) ServiceData_FieldPathArrayOfValues

func (*ServiceData_FieldTerminalPath) WithIValue

func (fp *ServiceData_FieldTerminalPath) WithIValue(value interface{}) ServiceData_FieldPathValue

func (*ServiceData_FieldTerminalPath) WithRawIArrayItemValue

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

func (*ServiceData_FieldTerminalPath) WithRawIArrayOfValues

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

func (*ServiceData_FieldTerminalPath) WithRawIValue

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

type ServiceData_FieldTerminalPathArrayItemValue

type ServiceData_FieldTerminalPathArrayItemValue struct {
	ServiceData_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServiceData_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *ServiceData_FieldTerminalPathArrayItemValue) ContainsValue(source *ServiceData) bool

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

func (*ServiceData_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*ServiceData_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *ServiceData_FieldTerminalPathArrayItemValue) GetSingle(source *ServiceData) (interface{}, bool)

func (*ServiceData_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type ServiceData_FieldTerminalPathArrayOfValues

type ServiceData_FieldTerminalPathArrayOfValues struct {
	ServiceData_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServiceData_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

func (fpaov *ServiceData_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]string, bool)

func (*ServiceData_FieldTerminalPathArrayOfValues) GetRawValues

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

type ServiceData_FieldTerminalPathValue

type ServiceData_FieldTerminalPathValue struct {
	ServiceData_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServiceData_FieldTerminalPathValue) AsNameValue

func (fpv *ServiceData_FieldTerminalPathValue) AsNameValue() (string, bool)

func (*ServiceData_FieldTerminalPathValue) CompareWith

func (fpv *ServiceData_FieldTerminalPathValue) CompareWith(source *ServiceData) (int, bool)

CompareWith compares value in the 'ServiceData_FieldTerminalPathValue' with the value under path in 'ServiceData'.

func (*ServiceData_FieldTerminalPathValue) CompareWithRaw

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

func (*ServiceData_FieldTerminalPathValue) GetRawValue

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

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

func (*ServiceData_FieldTerminalPathValue) SetTo

func (fpv *ServiceData_FieldTerminalPathValue) SetTo(target **ServiceData)

SetTo stores value for selected field for object ServiceData

func (*ServiceData_FieldTerminalPathValue) SetToRaw

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

type TimeInterval

type TimeInterval struct {

	// Optional - end of the time interval. If not provided, current
	// time will be assumed.
	EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" firestore:"endTime"`
	// Required. The beginning of the time interval. The start time must not be
	// later than the end time.
	StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" firestore:"startTime"`
	// contains filtered or unexported fields
}

A time interval extending just after a start time through an end time. If the start time is the same as the end time, then the interval represents a single point in time.

func (*TimeInterval) Clone

func (o *TimeInterval) Clone() *TimeInterval

func (*TimeInterval) CloneRaw

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

func (*TimeInterval) Descriptor

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

Deprecated, Use TimeInterval.ProtoReflect.Descriptor instead.

func (*TimeInterval) GetEndTime

func (m *TimeInterval) GetEndTime() *timestamp.Timestamp

func (*TimeInterval) GetStartTime

func (m *TimeInterval) GetStartTime() *timestamp.Timestamp

func (*TimeInterval) GotenMessage

func (*TimeInterval) GotenMessage()

func (*TimeInterval) GotenObjectExt

func (o *TimeInterval) GotenObjectExt()

func (*TimeInterval) GotenValidate

func (obj *TimeInterval) GotenValidate() error

func (*TimeInterval) MakeDiffFieldMask

func (o *TimeInterval) MakeDiffFieldMask(other *TimeInterval) *TimeInterval_FieldMask

func (*TimeInterval) MakeFullFieldMask

func (o *TimeInterval) MakeFullFieldMask() *TimeInterval_FieldMask

func (*TimeInterval) MakeRawDiffFieldMask

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

func (*TimeInterval) MakeRawFullFieldMask

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

func (*TimeInterval) Marshal

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

func (*TimeInterval) MarshalJSON

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

func (*TimeInterval) Merge

func (o *TimeInterval) Merge(source *TimeInterval)

func (*TimeInterval) MergeRaw

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

func (*TimeInterval) ProtoMessage

func (*TimeInterval) ProtoMessage()

func (*TimeInterval) ProtoReflect

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

func (*TimeInterval) Reset

func (m *TimeInterval) Reset()

func (*TimeInterval) SetEndTime

func (m *TimeInterval) SetEndTime(fv *timestamp.Timestamp)

func (*TimeInterval) SetStartTime

func (m *TimeInterval) SetStartTime(fv *timestamp.Timestamp)

func (*TimeInterval) String

func (m *TimeInterval) String() string

func (*TimeInterval) Unmarshal

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

func (*TimeInterval) UnmarshalJSON

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

type TimeIntervalFieldPathBuilder

type TimeIntervalFieldPathBuilder struct{}

func NewTimeIntervalFieldPathBuilder

func NewTimeIntervalFieldPathBuilder() TimeIntervalFieldPathBuilder

func (TimeIntervalFieldPathBuilder) EndTime

func (TimeIntervalFieldPathBuilder) StartTime

type TimeIntervalPathSelectorEndTime

type TimeIntervalPathSelectorEndTime struct{}

func (TimeIntervalPathSelectorEndTime) FieldPath

func (TimeIntervalPathSelectorEndTime) WithArrayOfValues

func (TimeIntervalPathSelectorEndTime) WithValue

type TimeIntervalPathSelectorStartTime

type TimeIntervalPathSelectorStartTime struct{}

func (TimeIntervalPathSelectorStartTime) FieldPath

func (TimeIntervalPathSelectorStartTime) WithArrayOfValues

func (TimeIntervalPathSelectorStartTime) WithValue

type TimeInterval_FieldMask

type TimeInterval_FieldMask struct {
	Paths []TimeInterval_FieldPath
}

func FullTimeInterval_FieldMask

func FullTimeInterval_FieldMask() *TimeInterval_FieldMask

func (*TimeInterval_FieldMask) AppendPath

func (fieldMask *TimeInterval_FieldMask) AppendPath(path TimeInterval_FieldPath)

func (*TimeInterval_FieldMask) AppendRawPath

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

func (*TimeInterval_FieldMask) DecodeFirestore

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

func (*TimeInterval_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*TimeInterval_FieldMask) FilterInputFields

func (fieldMask *TimeInterval_FieldMask) FilterInputFields() *TimeInterval_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*TimeInterval_FieldMask) FromProtoFieldMask

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

func (*TimeInterval_FieldMask) GetPaths

func (fieldMask *TimeInterval_FieldMask) GetPaths() []TimeInterval_FieldPath

func (*TimeInterval_FieldMask) GetRawPaths

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

func (*TimeInterval_FieldMask) IsFull

func (fieldMask *TimeInterval_FieldMask) IsFull() bool

func (TimeInterval_FieldMask) Marshal

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

implement methods required by customType

func (TimeInterval_FieldMask) MarshalJSON

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

func (*TimeInterval_FieldMask) PathsCount

func (fieldMask *TimeInterval_FieldMask) PathsCount() int

func (*TimeInterval_FieldMask) Project

func (fieldMask *TimeInterval_FieldMask) Project(source *TimeInterval) *TimeInterval

func (*TimeInterval_FieldMask) ProjectRaw

func (*TimeInterval_FieldMask) ProtoMessage

func (fieldMask *TimeInterval_FieldMask) ProtoMessage()

func (*TimeInterval_FieldMask) ProtoReflect

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

func (*TimeInterval_FieldMask) Reset

func (fieldMask *TimeInterval_FieldMask) Reset()

func (*TimeInterval_FieldMask) Set

func (fieldMask *TimeInterval_FieldMask) Set(target, source *TimeInterval)

func (*TimeInterval_FieldMask) SetFromCliFlag

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

func (*TimeInterval_FieldMask) SetRaw

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

func (*TimeInterval_FieldMask) Size

func (fieldMask *TimeInterval_FieldMask) Size() int

func (*TimeInterval_FieldMask) String

func (fieldMask *TimeInterval_FieldMask) String() string

func (*TimeInterval_FieldMask) Subtract

func (*TimeInterval_FieldMask) SubtractRaw

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

func (*TimeInterval_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*TimeInterval_FieldMask) Unmarshal

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

func (*TimeInterval_FieldMask) UnmarshalJSON

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

type TimeInterval_FieldPath

type TimeInterval_FieldPath interface {
	gotenobject.FieldPath
	Selector() TimeInterval_FieldPathSelector
	Get(source *TimeInterval) []interface{}
	GetSingle(source *TimeInterval) (interface{}, bool)
	ClearValue(item *TimeInterval)

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

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

func MustParseTimeInterval_FieldPath

func MustParseTimeInterval_FieldPath(rawField string) TimeInterval_FieldPath

func ParseTimeInterval_FieldPath

func ParseTimeInterval_FieldPath(rawField string) (TimeInterval_FieldPath, error)

type TimeInterval_FieldPathArrayItemValue

type TimeInterval_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	TimeInterval_FieldPath
	ContainsValue(*TimeInterval) bool
}

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

func MustParseTimeInterval_FieldPathArrayItemValue

func MustParseTimeInterval_FieldPathArrayItemValue(pathStr, valueStr string) TimeInterval_FieldPathArrayItemValue

func ParseTimeInterval_FieldPathArrayItemValue

func ParseTimeInterval_FieldPathArrayItemValue(pathStr, valueStr string) (TimeInterval_FieldPathArrayItemValue, error)

ParseTimeInterval_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type TimeInterval_FieldPathArrayOfValues

type TimeInterval_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	TimeInterval_FieldPath
}

TimeInterval_FieldPathArrayOfValues allows storing slice of values for TimeInterval fields according to their type

func MustParseTimeInterval_FieldPathArrayOfValues

func MustParseTimeInterval_FieldPathArrayOfValues(pathStr, valuesStr string) TimeInterval_FieldPathArrayOfValues

func ParseTimeInterval_FieldPathArrayOfValues

func ParseTimeInterval_FieldPathArrayOfValues(pathStr, valuesStr string) (TimeInterval_FieldPathArrayOfValues, error)

type TimeInterval_FieldPathSelector

type TimeInterval_FieldPathSelector int32
const (
	TimeInterval_FieldPathSelectorEndTime   TimeInterval_FieldPathSelector = 0
	TimeInterval_FieldPathSelectorStartTime TimeInterval_FieldPathSelector = 1
)

func (TimeInterval_FieldPathSelector) String

type TimeInterval_FieldPathValue

type TimeInterval_FieldPathValue interface {
	TimeInterval_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **TimeInterval)
	CompareWith(*TimeInterval) (cmp int, comparable bool)
}

TimeInterval_FieldPathValue allows storing values for TimeInterval fields according to their type

func MustParseTimeInterval_FieldPathValue

func MustParseTimeInterval_FieldPathValue(pathStr, valueStr string) TimeInterval_FieldPathValue

func ParseTimeInterval_FieldPathValue

func ParseTimeInterval_FieldPathValue(pathStr, valueStr string) (TimeInterval_FieldPathValue, error)

type TimeInterval_FieldTerminalPath

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

func (*TimeInterval_FieldTerminalPath) ClearValue

func (fp *TimeInterval_FieldTerminalPath) ClearValue(item *TimeInterval)

func (*TimeInterval_FieldTerminalPath) ClearValueRaw

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

func (*TimeInterval_FieldTerminalPath) Get

func (fp *TimeInterval_FieldTerminalPath) Get(source *TimeInterval) (values []interface{})

Get returns all values pointed by specific field from source TimeInterval

func (*TimeInterval_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*TimeInterval_FieldTerminalPath) GetRaw

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

func (*TimeInterval_FieldTerminalPath) GetSingle

func (fp *TimeInterval_FieldTerminalPath) GetSingle(source *TimeInterval) (interface{}, bool)

GetSingle returns value pointed by specific field of from source TimeInterval

func (*TimeInterval_FieldTerminalPath) GetSingleRaw

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

func (*TimeInterval_FieldTerminalPath) IsLeaf

func (fp *TimeInterval_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*TimeInterval_FieldTerminalPath) JSONString

func (fp *TimeInterval_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*TimeInterval_FieldTerminalPath) Selector

func (*TimeInterval_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*TimeInterval_FieldTerminalPath) String

String returns path representation in proto convention

func (*TimeInterval_FieldTerminalPath) WithIArrayItemValue

func (fp *TimeInterval_FieldTerminalPath) WithIArrayItemValue(value interface{}) TimeInterval_FieldPathArrayItemValue

func (*TimeInterval_FieldTerminalPath) WithIArrayOfValues

func (fp *TimeInterval_FieldTerminalPath) WithIArrayOfValues(values interface{}) TimeInterval_FieldPathArrayOfValues

func (*TimeInterval_FieldTerminalPath) WithIValue

func (fp *TimeInterval_FieldTerminalPath) WithIValue(value interface{}) TimeInterval_FieldPathValue

func (*TimeInterval_FieldTerminalPath) WithRawIArrayItemValue

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

func (*TimeInterval_FieldTerminalPath) WithRawIArrayOfValues

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

func (*TimeInterval_FieldTerminalPath) WithRawIValue

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

type TimeInterval_FieldTerminalPathArrayItemValue

type TimeInterval_FieldTerminalPathArrayItemValue struct {
	TimeInterval_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*TimeInterval_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *TimeInterval_FieldTerminalPathArrayItemValue) ContainsValue(source *TimeInterval) bool

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

func (*TimeInterval_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*TimeInterval_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *TimeInterval_FieldTerminalPathArrayItemValue) GetSingle(source *TimeInterval) (interface{}, bool)

func (*TimeInterval_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type TimeInterval_FieldTerminalPathArrayOfValues

type TimeInterval_FieldTerminalPathArrayOfValues struct {
	TimeInterval_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*TimeInterval_FieldTerminalPathArrayOfValues) AsEndTimeArrayOfValues

func (fpaov *TimeInterval_FieldTerminalPathArrayOfValues) AsEndTimeArrayOfValues() ([]*timestamp.Timestamp, bool)

func (*TimeInterval_FieldTerminalPathArrayOfValues) AsStartTimeArrayOfValues

func (fpaov *TimeInterval_FieldTerminalPathArrayOfValues) AsStartTimeArrayOfValues() ([]*timestamp.Timestamp, bool)

func (*TimeInterval_FieldTerminalPathArrayOfValues) GetRawValues

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

type TimeInterval_FieldTerminalPathValue

type TimeInterval_FieldTerminalPathValue struct {
	TimeInterval_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*TimeInterval_FieldTerminalPathValue) AsEndTimeValue

func (fpv *TimeInterval_FieldTerminalPathValue) AsEndTimeValue() (*timestamp.Timestamp, bool)

func (*TimeInterval_FieldTerminalPathValue) AsStartTimeValue

func (fpv *TimeInterval_FieldTerminalPathValue) AsStartTimeValue() (*timestamp.Timestamp, bool)

func (*TimeInterval_FieldTerminalPathValue) CompareWith

func (fpv *TimeInterval_FieldTerminalPathValue) CompareWith(source *TimeInterval) (int, bool)

CompareWith compares value in the 'TimeInterval_FieldTerminalPathValue' with the value under path in 'TimeInterval'.

func (*TimeInterval_FieldTerminalPathValue) CompareWithRaw

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

func (*TimeInterval_FieldTerminalPathValue) GetRawValue

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

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

func (*TimeInterval_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object TimeInterval

func (*TimeInterval_FieldTerminalPathValue) SetToRaw

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

Jump to

Keyboard shortcuts

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