log_descriptor

package
v1.2.16 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Project      = "projects/{project}/logDescriptors/{log_descriptor}"
	NamePattern_Organization = "organizations/{organization}/logDescriptors/{log_descriptor}"
	NamePattern_Service      = "services/{service}/logDescriptors/{log_descriptor}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access LogDescriptorAccess) gotenresource.Access

Types

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) CanBeParentless

func (d *Descriptor) CanBeParentless() bool

func (*Descriptor) GetNameDescriptor

func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor

func (*Descriptor) GetParentResDescriptors

func (d *Descriptor) GetParentResDescriptors() []gotenresource.Descriptor

func (*Descriptor) GetResourceTypeName

func (d *Descriptor) GetResourceTypeName() *gotenresource.TypeName

func (*Descriptor) NewGetQuery

func (d *Descriptor) NewGetQuery() gotenresource.GetQuery

func (*Descriptor) NewListQuery

func (d *Descriptor) NewListQuery() gotenresource.ListQuery

func (*Descriptor) NewNameList

func (d *Descriptor) NewNameList(size, reserved int) gotenresource.NameList

func (*Descriptor) NewParentNameList

func (d *Descriptor) NewParentNameList(size, reserved int) gotenresource.ParentNameList

func (*Descriptor) NewParentReferenceList

func (d *Descriptor) NewParentReferenceList(size, reserved int) gotenresource.ParentReferenceList

func (*Descriptor) NewQueryResultChange

func (d *Descriptor) NewQueryResultChange() gotenresource.QueryResultChange

func (*Descriptor) NewQueryResultSnapshot

func (d *Descriptor) NewQueryResultSnapshot() gotenresource.QueryResultSnapshot

func (*Descriptor) NewReferenceList

func (d *Descriptor) NewReferenceList(size, reserved int) gotenresource.ReferenceList

func (*Descriptor) NewResource

func (d *Descriptor) NewResource() gotenresource.Resource

func (*Descriptor) NewResourceChange

func (d *Descriptor) NewResourceChange() gotenresource.ResourceChange

func (*Descriptor) NewResourceChangeList

func (d *Descriptor) NewResourceChangeList(size, reserved int) gotenresource.ResourceChangeList

func (*Descriptor) NewResourceChangeMap

func (d *Descriptor) NewResourceChangeMap(reserved int) gotenresource.ResourceChangeMap

func (*Descriptor) NewResourceCursor

func (d *Descriptor) NewResourceCursor() gotenresource.Cursor

func (*Descriptor) NewResourceFieldMask

func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask

func (*Descriptor) NewResourceFilter

func (d *Descriptor) NewResourceFilter() gotenresource.Filter

func (*Descriptor) NewResourceList

func (d *Descriptor) NewResourceList(size, reserved int) gotenresource.ResourceList

func (*Descriptor) NewResourceMap

func (d *Descriptor) NewResourceMap(reserved int) gotenresource.ResourceMap

func (*Descriptor) NewResourceName

func (d *Descriptor) NewResourceName() gotenresource.Name

func (*Descriptor) NewResourceOrderBy

func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy

func (*Descriptor) NewResourcePager

func (d *Descriptor) NewResourcePager() gotenresource.PagerQuery

func (*Descriptor) NewSearchQuery

func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery

func (*Descriptor) NewWatchQuery

func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery

func (*Descriptor) ParseFieldPath

func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)

func (*Descriptor) ParseResourceName

func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)

func (*Descriptor) SupportsMetadata

func (d *Descriptor) SupportsMetadata() bool

type Filter

type Filter struct {
	FilterCondition
}

func (*Filter) ConvertToNative

func (filter *Filter) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*Filter) ConvertToType

func (filter *Filter) ConvertToType(typeVal ref.Type) ref.Val

func (*Filter) DecodeFirestore

func (filter *Filter) DecodeFirestore(fpbv *firestorepb.Value) error

func (*Filter) EncodeFirestore

func (filter *Filter) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*Filter) Equal

func (filter *Filter) Equal(other ref.Val) ref.Val

func (*Filter) Evaluate

func (filter *Filter) Evaluate(res *LogDescriptor) bool

Evaluate is a wrapper on FilterCondition, which also handles nil pointer

func (*Filter) EvaluateRaw

func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool

func (*Filter) FilterSlice

func (filter *Filter) FilterSlice(in []*LogDescriptor) (out []*LogDescriptor)

FilterSlice is a helper for filtering arrays

func (*Filter) GetCondition

func (filter *Filter) GetCondition() FilterCondition

GetCondition is a getter of FilterCondition, which also handles nil pointer

func (*Filter) GetRawCondition

func (filter *Filter) GetRawCondition() gotenresource.FilterCondition

func (*Filter) HasTrait

func (filter *Filter) HasTrait(trait int) bool

func (*Filter) Match

func (filter *Filter) Match(pattern ref.Val) ref.Val

func (*Filter) ParseProtoString

func (filter *Filter) ParseProtoString(data string) error

func (*Filter) ProtoString

func (filter *Filter) ProtoString() (string, error)

func (*Filter) Receive

func (filter *Filter) Receive(function string, overload string, args []ref.Val) ref.Val

func (*Filter) SetFromCliFlag

func (filter *Filter) SetFromCliFlag(raw string) error

func (*Filter) String

func (filter *Filter) String() string

func (*Filter) Type

func (filter *Filter) Type() ref.Type

func (*Filter) TypeName

func (filter *Filter) TypeName() string

func (*Filter) Value

func (filter *Filter) Value() interface{}

type FilterBuilder

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

func NewAndFilterBuilder

func NewAndFilterBuilder() *FilterBuilder

func NewFilterBuilder

func NewFilterBuilder() *FilterBuilder

func NewOrFilterBuilder

func NewOrFilterBuilder() *FilterBuilder

func (*FilterBuilder) Filter

func (b *FilterBuilder) Filter() *Filter

func (*FilterBuilder) Where

func (b *FilterBuilder) Where(opts ...gotenfilter.FilterConditionOption) *filterCndBuilder

func (*FilterBuilder) WherePath

func (b *FilterBuilder) WherePath(fp LogDescriptor_FieldPath, opts ...gotenfilter.FilterConditionOption) *filterCndBuilderAnyPath

func (*FilterBuilder) With

type FilterBuilderOrCondition

type FilterBuilderOrCondition interface {
	// contains filtered or unexported methods
}

type FilterCondition

type FilterCondition interface {
	gotenresource.FilterCondition

	And(...FilterCondition) FilterCondition
	Evaluate(res *LogDescriptor) bool

	// Whether this condition is at least as specific as other.
	// When true, any LogDescriptor that passes this condition will also pass other condition.
	Satisfies(other FilterCondition) bool

	// Checks whether condition specifies given field path
	// Useful for blacklisting protected paths in iam policy conditions
	SpecifiesFieldPath(fp LogDescriptor_FieldPath) bool
	// contains filtered or unexported methods
}

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	LogDescriptor_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *LogDescriptor) bool

func (*FilterConditionCompare) EvaluateRaw

func (cond *FilterConditionCompare) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionCompare) GetOperator

func (*FilterConditionCompare) GetRawFieldPath

func (cond *FilterConditionCompare) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionCompare) GetRawFieldPathValue

func (cond *FilterConditionCompare) GetRawFieldPathValue() gotenobject.FieldPathValue

func (*FilterConditionCompare) Satisfies

func (cond *FilterConditionCompare) Satisfies(other FilterCondition) bool

func (*FilterConditionCompare) SatisfiesRaw

func (cond *FilterConditionCompare) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionCompare) SpecifiesFieldPath

func (cond *FilterConditionCompare) SpecifiesFieldPath(fp LogDescriptor_FieldPath) bool

func (*FilterConditionCompare) SpecifiesRawFieldPath

func (cond *FilterConditionCompare) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionCompare) String

func (cond *FilterConditionCompare) String() string

type FilterConditionComposite

type FilterConditionComposite struct {
	Operator   filterParser.CompositeOperator
	Conditions []FilterCondition
}

func (*FilterConditionComposite) And

func (*FilterConditionComposite) ConditionComposite

func (cond *FilterConditionComposite) ConditionComposite()

func (*FilterConditionComposite) Evaluate

func (cond *FilterConditionComposite) Evaluate(res *LogDescriptor) bool

func (*FilterConditionComposite) EvaluateRaw

func (cond *FilterConditionComposite) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionComposite) GetOperator

func (*FilterConditionComposite) GetSubConditions

func (cond *FilterConditionComposite) GetSubConditions() []gotenresource.FilterCondition

func (*FilterConditionComposite) Satisfies

func (cond *FilterConditionComposite) Satisfies(other FilterCondition) bool

func (*FilterConditionComposite) SatisfiesRaw

func (cond *FilterConditionComposite) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionComposite) SpecifiesFieldPath

func (cond *FilterConditionComposite) SpecifiesFieldPath(fp LogDescriptor_FieldPath) bool

func (*FilterConditionComposite) SpecifiesRawFieldPath

func (cond *FilterConditionComposite) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionComposite) String

func (cond *FilterConditionComposite) String() string

type FilterConditionContains

func (*FilterConditionContains) And

func (*FilterConditionContains) ConditionContains

func (cond *FilterConditionContains) ConditionContains()

func (*FilterConditionContains) ConditionContainsType

func (cond *FilterConditionContains) ConditionContainsType() gotenresource.ConditionContainsType

func (*FilterConditionContains) Evaluate

func (cond *FilterConditionContains) Evaluate(res *LogDescriptor) bool

func (*FilterConditionContains) EvaluateRaw

func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionContains) GetFieldPath

func (cond *FilterConditionContains) GetFieldPath() LogDescriptor_FieldPath

func (*FilterConditionContains) GetRawFieldPath

func (cond *FilterConditionContains) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionContains) GetRawFieldPathItemValue

func (cond *FilterConditionContains) GetRawFieldPathItemValue() gotenobject.FieldPathArrayItemValue

func (*FilterConditionContains) GetRawFieldPathItemValues

func (cond *FilterConditionContains) GetRawFieldPathItemValues() (res []gotenobject.FieldPathArrayItemValue)

func (*FilterConditionContains) Satisfies

func (cond *FilterConditionContains) Satisfies(other FilterCondition) bool

func (*FilterConditionContains) SatisfiesRaw

func (cond *FilterConditionContains) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionContains) SpecifiesFieldPath

func (cond *FilterConditionContains) SpecifiesFieldPath(fp LogDescriptor_FieldPath) bool

func (*FilterConditionContains) SpecifiesRawFieldPath

func (cond *FilterConditionContains) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionContains) String

func (cond *FilterConditionContains) String() string

type FilterConditionIn

type FilterConditionIn struct {
	LogDescriptor_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *LogDescriptor) bool

func (*FilterConditionIn) EvaluateRaw

func (cond *FilterConditionIn) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionIn) GetRawFieldPath

func (cond *FilterConditionIn) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionIn) GetRawFieldPathArrayOfValues

func (cond *FilterConditionIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues

func (*FilterConditionIn) Satisfies

func (cond *FilterConditionIn) Satisfies(other FilterCondition) bool

func (*FilterConditionIn) SatisfiesRaw

func (cond *FilterConditionIn) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionIn) SpecifiesFieldPath

func (cond *FilterConditionIn) SpecifiesFieldPath(fp LogDescriptor_FieldPath) bool

func (*FilterConditionIn) SpecifiesRawFieldPath

func (cond *FilterConditionIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionIn) String

func (cond *FilterConditionIn) String() string

type FilterConditionIsNaN

type FilterConditionIsNaN struct {
	Not       bool
	FieldPath LogDescriptor_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *LogDescriptor) bool

func (*FilterConditionIsNaN) EvaluateRaw

func (cond *FilterConditionIsNaN) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionIsNaN) GetRawFieldPath

func (cond *FilterConditionIsNaN) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionIsNaN) Satisfies

func (cond *FilterConditionIsNaN) Satisfies(other FilterCondition) bool

func (*FilterConditionIsNaN) SatisfiesRaw

func (cond *FilterConditionIsNaN) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionIsNaN) SpecifiesFieldPath

func (cond *FilterConditionIsNaN) SpecifiesFieldPath(fp LogDescriptor_FieldPath) bool

func (*FilterConditionIsNaN) SpecifiesRawFieldPath

func (cond *FilterConditionIsNaN) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionIsNaN) String

func (cond *FilterConditionIsNaN) String() string

type FilterConditionIsNull

type FilterConditionIsNull struct {
	Not       bool
	FieldPath LogDescriptor_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *LogDescriptor) bool

func (*FilterConditionIsNull) EvaluateRaw

func (cond *FilterConditionIsNull) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionIsNull) GetRawFieldPath

func (cond *FilterConditionIsNull) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionIsNull) NotNull

func (cond *FilterConditionIsNull) NotNull() bool

func (*FilterConditionIsNull) Satisfies

func (cond *FilterConditionIsNull) Satisfies(other FilterCondition) bool

func (*FilterConditionIsNull) SatisfiesRaw

func (cond *FilterConditionIsNull) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionIsNull) SpecifiesFieldPath

func (cond *FilterConditionIsNull) SpecifiesFieldPath(fp LogDescriptor_FieldPath) bool

func (*FilterConditionIsNull) SpecifiesRawFieldPath

func (cond *FilterConditionIsNull) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionIsNull) String

func (cond *FilterConditionIsNull) String() string

type FilterConditionNot

type FilterConditionNot struct {
	FilterCondition
}

func (*FilterConditionNot) And

func (*FilterConditionNot) ConditionNot

func (cond *FilterConditionNot) ConditionNot()

func (*FilterConditionNot) Evaluate

func (cond *FilterConditionNot) Evaluate(res *LogDescriptor) bool

func (*FilterConditionNot) EvaluateRaw

func (cond *FilterConditionNot) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionNot) GetSubCondition

func (cond *FilterConditionNot) GetSubCondition() gotenresource.FilterCondition

func (*FilterConditionNot) Satisfies

func (cond *FilterConditionNot) Satisfies(other FilterCondition) bool

func (*FilterConditionNot) SatisfiesRaw

func (cond *FilterConditionNot) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionNot) SpecifiesFieldPath

func (cond *FilterConditionNot) SpecifiesFieldPath(fp LogDescriptor_FieldPath) bool

func (*FilterConditionNot) SpecifiesRawFieldPath

func (cond *FilterConditionNot) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionNot) String

func (cond *FilterConditionNot) String() string

type FilterConditionNotIn

type FilterConditionNotIn struct {
	LogDescriptor_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *LogDescriptor) bool

func (*FilterConditionNotIn) EvaluateRaw

func (cond *FilterConditionNotIn) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionNotIn) GetRawFieldPath

func (cond *FilterConditionNotIn) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionNotIn) GetRawFieldPathArrayOfValues

func (cond *FilterConditionNotIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues

func (*FilterConditionNotIn) Satisfies

func (cond *FilterConditionNotIn) Satisfies(other FilterCondition) bool

func (*FilterConditionNotIn) SatisfiesRaw

func (cond *FilterConditionNotIn) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionNotIn) SpecifiesFieldPath

func (cond *FilterConditionNotIn) SpecifiesFieldPath(fp LogDescriptor_FieldPath) bool

func (*FilterConditionNotIn) SpecifiesRawFieldPath

func (cond *FilterConditionNotIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionNotIn) String

func (cond *FilterConditionNotIn) String() string

type GetQuery

type GetQuery struct {
	Reference *Reference
	Mask      *LogDescriptor_FieldMask
}

func (*GetQuery) GetFieldMask

func (q *GetQuery) GetFieldMask() gotenobject.FieldMask

func (*GetQuery) GetReference

func (q *GetQuery) GetReference() gotenresource.Reference

func (*GetQuery) GetResourceDescriptor

func (q *GetQuery) GetResourceDescriptor() gotenresource.Descriptor

func (*GetQuery) GotenQuery

func (q *GetQuery) GotenQuery()

func (*GetQuery) SetFieldMask

func (q *GetQuery) SetFieldMask(mask gotenobject.FieldMask)

func (*GetQuery) SetReference

func (q *GetQuery) SetReference(ref gotenresource.Reference)

func (*GetQuery) String

func (q *GetQuery) String() string

type ListQuery

type ListQuery struct {
	Filter         *Filter
	Pager          *PagerQuery
	Mask           *LogDescriptor_FieldMask
	WithPagingInfo bool
}

func (*ListQuery) GetFieldMask

func (q *ListQuery) GetFieldMask() gotenobject.FieldMask

func (*ListQuery) GetFilter

func (q *ListQuery) GetFilter() gotenresource.Filter

func (*ListQuery) GetPager

func (q *ListQuery) GetPager() gotenresource.PagerQuery

func (*ListQuery) GetResourceDescriptor

func (q *ListQuery) GetResourceDescriptor() gotenresource.Descriptor

func (*ListQuery) GetWithPagingInfo

func (q *ListQuery) GetWithPagingInfo() bool

func (*ListQuery) GotenQuery

func (q *ListQuery) GotenQuery()

func (*ListQuery) SetFieldMask

func (q *ListQuery) SetFieldMask(mask gotenobject.FieldMask)

func (*ListQuery) SetFilter

func (q *ListQuery) SetFilter(filter gotenresource.Filter)

func (*ListQuery) SetPager

func (q *ListQuery) SetPager(pager gotenresource.PagerQuery)

func (*ListQuery) SetWithPagingInfo

func (q *ListQuery) SetWithPagingInfo(with bool)

func (*ListQuery) String

func (q *ListQuery) String() string

type LogDescriptor

type LogDescriptor struct {

	// Name of LogDescriptor
	// When creating a new instance, this field is optional and if not provided,
	// it will be generated automatically. Last ID segment must conform to the
	// following regex: [\\w./-]{1,128}/[\\w./-]{1,128}
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Metadata is an object with information like create, update and delete time
	// (for async deleted resources), has user labels/annotations, sharding
	// information, multi-region syncing information and may have non-schema
	// owners (useful for taking ownership of resources belonging to lower level
	// services by higher ones).
	Metadata *meta.Meta `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// Optional. A concise name for the log type that might be
	// displayed in user interfaces. It should be a Title Cased Noun Phrase,
	// without any article or other determiners.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// Optional. A detailed description of the log type that might
	// be used in documentation.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" firestore:"description"`
	// A set of labels used to describe instances of this log type.
	Labels []*common.LabelDescriptor `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" firestore:"labels"`
	// Promoted Label Key Sets allow defining multiple indexing rules for
	// underlying backend enabling query optimizations.
	PromotedLabelKeySets []*common.LabelKeySet `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

LogDescriptor Resource

func (*LogDescriptor) Clone

func (o *LogDescriptor) Clone() *LogDescriptor

func (*LogDescriptor) CloneRaw

func (*LogDescriptor) Descriptor

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

Deprecated, Use LogDescriptor.ProtoReflect.Descriptor instead.

func (*LogDescriptor) EnsureMetadata

func (r *LogDescriptor) EnsureMetadata() *meta.Meta

func (*LogDescriptor) GetDescription

func (m *LogDescriptor) GetDescription() string

func (*LogDescriptor) GetDisplayName

func (m *LogDescriptor) GetDisplayName() string

func (*LogDescriptor) GetLabels

func (m *LogDescriptor) GetLabels() []*common.LabelDescriptor

func (*LogDescriptor) GetMetadata

func (m *LogDescriptor) GetMetadata() *meta.Meta

func (*LogDescriptor) GetName

func (m *LogDescriptor) GetName() *Name

func (*LogDescriptor) GetPromotedLabelKeySets

func (m *LogDescriptor) GetPromotedLabelKeySets() []*common.LabelKeySet

func (*LogDescriptor) GetRawName

func (r *LogDescriptor) GetRawName() gotenresource.Name

func (*LogDescriptor) GetResourceDescriptor

func (r *LogDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*LogDescriptor) GotenMessage

func (*LogDescriptor) GotenMessage()

func (*LogDescriptor) GotenObjectExt

func (o *LogDescriptor) GotenObjectExt()

func (*LogDescriptor) GotenValidate

func (obj *LogDescriptor) GotenValidate() error

func (*LogDescriptor) MakeDiffFieldMask

func (o *LogDescriptor) MakeDiffFieldMask(other *LogDescriptor) *LogDescriptor_FieldMask

func (*LogDescriptor) MakeFullFieldMask

func (o *LogDescriptor) MakeFullFieldMask() *LogDescriptor_FieldMask

func (*LogDescriptor) MakeRawDiffFieldMask

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

func (*LogDescriptor) MakeRawFullFieldMask

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

func (*LogDescriptor) Marshal

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

func (*LogDescriptor) MarshalJSON

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

func (*LogDescriptor) MaybePopulateDefaults

func (r *LogDescriptor) MaybePopulateDefaults() error

func (*LogDescriptor) Merge

func (o *LogDescriptor) Merge(source *LogDescriptor)

func (*LogDescriptor) MergeRaw

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

func (*LogDescriptor) ProtoMessage

func (*LogDescriptor) ProtoMessage()

func (*LogDescriptor) ProtoReflect

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

func (*LogDescriptor) Reset

func (m *LogDescriptor) Reset()

func (*LogDescriptor) SetDescription

func (m *LogDescriptor) SetDescription(fv string)

func (*LogDescriptor) SetDisplayName

func (m *LogDescriptor) SetDisplayName(fv string)

func (*LogDescriptor) SetLabels

func (m *LogDescriptor) SetLabels(fv []*common.LabelDescriptor)

func (*LogDescriptor) SetMetadata

func (m *LogDescriptor) SetMetadata(fv *meta.Meta)

func (*LogDescriptor) SetName

func (m *LogDescriptor) SetName(fv *Name)

func (*LogDescriptor) SetPromotedLabelKeySets

func (m *LogDescriptor) SetPromotedLabelKeySets(fv []*common.LabelKeySet)

func (*LogDescriptor) String

func (m *LogDescriptor) String() string

func (*LogDescriptor) Unmarshal

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

func (*LogDescriptor) UnmarshalJSON

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

type LogDescriptorAccess

type LogDescriptorAccess interface {
	GetLogDescriptor(context.Context, *GetQuery) (*LogDescriptor, error)
	BatchGetLogDescriptors(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryLogDescriptors(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchLogDescriptor(context.Context, *GetQuery, func(*LogDescriptorChange) error) error
	WatchLogDescriptors(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveLogDescriptor(context.Context, *LogDescriptor, ...gotenresource.SaveOption) error
	DeleteLogDescriptor(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type LogDescriptorChange

type LogDescriptorChange struct {

	// LogDescriptor change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*LogDescriptorChange_Added_
	//	*LogDescriptorChange_Modified_
	//	*LogDescriptorChange_Current_
	//	*LogDescriptorChange_Removed_
	ChangeType isLogDescriptorChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

LogDescriptorChange is used by Watch notifications Responses to describe change of single LogDescriptor One of Added, Modified, Removed

func (*LogDescriptorChange) Descriptor

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

Deprecated, Use LogDescriptorChange.ProtoReflect.Descriptor instead.

func (*LogDescriptorChange) GetAdded

func (*LogDescriptorChange) GetChangeType

func (m *LogDescriptorChange) GetChangeType() isLogDescriptorChange_ChangeType

func (*LogDescriptorChange) GetCurrent

func (*LogDescriptorChange) GetCurrentViewIndex

func (c *LogDescriptorChange) GetCurrentViewIndex() int32

func (*LogDescriptorChange) GetLogDescriptor

func (c *LogDescriptorChange) GetLogDescriptor() *LogDescriptor

func (*LogDescriptorChange) GetLogDescriptorName

func (c *LogDescriptorChange) GetLogDescriptorName() *Name

func (*LogDescriptorChange) GetModified

func (*LogDescriptorChange) GetPreviousViewIndex

func (c *LogDescriptorChange) GetPreviousViewIndex() int32

func (*LogDescriptorChange) GetRawName

func (c *LogDescriptorChange) GetRawName() gotenresource.Name

func (*LogDescriptorChange) GetRawResource

func (c *LogDescriptorChange) GetRawResource() gotenresource.Resource

func (*LogDescriptorChange) GetRemoved

func (*LogDescriptorChange) GotenMessage

func (*LogDescriptorChange) GotenMessage()

func (*LogDescriptorChange) GotenValidate

func (obj *LogDescriptorChange) GotenValidate() error

func (*LogDescriptorChange) IsAdd

func (c *LogDescriptorChange) IsAdd() bool

func (*LogDescriptorChange) IsCurrent

func (c *LogDescriptorChange) IsCurrent() bool

func (*LogDescriptorChange) IsDelete

func (c *LogDescriptorChange) IsDelete() bool

func (*LogDescriptorChange) IsModify

func (c *LogDescriptorChange) IsModify() bool

func (*LogDescriptorChange) Marshal

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

func (*LogDescriptorChange) MarshalJSON

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

func (*LogDescriptorChange) ProtoMessage

func (*LogDescriptorChange) ProtoMessage()

func (*LogDescriptorChange) ProtoReflect

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

func (*LogDescriptorChange) Reset

func (m *LogDescriptorChange) Reset()

func (*LogDescriptorChange) SetAdded

func (*LogDescriptorChange) SetAddedRaw

func (c *LogDescriptorChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)

func (*LogDescriptorChange) SetChangeType

func (m *LogDescriptorChange) SetChangeType(ofv isLogDescriptorChange_ChangeType)

func (*LogDescriptorChange) SetCurrent

func (*LogDescriptorChange) SetCurrentRaw

func (c *LogDescriptorChange) SetCurrentRaw(snapshot gotenresource.Resource)

func (*LogDescriptorChange) SetDeletedRaw

func (c *LogDescriptorChange) SetDeletedRaw(name gotenresource.Name, idx int)

func (*LogDescriptorChange) SetModified

func (*LogDescriptorChange) SetModifiedRaw

func (c *LogDescriptorChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, newIdx int)

func (*LogDescriptorChange) SetRemoved

func (*LogDescriptorChange) String

func (m *LogDescriptorChange) String() string

func (*LogDescriptorChange) Unmarshal

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

func (*LogDescriptorChange) UnmarshalJSON

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

type LogDescriptorChangeList

type LogDescriptorChangeList []*LogDescriptorChange

func (LogDescriptorChangeList) Append

func (LogDescriptorChangeList) AppendList

func (LogDescriptorChangeList) At

func (LogDescriptorChangeList) Length

func (l LogDescriptorChangeList) Length() int

func (LogDescriptorChangeList) Set

func (LogDescriptorChangeList) Slice

type LogDescriptorChangeMap

type LogDescriptorChangeMap map[Name]*LogDescriptorChange

func (LogDescriptorChangeMap) Delete

func (m LogDescriptorChangeMap) Delete(name gotenresource.Name)

func (LogDescriptorChangeMap) ForEach

func (LogDescriptorChangeMap) Get

func (LogDescriptorChangeMap) Length

func (m LogDescriptorChangeMap) Length() int

func (LogDescriptorChangeMap) Set

type LogDescriptorChange_Added

type LogDescriptorChange_Added struct {
	LogDescriptor *LogDescriptor `` /* 126-byte string literal not displayed */
	// Integer describing index of added LogDescriptor in resulting query view.
	ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"`
	// contains filtered or unexported fields
}

LogDescriptor has been added to query view

func (*LogDescriptorChange_Added) Descriptor

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

Deprecated, Use LogDescriptorChange_Added.ProtoReflect.Descriptor instead.

func (*LogDescriptorChange_Added) GetLogDescriptor

func (m *LogDescriptorChange_Added) GetLogDescriptor() *LogDescriptor

func (*LogDescriptorChange_Added) GetViewIndex

func (m *LogDescriptorChange_Added) GetViewIndex() int32

func (*LogDescriptorChange_Added) GotenMessage

func (*LogDescriptorChange_Added) GotenMessage()

func (*LogDescriptorChange_Added) GotenValidate

func (obj *LogDescriptorChange_Added) GotenValidate() error

func (*LogDescriptorChange_Added) Marshal

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

func (*LogDescriptorChange_Added) MarshalJSON

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

func (*LogDescriptorChange_Added) ProtoMessage

func (*LogDescriptorChange_Added) ProtoMessage()

func (*LogDescriptorChange_Added) ProtoReflect

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

func (*LogDescriptorChange_Added) Reset

func (m *LogDescriptorChange_Added) Reset()

func (*LogDescriptorChange_Added) SetLogDescriptor

func (m *LogDescriptorChange_Added) SetLogDescriptor(fv *LogDescriptor)

func (*LogDescriptorChange_Added) SetViewIndex

func (m *LogDescriptorChange_Added) SetViewIndex(fv int32)

func (*LogDescriptorChange_Added) String

func (m *LogDescriptorChange_Added) String() string

func (*LogDescriptorChange_Added) Unmarshal

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

func (*LogDescriptorChange_Added) UnmarshalJSON

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

type LogDescriptorChange_Added_

type LogDescriptorChange_Added_ struct {
	// Added is returned when watched document is added, either created or
	// enters Query view
	Added *LogDescriptorChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof" firestore:"added"`
}

type LogDescriptorChange_Current

type LogDescriptorChange_Current struct {
	LogDescriptor *LogDescriptor `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

LogDescriptor has been added or modified in a query view. Version used for stateless watching

func (*LogDescriptorChange_Current) Descriptor

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

Deprecated, Use LogDescriptorChange_Current.ProtoReflect.Descriptor instead.

func (*LogDescriptorChange_Current) GetLogDescriptor

func (m *LogDescriptorChange_Current) GetLogDescriptor() *LogDescriptor

func (*LogDescriptorChange_Current) GotenMessage

func (*LogDescriptorChange_Current) GotenMessage()

func (*LogDescriptorChange_Current) GotenValidate

func (obj *LogDescriptorChange_Current) GotenValidate() error

func (*LogDescriptorChange_Current) Marshal

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

func (*LogDescriptorChange_Current) MarshalJSON

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

func (*LogDescriptorChange_Current) ProtoMessage

func (*LogDescriptorChange_Current) ProtoMessage()

func (*LogDescriptorChange_Current) ProtoReflect

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

func (*LogDescriptorChange_Current) Reset

func (m *LogDescriptorChange_Current) Reset()

func (*LogDescriptorChange_Current) SetLogDescriptor

func (m *LogDescriptorChange_Current) SetLogDescriptor(fv *LogDescriptor)

func (*LogDescriptorChange_Current) String

func (m *LogDescriptorChange_Current) String() string

func (*LogDescriptorChange_Current) Unmarshal

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

func (*LogDescriptorChange_Current) UnmarshalJSON

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

type LogDescriptorChange_Current_

type LogDescriptorChange_Current_ struct {
	// Current is returned in stateless watch when document enters query view or
	// is modified within.
	Current *LogDescriptorChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof" firestore:"current"`
}

type LogDescriptorChange_Modified

type LogDescriptorChange_Modified struct {

	// Name of modified LogDescriptor
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// New version of LogDescriptor or masked difference, depending on
	// mask_changes instrumentation of issued [WatchLogDescriptorRequest] or
	// [WatchLogDescriptorsRequest]
	LogDescriptor *LogDescriptor `` /* 126-byte string literal not displayed */
	// Used when mask_changes is set, contains field paths of modified
	// properties.
	FieldMask *LogDescriptor_FieldMask `` /* 145-byte string literal not displayed */
	// Previous view index specifies previous position of modified
	// LogDescriptor. When modification doesn't affect sorted order, value will
	// remain identical to [view_index].
	PreviousViewIndex int32 `` /* 145-byte string literal not displayed */
	// Integer specifying LogDescriptor new index in resulting query view.
	ViewIndex int32 `protobuf:"varint,5,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"`
	// contains filtered or unexported fields
}

LogDescriptor changed some of it's fields - contains either full document or masked change

func (*LogDescriptorChange_Modified) Descriptor

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

Deprecated, Use LogDescriptorChange_Modified.ProtoReflect.Descriptor instead.

func (*LogDescriptorChange_Modified) GetFieldMask

func (*LogDescriptorChange_Modified) GetLogDescriptor

func (m *LogDescriptorChange_Modified) GetLogDescriptor() *LogDescriptor

func (*LogDescriptorChange_Modified) GetName

func (m *LogDescriptorChange_Modified) GetName() *Name

func (*LogDescriptorChange_Modified) GetPreviousViewIndex

func (m *LogDescriptorChange_Modified) GetPreviousViewIndex() int32

func (*LogDescriptorChange_Modified) GetViewIndex

func (m *LogDescriptorChange_Modified) GetViewIndex() int32

func (*LogDescriptorChange_Modified) GotenMessage

func (*LogDescriptorChange_Modified) GotenMessage()

func (*LogDescriptorChange_Modified) GotenValidate

func (obj *LogDescriptorChange_Modified) GotenValidate() error

func (*LogDescriptorChange_Modified) Marshal

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

func (*LogDescriptorChange_Modified) MarshalJSON

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

func (*LogDescriptorChange_Modified) ProtoMessage

func (*LogDescriptorChange_Modified) ProtoMessage()

func (*LogDescriptorChange_Modified) ProtoReflect

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

func (*LogDescriptorChange_Modified) Reset

func (m *LogDescriptorChange_Modified) Reset()

func (*LogDescriptorChange_Modified) SetFieldMask

func (*LogDescriptorChange_Modified) SetLogDescriptor

func (m *LogDescriptorChange_Modified) SetLogDescriptor(fv *LogDescriptor)

func (*LogDescriptorChange_Modified) SetName

func (m *LogDescriptorChange_Modified) SetName(fv *Name)

func (*LogDescriptorChange_Modified) SetPreviousViewIndex

func (m *LogDescriptorChange_Modified) SetPreviousViewIndex(fv int32)

func (*LogDescriptorChange_Modified) SetViewIndex

func (m *LogDescriptorChange_Modified) SetViewIndex(fv int32)

func (*LogDescriptorChange_Modified) String

func (*LogDescriptorChange_Modified) Unmarshal

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

func (*LogDescriptorChange_Modified) UnmarshalJSON

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

type LogDescriptorChange_Modified_

type LogDescriptorChange_Modified_ struct {
	// Modified is returned when watched document is modified
	Modified *LogDescriptorChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof" firestore:"modified"`
}

type LogDescriptorChange_Removed

type LogDescriptorChange_Removed struct {
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Integer specifying removed LogDescriptor index. Not populated in
	// stateless watch type.
	ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"`
	// contains filtered or unexported fields
}

Removed is returned when LogDescriptor is deleted or leaves Query view

func (*LogDescriptorChange_Removed) Descriptor

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

Deprecated, Use LogDescriptorChange_Removed.ProtoReflect.Descriptor instead.

func (*LogDescriptorChange_Removed) GetName

func (m *LogDescriptorChange_Removed) GetName() *Name

func (*LogDescriptorChange_Removed) GetViewIndex

func (m *LogDescriptorChange_Removed) GetViewIndex() int32

func (*LogDescriptorChange_Removed) GotenMessage

func (*LogDescriptorChange_Removed) GotenMessage()

func (*LogDescriptorChange_Removed) GotenValidate

func (obj *LogDescriptorChange_Removed) GotenValidate() error

func (*LogDescriptorChange_Removed) Marshal

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

func (*LogDescriptorChange_Removed) MarshalJSON

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

func (*LogDescriptorChange_Removed) ProtoMessage

func (*LogDescriptorChange_Removed) ProtoMessage()

func (*LogDescriptorChange_Removed) ProtoReflect

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

func (*LogDescriptorChange_Removed) Reset

func (m *LogDescriptorChange_Removed) Reset()

func (*LogDescriptorChange_Removed) SetName

func (m *LogDescriptorChange_Removed) SetName(fv *Name)

func (*LogDescriptorChange_Removed) SetViewIndex

func (m *LogDescriptorChange_Removed) SetViewIndex(fv int32)

func (*LogDescriptorChange_Removed) String

func (m *LogDescriptorChange_Removed) String() string

func (*LogDescriptorChange_Removed) Unmarshal

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

func (*LogDescriptorChange_Removed) UnmarshalJSON

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

type LogDescriptorChange_Removed_

type LogDescriptorChange_Removed_ struct {
	// Removed is returned when LogDescriptor is deleted or leaves Query view
	Removed *LogDescriptorChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof" firestore:"removed"`
}

type LogDescriptorFieldPathBuilder

type LogDescriptorFieldPathBuilder struct{}

func NewLogDescriptorFieldPathBuilder

func NewLogDescriptorFieldPathBuilder() LogDescriptorFieldPathBuilder

func (LogDescriptorFieldPathBuilder) Description

func (LogDescriptorFieldPathBuilder) DisplayName

func (LogDescriptorFieldPathBuilder) Labels

func (LogDescriptorFieldPathBuilder) Metadata

func (LogDescriptorFieldPathBuilder) Name

func (LogDescriptorFieldPathBuilder) PromotedLabelKeySets

type LogDescriptorList

type LogDescriptorList []*LogDescriptor

func (LogDescriptorList) Append

func (LogDescriptorList) AppendList

func (LogDescriptorList) At

func (LogDescriptorList) Length

func (l LogDescriptorList) Length() int

func (LogDescriptorList) Set

func (l LogDescriptorList) Set(idx int, res gotenresource.Resource)

func (LogDescriptorList) Slice

func (l LogDescriptorList) Slice(first, second int) gotenresource.ResourceList

type LogDescriptorMap

type LogDescriptorMap map[Name]*LogDescriptor

func (LogDescriptorMap) Delete

func (m LogDescriptorMap) Delete(name gotenresource.Name)

func (LogDescriptorMap) ForEach

func (LogDescriptorMap) Get

func (LogDescriptorMap) Length

func (m LogDescriptorMap) Length() int

func (LogDescriptorMap) Set

type LogDescriptorMapPathSelectorMetadataAnnotations

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

func (LogDescriptorMapPathSelectorMetadataAnnotations) FieldPath

func (LogDescriptorMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (LogDescriptorMapPathSelectorMetadataAnnotations) WithValue

type LogDescriptorMapPathSelectorMetadataLabels

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

func (LogDescriptorMapPathSelectorMetadataLabels) FieldPath

func (LogDescriptorMapPathSelectorMetadataLabels) WithArrayOfValues

func (LogDescriptorMapPathSelectorMetadataLabels) WithValue

type LogDescriptorMapPathSelectorMetadataShards

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

func (LogDescriptorMapPathSelectorMetadataShards) FieldPath

func (LogDescriptorMapPathSelectorMetadataShards) WithArrayOfValues

func (LogDescriptorMapPathSelectorMetadataShards) WithValue

type LogDescriptorNameList

type LogDescriptorNameList []*Name

func (LogDescriptorNameList) Append

func (LogDescriptorNameList) AppendList

func (LogDescriptorNameList) At

func (LogDescriptorNameList) Length

func (l LogDescriptorNameList) Length() int

func (LogDescriptorNameList) Set

func (l LogDescriptorNameList) Set(idx int, name gotenresource.Name)

func (LogDescriptorNameList) Slice

func (l LogDescriptorNameList) Slice(first, second int) gotenresource.NameList

type LogDescriptorParentNameList

type LogDescriptorParentNameList []*ParentName

func (LogDescriptorParentNameList) Append

func (LogDescriptorParentNameList) AppendList

func (LogDescriptorParentNameList) At

func (LogDescriptorParentNameList) Length

func (l LogDescriptorParentNameList) Length() int

func (LogDescriptorParentNameList) Set

func (LogDescriptorParentNameList) Slice

type LogDescriptorParentReferenceList

type LogDescriptorParentReferenceList []*ParentReference

func (LogDescriptorParentReferenceList) Append

func (LogDescriptorParentReferenceList) AppendList

func (LogDescriptorParentReferenceList) At

func (LogDescriptorParentReferenceList) Length

func (LogDescriptorParentReferenceList) Set

func (LogDescriptorParentReferenceList) Slice

type LogDescriptorPathSelectorDescription

type LogDescriptorPathSelectorDescription struct{}

func (LogDescriptorPathSelectorDescription) FieldPath

func (LogDescriptorPathSelectorDescription) WithArrayOfValues

func (LogDescriptorPathSelectorDescription) WithValue

type LogDescriptorPathSelectorDisplayName

type LogDescriptorPathSelectorDisplayName struct{}

func (LogDescriptorPathSelectorDisplayName) FieldPath

func (LogDescriptorPathSelectorDisplayName) WithArrayOfValues

func (LogDescriptorPathSelectorDisplayName) WithValue

type LogDescriptorPathSelectorLabels

type LogDescriptorPathSelectorLabels struct{}

func (LogDescriptorPathSelectorLabels) Description

func (LogDescriptorPathSelectorLabels) FieldPath

func (LogDescriptorPathSelectorLabels) Key

func (LogDescriptorPathSelectorLabels) WithArrayOfValues

func (LogDescriptorPathSelectorLabels) WithItemValue

func (LogDescriptorPathSelectorLabels) WithSubArrayItemValue

func (LogDescriptorPathSelectorLabels) WithSubArrayOfValues

func (LogDescriptorPathSelectorLabels) WithSubPath

func (LogDescriptorPathSelectorLabels) WithSubValue

func (LogDescriptorPathSelectorLabels) WithValue

type LogDescriptorPathSelectorLabelsDescription

type LogDescriptorPathSelectorLabelsDescription struct{}

func (LogDescriptorPathSelectorLabelsDescription) FieldPath

func (LogDescriptorPathSelectorLabelsDescription) WithArrayOfValues

func (LogDescriptorPathSelectorLabelsDescription) WithValue

type LogDescriptorPathSelectorLabelsKey

type LogDescriptorPathSelectorLabelsKey struct{}

func (LogDescriptorPathSelectorLabelsKey) FieldPath

func (LogDescriptorPathSelectorLabelsKey) WithArrayOfValues

func (LogDescriptorPathSelectorLabelsKey) WithValue

type LogDescriptorPathSelectorMetadata

type LogDescriptorPathSelectorMetadata struct{}

func (LogDescriptorPathSelectorMetadata) Annotations

func (LogDescriptorPathSelectorMetadata) CreateTime

func (LogDescriptorPathSelectorMetadata) DeleteTime

func (LogDescriptorPathSelectorMetadata) FieldPath

func (LogDescriptorPathSelectorMetadata) Generation

func (LogDescriptorPathSelectorMetadata) Labels

func (LogDescriptorPathSelectorMetadata) Lifecycle

func (LogDescriptorPathSelectorMetadata) OwnerReferences

func (LogDescriptorPathSelectorMetadata) ResourceVersion

func (LogDescriptorPathSelectorMetadata) Services

func (LogDescriptorPathSelectorMetadata) Shards

func (LogDescriptorPathSelectorMetadata) Syncing

func (LogDescriptorPathSelectorMetadata) Tags

func (LogDescriptorPathSelectorMetadata) UpdateTime

func (LogDescriptorPathSelectorMetadata) Uuid

func (LogDescriptorPathSelectorMetadata) WithArrayOfValues

func (LogDescriptorPathSelectorMetadata) WithSubArrayItemValue

func (LogDescriptorPathSelectorMetadata) WithSubArrayOfValues

func (LogDescriptorPathSelectorMetadata) WithSubPath

func (LogDescriptorPathSelectorMetadata) WithSubValue

func (LogDescriptorPathSelectorMetadata) WithValue

type LogDescriptorPathSelectorMetadataAnnotations

type LogDescriptorPathSelectorMetadataAnnotations struct{}

func (LogDescriptorPathSelectorMetadataAnnotations) FieldPath

func (LogDescriptorPathSelectorMetadataAnnotations) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataAnnotations) WithKey

func (LogDescriptorPathSelectorMetadataAnnotations) WithValue

type LogDescriptorPathSelectorMetadataCreateTime

type LogDescriptorPathSelectorMetadataCreateTime struct{}

func (LogDescriptorPathSelectorMetadataCreateTime) FieldPath

func (LogDescriptorPathSelectorMetadataCreateTime) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataCreateTime) WithValue

type LogDescriptorPathSelectorMetadataDeleteTime

type LogDescriptorPathSelectorMetadataDeleteTime struct{}

func (LogDescriptorPathSelectorMetadataDeleteTime) FieldPath

func (LogDescriptorPathSelectorMetadataDeleteTime) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataDeleteTime) WithValue

type LogDescriptorPathSelectorMetadataGeneration

type LogDescriptorPathSelectorMetadataGeneration struct{}

func (LogDescriptorPathSelectorMetadataGeneration) FieldPath

func (LogDescriptorPathSelectorMetadataGeneration) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataGeneration) WithValue

type LogDescriptorPathSelectorMetadataLabels

type LogDescriptorPathSelectorMetadataLabels struct{}

func (LogDescriptorPathSelectorMetadataLabels) FieldPath

func (LogDescriptorPathSelectorMetadataLabels) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataLabels) WithKey

func (LogDescriptorPathSelectorMetadataLabels) WithValue

type LogDescriptorPathSelectorMetadataLifecycle

type LogDescriptorPathSelectorMetadataLifecycle struct{}

func (LogDescriptorPathSelectorMetadataLifecycle) BlockDeletion

func (LogDescriptorPathSelectorMetadataLifecycle) FieldPath

func (LogDescriptorPathSelectorMetadataLifecycle) State

func (LogDescriptorPathSelectorMetadataLifecycle) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataLifecycle) WithValue

type LogDescriptorPathSelectorMetadataLifecycleBlockDeletion

type LogDescriptorPathSelectorMetadataLifecycleBlockDeletion struct{}

func (LogDescriptorPathSelectorMetadataLifecycleBlockDeletion) FieldPath

func (LogDescriptorPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataLifecycleBlockDeletion) WithValue

type LogDescriptorPathSelectorMetadataLifecycleState

type LogDescriptorPathSelectorMetadataLifecycleState struct{}

func (LogDescriptorPathSelectorMetadataLifecycleState) FieldPath

func (LogDescriptorPathSelectorMetadataLifecycleState) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataLifecycleState) WithValue

type LogDescriptorPathSelectorMetadataOwnerReferences

type LogDescriptorPathSelectorMetadataOwnerReferences struct{}

func (LogDescriptorPathSelectorMetadataOwnerReferences) Controller

func (LogDescriptorPathSelectorMetadataOwnerReferences) FieldPath

func (LogDescriptorPathSelectorMetadataOwnerReferences) Kind

func (LogDescriptorPathSelectorMetadataOwnerReferences) Name

func (LogDescriptorPathSelectorMetadataOwnerReferences) Region

func (LogDescriptorPathSelectorMetadataOwnerReferences) Version

func (LogDescriptorPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataOwnerReferences) WithItemValue

func (LogDescriptorPathSelectorMetadataOwnerReferences) WithValue

type LogDescriptorPathSelectorMetadataOwnerReferencesController

type LogDescriptorPathSelectorMetadataOwnerReferencesController struct{}

func (LogDescriptorPathSelectorMetadataOwnerReferencesController) FieldPath

func (LogDescriptorPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataOwnerReferencesController) WithValue

type LogDescriptorPathSelectorMetadataOwnerReferencesKind

type LogDescriptorPathSelectorMetadataOwnerReferencesKind struct{}

func (LogDescriptorPathSelectorMetadataOwnerReferencesKind) FieldPath

func (LogDescriptorPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataOwnerReferencesKind) WithValue

type LogDescriptorPathSelectorMetadataOwnerReferencesName

type LogDescriptorPathSelectorMetadataOwnerReferencesName struct{}

func (LogDescriptorPathSelectorMetadataOwnerReferencesName) FieldPath

func (LogDescriptorPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataOwnerReferencesName) WithValue

type LogDescriptorPathSelectorMetadataOwnerReferencesRegion

type LogDescriptorPathSelectorMetadataOwnerReferencesRegion struct{}

func (LogDescriptorPathSelectorMetadataOwnerReferencesRegion) FieldPath

func (LogDescriptorPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataOwnerReferencesRegion) WithValue

type LogDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference

type LogDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (LogDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath

func (LogDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue

type LogDescriptorPathSelectorMetadataOwnerReferencesVersion

type LogDescriptorPathSelectorMetadataOwnerReferencesVersion struct{}

func (LogDescriptorPathSelectorMetadataOwnerReferencesVersion) FieldPath

func (LogDescriptorPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataOwnerReferencesVersion) WithValue

type LogDescriptorPathSelectorMetadataResourceVersion

type LogDescriptorPathSelectorMetadataResourceVersion struct{}

func (LogDescriptorPathSelectorMetadataResourceVersion) FieldPath

func (LogDescriptorPathSelectorMetadataResourceVersion) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataResourceVersion) WithValue

type LogDescriptorPathSelectorMetadataServices

type LogDescriptorPathSelectorMetadataServices struct{}

func (LogDescriptorPathSelectorMetadataServices) AllowedServices

func (LogDescriptorPathSelectorMetadataServices) FieldPath

func (LogDescriptorPathSelectorMetadataServices) OwningService

func (LogDescriptorPathSelectorMetadataServices) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataServices) WithValue

type LogDescriptorPathSelectorMetadataServicesAllowedServices

type LogDescriptorPathSelectorMetadataServicesAllowedServices struct{}

func (LogDescriptorPathSelectorMetadataServicesAllowedServices) FieldPath

func (LogDescriptorPathSelectorMetadataServicesAllowedServices) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataServicesAllowedServices) WithItemValue

func (LogDescriptorPathSelectorMetadataServicesAllowedServices) WithValue

type LogDescriptorPathSelectorMetadataServicesOwningService

type LogDescriptorPathSelectorMetadataServicesOwningService struct{}

func (LogDescriptorPathSelectorMetadataServicesOwningService) FieldPath

func (LogDescriptorPathSelectorMetadataServicesOwningService) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataServicesOwningService) WithValue

type LogDescriptorPathSelectorMetadataShards

type LogDescriptorPathSelectorMetadataShards struct{}

func (LogDescriptorPathSelectorMetadataShards) FieldPath

func (LogDescriptorPathSelectorMetadataShards) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataShards) WithKey

func (LogDescriptorPathSelectorMetadataShards) WithValue

type LogDescriptorPathSelectorMetadataSyncing

type LogDescriptorPathSelectorMetadataSyncing struct{}

func (LogDescriptorPathSelectorMetadataSyncing) FieldPath

func (LogDescriptorPathSelectorMetadataSyncing) OwningRegion

func (LogDescriptorPathSelectorMetadataSyncing) Regions

func (LogDescriptorPathSelectorMetadataSyncing) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataSyncing) WithValue

type LogDescriptorPathSelectorMetadataSyncingOwningRegion

type LogDescriptorPathSelectorMetadataSyncingOwningRegion struct{}

func (LogDescriptorPathSelectorMetadataSyncingOwningRegion) FieldPath

func (LogDescriptorPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataSyncingOwningRegion) WithValue

type LogDescriptorPathSelectorMetadataSyncingRegions

type LogDescriptorPathSelectorMetadataSyncingRegions struct{}

func (LogDescriptorPathSelectorMetadataSyncingRegions) FieldPath

func (LogDescriptorPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataSyncingRegions) WithItemValue

func (LogDescriptorPathSelectorMetadataSyncingRegions) WithValue

type LogDescriptorPathSelectorMetadataTags

type LogDescriptorPathSelectorMetadataTags struct{}

func (LogDescriptorPathSelectorMetadataTags) FieldPath

func (LogDescriptorPathSelectorMetadataTags) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataTags) WithItemValue

func (LogDescriptorPathSelectorMetadataTags) WithValue

type LogDescriptorPathSelectorMetadataUpdateTime

type LogDescriptorPathSelectorMetadataUpdateTime struct{}

func (LogDescriptorPathSelectorMetadataUpdateTime) FieldPath

func (LogDescriptorPathSelectorMetadataUpdateTime) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataUpdateTime) WithValue

type LogDescriptorPathSelectorMetadataUuid

type LogDescriptorPathSelectorMetadataUuid struct{}

func (LogDescriptorPathSelectorMetadataUuid) FieldPath

func (LogDescriptorPathSelectorMetadataUuid) WithArrayOfValues

func (LogDescriptorPathSelectorMetadataUuid) WithValue

type LogDescriptorPathSelectorName

type LogDescriptorPathSelectorName struct{}

func (LogDescriptorPathSelectorName) FieldPath

func (LogDescriptorPathSelectorName) WithArrayOfValues

func (LogDescriptorPathSelectorName) WithValue

type LogDescriptorPathSelectorPromotedLabelKeySets

type LogDescriptorPathSelectorPromotedLabelKeySets struct{}

func (LogDescriptorPathSelectorPromotedLabelKeySets) FieldPath

func (LogDescriptorPathSelectorPromotedLabelKeySets) LabelKeys

func (LogDescriptorPathSelectorPromotedLabelKeySets) WithArrayOfValues

func (LogDescriptorPathSelectorPromotedLabelKeySets) WithItemValue

func (LogDescriptorPathSelectorPromotedLabelKeySets) WithSubArrayItemValue

func (LogDescriptorPathSelectorPromotedLabelKeySets) WithSubArrayOfValues

func (LogDescriptorPathSelectorPromotedLabelKeySets) WithSubPath

func (LogDescriptorPathSelectorPromotedLabelKeySets) WithSubValue

func (LogDescriptorPathSelectorPromotedLabelKeySets) WithValue

type LogDescriptorPathSelectorPromotedLabelKeySetsLabelKeys

type LogDescriptorPathSelectorPromotedLabelKeySetsLabelKeys struct{}

func (LogDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) FieldPath

func (LogDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithArrayOfValues

func (LogDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithItemValue

func (LogDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithValue

type LogDescriptorReferenceList

type LogDescriptorReferenceList []*Reference

func (LogDescriptorReferenceList) Append

func (LogDescriptorReferenceList) AppendList

func (LogDescriptorReferenceList) At

func (LogDescriptorReferenceList) Length

func (l LogDescriptorReferenceList) Length() int

func (LogDescriptorReferenceList) Set

func (LogDescriptorReferenceList) Slice

type LogDescriptor_FieldMask

type LogDescriptor_FieldMask struct {
	Paths []LogDescriptor_FieldPath
}

func FullLogDescriptor_FieldMask

func FullLogDescriptor_FieldMask() *LogDescriptor_FieldMask

func ResourceViewFieldMask

func ResourceViewFieldMask(viewName view.View, extraMask *LogDescriptor_FieldMask) *LogDescriptor_FieldMask

func (*LogDescriptor_FieldMask) AppendPath

func (fieldMask *LogDescriptor_FieldMask) AppendPath(path LogDescriptor_FieldPath)

func (*LogDescriptor_FieldMask) AppendRawPath

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

func (*LogDescriptor_FieldMask) DecodeFirestore

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

func (*LogDescriptor_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*LogDescriptor_FieldMask) FilterInputFields

func (fieldMask *LogDescriptor_FieldMask) FilterInputFields() *LogDescriptor_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*LogDescriptor_FieldMask) FromProtoFieldMask

func (fieldMask *LogDescriptor_FieldMask) FromProtoFieldMask(protoFieldMask *googlefieldmaskpb.FieldMask) error

func (*LogDescriptor_FieldMask) GetPaths

func (fieldMask *LogDescriptor_FieldMask) GetPaths() []LogDescriptor_FieldPath

func (*LogDescriptor_FieldMask) GetRawPaths

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

func (*LogDescriptor_FieldMask) IsFull

func (fieldMask *LogDescriptor_FieldMask) IsFull() bool

func (LogDescriptor_FieldMask) Marshal

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

implement methods required by customType

func (LogDescriptor_FieldMask) MarshalJSON

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

func (*LogDescriptor_FieldMask) PathsCount

func (fieldMask *LogDescriptor_FieldMask) PathsCount() int

func (*LogDescriptor_FieldMask) Project

func (fieldMask *LogDescriptor_FieldMask) Project(source *LogDescriptor) *LogDescriptor

func (*LogDescriptor_FieldMask) ProjectRaw

func (*LogDescriptor_FieldMask) ProtoMessage

func (fieldMask *LogDescriptor_FieldMask) ProtoMessage()

func (*LogDescriptor_FieldMask) ProtoReflect

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

func (*LogDescriptor_FieldMask) Reset

func (fieldMask *LogDescriptor_FieldMask) Reset()

func (*LogDescriptor_FieldMask) Set

func (fieldMask *LogDescriptor_FieldMask) Set(target, source *LogDescriptor)

func (*LogDescriptor_FieldMask) SetFromCliFlag

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

func (*LogDescriptor_FieldMask) SetRaw

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

func (*LogDescriptor_FieldMask) Size

func (fieldMask *LogDescriptor_FieldMask) Size() int

func (*LogDescriptor_FieldMask) String

func (fieldMask *LogDescriptor_FieldMask) String() string

func (*LogDescriptor_FieldMask) Subtract

func (*LogDescriptor_FieldMask) SubtractRaw

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

func (*LogDescriptor_FieldMask) ToProtoFieldMask

func (fieldMask *LogDescriptor_FieldMask) ToProtoFieldMask() *googlefieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*LogDescriptor_FieldMask) Unmarshal

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

func (*LogDescriptor_FieldMask) UnmarshalJSON

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

type LogDescriptor_FieldPath

type LogDescriptor_FieldPath interface {
	gotenobject.FieldPath
	Selector() LogDescriptor_FieldPathSelector
	Get(source *LogDescriptor) []interface{}
	GetSingle(source *LogDescriptor) (interface{}, bool)
	ClearValue(item *LogDescriptor)

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

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

func MustParseLogDescriptor_FieldPath

func MustParseLogDescriptor_FieldPath(rawField string) LogDescriptor_FieldPath

func ParseLogDescriptor_FieldPath

func ParseLogDescriptor_FieldPath(rawField string) (LogDescriptor_FieldPath, error)

type LogDescriptor_FieldPathArrayItemValue

type LogDescriptor_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	LogDescriptor_FieldPath
	ContainsValue(*LogDescriptor) bool
}

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

func MustParseLogDescriptor_FieldPathArrayItemValue

func MustParseLogDescriptor_FieldPathArrayItemValue(pathStr, valueStr string) LogDescriptor_FieldPathArrayItemValue

func ParseLogDescriptor_FieldPathArrayItemValue

func ParseLogDescriptor_FieldPathArrayItemValue(pathStr, valueStr string) (LogDescriptor_FieldPathArrayItemValue, error)

ParseLogDescriptor_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type LogDescriptor_FieldPathArrayOfValues

type LogDescriptor_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	LogDescriptor_FieldPath
}

LogDescriptor_FieldPathArrayOfValues allows storing slice of values for LogDescriptor fields according to their type

func MustParseLogDescriptor_FieldPathArrayOfValues

func MustParseLogDescriptor_FieldPathArrayOfValues(pathStr, valuesStr string) LogDescriptor_FieldPathArrayOfValues

func ParseLogDescriptor_FieldPathArrayOfValues

func ParseLogDescriptor_FieldPathArrayOfValues(pathStr, valuesStr string) (LogDescriptor_FieldPathArrayOfValues, error)

type LogDescriptor_FieldPathSelector

type LogDescriptor_FieldPathSelector int32
const (
	LogDescriptor_FieldPathSelectorName                 LogDescriptor_FieldPathSelector = 0
	LogDescriptor_FieldPathSelectorMetadata             LogDescriptor_FieldPathSelector = 1
	LogDescriptor_FieldPathSelectorDisplayName          LogDescriptor_FieldPathSelector = 2
	LogDescriptor_FieldPathSelectorDescription          LogDescriptor_FieldPathSelector = 3
	LogDescriptor_FieldPathSelectorLabels               LogDescriptor_FieldPathSelector = 4
	LogDescriptor_FieldPathSelectorPromotedLabelKeySets LogDescriptor_FieldPathSelector = 5
)

func (LogDescriptor_FieldPathSelector) String

type LogDescriptor_FieldPathValue

type LogDescriptor_FieldPathValue interface {
	LogDescriptor_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **LogDescriptor)
	CompareWith(*LogDescriptor) (cmp int, comparable bool)
}

LogDescriptor_FieldPathValue allows storing values for LogDescriptor fields according to their type

func MustParseLogDescriptor_FieldPathValue

func MustParseLogDescriptor_FieldPathValue(pathStr, valueStr string) LogDescriptor_FieldPathValue

func ParseLogDescriptor_FieldPathValue

func ParseLogDescriptor_FieldPathValue(pathStr, valueStr string) (LogDescriptor_FieldPathValue, error)

type LogDescriptor_FieldSubPath

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

func (*LogDescriptor_FieldSubPath) AsLabelsSubPath

func (*LogDescriptor_FieldSubPath) AsMetadataSubPath

func (fps *LogDescriptor_FieldSubPath) AsMetadataSubPath() (meta.Meta_FieldPath, bool)

func (*LogDescriptor_FieldSubPath) AsPromotedLabelKeySetsSubPath

func (fps *LogDescriptor_FieldSubPath) AsPromotedLabelKeySetsSubPath() (common.LabelKeySet_FieldPath, bool)

func (*LogDescriptor_FieldSubPath) ClearValue

func (fps *LogDescriptor_FieldSubPath) ClearValue(item *LogDescriptor)

func (*LogDescriptor_FieldSubPath) ClearValueRaw

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

func (*LogDescriptor_FieldSubPath) Get

func (fps *LogDescriptor_FieldSubPath) Get(source *LogDescriptor) (values []interface{})

Get returns all values pointed by selected field from source LogDescriptor

func (*LogDescriptor_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*LogDescriptor_FieldSubPath) GetRaw

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

func (*LogDescriptor_FieldSubPath) GetSingle

func (fps *LogDescriptor_FieldSubPath) GetSingle(source *LogDescriptor) (interface{}, bool)

GetSingle returns value of selected field from source LogDescriptor

func (*LogDescriptor_FieldSubPath) GetSingleRaw

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

func (*LogDescriptor_FieldSubPath) IsLeaf

func (fps *LogDescriptor_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*LogDescriptor_FieldSubPath) JSONString

func (fps *LogDescriptor_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*LogDescriptor_FieldSubPath) Selector

func (*LogDescriptor_FieldSubPath) SplitIntoTerminalIPaths

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

func (*LogDescriptor_FieldSubPath) String

func (fps *LogDescriptor_FieldSubPath) String() string

String returns path representation in proto convention

func (*LogDescriptor_FieldSubPath) WithIArrayItemValue

func (fps *LogDescriptor_FieldSubPath) WithIArrayItemValue(value interface{}) LogDescriptor_FieldPathArrayItemValue

func (*LogDescriptor_FieldSubPath) WithIArrayOfValues

func (fps *LogDescriptor_FieldSubPath) WithIArrayOfValues(values interface{}) LogDescriptor_FieldPathArrayOfValues

func (*LogDescriptor_FieldSubPath) WithIValue

func (fps *LogDescriptor_FieldSubPath) WithIValue(value interface{}) LogDescriptor_FieldPathValue

func (*LogDescriptor_FieldSubPath) WithRawIArrayItemValue

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

func (*LogDescriptor_FieldSubPath) WithRawIArrayOfValues

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

func (*LogDescriptor_FieldSubPath) WithRawIValue

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

type LogDescriptor_FieldSubPathArrayItemValue

type LogDescriptor_FieldSubPathArrayItemValue struct {
	LogDescriptor_FieldPath
	// contains filtered or unexported fields
}

func (*LogDescriptor_FieldSubPathArrayItemValue) AsLabelsPathItemValue

func (*LogDescriptor_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (*LogDescriptor_FieldSubPathArrayItemValue) AsPromotedLabelKeySetsPathItemValue

func (fpaivs *LogDescriptor_FieldSubPathArrayItemValue) AsPromotedLabelKeySetsPathItemValue() (common.LabelKeySet_FieldPathArrayItemValue, bool)

func (*LogDescriptor_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *LogDescriptor_FieldSubPathArrayItemValue) ContainsValue(source *LogDescriptor) bool

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

func (*LogDescriptor_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type LogDescriptor_FieldSubPathArrayOfValues

type LogDescriptor_FieldSubPathArrayOfValues struct {
	LogDescriptor_FieldPath
	// contains filtered or unexported fields
}

func (*LogDescriptor_FieldSubPathArrayOfValues) AsLabelsPathArrayOfValues

func (*LogDescriptor_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

func (fpsaov *LogDescriptor_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (meta.Meta_FieldPathArrayOfValues, bool)

func (*LogDescriptor_FieldSubPathArrayOfValues) AsPromotedLabelKeySetsPathArrayOfValues

func (fpsaov *LogDescriptor_FieldSubPathArrayOfValues) AsPromotedLabelKeySetsPathArrayOfValues() (common.LabelKeySet_FieldPathArrayOfValues, bool)

func (*LogDescriptor_FieldSubPathArrayOfValues) GetRawValues

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

type LogDescriptor_FieldSubPathValue

type LogDescriptor_FieldSubPathValue struct {
	LogDescriptor_FieldPath
	// contains filtered or unexported fields
}

func (*LogDescriptor_FieldSubPathValue) AsLabelsPathValue

func (*LogDescriptor_FieldSubPathValue) AsMetadataPathValue

func (fpvs *LogDescriptor_FieldSubPathValue) AsMetadataPathValue() (meta.Meta_FieldPathValue, bool)

func (*LogDescriptor_FieldSubPathValue) AsPromotedLabelKeySetsPathValue

func (fpvs *LogDescriptor_FieldSubPathValue) AsPromotedLabelKeySetsPathValue() (common.LabelKeySet_FieldPathValue, bool)

func (*LogDescriptor_FieldSubPathValue) CompareWith

func (fpvs *LogDescriptor_FieldSubPathValue) CompareWith(source *LogDescriptor) (int, bool)

func (*LogDescriptor_FieldSubPathValue) CompareWithRaw

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

func (*LogDescriptor_FieldSubPathValue) GetRawValue

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

func (*LogDescriptor_FieldSubPathValue) SetTo

func (fpvs *LogDescriptor_FieldSubPathValue) SetTo(target **LogDescriptor)

func (*LogDescriptor_FieldSubPathValue) SetToRaw

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

type LogDescriptor_FieldTerminalPath

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

func (*LogDescriptor_FieldTerminalPath) ClearValue

func (fp *LogDescriptor_FieldTerminalPath) ClearValue(item *LogDescriptor)

func (*LogDescriptor_FieldTerminalPath) ClearValueRaw

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

func (*LogDescriptor_FieldTerminalPath) Get

func (fp *LogDescriptor_FieldTerminalPath) Get(source *LogDescriptor) (values []interface{})

Get returns all values pointed by specific field from source LogDescriptor

func (*LogDescriptor_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*LogDescriptor_FieldTerminalPath) GetRaw

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

func (*LogDescriptor_FieldTerminalPath) GetSingle

func (fp *LogDescriptor_FieldTerminalPath) GetSingle(source *LogDescriptor) (interface{}, bool)

GetSingle returns value pointed by specific field of from source LogDescriptor

func (*LogDescriptor_FieldTerminalPath) GetSingleRaw

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

func (*LogDescriptor_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*LogDescriptor_FieldTerminalPath) JSONString

func (fp *LogDescriptor_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*LogDescriptor_FieldTerminalPath) Selector

func (*LogDescriptor_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*LogDescriptor_FieldTerminalPath) String

String returns path representation in proto convention

func (*LogDescriptor_FieldTerminalPath) WithIArrayItemValue

func (fp *LogDescriptor_FieldTerminalPath) WithIArrayItemValue(value interface{}) LogDescriptor_FieldPathArrayItemValue

func (*LogDescriptor_FieldTerminalPath) WithIArrayOfValues

func (fp *LogDescriptor_FieldTerminalPath) WithIArrayOfValues(values interface{}) LogDescriptor_FieldPathArrayOfValues

func (*LogDescriptor_FieldTerminalPath) WithIValue

func (fp *LogDescriptor_FieldTerminalPath) WithIValue(value interface{}) LogDescriptor_FieldPathValue

func (*LogDescriptor_FieldTerminalPath) WithRawIArrayItemValue

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

func (*LogDescriptor_FieldTerminalPath) WithRawIArrayOfValues

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

func (*LogDescriptor_FieldTerminalPath) WithRawIValue

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

type LogDescriptor_FieldTerminalPathArrayItemValue

type LogDescriptor_FieldTerminalPathArrayItemValue struct {
	LogDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LogDescriptor_FieldTerminalPathArrayItemValue) AsLabelsItemValue

func (*LogDescriptor_FieldTerminalPathArrayItemValue) AsPromotedLabelKeySetsItemValue

func (fpaiv *LogDescriptor_FieldTerminalPathArrayItemValue) AsPromotedLabelKeySetsItemValue() (*common.LabelKeySet, bool)

func (*LogDescriptor_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*LogDescriptor_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*LogDescriptor_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *LogDescriptor_FieldTerminalPathArrayItemValue) GetSingle(source *LogDescriptor) (interface{}, bool)

func (*LogDescriptor_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type LogDescriptor_FieldTerminalPathArrayOfValues

type LogDescriptor_FieldTerminalPathArrayOfValues struct {
	LogDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LogDescriptor_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues

func (fpaov *LogDescriptor_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues() ([]string, bool)

func (*LogDescriptor_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

func (fpaov *LogDescriptor_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues() ([]string, bool)

func (*LogDescriptor_FieldTerminalPathArrayOfValues) AsLabelsArrayOfValues

func (fpaov *LogDescriptor_FieldTerminalPathArrayOfValues) AsLabelsArrayOfValues() ([][]*common.LabelDescriptor, bool)

func (*LogDescriptor_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

func (fpaov *LogDescriptor_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*meta.Meta, bool)

func (*LogDescriptor_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

func (fpaov *LogDescriptor_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)

func (*LogDescriptor_FieldTerminalPathArrayOfValues) AsPromotedLabelKeySetsArrayOfValues

func (fpaov *LogDescriptor_FieldTerminalPathArrayOfValues) AsPromotedLabelKeySetsArrayOfValues() ([][]*common.LabelKeySet, bool)

func (*LogDescriptor_FieldTerminalPathArrayOfValues) GetRawValues

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

type LogDescriptor_FieldTerminalPathValue

type LogDescriptor_FieldTerminalPathValue struct {
	LogDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LogDescriptor_FieldTerminalPathValue) AsDescriptionValue

func (fpv *LogDescriptor_FieldTerminalPathValue) AsDescriptionValue() (string, bool)

func (*LogDescriptor_FieldTerminalPathValue) AsDisplayNameValue

func (fpv *LogDescriptor_FieldTerminalPathValue) AsDisplayNameValue() (string, bool)

func (*LogDescriptor_FieldTerminalPathValue) AsLabelsValue

func (*LogDescriptor_FieldTerminalPathValue) AsMetadataValue

func (fpv *LogDescriptor_FieldTerminalPathValue) AsMetadataValue() (*meta.Meta, bool)

func (*LogDescriptor_FieldTerminalPathValue) AsNameValue

func (fpv *LogDescriptor_FieldTerminalPathValue) AsNameValue() (*Name, bool)

func (*LogDescriptor_FieldTerminalPathValue) AsPromotedLabelKeySetsValue

func (fpv *LogDescriptor_FieldTerminalPathValue) AsPromotedLabelKeySetsValue() ([]*common.LabelKeySet, bool)

func (*LogDescriptor_FieldTerminalPathValue) CompareWith

func (fpv *LogDescriptor_FieldTerminalPathValue) CompareWith(source *LogDescriptor) (int, bool)

CompareWith compares value in the 'LogDescriptor_FieldTerminalPathValue' with the value under path in 'LogDescriptor'.

func (*LogDescriptor_FieldTerminalPathValue) CompareWithRaw

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

func (*LogDescriptor_FieldTerminalPathValue) GetRawValue

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

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

func (*LogDescriptor_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object LogDescriptor

func (*LogDescriptor_FieldTerminalPathValue) SetToRaw

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

type Name

type Name struct {
	ParentName
	LogDescriptorId string `firestore:"logDescriptorId"`
}

func MustParseName

func MustParseName(name string) *Name

func ParseName

func ParseName(name string) (*Name, error)

func ParseNameOrId

func ParseNameOrId(nameOrId string) (*Name, error)

func (*Name) AsRawReference

func (name *Name) AsRawReference() gotenresource.Reference

func (*Name) AsReference

func (name *Name) AsReference() *Reference

func (*Name) ConvertToNative

func (name *Name) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*Name) ConvertToType

func (name *Name) ConvertToType(typeVal ref.Type) ref.Val

func (*Name) Equal

func (name *Name) Equal(other ref.Val) ref.Val

func (*Name) FullyQualifiedName

func (name *Name) FullyQualifiedName() (string, error)

func (*Name) GetIParentName

func (name *Name) GetIParentName() gotenresource.Name

func (*Name) GetIUnderlyingParentName

func (name *Name) GetIUnderlyingParentName() gotenresource.Name

func (*Name) GetIdParts

func (name *Name) GetIdParts() map[string]string

func (*Name) GetOrganizationName

func (name *Name) GetOrganizationName() *iam_organization.Name

func (*Name) GetPattern

func (name *Name) GetPattern() gotenresource.NamePattern

func (*Name) GetProjectName

func (name *Name) GetProjectName() *iam_project.Name

func (*Name) GetResourceDescriptor

func (name *Name) GetResourceDescriptor() gotenresource.Descriptor

func (*Name) GetSegments

func (name *Name) GetSegments() gotenresource.NameSegments

func (*Name) GetServiceName

func (name *Name) GetServiceName() *meta_service.Name

func (*Name) GotenEqual

func (name *Name) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*Name) HasTrait

func (name *Name) HasTrait(trait int) bool

func (*Name) IsFullyQualified

func (name *Name) IsFullyQualified() bool

func (*Name) IsSpecified

func (name *Name) IsSpecified() bool

func (*Name) Match

func (name *Name) Match(pattern ref.Val) ref.Val

func (*Name) Matches

func (name *Name) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*Name) ParseProtoString

func (name *Name) ParseProtoString(data string) error

func (*Name) ProtoString

func (name *Name) ProtoString() (string, error)

func (*Name) Receive

func (name *Name) Receive(function string, overload string, args []ref.Val) ref.Val

func (*Name) SetFromCliFlag

func (name *Name) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*Name) SetFromSegments

func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error

func (*Name) String

func (name *Name) String() string

func (*Name) Type

func (name *Name) Type() ref.Type

func (*Name) TypeName

func (name *Name) TypeName() string

func (*Name) Value

func (name *Name) Value() interface{}

type NameBuilder

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

func NewNameBuilder

func NewNameBuilder() *NameBuilder

func (*NameBuilder) Name

func (b *NameBuilder) Name() *Name

func (*NameBuilder) Parent

func (b *NameBuilder) Parent() *ParentName

func (*NameBuilder) ParentReference

func (b *NameBuilder) ParentReference() *ParentReference

func (*NameBuilder) Reference

func (b *NameBuilder) Reference() *Reference

func (*NameBuilder) SetId

func (b *NameBuilder) SetId(id string) *NameBuilder

func (*NameBuilder) SetOrganization

func (b *NameBuilder) SetOrganization(parent *iam_organization.Name) *NameBuilder

func (*NameBuilder) SetOrganizationId

func (b *NameBuilder) SetOrganizationId(id string) *NameBuilder

func (*NameBuilder) SetProject

func (b *NameBuilder) SetProject(parent *iam_project.Name) *NameBuilder

func (*NameBuilder) SetProjectId

func (b *NameBuilder) SetProjectId(id string) *NameBuilder

func (*NameBuilder) SetService

func (b *NameBuilder) SetService(parent *meta_service.Name) *NameBuilder

func (*NameBuilder) SetServiceId

func (b *NameBuilder) SetServiceId(id string) *NameBuilder

type NamePattern

type NamePattern struct {
	Pattern gotenresource.NamePattern `firestore:"pattern"`
}

type OrderBy

type OrderBy struct {
	OrderByFields []OrderByField
}

OrderBy Is string encoded Custom Protobuf type, which handles "order_by" field order_by consists of coma delimited OrderBy specs, which denote ordering priority, e.g. "state.value asc, state.capacity desc"

func (*OrderBy) Compare

func (orderBy *OrderBy) Compare(left, right *LogDescriptor) int

func (*OrderBy) CompareRaw

func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *LogDescriptor_FieldMask

func (*OrderBy) GetOrderByFields

func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField

func (*OrderBy) GetRawFieldMask

func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask

func (*OrderBy) InsertSorted

func (orderBy *OrderBy) InsertSorted(sorted LogDescriptorList, elem *LogDescriptor) (LogDescriptorList, int)

func (*OrderBy) InsertSortedRaw

func (orderBy *OrderBy) InsertSortedRaw(sorted gotenresource.ResourceList, elem gotenresource.Resource) (gotenresource.ResourceList, int)

func (*OrderBy) ParseProtoString

func (orderBy *OrderBy) ParseProtoString(data string) error

func (*OrderBy) ProtoString

func (orderBy *OrderBy) ProtoString() (string, error)

func (*OrderBy) SetFromCliFlag

func (orderBy *OrderBy) SetFromCliFlag(raw string) error

func (*OrderBy) Sort

func (orderBy *OrderBy) Sort(results LogDescriptorList)

func (*OrderBy) SortRaw

func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath LogDescriptor_FieldPath
	Direction gotenresource.OrderDirection
}

OrderByField is single item in order_by specification it's string format is composed of 2 white-space separated values: - fieldPath and direction, e.g. "state.capacity desc". if direction is not provided, it defaults to "asc" (ascending)

func (*OrderByField) CompareWithDirection

func (orderByFld *OrderByField) CompareWithDirection(left, right *LogDescriptor) int

func (*OrderByField) GetDirection

func (orderByFld *OrderByField) GetDirection() gotenresource.OrderDirection

func (*OrderByField) GetFieldPath

func (orderByFld *OrderByField) GetFieldPath() gotenobject.FieldPath

type PagerCursor

type PagerCursor struct {
	CursorValue   gotenresource.CursorValue
	Inclusion     gotenresource.CursorInclusion
	PageDirection gotenresource.PageDirection
}

PagerCursor is protobuf Custom Type, which (de)serializes "string page_token" for API List processing Database adapter implementation must use this cursor when Paginating list views Token is composed of 3 values (dot separated in serialized form) - CursorValue: Backend-specific value of the cursor. - PageDirection: either l (left) or r (right), which hints DB Adapter whether Snapshot marks Start or End of result - Inclusion: either i (inclusive) or e (exclusive) - Whether cursor marks exact point or right before/after (depending on direction)

func (*PagerCursor) GetInclusion

func (cursor *PagerCursor) GetInclusion() gotenresource.CursorInclusion

func (*PagerCursor) GetPageDirection

func (cursor *PagerCursor) GetPageDirection() gotenresource.PageDirection

func (*PagerCursor) GetValue

func (cursor *PagerCursor) GetValue() gotenresource.CursorValue

func (*PagerCursor) IsEmpty

func (cursor *PagerCursor) IsEmpty() bool

func (*PagerCursor) ParseProtoString

func (cursor *PagerCursor) ParseProtoString(data string) (err error)

func (*PagerCursor) ProtoString

func (cursor *PagerCursor) ProtoString() (string, error)

func (*PagerCursor) SetCursorValue

func (cursor *PagerCursor) SetCursorValue(value gotenresource.CursorValue)

func (*PagerCursor) SetFromCliFlag

func (cursor *PagerCursor) SetFromCliFlag(raw string) error

func (*PagerCursor) SetInclusion

func (cursor *PagerCursor) SetInclusion(inclusion gotenresource.CursorInclusion)

func (*PagerCursor) SetPageDirection

func (cursor *PagerCursor) SetPageDirection(direction gotenresource.PageDirection)

func (*PagerCursor) String

func (cursor *PagerCursor) String() string

type PagerQuery

type PagerQuery struct {
	OrderBy     *OrderBy
	Cursor      *PagerCursor
	Limit       int
	PeekForward bool
}

PagerQuery is main struct used for assisting server and database to perform Pagination

func MakePagerQuery

func MakePagerQuery(orderBy *OrderBy, cursor *PagerCursor, pageSize int32, peekForward bool) *PagerQuery

MakePagerQuery builds pager from API data and applies defaults

func (*PagerQuery) GetCursor

func (p *PagerQuery) GetCursor() gotenresource.Cursor

func (*PagerQuery) GetLimit

func (p *PagerQuery) GetLimit() int

func (*PagerQuery) GetOrderBy

func (p *PagerQuery) GetOrderBy() gotenresource.OrderBy

func (*PagerQuery) GetPeekForward

func (p *PagerQuery) GetPeekForward() bool

func (*PagerQuery) GetResourceDescriptor

func (p *PagerQuery) GetResourceDescriptor() gotenresource.Descriptor

func (*PagerQuery) PageDirection

func (p *PagerQuery) PageDirection() gotenresource.PageDirection

func (*PagerQuery) SetCursor

func (p *PagerQuery) SetCursor(cursor gotenresource.Cursor)

func (*PagerQuery) SetLimit

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy

func (p *PagerQuery) SetOrderBy(orderBy gotenresource.OrderBy)

func (*PagerQuery) SetPageDirection

func (p *PagerQuery) SetPageDirection(direction gotenresource.PageDirection)

func (*PagerQuery) SetPeekForward

func (p *PagerQuery) SetPeekForward(peekForward bool)

type ParentName

type ParentName struct {
	NamePattern
	ProjectId      string `firestore:"projectId"`
	OrganizationId string `firestore:"organizationId"`
	ServiceId      string `firestore:"serviceId"`
}

func MustParseParentName

func MustParseParentName(name string) *ParentName

func ParseParentName

func ParseParentName(name string) (*ParentName, error)

func (*ParentName) AsRawReference

func (name *ParentName) AsRawReference() gotenresource.Reference

func (*ParentName) AsReference

func (name *ParentName) AsReference() *ParentReference

func (*ParentName) ConvertToNative

func (name *ParentName) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*ParentName) ConvertToType

func (name *ParentName) ConvertToType(typeVal ref.Type) ref.Val

func (*ParentName) DescendsFrom

func (name *ParentName) DescendsFrom(ancestor string) bool

func (*ParentName) Equal

func (name *ParentName) Equal(other ref.Val) ref.Val

func (*ParentName) FullyQualifiedName

func (name *ParentName) FullyQualifiedName() (string, error)

func (*ParentName) GetIParentName

func (name *ParentName) GetIParentName() gotenresource.Name

func (*ParentName) GetIUnderlyingParentName

func (name *ParentName) GetIUnderlyingParentName() gotenresource.Name

func (*ParentName) GetIdParts

func (name *ParentName) GetIdParts() map[string]string

func (*ParentName) GetOrganizationName

func (name *ParentName) GetOrganizationName() *iam_organization.Name

func (*ParentName) GetPattern

func (name *ParentName) GetPattern() gotenresource.NamePattern

func (*ParentName) GetProjectName

func (name *ParentName) GetProjectName() *iam_project.Name

func (*ParentName) GetResourceDescriptor

func (name *ParentName) GetResourceDescriptor() gotenresource.Descriptor

func (*ParentName) GetSegments

func (name *ParentName) GetSegments() gotenresource.NameSegments

func (*ParentName) GetServiceName

func (name *ParentName) GetServiceName() *meta_service.Name

func (*ParentName) GotenEqual

func (name *ParentName) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*ParentName) HasTrait

func (name *ParentName) HasTrait(trait int) bool

func (*ParentName) IsFullyQualified

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified

func (name *ParentName) IsSpecified() bool

func (*ParentName) Match

func (name *ParentName) Match(pattern ref.Val) ref.Val

func (*ParentName) Matches

func (name *ParentName) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*ParentName) ParseProtoString

func (name *ParentName) ParseProtoString(data string) error

func (*ParentName) ProtoString

func (name *ParentName) ProtoString() (string, error)

func (*ParentName) Receive

func (name *ParentName) Receive(function string, overload string, args []ref.Val) ref.Val

func (*ParentName) SetFromCliFlag

func (name *ParentName) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*ParentName) SetFromSegments

func (name *ParentName) SetFromSegments(segments gotenresource.NameSegments) error

func (*ParentName) String

func (name *ParentName) String() string

func (*ParentName) Type

func (name *ParentName) Type() ref.Type

func (*ParentName) TypeName

func (name *ParentName) TypeName() string

func (*ParentName) Value

func (name *ParentName) Value() interface{}

type ParentReference

type ParentReference struct {
	ParentName
	// contains filtered or unexported fields
}

func MakeParentReference

func MakeParentReference(name *ParentName) (*ParentReference, error)

func MustParseParentReference

func MustParseParentReference(name string) *ParentReference

func ParseParentReference

func ParseParentReference(name string) (*ParentReference, error)

func (*ParentReference) ClearCached

func (ref *ParentReference) ClearCached()

func (*ParentReference) GetIParentName

func (ref *ParentReference) GetIParentName() gotenresource.Name

func (*ParentReference) GetIUnderlyingParentName

func (ref *ParentReference) GetIUnderlyingParentName() gotenresource.Name

func (*ParentReference) GetIdParts

func (ref *ParentReference) GetIdParts() map[string]string

func (*ParentReference) GetOrganization

func (ref *ParentReference) GetOrganization() *iam_organization.Organization

func (*ParentReference) GetOrganizationReference

func (ref *ParentReference) GetOrganizationReference() *iam_organization.Reference

func (*ParentReference) GetPattern

func (ref *ParentReference) GetPattern() gotenresource.NamePattern

func (*ParentReference) GetProject

func (ref *ParentReference) GetProject() *iam_project.Project

func (*ParentReference) GetProjectReference

func (ref *ParentReference) GetProjectReference() *iam_project.Reference

func (*ParentReference) GetRawResource

func (ref *ParentReference) GetRawResource() gotenresource.Resource

func (*ParentReference) GetResourceDescriptor

func (ref *ParentReference) GetResourceDescriptor() gotenresource.Descriptor

func (*ParentReference) GetSegments

func (ref *ParentReference) GetSegments() gotenresource.NameSegments

func (*ParentReference) GetService

func (ref *ParentReference) GetService() *meta_service.Service

func (*ParentReference) GetServiceReference

func (ref *ParentReference) GetServiceReference() *meta_service.Reference

func (*ParentReference) GetUnderlyingReference

func (ref *ParentReference) GetUnderlyingReference() gotenresource.Reference

func (*ParentReference) GotenEqual

func (ref *ParentReference) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*ParentReference) IsFullyQualified

func (ref *ParentReference) IsFullyQualified() bool

func (*ParentReference) IsSpecified

func (ref *ParentReference) IsSpecified() bool

func (*ParentReference) Matches

func (name *ParentReference) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*ParentReference) ParseProtoString

func (ref *ParentReference) ParseProtoString(data string) error

func (*ParentReference) ProtoString

func (ref *ParentReference) ProtoString() (string, error)

func (*ParentReference) ResolveRaw

func (ref *ParentReference) ResolveRaw(res gotenresource.Resource) error

func (*ParentReference) Resolved

func (ref *ParentReference) Resolved() bool

func (*ParentReference) SetFromCliFlag

func (ref *ParentReference) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*ParentReference) String

func (ref *ParentReference) String() string

type QueryResultChange

type QueryResultChange struct {
	Changes        []*LogDescriptorChange
	PrevPageCursor *PagerCursor
	NextPageCursor *PagerCursor
	ResumeToken    string
	IsCurrent      bool
	IsHardReset    bool
	IsSoftReset    bool
	SnapshotSize   int64
}

func (*QueryResultChange) GetIsCurrent

func (qr *QueryResultChange) GetIsCurrent() bool

func (*QueryResultChange) GetIsHardReset

func (qr *QueryResultChange) GetIsHardReset() bool

func (*QueryResultChange) GetIsSoftReset

func (qr *QueryResultChange) GetIsSoftReset() bool

func (*QueryResultChange) GetNextPageCursor

func (qr *QueryResultChange) GetNextPageCursor() gotenresource.Cursor

func (*QueryResultChange) GetPrevPageCursor

func (qr *QueryResultChange) GetPrevPageCursor() gotenresource.Cursor

func (*QueryResultChange) GetResults

func (*QueryResultChange) GetResumeToken

func (qr *QueryResultChange) GetResumeToken() string

func (*QueryResultChange) GetSnapshotSize

func (qr *QueryResultChange) GetSnapshotSize() int64

func (*QueryResultChange) SetCursors

func (qr *QueryResultChange) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)

func (*QueryResultChange) SetIsCurrent

func (qr *QueryResultChange) SetIsCurrent()

func (*QueryResultChange) SetIsHardReset

func (qr *QueryResultChange) SetIsHardReset()

func (*QueryResultChange) SetIsSoftReset

func (qr *QueryResultChange) SetIsSoftReset()

func (*QueryResultChange) SetResults

func (qr *QueryResultChange) SetResults(results gotenresource.ResourceChangeList)

func (*QueryResultChange) SetResumeToken

func (qr *QueryResultChange) SetResumeToken(token string)

func (*QueryResultChange) SetSnapshotSize

func (qr *QueryResultChange) SetSnapshotSize(size int64)

type QueryResultSnapshot

type QueryResultSnapshot struct {
	LogDescriptors    []*LogDescriptor
	PrevPageCursor    *PagerCursor
	NextPageCursor    *PagerCursor
	TotalResultsCount int32
	CurrentOffset     int32
}

func (*QueryResultSnapshot) GetNextPageCursor

func (qr *QueryResultSnapshot) GetNextPageCursor() gotenresource.Cursor

func (*QueryResultSnapshot) GetPagingInfo

func (qr *QueryResultSnapshot) GetPagingInfo() (totalCount, offset int32)

func (*QueryResultSnapshot) GetPrevPageCursor

func (qr *QueryResultSnapshot) GetPrevPageCursor() gotenresource.Cursor

func (*QueryResultSnapshot) GetResults

func (*QueryResultSnapshot) SetCursors

func (qr *QueryResultSnapshot) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)

func (*QueryResultSnapshot) SetPagingInfo

func (qr *QueryResultSnapshot) SetPagingInfo(totalCount, offset int32)

func (*QueryResultSnapshot) SetResults

func (qr *QueryResultSnapshot) SetResults(results gotenresource.ResourceList)

type Reference

type Reference struct {
	Name
	// contains filtered or unexported fields
}

func MakeReference

func MakeReference(name *Name, logDescriptor *LogDescriptor) (*Reference, error)

func MustParseReference

func MustParseReference(name string) *Reference

func ParseReference

func ParseReference(name string) (*Reference, error)

func (*Reference) ClearCached

func (ref *Reference) ClearCached()

func (*Reference) FullyQualifiedName

func (ref *Reference) FullyQualifiedName() (string, error)

func (*Reference) GetIParentName

func (ref *Reference) GetIParentName() gotenresource.Name

func (*Reference) GetIUnderlyingParentName

func (ref *Reference) GetIUnderlyingParentName() gotenresource.Name

func (*Reference) GetIdParts

func (ref *Reference) GetIdParts() map[string]string

func (*Reference) GetLogDescriptor

func (ref *Reference) GetLogDescriptor() *LogDescriptor

func (*Reference) GetPattern

func (ref *Reference) GetPattern() gotenresource.NamePattern

func (*Reference) GetRawResource

func (ref *Reference) GetRawResource() gotenresource.Resource

func (*Reference) GetResourceDescriptor

func (ref *Reference) GetResourceDescriptor() gotenresource.Descriptor

func (*Reference) GetSegments

func (ref *Reference) GetSegments() gotenresource.NameSegments

func (*Reference) GotenEqual

func (ref *Reference) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*Reference) IsFullyQualified

func (ref *Reference) IsFullyQualified() bool

func (*Reference) IsSpecified

func (ref *Reference) IsSpecified() bool

func (*Reference) Matches

func (name *Reference) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*Reference) ParseProtoString

func (ref *Reference) ParseProtoString(data string) error

func (*Reference) ProtoString

func (ref *Reference) ProtoString() (string, error)

func (*Reference) Resolve

func (ref *Reference) Resolve(resolved *LogDescriptor)

func (*Reference) ResolveRaw

func (ref *Reference) ResolveRaw(res gotenresource.Resource) error

func (*Reference) Resolved

func (ref *Reference) Resolved() bool

func (*Reference) SetFromCliFlag

func (ref *Reference) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*Reference) String

func (ref *Reference) String() string

type WatchQuery

type WatchQuery struct {
	ListQuery
	WatchType    watch_type.WatchType
	ChunkSize    int
	ResumeToken  string
	StartingTime *timestamppb.Timestamp
}

func (*WatchQuery) GetMaximumChunkSize

func (q *WatchQuery) GetMaximumChunkSize() int

func (*WatchQuery) GetResumeToken

func (q *WatchQuery) GetResumeToken() string

func (*WatchQuery) GetStartingTime

func (q *WatchQuery) GetStartingTime() *timestamppb.Timestamp

func (*WatchQuery) GetWatchType

func (q *WatchQuery) GetWatchType() watch_type.WatchType

func (*WatchQuery) SetMaximumChunkSize

func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)

func (*WatchQuery) SetResumeToken

func (q *WatchQuery) SetResumeToken(token string)

func (*WatchQuery) SetStartingTime

func (q *WatchQuery) SetStartingTime(startingTime *timestamppb.Timestamp)

func (*WatchQuery) SetWatchType

func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)

func (*WatchQuery) String

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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