monitored_resource_descriptor

package
v0.12.72 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Nil = "monitoredResourceDescriptors/{monitored_resource_descriptor}"
)

Variables

This section is empty.

Functions

Types

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) GetNameDescriptor

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

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 added in v0.4.16

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

func (*Descriptor) NewResourceFilter added in v0.4.16

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 added in v0.4.16

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

func (*Descriptor) NewResourcePager added in v0.9.0

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)

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 *MonitoredResourceDescriptor) 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 []*MonitoredResourceDescriptor) (out []*MonitoredResourceDescriptor)

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 MonitoredResourceDescriptor_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 *MonitoredResourceDescriptor) bool

	// Whether this condition is at least as specific as other.
	// When true, any MonitoredResourceDescriptor 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 MonitoredResourceDescriptor_FieldPath) bool
	// contains filtered or unexported methods
}

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	MonitoredResourceDescriptor_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

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 (*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 (*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 (*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 (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

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 (*FilterConditionContains) SpecifiesRawFieldPath

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

func (*FilterConditionContains) String

func (cond *FilterConditionContains) String() string

type FilterConditionIn

type FilterConditionIn struct {
	MonitoredResourceDescriptor_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *MonitoredResourceDescriptor) 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 MonitoredResourceDescriptor_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 MonitoredResourceDescriptor_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

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 (*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 MonitoredResourceDescriptor_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

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 (*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 (*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 MonitoredResourceDescriptor_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 {
	MonitoredResourceDescriptor_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

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 (*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      *MonitoredResourceDescriptor_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           *MonitoredResourceDescriptor_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 added in v0.10.1

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 added in v0.10.1

func (q *ListQuery) SetWithPagingInfo(with bool)

func (*ListQuery) String

func (q *ListQuery) String() string

type MonitoredResourceDescriptor

type MonitoredResourceDescriptor struct {

	// Optional. The resource name of the monitored resource descriptor:
	// `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where
	// {type} is the value of the `type` field in this object and
	// {project_id} is a project ID that provides API-specific context for
	// accessing the type.  APIs that do not use project information can use the
	// resource name format `"monitoredResourceDescriptors/{type}"`.
	// NOTE: currently only `"monitoredResourceDescriptors/{type}"` form is
	// supported.
	Name *Name `protobuf:"bytes,5,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Required. The monitored resource type. For example, the type
	// `"cloudsql_database"` represents databases in Google Cloud SQL.
	// The maximum length of this value is 256 characters.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" firestore:"type"`
	// Optional. A concise name for the monitored resource type that might be
	// displayed in user interfaces. It should be a Title Cased Noun Phrase,
	// without any article or other determiners. For example,
	// `"Google Cloud SQL Database"`.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// Optional. A detailed description of the monitored resource type that might
	// be used in documentation.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" firestore:"description"`
	// Required. A set of labels used to describe instances of this monitored
	// resource type. For example, an individual Google Cloud SQL database is
	// identified by values for the labels `"database_id"` and `"zone"`.
	Labels []*monitoring_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. Metric promoted label sets
	// are combined with MonitoredResource promoted label sets and result in
	// PromotedKeySet.
	PromotedLabelKeySets []*monitoring_common.LabelKeySet `` /* 159-byte string literal not displayed */
	// Metadata
	Metadata *ntt_meta.Meta `protobuf:"bytes,33,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// contains filtered or unexported fields
}

An object that describes the schema of a [MonitoredResource][google.api.MonitoredResource] object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of `"gce_instance"` and specifies the use of the labels `"instance_id"` and `"zone"` to identify particular VM instances.

Different APIs can support different monitored resource types. APIs generally provide a `list` method that returns the monitored resource descriptors used by the API.

func (*MonitoredResourceDescriptor) Clone

func (*MonitoredResourceDescriptor) CloneRaw

func (*MonitoredResourceDescriptor) Descriptor

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

Deprecated, Use MonitoredResourceDescriptor.ProtoReflect.Descriptor instead.

func (*MonitoredResourceDescriptor) GetDescription

func (m *MonitoredResourceDescriptor) GetDescription() string

func (*MonitoredResourceDescriptor) GetDisplayName

func (m *MonitoredResourceDescriptor) GetDisplayName() string

func (*MonitoredResourceDescriptor) GetLabels

func (*MonitoredResourceDescriptor) GetMetadata

func (m *MonitoredResourceDescriptor) GetMetadata() *ntt_meta.Meta

func (*MonitoredResourceDescriptor) GetName

func (m *MonitoredResourceDescriptor) GetName() *Name

func (*MonitoredResourceDescriptor) GetPromotedLabelKeySets

func (m *MonitoredResourceDescriptor) GetPromotedLabelKeySets() []*monitoring_common.LabelKeySet

func (*MonitoredResourceDescriptor) GetRawName

func (*MonitoredResourceDescriptor) GetResourceDescriptor

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

func (*MonitoredResourceDescriptor) GetType

func (m *MonitoredResourceDescriptor) GetType() string

func (*MonitoredResourceDescriptor) GotenMessage

func (*MonitoredResourceDescriptor) GotenMessage()

func (*MonitoredResourceDescriptor) GotenObjectExt

func (o *MonitoredResourceDescriptor) GotenObjectExt()

func (*MonitoredResourceDescriptor) GotenValidate

func (obj *MonitoredResourceDescriptor) GotenValidate() error

func (*MonitoredResourceDescriptor) MakeDiffFieldMask

func (*MonitoredResourceDescriptor) MakeFullFieldMask

func (*MonitoredResourceDescriptor) MakeRawDiffFieldMask

func (*MonitoredResourceDescriptor) MakeRawFullFieldMask

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

func (*MonitoredResourceDescriptor) Marshal

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

func (*MonitoredResourceDescriptor) MarshalJSON

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

func (*MonitoredResourceDescriptor) MaybePopulateDefaults

func (r *MonitoredResourceDescriptor) MaybePopulateDefaults() error

func (*MonitoredResourceDescriptor) Merge

func (*MonitoredResourceDescriptor) MergeRaw

func (*MonitoredResourceDescriptor) ProtoMessage

func (*MonitoredResourceDescriptor) ProtoMessage()

func (*MonitoredResourceDescriptor) ProtoReflect

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

func (*MonitoredResourceDescriptor) Reset

func (m *MonitoredResourceDescriptor) Reset()

func (*MonitoredResourceDescriptor) SetDescription

func (m *MonitoredResourceDescriptor) SetDescription(fv string)

func (*MonitoredResourceDescriptor) SetDisplayName

func (m *MonitoredResourceDescriptor) SetDisplayName(fv string)

func (*MonitoredResourceDescriptor) SetLabels

func (*MonitoredResourceDescriptor) SetMetadata

func (m *MonitoredResourceDescriptor) SetMetadata(fv *ntt_meta.Meta)

func (*MonitoredResourceDescriptor) SetName

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

func (*MonitoredResourceDescriptor) SetPromotedLabelKeySets

func (m *MonitoredResourceDescriptor) SetPromotedLabelKeySets(fv []*monitoring_common.LabelKeySet)

func (*MonitoredResourceDescriptor) SetType

func (m *MonitoredResourceDescriptor) SetType(fv string)

func (*MonitoredResourceDescriptor) String

func (m *MonitoredResourceDescriptor) String() string

func (*MonitoredResourceDescriptor) Unmarshal

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

func (*MonitoredResourceDescriptor) UnmarshalJSON

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

type MonitoredResourceDescriptorAccess

type MonitoredResourceDescriptorAccess interface {
	GetMonitoredResourceDescriptor(context.Context, *GetQuery) (*MonitoredResourceDescriptor, error)
	BatchGetMonitoredResourceDescriptors(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryMonitoredResourceDescriptors(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchMonitoredResourceDescriptor(context.Context, *GetQuery, func(*MonitoredResourceDescriptorChange) error) error
	WatchMonitoredResourceDescriptors(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveMonitoredResourceDescriptor(context.Context, *MonitoredResourceDescriptor, ...gotenresource.SaveOption) error
	DeleteMonitoredResourceDescriptor(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type MonitoredResourceDescriptorChange

type MonitoredResourceDescriptorChange struct {

	// MonitoredResourceDescriptor change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*MonitoredResourceDescriptorChange_Added_
	//	*MonitoredResourceDescriptorChange_Modified_
	//	*MonitoredResourceDescriptorChange_Current_
	//	*MonitoredResourceDescriptorChange_Removed_
	ChangeType isMonitoredResourceDescriptorChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*MonitoredResourceDescriptorChange) Descriptor

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

Deprecated, Use MonitoredResourceDescriptorChange.ProtoReflect.Descriptor instead.

func (*MonitoredResourceDescriptorChange) GetAdded

func (*MonitoredResourceDescriptorChange) GetChangeType

func (m *MonitoredResourceDescriptorChange) GetChangeType() isMonitoredResourceDescriptorChange_ChangeType

func (*MonitoredResourceDescriptorChange) GetCurrent

func (*MonitoredResourceDescriptorChange) GetCurrentViewIndex

func (c *MonitoredResourceDescriptorChange) GetCurrentViewIndex() int32

func (*MonitoredResourceDescriptorChange) GetModified

func (*MonitoredResourceDescriptorChange) GetMonitoredResourceDescriptor

func (c *MonitoredResourceDescriptorChange) GetMonitoredResourceDescriptor() *MonitoredResourceDescriptor

func (*MonitoredResourceDescriptorChange) GetMonitoredResourceDescriptorName

func (c *MonitoredResourceDescriptorChange) GetMonitoredResourceDescriptorName() *Name

func (*MonitoredResourceDescriptorChange) GetPreviousViewIndex

func (c *MonitoredResourceDescriptorChange) GetPreviousViewIndex() int32

func (*MonitoredResourceDescriptorChange) GetRawName

func (*MonitoredResourceDescriptorChange) GetRawResource added in v0.5.1

func (*MonitoredResourceDescriptorChange) GetRemoved

func (*MonitoredResourceDescriptorChange) GotenMessage

func (*MonitoredResourceDescriptorChange) GotenMessage()

func (*MonitoredResourceDescriptorChange) GotenValidate

func (obj *MonitoredResourceDescriptorChange) GotenValidate() error

func (*MonitoredResourceDescriptorChange) IsAdd

func (*MonitoredResourceDescriptorChange) IsCurrent

func (c *MonitoredResourceDescriptorChange) IsCurrent() bool

func (*MonitoredResourceDescriptorChange) IsDelete

func (*MonitoredResourceDescriptorChange) IsModify

func (*MonitoredResourceDescriptorChange) Marshal

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

func (*MonitoredResourceDescriptorChange) MarshalJSON

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

func (*MonitoredResourceDescriptorChange) ProtoMessage

func (*MonitoredResourceDescriptorChange) ProtoMessage()

func (*MonitoredResourceDescriptorChange) ProtoReflect

func (*MonitoredResourceDescriptorChange) Reset

func (*MonitoredResourceDescriptorChange) SetAdded

func (*MonitoredResourceDescriptorChange) SetAddedRaw

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

func (*MonitoredResourceDescriptorChange) SetChangeType

func (m *MonitoredResourceDescriptorChange) SetChangeType(ofv isMonitoredResourceDescriptorChange_ChangeType)

func (*MonitoredResourceDescriptorChange) SetCurrent

func (*MonitoredResourceDescriptorChange) SetCurrentRaw

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

func (*MonitoredResourceDescriptorChange) SetDeletedRaw

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

func (*MonitoredResourceDescriptorChange) SetModified

func (*MonitoredResourceDescriptorChange) SetModifiedRaw

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

func (*MonitoredResourceDescriptorChange) SetRemoved

func (*MonitoredResourceDescriptorChange) String

func (*MonitoredResourceDescriptorChange) Unmarshal

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

func (*MonitoredResourceDescriptorChange) UnmarshalJSON

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

type MonitoredResourceDescriptorChangeList

type MonitoredResourceDescriptorChangeList []*MonitoredResourceDescriptorChange

func (MonitoredResourceDescriptorChangeList) Append

func (MonitoredResourceDescriptorChangeList) AppendList

func (MonitoredResourceDescriptorChangeList) At

func (MonitoredResourceDescriptorChangeList) Length

func (MonitoredResourceDescriptorChangeList) Set

func (MonitoredResourceDescriptorChangeList) Slice

type MonitoredResourceDescriptorChangeMap

type MonitoredResourceDescriptorChangeMap map[Name]*MonitoredResourceDescriptorChange

func (MonitoredResourceDescriptorChangeMap) Delete

func (MonitoredResourceDescriptorChangeMap) ForEach

func (MonitoredResourceDescriptorChangeMap) Get

func (MonitoredResourceDescriptorChangeMap) Length

func (MonitoredResourceDescriptorChangeMap) Set

type MonitoredResourceDescriptorChange_Added

type MonitoredResourceDescriptorChange_Added struct {
	MonitoredResourceDescriptor *MonitoredResourceDescriptor `` /* 184-byte string literal not displayed */
	// Integer describing index of added MonitoredResourceDescriptor 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
}

MonitoredResourceDescriptor has been added to query view

func (*MonitoredResourceDescriptorChange_Added) Descriptor

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

Deprecated, Use MonitoredResourceDescriptorChange_Added.ProtoReflect.Descriptor instead.

func (*MonitoredResourceDescriptorChange_Added) GetMonitoredResourceDescriptor

func (m *MonitoredResourceDescriptorChange_Added) GetMonitoredResourceDescriptor() *MonitoredResourceDescriptor

func (*MonitoredResourceDescriptorChange_Added) GetViewIndex

func (*MonitoredResourceDescriptorChange_Added) GotenMessage

func (*MonitoredResourceDescriptorChange_Added) GotenValidate

func (obj *MonitoredResourceDescriptorChange_Added) GotenValidate() error

func (*MonitoredResourceDescriptorChange_Added) Marshal

func (*MonitoredResourceDescriptorChange_Added) MarshalJSON

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

func (*MonitoredResourceDescriptorChange_Added) ProtoMessage

func (*MonitoredResourceDescriptorChange_Added) ProtoReflect

func (*MonitoredResourceDescriptorChange_Added) Reset

func (*MonitoredResourceDescriptorChange_Added) SetMonitoredResourceDescriptor

func (m *MonitoredResourceDescriptorChange_Added) SetMonitoredResourceDescriptor(fv *MonitoredResourceDescriptor)

func (*MonitoredResourceDescriptorChange_Added) SetViewIndex

func (m *MonitoredResourceDescriptorChange_Added) SetViewIndex(fv int32)

func (*MonitoredResourceDescriptorChange_Added) String

func (*MonitoredResourceDescriptorChange_Added) Unmarshal

func (*MonitoredResourceDescriptorChange_Added) UnmarshalJSON

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

type MonitoredResourceDescriptorChange_Added_

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

type MonitoredResourceDescriptorChange_Current

type MonitoredResourceDescriptorChange_Current struct {
	MonitoredResourceDescriptor *MonitoredResourceDescriptor `` /* 184-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*MonitoredResourceDescriptorChange_Current) Descriptor

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

Deprecated, Use MonitoredResourceDescriptorChange_Current.ProtoReflect.Descriptor instead.

func (*MonitoredResourceDescriptorChange_Current) GetMonitoredResourceDescriptor

func (m *MonitoredResourceDescriptorChange_Current) GetMonitoredResourceDescriptor() *MonitoredResourceDescriptor

func (*MonitoredResourceDescriptorChange_Current) GotenMessage

func (*MonitoredResourceDescriptorChange_Current) GotenValidate

func (obj *MonitoredResourceDescriptorChange_Current) GotenValidate() error

func (*MonitoredResourceDescriptorChange_Current) Marshal

func (*MonitoredResourceDescriptorChange_Current) MarshalJSON

func (*MonitoredResourceDescriptorChange_Current) ProtoMessage

func (*MonitoredResourceDescriptorChange_Current) ProtoReflect

func (*MonitoredResourceDescriptorChange_Current) Reset

func (*MonitoredResourceDescriptorChange_Current) SetMonitoredResourceDescriptor

func (m *MonitoredResourceDescriptorChange_Current) SetMonitoredResourceDescriptor(fv *MonitoredResourceDescriptor)

func (*MonitoredResourceDescriptorChange_Current) String

func (*MonitoredResourceDescriptorChange_Current) Unmarshal

func (*MonitoredResourceDescriptorChange_Current) UnmarshalJSON

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

type MonitoredResourceDescriptorChange_Current_

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

type MonitoredResourceDescriptorChange_Modified

type MonitoredResourceDescriptorChange_Modified struct {

	// Name of modified MonitoredResourceDescriptor
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// New version of MonitoredResourceDescriptor or masked difference,
	// depending on mask_changes instrumentation of issued
	// [WatchMonitoredResourceDescriptorRequest] or
	// [WatchMonitoredResourceDescriptorsRequest]
	MonitoredResourceDescriptor *MonitoredResourceDescriptor `` /* 184-byte string literal not displayed */
	// Used when mask_changes is set, contains field paths of modified
	// properties.
	FieldMask *MonitoredResourceDescriptor_FieldMask `` /* 159-byte string literal not displayed */
	// Previous view index specifies previous position of modified
	// MonitoredResourceDescriptor. When modification doesn't affect sorted
	// order, value will remain identical to [view_index].
	PreviousViewIndex int32 `` /* 145-byte string literal not displayed */
	// Integer specifying MonitoredResourceDescriptor 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
}

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

func (*MonitoredResourceDescriptorChange_Modified) Descriptor

Deprecated, Use MonitoredResourceDescriptorChange_Modified.ProtoReflect.Descriptor instead.

func (*MonitoredResourceDescriptorChange_Modified) GetFieldMask

func (*MonitoredResourceDescriptorChange_Modified) GetMonitoredResourceDescriptor

func (m *MonitoredResourceDescriptorChange_Modified) GetMonitoredResourceDescriptor() *MonitoredResourceDescriptor

func (*MonitoredResourceDescriptorChange_Modified) GetName

func (*MonitoredResourceDescriptorChange_Modified) GetPreviousViewIndex

func (m *MonitoredResourceDescriptorChange_Modified) GetPreviousViewIndex() int32

func (*MonitoredResourceDescriptorChange_Modified) GetViewIndex

func (*MonitoredResourceDescriptorChange_Modified) GotenMessage

func (*MonitoredResourceDescriptorChange_Modified) GotenValidate

func (*MonitoredResourceDescriptorChange_Modified) Marshal

func (*MonitoredResourceDescriptorChange_Modified) MarshalJSON

func (*MonitoredResourceDescriptorChange_Modified) ProtoMessage

func (*MonitoredResourceDescriptorChange_Modified) ProtoReflect

func (*MonitoredResourceDescriptorChange_Modified) Reset

func (*MonitoredResourceDescriptorChange_Modified) SetFieldMask

func (*MonitoredResourceDescriptorChange_Modified) SetMonitoredResourceDescriptor

func (m *MonitoredResourceDescriptorChange_Modified) SetMonitoredResourceDescriptor(fv *MonitoredResourceDescriptor)

func (*MonitoredResourceDescriptorChange_Modified) SetName

func (*MonitoredResourceDescriptorChange_Modified) SetPreviousViewIndex

func (m *MonitoredResourceDescriptorChange_Modified) SetPreviousViewIndex(fv int32)

func (*MonitoredResourceDescriptorChange_Modified) SetViewIndex

func (*MonitoredResourceDescriptorChange_Modified) String

func (*MonitoredResourceDescriptorChange_Modified) Unmarshal

func (*MonitoredResourceDescriptorChange_Modified) UnmarshalJSON

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

type MonitoredResourceDescriptorChange_Modified_

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

type MonitoredResourceDescriptorChange_Removed

type MonitoredResourceDescriptorChange_Removed struct {
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Integer specifying removed MonitoredResourceDescriptor 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 MonitoredResourceDescriptor is deleted or leaves Query view

func (*MonitoredResourceDescriptorChange_Removed) Descriptor

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

Deprecated, Use MonitoredResourceDescriptorChange_Removed.ProtoReflect.Descriptor instead.

func (*MonitoredResourceDescriptorChange_Removed) GetName

func (*MonitoredResourceDescriptorChange_Removed) GetViewIndex

func (*MonitoredResourceDescriptorChange_Removed) GotenMessage

func (*MonitoredResourceDescriptorChange_Removed) GotenValidate

func (obj *MonitoredResourceDescriptorChange_Removed) GotenValidate() error

func (*MonitoredResourceDescriptorChange_Removed) Marshal

func (*MonitoredResourceDescriptorChange_Removed) MarshalJSON

func (*MonitoredResourceDescriptorChange_Removed) ProtoMessage

func (*MonitoredResourceDescriptorChange_Removed) ProtoReflect

func (*MonitoredResourceDescriptorChange_Removed) Reset

func (*MonitoredResourceDescriptorChange_Removed) SetName

func (*MonitoredResourceDescriptorChange_Removed) SetViewIndex

func (*MonitoredResourceDescriptorChange_Removed) String

func (*MonitoredResourceDescriptorChange_Removed) Unmarshal

func (*MonitoredResourceDescriptorChange_Removed) UnmarshalJSON

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

type MonitoredResourceDescriptorChange_Removed_

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

type MonitoredResourceDescriptorFieldPathBuilder

type MonitoredResourceDescriptorFieldPathBuilder struct{}

func NewMonitoredResourceDescriptorFieldPathBuilder

func NewMonitoredResourceDescriptorFieldPathBuilder() MonitoredResourceDescriptorFieldPathBuilder

func (MonitoredResourceDescriptorFieldPathBuilder) Description

func (MonitoredResourceDescriptorFieldPathBuilder) DisplayName

func (MonitoredResourceDescriptorFieldPathBuilder) Labels

func (MonitoredResourceDescriptorFieldPathBuilder) Metadata

func (MonitoredResourceDescriptorFieldPathBuilder) Name

func (MonitoredResourceDescriptorFieldPathBuilder) PromotedLabelKeySets

func (MonitoredResourceDescriptorFieldPathBuilder) Type

type MonitoredResourceDescriptorList

type MonitoredResourceDescriptorList []*MonitoredResourceDescriptor

func (MonitoredResourceDescriptorList) Append

func (MonitoredResourceDescriptorList) AppendList

func (MonitoredResourceDescriptorList) At

func (MonitoredResourceDescriptorList) Length

func (MonitoredResourceDescriptorList) Set

func (MonitoredResourceDescriptorList) Slice

type MonitoredResourceDescriptorMap

type MonitoredResourceDescriptorMap map[Name]*MonitoredResourceDescriptor

func (MonitoredResourceDescriptorMap) Delete

func (MonitoredResourceDescriptorMap) ForEach

func (MonitoredResourceDescriptorMap) Get

func (MonitoredResourceDescriptorMap) Length

func (MonitoredResourceDescriptorMap) Set

type MonitoredResourceDescriptorMapPathSelectorMetadataAnnotations

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

func (MonitoredResourceDescriptorMapPathSelectorMetadataAnnotations) FieldPath

func (MonitoredResourceDescriptorMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (MonitoredResourceDescriptorMapPathSelectorMetadataAnnotations) WithValue

type MonitoredResourceDescriptorMapPathSelectorMetadataLabels

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

func (MonitoredResourceDescriptorMapPathSelectorMetadataLabels) FieldPath

func (MonitoredResourceDescriptorMapPathSelectorMetadataLabels) WithArrayOfValues

func (MonitoredResourceDescriptorMapPathSelectorMetadataLabels) WithValue

type MonitoredResourceDescriptorMapPathSelectorMetadataShards

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

func (MonitoredResourceDescriptorMapPathSelectorMetadataShards) FieldPath

func (MonitoredResourceDescriptorMapPathSelectorMetadataShards) WithArrayOfValues

func (MonitoredResourceDescriptorMapPathSelectorMetadataShards) WithValue

type MonitoredResourceDescriptorNameList

type MonitoredResourceDescriptorNameList []*Name

func (MonitoredResourceDescriptorNameList) Append

func (MonitoredResourceDescriptorNameList) AppendList

func (MonitoredResourceDescriptorNameList) At

func (MonitoredResourceDescriptorNameList) Length

func (MonitoredResourceDescriptorNameList) Set

func (MonitoredResourceDescriptorNameList) Slice

type MonitoredResourceDescriptorPathSelectorDescription

type MonitoredResourceDescriptorPathSelectorDescription struct{}

func (MonitoredResourceDescriptorPathSelectorDescription) FieldPath

func (MonitoredResourceDescriptorPathSelectorDescription) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorDescription) WithValue

type MonitoredResourceDescriptorPathSelectorDisplayName

type MonitoredResourceDescriptorPathSelectorDisplayName struct{}

func (MonitoredResourceDescriptorPathSelectorDisplayName) FieldPath

func (MonitoredResourceDescriptorPathSelectorDisplayName) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorDisplayName) WithValue

type MonitoredResourceDescriptorPathSelectorLabels

type MonitoredResourceDescriptorPathSelectorLabels struct{}

func (MonitoredResourceDescriptorPathSelectorLabels) DefaultValue

func (MonitoredResourceDescriptorPathSelectorLabels) Description

func (MonitoredResourceDescriptorPathSelectorLabels) Disabled

func (MonitoredResourceDescriptorPathSelectorLabels) FieldPath

func (MonitoredResourceDescriptorPathSelectorLabels) Key

func (MonitoredResourceDescriptorPathSelectorLabels) ValueType

type MonitoredResourceDescriptorPathSelectorLabelsDefaultValue

type MonitoredResourceDescriptorPathSelectorLabelsDefaultValue struct{}

func (MonitoredResourceDescriptorPathSelectorLabelsDefaultValue) FieldPath

func (MonitoredResourceDescriptorPathSelectorLabelsDefaultValue) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorLabelsDefaultValue) WithValue

type MonitoredResourceDescriptorPathSelectorLabelsDescription

type MonitoredResourceDescriptorPathSelectorLabelsDescription struct{}

func (MonitoredResourceDescriptorPathSelectorLabelsDescription) FieldPath

func (MonitoredResourceDescriptorPathSelectorLabelsDescription) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorLabelsDescription) WithValue

type MonitoredResourceDescriptorPathSelectorLabelsDisabled

type MonitoredResourceDescriptorPathSelectorLabelsDisabled struct{}

func (MonitoredResourceDescriptorPathSelectorLabelsDisabled) FieldPath

func (MonitoredResourceDescriptorPathSelectorLabelsDisabled) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorLabelsDisabled) WithValue

type MonitoredResourceDescriptorPathSelectorLabelsKey

type MonitoredResourceDescriptorPathSelectorLabelsKey struct{}

func (MonitoredResourceDescriptorPathSelectorLabelsKey) FieldPath

func (MonitoredResourceDescriptorPathSelectorLabelsKey) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorLabelsKey) WithValue

type MonitoredResourceDescriptorPathSelectorLabelsValueType

type MonitoredResourceDescriptorPathSelectorLabelsValueType struct{}

func (MonitoredResourceDescriptorPathSelectorLabelsValueType) FieldPath

type MonitoredResourceDescriptorPathSelectorMetadata

type MonitoredResourceDescriptorPathSelectorMetadata struct{}

func (MonitoredResourceDescriptorPathSelectorMetadata) Annotations

func (MonitoredResourceDescriptorPathSelectorMetadata) CreateTime

func (MonitoredResourceDescriptorPathSelectorMetadata) DeleteTime added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadata) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadata) Generation

func (MonitoredResourceDescriptorPathSelectorMetadata) Labels

func (MonitoredResourceDescriptorPathSelectorMetadata) Lifecycle added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadata) OwnerReferences

func (MonitoredResourceDescriptorPathSelectorMetadata) ResourceVersion

func (MonitoredResourceDescriptorPathSelectorMetadata) Shards

func (MonitoredResourceDescriptorPathSelectorMetadata) Syncing

func (MonitoredResourceDescriptorPathSelectorMetadata) Tags

func (MonitoredResourceDescriptorPathSelectorMetadata) UpdateTime

func (MonitoredResourceDescriptorPathSelectorMetadata) Uuid

func (MonitoredResourceDescriptorPathSelectorMetadata) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadata) WithSubArrayItemValue

func (MonitoredResourceDescriptorPathSelectorMetadata) WithSubArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadata) WithSubPath

func (MonitoredResourceDescriptorPathSelectorMetadata) WithSubValue

func (MonitoredResourceDescriptorPathSelectorMetadata) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataAnnotations

type MonitoredResourceDescriptorPathSelectorMetadataAnnotations struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataAnnotations) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataAnnotations) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataAnnotations) WithKey

func (MonitoredResourceDescriptorPathSelectorMetadataAnnotations) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataCreateTime

type MonitoredResourceDescriptorPathSelectorMetadataCreateTime struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataCreateTime) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataCreateTime) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataCreateTime) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataDeleteTime added in v0.8.0

type MonitoredResourceDescriptorPathSelectorMetadataDeleteTime struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataDeleteTime) FieldPath added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataDeleteTime) WithArrayOfValues added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataDeleteTime) WithValue added in v0.8.0

type MonitoredResourceDescriptorPathSelectorMetadataGeneration

type MonitoredResourceDescriptorPathSelectorMetadataGeneration struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataGeneration) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataGeneration) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataGeneration) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataLabels

type MonitoredResourceDescriptorPathSelectorMetadataLabels struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataLabels) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataLabels) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataLabels) WithKey

func (MonitoredResourceDescriptorPathSelectorMetadataLabels) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataLifecycle added in v0.8.0

type MonitoredResourceDescriptorPathSelectorMetadataLifecycle struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataLifecycle) BlockDeletion added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataLifecycle) FieldPath added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataLifecycle) State added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataLifecycle) WithArrayOfValues added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataLifecycle) WithValue added in v0.8.0

type MonitoredResourceDescriptorPathSelectorMetadataLifecycleBlockDeletion added in v0.8.0

type MonitoredResourceDescriptorPathSelectorMetadataLifecycleBlockDeletion struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataLifecycleBlockDeletion) FieldPath added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataLifecycleBlockDeletion) WithValue added in v0.8.0

type MonitoredResourceDescriptorPathSelectorMetadataLifecycleState added in v0.8.0

type MonitoredResourceDescriptorPathSelectorMetadataLifecycleState struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataLifecycleState) FieldPath added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataLifecycleState) WithArrayOfValues added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataLifecycleState) WithValue added in v0.8.0

type MonitoredResourceDescriptorPathSelectorMetadataOwnerReferences

type MonitoredResourceDescriptorPathSelectorMetadataOwnerReferences struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferences) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferences) Region added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferences) RequiresOwnerReference added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferences) Version added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferences) WithItemValue

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferences) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesBlockOwnerDeletion

type MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesBlockOwnerDeletion struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesController

type MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesController struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesController) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesController) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesKind

type MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesKind struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesKind) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesKind) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesName

type MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesName struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesName) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesName) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesRegion added in v0.8.0

type MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesRegion struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesRegion) FieldPath added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesRegion) WithValue added in v0.8.0

type MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference added in v0.8.0

type MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue added in v0.8.0

type MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesVersion added in v0.8.0

type MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesVersion struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesVersion) FieldPath added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues added in v0.8.0

func (MonitoredResourceDescriptorPathSelectorMetadataOwnerReferencesVersion) WithValue added in v0.8.0

type MonitoredResourceDescriptorPathSelectorMetadataResourceVersion

type MonitoredResourceDescriptorPathSelectorMetadataResourceVersion struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataResourceVersion) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataResourceVersion) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataResourceVersion) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataShards

type MonitoredResourceDescriptorPathSelectorMetadataShards struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataShards) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataShards) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataShards) WithKey

func (MonitoredResourceDescriptorPathSelectorMetadataShards) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataSyncing

type MonitoredResourceDescriptorPathSelectorMetadataSyncing struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataSyncing) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataSyncing) Regions

func (MonitoredResourceDescriptorPathSelectorMetadataSyncing) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataSyncing) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataSyncingOwningRegion

type MonitoredResourceDescriptorPathSelectorMetadataSyncingOwningRegion struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataSyncingOwningRegion) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataSyncingOwningRegion) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataSyncingRegions

type MonitoredResourceDescriptorPathSelectorMetadataSyncingRegions struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataSyncingRegions) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataSyncingRegions) WithItemValue

func (MonitoredResourceDescriptorPathSelectorMetadataSyncingRegions) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataTags

type MonitoredResourceDescriptorPathSelectorMetadataTags struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataTags) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataTags) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataTags) WithItemValue

func (MonitoredResourceDescriptorPathSelectorMetadataTags) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataUpdateTime

type MonitoredResourceDescriptorPathSelectorMetadataUpdateTime struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataUpdateTime) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataUpdateTime) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataUpdateTime) WithValue

type MonitoredResourceDescriptorPathSelectorMetadataUuid

type MonitoredResourceDescriptorPathSelectorMetadataUuid struct{}

func (MonitoredResourceDescriptorPathSelectorMetadataUuid) FieldPath

func (MonitoredResourceDescriptorPathSelectorMetadataUuid) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorMetadataUuid) WithValue

type MonitoredResourceDescriptorPathSelectorName

type MonitoredResourceDescriptorPathSelectorName struct{}

func (MonitoredResourceDescriptorPathSelectorName) FieldPath

func (MonitoredResourceDescriptorPathSelectorName) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorName) WithValue

type MonitoredResourceDescriptorPathSelectorPromotedLabelKeySets

type MonitoredResourceDescriptorPathSelectorPromotedLabelKeySets struct{}

func (MonitoredResourceDescriptorPathSelectorPromotedLabelKeySets) FieldPath

func (MonitoredResourceDescriptorPathSelectorPromotedLabelKeySets) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorPromotedLabelKeySets) WithSubArrayItemValue

func (MonitoredResourceDescriptorPathSelectorPromotedLabelKeySets) WithSubArrayOfValues

func (MonitoredResourceDescriptorPathSelectorPromotedLabelKeySets) WithSubPath

func (MonitoredResourceDescriptorPathSelectorPromotedLabelKeySets) WithSubValue

func (MonitoredResourceDescriptorPathSelectorPromotedLabelKeySets) WithValue

type MonitoredResourceDescriptorPathSelectorPromotedLabelKeySetsLabelKeys

type MonitoredResourceDescriptorPathSelectorPromotedLabelKeySetsLabelKeys struct{}

func (MonitoredResourceDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) FieldPath

func (MonitoredResourceDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithItemValue

func (MonitoredResourceDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithValue

type MonitoredResourceDescriptorPathSelectorPromotedLabelKeySetsWriteOnly

type MonitoredResourceDescriptorPathSelectorPromotedLabelKeySetsWriteOnly struct{}

func (MonitoredResourceDescriptorPathSelectorPromotedLabelKeySetsWriteOnly) FieldPath

func (MonitoredResourceDescriptorPathSelectorPromotedLabelKeySetsWriteOnly) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorPromotedLabelKeySetsWriteOnly) WithValue

type MonitoredResourceDescriptorPathSelectorType

type MonitoredResourceDescriptorPathSelectorType struct{}

func (MonitoredResourceDescriptorPathSelectorType) FieldPath

func (MonitoredResourceDescriptorPathSelectorType) WithArrayOfValues

func (MonitoredResourceDescriptorPathSelectorType) WithValue

type MonitoredResourceDescriptorReferenceList

type MonitoredResourceDescriptorReferenceList []*Reference

func (MonitoredResourceDescriptorReferenceList) Append

func (MonitoredResourceDescriptorReferenceList) AppendList

func (MonitoredResourceDescriptorReferenceList) At

func (MonitoredResourceDescriptorReferenceList) Length

func (MonitoredResourceDescriptorReferenceList) Set

func (MonitoredResourceDescriptorReferenceList) Slice

type MonitoredResourceDescriptor_FieldMask

type MonitoredResourceDescriptor_FieldMask struct {
	Paths []MonitoredResourceDescriptor_FieldPath
}

func FullMonitoredResourceDescriptor_FieldMask

func FullMonitoredResourceDescriptor_FieldMask() *MonitoredResourceDescriptor_FieldMask

func (*MonitoredResourceDescriptor_FieldMask) AppendPath

func (*MonitoredResourceDescriptor_FieldMask) AppendRawPath

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

func (*MonitoredResourceDescriptor_FieldMask) DecodeFirestore

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

func (*MonitoredResourceDescriptor_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*MonitoredResourceDescriptor_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*MonitoredResourceDescriptor_FieldMask) FromProtoFieldMask

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

func (*MonitoredResourceDescriptor_FieldMask) GetPaths

func (*MonitoredResourceDescriptor_FieldMask) GetRawPaths

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

func (*MonitoredResourceDescriptor_FieldMask) IsFull

func (fieldMask *MonitoredResourceDescriptor_FieldMask) IsFull() bool

func (MonitoredResourceDescriptor_FieldMask) Marshal

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

implement methods required by customType

func (MonitoredResourceDescriptor_FieldMask) MarshalJSON

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

func (*MonitoredResourceDescriptor_FieldMask) PathsCount

func (fieldMask *MonitoredResourceDescriptor_FieldMask) PathsCount() int

func (*MonitoredResourceDescriptor_FieldMask) Project

func (*MonitoredResourceDescriptor_FieldMask) ProjectRaw

func (*MonitoredResourceDescriptor_FieldMask) ProtoMessage

func (fieldMask *MonitoredResourceDescriptor_FieldMask) ProtoMessage()

func (*MonitoredResourceDescriptor_FieldMask) ProtoReflect

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

func (*MonitoredResourceDescriptor_FieldMask) Reset

func (fieldMask *MonitoredResourceDescriptor_FieldMask) Reset()

func (*MonitoredResourceDescriptor_FieldMask) Set

func (*MonitoredResourceDescriptor_FieldMask) SetFromCliFlag

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

func (*MonitoredResourceDescriptor_FieldMask) SetRaw

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

func (*MonitoredResourceDescriptor_FieldMask) Size

func (fieldMask *MonitoredResourceDescriptor_FieldMask) Size() int

func (*MonitoredResourceDescriptor_FieldMask) String

func (fieldMask *MonitoredResourceDescriptor_FieldMask) String() string

func (*MonitoredResourceDescriptor_FieldMask) Subtract

func (*MonitoredResourceDescriptor_FieldMask) SubtractRaw

func (*MonitoredResourceDescriptor_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*MonitoredResourceDescriptor_FieldMask) Unmarshal

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

func (*MonitoredResourceDescriptor_FieldMask) UnmarshalJSON

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

type MonitoredResourceDescriptor_FieldPath

type MonitoredResourceDescriptor_FieldPath interface {
	gotenobject.FieldPath
	Selector() MonitoredResourceDescriptor_FieldPathSelector
	Get(source *MonitoredResourceDescriptor) []interface{}
	GetSingle(source *MonitoredResourceDescriptor) (interface{}, bool)
	ClearValue(item *MonitoredResourceDescriptor)

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

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

func MustParseMonitoredResourceDescriptor_FieldPath

func MustParseMonitoredResourceDescriptor_FieldPath(rawField string) MonitoredResourceDescriptor_FieldPath

func ParseMonitoredResourceDescriptor_FieldPath

func ParseMonitoredResourceDescriptor_FieldPath(rawField string) (MonitoredResourceDescriptor_FieldPath, error)

type MonitoredResourceDescriptor_FieldPathArrayItemValue

type MonitoredResourceDescriptor_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	MonitoredResourceDescriptor_FieldPath
	ContainsValue(*MonitoredResourceDescriptor) bool
}

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

func MustParseMonitoredResourceDescriptor_FieldPathArrayItemValue

func MustParseMonitoredResourceDescriptor_FieldPathArrayItemValue(pathStr, valueStr string) MonitoredResourceDescriptor_FieldPathArrayItemValue

func ParseMonitoredResourceDescriptor_FieldPathArrayItemValue

func ParseMonitoredResourceDescriptor_FieldPathArrayItemValue(pathStr, valueStr string) (MonitoredResourceDescriptor_FieldPathArrayItemValue, error)

ParseMonitoredResourceDescriptor_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type MonitoredResourceDescriptor_FieldPathArrayOfValues

type MonitoredResourceDescriptor_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	MonitoredResourceDescriptor_FieldPath
}

MonitoredResourceDescriptor_FieldPathArrayOfValues allows storing slice of values for MonitoredResourceDescriptor fields according to their type

func MustParseMonitoredResourceDescriptor_FieldPathArrayOfValues

func MustParseMonitoredResourceDescriptor_FieldPathArrayOfValues(pathStr, valuesStr string) MonitoredResourceDescriptor_FieldPathArrayOfValues

func ParseMonitoredResourceDescriptor_FieldPathArrayOfValues

func ParseMonitoredResourceDescriptor_FieldPathArrayOfValues(pathStr, valuesStr string) (MonitoredResourceDescriptor_FieldPathArrayOfValues, error)

type MonitoredResourceDescriptor_FieldPathSelector

type MonitoredResourceDescriptor_FieldPathSelector int32
const (
	MonitoredResourceDescriptor_FieldPathSelectorName                 MonitoredResourceDescriptor_FieldPathSelector = 0
	MonitoredResourceDescriptor_FieldPathSelectorType                 MonitoredResourceDescriptor_FieldPathSelector = 1
	MonitoredResourceDescriptor_FieldPathSelectorDisplayName          MonitoredResourceDescriptor_FieldPathSelector = 2
	MonitoredResourceDescriptor_FieldPathSelectorDescription          MonitoredResourceDescriptor_FieldPathSelector = 3
	MonitoredResourceDescriptor_FieldPathSelectorLabels               MonitoredResourceDescriptor_FieldPathSelector = 4
	MonitoredResourceDescriptor_FieldPathSelectorPromotedLabelKeySets MonitoredResourceDescriptor_FieldPathSelector = 5
	MonitoredResourceDescriptor_FieldPathSelectorMetadata             MonitoredResourceDescriptor_FieldPathSelector = 6
)

func (MonitoredResourceDescriptor_FieldPathSelector) String

type MonitoredResourceDescriptor_FieldPathValue

type MonitoredResourceDescriptor_FieldPathValue interface {
	MonitoredResourceDescriptor_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **MonitoredResourceDescriptor)
	CompareWith(*MonitoredResourceDescriptor) (cmp int, comparable bool)
}

MonitoredResourceDescriptor_FieldPathValue allows storing values for MonitoredResourceDescriptor fields according to their type

func MustParseMonitoredResourceDescriptor_FieldPathValue

func MustParseMonitoredResourceDescriptor_FieldPathValue(pathStr, valueStr string) MonitoredResourceDescriptor_FieldPathValue

func ParseMonitoredResourceDescriptor_FieldPathValue

func ParseMonitoredResourceDescriptor_FieldPathValue(pathStr, valueStr string) (MonitoredResourceDescriptor_FieldPathValue, error)

type MonitoredResourceDescriptor_FieldSubPath

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

func (*MonitoredResourceDescriptor_FieldSubPath) AsLabelsSubPath

func (*MonitoredResourceDescriptor_FieldSubPath) AsMetadataSubPath

func (*MonitoredResourceDescriptor_FieldSubPath) AsPromotedLabelKeySetsSubPath

func (*MonitoredResourceDescriptor_FieldSubPath) ClearValue

func (*MonitoredResourceDescriptor_FieldSubPath) ClearValueRaw

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

func (*MonitoredResourceDescriptor_FieldSubPath) Get

func (fps *MonitoredResourceDescriptor_FieldSubPath) Get(source *MonitoredResourceDescriptor) (values []interface{})

Get returns all values pointed by selected field from source MonitoredResourceDescriptor

func (*MonitoredResourceDescriptor_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*MonitoredResourceDescriptor_FieldSubPath) GetRaw

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

func (*MonitoredResourceDescriptor_FieldSubPath) GetSingle

func (fps *MonitoredResourceDescriptor_FieldSubPath) GetSingle(source *MonitoredResourceDescriptor) (interface{}, bool)

GetSingle returns value of selected field from source MonitoredResourceDescriptor

func (*MonitoredResourceDescriptor_FieldSubPath) GetSingleRaw

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

func (*MonitoredResourceDescriptor_FieldSubPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*MonitoredResourceDescriptor_FieldSubPath) JSONString

JSONString returns path representation is JSON convention

func (*MonitoredResourceDescriptor_FieldSubPath) Selector

func (*MonitoredResourceDescriptor_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*MonitoredResourceDescriptor_FieldSubPath) String

String returns path representation in proto convention

func (*MonitoredResourceDescriptor_FieldSubPath) WithIArrayItemValue

func (*MonitoredResourceDescriptor_FieldSubPath) WithIArrayOfValues

func (*MonitoredResourceDescriptor_FieldSubPath) WithIValue

func (*MonitoredResourceDescriptor_FieldSubPath) WithRawIArrayItemValue

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

func (*MonitoredResourceDescriptor_FieldSubPath) WithRawIArrayOfValues

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

func (*MonitoredResourceDescriptor_FieldSubPath) WithRawIValue

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

type MonitoredResourceDescriptor_FieldSubPathArrayItemValue

type MonitoredResourceDescriptor_FieldSubPathArrayItemValue struct {
	MonitoredResourceDescriptor_FieldPath
	// contains filtered or unexported fields
}

func (*MonitoredResourceDescriptor_FieldSubPathArrayItemValue) AsLabelsPathItemValue

func (*MonitoredResourceDescriptor_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (*MonitoredResourceDescriptor_FieldSubPathArrayItemValue) AsPromotedLabelKeySetsPathItemValue

func (*MonitoredResourceDescriptor_FieldSubPathArrayItemValue) ContainsValue

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

func (*MonitoredResourceDescriptor_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type MonitoredResourceDescriptor_FieldSubPathArrayOfValues

type MonitoredResourceDescriptor_FieldSubPathArrayOfValues struct {
	MonitoredResourceDescriptor_FieldPath
	// contains filtered or unexported fields
}

func (*MonitoredResourceDescriptor_FieldSubPathArrayOfValues) AsLabelsPathArrayOfValues

func (*MonitoredResourceDescriptor_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

func (*MonitoredResourceDescriptor_FieldSubPathArrayOfValues) AsPromotedLabelKeySetsPathArrayOfValues

func (*MonitoredResourceDescriptor_FieldSubPathArrayOfValues) GetRawValues

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

type MonitoredResourceDescriptor_FieldSubPathValue

type MonitoredResourceDescriptor_FieldSubPathValue struct {
	MonitoredResourceDescriptor_FieldPath
	// contains filtered or unexported fields
}

func (*MonitoredResourceDescriptor_FieldSubPathValue) AsLabelsPathValue

func (*MonitoredResourceDescriptor_FieldSubPathValue) AsMetadataPathValue

func (*MonitoredResourceDescriptor_FieldSubPathValue) AsPromotedLabelKeySetsPathValue

func (*MonitoredResourceDescriptor_FieldSubPathValue) CompareWith

func (*MonitoredResourceDescriptor_FieldSubPathValue) CompareWithRaw

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

func (*MonitoredResourceDescriptor_FieldSubPathValue) GetRawValue

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

func (*MonitoredResourceDescriptor_FieldSubPathValue) SetTo

func (*MonitoredResourceDescriptor_FieldSubPathValue) SetToRaw

type MonitoredResourceDescriptor_FieldTerminalPath

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

func (*MonitoredResourceDescriptor_FieldTerminalPath) ClearValue

func (*MonitoredResourceDescriptor_FieldTerminalPath) ClearValueRaw

func (*MonitoredResourceDescriptor_FieldTerminalPath) Get

func (fp *MonitoredResourceDescriptor_FieldTerminalPath) Get(source *MonitoredResourceDescriptor) (values []interface{})

Get returns all values pointed by specific field from source MonitoredResourceDescriptor

func (*MonitoredResourceDescriptor_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*MonitoredResourceDescriptor_FieldTerminalPath) GetRaw

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

func (*MonitoredResourceDescriptor_FieldTerminalPath) GetSingle

GetSingle returns value pointed by specific field of from source MonitoredResourceDescriptor

func (*MonitoredResourceDescriptor_FieldTerminalPath) GetSingleRaw

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

func (*MonitoredResourceDescriptor_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*MonitoredResourceDescriptor_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*MonitoredResourceDescriptor_FieldTerminalPath) Selector

func (*MonitoredResourceDescriptor_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (*MonitoredResourceDescriptor_FieldTerminalPath) String

String returns path representation in proto convention

func (*MonitoredResourceDescriptor_FieldTerminalPath) WithIArrayItemValue

func (*MonitoredResourceDescriptor_FieldTerminalPath) WithIArrayOfValues

func (*MonitoredResourceDescriptor_FieldTerminalPath) WithIValue

func (*MonitoredResourceDescriptor_FieldTerminalPath) WithRawIArrayItemValue

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

func (*MonitoredResourceDescriptor_FieldTerminalPath) WithRawIArrayOfValues

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

func (*MonitoredResourceDescriptor_FieldTerminalPath) WithRawIValue

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

type MonitoredResourceDescriptor_FieldTerminalPathArrayItemValue

type MonitoredResourceDescriptor_FieldTerminalPathArrayItemValue struct {
	MonitoredResourceDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MonitoredResourceDescriptor_FieldTerminalPathArrayItemValue) AsLabelsItemValue

func (*MonitoredResourceDescriptor_FieldTerminalPathArrayItemValue) AsPromotedLabelKeySetsItemValue

func (*MonitoredResourceDescriptor_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*MonitoredResourceDescriptor_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*MonitoredResourceDescriptor_FieldTerminalPathArrayItemValue) GetSingle

func (*MonitoredResourceDescriptor_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type MonitoredResourceDescriptor_FieldTerminalPathArrayOfValues

type MonitoredResourceDescriptor_FieldTerminalPathArrayOfValues struct {
	MonitoredResourceDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MonitoredResourceDescriptor_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues

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

func (*MonitoredResourceDescriptor_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

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

func (*MonitoredResourceDescriptor_FieldTerminalPathArrayOfValues) AsLabelsArrayOfValues

func (*MonitoredResourceDescriptor_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

func (fpaov *MonitoredResourceDescriptor_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*ntt_meta.Meta, bool)

func (*MonitoredResourceDescriptor_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*MonitoredResourceDescriptor_FieldTerminalPathArrayOfValues) AsPromotedLabelKeySetsArrayOfValues

func (fpaov *MonitoredResourceDescriptor_FieldTerminalPathArrayOfValues) AsPromotedLabelKeySetsArrayOfValues() ([][]*monitoring_common.LabelKeySet, bool)

func (*MonitoredResourceDescriptor_FieldTerminalPathArrayOfValues) AsTypeArrayOfValues

func (*MonitoredResourceDescriptor_FieldTerminalPathArrayOfValues) GetRawValues

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

type MonitoredResourceDescriptor_FieldTerminalPathValue

type MonitoredResourceDescriptor_FieldTerminalPathValue struct {
	MonitoredResourceDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MonitoredResourceDescriptor_FieldTerminalPathValue) AsDescriptionValue

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

func (*MonitoredResourceDescriptor_FieldTerminalPathValue) AsDisplayNameValue

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

func (*MonitoredResourceDescriptor_FieldTerminalPathValue) AsLabelsValue

func (*MonitoredResourceDescriptor_FieldTerminalPathValue) AsMetadataValue

func (*MonitoredResourceDescriptor_FieldTerminalPathValue) AsNameValue

func (*MonitoredResourceDescriptor_FieldTerminalPathValue) AsPromotedLabelKeySetsValue

func (*MonitoredResourceDescriptor_FieldTerminalPathValue) AsTypeValue

func (*MonitoredResourceDescriptor_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'MonitoredResourceDescriptor_FieldTerminalPathValue' with the value under path in 'MonitoredResourceDescriptor'.

func (*MonitoredResourceDescriptor_FieldTerminalPathValue) CompareWithRaw

func (*MonitoredResourceDescriptor_FieldTerminalPathValue) GetRawValue

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

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

func (*MonitoredResourceDescriptor_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object MonitoredResourceDescriptor

func (*MonitoredResourceDescriptor_FieldTerminalPathValue) SetToRaw

type Name

type Name struct {
	NamePattern
	MonitoredResourceDescriptorId string `firestore:"monitoredResourceDescriptorId"`
}

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 added in v0.8.0

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

func (*Name) GetIUnderlyingParentName added in v0.8.0

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

func (*Name) GetIdParts

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

func (*Name) GetPattern

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

func (*Name) GetResourceDescriptor

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

func (*Name) GetSegments

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

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) Reference

func (b *NameBuilder) Reference() *Reference

func (*NameBuilder) SetId

func (b *NameBuilder) SetId(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 *MonitoredResourceDescriptor) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *MonitoredResourceDescriptor_FieldMask

func (*OrderBy) GetOrderByFields

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

func (*OrderBy) GetRawFieldMask

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

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 MonitoredResourceDescriptorList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath MonitoredResourceDescriptor_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 *MonitoredResourceDescriptor) 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 added in v0.8.0

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

func (*PagerQuery) SetLimit added in v0.8.0

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy added in v0.8.0

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

func (*PagerQuery) SetPageDirection added in v0.8.0

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

func (*PagerQuery) SetPeekForward added in v0.8.0

func (p *PagerQuery) SetPeekForward(peekForward bool)

type QueryResultChange

type QueryResultChange struct {
	Changes        []*MonitoredResourceDescriptorChange
	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 {
	MonitoredResourceDescriptors []*MonitoredResourceDescriptor
	PrevPageCursor               *PagerCursor
	NextPageCursor               *PagerCursor
	TotalResultsCount            int32
	CurrentOffset                int32
}

func (*QueryResultSnapshot) GetNextPageCursor

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

func (*QueryResultSnapshot) GetPagingInfo added in v0.10.1

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 added in v0.10.1

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, monitoredResourceDescriptor *MonitoredResourceDescriptor) (*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 added in v0.8.0

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

func (*Reference) GetIUnderlyingParentName added in v0.8.0

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

func (*Reference) GetIdParts

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

func (*Reference) GetMonitoredResourceDescriptor

func (ref *Reference) GetMonitoredResourceDescriptor() *MonitoredResourceDescriptor

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 *MonitoredResourceDescriptor)

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 added in v0.9.0

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 added in v0.9.0

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

func (*WatchQuery) SetWatchType

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

func (*WatchQuery) String added in v0.4.29

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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