metric_descriptor

package
v1.9.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NamePattern_Project = "projects/{project}/metricDescriptors/{metric_descriptor}"
)

Variables

View Source
var (
	MetricDescriptor_MetricKind_name = map[int32]string{
		0: "METRIC_KIND_UNSPECIFIED",
		1: "GAUGE",
		2: "DELTA",
		3: "CUMULATIVE",
	}

	MetricDescriptor_MetricKind_value = map[string]int32{
		"METRIC_KIND_UNSPECIFIED": 0,
		"GAUGE":                   1,
		"DELTA":                   2,
		"CUMULATIVE":              3,
	}
)
View Source
var (
	MetricDescriptor_ValueType_name = map[int32]string{
		0: "VALUE_TYPE_UNSPECIFIED",
		1: "BOOL",
		2: "INT64",
		3: "DOUBLE",
		4: "STRING",
		5: "DISTRIBUTION",
		6: "MONEY",
	}

	MetricDescriptor_ValueType_value = map[string]int32{
		"VALUE_TYPE_UNSPECIFIED": 0,
		"BOOL":                   1,
		"INT64":                  2,
		"DOUBLE":                 3,
		"STRING":                 4,
		"DISTRIBUTION":           5,
		"MONEY":                  6,
	}
)

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access MetricDescriptorAccess) gotenresource.Access

Types

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) CanBeParentless added in v1.0.21

func (d *Descriptor) CanBeParentless() bool

func (*Descriptor) GetNameDescriptor

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

func (*Descriptor) GetParentResDescriptors added in v1.0.21

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

func (*Descriptor) GetResourceTypeName

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

func (*Descriptor) NewGetQuery

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

func (*Descriptor) NewListQuery

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

func (*Descriptor) NewNameList

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

func (*Descriptor) NewParentNameList

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

func (*Descriptor) NewParentReferenceList

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

func (*Descriptor) NewQueryResultChange

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

func (*Descriptor) NewQueryResultSnapshot

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

func (*Descriptor) NewReferenceList

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

func (*Descriptor) NewResource

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

func (*Descriptor) NewResourceChange

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

func (*Descriptor) NewResourceChangeList

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

func (*Descriptor) NewResourceChangeMap

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

func (*Descriptor) NewResourceCursor

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

func (*Descriptor) NewResourceFieldMask 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)

func (*Descriptor) SupportsDbConstraints added in v1.8.3

func (d *Descriptor) SupportsDbConstraints() bool

func (*Descriptor) SupportsMetadata added in v1.0.21

func (d *Descriptor) SupportsMetadata() bool

type Filter

type Filter struct {
	FilterCondition
}

func (*Filter) ConvertToNative

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

func (*Filter) ConvertToType

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

func (*Filter) DecodeFirestore

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

func (*Filter) EncodeFirestore

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

firestore encoding/decoding integration

func (*Filter) Equal

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

func (*Filter) Evaluate

func (filter *Filter) Evaluate(res *MetricDescriptor) 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 []*MetricDescriptor) (out []*MetricDescriptor)

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 MetricDescriptor_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 *MetricDescriptor) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	MetricDescriptor_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

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

func (*FilterConditionCompare) EvaluateRaw

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

func (*FilterConditionCompare) GetOperator

func (*FilterConditionCompare) GetRawFieldPath

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

func (*FilterConditionCompare) GetRawFieldPathValue

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

func (*FilterConditionCompare) Satisfies

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

func (*FilterConditionCompare) SatisfiesRaw

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

func (*FilterConditionCompare) SpecifiesFieldPath

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

func (*FilterConditionCompare) SpecifiesRawFieldPath

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

func (*FilterConditionCompare) String

func (cond *FilterConditionCompare) String() string

type FilterConditionComposite

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

func (*FilterConditionComposite) And

func (*FilterConditionComposite) ConditionComposite

func (cond *FilterConditionComposite) ConditionComposite()

func (*FilterConditionComposite) Evaluate

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

func (*FilterConditionComposite) EvaluateRaw

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

func (*FilterConditionComposite) GetOperator

func (*FilterConditionComposite) GetSubConditions

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

func (*FilterConditionComposite) Satisfies

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

func (*FilterConditionComposite) SatisfiesRaw

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

func (*FilterConditionComposite) SpecifiesFieldPath

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

func (*FilterConditionComposite) SpecifiesRawFieldPath

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

func (*FilterConditionComposite) String

func (cond *FilterConditionComposite) String() string

type FilterConditionContains

func (*FilterConditionContains) And

func (*FilterConditionContains) ConditionContains

func (cond *FilterConditionContains) ConditionContains()

func (*FilterConditionContains) ConditionContainsType

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

func (*FilterConditionContains) Evaluate

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

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 (cond *FilterConditionContains) SpecifiesFieldPath(fp MetricDescriptor_FieldPath) bool

func (*FilterConditionContains) SpecifiesRawFieldPath

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

func (*FilterConditionContains) String

func (cond *FilterConditionContains) String() string

type FilterConditionIn

type FilterConditionIn struct {
	MetricDescriptor_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *MetricDescriptor) 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 MetricDescriptor_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 MetricDescriptor_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

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

func (*FilterConditionIsNaN) EvaluateRaw

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

func (*FilterConditionIsNaN) GetRawFieldPath

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

func (*FilterConditionIsNaN) Satisfies

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

func (*FilterConditionIsNaN) SatisfiesRaw

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

func (*FilterConditionIsNaN) SpecifiesFieldPath

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

func (*FilterConditionIsNaN) SpecifiesRawFieldPath

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

func (*FilterConditionIsNaN) String

func (cond *FilterConditionIsNaN) String() string

type FilterConditionIsNull

type FilterConditionIsNull struct {
	Not       bool
	FieldPath MetricDescriptor_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

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

func (*FilterConditionIsNull) EvaluateRaw

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

func (*FilterConditionIsNull) GetRawFieldPath

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

func (*FilterConditionIsNull) NotNull

func (cond *FilterConditionIsNull) NotNull() bool

func (*FilterConditionIsNull) Satisfies

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

func (*FilterConditionIsNull) SatisfiesRaw

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

func (*FilterConditionIsNull) SpecifiesFieldPath

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

func (*FilterConditionIsNull) SpecifiesRawFieldPath

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

func (*FilterConditionIsNull) String

func (cond *FilterConditionIsNull) String() string

type FilterConditionNot

type FilterConditionNot struct {
	FilterCondition
}

func (*FilterConditionNot) And

func (*FilterConditionNot) ConditionNot

func (cond *FilterConditionNot) ConditionNot()

func (*FilterConditionNot) Evaluate

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

func (*FilterConditionNot) EvaluateRaw

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

func (*FilterConditionNot) GetSubCondition

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

func (*FilterConditionNot) Satisfies

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

func (*FilterConditionNot) SatisfiesRaw

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

func (*FilterConditionNot) SpecifiesFieldPath

func (cond *FilterConditionNot) SpecifiesFieldPath(fp MetricDescriptor_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 {
	MetricDescriptor_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

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

func (*FilterConditionNotIn) EvaluateRaw

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

func (*FilterConditionNotIn) GetRawFieldPath

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

func (*FilterConditionNotIn) GetRawFieldPathArrayOfValues

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

func (*FilterConditionNotIn) Satisfies

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

func (*FilterConditionNotIn) SatisfiesRaw

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

func (*FilterConditionNotIn) SpecifiesFieldPath

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

func (*FilterConditionNotIn) SpecifiesRawFieldPath

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

func (*FilterConditionNotIn) String

func (cond *FilterConditionNotIn) String() string

type GetQuery

type GetQuery struct {
	Reference *Reference
	Mask      *MetricDescriptor_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           *MetricDescriptor_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 MetricDescriptor

type MetricDescriptor struct {

	// Metadata
	Metadata *meta.Meta `protobuf:"bytes,35,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// The resource name of the metric descriptor.
	// When creating a new instance, this field is optional and if not provided,
	// it will be generated automatically. Last ID segment must conform to the
	// following regex: [\\w./-]{4,128}
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// The metric type, including its DNS name prefix. The type is not
	// URL-encoded.  All user-defined metric types have the DNS name
	// `custom.googleapis.com` or `external.googleapis.com`.  Metric types should
	// use a natural hierarchical grouping. For example:
	//
	//     "custom.googleapis.com/invoice/paid/amount"
	//     "external.googleapis.com/prometheus/up"
	//     "appengine.googleapis.com/http/server/response_latencies"
	Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty" firestore:"type"`
	// associated resource_types (also used to infer defaults)
	// examples, devices.edgelq.com/Device, watchdog.edgelq.com/Agent
	// if not set, defaults to "global" resource type.
	ResourceTypes []string `` /* 127-byte string literal not displayed */
	// The set of labels that can be used to describe a specific
	// instance of this metric type. For example, the
	// `appengine.googleapis.com/http/server/response_latencies` metric
	// type has a label for the HTTP response code, `response_code`, so
	// you can look at latencies for successful responses or just
	// for responses that failed.
	Labels []*common.LabelDescriptor `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" firestore:"labels"`
	// Whether the metric records instantaneous values, changes to a value, etc.
	// Some combinations of `metric_kind` and `value_type` might not be supported.
	MetricKind MetricDescriptor_MetricKind `` /* 166-byte string literal not displayed */
	// Whether the measurement is an integer, a floating-point number, etc.
	// Some combinations of `metric_kind` and `value_type` might not be supported.
	ValueType MetricDescriptor_ValueType `` /* 161-byte string literal not displayed */
	// The unit in which the metric value is reported. It is only applicable
	// if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The
	// supported units are a subset of [The Unified Code for Units of
	// Measure](http://unitsofmeasure.org/ucum.html) standard:
	//
	// **Basic units (UNIT)**
	//
	// * `bit`   bit
	// * `By`    byte
	// * `s`     second
	// * `min`   minute
	// * `h`     hour
	// * `d`     day
	//
	// **Prefixes (PREFIX)**
	//
	// * `k`     kilo    (10**3)
	// * `M`     mega    (10**6)
	// * `G`     giga    (10**9)
	// * `T`     tera    (10**12)
	// * `P`     peta    (10**15)
	// * `E`     exa     (10**18)
	// * `Z`     zetta   (10**21)
	// * `Y`     yotta   (10**24)
	// * `m`     milli   (10**-3)
	// * `u`     micro   (10**-6)
	// * `n`     nano    (10**-9)
	// * `p`     pico    (10**-12)
	// * `f`     femto   (10**-15)
	// * `a`     atto    (10**-18)
	// * `z`     zepto   (10**-21)
	// * `y`     yocto   (10**-24)
	// * `Ki`    kibi    (2**10)
	// * `Mi`    mebi    (2**20)
	// * `Gi`    gibi    (2**30)
	// * `Ti`    tebi    (2**40)
	//
	// **Grammar**
	//
	// The grammar also includes these connectors:
	//
	// * `/`    division (as an infix operator, e.g. `1/s`).
	// * `.`    multiplication (as an infix operator, e.g. `GBy.d`)
	//
	// The grammar for a unit is as follows:
	//
	//     Expression = Component { "." Component } { "/" Component } ;
	//
	//     Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
	//               | Annotation
	//               | "1"
	//               ;
	//
	//     Annotation = "{" NAME "}" ;
	//
	// Notes:
	//
	// * `Annotation` is just a comment if it follows a `UNIT` and is
	//    equivalent to `1` if it is used alone. For examples,
	//    `{requests}/s == 1/s`, `By{transmitted}/s == By/s`.
	// * `NAME` is a sequence of non-blank printable ASCII characters not
	//    containing '{' or '}'.
	// * `1` represents dimensionless value 1, such as in `1/s`.
	// * `%` represents dimensionless value 1/100, and annotates values giving
	//    a percentage.
	Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty" firestore:"unit"`
	// A detailed description of the metric, which can be used in documentation.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty" firestore:"description"`
	// A concise name for the metric, which can be displayed in user interfaces.
	// Use sentence case without an ending period, for example "Request count".
	// This field is optional but it is recommended to be set for any metrics
	// associated with user-visible concepts, such as Quota.
	DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// Optional. Metadata which can be used to guide usage of the metric.
	MetricDescriptorMetadata *MetricDescriptor_MetricDescriptorMetadata `` /* 173-byte string literal not displayed */
	// Distribution bucketing options - define only when ValueType is
	// Distribution. Used for validating input.
	DistributionBucketOptions *common.Distribution_BucketOptions `` /* 177-byte string literal not displayed */
	// 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 []*common.LabelKeySet `` /* 159-byte string literal not displayed */
	// Indexing allows tweaking storage usage by tweaking amount of "duplicate"
	// data with different promotion criteria. It's important consideration for
	// balancing time series query performance and storage cost.
	IndexSpec *MetricDescriptor_IndexSpec `protobuf:"bytes,36,opt,name=index_spec,json=indexSpec,proto3" json:"index_spec,omitempty" firestore:"indexSpec"`
	// Storage settings
	StorageConfig *MetricDescriptor_StorageConfig `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.

func (*MetricDescriptor) Clone

func (o *MetricDescriptor) Clone() *MetricDescriptor

func (*MetricDescriptor) CloneRaw

func (*MetricDescriptor) Descriptor

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

Deprecated, Use MetricDescriptor.ProtoReflect.Descriptor instead.

func (*MetricDescriptor) EnsureMetadata added in v1.0.21

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

func (*MetricDescriptor) GetDescription

func (m *MetricDescriptor) GetDescription() string

func (*MetricDescriptor) GetDisplayName

func (m *MetricDescriptor) GetDisplayName() string

func (*MetricDescriptor) GetDistributionBucketOptions

func (m *MetricDescriptor) GetDistributionBucketOptions() *common.Distribution_BucketOptions

func (*MetricDescriptor) GetIndexSpec

func (m *MetricDescriptor) GetIndexSpec() *MetricDescriptor_IndexSpec

func (*MetricDescriptor) GetLabels

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

func (*MetricDescriptor) GetMetadata

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

func (*MetricDescriptor) GetMetricDescriptorMetadata

func (m *MetricDescriptor) GetMetricDescriptorMetadata() *MetricDescriptor_MetricDescriptorMetadata

func (*MetricDescriptor) GetMetricKind

func (m *MetricDescriptor) GetMetricKind() MetricDescriptor_MetricKind

func (*MetricDescriptor) GetName

func (m *MetricDescriptor) GetName() *Name

func (*MetricDescriptor) GetPromotedLabelKeySets

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

func (*MetricDescriptor) GetRawName

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

func (*MetricDescriptor) GetResourceDescriptor

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

func (*MetricDescriptor) GetResourceTypes

func (m *MetricDescriptor) GetResourceTypes() []string

func (*MetricDescriptor) GetStorageConfig

func (m *MetricDescriptor) GetStorageConfig() *MetricDescriptor_StorageConfig

func (*MetricDescriptor) GetType

func (m *MetricDescriptor) GetType() string

func (*MetricDescriptor) GetUnit

func (m *MetricDescriptor) GetUnit() string

func (*MetricDescriptor) GetValueType

func (m *MetricDescriptor) GetValueType() MetricDescriptor_ValueType

func (*MetricDescriptor) GotenMessage

func (*MetricDescriptor) GotenMessage()

func (*MetricDescriptor) GotenObjectExt

func (o *MetricDescriptor) GotenObjectExt()

func (*MetricDescriptor) GotenValidate

func (obj *MetricDescriptor) GotenValidate() error

func (*MetricDescriptor) MakeDiffFieldMask

func (o *MetricDescriptor) MakeDiffFieldMask(other *MetricDescriptor) *MetricDescriptor_FieldMask

func (*MetricDescriptor) MakeFullFieldMask

func (o *MetricDescriptor) MakeFullFieldMask() *MetricDescriptor_FieldMask

func (*MetricDescriptor) MakeRawDiffFieldMask

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

func (*MetricDescriptor) MakeRawFullFieldMask

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

func (*MetricDescriptor) Marshal

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

func (*MetricDescriptor) MarshalJSON

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

func (*MetricDescriptor) MaybePopulateDefaults

func (r *MetricDescriptor) MaybePopulateDefaults() error

func (*MetricDescriptor) Merge

func (o *MetricDescriptor) Merge(source *MetricDescriptor)

func (*MetricDescriptor) MergeRaw

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

func (*MetricDescriptor) ProtoMessage

func (*MetricDescriptor) ProtoMessage()

func (*MetricDescriptor) ProtoReflect

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

func (*MetricDescriptor) Reset

func (m *MetricDescriptor) Reset()

func (*MetricDescriptor) SetDescription

func (m *MetricDescriptor) SetDescription(fv string)

func (*MetricDescriptor) SetDisplayName

func (m *MetricDescriptor) SetDisplayName(fv string)

func (*MetricDescriptor) SetDistributionBucketOptions

func (m *MetricDescriptor) SetDistributionBucketOptions(fv *common.Distribution_BucketOptions)

func (*MetricDescriptor) SetIndexSpec

func (m *MetricDescriptor) SetIndexSpec(fv *MetricDescriptor_IndexSpec)

func (*MetricDescriptor) SetLabels

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

func (*MetricDescriptor) SetMetadata

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

func (*MetricDescriptor) SetMetricDescriptorMetadata

func (m *MetricDescriptor) SetMetricDescriptorMetadata(fv *MetricDescriptor_MetricDescriptorMetadata)

func (*MetricDescriptor) SetMetricKind

func (m *MetricDescriptor) SetMetricKind(fv MetricDescriptor_MetricKind)

func (*MetricDescriptor) SetName

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

func (*MetricDescriptor) SetPromotedLabelKeySets

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

func (*MetricDescriptor) SetResourceTypes

func (m *MetricDescriptor) SetResourceTypes(fv []string)

func (*MetricDescriptor) SetStorageConfig

func (m *MetricDescriptor) SetStorageConfig(fv *MetricDescriptor_StorageConfig)

func (*MetricDescriptor) SetType

func (m *MetricDescriptor) SetType(fv string)

func (*MetricDescriptor) SetUnit

func (m *MetricDescriptor) SetUnit(fv string)

func (*MetricDescriptor) SetValueType

func (m *MetricDescriptor) SetValueType(fv MetricDescriptor_ValueType)

func (*MetricDescriptor) String

func (m *MetricDescriptor) String() string

func (*MetricDescriptor) Unmarshal

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

func (*MetricDescriptor) UnmarshalJSON

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

type MetricDescriptorAccess

type MetricDescriptorAccess interface {
	GetMetricDescriptor(context.Context, *GetQuery, ...gotenresource.GetOption) (*MetricDescriptor, error)
	BatchGetMetricDescriptors(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryMetricDescriptors(context.Context, *ListQuery, ...gotenresource.QueryOption) (*QueryResultSnapshot, error)
	WatchMetricDescriptor(context.Context, *GetQuery, func(*MetricDescriptorChange) error) error
	WatchMetricDescriptors(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveMetricDescriptor(context.Context, *MetricDescriptor, ...gotenresource.SaveOption) error
	DeleteMetricDescriptor(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type MetricDescriptorChange

type MetricDescriptorChange struct {

	// MetricDescriptor change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*MetricDescriptorChange_Added_
	//	*MetricDescriptorChange_Modified_
	//	*MetricDescriptorChange_Current_
	//	*MetricDescriptorChange_Removed_
	ChangeType isMetricDescriptorChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*MetricDescriptorChange) Descriptor

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

Deprecated, Use MetricDescriptorChange.ProtoReflect.Descriptor instead.

func (*MetricDescriptorChange) GetAdded

func (*MetricDescriptorChange) GetChangeType

func (m *MetricDescriptorChange) GetChangeType() isMetricDescriptorChange_ChangeType

func (*MetricDescriptorChange) GetCurrent

func (*MetricDescriptorChange) GetCurrentViewIndex

func (c *MetricDescriptorChange) GetCurrentViewIndex() int32

func (*MetricDescriptorChange) GetMetricDescriptor

func (c *MetricDescriptorChange) GetMetricDescriptor() *MetricDescriptor

func (*MetricDescriptorChange) GetMetricDescriptorName

func (c *MetricDescriptorChange) GetMetricDescriptorName() *Name

func (*MetricDescriptorChange) GetModified

func (*MetricDescriptorChange) GetPreviousViewIndex

func (c *MetricDescriptorChange) GetPreviousViewIndex() int32

func (*MetricDescriptorChange) GetRawName

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

func (*MetricDescriptorChange) GetRawResource added in v0.5.1

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

func (*MetricDescriptorChange) GetRemoved

func (*MetricDescriptorChange) GotenMessage

func (*MetricDescriptorChange) GotenMessage()

func (*MetricDescriptorChange) GotenValidate

func (obj *MetricDescriptorChange) GotenValidate() error

func (*MetricDescriptorChange) IsAdd

func (c *MetricDescriptorChange) IsAdd() bool

func (*MetricDescriptorChange) IsCurrent

func (c *MetricDescriptorChange) IsCurrent() bool

func (*MetricDescriptorChange) IsDelete

func (c *MetricDescriptorChange) IsDelete() bool

func (*MetricDescriptorChange) IsModify

func (c *MetricDescriptorChange) IsModify() bool

func (*MetricDescriptorChange) Marshal

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

func (*MetricDescriptorChange) MarshalJSON

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

func (*MetricDescriptorChange) ProtoMessage

func (*MetricDescriptorChange) ProtoMessage()

func (*MetricDescriptorChange) ProtoReflect

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

func (*MetricDescriptorChange) Reset

func (m *MetricDescriptorChange) Reset()

func (*MetricDescriptorChange) SetAdded

func (*MetricDescriptorChange) SetAddedRaw

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

func (*MetricDescriptorChange) SetChangeType

func (m *MetricDescriptorChange) SetChangeType(ofv isMetricDescriptorChange_ChangeType)

func (*MetricDescriptorChange) SetCurrent

func (*MetricDescriptorChange) SetCurrentRaw

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

func (*MetricDescriptorChange) SetDeletedRaw

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

func (*MetricDescriptorChange) SetModified

func (*MetricDescriptorChange) SetModifiedRaw

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

func (*MetricDescriptorChange) SetRemoved

func (*MetricDescriptorChange) String

func (m *MetricDescriptorChange) String() string

func (*MetricDescriptorChange) Unmarshal

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

func (*MetricDescriptorChange) UnmarshalJSON

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

type MetricDescriptorChangeList

type MetricDescriptorChangeList []*MetricDescriptorChange

func (MetricDescriptorChangeList) Append

func (MetricDescriptorChangeList) AppendList

func (MetricDescriptorChangeList) At

func (MetricDescriptorChangeList) Length

func (l MetricDescriptorChangeList) Length() int

func (MetricDescriptorChangeList) Set

func (MetricDescriptorChangeList) Slice

type MetricDescriptorChangeMap

type MetricDescriptorChangeMap map[Name]*MetricDescriptorChange

func (MetricDescriptorChangeMap) Delete

func (MetricDescriptorChangeMap) ForEach

func (MetricDescriptorChangeMap) Get

func (MetricDescriptorChangeMap) Length

func (m MetricDescriptorChangeMap) Length() int

func (MetricDescriptorChangeMap) Set

type MetricDescriptorChange_Added

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

MetricDescriptor has been added to query view

func (*MetricDescriptorChange_Added) Descriptor

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

Deprecated, Use MetricDescriptorChange_Added.ProtoReflect.Descriptor instead.

func (*MetricDescriptorChange_Added) GetMetricDescriptor

func (m *MetricDescriptorChange_Added) GetMetricDescriptor() *MetricDescriptor

func (*MetricDescriptorChange_Added) GetViewIndex

func (m *MetricDescriptorChange_Added) GetViewIndex() int32

func (*MetricDescriptorChange_Added) GotenMessage

func (*MetricDescriptorChange_Added) GotenMessage()

func (*MetricDescriptorChange_Added) GotenValidate

func (obj *MetricDescriptorChange_Added) GotenValidate() error

func (*MetricDescriptorChange_Added) Marshal

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

func (*MetricDescriptorChange_Added) MarshalJSON

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

func (*MetricDescriptorChange_Added) ProtoMessage

func (*MetricDescriptorChange_Added) ProtoMessage()

func (*MetricDescriptorChange_Added) ProtoReflect

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

func (*MetricDescriptorChange_Added) Reset

func (m *MetricDescriptorChange_Added) Reset()

func (*MetricDescriptorChange_Added) SetMetricDescriptor

func (m *MetricDescriptorChange_Added) SetMetricDescriptor(fv *MetricDescriptor)

func (*MetricDescriptorChange_Added) SetViewIndex

func (m *MetricDescriptorChange_Added) SetViewIndex(fv int32)

func (*MetricDescriptorChange_Added) String

func (*MetricDescriptorChange_Added) Unmarshal

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

func (*MetricDescriptorChange_Added) UnmarshalJSON

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

type MetricDescriptorChange_Added_

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

type MetricDescriptorChange_Current

type MetricDescriptorChange_Current struct {
	MetricDescriptor *MetricDescriptor `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*MetricDescriptorChange_Current) Descriptor

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

Deprecated, Use MetricDescriptorChange_Current.ProtoReflect.Descriptor instead.

func (*MetricDescriptorChange_Current) GetMetricDescriptor

func (m *MetricDescriptorChange_Current) GetMetricDescriptor() *MetricDescriptor

func (*MetricDescriptorChange_Current) GotenMessage

func (*MetricDescriptorChange_Current) GotenMessage()

func (*MetricDescriptorChange_Current) GotenValidate

func (obj *MetricDescriptorChange_Current) GotenValidate() error

func (*MetricDescriptorChange_Current) Marshal

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

func (*MetricDescriptorChange_Current) MarshalJSON

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

func (*MetricDescriptorChange_Current) ProtoMessage

func (*MetricDescriptorChange_Current) ProtoMessage()

func (*MetricDescriptorChange_Current) ProtoReflect

func (*MetricDescriptorChange_Current) Reset

func (m *MetricDescriptorChange_Current) Reset()

func (*MetricDescriptorChange_Current) SetMetricDescriptor

func (m *MetricDescriptorChange_Current) SetMetricDescriptor(fv *MetricDescriptor)

func (*MetricDescriptorChange_Current) String

func (*MetricDescriptorChange_Current) Unmarshal

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

func (*MetricDescriptorChange_Current) UnmarshalJSON

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

type MetricDescriptorChange_Current_

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

type MetricDescriptorChange_Modified

type MetricDescriptorChange_Modified struct {

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

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

func (*MetricDescriptorChange_Modified) Descriptor

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

Deprecated, Use MetricDescriptorChange_Modified.ProtoReflect.Descriptor instead.

func (*MetricDescriptorChange_Modified) GetFieldMask

func (*MetricDescriptorChange_Modified) GetMetricDescriptor

func (m *MetricDescriptorChange_Modified) GetMetricDescriptor() *MetricDescriptor

func (*MetricDescriptorChange_Modified) GetName

func (m *MetricDescriptorChange_Modified) GetName() *Name

func (*MetricDescriptorChange_Modified) GetPreviousViewIndex

func (m *MetricDescriptorChange_Modified) GetPreviousViewIndex() int32

func (*MetricDescriptorChange_Modified) GetViewIndex

func (m *MetricDescriptorChange_Modified) GetViewIndex() int32

func (*MetricDescriptorChange_Modified) GotenMessage

func (*MetricDescriptorChange_Modified) GotenMessage()

func (*MetricDescriptorChange_Modified) GotenValidate

func (obj *MetricDescriptorChange_Modified) GotenValidate() error

func (*MetricDescriptorChange_Modified) Marshal

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

func (*MetricDescriptorChange_Modified) MarshalJSON

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

func (*MetricDescriptorChange_Modified) ProtoMessage

func (*MetricDescriptorChange_Modified) ProtoMessage()

func (*MetricDescriptorChange_Modified) ProtoReflect

func (*MetricDescriptorChange_Modified) Reset

func (*MetricDescriptorChange_Modified) SetFieldMask

func (*MetricDescriptorChange_Modified) SetMetricDescriptor

func (m *MetricDescriptorChange_Modified) SetMetricDescriptor(fv *MetricDescriptor)

func (*MetricDescriptorChange_Modified) SetName

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

func (*MetricDescriptorChange_Modified) SetPreviousViewIndex

func (m *MetricDescriptorChange_Modified) SetPreviousViewIndex(fv int32)

func (*MetricDescriptorChange_Modified) SetViewIndex

func (m *MetricDescriptorChange_Modified) SetViewIndex(fv int32)

func (*MetricDescriptorChange_Modified) String

func (*MetricDescriptorChange_Modified) Unmarshal

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

func (*MetricDescriptorChange_Modified) UnmarshalJSON

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

type MetricDescriptorChange_Modified_

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

type MetricDescriptorChange_Removed

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

func (*MetricDescriptorChange_Removed) Descriptor

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

Deprecated, Use MetricDescriptorChange_Removed.ProtoReflect.Descriptor instead.

func (*MetricDescriptorChange_Removed) GetName

func (m *MetricDescriptorChange_Removed) GetName() *Name

func (*MetricDescriptorChange_Removed) GetViewIndex

func (m *MetricDescriptorChange_Removed) GetViewIndex() int32

func (*MetricDescriptorChange_Removed) GotenMessage

func (*MetricDescriptorChange_Removed) GotenMessage()

func (*MetricDescriptorChange_Removed) GotenValidate

func (obj *MetricDescriptorChange_Removed) GotenValidate() error

func (*MetricDescriptorChange_Removed) Marshal

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

func (*MetricDescriptorChange_Removed) MarshalJSON

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

func (*MetricDescriptorChange_Removed) ProtoMessage

func (*MetricDescriptorChange_Removed) ProtoMessage()

func (*MetricDescriptorChange_Removed) ProtoReflect

func (*MetricDescriptorChange_Removed) Reset

func (m *MetricDescriptorChange_Removed) Reset()

func (*MetricDescriptorChange_Removed) SetName

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

func (*MetricDescriptorChange_Removed) SetViewIndex

func (m *MetricDescriptorChange_Removed) SetViewIndex(fv int32)

func (*MetricDescriptorChange_Removed) String

func (*MetricDescriptorChange_Removed) Unmarshal

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

func (*MetricDescriptorChange_Removed) UnmarshalJSON

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

type MetricDescriptorChange_Removed_

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

type MetricDescriptorFieldPathBuilder

type MetricDescriptorFieldPathBuilder struct{}

func NewMetricDescriptorFieldPathBuilder

func NewMetricDescriptorFieldPathBuilder() MetricDescriptorFieldPathBuilder

func (MetricDescriptorFieldPathBuilder) Description

func (MetricDescriptorFieldPathBuilder) DisplayName

func (MetricDescriptorFieldPathBuilder) DistributionBucketOptions

func (MetricDescriptorFieldPathBuilder) IndexSpec

func (MetricDescriptorFieldPathBuilder) Labels

func (MetricDescriptorFieldPathBuilder) Metadata

func (MetricDescriptorFieldPathBuilder) MetricDescriptorMetadata

func (MetricDescriptorFieldPathBuilder) MetricKind

func (MetricDescriptorFieldPathBuilder) Name

func (MetricDescriptorFieldPathBuilder) PromotedLabelKeySets

func (MetricDescriptorFieldPathBuilder) ResourceTypes

func (MetricDescriptorFieldPathBuilder) StorageConfig

func (MetricDescriptorFieldPathBuilder) Type

func (MetricDescriptorFieldPathBuilder) Unit

func (MetricDescriptorFieldPathBuilder) ValueType

type MetricDescriptorIndexSpecFieldPathBuilder

type MetricDescriptorIndexSpecFieldPathBuilder struct{}

func NewMetricDescriptorIndexSpecFieldPathBuilder

func NewMetricDescriptorIndexSpecFieldPathBuilder() MetricDescriptorIndexSpecFieldPathBuilder

func (MetricDescriptorIndexSpecFieldPathBuilder) PerResource

type MetricDescriptorIndexSpecIndexFieldPathBuilder

type MetricDescriptorIndexSpecIndexFieldPathBuilder struct{}

func NewMetricDescriptorIndexSpecIndexFieldPathBuilder

func NewMetricDescriptorIndexSpecIndexFieldPathBuilder() MetricDescriptorIndexSpecIndexFieldPathBuilder

func (MetricDescriptorIndexSpecIndexFieldPathBuilder) PromotedLabels

func (MetricDescriptorIndexSpecIndexFieldPathBuilder) WriteOnly

type MetricDescriptorIndexSpecIndex_FieldPath

type MetricDescriptorIndexSpecIndex_FieldPath interface {
	gotenobject.FieldPath
	Selector() MetricDescriptorIndexSpecIndex_FieldPathSelector
	Get(source *MetricDescriptor_IndexSpec_Index) []interface{}
	GetSingle(source *MetricDescriptor_IndexSpec_Index) (interface{}, bool)
	ClearValue(item *MetricDescriptor_IndexSpec_Index)

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

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

func MustParseMetricDescriptorIndexSpecIndex_FieldPath

func MustParseMetricDescriptorIndexSpecIndex_FieldPath(rawField string) MetricDescriptorIndexSpecIndex_FieldPath

func ParseMetricDescriptorIndexSpecIndex_FieldPath

func ParseMetricDescriptorIndexSpecIndex_FieldPath(rawField string) (MetricDescriptorIndexSpecIndex_FieldPath, error)

type MetricDescriptorIndexSpecIndex_FieldPathArrayItemValue

type MetricDescriptorIndexSpecIndex_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	MetricDescriptorIndexSpecIndex_FieldPath
	ContainsValue(*MetricDescriptor_IndexSpec_Index) bool
}

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

func MustParseMetricDescriptorIndexSpecIndex_FieldPathArrayItemValue

func MustParseMetricDescriptorIndexSpecIndex_FieldPathArrayItemValue(pathStr, valueStr string) MetricDescriptorIndexSpecIndex_FieldPathArrayItemValue

func ParseMetricDescriptorIndexSpecIndex_FieldPathArrayItemValue

func ParseMetricDescriptorIndexSpecIndex_FieldPathArrayItemValue(pathStr, valueStr string) (MetricDescriptorIndexSpecIndex_FieldPathArrayItemValue, error)

ParseMetricDescriptorIndexSpecIndex_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type MetricDescriptorIndexSpecIndex_FieldPathArrayOfValues

type MetricDescriptorIndexSpecIndex_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	MetricDescriptorIndexSpecIndex_FieldPath
}

MetricDescriptorIndexSpecIndex_FieldPathArrayOfValues allows storing slice of values for Index fields according to their type

func MustParseMetricDescriptorIndexSpecIndex_FieldPathArrayOfValues

func MustParseMetricDescriptorIndexSpecIndex_FieldPathArrayOfValues(pathStr, valuesStr string) MetricDescriptorIndexSpecIndex_FieldPathArrayOfValues

func ParseMetricDescriptorIndexSpecIndex_FieldPathArrayOfValues

func ParseMetricDescriptorIndexSpecIndex_FieldPathArrayOfValues(pathStr, valuesStr string) (MetricDescriptorIndexSpecIndex_FieldPathArrayOfValues, error)

type MetricDescriptorIndexSpecIndex_FieldPathSelector

type MetricDescriptorIndexSpecIndex_FieldPathSelector int32
const (
	MetricDescriptorIndexSpecIndex_FieldPathSelectorPromotedLabels MetricDescriptorIndexSpecIndex_FieldPathSelector = 0
	MetricDescriptorIndexSpecIndex_FieldPathSelectorWriteOnly      MetricDescriptorIndexSpecIndex_FieldPathSelector = 1
)

func (MetricDescriptorIndexSpecIndex_FieldPathSelector) String

type MetricDescriptorIndexSpecIndex_FieldPathValue

type MetricDescriptorIndexSpecIndex_FieldPathValue interface {
	MetricDescriptorIndexSpecIndex_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **MetricDescriptor_IndexSpec_Index)
	CompareWith(*MetricDescriptor_IndexSpec_Index) (cmp int, comparable bool)
}

MetricDescriptorIndexSpecIndex_FieldPathValue allows storing values for Index fields according to their type

func MustParseMetricDescriptorIndexSpecIndex_FieldPathValue

func MustParseMetricDescriptorIndexSpecIndex_FieldPathValue(pathStr, valueStr string) MetricDescriptorIndexSpecIndex_FieldPathValue

func ParseMetricDescriptorIndexSpecIndex_FieldPathValue

func ParseMetricDescriptorIndexSpecIndex_FieldPathValue(pathStr, valueStr string) (MetricDescriptorIndexSpecIndex_FieldPathValue, error)

type MetricDescriptorIndexSpecIndex_FieldTerminalPath

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

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) ClearValue

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) ClearValueRaw

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) Get

Get returns all values pointed by specific field from source MetricDescriptor_IndexSpec_Index

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) GetRaw

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

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) GetSingle

GetSingle returns value pointed by specific field of from source MetricDescriptor_IndexSpec_Index

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) GetSingleRaw

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

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) Selector

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) String

String returns path representation in proto convention

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) WithIArrayItemValue

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) WithIArrayOfValues

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) WithIValue

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) WithRawIArrayItemValue

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

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) WithRawIArrayOfValues

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

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPath) WithRawIValue

type MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayItemValue

type MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayItemValue struct {
	MetricDescriptorIndexSpecIndex_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayItemValue) AsPromotedLabelsItemValue

func (fpaiv *MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayItemValue) AsPromotedLabelsItemValue() (string, bool)

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayItemValue) GetSingle

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayOfValues

type MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayOfValues struct {
	MetricDescriptorIndexSpecIndex_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayOfValues) AsPromotedLabelsArrayOfValues

func (fpaov *MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayOfValues) AsPromotedLabelsArrayOfValues() ([][]string, bool)

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayOfValues) AsWriteOnlyArrayOfValues

func (fpaov *MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayOfValues) AsWriteOnlyArrayOfValues() ([]bool, bool)

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPathArrayOfValues) GetRawValues

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

type MetricDescriptorIndexSpecIndex_FieldTerminalPathValue

type MetricDescriptorIndexSpecIndex_FieldTerminalPathValue struct {
	MetricDescriptorIndexSpecIndex_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPathValue) AsPromotedLabelsValue

func (fpv *MetricDescriptorIndexSpecIndex_FieldTerminalPathValue) AsPromotedLabelsValue() ([]string, bool)

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPathValue) AsWriteOnlyValue

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'MetricDescriptorIndexSpecIndex_FieldTerminalPathValue' with the value under path in 'MetricDescriptor_IndexSpec_Index'.

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPathValue) CompareWithRaw

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPathValue) GetRawValue

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

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

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object Index

func (*MetricDescriptorIndexSpecIndex_FieldTerminalPathValue) SetToRaw

type MetricDescriptorIndexSpecPerMonitoredResourceFieldPathBuilder

type MetricDescriptorIndexSpecPerMonitoredResourceFieldPathBuilder struct{}

func (MetricDescriptorIndexSpecPerMonitoredResourceFieldPathBuilder) Indices

func (MetricDescriptorIndexSpecPerMonitoredResourceFieldPathBuilder) Resource

type MetricDescriptorIndexSpecPerMonitoredResource_FieldPath

type MetricDescriptorIndexSpecPerMonitoredResource_FieldPath interface {
	gotenobject.FieldPath
	Selector() MetricDescriptorIndexSpecPerMonitoredResource_FieldPathSelector
	Get(source *MetricDescriptor_IndexSpec_PerMonitoredResource) []interface{}
	GetSingle(source *MetricDescriptor_IndexSpec_PerMonitoredResource) (interface{}, bool)
	ClearValue(item *MetricDescriptor_IndexSpec_PerMonitoredResource)

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

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

func MustParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPath

func MustParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPath(rawField string) MetricDescriptorIndexSpecPerMonitoredResource_FieldPath

func ParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPath

func ParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPath(rawField string) (MetricDescriptorIndexSpecPerMonitoredResource_FieldPath, error)

type MetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayItemValue

type MetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	MetricDescriptorIndexSpecPerMonitoredResource_FieldPath
	ContainsValue(*MetricDescriptor_IndexSpec_PerMonitoredResource) bool
}

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

func MustParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayItemValue

func MustParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayItemValue(pathStr, valueStr string) MetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayItemValue

func ParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayItemValue

func ParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayItemValue(pathStr, valueStr string) (MetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayItemValue, error)

ParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type MetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayOfValues

type MetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	MetricDescriptorIndexSpecPerMonitoredResource_FieldPath
}

MetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayOfValues allows storing slice of values for PerMonitoredResource fields according to their type

func MustParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayOfValues

func MustParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayOfValues(pathStr, valuesStr string) MetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayOfValues

func ParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayOfValues

func ParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayOfValues(pathStr, valuesStr string) (MetricDescriptorIndexSpecPerMonitoredResource_FieldPathArrayOfValues, error)

type MetricDescriptorIndexSpecPerMonitoredResource_FieldPathSelector

type MetricDescriptorIndexSpecPerMonitoredResource_FieldPathSelector int32
const (
	MetricDescriptorIndexSpecPerMonitoredResource_FieldPathSelectorResource MetricDescriptorIndexSpecPerMonitoredResource_FieldPathSelector = 0
	MetricDescriptorIndexSpecPerMonitoredResource_FieldPathSelectorIndices  MetricDescriptorIndexSpecPerMonitoredResource_FieldPathSelector = 1
)

func (MetricDescriptorIndexSpecPerMonitoredResource_FieldPathSelector) String

type MetricDescriptorIndexSpecPerMonitoredResource_FieldPathValue

type MetricDescriptorIndexSpecPerMonitoredResource_FieldPathValue interface {
	MetricDescriptorIndexSpecPerMonitoredResource_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **MetricDescriptor_IndexSpec_PerMonitoredResource)
	CompareWith(*MetricDescriptor_IndexSpec_PerMonitoredResource) (cmp int, comparable bool)
}

MetricDescriptorIndexSpecPerMonitoredResource_FieldPathValue allows storing values for PerMonitoredResource fields according to their type

func MustParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPathValue

func MustParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPathValue(pathStr, valueStr string) MetricDescriptorIndexSpecPerMonitoredResource_FieldPathValue

func ParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPathValue

func ParseMetricDescriptorIndexSpecPerMonitoredResource_FieldPathValue(pathStr, valueStr string) (MetricDescriptorIndexSpecPerMonitoredResource_FieldPathValue, error)

type MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath

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

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) AsIndicesSubPath

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) ClearValue

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) ClearValueRaw

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) Get

Get returns all values pointed by selected field from source MetricDescriptor_IndexSpec_PerMonitoredResource

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) GetRaw

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) GetSingle

GetSingle returns value of selected field from source MetricDescriptor_IndexSpec_PerMonitoredResource

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) GetSingleRaw

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

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) JSONString

JSONString returns path representation is JSON convention

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) Selector

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) String

String returns path representation in proto convention

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) WithIArrayItemValue

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) WithIArrayOfValues

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) WithIValue

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) WithRawIArrayItemValue

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) WithRawIArrayOfValues

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPath) WithRawIValue

type MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayItemValue

type MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayItemValue struct {
	MetricDescriptorIndexSpecPerMonitoredResource_FieldPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayItemValue) AsIndicesPathItemValue

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayItemValue) ContainsValue

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

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayItemValue) GetRawItemValue

GetRawValue returns stored array item value

type MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayOfValues

type MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayOfValues struct {
	MetricDescriptorIndexSpecPerMonitoredResource_FieldPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayOfValues) AsIndicesPathArrayOfValues

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathArrayOfValues) GetRawValues

type MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathValue

type MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathValue struct {
	MetricDescriptorIndexSpecPerMonitoredResource_FieldPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathValue) AsIndicesPathValue

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathValue) CompareWith

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathValue) CompareWithRaw

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathValue) GetRawValue

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathValue) SetTo

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldSubPathValue) SetToRaw

type MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath

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

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) ClearValue

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) ClearValueRaw

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) Get

Get returns all values pointed by specific field from source MetricDescriptor_IndexSpec_PerMonitoredResource

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) GetDefault

GetDefault returns a default value of the field type

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) GetRaw

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) GetSingle

GetSingle returns value pointed by specific field of from source MetricDescriptor_IndexSpec_PerMonitoredResource

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) GetSingleRaw

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) Selector

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) String

String returns path representation in proto convention

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) WithIArrayItemValue

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) WithIArrayOfValues

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) WithIValue

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) WithRawIArrayItemValue

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) WithRawIArrayOfValues

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath) WithRawIValue

type MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayItemValue

type MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayItemValue struct {
	MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayItemValue) AsIndicesItemValue

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayItemValue) GetRawItemValue

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

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayItemValue) GetSingle

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayItemValue) GetSingleRaw

type MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayOfValues

type MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayOfValues struct {
	MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayOfValues) AsIndicesArrayOfValues

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayOfValues) AsResourceArrayOfValues

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathArrayOfValues) GetRawValues

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

type MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathValue

type MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathValue struct {
	MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathValue) AsIndicesValue

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathValue) AsResourceValue

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathValue' with the value under path in 'MetricDescriptor_IndexSpec_PerMonitoredResource'.

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathValue) CompareWithRaw

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathValue) GetRawValue

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

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object PerMonitoredResource

func (*MetricDescriptorIndexSpecPerMonitoredResource_FieldTerminalPathValue) SetToRaw

type MetricDescriptorIndexSpec_FieldPath

type MetricDescriptorIndexSpec_FieldPath interface {
	gotenobject.FieldPath
	Selector() MetricDescriptorIndexSpec_FieldPathSelector
	Get(source *MetricDescriptor_IndexSpec) []interface{}
	GetSingle(source *MetricDescriptor_IndexSpec) (interface{}, bool)
	ClearValue(item *MetricDescriptor_IndexSpec)

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

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

func MustParseMetricDescriptorIndexSpec_FieldPath

func MustParseMetricDescriptorIndexSpec_FieldPath(rawField string) MetricDescriptorIndexSpec_FieldPath

func ParseMetricDescriptorIndexSpec_FieldPath

func ParseMetricDescriptorIndexSpec_FieldPath(rawField string) (MetricDescriptorIndexSpec_FieldPath, error)

type MetricDescriptorIndexSpec_FieldPathArrayItemValue

type MetricDescriptorIndexSpec_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	MetricDescriptorIndexSpec_FieldPath
	ContainsValue(*MetricDescriptor_IndexSpec) bool
}

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

func MustParseMetricDescriptorIndexSpec_FieldPathArrayItemValue

func MustParseMetricDescriptorIndexSpec_FieldPathArrayItemValue(pathStr, valueStr string) MetricDescriptorIndexSpec_FieldPathArrayItemValue

func ParseMetricDescriptorIndexSpec_FieldPathArrayItemValue

func ParseMetricDescriptorIndexSpec_FieldPathArrayItemValue(pathStr, valueStr string) (MetricDescriptorIndexSpec_FieldPathArrayItemValue, error)

ParseMetricDescriptorIndexSpec_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type MetricDescriptorIndexSpec_FieldPathArrayOfValues

type MetricDescriptorIndexSpec_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	MetricDescriptorIndexSpec_FieldPath
}

MetricDescriptorIndexSpec_FieldPathArrayOfValues allows storing slice of values for IndexSpec fields according to their type

func MustParseMetricDescriptorIndexSpec_FieldPathArrayOfValues

func MustParseMetricDescriptorIndexSpec_FieldPathArrayOfValues(pathStr, valuesStr string) MetricDescriptorIndexSpec_FieldPathArrayOfValues

func ParseMetricDescriptorIndexSpec_FieldPathArrayOfValues

func ParseMetricDescriptorIndexSpec_FieldPathArrayOfValues(pathStr, valuesStr string) (MetricDescriptorIndexSpec_FieldPathArrayOfValues, error)

type MetricDescriptorIndexSpec_FieldPathSelector

type MetricDescriptorIndexSpec_FieldPathSelector int32
const (
	MetricDescriptorIndexSpec_FieldPathSelectorPerResource MetricDescriptorIndexSpec_FieldPathSelector = 0
)

func (MetricDescriptorIndexSpec_FieldPathSelector) String

type MetricDescriptorIndexSpec_FieldPathValue

type MetricDescriptorIndexSpec_FieldPathValue interface {
	MetricDescriptorIndexSpec_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **MetricDescriptor_IndexSpec)
	CompareWith(*MetricDescriptor_IndexSpec) (cmp int, comparable bool)
}

MetricDescriptorIndexSpec_FieldPathValue allows storing values for IndexSpec fields according to their type

func MustParseMetricDescriptorIndexSpec_FieldPathValue

func MustParseMetricDescriptorIndexSpec_FieldPathValue(pathStr, valueStr string) MetricDescriptorIndexSpec_FieldPathValue

func ParseMetricDescriptorIndexSpec_FieldPathValue

func ParseMetricDescriptorIndexSpec_FieldPathValue(pathStr, valueStr string) (MetricDescriptorIndexSpec_FieldPathValue, error)

type MetricDescriptorIndexSpec_FieldSubPath

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

func (*MetricDescriptorIndexSpec_FieldSubPath) AsPerResourceSubPath

func (*MetricDescriptorIndexSpec_FieldSubPath) ClearValue

func (*MetricDescriptorIndexSpec_FieldSubPath) ClearValueRaw

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

func (*MetricDescriptorIndexSpec_FieldSubPath) Get

func (fps *MetricDescriptorIndexSpec_FieldSubPath) Get(source *MetricDescriptor_IndexSpec) (values []interface{})

Get returns all values pointed by selected field from source MetricDescriptor_IndexSpec

func (*MetricDescriptorIndexSpec_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*MetricDescriptorIndexSpec_FieldSubPath) GetRaw

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

func (*MetricDescriptorIndexSpec_FieldSubPath) GetSingle

func (fps *MetricDescriptorIndexSpec_FieldSubPath) GetSingle(source *MetricDescriptor_IndexSpec) (interface{}, bool)

GetSingle returns value of selected field from source MetricDescriptor_IndexSpec

func (*MetricDescriptorIndexSpec_FieldSubPath) GetSingleRaw

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

func (*MetricDescriptorIndexSpec_FieldSubPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*MetricDescriptorIndexSpec_FieldSubPath) JSONString

JSONString returns path representation is JSON convention

func (*MetricDescriptorIndexSpec_FieldSubPath) Selector

func (*MetricDescriptorIndexSpec_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*MetricDescriptorIndexSpec_FieldSubPath) String

String returns path representation in proto convention

func (*MetricDescriptorIndexSpec_FieldSubPath) WithIArrayItemValue

func (*MetricDescriptorIndexSpec_FieldSubPath) WithIArrayOfValues

func (*MetricDescriptorIndexSpec_FieldSubPath) WithIValue

func (*MetricDescriptorIndexSpec_FieldSubPath) WithRawIArrayItemValue

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

func (*MetricDescriptorIndexSpec_FieldSubPath) WithRawIArrayOfValues

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

func (*MetricDescriptorIndexSpec_FieldSubPath) WithRawIValue

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

type MetricDescriptorIndexSpec_FieldSubPathArrayItemValue

type MetricDescriptorIndexSpec_FieldSubPathArrayItemValue struct {
	MetricDescriptorIndexSpec_FieldPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorIndexSpec_FieldSubPathArrayItemValue) AsPerResourcePathItemValue

func (*MetricDescriptorIndexSpec_FieldSubPathArrayItemValue) ContainsValue

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

func (*MetricDescriptorIndexSpec_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type MetricDescriptorIndexSpec_FieldSubPathArrayOfValues

type MetricDescriptorIndexSpec_FieldSubPathArrayOfValues struct {
	MetricDescriptorIndexSpec_FieldPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorIndexSpec_FieldSubPathArrayOfValues) AsPerResourcePathArrayOfValues

func (*MetricDescriptorIndexSpec_FieldSubPathArrayOfValues) GetRawValues

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

type MetricDescriptorIndexSpec_FieldSubPathValue

type MetricDescriptorIndexSpec_FieldSubPathValue struct {
	MetricDescriptorIndexSpec_FieldPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorIndexSpec_FieldSubPathValue) AsPerResourcePathValue

func (*MetricDescriptorIndexSpec_FieldSubPathValue) CompareWith

func (*MetricDescriptorIndexSpec_FieldSubPathValue) CompareWithRaw

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

func (*MetricDescriptorIndexSpec_FieldSubPathValue) GetRawValue

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

func (*MetricDescriptorIndexSpec_FieldSubPathValue) SetTo

func (*MetricDescriptorIndexSpec_FieldSubPathValue) SetToRaw

type MetricDescriptorIndexSpec_FieldTerminalPath

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

func (*MetricDescriptorIndexSpec_FieldTerminalPath) ClearValue

func (*MetricDescriptorIndexSpec_FieldTerminalPath) ClearValueRaw

func (*MetricDescriptorIndexSpec_FieldTerminalPath) Get

func (fp *MetricDescriptorIndexSpec_FieldTerminalPath) Get(source *MetricDescriptor_IndexSpec) (values []interface{})

Get returns all values pointed by specific field from source MetricDescriptor_IndexSpec

func (*MetricDescriptorIndexSpec_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*MetricDescriptorIndexSpec_FieldTerminalPath) GetRaw

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

func (*MetricDescriptorIndexSpec_FieldTerminalPath) GetSingle

func (fp *MetricDescriptorIndexSpec_FieldTerminalPath) GetSingle(source *MetricDescriptor_IndexSpec) (interface{}, bool)

GetSingle returns value pointed by specific field of from source MetricDescriptor_IndexSpec

func (*MetricDescriptorIndexSpec_FieldTerminalPath) GetSingleRaw

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

func (*MetricDescriptorIndexSpec_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*MetricDescriptorIndexSpec_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*MetricDescriptorIndexSpec_FieldTerminalPath) Selector

func (*MetricDescriptorIndexSpec_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*MetricDescriptorIndexSpec_FieldTerminalPath) String

String returns path representation in proto convention

func (*MetricDescriptorIndexSpec_FieldTerminalPath) WithIArrayItemValue

func (*MetricDescriptorIndexSpec_FieldTerminalPath) WithIArrayOfValues

func (*MetricDescriptorIndexSpec_FieldTerminalPath) WithIValue

func (*MetricDescriptorIndexSpec_FieldTerminalPath) WithRawIArrayItemValue

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

func (*MetricDescriptorIndexSpec_FieldTerminalPath) WithRawIArrayOfValues

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

func (*MetricDescriptorIndexSpec_FieldTerminalPath) WithRawIValue

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

type MetricDescriptorIndexSpec_FieldTerminalPathArrayItemValue

type MetricDescriptorIndexSpec_FieldTerminalPathArrayItemValue struct {
	MetricDescriptorIndexSpec_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorIndexSpec_FieldTerminalPathArrayItemValue) AsPerResourceItemValue

func (*MetricDescriptorIndexSpec_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*MetricDescriptorIndexSpec_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*MetricDescriptorIndexSpec_FieldTerminalPathArrayItemValue) GetSingle

func (*MetricDescriptorIndexSpec_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type MetricDescriptorIndexSpec_FieldTerminalPathArrayOfValues

type MetricDescriptorIndexSpec_FieldTerminalPathArrayOfValues struct {
	MetricDescriptorIndexSpec_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorIndexSpec_FieldTerminalPathArrayOfValues) AsPerResourceArrayOfValues

func (*MetricDescriptorIndexSpec_FieldTerminalPathArrayOfValues) GetRawValues

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

type MetricDescriptorIndexSpec_FieldTerminalPathValue

type MetricDescriptorIndexSpec_FieldTerminalPathValue struct {
	MetricDescriptorIndexSpec_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorIndexSpec_FieldTerminalPathValue) AsPerResourceValue

func (*MetricDescriptorIndexSpec_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'MetricDescriptorIndexSpec_FieldTerminalPathValue' with the value under path in 'MetricDescriptor_IndexSpec'.

func (*MetricDescriptorIndexSpec_FieldTerminalPathValue) CompareWithRaw

func (*MetricDescriptorIndexSpec_FieldTerminalPathValue) GetRawValue

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

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

func (*MetricDescriptorIndexSpec_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object IndexSpec

func (*MetricDescriptorIndexSpec_FieldTerminalPathValue) SetToRaw

type MetricDescriptorList

type MetricDescriptorList []*MetricDescriptor

func (MetricDescriptorList) Append

func (MetricDescriptorList) AppendList

func (MetricDescriptorList) At

func (MetricDescriptorList) Length

func (l MetricDescriptorList) Length() int

func (MetricDescriptorList) Set

func (MetricDescriptorList) Slice

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

type MetricDescriptorMap

type MetricDescriptorMap map[Name]*MetricDescriptor

func (MetricDescriptorMap) Delete

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

func (MetricDescriptorMap) ForEach

func (MetricDescriptorMap) Get

func (MetricDescriptorMap) Length

func (m MetricDescriptorMap) Length() int

func (MetricDescriptorMap) Set

type MetricDescriptorMapPathSelectorMetadataAnnotations

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

func (MetricDescriptorMapPathSelectorMetadataAnnotations) FieldPath

func (MetricDescriptorMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (MetricDescriptorMapPathSelectorMetadataAnnotations) WithValue

type MetricDescriptorMapPathSelectorMetadataLabels

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

func (MetricDescriptorMapPathSelectorMetadataLabels) FieldPath

func (MetricDescriptorMapPathSelectorMetadataLabels) WithArrayOfValues

func (MetricDescriptorMapPathSelectorMetadataLabels) WithValue

type MetricDescriptorMapPathSelectorMetadataShards

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

func (MetricDescriptorMapPathSelectorMetadataShards) FieldPath

func (MetricDescriptorMapPathSelectorMetadataShards) WithArrayOfValues

func (MetricDescriptorMapPathSelectorMetadataShards) WithValue

type MetricDescriptorMetricDescriptorMetadataFieldPathBuilder

type MetricDescriptorMetricDescriptorMetadataFieldPathBuilder struct{}

func (MetricDescriptorMetricDescriptorMetadataFieldPathBuilder) LaunchStage

type MetricDescriptorMetricDescriptorMetadata_FieldPath

type MetricDescriptorMetricDescriptorMetadata_FieldPath interface {
	gotenobject.FieldPath
	Selector() MetricDescriptorMetricDescriptorMetadata_FieldPathSelector
	Get(source *MetricDescriptor_MetricDescriptorMetadata) []interface{}
	GetSingle(source *MetricDescriptor_MetricDescriptorMetadata) (interface{}, bool)
	ClearValue(item *MetricDescriptor_MetricDescriptorMetadata)

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

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

func MustParseMetricDescriptorMetricDescriptorMetadata_FieldPath

func MustParseMetricDescriptorMetricDescriptorMetadata_FieldPath(rawField string) MetricDescriptorMetricDescriptorMetadata_FieldPath

func ParseMetricDescriptorMetricDescriptorMetadata_FieldPath

func ParseMetricDescriptorMetricDescriptorMetadata_FieldPath(rawField string) (MetricDescriptorMetricDescriptorMetadata_FieldPath, error)

type MetricDescriptorMetricDescriptorMetadata_FieldPathArrayItemValue

type MetricDescriptorMetricDescriptorMetadata_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	MetricDescriptorMetricDescriptorMetadata_FieldPath
	ContainsValue(*MetricDescriptor_MetricDescriptorMetadata) bool
}

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

func MustParseMetricDescriptorMetricDescriptorMetadata_FieldPathArrayItemValue

func MustParseMetricDescriptorMetricDescriptorMetadata_FieldPathArrayItemValue(pathStr, valueStr string) MetricDescriptorMetricDescriptorMetadata_FieldPathArrayItemValue

func ParseMetricDescriptorMetricDescriptorMetadata_FieldPathArrayItemValue

func ParseMetricDescriptorMetricDescriptorMetadata_FieldPathArrayItemValue(pathStr, valueStr string) (MetricDescriptorMetricDescriptorMetadata_FieldPathArrayItemValue, error)

ParseMetricDescriptorMetricDescriptorMetadata_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type MetricDescriptorMetricDescriptorMetadata_FieldPathArrayOfValues

type MetricDescriptorMetricDescriptorMetadata_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	MetricDescriptorMetricDescriptorMetadata_FieldPath
}

MetricDescriptorMetricDescriptorMetadata_FieldPathArrayOfValues allows storing slice of values for MetricDescriptorMetadata fields according to their type

func MustParseMetricDescriptorMetricDescriptorMetadata_FieldPathArrayOfValues

func MustParseMetricDescriptorMetricDescriptorMetadata_FieldPathArrayOfValues(pathStr, valuesStr string) MetricDescriptorMetricDescriptorMetadata_FieldPathArrayOfValues

func ParseMetricDescriptorMetricDescriptorMetadata_FieldPathArrayOfValues

func ParseMetricDescriptorMetricDescriptorMetadata_FieldPathArrayOfValues(pathStr, valuesStr string) (MetricDescriptorMetricDescriptorMetadata_FieldPathArrayOfValues, error)

type MetricDescriptorMetricDescriptorMetadata_FieldPathSelector

type MetricDescriptorMetricDescriptorMetadata_FieldPathSelector int32
const (
	MetricDescriptorMetricDescriptorMetadata_FieldPathSelectorLaunchStage MetricDescriptorMetricDescriptorMetadata_FieldPathSelector = 0
)

func (MetricDescriptorMetricDescriptorMetadata_FieldPathSelector) String

type MetricDescriptorMetricDescriptorMetadata_FieldPathValue

type MetricDescriptorMetricDescriptorMetadata_FieldPathValue interface {
	MetricDescriptorMetricDescriptorMetadata_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **MetricDescriptor_MetricDescriptorMetadata)
	CompareWith(*MetricDescriptor_MetricDescriptorMetadata) (cmp int, comparable bool)
}

MetricDescriptorMetricDescriptorMetadata_FieldPathValue allows storing values for MetricDescriptorMetadata fields according to their type

func MustParseMetricDescriptorMetricDescriptorMetadata_FieldPathValue

func MustParseMetricDescriptorMetricDescriptorMetadata_FieldPathValue(pathStr, valueStr string) MetricDescriptorMetricDescriptorMetadata_FieldPathValue

func ParseMetricDescriptorMetricDescriptorMetadata_FieldPathValue

func ParseMetricDescriptorMetricDescriptorMetadata_FieldPathValue(pathStr, valueStr string) (MetricDescriptorMetricDescriptorMetadata_FieldPathValue, error)

type MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath

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

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) ClearValue

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) ClearValueRaw

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) Get

Get returns all values pointed by specific field from source MetricDescriptor_MetricDescriptorMetadata

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) GetDefault

GetDefault returns a default value of the field type

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) GetRaw

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) GetSingle

GetSingle returns value pointed by specific field of from source MetricDescriptor_MetricDescriptorMetadata

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) GetSingleRaw

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

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) Selector

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) String

String returns path representation in proto convention

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) WithIArrayItemValue

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) WithIArrayOfValues

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) WithIValue

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) WithRawIArrayItemValue

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) WithRawIArrayOfValues

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath) WithRawIValue

type MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathArrayItemValue

type MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathArrayItemValue struct {
	MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathArrayItemValue) GetRawItemValue

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

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathArrayItemValue) GetSingle

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathArrayItemValue) GetSingleRaw

type MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathArrayOfValues

type MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathArrayOfValues struct {
	MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathArrayOfValues) AsLaunchStageArrayOfValues

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathArrayOfValues) GetRawValues

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

type MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathValue

type MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathValue struct {
	MetricDescriptorMetricDescriptorMetadata_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathValue) AsLaunchStageValue

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathValue' with the value under path in 'MetricDescriptor_MetricDescriptorMetadata'.

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathValue) CompareWithRaw

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathValue) GetRawValue

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

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object MetricDescriptorMetadata

func (*MetricDescriptorMetricDescriptorMetadata_FieldTerminalPathValue) SetToRaw

type MetricDescriptorNameList

type MetricDescriptorNameList []*Name

func (MetricDescriptorNameList) Append

func (MetricDescriptorNameList) AppendList

func (MetricDescriptorNameList) At

func (MetricDescriptorNameList) Length

func (l MetricDescriptorNameList) Length() int

func (MetricDescriptorNameList) Set

func (MetricDescriptorNameList) Slice

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

type MetricDescriptorParentNameList

type MetricDescriptorParentNameList []*ParentName

func (MetricDescriptorParentNameList) Append

func (MetricDescriptorParentNameList) AppendList

func (MetricDescriptorParentNameList) At

func (MetricDescriptorParentNameList) Length

func (MetricDescriptorParentNameList) Set

func (MetricDescriptorParentNameList) Slice

type MetricDescriptorParentReferenceList

type MetricDescriptorParentReferenceList []*ParentReference

func (MetricDescriptorParentReferenceList) Append

func (MetricDescriptorParentReferenceList) AppendList

func (MetricDescriptorParentReferenceList) At

func (MetricDescriptorParentReferenceList) Length

func (MetricDescriptorParentReferenceList) Set

func (MetricDescriptorParentReferenceList) Slice

type MetricDescriptorPathSelectorDescription

type MetricDescriptorPathSelectorDescription struct{}

func (MetricDescriptorPathSelectorDescription) FieldPath

func (MetricDescriptorPathSelectorDescription) WithArrayOfValues

func (MetricDescriptorPathSelectorDescription) WithValue

type MetricDescriptorPathSelectorDisplayName

type MetricDescriptorPathSelectorDisplayName struct{}

func (MetricDescriptorPathSelectorDisplayName) FieldPath

func (MetricDescriptorPathSelectorDisplayName) WithArrayOfValues

func (MetricDescriptorPathSelectorDisplayName) WithValue

type MetricDescriptorPathSelectorDistributionBucketOptions

type MetricDescriptorPathSelectorDistributionBucketOptions struct{}

func (MetricDescriptorPathSelectorDistributionBucketOptions) FieldPath

func (MetricDescriptorPathSelectorDistributionBucketOptions) WithArrayOfValues

func (MetricDescriptorPathSelectorDistributionBucketOptions) WithSubArrayItemValue

func (MetricDescriptorPathSelectorDistributionBucketOptions) WithSubArrayOfValues

func (MetricDescriptorPathSelectorDistributionBucketOptions) WithSubPath

func (MetricDescriptorPathSelectorDistributionBucketOptions) WithSubValue

func (MetricDescriptorPathSelectorDistributionBucketOptions) WithValue

type MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBuckets

type MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBuckets struct{}

func (MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBuckets) FieldPath

func (MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBuckets) WithArrayOfValues

func (MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBuckets) WithValue

type MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsCompression

type MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsCompression struct{}

func (MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsCompression) FieldPath

func (MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsCompression) WithArrayOfValues

func (MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsCompression) WithValue

type MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsMeans

type MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsMeans struct{}

func (MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsMeans) FieldPath

func (MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsMeans) WithArrayOfValues

func (MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsMeans) WithItemValue

func (MetricDescriptorPathSelectorDistributionBucketOptionsDynamicBucketsMeans) WithValue

type MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBuckets

type MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBuckets struct{}

func (MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBuckets) FieldPath

func (MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBuckets) WithArrayOfValues

func (MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBuckets) WithValue

type MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBucketsBounds

type MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBucketsBounds struct{}

func (MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBucketsBounds) FieldPath

func (MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBucketsBounds) WithArrayOfValues

func (MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBucketsBounds) WithItemValue

func (MetricDescriptorPathSelectorDistributionBucketOptionsExplicitBucketsBounds) WithValue

type MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBuckets

type MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBuckets struct{}

func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBuckets) FieldPath

func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBuckets) WithArrayOfValues

func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBuckets) WithValue

type MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsGrowthFactor

type MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsGrowthFactor struct{}

func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsGrowthFactor) FieldPath

func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsGrowthFactor) WithArrayOfValues

func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsGrowthFactor) WithValue

type MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsNumFiniteBuckets

type MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsNumFiniteBuckets struct{}

func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsNumFiniteBuckets) FieldPath

func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsNumFiniteBuckets) WithArrayOfValues

func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsNumFiniteBuckets) WithValue

type MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsScale

type MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsScale struct{}

func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsScale) FieldPath

func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsScale) WithArrayOfValues

func (MetricDescriptorPathSelectorDistributionBucketOptionsExponentialBucketsScale) WithValue

type MetricDescriptorPathSelectorDistributionBucketOptionsLinearBuckets

type MetricDescriptorPathSelectorDistributionBucketOptionsLinearBuckets struct{}

func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBuckets) FieldPath

func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBuckets) WithArrayOfValues

func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBuckets) WithValue

type MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsNumFiniteBuckets

type MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsNumFiniteBuckets struct{}

func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsNumFiniteBuckets) FieldPath

func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsNumFiniteBuckets) WithArrayOfValues

func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsNumFiniteBuckets) WithValue

type MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsOffset

type MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsOffset struct{}

func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsOffset) FieldPath

func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsOffset) WithArrayOfValues

func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsOffset) WithValue

type MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsWidth

type MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsWidth struct{}

func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsWidth) FieldPath

func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsWidth) WithArrayOfValues

func (MetricDescriptorPathSelectorDistributionBucketOptionsLinearBucketsWidth) WithValue

type MetricDescriptorPathSelectorIndexSpec

type MetricDescriptorPathSelectorIndexSpec struct{}

func (MetricDescriptorPathSelectorIndexSpec) FieldPath

func (MetricDescriptorPathSelectorIndexSpec) PerResource

func (MetricDescriptorPathSelectorIndexSpec) WithArrayOfValues

func (MetricDescriptorPathSelectorIndexSpec) WithSubArrayItemValue

func (MetricDescriptorPathSelectorIndexSpec) WithSubArrayOfValues

func (MetricDescriptorPathSelectorIndexSpec) WithSubPath

func (MetricDescriptorPathSelectorIndexSpec) WithSubValue

func (MetricDescriptorPathSelectorIndexSpec) WithValue

type MetricDescriptorPathSelectorIndexSpecPerResource

type MetricDescriptorPathSelectorIndexSpecPerResource struct{}

func (MetricDescriptorPathSelectorIndexSpecPerResource) FieldPath

func (MetricDescriptorPathSelectorIndexSpecPerResource) Indices

func (MetricDescriptorPathSelectorIndexSpecPerResource) Resource

type MetricDescriptorPathSelectorIndexSpecPerResourceIndices

type MetricDescriptorPathSelectorIndexSpecPerResourceIndices struct{}

func (MetricDescriptorPathSelectorIndexSpecPerResourceIndices) FieldPath

func (MetricDescriptorPathSelectorIndexSpecPerResourceIndices) WithArrayOfValues

func (MetricDescriptorPathSelectorIndexSpecPerResourceIndices) WithItemValue

func (MetricDescriptorPathSelectorIndexSpecPerResourceIndices) WithValue

func (MetricDescriptorPathSelectorIndexSpecPerResourceIndices) WriteOnly

type MetricDescriptorPathSelectorIndexSpecPerResourceIndicesPromotedLabels

type MetricDescriptorPathSelectorIndexSpecPerResourceIndicesPromotedLabels struct{}

func (MetricDescriptorPathSelectorIndexSpecPerResourceIndicesPromotedLabels) FieldPath

func (MetricDescriptorPathSelectorIndexSpecPerResourceIndicesPromotedLabels) WithArrayOfValues

func (MetricDescriptorPathSelectorIndexSpecPerResourceIndicesPromotedLabels) WithItemValue

func (MetricDescriptorPathSelectorIndexSpecPerResourceIndicesPromotedLabels) WithValue

type MetricDescriptorPathSelectorIndexSpecPerResourceIndicesWriteOnly

type MetricDescriptorPathSelectorIndexSpecPerResourceIndicesWriteOnly struct{}

func (MetricDescriptorPathSelectorIndexSpecPerResourceIndicesWriteOnly) FieldPath

func (MetricDescriptorPathSelectorIndexSpecPerResourceIndicesWriteOnly) WithArrayOfValues

func (MetricDescriptorPathSelectorIndexSpecPerResourceIndicesWriteOnly) WithValue

type MetricDescriptorPathSelectorIndexSpecPerResourceResource

type MetricDescriptorPathSelectorIndexSpecPerResourceResource struct{}

func (MetricDescriptorPathSelectorIndexSpecPerResourceResource) FieldPath

func (MetricDescriptorPathSelectorIndexSpecPerResourceResource) WithArrayOfValues

func (MetricDescriptorPathSelectorIndexSpecPerResourceResource) WithValue

type MetricDescriptorPathSelectorLabels

type MetricDescriptorPathSelectorLabels struct{}

func (MetricDescriptorPathSelectorLabels) DefaultValue

func (MetricDescriptorPathSelectorLabels) Description

func (MetricDescriptorPathSelectorLabels) Disabled

func (MetricDescriptorPathSelectorLabels) FieldPath

func (MetricDescriptorPathSelectorLabels) Key

func (MetricDescriptorPathSelectorLabels) ValueType

func (MetricDescriptorPathSelectorLabels) WithArrayOfValues

func (MetricDescriptorPathSelectorLabels) WithItemValue

func (MetricDescriptorPathSelectorLabels) WithSubArrayItemValue

func (MetricDescriptorPathSelectorLabels) WithSubArrayOfValues

func (MetricDescriptorPathSelectorLabels) WithSubPath

func (MetricDescriptorPathSelectorLabels) WithSubValue

func (MetricDescriptorPathSelectorLabels) WithValue

type MetricDescriptorPathSelectorLabelsDefaultValue

type MetricDescriptorPathSelectorLabelsDefaultValue struct{}

func (MetricDescriptorPathSelectorLabelsDefaultValue) FieldPath

func (MetricDescriptorPathSelectorLabelsDefaultValue) WithArrayOfValues

func (MetricDescriptorPathSelectorLabelsDefaultValue) WithValue

type MetricDescriptorPathSelectorLabelsDescription

type MetricDescriptorPathSelectorLabelsDescription struct{}

func (MetricDescriptorPathSelectorLabelsDescription) FieldPath

func (MetricDescriptorPathSelectorLabelsDescription) WithArrayOfValues

func (MetricDescriptorPathSelectorLabelsDescription) WithValue

type MetricDescriptorPathSelectorLabelsDisabled

type MetricDescriptorPathSelectorLabelsDisabled struct{}

func (MetricDescriptorPathSelectorLabelsDisabled) FieldPath

func (MetricDescriptorPathSelectorLabelsDisabled) WithArrayOfValues

func (MetricDescriptorPathSelectorLabelsDisabled) WithValue

type MetricDescriptorPathSelectorLabelsKey

type MetricDescriptorPathSelectorLabelsKey struct{}

func (MetricDescriptorPathSelectorLabelsKey) FieldPath

func (MetricDescriptorPathSelectorLabelsKey) WithArrayOfValues

func (MetricDescriptorPathSelectorLabelsKey) WithValue

type MetricDescriptorPathSelectorLabelsValueType

type MetricDescriptorPathSelectorLabelsValueType struct{}

func (MetricDescriptorPathSelectorLabelsValueType) FieldPath

func (MetricDescriptorPathSelectorLabelsValueType) WithArrayOfValues

func (MetricDescriptorPathSelectorLabelsValueType) WithValue

type MetricDescriptorPathSelectorMetadata

type MetricDescriptorPathSelectorMetadata struct{}

func (MetricDescriptorPathSelectorMetadata) Annotations

func (MetricDescriptorPathSelectorMetadata) CreateTime

func (MetricDescriptorPathSelectorMetadata) DeleteTime added in v0.8.0

func (MetricDescriptorPathSelectorMetadata) FieldPath

func (MetricDescriptorPathSelectorMetadata) Generation

func (MetricDescriptorPathSelectorMetadata) Labels

func (MetricDescriptorPathSelectorMetadata) Lifecycle added in v0.8.0

func (MetricDescriptorPathSelectorMetadata) OwnerReferences

func (MetricDescriptorPathSelectorMetadata) ResourceVersion

func (MetricDescriptorPathSelectorMetadata) Services added in v1.0.21

func (MetricDescriptorPathSelectorMetadata) Shards

func (MetricDescriptorPathSelectorMetadata) Syncing

func (MetricDescriptorPathSelectorMetadata) Tags

func (MetricDescriptorPathSelectorMetadata) UpdateTime

func (MetricDescriptorPathSelectorMetadata) Uuid

func (MetricDescriptorPathSelectorMetadata) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadata) WithSubArrayItemValue

func (MetricDescriptorPathSelectorMetadata) WithSubArrayOfValues

func (MetricDescriptorPathSelectorMetadata) WithSubPath

func (MetricDescriptorPathSelectorMetadata) WithSubValue

func (MetricDescriptorPathSelectorMetadata) WithValue

type MetricDescriptorPathSelectorMetadataAnnotations

type MetricDescriptorPathSelectorMetadataAnnotations struct{}

func (MetricDescriptorPathSelectorMetadataAnnotations) FieldPath

func (MetricDescriptorPathSelectorMetadataAnnotations) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadataAnnotations) WithKey

func (MetricDescriptorPathSelectorMetadataAnnotations) WithValue

type MetricDescriptorPathSelectorMetadataCreateTime

type MetricDescriptorPathSelectorMetadataCreateTime struct{}

func (MetricDescriptorPathSelectorMetadataCreateTime) FieldPath

func (MetricDescriptorPathSelectorMetadataCreateTime) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadataCreateTime) WithValue

type MetricDescriptorPathSelectorMetadataDeleteTime added in v0.8.0

type MetricDescriptorPathSelectorMetadataDeleteTime struct{}

func (MetricDescriptorPathSelectorMetadataDeleteTime) FieldPath added in v0.8.0

func (MetricDescriptorPathSelectorMetadataDeleteTime) WithArrayOfValues added in v0.8.0

func (MetricDescriptorPathSelectorMetadataDeleteTime) WithValue added in v0.8.0

type MetricDescriptorPathSelectorMetadataGeneration

type MetricDescriptorPathSelectorMetadataGeneration struct{}

func (MetricDescriptorPathSelectorMetadataGeneration) FieldPath

func (MetricDescriptorPathSelectorMetadataGeneration) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadataGeneration) WithValue

type MetricDescriptorPathSelectorMetadataLabels

type MetricDescriptorPathSelectorMetadataLabels struct{}

func (MetricDescriptorPathSelectorMetadataLabels) FieldPath

func (MetricDescriptorPathSelectorMetadataLabels) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadataLabels) WithKey

func (MetricDescriptorPathSelectorMetadataLabels) WithValue

type MetricDescriptorPathSelectorMetadataLifecycle added in v0.8.0

type MetricDescriptorPathSelectorMetadataLifecycle struct{}

func (MetricDescriptorPathSelectorMetadataLifecycle) BlockDeletion added in v0.8.0

func (MetricDescriptorPathSelectorMetadataLifecycle) FieldPath added in v0.8.0

func (MetricDescriptorPathSelectorMetadataLifecycle) State added in v0.8.0

func (MetricDescriptorPathSelectorMetadataLifecycle) WithArrayOfValues added in v0.8.0

func (MetricDescriptorPathSelectorMetadataLifecycle) WithValue added in v0.8.0

type MetricDescriptorPathSelectorMetadataLifecycleBlockDeletion added in v0.8.0

type MetricDescriptorPathSelectorMetadataLifecycleBlockDeletion struct{}

func (MetricDescriptorPathSelectorMetadataLifecycleBlockDeletion) FieldPath added in v0.8.0

func (MetricDescriptorPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues added in v0.8.0

func (MetricDescriptorPathSelectorMetadataLifecycleBlockDeletion) WithValue added in v0.8.0

type MetricDescriptorPathSelectorMetadataLifecycleState added in v0.8.0

type MetricDescriptorPathSelectorMetadataLifecycleState struct{}

func (MetricDescriptorPathSelectorMetadataLifecycleState) FieldPath added in v0.8.0

func (MetricDescriptorPathSelectorMetadataLifecycleState) WithArrayOfValues added in v0.8.0

func (MetricDescriptorPathSelectorMetadataLifecycleState) WithValue added in v0.8.0

type MetricDescriptorPathSelectorMetadataOwnerReferences

type MetricDescriptorPathSelectorMetadataOwnerReferences struct{}

func (MetricDescriptorPathSelectorMetadataOwnerReferences) Controller

func (MetricDescriptorPathSelectorMetadataOwnerReferences) FieldPath

func (MetricDescriptorPathSelectorMetadataOwnerReferences) Kind

func (MetricDescriptorPathSelectorMetadataOwnerReferences) Name

func (MetricDescriptorPathSelectorMetadataOwnerReferences) Region added in v0.8.0

func (MetricDescriptorPathSelectorMetadataOwnerReferences) RequiresOwnerReference added in v0.8.0

func (MetricDescriptorPathSelectorMetadataOwnerReferences) UnsetOnDelete added in v1.9.1

func (MetricDescriptorPathSelectorMetadataOwnerReferences) Version added in v0.8.0

func (MetricDescriptorPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadataOwnerReferences) WithItemValue

func (MetricDescriptorPathSelectorMetadataOwnerReferences) WithValue

type MetricDescriptorPathSelectorMetadataOwnerReferencesController

type MetricDescriptorPathSelectorMetadataOwnerReferencesController struct{}

func (MetricDescriptorPathSelectorMetadataOwnerReferencesController) FieldPath

func (MetricDescriptorPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadataOwnerReferencesController) WithValue

type MetricDescriptorPathSelectorMetadataOwnerReferencesKind

type MetricDescriptorPathSelectorMetadataOwnerReferencesKind struct{}

func (MetricDescriptorPathSelectorMetadataOwnerReferencesKind) FieldPath

func (MetricDescriptorPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadataOwnerReferencesKind) WithValue

type MetricDescriptorPathSelectorMetadataOwnerReferencesName

type MetricDescriptorPathSelectorMetadataOwnerReferencesName struct{}

func (MetricDescriptorPathSelectorMetadataOwnerReferencesName) FieldPath

func (MetricDescriptorPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadataOwnerReferencesName) WithValue

type MetricDescriptorPathSelectorMetadataOwnerReferencesRegion added in v0.8.0

type MetricDescriptorPathSelectorMetadataOwnerReferencesRegion struct{}

func (MetricDescriptorPathSelectorMetadataOwnerReferencesRegion) FieldPath added in v0.8.0

func (MetricDescriptorPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues added in v0.8.0

func (MetricDescriptorPathSelectorMetadataOwnerReferencesRegion) WithValue added in v0.8.0

type MetricDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference added in v0.8.0

type MetricDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (MetricDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath added in v0.8.0

func (MetricDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues added in v0.8.0

func (MetricDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue added in v0.8.0

type MetricDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete added in v1.9.1

type MetricDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete struct{}

func (MetricDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath added in v1.9.1

func (MetricDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues added in v1.9.1

func (MetricDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue added in v1.9.1

type MetricDescriptorPathSelectorMetadataOwnerReferencesVersion added in v0.8.0

type MetricDescriptorPathSelectorMetadataOwnerReferencesVersion struct{}

func (MetricDescriptorPathSelectorMetadataOwnerReferencesVersion) FieldPath added in v0.8.0

func (MetricDescriptorPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues added in v0.8.0

func (MetricDescriptorPathSelectorMetadataOwnerReferencesVersion) WithValue added in v0.8.0

type MetricDescriptorPathSelectorMetadataResourceVersion

type MetricDescriptorPathSelectorMetadataResourceVersion struct{}

func (MetricDescriptorPathSelectorMetadataResourceVersion) FieldPath

func (MetricDescriptorPathSelectorMetadataResourceVersion) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadataResourceVersion) WithValue

type MetricDescriptorPathSelectorMetadataServices added in v1.0.21

type MetricDescriptorPathSelectorMetadataServices struct{}

func (MetricDescriptorPathSelectorMetadataServices) AllowedServices added in v1.0.21

func (MetricDescriptorPathSelectorMetadataServices) FieldPath added in v1.0.21

func (MetricDescriptorPathSelectorMetadataServices) OwningService added in v1.0.21

func (MetricDescriptorPathSelectorMetadataServices) WithArrayOfValues added in v1.0.21

func (MetricDescriptorPathSelectorMetadataServices) WithValue added in v1.0.21

type MetricDescriptorPathSelectorMetadataServicesAllowedServices added in v1.0.21

type MetricDescriptorPathSelectorMetadataServicesAllowedServices struct{}

func (MetricDescriptorPathSelectorMetadataServicesAllowedServices) FieldPath added in v1.0.21

func (MetricDescriptorPathSelectorMetadataServicesAllowedServices) WithArrayOfValues added in v1.0.21

func (MetricDescriptorPathSelectorMetadataServicesAllowedServices) WithItemValue added in v1.0.21

func (MetricDescriptorPathSelectorMetadataServicesAllowedServices) WithValue added in v1.0.21

type MetricDescriptorPathSelectorMetadataServicesOwningService added in v1.0.21

type MetricDescriptorPathSelectorMetadataServicesOwningService struct{}

func (MetricDescriptorPathSelectorMetadataServicesOwningService) FieldPath added in v1.0.21

func (MetricDescriptorPathSelectorMetadataServicesOwningService) WithArrayOfValues added in v1.0.21

func (MetricDescriptorPathSelectorMetadataServicesOwningService) WithValue added in v1.0.21

type MetricDescriptorPathSelectorMetadataShards

type MetricDescriptorPathSelectorMetadataShards struct{}

func (MetricDescriptorPathSelectorMetadataShards) FieldPath

func (MetricDescriptorPathSelectorMetadataShards) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadataShards) WithKey

func (MetricDescriptorPathSelectorMetadataShards) WithValue

type MetricDescriptorPathSelectorMetadataSyncing

type MetricDescriptorPathSelectorMetadataSyncing struct{}

func (MetricDescriptorPathSelectorMetadataSyncing) FieldPath

func (MetricDescriptorPathSelectorMetadataSyncing) OwningRegion

func (MetricDescriptorPathSelectorMetadataSyncing) Regions

func (MetricDescriptorPathSelectorMetadataSyncing) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadataSyncing) WithValue

type MetricDescriptorPathSelectorMetadataSyncingOwningRegion

type MetricDescriptorPathSelectorMetadataSyncingOwningRegion struct{}

func (MetricDescriptorPathSelectorMetadataSyncingOwningRegion) FieldPath

func (MetricDescriptorPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadataSyncingOwningRegion) WithValue

type MetricDescriptorPathSelectorMetadataSyncingRegions

type MetricDescriptorPathSelectorMetadataSyncingRegions struct{}

func (MetricDescriptorPathSelectorMetadataSyncingRegions) FieldPath

func (MetricDescriptorPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadataSyncingRegions) WithItemValue

func (MetricDescriptorPathSelectorMetadataSyncingRegions) WithValue

type MetricDescriptorPathSelectorMetadataTags

type MetricDescriptorPathSelectorMetadataTags struct{}

func (MetricDescriptorPathSelectorMetadataTags) FieldPath

func (MetricDescriptorPathSelectorMetadataTags) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadataTags) WithItemValue

func (MetricDescriptorPathSelectorMetadataTags) WithValue

type MetricDescriptorPathSelectorMetadataUpdateTime

type MetricDescriptorPathSelectorMetadataUpdateTime struct{}

func (MetricDescriptorPathSelectorMetadataUpdateTime) FieldPath

func (MetricDescriptorPathSelectorMetadataUpdateTime) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadataUpdateTime) WithValue

type MetricDescriptorPathSelectorMetadataUuid

type MetricDescriptorPathSelectorMetadataUuid struct{}

func (MetricDescriptorPathSelectorMetadataUuid) FieldPath

func (MetricDescriptorPathSelectorMetadataUuid) WithArrayOfValues

func (MetricDescriptorPathSelectorMetadataUuid) WithValue

type MetricDescriptorPathSelectorMetricDescriptorMetadata

type MetricDescriptorPathSelectorMetricDescriptorMetadata struct{}

func (MetricDescriptorPathSelectorMetricDescriptorMetadata) FieldPath

func (MetricDescriptorPathSelectorMetricDescriptorMetadata) LaunchStage

type MetricDescriptorPathSelectorMetricDescriptorMetadataLaunchStage

type MetricDescriptorPathSelectorMetricDescriptorMetadataLaunchStage struct{}

func (MetricDescriptorPathSelectorMetricDescriptorMetadataLaunchStage) FieldPath

func (MetricDescriptorPathSelectorMetricDescriptorMetadataLaunchStage) WithArrayOfValues

func (MetricDescriptorPathSelectorMetricDescriptorMetadataLaunchStage) WithValue

type MetricDescriptorPathSelectorMetricKind

type MetricDescriptorPathSelectorMetricKind struct{}

func (MetricDescriptorPathSelectorMetricKind) FieldPath

func (MetricDescriptorPathSelectorMetricKind) WithArrayOfValues

func (MetricDescriptorPathSelectorMetricKind) WithValue

type MetricDescriptorPathSelectorName

type MetricDescriptorPathSelectorName struct{}

func (MetricDescriptorPathSelectorName) FieldPath

func (MetricDescriptorPathSelectorName) WithArrayOfValues

func (MetricDescriptorPathSelectorName) WithValue

type MetricDescriptorPathSelectorPromotedLabelKeySets

type MetricDescriptorPathSelectorPromotedLabelKeySets struct{}

func (MetricDescriptorPathSelectorPromotedLabelKeySets) FieldPath

func (MetricDescriptorPathSelectorPromotedLabelKeySets) LabelKeys

func (MetricDescriptorPathSelectorPromotedLabelKeySets) WithArrayOfValues

func (MetricDescriptorPathSelectorPromotedLabelKeySets) WithItemValue

func (MetricDescriptorPathSelectorPromotedLabelKeySets) WithSubArrayItemValue

func (MetricDescriptorPathSelectorPromotedLabelKeySets) WithSubArrayOfValues

func (MetricDescriptorPathSelectorPromotedLabelKeySets) WithSubPath

func (MetricDescriptorPathSelectorPromotedLabelKeySets) WithSubValue

func (MetricDescriptorPathSelectorPromotedLabelKeySets) WithValue

func (MetricDescriptorPathSelectorPromotedLabelKeySets) WriteOnly

type MetricDescriptorPathSelectorPromotedLabelKeySetsLabelKeys

type MetricDescriptorPathSelectorPromotedLabelKeySetsLabelKeys struct{}

func (MetricDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) FieldPath

func (MetricDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithArrayOfValues

func (MetricDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithItemValue

func (MetricDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithValue

type MetricDescriptorPathSelectorPromotedLabelKeySetsWriteOnly

type MetricDescriptorPathSelectorPromotedLabelKeySetsWriteOnly struct{}

func (MetricDescriptorPathSelectorPromotedLabelKeySetsWriteOnly) FieldPath

func (MetricDescriptorPathSelectorPromotedLabelKeySetsWriteOnly) WithArrayOfValues

func (MetricDescriptorPathSelectorPromotedLabelKeySetsWriteOnly) WithValue

type MetricDescriptorPathSelectorResourceTypes

type MetricDescriptorPathSelectorResourceTypes struct{}

func (MetricDescriptorPathSelectorResourceTypes) FieldPath

func (MetricDescriptorPathSelectorResourceTypes) WithArrayOfValues

func (MetricDescriptorPathSelectorResourceTypes) WithItemValue

func (MetricDescriptorPathSelectorResourceTypes) WithValue

type MetricDescriptorPathSelectorStorageConfig

type MetricDescriptorPathSelectorStorageConfig struct{}

func (MetricDescriptorPathSelectorStorageConfig) FieldPath

func (MetricDescriptorPathSelectorStorageConfig) StoreRawPoints

func (MetricDescriptorPathSelectorStorageConfig) WithArrayOfValues

func (MetricDescriptorPathSelectorStorageConfig) WithSubArrayItemValue

func (MetricDescriptorPathSelectorStorageConfig) WithSubArrayOfValues

func (MetricDescriptorPathSelectorStorageConfig) WithSubPath

func (MetricDescriptorPathSelectorStorageConfig) WithSubValue

func (MetricDescriptorPathSelectorStorageConfig) WithValue

type MetricDescriptorPathSelectorStorageConfigStoreRawPoints

type MetricDescriptorPathSelectorStorageConfigStoreRawPoints struct{}

func (MetricDescriptorPathSelectorStorageConfigStoreRawPoints) FieldPath

func (MetricDescriptorPathSelectorStorageConfigStoreRawPoints) WithArrayOfValues

func (MetricDescriptorPathSelectorStorageConfigStoreRawPoints) WithValue

type MetricDescriptorPathSelectorType

type MetricDescriptorPathSelectorType struct{}

func (MetricDescriptorPathSelectorType) FieldPath

func (MetricDescriptorPathSelectorType) WithArrayOfValues

func (MetricDescriptorPathSelectorType) WithValue

type MetricDescriptorPathSelectorUnit

type MetricDescriptorPathSelectorUnit struct{}

func (MetricDescriptorPathSelectorUnit) FieldPath

func (MetricDescriptorPathSelectorUnit) WithArrayOfValues

func (MetricDescriptorPathSelectorUnit) WithValue

type MetricDescriptorPathSelectorValueType

type MetricDescriptorPathSelectorValueType struct{}

func (MetricDescriptorPathSelectorValueType) FieldPath

func (MetricDescriptorPathSelectorValueType) WithArrayOfValues

func (MetricDescriptorPathSelectorValueType) WithValue

type MetricDescriptorReferenceList

type MetricDescriptorReferenceList []*Reference

func (MetricDescriptorReferenceList) Append

func (MetricDescriptorReferenceList) AppendList

func (MetricDescriptorReferenceList) At

func (MetricDescriptorReferenceList) Length

func (MetricDescriptorReferenceList) Set

func (MetricDescriptorReferenceList) Slice

type MetricDescriptorStorageConfigFieldPathBuilder

type MetricDescriptorStorageConfigFieldPathBuilder struct{}

func NewMetricDescriptorStorageConfigFieldPathBuilder

func NewMetricDescriptorStorageConfigFieldPathBuilder() MetricDescriptorStorageConfigFieldPathBuilder

func (MetricDescriptorStorageConfigFieldPathBuilder) StoreRawPoints

type MetricDescriptorStorageConfig_FieldPath

type MetricDescriptorStorageConfig_FieldPath interface {
	gotenobject.FieldPath
	Selector() MetricDescriptorStorageConfig_FieldPathSelector
	Get(source *MetricDescriptor_StorageConfig) []interface{}
	GetSingle(source *MetricDescriptor_StorageConfig) (interface{}, bool)
	ClearValue(item *MetricDescriptor_StorageConfig)

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

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

func MustParseMetricDescriptorStorageConfig_FieldPath

func MustParseMetricDescriptorStorageConfig_FieldPath(rawField string) MetricDescriptorStorageConfig_FieldPath

func ParseMetricDescriptorStorageConfig_FieldPath

func ParseMetricDescriptorStorageConfig_FieldPath(rawField string) (MetricDescriptorStorageConfig_FieldPath, error)

type MetricDescriptorStorageConfig_FieldPathArrayItemValue

type MetricDescriptorStorageConfig_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	MetricDescriptorStorageConfig_FieldPath
	ContainsValue(*MetricDescriptor_StorageConfig) bool
}

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

func MustParseMetricDescriptorStorageConfig_FieldPathArrayItemValue

func MustParseMetricDescriptorStorageConfig_FieldPathArrayItemValue(pathStr, valueStr string) MetricDescriptorStorageConfig_FieldPathArrayItemValue

func ParseMetricDescriptorStorageConfig_FieldPathArrayItemValue

func ParseMetricDescriptorStorageConfig_FieldPathArrayItemValue(pathStr, valueStr string) (MetricDescriptorStorageConfig_FieldPathArrayItemValue, error)

ParseMetricDescriptorStorageConfig_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type MetricDescriptorStorageConfig_FieldPathArrayOfValues

type MetricDescriptorStorageConfig_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	MetricDescriptorStorageConfig_FieldPath
}

MetricDescriptorStorageConfig_FieldPathArrayOfValues allows storing slice of values for StorageConfig fields according to their type

func MustParseMetricDescriptorStorageConfig_FieldPathArrayOfValues

func MustParseMetricDescriptorStorageConfig_FieldPathArrayOfValues(pathStr, valuesStr string) MetricDescriptorStorageConfig_FieldPathArrayOfValues

func ParseMetricDescriptorStorageConfig_FieldPathArrayOfValues

func ParseMetricDescriptorStorageConfig_FieldPathArrayOfValues(pathStr, valuesStr string) (MetricDescriptorStorageConfig_FieldPathArrayOfValues, error)

type MetricDescriptorStorageConfig_FieldPathSelector

type MetricDescriptorStorageConfig_FieldPathSelector int32
const (
	MetricDescriptorStorageConfig_FieldPathSelectorStoreRawPoints MetricDescriptorStorageConfig_FieldPathSelector = 0
)

func (MetricDescriptorStorageConfig_FieldPathSelector) String

type MetricDescriptorStorageConfig_FieldPathValue

type MetricDescriptorStorageConfig_FieldPathValue interface {
	MetricDescriptorStorageConfig_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **MetricDescriptor_StorageConfig)
	CompareWith(*MetricDescriptor_StorageConfig) (cmp int, comparable bool)
}

MetricDescriptorStorageConfig_FieldPathValue allows storing values for StorageConfig fields according to their type

func MustParseMetricDescriptorStorageConfig_FieldPathValue

func MustParseMetricDescriptorStorageConfig_FieldPathValue(pathStr, valueStr string) MetricDescriptorStorageConfig_FieldPathValue

func ParseMetricDescriptorStorageConfig_FieldPathValue

func ParseMetricDescriptorStorageConfig_FieldPathValue(pathStr, valueStr string) (MetricDescriptorStorageConfig_FieldPathValue, error)

type MetricDescriptorStorageConfig_FieldTerminalPath

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

func (*MetricDescriptorStorageConfig_FieldTerminalPath) ClearValue

func (*MetricDescriptorStorageConfig_FieldTerminalPath) ClearValueRaw

func (*MetricDescriptorStorageConfig_FieldTerminalPath) Get

Get returns all values pointed by specific field from source MetricDescriptor_StorageConfig

func (*MetricDescriptorStorageConfig_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*MetricDescriptorStorageConfig_FieldTerminalPath) GetRaw

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

func (*MetricDescriptorStorageConfig_FieldTerminalPath) GetSingle

GetSingle returns value pointed by specific field of from source MetricDescriptor_StorageConfig

func (*MetricDescriptorStorageConfig_FieldTerminalPath) GetSingleRaw

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

func (*MetricDescriptorStorageConfig_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*MetricDescriptorStorageConfig_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*MetricDescriptorStorageConfig_FieldTerminalPath) Selector

func (*MetricDescriptorStorageConfig_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (*MetricDescriptorStorageConfig_FieldTerminalPath) String

String returns path representation in proto convention

func (*MetricDescriptorStorageConfig_FieldTerminalPath) WithIArrayItemValue

func (*MetricDescriptorStorageConfig_FieldTerminalPath) WithIArrayOfValues

func (*MetricDescriptorStorageConfig_FieldTerminalPath) WithIValue

func (*MetricDescriptorStorageConfig_FieldTerminalPath) WithRawIArrayItemValue

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

func (*MetricDescriptorStorageConfig_FieldTerminalPath) WithRawIArrayOfValues

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

func (*MetricDescriptorStorageConfig_FieldTerminalPath) WithRawIValue

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

type MetricDescriptorStorageConfig_FieldTerminalPathArrayItemValue

type MetricDescriptorStorageConfig_FieldTerminalPathArrayItemValue struct {
	MetricDescriptorStorageConfig_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorStorageConfig_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*MetricDescriptorStorageConfig_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*MetricDescriptorStorageConfig_FieldTerminalPathArrayItemValue) GetSingle

func (*MetricDescriptorStorageConfig_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type MetricDescriptorStorageConfig_FieldTerminalPathArrayOfValues

type MetricDescriptorStorageConfig_FieldTerminalPathArrayOfValues struct {
	MetricDescriptorStorageConfig_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorStorageConfig_FieldTerminalPathArrayOfValues) AsStoreRawPointsArrayOfValues

func (fpaov *MetricDescriptorStorageConfig_FieldTerminalPathArrayOfValues) AsStoreRawPointsArrayOfValues() ([]bool, bool)

func (*MetricDescriptorStorageConfig_FieldTerminalPathArrayOfValues) GetRawValues

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

type MetricDescriptorStorageConfig_FieldTerminalPathValue

type MetricDescriptorStorageConfig_FieldTerminalPathValue struct {
	MetricDescriptorStorageConfig_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptorStorageConfig_FieldTerminalPathValue) AsStoreRawPointsValue

func (fpv *MetricDescriptorStorageConfig_FieldTerminalPathValue) AsStoreRawPointsValue() (bool, bool)

func (*MetricDescriptorStorageConfig_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'MetricDescriptorStorageConfig_FieldTerminalPathValue' with the value under path in 'MetricDescriptor_StorageConfig'.

func (*MetricDescriptorStorageConfig_FieldTerminalPathValue) CompareWithRaw

func (*MetricDescriptorStorageConfig_FieldTerminalPathValue) GetRawValue

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

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

func (*MetricDescriptorStorageConfig_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object StorageConfig

func (*MetricDescriptorStorageConfig_FieldTerminalPathValue) SetToRaw

type MetricDescriptor_FieldMask

type MetricDescriptor_FieldMask struct {
	Paths []MetricDescriptor_FieldPath
}

func FullMetricDescriptor_FieldMask

func FullMetricDescriptor_FieldMask() *MetricDescriptor_FieldMask

func ResourceViewFieldMask

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

func (*MetricDescriptor_FieldMask) AppendPath

func (fieldMask *MetricDescriptor_FieldMask) AppendPath(path MetricDescriptor_FieldPath)

func (*MetricDescriptor_FieldMask) AppendRawPath

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

func (*MetricDescriptor_FieldMask) DecodeFirestore

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

func (*MetricDescriptor_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*MetricDescriptor_FieldMask) FilterInputFields

func (fieldMask *MetricDescriptor_FieldMask) FilterInputFields() *MetricDescriptor_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*MetricDescriptor_FieldMask) FromProtoFieldMask

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

func (*MetricDescriptor_FieldMask) GetPaths

func (*MetricDescriptor_FieldMask) GetRawPaths

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

func (*MetricDescriptor_FieldMask) IsFull

func (fieldMask *MetricDescriptor_FieldMask) IsFull() bool

func (MetricDescriptor_FieldMask) Marshal

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

implement methods required by customType

func (MetricDescriptor_FieldMask) MarshalJSON

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

func (*MetricDescriptor_FieldMask) PathsCount

func (fieldMask *MetricDescriptor_FieldMask) PathsCount() int

func (*MetricDescriptor_FieldMask) Project

func (fieldMask *MetricDescriptor_FieldMask) Project(source *MetricDescriptor) *MetricDescriptor

func (*MetricDescriptor_FieldMask) ProjectRaw

func (*MetricDescriptor_FieldMask) ProtoMessage

func (fieldMask *MetricDescriptor_FieldMask) ProtoMessage()

func (*MetricDescriptor_FieldMask) ProtoReflect

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

func (*MetricDescriptor_FieldMask) Reset

func (fieldMask *MetricDescriptor_FieldMask) Reset()

func (*MetricDescriptor_FieldMask) Set

func (fieldMask *MetricDescriptor_FieldMask) Set(target, source *MetricDescriptor)

func (*MetricDescriptor_FieldMask) SetFromCliFlag

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

func (*MetricDescriptor_FieldMask) SetRaw

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

func (*MetricDescriptor_FieldMask) Size

func (fieldMask *MetricDescriptor_FieldMask) Size() int

func (*MetricDescriptor_FieldMask) String

func (fieldMask *MetricDescriptor_FieldMask) String() string

func (*MetricDescriptor_FieldMask) Subtract

func (*MetricDescriptor_FieldMask) SubtractRaw

func (*MetricDescriptor_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*MetricDescriptor_FieldMask) Unmarshal

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

func (*MetricDescriptor_FieldMask) UnmarshalJSON

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

type MetricDescriptor_FieldPath

type MetricDescriptor_FieldPath interface {
	gotenobject.FieldPath
	Selector() MetricDescriptor_FieldPathSelector
	Get(source *MetricDescriptor) []interface{}
	GetSingle(source *MetricDescriptor) (interface{}, bool)
	ClearValue(item *MetricDescriptor)

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

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

func MustParseMetricDescriptor_FieldPath

func MustParseMetricDescriptor_FieldPath(rawField string) MetricDescriptor_FieldPath

func ParseMetricDescriptor_FieldPath

func ParseMetricDescriptor_FieldPath(rawField string) (MetricDescriptor_FieldPath, error)

type MetricDescriptor_FieldPathArrayItemValue

type MetricDescriptor_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	MetricDescriptor_FieldPath
	ContainsValue(*MetricDescriptor) bool
}

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

func MustParseMetricDescriptor_FieldPathArrayItemValue

func MustParseMetricDescriptor_FieldPathArrayItemValue(pathStr, valueStr string) MetricDescriptor_FieldPathArrayItemValue

func ParseMetricDescriptor_FieldPathArrayItemValue

func ParseMetricDescriptor_FieldPathArrayItemValue(pathStr, valueStr string) (MetricDescriptor_FieldPathArrayItemValue, error)

ParseMetricDescriptor_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type MetricDescriptor_FieldPathArrayOfValues

type MetricDescriptor_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	MetricDescriptor_FieldPath
}

MetricDescriptor_FieldPathArrayOfValues allows storing slice of values for MetricDescriptor fields according to their type

func MustParseMetricDescriptor_FieldPathArrayOfValues

func MustParseMetricDescriptor_FieldPathArrayOfValues(pathStr, valuesStr string) MetricDescriptor_FieldPathArrayOfValues

func ParseMetricDescriptor_FieldPathArrayOfValues

func ParseMetricDescriptor_FieldPathArrayOfValues(pathStr, valuesStr string) (MetricDescriptor_FieldPathArrayOfValues, error)

type MetricDescriptor_FieldPathSelector

type MetricDescriptor_FieldPathSelector int32
const (
	MetricDescriptor_FieldPathSelectorMetadata                  MetricDescriptor_FieldPathSelector = 0
	MetricDescriptor_FieldPathSelectorName                      MetricDescriptor_FieldPathSelector = 1
	MetricDescriptor_FieldPathSelectorType                      MetricDescriptor_FieldPathSelector = 2
	MetricDescriptor_FieldPathSelectorResourceTypes             MetricDescriptor_FieldPathSelector = 3
	MetricDescriptor_FieldPathSelectorLabels                    MetricDescriptor_FieldPathSelector = 4
	MetricDescriptor_FieldPathSelectorMetricKind                MetricDescriptor_FieldPathSelector = 5
	MetricDescriptor_FieldPathSelectorValueType                 MetricDescriptor_FieldPathSelector = 6
	MetricDescriptor_FieldPathSelectorUnit                      MetricDescriptor_FieldPathSelector = 7
	MetricDescriptor_FieldPathSelectorDescription               MetricDescriptor_FieldPathSelector = 8
	MetricDescriptor_FieldPathSelectorDisplayName               MetricDescriptor_FieldPathSelector = 9
	MetricDescriptor_FieldPathSelectorMetricDescriptorMetadata  MetricDescriptor_FieldPathSelector = 10
	MetricDescriptor_FieldPathSelectorDistributionBucketOptions MetricDescriptor_FieldPathSelector = 11
	MetricDescriptor_FieldPathSelectorPromotedLabelKeySets      MetricDescriptor_FieldPathSelector = 12
	MetricDescriptor_FieldPathSelectorIndexSpec                 MetricDescriptor_FieldPathSelector = 13
	MetricDescriptor_FieldPathSelectorStorageConfig             MetricDescriptor_FieldPathSelector = 14
)

func (MetricDescriptor_FieldPathSelector) String

type MetricDescriptor_FieldPathValue

type MetricDescriptor_FieldPathValue interface {
	MetricDescriptor_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **MetricDescriptor)
	CompareWith(*MetricDescriptor) (cmp int, comparable bool)
}

MetricDescriptor_FieldPathValue allows storing values for MetricDescriptor fields according to their type

func MustParseMetricDescriptor_FieldPathValue

func MustParseMetricDescriptor_FieldPathValue(pathStr, valueStr string) MetricDescriptor_FieldPathValue

func ParseMetricDescriptor_FieldPathValue

func ParseMetricDescriptor_FieldPathValue(pathStr, valueStr string) (MetricDescriptor_FieldPathValue, error)

type MetricDescriptor_FieldSubPath

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

func (*MetricDescriptor_FieldSubPath) AsDistributionBucketOptionsSubPath

func (fps *MetricDescriptor_FieldSubPath) AsDistributionBucketOptionsSubPath() (common.DistributionBucketOptions_FieldPath, bool)

func (*MetricDescriptor_FieldSubPath) AsIndexSpecSubPath

func (*MetricDescriptor_FieldSubPath) AsLabelsSubPath

func (*MetricDescriptor_FieldSubPath) AsMetadataSubPath

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

func (*MetricDescriptor_FieldSubPath) AsMetricDescriptorMetadataSubPath

func (*MetricDescriptor_FieldSubPath) AsPromotedLabelKeySetsSubPath

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

func (*MetricDescriptor_FieldSubPath) AsStorageConfigSubPath

func (*MetricDescriptor_FieldSubPath) ClearValue

func (fps *MetricDescriptor_FieldSubPath) ClearValue(item *MetricDescriptor)

func (*MetricDescriptor_FieldSubPath) ClearValueRaw

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

func (*MetricDescriptor_FieldSubPath) Get

func (fps *MetricDescriptor_FieldSubPath) Get(source *MetricDescriptor) (values []interface{})

Get returns all values pointed by selected field from source MetricDescriptor

func (*MetricDescriptor_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*MetricDescriptor_FieldSubPath) GetRaw

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

func (*MetricDescriptor_FieldSubPath) GetSingle

func (fps *MetricDescriptor_FieldSubPath) GetSingle(source *MetricDescriptor) (interface{}, bool)

GetSingle returns value of selected field from source MetricDescriptor

func (*MetricDescriptor_FieldSubPath) GetSingleRaw

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

func (*MetricDescriptor_FieldSubPath) IsLeaf

func (fps *MetricDescriptor_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*MetricDescriptor_FieldSubPath) JSONString

func (fps *MetricDescriptor_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*MetricDescriptor_FieldSubPath) Selector

func (*MetricDescriptor_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*MetricDescriptor_FieldSubPath) String

func (fps *MetricDescriptor_FieldSubPath) String() string

String returns path representation in proto convention

func (*MetricDescriptor_FieldSubPath) WithIArrayItemValue

func (fps *MetricDescriptor_FieldSubPath) WithIArrayItemValue(value interface{}) MetricDescriptor_FieldPathArrayItemValue

func (*MetricDescriptor_FieldSubPath) WithIArrayOfValues

func (fps *MetricDescriptor_FieldSubPath) WithIArrayOfValues(values interface{}) MetricDescriptor_FieldPathArrayOfValues

func (*MetricDescriptor_FieldSubPath) WithIValue

func (fps *MetricDescriptor_FieldSubPath) WithIValue(value interface{}) MetricDescriptor_FieldPathValue

func (*MetricDescriptor_FieldSubPath) WithRawIArrayItemValue

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

func (*MetricDescriptor_FieldSubPath) WithRawIArrayOfValues

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

func (*MetricDescriptor_FieldSubPath) WithRawIValue

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

type MetricDescriptor_FieldSubPathArrayItemValue

type MetricDescriptor_FieldSubPathArrayItemValue struct {
	MetricDescriptor_FieldPath
	// contains filtered or unexported fields
}

func (*MetricDescriptor_FieldSubPathArrayItemValue) AsDistributionBucketOptionsPathItemValue

func (*MetricDescriptor_FieldSubPathArrayItemValue) AsIndexSpecPathItemValue

func (*MetricDescriptor_FieldSubPathArrayItemValue) AsLabelsPathItemValue

func (*MetricDescriptor_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (*MetricDescriptor_FieldSubPathArrayItemValue) AsMetricDescriptorMetadataPathItemValue

func (*MetricDescriptor_FieldSubPathArrayItemValue) AsPromotedLabelKeySetsPathItemValue

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

func (*MetricDescriptor_FieldSubPathArrayItemValue) AsStorageConfigPathItemValue

func (*MetricDescriptor_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *MetricDescriptor_FieldSubPathArrayItemValue) ContainsValue(source *MetricDescriptor) bool

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

func (*MetricDescriptor_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type MetricDescriptor_FieldSubPathArrayOfValues

type MetricDescriptor_FieldSubPathArrayOfValues struct {
	MetricDescriptor_FieldPath
	// contains filtered or unexported fields
}

func (*MetricDescriptor_FieldSubPathArrayOfValues) AsDistributionBucketOptionsPathArrayOfValues

func (fpsaov *MetricDescriptor_FieldSubPathArrayOfValues) AsDistributionBucketOptionsPathArrayOfValues() (common.DistributionBucketOptions_FieldPathArrayOfValues, bool)

func (*MetricDescriptor_FieldSubPathArrayOfValues) AsIndexSpecPathArrayOfValues

func (*MetricDescriptor_FieldSubPathArrayOfValues) AsLabelsPathArrayOfValues

func (*MetricDescriptor_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

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

func (*MetricDescriptor_FieldSubPathArrayOfValues) AsMetricDescriptorMetadataPathArrayOfValues

func (*MetricDescriptor_FieldSubPathArrayOfValues) AsPromotedLabelKeySetsPathArrayOfValues

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

func (*MetricDescriptor_FieldSubPathArrayOfValues) AsStorageConfigPathArrayOfValues

func (*MetricDescriptor_FieldSubPathArrayOfValues) GetRawValues

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

type MetricDescriptor_FieldSubPathValue

type MetricDescriptor_FieldSubPathValue struct {
	MetricDescriptor_FieldPath
	// contains filtered or unexported fields
}

func (*MetricDescriptor_FieldSubPathValue) AsDistributionBucketOptionsPathValue

func (fpvs *MetricDescriptor_FieldSubPathValue) AsDistributionBucketOptionsPathValue() (common.DistributionBucketOptions_FieldPathValue, bool)

func (*MetricDescriptor_FieldSubPathValue) AsIndexSpecPathValue

func (*MetricDescriptor_FieldSubPathValue) AsLabelsPathValue

func (*MetricDescriptor_FieldSubPathValue) AsMetadataPathValue

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

func (*MetricDescriptor_FieldSubPathValue) AsMetricDescriptorMetadataPathValue

func (*MetricDescriptor_FieldSubPathValue) AsPromotedLabelKeySetsPathValue

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

func (*MetricDescriptor_FieldSubPathValue) AsStorageConfigPathValue

func (*MetricDescriptor_FieldSubPathValue) CompareWith

func (fpvs *MetricDescriptor_FieldSubPathValue) CompareWith(source *MetricDescriptor) (int, bool)

func (*MetricDescriptor_FieldSubPathValue) CompareWithRaw

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

func (*MetricDescriptor_FieldSubPathValue) GetRawValue

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

func (*MetricDescriptor_FieldSubPathValue) SetTo

func (*MetricDescriptor_FieldSubPathValue) SetToRaw

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

type MetricDescriptor_FieldTerminalPath

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

func (*MetricDescriptor_FieldTerminalPath) ClearValue

func (*MetricDescriptor_FieldTerminalPath) ClearValueRaw

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

func (*MetricDescriptor_FieldTerminalPath) Get

func (fp *MetricDescriptor_FieldTerminalPath) Get(source *MetricDescriptor) (values []interface{})

Get returns all values pointed by specific field from source MetricDescriptor

func (*MetricDescriptor_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*MetricDescriptor_FieldTerminalPath) GetRaw

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

func (*MetricDescriptor_FieldTerminalPath) GetSingle

func (fp *MetricDescriptor_FieldTerminalPath) GetSingle(source *MetricDescriptor) (interface{}, bool)

GetSingle returns value pointed by specific field of from source MetricDescriptor

func (*MetricDescriptor_FieldTerminalPath) GetSingleRaw

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

func (*MetricDescriptor_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*MetricDescriptor_FieldTerminalPath) JSONString

func (fp *MetricDescriptor_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*MetricDescriptor_FieldTerminalPath) Selector

func (*MetricDescriptor_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*MetricDescriptor_FieldTerminalPath) String

String returns path representation in proto convention

func (*MetricDescriptor_FieldTerminalPath) WithIArrayItemValue

func (fp *MetricDescriptor_FieldTerminalPath) WithIArrayItemValue(value interface{}) MetricDescriptor_FieldPathArrayItemValue

func (*MetricDescriptor_FieldTerminalPath) WithIArrayOfValues

func (fp *MetricDescriptor_FieldTerminalPath) WithIArrayOfValues(values interface{}) MetricDescriptor_FieldPathArrayOfValues

func (*MetricDescriptor_FieldTerminalPath) WithIValue

func (fp *MetricDescriptor_FieldTerminalPath) WithIValue(value interface{}) MetricDescriptor_FieldPathValue

func (*MetricDescriptor_FieldTerminalPath) WithRawIArrayItemValue

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

func (*MetricDescriptor_FieldTerminalPath) WithRawIArrayOfValues

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

func (*MetricDescriptor_FieldTerminalPath) WithRawIValue

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

type MetricDescriptor_FieldTerminalPathArrayItemValue

type MetricDescriptor_FieldTerminalPathArrayItemValue struct {
	MetricDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptor_FieldTerminalPathArrayItemValue) AsLabelsItemValue

func (*MetricDescriptor_FieldTerminalPathArrayItemValue) AsPromotedLabelKeySetsItemValue

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

func (*MetricDescriptor_FieldTerminalPathArrayItemValue) AsResourceTypesItemValue

func (fpaiv *MetricDescriptor_FieldTerminalPathArrayItemValue) AsResourceTypesItemValue() (string, bool)

func (*MetricDescriptor_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*MetricDescriptor_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*MetricDescriptor_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *MetricDescriptor_FieldTerminalPathArrayItemValue) GetSingle(source *MetricDescriptor) (interface{}, bool)

func (*MetricDescriptor_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type MetricDescriptor_FieldTerminalPathArrayOfValues

type MetricDescriptor_FieldTerminalPathArrayOfValues struct {
	MetricDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptor_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues

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

func (*MetricDescriptor_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

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

func (*MetricDescriptor_FieldTerminalPathArrayOfValues) AsDistributionBucketOptionsArrayOfValues

func (fpaov *MetricDescriptor_FieldTerminalPathArrayOfValues) AsDistributionBucketOptionsArrayOfValues() ([]*common.Distribution_BucketOptions, bool)

func (*MetricDescriptor_FieldTerminalPathArrayOfValues) AsIndexSpecArrayOfValues

func (*MetricDescriptor_FieldTerminalPathArrayOfValues) AsLabelsArrayOfValues

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

func (*MetricDescriptor_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*MetricDescriptor_FieldTerminalPathArrayOfValues) AsMetricDescriptorMetadataArrayOfValues

func (fpaov *MetricDescriptor_FieldTerminalPathArrayOfValues) AsMetricDescriptorMetadataArrayOfValues() ([]*MetricDescriptor_MetricDescriptorMetadata, bool)

func (*MetricDescriptor_FieldTerminalPathArrayOfValues) AsMetricKindArrayOfValues

func (*MetricDescriptor_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*MetricDescriptor_FieldTerminalPathArrayOfValues) AsPromotedLabelKeySetsArrayOfValues

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

func (*MetricDescriptor_FieldTerminalPathArrayOfValues) AsResourceTypesArrayOfValues

func (fpaov *MetricDescriptor_FieldTerminalPathArrayOfValues) AsResourceTypesArrayOfValues() ([][]string, bool)

func (*MetricDescriptor_FieldTerminalPathArrayOfValues) AsStorageConfigArrayOfValues

func (fpaov *MetricDescriptor_FieldTerminalPathArrayOfValues) AsStorageConfigArrayOfValues() ([]*MetricDescriptor_StorageConfig, bool)

func (*MetricDescriptor_FieldTerminalPathArrayOfValues) AsTypeArrayOfValues

func (fpaov *MetricDescriptor_FieldTerminalPathArrayOfValues) AsTypeArrayOfValues() ([]string, bool)

func (*MetricDescriptor_FieldTerminalPathArrayOfValues) AsUnitArrayOfValues

func (fpaov *MetricDescriptor_FieldTerminalPathArrayOfValues) AsUnitArrayOfValues() ([]string, bool)

func (*MetricDescriptor_FieldTerminalPathArrayOfValues) AsValueTypeArrayOfValues

func (*MetricDescriptor_FieldTerminalPathArrayOfValues) GetRawValues

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

type MetricDescriptor_FieldTerminalPathValue

type MetricDescriptor_FieldTerminalPathValue struct {
	MetricDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MetricDescriptor_FieldTerminalPathValue) AsDescriptionValue

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

func (*MetricDescriptor_FieldTerminalPathValue) AsDisplayNameValue

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

func (*MetricDescriptor_FieldTerminalPathValue) AsDistributionBucketOptionsValue

func (fpv *MetricDescriptor_FieldTerminalPathValue) AsDistributionBucketOptionsValue() (*common.Distribution_BucketOptions, bool)

func (*MetricDescriptor_FieldTerminalPathValue) AsIndexSpecValue

func (*MetricDescriptor_FieldTerminalPathValue) AsLabelsValue

func (*MetricDescriptor_FieldTerminalPathValue) AsMetadataValue

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

func (*MetricDescriptor_FieldTerminalPathValue) AsMetricDescriptorMetadataValue

func (*MetricDescriptor_FieldTerminalPathValue) AsMetricKindValue

func (*MetricDescriptor_FieldTerminalPathValue) AsNameValue

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

func (*MetricDescriptor_FieldTerminalPathValue) AsPromotedLabelKeySetsValue

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

func (*MetricDescriptor_FieldTerminalPathValue) AsResourceTypesValue

func (fpv *MetricDescriptor_FieldTerminalPathValue) AsResourceTypesValue() ([]string, bool)

func (*MetricDescriptor_FieldTerminalPathValue) AsStorageConfigValue

func (*MetricDescriptor_FieldTerminalPathValue) AsTypeValue

func (fpv *MetricDescriptor_FieldTerminalPathValue) AsTypeValue() (string, bool)

func (*MetricDescriptor_FieldTerminalPathValue) AsUnitValue

func (fpv *MetricDescriptor_FieldTerminalPathValue) AsUnitValue() (string, bool)

func (*MetricDescriptor_FieldTerminalPathValue) AsValueTypeValue

func (*MetricDescriptor_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'MetricDescriptor_FieldTerminalPathValue' with the value under path in 'MetricDescriptor'.

func (*MetricDescriptor_FieldTerminalPathValue) CompareWithRaw

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

func (*MetricDescriptor_FieldTerminalPathValue) GetRawValue

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

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

func (*MetricDescriptor_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object MetricDescriptor

func (*MetricDescriptor_FieldTerminalPathValue) SetToRaw

type MetricDescriptor_IndexSpec

type MetricDescriptor_IndexSpec struct {

	// PerResource index
	PerResource []*MetricDescriptor_IndexSpec_PerMonitoredResource `protobuf:"bytes,1,rep,name=per_resource,json=perResource,proto3" json:"per_resource,omitempty" firestore:"perResource"`
	// contains filtered or unexported fields
}

func (*MetricDescriptor_IndexSpec) Clone

func (*MetricDescriptor_IndexSpec) CloneRaw

func (*MetricDescriptor_IndexSpec) Descriptor

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

Deprecated, Use MetricDescriptor_IndexSpec.ProtoReflect.Descriptor instead.

func (*MetricDescriptor_IndexSpec) GetPerResource

func (*MetricDescriptor_IndexSpec) GotenMessage

func (*MetricDescriptor_IndexSpec) GotenMessage()

func (*MetricDescriptor_IndexSpec) GotenObjectExt

func (o *MetricDescriptor_IndexSpec) GotenObjectExt()

func (*MetricDescriptor_IndexSpec) GotenValidate

func (obj *MetricDescriptor_IndexSpec) GotenValidate() error

func (*MetricDescriptor_IndexSpec) MakeDiffFieldMask

func (*MetricDescriptor_IndexSpec) MakeFullFieldMask

func (*MetricDescriptor_IndexSpec) MakeRawDiffFieldMask

func (*MetricDescriptor_IndexSpec) MakeRawFullFieldMask

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

func (*MetricDescriptor_IndexSpec) Marshal

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

func (*MetricDescriptor_IndexSpec) MarshalJSON

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

func (*MetricDescriptor_IndexSpec) Merge

func (*MetricDescriptor_IndexSpec) MergeRaw

func (*MetricDescriptor_IndexSpec) ProtoMessage

func (*MetricDescriptor_IndexSpec) ProtoMessage()

func (*MetricDescriptor_IndexSpec) ProtoReflect

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

func (*MetricDescriptor_IndexSpec) Reset

func (m *MetricDescriptor_IndexSpec) Reset()

func (*MetricDescriptor_IndexSpec) SetPerResource

func (*MetricDescriptor_IndexSpec) String

func (m *MetricDescriptor_IndexSpec) String() string

func (*MetricDescriptor_IndexSpec) Unmarshal

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

func (*MetricDescriptor_IndexSpec) UnmarshalJSON

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

type MetricDescriptor_IndexSpecPathSelectorPerResource

type MetricDescriptor_IndexSpecPathSelectorPerResource struct{}

func (MetricDescriptor_IndexSpecPathSelectorPerResource) FieldPath

func (MetricDescriptor_IndexSpecPathSelectorPerResource) Indices

func (MetricDescriptor_IndexSpecPathSelectorPerResource) Resource

type MetricDescriptor_IndexSpecPathSelectorPerResourceIndices

type MetricDescriptor_IndexSpecPathSelectorPerResourceIndices struct{}

func (MetricDescriptor_IndexSpecPathSelectorPerResourceIndices) FieldPath

func (MetricDescriptor_IndexSpecPathSelectorPerResourceIndices) WithArrayOfValues

func (MetricDescriptor_IndexSpecPathSelectorPerResourceIndices) WithValue

func (MetricDescriptor_IndexSpecPathSelectorPerResourceIndices) WriteOnly

type MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesPromotedLabels

type MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesPromotedLabels struct{}

func (MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesPromotedLabels) FieldPath

func (MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesPromotedLabels) WithArrayOfValues

func (MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesPromotedLabels) WithItemValue

func (MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesPromotedLabels) WithValue

type MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesWriteOnly

type MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesWriteOnly struct{}

func (MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesWriteOnly) FieldPath

func (MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesWriteOnly) WithArrayOfValues

func (MetricDescriptor_IndexSpecPathSelectorPerResourceIndicesWriteOnly) WithValue

type MetricDescriptor_IndexSpecPathSelectorPerResourceResource

type MetricDescriptor_IndexSpecPathSelectorPerResourceResource struct{}

func (MetricDescriptor_IndexSpecPathSelectorPerResourceResource) FieldPath

func (MetricDescriptor_IndexSpecPathSelectorPerResourceResource) WithArrayOfValues

func (MetricDescriptor_IndexSpecPathSelectorPerResourceResource) WithValue

type MetricDescriptor_IndexSpec_FieldMask

type MetricDescriptor_IndexSpec_FieldMask struct {
	Paths []MetricDescriptorIndexSpec_FieldPath
}

func FullMetricDescriptor_IndexSpec_FieldMask

func FullMetricDescriptor_IndexSpec_FieldMask() *MetricDescriptor_IndexSpec_FieldMask

func (*MetricDescriptor_IndexSpec_FieldMask) AppendPath

func (*MetricDescriptor_IndexSpec_FieldMask) AppendRawPath

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

func (*MetricDescriptor_IndexSpec_FieldMask) DecodeFirestore

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

func (*MetricDescriptor_IndexSpec_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*MetricDescriptor_IndexSpec_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*MetricDescriptor_IndexSpec_FieldMask) FromProtoFieldMask

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

func (*MetricDescriptor_IndexSpec_FieldMask) GetPaths

func (*MetricDescriptor_IndexSpec_FieldMask) GetRawPaths

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

func (*MetricDescriptor_IndexSpec_FieldMask) IsFull

func (fieldMask *MetricDescriptor_IndexSpec_FieldMask) IsFull() bool

func (MetricDescriptor_IndexSpec_FieldMask) Marshal

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

implement methods required by customType

func (MetricDescriptor_IndexSpec_FieldMask) MarshalJSON

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

func (*MetricDescriptor_IndexSpec_FieldMask) PathsCount

func (fieldMask *MetricDescriptor_IndexSpec_FieldMask) PathsCount() int

func (*MetricDescriptor_IndexSpec_FieldMask) Project

func (*MetricDescriptor_IndexSpec_FieldMask) ProjectRaw

func (*MetricDescriptor_IndexSpec_FieldMask) ProtoMessage

func (fieldMask *MetricDescriptor_IndexSpec_FieldMask) ProtoMessage()

func (*MetricDescriptor_IndexSpec_FieldMask) ProtoReflect

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

func (*MetricDescriptor_IndexSpec_FieldMask) Reset

func (fieldMask *MetricDescriptor_IndexSpec_FieldMask) Reset()

func (*MetricDescriptor_IndexSpec_FieldMask) Set

func (fieldMask *MetricDescriptor_IndexSpec_FieldMask) Set(target, source *MetricDescriptor_IndexSpec)

func (*MetricDescriptor_IndexSpec_FieldMask) SetFromCliFlag

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

func (*MetricDescriptor_IndexSpec_FieldMask) SetRaw

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

func (*MetricDescriptor_IndexSpec_FieldMask) Size

func (fieldMask *MetricDescriptor_IndexSpec_FieldMask) Size() int

func (*MetricDescriptor_IndexSpec_FieldMask) String

func (fieldMask *MetricDescriptor_IndexSpec_FieldMask) String() string

func (*MetricDescriptor_IndexSpec_FieldMask) Subtract

func (*MetricDescriptor_IndexSpec_FieldMask) SubtractRaw

func (*MetricDescriptor_IndexSpec_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*MetricDescriptor_IndexSpec_FieldMask) Unmarshal

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

func (*MetricDescriptor_IndexSpec_FieldMask) UnmarshalJSON

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

type MetricDescriptor_IndexSpec_Index

type MetricDescriptor_IndexSpec_Index struct {

	// each label is of format: `{metric,resource}.labels.<label-key>`.
	// since resource and metric labels are mixed. Full path is required.
	PromotedLabels []string `` /* 130-byte string literal not displayed */
	// whether this index is write-only and not usable for querying
	WriteOnly bool `protobuf:"varint,3,opt,name=write_only,json=writeOnly,proto3" json:"write_only,omitempty" firestore:"writeOnly"`
	// contains filtered or unexported fields
}

func (*MetricDescriptor_IndexSpec_Index) Clone

func (*MetricDescriptor_IndexSpec_Index) CloneRaw

func (*MetricDescriptor_IndexSpec_Index) Descriptor

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

Deprecated, Use MetricDescriptor_IndexSpec_Index.ProtoReflect.Descriptor instead.

func (*MetricDescriptor_IndexSpec_Index) GetPromotedLabels

func (m *MetricDescriptor_IndexSpec_Index) GetPromotedLabels() []string

func (*MetricDescriptor_IndexSpec_Index) GetWriteOnly

func (m *MetricDescriptor_IndexSpec_Index) GetWriteOnly() bool

func (*MetricDescriptor_IndexSpec_Index) GotenMessage

func (*MetricDescriptor_IndexSpec_Index) GotenMessage()

func (*MetricDescriptor_IndexSpec_Index) GotenObjectExt

func (o *MetricDescriptor_IndexSpec_Index) GotenObjectExt()

func (*MetricDescriptor_IndexSpec_Index) GotenValidate

func (obj *MetricDescriptor_IndexSpec_Index) GotenValidate() error

func (*MetricDescriptor_IndexSpec_Index) MakeDiffFieldMask

func (*MetricDescriptor_IndexSpec_Index) MakeFullFieldMask

func (*MetricDescriptor_IndexSpec_Index) MakeRawDiffFieldMask

func (*MetricDescriptor_IndexSpec_Index) MakeRawFullFieldMask

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

func (*MetricDescriptor_IndexSpec_Index) Marshal

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

func (*MetricDescriptor_IndexSpec_Index) MarshalJSON

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

func (*MetricDescriptor_IndexSpec_Index) Merge

func (*MetricDescriptor_IndexSpec_Index) MergeRaw

func (*MetricDescriptor_IndexSpec_Index) ProtoMessage

func (*MetricDescriptor_IndexSpec_Index) ProtoMessage()

func (*MetricDescriptor_IndexSpec_Index) ProtoReflect

func (*MetricDescriptor_IndexSpec_Index) Reset

func (*MetricDescriptor_IndexSpec_Index) SetPromotedLabels

func (m *MetricDescriptor_IndexSpec_Index) SetPromotedLabels(fv []string)

func (*MetricDescriptor_IndexSpec_Index) SetWriteOnly

func (m *MetricDescriptor_IndexSpec_Index) SetWriteOnly(fv bool)

func (*MetricDescriptor_IndexSpec_Index) String

func (*MetricDescriptor_IndexSpec_Index) Unmarshal

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

func (*MetricDescriptor_IndexSpec_Index) UnmarshalJSON

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

type MetricDescriptor_IndexSpec_IndexPathSelectorPromotedLabels

type MetricDescriptor_IndexSpec_IndexPathSelectorPromotedLabels struct{}

func (MetricDescriptor_IndexSpec_IndexPathSelectorPromotedLabels) FieldPath

func (MetricDescriptor_IndexSpec_IndexPathSelectorPromotedLabels) WithArrayOfValues

func (MetricDescriptor_IndexSpec_IndexPathSelectorPromotedLabels) WithItemValue

func (MetricDescriptor_IndexSpec_IndexPathSelectorPromotedLabels) WithValue

type MetricDescriptor_IndexSpec_IndexPathSelectorWriteOnly

type MetricDescriptor_IndexSpec_IndexPathSelectorWriteOnly struct{}

func (MetricDescriptor_IndexSpec_IndexPathSelectorWriteOnly) FieldPath

func (MetricDescriptor_IndexSpec_IndexPathSelectorWriteOnly) WithArrayOfValues

func (MetricDescriptor_IndexSpec_IndexPathSelectorWriteOnly) WithValue

type MetricDescriptor_IndexSpec_Index_FieldMask

type MetricDescriptor_IndexSpec_Index_FieldMask struct {
	Paths []MetricDescriptorIndexSpecIndex_FieldPath
}

func FullMetricDescriptor_IndexSpec_Index_FieldMask

func FullMetricDescriptor_IndexSpec_Index_FieldMask() *MetricDescriptor_IndexSpec_Index_FieldMask

func (*MetricDescriptor_IndexSpec_Index_FieldMask) AppendPath

func (*MetricDescriptor_IndexSpec_Index_FieldMask) AppendRawPath

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

func (*MetricDescriptor_IndexSpec_Index_FieldMask) DecodeFirestore

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

func (*MetricDescriptor_IndexSpec_Index_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*MetricDescriptor_IndexSpec_Index_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*MetricDescriptor_IndexSpec_Index_FieldMask) FromProtoFieldMask

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

func (*MetricDescriptor_IndexSpec_Index_FieldMask) GetPaths

func (*MetricDescriptor_IndexSpec_Index_FieldMask) GetRawPaths

func (*MetricDescriptor_IndexSpec_Index_FieldMask) IsFull

func (MetricDescriptor_IndexSpec_Index_FieldMask) Marshal

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

implement methods required by customType

func (MetricDescriptor_IndexSpec_Index_FieldMask) MarshalJSON

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

func (*MetricDescriptor_IndexSpec_Index_FieldMask) PathsCount

func (fieldMask *MetricDescriptor_IndexSpec_Index_FieldMask) PathsCount() int

func (*MetricDescriptor_IndexSpec_Index_FieldMask) Project

func (*MetricDescriptor_IndexSpec_Index_FieldMask) ProjectRaw

func (*MetricDescriptor_IndexSpec_Index_FieldMask) ProtoMessage

func (fieldMask *MetricDescriptor_IndexSpec_Index_FieldMask) ProtoMessage()

func (*MetricDescriptor_IndexSpec_Index_FieldMask) ProtoReflect

func (*MetricDescriptor_IndexSpec_Index_FieldMask) Reset

func (fieldMask *MetricDescriptor_IndexSpec_Index_FieldMask) Reset()

func (*MetricDescriptor_IndexSpec_Index_FieldMask) Set

func (*MetricDescriptor_IndexSpec_Index_FieldMask) SetFromCliFlag

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

func (*MetricDescriptor_IndexSpec_Index_FieldMask) SetRaw

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

func (*MetricDescriptor_IndexSpec_Index_FieldMask) Size

func (*MetricDescriptor_IndexSpec_Index_FieldMask) String

func (*MetricDescriptor_IndexSpec_Index_FieldMask) Subtract

func (*MetricDescriptor_IndexSpec_Index_FieldMask) SubtractRaw

func (*MetricDescriptor_IndexSpec_Index_FieldMask) ToProtoFieldMask

ToFieldMask is used for proto conversions

func (*MetricDescriptor_IndexSpec_Index_FieldMask) Unmarshal

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

func (*MetricDescriptor_IndexSpec_Index_FieldMask) UnmarshalJSON

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

type MetricDescriptor_IndexSpec_PerMonitoredResource

type MetricDescriptor_IndexSpec_PerMonitoredResource struct {
	Resource *monitored_resource_descriptor.Reference `protobuf:"bytes,1,opt,customtype=Reference,name=resource,proto3" json:"resource,omitempty" firestore:"resource"`
	// List of indices for given metric and resource pair
	Indices []*MetricDescriptor_IndexSpec_Index `protobuf:"bytes,2,rep,name=indices,proto3" json:"indices,omitempty" firestore:"indices"`
	// contains filtered or unexported fields
}

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) Clone

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) CloneRaw

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) Descriptor

Deprecated, Use MetricDescriptor_IndexSpec_PerMonitoredResource.ProtoReflect.Descriptor instead.

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) GetIndices

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) GetResource

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) GotenMessage

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) GotenObjectExt

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) GotenValidate

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) MakeFullFieldMask

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) MakeRawDiffFieldMask

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) MakeRawFullFieldMask

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) Marshal

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) MarshalJSON

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) Merge

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) MergeRaw

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) ProtoMessage

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) ProtoReflect

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) Reset

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) SetIndices

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) SetResource

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) String

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) Unmarshal

func (*MetricDescriptor_IndexSpec_PerMonitoredResource) UnmarshalJSON

type MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndices

type MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndices struct{}

func (MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndices) FieldPath

type MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesPromotedLabels

type MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesPromotedLabels struct{}

func (MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesPromotedLabels) FieldPath

func (MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesPromotedLabels) WithArrayOfValues

func (MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesPromotedLabels) WithItemValue

func (MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesPromotedLabels) WithValue

type MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesWriteOnly

type MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesWriteOnly struct{}

func (MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesWriteOnly) FieldPath

func (MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesWriteOnly) WithArrayOfValues

func (MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorIndicesWriteOnly) WithValue

type MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorResource

type MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorResource struct{}

func (MetricDescriptor_IndexSpec_PerMonitoredResourcePathSelectorResource) FieldPath

type MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask

type MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask struct {
	Paths []MetricDescriptorIndexSpecPerMonitoredResource_FieldPath
}

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) AppendPath

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) AppendRawPath

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) DecodeFirestore

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) EncodeFirestore

firestore encoding/decoding integration

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) FromProtoFieldMask

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

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) GetPaths

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) GetRawPaths

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) IsFull

func (MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) Marshal

implement methods required by customType

func (MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) MarshalJSON

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) PathsCount

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) Project

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) ProjectRaw

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) ProtoMessage

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) ProtoReflect

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) Reset

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) Set

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) SetFromCliFlag

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) SetRaw

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) Size

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) String

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) SubtractRaw

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) ToProtoFieldMask

ToFieldMask is used for proto conversions

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) Unmarshal

func (*MetricDescriptor_IndexSpec_PerMonitoredResource_FieldMask) UnmarshalJSON

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

type MetricDescriptor_MetricDescriptorMetadata

type MetricDescriptor_MetricDescriptorMetadata struct {

	// The launch stage of the metric definition.
	LaunchStage api.LaunchStage `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

Additional annotations that can be used to guide the usage of a metric.

func (*MetricDescriptor_MetricDescriptorMetadata) Clone

func (*MetricDescriptor_MetricDescriptorMetadata) CloneRaw

func (*MetricDescriptor_MetricDescriptorMetadata) Descriptor

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

Deprecated, Use MetricDescriptor_MetricDescriptorMetadata.ProtoReflect.Descriptor instead.

func (*MetricDescriptor_MetricDescriptorMetadata) GetLaunchStage

func (*MetricDescriptor_MetricDescriptorMetadata) GotenMessage

func (*MetricDescriptor_MetricDescriptorMetadata) GotenObjectExt

func (o *MetricDescriptor_MetricDescriptorMetadata) GotenObjectExt()

func (*MetricDescriptor_MetricDescriptorMetadata) GotenValidate

func (obj *MetricDescriptor_MetricDescriptorMetadata) GotenValidate() error

func (*MetricDescriptor_MetricDescriptorMetadata) MakeFullFieldMask

func (*MetricDescriptor_MetricDescriptorMetadata) MakeRawDiffFieldMask

func (*MetricDescriptor_MetricDescriptorMetadata) MakeRawFullFieldMask

func (*MetricDescriptor_MetricDescriptorMetadata) Marshal

func (*MetricDescriptor_MetricDescriptorMetadata) MarshalJSON

func (*MetricDescriptor_MetricDescriptorMetadata) Merge

func (*MetricDescriptor_MetricDescriptorMetadata) MergeRaw

func (*MetricDescriptor_MetricDescriptorMetadata) ProtoMessage

func (*MetricDescriptor_MetricDescriptorMetadata) ProtoReflect

func (*MetricDescriptor_MetricDescriptorMetadata) Reset

func (*MetricDescriptor_MetricDescriptorMetadata) SetLaunchStage

func (*MetricDescriptor_MetricDescriptorMetadata) String

func (*MetricDescriptor_MetricDescriptorMetadata) Unmarshal

func (*MetricDescriptor_MetricDescriptorMetadata) UnmarshalJSON

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

type MetricDescriptor_MetricDescriptorMetadataPathSelectorLaunchStage

type MetricDescriptor_MetricDescriptorMetadataPathSelectorLaunchStage struct{}

func (MetricDescriptor_MetricDescriptorMetadataPathSelectorLaunchStage) FieldPath

func (MetricDescriptor_MetricDescriptorMetadataPathSelectorLaunchStage) WithArrayOfValues

func (MetricDescriptor_MetricDescriptorMetadataPathSelectorLaunchStage) WithValue

type MetricDescriptor_MetricDescriptorMetadata_FieldMask

type MetricDescriptor_MetricDescriptorMetadata_FieldMask struct {
	Paths []MetricDescriptorMetricDescriptorMetadata_FieldPath
}

func FullMetricDescriptor_MetricDescriptorMetadata_FieldMask

func FullMetricDescriptor_MetricDescriptorMetadata_FieldMask() *MetricDescriptor_MetricDescriptorMetadata_FieldMask

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) AppendPath

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) AppendRawPath

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) DecodeFirestore

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) EncodeFirestore

firestore encoding/decoding integration

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) FromProtoFieldMask

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

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) GetPaths

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) GetRawPaths

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) IsFull

func (MetricDescriptor_MetricDescriptorMetadata_FieldMask) Marshal

implement methods required by customType

func (MetricDescriptor_MetricDescriptorMetadata_FieldMask) MarshalJSON

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

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) PathsCount

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) Project

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) ProjectRaw

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) ProtoMessage

func (fieldMask *MetricDescriptor_MetricDescriptorMetadata_FieldMask) ProtoMessage()

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) ProtoReflect

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) Reset

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) Set

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) SetFromCliFlag

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

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) SetRaw

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) Size

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) String

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) SubtractRaw

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) ToProtoFieldMask

ToFieldMask is used for proto conversions

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) Unmarshal

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

func (*MetricDescriptor_MetricDescriptorMetadata_FieldMask) UnmarshalJSON

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

type MetricDescriptor_MetricKind

type MetricDescriptor_MetricKind int32

The kind of measurement. It describes how the data is reported.

const (
	// Do not use this default value.
	MetricDescriptor_METRIC_KIND_UNSPECIFIED MetricDescriptor_MetricKind = 0
	// An instantaneous measurement of a value.
	MetricDescriptor_GAUGE MetricDescriptor_MetricKind = 1
	// The change in a value during a time interval.
	MetricDescriptor_DELTA MetricDescriptor_MetricKind = 2
	// A value accumulated over a time interval.  Cumulative
	// measurements in a time series should have the same start time
	// and increasing end times, until an event resets the cumulative
	// value to zero and sets a new start time for the following
	// points.
	MetricDescriptor_CUMULATIVE MetricDescriptor_MetricKind = 3
)

func (MetricDescriptor_MetricKind) Descriptor

func (MetricDescriptor_MetricKind) Enum

func (MetricDescriptor_MetricKind) EnumDescriptor

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

Deprecated, Use MetricDescriptor_MetricKind.ProtoReflect.Descriptor instead.

func (MetricDescriptor_MetricKind) Number

func (MetricDescriptor_MetricKind) String

func (MetricDescriptor_MetricKind) Type

type MetricDescriptor_StorageConfig

type MetricDescriptor_StorageConfig struct {

	// whether to store raw points
	StoreRawPoints bool `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

Backend storage config

func (*MetricDescriptor_StorageConfig) Clone

func (*MetricDescriptor_StorageConfig) CloneRaw

func (*MetricDescriptor_StorageConfig) Descriptor

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

Deprecated, Use MetricDescriptor_StorageConfig.ProtoReflect.Descriptor instead.

func (*MetricDescriptor_StorageConfig) GetStoreRawPoints

func (m *MetricDescriptor_StorageConfig) GetStoreRawPoints() bool

func (*MetricDescriptor_StorageConfig) GotenMessage

func (*MetricDescriptor_StorageConfig) GotenMessage()

func (*MetricDescriptor_StorageConfig) GotenObjectExt

func (o *MetricDescriptor_StorageConfig) GotenObjectExt()

func (*MetricDescriptor_StorageConfig) GotenValidate

func (obj *MetricDescriptor_StorageConfig) GotenValidate() error

func (*MetricDescriptor_StorageConfig) MakeDiffFieldMask

func (*MetricDescriptor_StorageConfig) MakeFullFieldMask

func (*MetricDescriptor_StorageConfig) MakeRawDiffFieldMask

func (*MetricDescriptor_StorageConfig) MakeRawFullFieldMask

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

func (*MetricDescriptor_StorageConfig) Marshal

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

func (*MetricDescriptor_StorageConfig) MarshalJSON

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

func (*MetricDescriptor_StorageConfig) Merge

func (*MetricDescriptor_StorageConfig) MergeRaw

func (*MetricDescriptor_StorageConfig) ProtoMessage

func (*MetricDescriptor_StorageConfig) ProtoMessage()

func (*MetricDescriptor_StorageConfig) ProtoReflect

func (*MetricDescriptor_StorageConfig) Reset

func (m *MetricDescriptor_StorageConfig) Reset()

func (*MetricDescriptor_StorageConfig) SetStoreRawPoints

func (m *MetricDescriptor_StorageConfig) SetStoreRawPoints(fv bool)

func (*MetricDescriptor_StorageConfig) String

func (*MetricDescriptor_StorageConfig) Unmarshal

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

func (*MetricDescriptor_StorageConfig) UnmarshalJSON

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

type MetricDescriptor_StorageConfigPathSelectorStoreRawPoints

type MetricDescriptor_StorageConfigPathSelectorStoreRawPoints struct{}

func (MetricDescriptor_StorageConfigPathSelectorStoreRawPoints) FieldPath

func (MetricDescriptor_StorageConfigPathSelectorStoreRawPoints) WithArrayOfValues

func (MetricDescriptor_StorageConfigPathSelectorStoreRawPoints) WithValue

type MetricDescriptor_StorageConfig_FieldMask

type MetricDescriptor_StorageConfig_FieldMask struct {
	Paths []MetricDescriptorStorageConfig_FieldPath
}

func FullMetricDescriptor_StorageConfig_FieldMask

func FullMetricDescriptor_StorageConfig_FieldMask() *MetricDescriptor_StorageConfig_FieldMask

func (*MetricDescriptor_StorageConfig_FieldMask) AppendPath

func (*MetricDescriptor_StorageConfig_FieldMask) AppendRawPath

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

func (*MetricDescriptor_StorageConfig_FieldMask) DecodeFirestore

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

func (*MetricDescriptor_StorageConfig_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*MetricDescriptor_StorageConfig_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*MetricDescriptor_StorageConfig_FieldMask) FromProtoFieldMask

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

func (*MetricDescriptor_StorageConfig_FieldMask) GetPaths

func (*MetricDescriptor_StorageConfig_FieldMask) GetRawPaths

func (*MetricDescriptor_StorageConfig_FieldMask) IsFull

func (fieldMask *MetricDescriptor_StorageConfig_FieldMask) IsFull() bool

func (MetricDescriptor_StorageConfig_FieldMask) Marshal

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

implement methods required by customType

func (MetricDescriptor_StorageConfig_FieldMask) MarshalJSON

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

func (*MetricDescriptor_StorageConfig_FieldMask) PathsCount

func (fieldMask *MetricDescriptor_StorageConfig_FieldMask) PathsCount() int

func (*MetricDescriptor_StorageConfig_FieldMask) Project

func (*MetricDescriptor_StorageConfig_FieldMask) ProjectRaw

func (*MetricDescriptor_StorageConfig_FieldMask) ProtoMessage

func (fieldMask *MetricDescriptor_StorageConfig_FieldMask) ProtoMessage()

func (*MetricDescriptor_StorageConfig_FieldMask) ProtoReflect

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

func (*MetricDescriptor_StorageConfig_FieldMask) Reset

func (fieldMask *MetricDescriptor_StorageConfig_FieldMask) Reset()

func (*MetricDescriptor_StorageConfig_FieldMask) Set

func (*MetricDescriptor_StorageConfig_FieldMask) SetFromCliFlag

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

func (*MetricDescriptor_StorageConfig_FieldMask) SetRaw

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

func (*MetricDescriptor_StorageConfig_FieldMask) Size

func (*MetricDescriptor_StorageConfig_FieldMask) String

func (*MetricDescriptor_StorageConfig_FieldMask) Subtract

func (*MetricDescriptor_StorageConfig_FieldMask) SubtractRaw

func (*MetricDescriptor_StorageConfig_FieldMask) ToProtoFieldMask

ToFieldMask is used for proto conversions

func (*MetricDescriptor_StorageConfig_FieldMask) Unmarshal

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

func (*MetricDescriptor_StorageConfig_FieldMask) UnmarshalJSON

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

type MetricDescriptor_ValueType

type MetricDescriptor_ValueType int32

The value type of a metric.

const (
	// Do not use this default value.
	MetricDescriptor_VALUE_TYPE_UNSPECIFIED MetricDescriptor_ValueType = 0
	// The value is a boolean.
	// This value type can be used only if the metric kind is `GAUGE`.
	MetricDescriptor_BOOL MetricDescriptor_ValueType = 1
	// The value is a signed 64-bit integer.
	MetricDescriptor_INT64 MetricDescriptor_ValueType = 2
	// The value is a double precision floating point number.
	MetricDescriptor_DOUBLE MetricDescriptor_ValueType = 3
	// The value is a text string.
	// This value type can be used only if the metric kind is `GAUGE`.
	MetricDescriptor_STRING MetricDescriptor_ValueType = 4
	// The value is a [`Distribution`][google.api.Distribution].
	MetricDescriptor_DISTRIBUTION MetricDescriptor_ValueType = 5
	// The value is money.
	MetricDescriptor_MONEY MetricDescriptor_ValueType = 6
)

func (MetricDescriptor_ValueType) Descriptor

func (MetricDescriptor_ValueType) Enum

func (MetricDescriptor_ValueType) EnumDescriptor

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

Deprecated, Use MetricDescriptor_ValueType.ProtoReflect.Descriptor instead.

func (MetricDescriptor_ValueType) Number

func (MetricDescriptor_ValueType) String

func (MetricDescriptor_ValueType) Type

type Name

type Name struct {
	ParentName
	MetricDescriptorId string `firestore:"metricDescriptorId"`
}

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

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

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

func (b *NameBuilder) Parent() *ParentName

func (*NameBuilder) ParentReference

func (b *NameBuilder) ParentReference() *ParentReference

func (*NameBuilder) Reference

func (b *NameBuilder) Reference() *Reference

func (*NameBuilder) SetId

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

func (*NameBuilder) SetProject

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

func (*NameBuilder) SetProjectId

func (b *NameBuilder) SetProjectId(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 *MetricDescriptor) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *MetricDescriptor_FieldMask

func (*OrderBy) GetOrderByFields

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

func (*OrderBy) GetRawFieldMask

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

func (*OrderBy) InsertSorted

func (orderBy *OrderBy) InsertSorted(sorted MetricDescriptorList, elem *MetricDescriptor) (MetricDescriptorList, int)

func (*OrderBy) InsertSortedRaw

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

func (*OrderBy) ParseProtoString

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

func (*OrderBy) ProtoString

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

func (*OrderBy) SetFromCliFlag

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

func (*OrderBy) Sort

func (orderBy *OrderBy) Sort(results MetricDescriptorList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath MetricDescriptor_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 *MetricDescriptor) 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 ParentName

type ParentName struct {
	NamePattern
	ProjectId string `firestore:"projectId"`
}

func MustParseParentName

func MustParseParentName(name string) *ParentName

func ParseParentName

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

func (*ParentName) AsRawReference

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

func (*ParentName) AsReference

func (name *ParentName) AsReference() *ParentReference

func (*ParentName) ConvertToNative added in v1.0.21

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

func (*ParentName) ConvertToType added in v1.0.21

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

func (*ParentName) DescendsFrom

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

func (*ParentName) Equal added in v1.0.21

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

func (*ParentName) FullyQualifiedName

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

func (*ParentName) GetIParentName added in v0.8.0

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

func (*ParentName) GetIUnderlyingParentName added in v0.8.0

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

func (*ParentName) GetIdParts

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

func (*ParentName) GetPattern

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

func (*ParentName) GetProjectName

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

func (*ParentName) GetResourceDescriptor

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

func (*ParentName) GetSegments

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

func (*ParentName) GotenEqual

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

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

func (*ParentName) HasTrait added in v1.0.21

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

func (*ParentName) IsFullyQualified

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified

func (name *ParentName) IsSpecified() bool

func (*ParentName) Match added in v1.0.21

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

func (*ParentName) Matches

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

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

func (*ParentName) ParseProtoString

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

func (*ParentName) ProtoString

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

func (*ParentName) Receive added in v1.0.21

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

func (*ParentName) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*ParentName) SetFromSegments

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

func (*ParentName) String

func (name *ParentName) String() string

func (*ParentName) Type added in v1.0.21

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

func (*ParentName) TypeName added in v1.0.21

func (name *ParentName) TypeName() string

func (*ParentName) Value added in v1.0.21

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

type ParentReference

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

func MakeParentReference

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

func MustParseParentReference

func MustParseParentReference(name string) *ParentReference

func ParseParentReference

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

func (*ParentReference) ClearCached

func (ref *ParentReference) ClearCached()

func (*ParentReference) GetIParentName added in v0.8.0

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

func (*ParentReference) GetIUnderlyingParentName added in v0.8.0

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

func (*ParentReference) GetIdParts

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

func (*ParentReference) GetPattern

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

func (*ParentReference) GetProject

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

func (*ParentReference) GetProjectReference

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

func (*ParentReference) GetRawResource

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

func (*ParentReference) GetResourceDescriptor

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

func (*ParentReference) GetSegments

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

func (*ParentReference) GetUnderlyingReference

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

func (*ParentReference) GotenEqual

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

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

func (*ParentReference) IsFullyQualified

func (ref *ParentReference) IsFullyQualified() bool

func (*ParentReference) IsSpecified

func (ref *ParentReference) IsSpecified() bool

func (*ParentReference) Matches

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

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

func (*ParentReference) ParseProtoString

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

func (*ParentReference) ProtoString

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

func (*ParentReference) ResolveRaw

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

func (*ParentReference) Resolved

func (ref *ParentReference) Resolved() bool

func (*ParentReference) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*ParentReference) String

func (ref *ParentReference) String() string

type QueryResultChange

type QueryResultChange struct {
	Changes        []*MetricDescriptorChange
	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 {
	MetricDescriptors []*MetricDescriptor
	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, metricDescriptor *MetricDescriptor) (*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) GetMetricDescriptor

func (ref *Reference) GetMetricDescriptor() *MetricDescriptor

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

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