alerting_policy

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Project_Region = "projects/{project}/regions/{region}/alertingPolicies/{alerting_policy}"
)

Variables

View Source
var (
	AlertingPolicy_Spec_ConditionsCombiner_name = map[int32]string{
		0: "OR",
		1: "AND",
	}

	AlertingPolicy_Spec_ConditionsCombiner_value = map[string]int32{
		"OR":  0,
		"AND": 1,
	}
)

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access AlertingPolicyAccess) gotenresource.Access

Types

type AlertingPolicy

type AlertingPolicy struct {

	// Name of AlertingPolicy
	// 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: [a-z][a-z0-9\\-]{0,28}[a-z0-9]
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Metadata is an object with information like create, update and delete time
	// (for async deleted resources), has user labels/annotations, sharding
	// information, multi-region syncing information and may have non-schema
	// owners (useful for taking ownership of resources belonging to lower level
	// services by higher ones).
	Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// display name
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// Long description
	Description   string                        `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" firestore:"description"`
	Documentation *AlertingPolicy_Documentation `protobuf:"bytes,5,opt,name=documentation,proto3" json:"documentation,omitempty" firestore:"documentation"`
	// Spec
	Spec  *AlertingPolicy_Spec  `protobuf:"bytes,6,opt,name=spec,proto3" json:"spec,omitempty" firestore:"spec"`
	State *AlertingPolicy_State `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty" firestore:"state"`
	// contains filtered or unexported fields
}

AlertingPolicy Resource

func (*AlertingPolicy) Clone

func (o *AlertingPolicy) Clone() *AlertingPolicy

func (*AlertingPolicy) CloneRaw

func (*AlertingPolicy) Descriptor

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

Deprecated, Use AlertingPolicy.ProtoReflect.Descriptor instead.

func (*AlertingPolicy) EnsureMetadata

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

func (*AlertingPolicy) GetDescription

func (m *AlertingPolicy) GetDescription() string

func (*AlertingPolicy) GetDisplayName

func (m *AlertingPolicy) GetDisplayName() string

func (*AlertingPolicy) GetDocumentation

func (m *AlertingPolicy) GetDocumentation() *AlertingPolicy_Documentation

func (*AlertingPolicy) GetMetadata

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

func (*AlertingPolicy) GetName

func (m *AlertingPolicy) GetName() *Name

func (*AlertingPolicy) GetRawName

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

func (*AlertingPolicy) GetResourceDescriptor

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

func (*AlertingPolicy) GetSpec

func (m *AlertingPolicy) GetSpec() *AlertingPolicy_Spec

func (*AlertingPolicy) GetState

func (m *AlertingPolicy) GetState() *AlertingPolicy_State

func (*AlertingPolicy) GotenMessage

func (*AlertingPolicy) GotenMessage()

func (*AlertingPolicy) GotenObjectExt

func (o *AlertingPolicy) GotenObjectExt()

func (*AlertingPolicy) GotenValidate

func (obj *AlertingPolicy) GotenValidate() error

func (*AlertingPolicy) MakeDiffFieldMask

func (o *AlertingPolicy) MakeDiffFieldMask(other *AlertingPolicy) *AlertingPolicy_FieldMask

func (*AlertingPolicy) MakeFullFieldMask

func (o *AlertingPolicy) MakeFullFieldMask() *AlertingPolicy_FieldMask

func (*AlertingPolicy) MakeRawDiffFieldMask

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

func (*AlertingPolicy) MakeRawFullFieldMask

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

func (*AlertingPolicy) Marshal

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

func (*AlertingPolicy) MarshalJSON

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

func (*AlertingPolicy) MaybePopulateDefaults

func (r *AlertingPolicy) MaybePopulateDefaults() error

func (*AlertingPolicy) Merge

func (o *AlertingPolicy) Merge(source *AlertingPolicy)

func (*AlertingPolicy) MergeRaw

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

func (*AlertingPolicy) ProtoMessage

func (*AlertingPolicy) ProtoMessage()

func (*AlertingPolicy) ProtoReflect

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

func (*AlertingPolicy) Reset

func (m *AlertingPolicy) Reset()

func (*AlertingPolicy) SetDescription

func (m *AlertingPolicy) SetDescription(fv string)

func (*AlertingPolicy) SetDisplayName

func (m *AlertingPolicy) SetDisplayName(fv string)

func (*AlertingPolicy) SetDocumentation

func (m *AlertingPolicy) SetDocumentation(fv *AlertingPolicy_Documentation)

func (*AlertingPolicy) SetMetadata

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

func (*AlertingPolicy) SetName

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

func (*AlertingPolicy) SetSpec

func (m *AlertingPolicy) SetSpec(fv *AlertingPolicy_Spec)

func (*AlertingPolicy) SetState

func (m *AlertingPolicy) SetState(fv *AlertingPolicy_State)

func (*AlertingPolicy) String

func (m *AlertingPolicy) String() string

func (*AlertingPolicy) Unmarshal

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

func (*AlertingPolicy) UnmarshalJSON

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

type AlertingPolicyAccess

type AlertingPolicyAccess interface {
	GetAlertingPolicy(context.Context, *GetQuery) (*AlertingPolicy, error)
	BatchGetAlertingPolicies(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryAlertingPolicies(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	SearchAlertingPolicies(context.Context, *SearchQuery) (*QueryResultSnapshot, error)
	WatchAlertingPolicy(context.Context, *GetQuery, func(*AlertingPolicyChange) error) error
	WatchAlertingPolicies(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveAlertingPolicy(context.Context, *AlertingPolicy, ...gotenresource.SaveOption) error
	DeleteAlertingPolicy(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type AlertingPolicyChange

type AlertingPolicyChange struct {

	// AlertingPolicy change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*AlertingPolicyChange_Added_
	//	*AlertingPolicyChange_Modified_
	//	*AlertingPolicyChange_Current_
	//	*AlertingPolicyChange_Removed_
	ChangeType isAlertingPolicyChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*AlertingPolicyChange) Descriptor

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

Deprecated, Use AlertingPolicyChange.ProtoReflect.Descriptor instead.

func (*AlertingPolicyChange) GetAdded

func (*AlertingPolicyChange) GetAlertingPolicy

func (c *AlertingPolicyChange) GetAlertingPolicy() *AlertingPolicy

func (*AlertingPolicyChange) GetAlertingPolicyName

func (c *AlertingPolicyChange) GetAlertingPolicyName() *Name

func (*AlertingPolicyChange) GetChangeType

func (m *AlertingPolicyChange) GetChangeType() isAlertingPolicyChange_ChangeType

func (*AlertingPolicyChange) GetCurrent

func (*AlertingPolicyChange) GetCurrentViewIndex

func (c *AlertingPolicyChange) GetCurrentViewIndex() int32

func (*AlertingPolicyChange) GetModified

func (*AlertingPolicyChange) GetPreviousViewIndex

func (c *AlertingPolicyChange) GetPreviousViewIndex() int32

func (*AlertingPolicyChange) GetRawName

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

func (*AlertingPolicyChange) GetRawResource

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

func (*AlertingPolicyChange) GetRemoved

func (*AlertingPolicyChange) GotenMessage

func (*AlertingPolicyChange) GotenMessage()

func (*AlertingPolicyChange) GotenValidate

func (obj *AlertingPolicyChange) GotenValidate() error

func (*AlertingPolicyChange) IsAdd

func (c *AlertingPolicyChange) IsAdd() bool

func (*AlertingPolicyChange) IsCurrent

func (c *AlertingPolicyChange) IsCurrent() bool

func (*AlertingPolicyChange) IsDelete

func (c *AlertingPolicyChange) IsDelete() bool

func (*AlertingPolicyChange) IsModify

func (c *AlertingPolicyChange) IsModify() bool

func (*AlertingPolicyChange) Marshal

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

func (*AlertingPolicyChange) MarshalJSON

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

func (*AlertingPolicyChange) ProtoMessage

func (*AlertingPolicyChange) ProtoMessage()

func (*AlertingPolicyChange) ProtoReflect

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

func (*AlertingPolicyChange) Reset

func (m *AlertingPolicyChange) Reset()

func (*AlertingPolicyChange) SetAdded

func (*AlertingPolicyChange) SetAddedRaw

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

func (*AlertingPolicyChange) SetChangeType

func (m *AlertingPolicyChange) SetChangeType(ofv isAlertingPolicyChange_ChangeType)

func (*AlertingPolicyChange) SetCurrent

func (*AlertingPolicyChange) SetCurrentRaw

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

func (*AlertingPolicyChange) SetDeletedRaw

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

func (*AlertingPolicyChange) SetModified

func (*AlertingPolicyChange) SetModifiedRaw

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

func (*AlertingPolicyChange) SetRemoved

func (*AlertingPolicyChange) String

func (m *AlertingPolicyChange) String() string

func (*AlertingPolicyChange) Unmarshal

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

func (*AlertingPolicyChange) UnmarshalJSON

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

type AlertingPolicyChangeList

type AlertingPolicyChangeList []*AlertingPolicyChange

func (AlertingPolicyChangeList) Append

func (AlertingPolicyChangeList) AppendList

func (AlertingPolicyChangeList) At

func (AlertingPolicyChangeList) Length

func (l AlertingPolicyChangeList) Length() int

func (AlertingPolicyChangeList) Set

func (AlertingPolicyChangeList) Slice

type AlertingPolicyChangeMap

type AlertingPolicyChangeMap map[Name]*AlertingPolicyChange

func (AlertingPolicyChangeMap) Delete

func (AlertingPolicyChangeMap) ForEach

func (AlertingPolicyChangeMap) Get

func (AlertingPolicyChangeMap) Length

func (m AlertingPolicyChangeMap) Length() int

func (AlertingPolicyChangeMap) Set

type AlertingPolicyChange_Added

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

AlertingPolicy has been added to query view

func (*AlertingPolicyChange_Added) Descriptor

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

Deprecated, Use AlertingPolicyChange_Added.ProtoReflect.Descriptor instead.

func (*AlertingPolicyChange_Added) GetAlertingPolicy

func (m *AlertingPolicyChange_Added) GetAlertingPolicy() *AlertingPolicy

func (*AlertingPolicyChange_Added) GetViewIndex

func (m *AlertingPolicyChange_Added) GetViewIndex() int32

func (*AlertingPolicyChange_Added) GotenMessage

func (*AlertingPolicyChange_Added) GotenMessage()

func (*AlertingPolicyChange_Added) GotenValidate

func (obj *AlertingPolicyChange_Added) GotenValidate() error

func (*AlertingPolicyChange_Added) Marshal

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

func (*AlertingPolicyChange_Added) MarshalJSON

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

func (*AlertingPolicyChange_Added) ProtoMessage

func (*AlertingPolicyChange_Added) ProtoMessage()

func (*AlertingPolicyChange_Added) ProtoReflect

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

func (*AlertingPolicyChange_Added) Reset

func (m *AlertingPolicyChange_Added) Reset()

func (*AlertingPolicyChange_Added) SetAlertingPolicy

func (m *AlertingPolicyChange_Added) SetAlertingPolicy(fv *AlertingPolicy)

func (*AlertingPolicyChange_Added) SetViewIndex

func (m *AlertingPolicyChange_Added) SetViewIndex(fv int32)

func (*AlertingPolicyChange_Added) String

func (m *AlertingPolicyChange_Added) String() string

func (*AlertingPolicyChange_Added) Unmarshal

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

func (*AlertingPolicyChange_Added) UnmarshalJSON

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

type AlertingPolicyChange_Added_

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

type AlertingPolicyChange_Current

type AlertingPolicyChange_Current struct {
	AlertingPolicy *AlertingPolicy `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*AlertingPolicyChange_Current) Descriptor

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

Deprecated, Use AlertingPolicyChange_Current.ProtoReflect.Descriptor instead.

func (*AlertingPolicyChange_Current) GetAlertingPolicy

func (m *AlertingPolicyChange_Current) GetAlertingPolicy() *AlertingPolicy

func (*AlertingPolicyChange_Current) GotenMessage

func (*AlertingPolicyChange_Current) GotenMessage()

func (*AlertingPolicyChange_Current) GotenValidate

func (obj *AlertingPolicyChange_Current) GotenValidate() error

func (*AlertingPolicyChange_Current) Marshal

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

func (*AlertingPolicyChange_Current) MarshalJSON

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

func (*AlertingPolicyChange_Current) ProtoMessage

func (*AlertingPolicyChange_Current) ProtoMessage()

func (*AlertingPolicyChange_Current) ProtoReflect

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

func (*AlertingPolicyChange_Current) Reset

func (m *AlertingPolicyChange_Current) Reset()

func (*AlertingPolicyChange_Current) SetAlertingPolicy

func (m *AlertingPolicyChange_Current) SetAlertingPolicy(fv *AlertingPolicy)

func (*AlertingPolicyChange_Current) String

func (*AlertingPolicyChange_Current) Unmarshal

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

func (*AlertingPolicyChange_Current) UnmarshalJSON

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

type AlertingPolicyChange_Current_

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

type AlertingPolicyChange_Modified

type AlertingPolicyChange_Modified struct {

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

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

func (*AlertingPolicyChange_Modified) Descriptor

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

Deprecated, Use AlertingPolicyChange_Modified.ProtoReflect.Descriptor instead.

func (*AlertingPolicyChange_Modified) GetAlertingPolicy

func (m *AlertingPolicyChange_Modified) GetAlertingPolicy() *AlertingPolicy

func (*AlertingPolicyChange_Modified) GetFieldMask

func (*AlertingPolicyChange_Modified) GetName

func (m *AlertingPolicyChange_Modified) GetName() *Name

func (*AlertingPolicyChange_Modified) GetPreviousViewIndex

func (m *AlertingPolicyChange_Modified) GetPreviousViewIndex() int32

func (*AlertingPolicyChange_Modified) GetViewIndex

func (m *AlertingPolicyChange_Modified) GetViewIndex() int32

func (*AlertingPolicyChange_Modified) GotenMessage

func (*AlertingPolicyChange_Modified) GotenMessage()

func (*AlertingPolicyChange_Modified) GotenValidate

func (obj *AlertingPolicyChange_Modified) GotenValidate() error

func (*AlertingPolicyChange_Modified) Marshal

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

func (*AlertingPolicyChange_Modified) MarshalJSON

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

func (*AlertingPolicyChange_Modified) ProtoMessage

func (*AlertingPolicyChange_Modified) ProtoMessage()

func (*AlertingPolicyChange_Modified) ProtoReflect

func (*AlertingPolicyChange_Modified) Reset

func (m *AlertingPolicyChange_Modified) Reset()

func (*AlertingPolicyChange_Modified) SetAlertingPolicy

func (m *AlertingPolicyChange_Modified) SetAlertingPolicy(fv *AlertingPolicy)

func (*AlertingPolicyChange_Modified) SetFieldMask

func (*AlertingPolicyChange_Modified) SetName

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

func (*AlertingPolicyChange_Modified) SetPreviousViewIndex

func (m *AlertingPolicyChange_Modified) SetPreviousViewIndex(fv int32)

func (*AlertingPolicyChange_Modified) SetViewIndex

func (m *AlertingPolicyChange_Modified) SetViewIndex(fv int32)

func (*AlertingPolicyChange_Modified) String

func (*AlertingPolicyChange_Modified) Unmarshal

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

func (*AlertingPolicyChange_Modified) UnmarshalJSON

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

type AlertingPolicyChange_Modified_

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

type AlertingPolicyChange_Removed

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

func (*AlertingPolicyChange_Removed) Descriptor

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

Deprecated, Use AlertingPolicyChange_Removed.ProtoReflect.Descriptor instead.

func (*AlertingPolicyChange_Removed) GetName

func (m *AlertingPolicyChange_Removed) GetName() *Name

func (*AlertingPolicyChange_Removed) GetViewIndex

func (m *AlertingPolicyChange_Removed) GetViewIndex() int32

func (*AlertingPolicyChange_Removed) GotenMessage

func (*AlertingPolicyChange_Removed) GotenMessage()

func (*AlertingPolicyChange_Removed) GotenValidate

func (obj *AlertingPolicyChange_Removed) GotenValidate() error

func (*AlertingPolicyChange_Removed) Marshal

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

func (*AlertingPolicyChange_Removed) MarshalJSON

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

func (*AlertingPolicyChange_Removed) ProtoMessage

func (*AlertingPolicyChange_Removed) ProtoMessage()

func (*AlertingPolicyChange_Removed) ProtoReflect

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

func (*AlertingPolicyChange_Removed) Reset

func (m *AlertingPolicyChange_Removed) Reset()

func (*AlertingPolicyChange_Removed) SetName

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

func (*AlertingPolicyChange_Removed) SetViewIndex

func (m *AlertingPolicyChange_Removed) SetViewIndex(fv int32)

func (*AlertingPolicyChange_Removed) String

func (*AlertingPolicyChange_Removed) Unmarshal

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

func (*AlertingPolicyChange_Removed) UnmarshalJSON

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

type AlertingPolicyChange_Removed_

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

type AlertingPolicyDocumentationFieldPathBuilder

type AlertingPolicyDocumentationFieldPathBuilder struct{}

func NewAlertingPolicyDocumentationFieldPathBuilder

func NewAlertingPolicyDocumentationFieldPathBuilder() AlertingPolicyDocumentationFieldPathBuilder

func (AlertingPolicyDocumentationFieldPathBuilder) Content

func (AlertingPolicyDocumentationFieldPathBuilder) MimeType

type AlertingPolicyDocumentation_FieldPath

type AlertingPolicyDocumentation_FieldPath interface {
	gotenobject.FieldPath
	Selector() AlertingPolicyDocumentation_FieldPathSelector
	Get(source *AlertingPolicy_Documentation) []interface{}
	GetSingle(source *AlertingPolicy_Documentation) (interface{}, bool)
	ClearValue(item *AlertingPolicy_Documentation)

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

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

func MustParseAlertingPolicyDocumentation_FieldPath

func MustParseAlertingPolicyDocumentation_FieldPath(rawField string) AlertingPolicyDocumentation_FieldPath

func ParseAlertingPolicyDocumentation_FieldPath

func ParseAlertingPolicyDocumentation_FieldPath(rawField string) (AlertingPolicyDocumentation_FieldPath, error)

type AlertingPolicyDocumentation_FieldPathArrayItemValue

type AlertingPolicyDocumentation_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AlertingPolicyDocumentation_FieldPath
	ContainsValue(*AlertingPolicy_Documentation) bool
}

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

func MustParseAlertingPolicyDocumentation_FieldPathArrayItemValue

func MustParseAlertingPolicyDocumentation_FieldPathArrayItemValue(pathStr, valueStr string) AlertingPolicyDocumentation_FieldPathArrayItemValue

func ParseAlertingPolicyDocumentation_FieldPathArrayItemValue

func ParseAlertingPolicyDocumentation_FieldPathArrayItemValue(pathStr, valueStr string) (AlertingPolicyDocumentation_FieldPathArrayItemValue, error)

ParseAlertingPolicyDocumentation_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AlertingPolicyDocumentation_FieldPathArrayOfValues

type AlertingPolicyDocumentation_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AlertingPolicyDocumentation_FieldPath
}

AlertingPolicyDocumentation_FieldPathArrayOfValues allows storing slice of values for Documentation fields according to their type

func MustParseAlertingPolicyDocumentation_FieldPathArrayOfValues

func MustParseAlertingPolicyDocumentation_FieldPathArrayOfValues(pathStr, valuesStr string) AlertingPolicyDocumentation_FieldPathArrayOfValues

func ParseAlertingPolicyDocumentation_FieldPathArrayOfValues

func ParseAlertingPolicyDocumentation_FieldPathArrayOfValues(pathStr, valuesStr string) (AlertingPolicyDocumentation_FieldPathArrayOfValues, error)

type AlertingPolicyDocumentation_FieldPathSelector

type AlertingPolicyDocumentation_FieldPathSelector int32
const (
	AlertingPolicyDocumentation_FieldPathSelectorContent  AlertingPolicyDocumentation_FieldPathSelector = 0
	AlertingPolicyDocumentation_FieldPathSelectorMimeType AlertingPolicyDocumentation_FieldPathSelector = 1
)

func (AlertingPolicyDocumentation_FieldPathSelector) String

type AlertingPolicyDocumentation_FieldPathValue

type AlertingPolicyDocumentation_FieldPathValue interface {
	AlertingPolicyDocumentation_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AlertingPolicy_Documentation)
	CompareWith(*AlertingPolicy_Documentation) (cmp int, comparable bool)
}

AlertingPolicyDocumentation_FieldPathValue allows storing values for Documentation fields according to their type

func MustParseAlertingPolicyDocumentation_FieldPathValue

func MustParseAlertingPolicyDocumentation_FieldPathValue(pathStr, valueStr string) AlertingPolicyDocumentation_FieldPathValue

func ParseAlertingPolicyDocumentation_FieldPathValue

func ParseAlertingPolicyDocumentation_FieldPathValue(pathStr, valueStr string) (AlertingPolicyDocumentation_FieldPathValue, error)

type AlertingPolicyDocumentation_FieldTerminalPath

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

func (*AlertingPolicyDocumentation_FieldTerminalPath) ClearValue

func (*AlertingPolicyDocumentation_FieldTerminalPath) ClearValueRaw

func (*AlertingPolicyDocumentation_FieldTerminalPath) Get

func (fp *AlertingPolicyDocumentation_FieldTerminalPath) Get(source *AlertingPolicy_Documentation) (values []interface{})

Get returns all values pointed by specific field from source AlertingPolicy_Documentation

func (*AlertingPolicyDocumentation_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicyDocumentation_FieldTerminalPath) GetRaw

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

func (*AlertingPolicyDocumentation_FieldTerminalPath) GetSingle

GetSingle returns value pointed by specific field of from source AlertingPolicy_Documentation

func (*AlertingPolicyDocumentation_FieldTerminalPath) GetSingleRaw

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

func (*AlertingPolicyDocumentation_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*AlertingPolicyDocumentation_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*AlertingPolicyDocumentation_FieldTerminalPath) Selector

func (*AlertingPolicyDocumentation_FieldTerminalPath) SplitIntoTerminalIPaths

func (*AlertingPolicyDocumentation_FieldTerminalPath) String

String returns path representation in proto convention

func (*AlertingPolicyDocumentation_FieldTerminalPath) WithIArrayItemValue

func (*AlertingPolicyDocumentation_FieldTerminalPath) WithIArrayOfValues

func (*AlertingPolicyDocumentation_FieldTerminalPath) WithIValue

func (*AlertingPolicyDocumentation_FieldTerminalPath) WithRawIArrayItemValue

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

func (*AlertingPolicyDocumentation_FieldTerminalPath) WithRawIArrayOfValues

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

func (*AlertingPolicyDocumentation_FieldTerminalPath) WithRawIValue

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

type AlertingPolicyDocumentation_FieldTerminalPathArrayItemValue

type AlertingPolicyDocumentation_FieldTerminalPathArrayItemValue struct {
	AlertingPolicyDocumentation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicyDocumentation_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*AlertingPolicyDocumentation_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*AlertingPolicyDocumentation_FieldTerminalPathArrayItemValue) GetSingle

func (*AlertingPolicyDocumentation_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type AlertingPolicyDocumentation_FieldTerminalPathArrayOfValues

type AlertingPolicyDocumentation_FieldTerminalPathArrayOfValues struct {
	AlertingPolicyDocumentation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicyDocumentation_FieldTerminalPathArrayOfValues) AsContentArrayOfValues

func (fpaov *AlertingPolicyDocumentation_FieldTerminalPathArrayOfValues) AsContentArrayOfValues() ([]string, bool)

func (*AlertingPolicyDocumentation_FieldTerminalPathArrayOfValues) AsMimeTypeArrayOfValues

func (fpaov *AlertingPolicyDocumentation_FieldTerminalPathArrayOfValues) AsMimeTypeArrayOfValues() ([]string, bool)

func (*AlertingPolicyDocumentation_FieldTerminalPathArrayOfValues) GetRawValues

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

type AlertingPolicyDocumentation_FieldTerminalPathValue

type AlertingPolicyDocumentation_FieldTerminalPathValue struct {
	AlertingPolicyDocumentation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicyDocumentation_FieldTerminalPathValue) AsContentValue

func (*AlertingPolicyDocumentation_FieldTerminalPathValue) AsMimeTypeValue

func (*AlertingPolicyDocumentation_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'AlertingPolicyDocumentation_FieldTerminalPathValue' with the value under path in 'AlertingPolicy_Documentation'.

func (*AlertingPolicyDocumentation_FieldTerminalPathValue) CompareWithRaw

func (*AlertingPolicyDocumentation_FieldTerminalPathValue) GetRawValue

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

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

func (*AlertingPolicyDocumentation_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object Documentation

func (*AlertingPolicyDocumentation_FieldTerminalPathValue) SetToRaw

type AlertingPolicyFieldPathBuilder

type AlertingPolicyFieldPathBuilder struct{}

func NewAlertingPolicyFieldPathBuilder

func NewAlertingPolicyFieldPathBuilder() AlertingPolicyFieldPathBuilder

func (AlertingPolicyFieldPathBuilder) Description

func (AlertingPolicyFieldPathBuilder) DisplayName

func (AlertingPolicyFieldPathBuilder) Documentation

func (AlertingPolicyFieldPathBuilder) Metadata

func (AlertingPolicyFieldPathBuilder) Name

func (AlertingPolicyFieldPathBuilder) Spec

func (AlertingPolicyFieldPathBuilder) State

type AlertingPolicyList

type AlertingPolicyList []*AlertingPolicy

func (AlertingPolicyList) Append

func (AlertingPolicyList) AppendList

func (AlertingPolicyList) At

func (AlertingPolicyList) Length

func (l AlertingPolicyList) Length() int

func (AlertingPolicyList) Set

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

func (AlertingPolicyList) Slice

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

type AlertingPolicyMap

type AlertingPolicyMap map[Name]*AlertingPolicy

func (AlertingPolicyMap) Delete

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

func (AlertingPolicyMap) ForEach

func (AlertingPolicyMap) Get

func (AlertingPolicyMap) Length

func (m AlertingPolicyMap) Length() int

func (AlertingPolicyMap) Set

type AlertingPolicyMapPathSelectorMetadataAnnotations

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

func (AlertingPolicyMapPathSelectorMetadataAnnotations) FieldPath

func (AlertingPolicyMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (AlertingPolicyMapPathSelectorMetadataAnnotations) WithValue

type AlertingPolicyMapPathSelectorMetadataLabels

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

func (AlertingPolicyMapPathSelectorMetadataLabels) FieldPath

func (AlertingPolicyMapPathSelectorMetadataLabels) WithArrayOfValues

func (AlertingPolicyMapPathSelectorMetadataLabels) WithValue

type AlertingPolicyMapPathSelectorMetadataShards

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

func (AlertingPolicyMapPathSelectorMetadataShards) FieldPath

func (AlertingPolicyMapPathSelectorMetadataShards) WithArrayOfValues

func (AlertingPolicyMapPathSelectorMetadataShards) WithValue

type AlertingPolicyNameList

type AlertingPolicyNameList []*Name

func (AlertingPolicyNameList) Append

func (AlertingPolicyNameList) AppendList

func (AlertingPolicyNameList) At

func (AlertingPolicyNameList) Length

func (l AlertingPolicyNameList) Length() int

func (AlertingPolicyNameList) Set

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

func (AlertingPolicyNameList) Slice

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

type AlertingPolicyParentNameList

type AlertingPolicyParentNameList []*ParentName

func (AlertingPolicyParentNameList) Append

func (AlertingPolicyParentNameList) AppendList

func (AlertingPolicyParentNameList) At

func (AlertingPolicyParentNameList) Length

func (l AlertingPolicyParentNameList) Length() int

func (AlertingPolicyParentNameList) Set

func (AlertingPolicyParentNameList) Slice

type AlertingPolicyParentReferenceList

type AlertingPolicyParentReferenceList []*ParentReference

func (AlertingPolicyParentReferenceList) Append

func (AlertingPolicyParentReferenceList) AppendList

func (AlertingPolicyParentReferenceList) At

func (AlertingPolicyParentReferenceList) Length

func (AlertingPolicyParentReferenceList) Set

func (AlertingPolicyParentReferenceList) Slice

type AlertingPolicyPathSelectorDescription

type AlertingPolicyPathSelectorDescription struct{}

func (AlertingPolicyPathSelectorDescription) FieldPath

func (AlertingPolicyPathSelectorDescription) WithArrayOfValues

func (AlertingPolicyPathSelectorDescription) WithValue

type AlertingPolicyPathSelectorDisplayName

type AlertingPolicyPathSelectorDisplayName struct{}

func (AlertingPolicyPathSelectorDisplayName) FieldPath

func (AlertingPolicyPathSelectorDisplayName) WithArrayOfValues

func (AlertingPolicyPathSelectorDisplayName) WithValue

type AlertingPolicyPathSelectorDocumentation

type AlertingPolicyPathSelectorDocumentation struct{}

func (AlertingPolicyPathSelectorDocumentation) Content

func (AlertingPolicyPathSelectorDocumentation) FieldPath

func (AlertingPolicyPathSelectorDocumentation) MimeType

func (AlertingPolicyPathSelectorDocumentation) WithArrayOfValues

func (AlertingPolicyPathSelectorDocumentation) WithSubArrayItemValue

func (AlertingPolicyPathSelectorDocumentation) WithSubArrayOfValues

func (AlertingPolicyPathSelectorDocumentation) WithSubPath

func (AlertingPolicyPathSelectorDocumentation) WithSubValue

func (AlertingPolicyPathSelectorDocumentation) WithValue

type AlertingPolicyPathSelectorDocumentationContent

type AlertingPolicyPathSelectorDocumentationContent struct{}

func (AlertingPolicyPathSelectorDocumentationContent) FieldPath

func (AlertingPolicyPathSelectorDocumentationContent) WithArrayOfValues

func (AlertingPolicyPathSelectorDocumentationContent) WithValue

type AlertingPolicyPathSelectorDocumentationMimeType

type AlertingPolicyPathSelectorDocumentationMimeType struct{}

func (AlertingPolicyPathSelectorDocumentationMimeType) FieldPath

func (AlertingPolicyPathSelectorDocumentationMimeType) WithArrayOfValues

func (AlertingPolicyPathSelectorDocumentationMimeType) WithValue

type AlertingPolicyPathSelectorMetadata

type AlertingPolicyPathSelectorMetadata struct{}

func (AlertingPolicyPathSelectorMetadata) Annotations

func (AlertingPolicyPathSelectorMetadata) CreateTime

func (AlertingPolicyPathSelectorMetadata) DeleteTime

func (AlertingPolicyPathSelectorMetadata) FieldPath

func (AlertingPolicyPathSelectorMetadata) Generation

func (AlertingPolicyPathSelectorMetadata) Labels

func (AlertingPolicyPathSelectorMetadata) Lifecycle

func (AlertingPolicyPathSelectorMetadata) OwnerReferences

func (AlertingPolicyPathSelectorMetadata) ResourceVersion

func (AlertingPolicyPathSelectorMetadata) Services

func (AlertingPolicyPathSelectorMetadata) Shards

func (AlertingPolicyPathSelectorMetadata) Syncing

func (AlertingPolicyPathSelectorMetadata) Tags

func (AlertingPolicyPathSelectorMetadata) UpdateTime

func (AlertingPolicyPathSelectorMetadata) Uuid

func (AlertingPolicyPathSelectorMetadata) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadata) WithSubArrayItemValue

func (AlertingPolicyPathSelectorMetadata) WithSubArrayOfValues

func (AlertingPolicyPathSelectorMetadata) WithSubPath

func (AlertingPolicyPathSelectorMetadata) WithSubValue

func (AlertingPolicyPathSelectorMetadata) WithValue

type AlertingPolicyPathSelectorMetadataAnnotations

type AlertingPolicyPathSelectorMetadataAnnotations struct{}

func (AlertingPolicyPathSelectorMetadataAnnotations) FieldPath

func (AlertingPolicyPathSelectorMetadataAnnotations) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataAnnotations) WithKey

func (AlertingPolicyPathSelectorMetadataAnnotations) WithValue

type AlertingPolicyPathSelectorMetadataCreateTime

type AlertingPolicyPathSelectorMetadataCreateTime struct{}

func (AlertingPolicyPathSelectorMetadataCreateTime) FieldPath

func (AlertingPolicyPathSelectorMetadataCreateTime) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataCreateTime) WithValue

type AlertingPolicyPathSelectorMetadataDeleteTime

type AlertingPolicyPathSelectorMetadataDeleteTime struct{}

func (AlertingPolicyPathSelectorMetadataDeleteTime) FieldPath

func (AlertingPolicyPathSelectorMetadataDeleteTime) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataDeleteTime) WithValue

type AlertingPolicyPathSelectorMetadataGeneration

type AlertingPolicyPathSelectorMetadataGeneration struct{}

func (AlertingPolicyPathSelectorMetadataGeneration) FieldPath

func (AlertingPolicyPathSelectorMetadataGeneration) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataGeneration) WithValue

type AlertingPolicyPathSelectorMetadataLabels

type AlertingPolicyPathSelectorMetadataLabels struct{}

func (AlertingPolicyPathSelectorMetadataLabels) FieldPath

func (AlertingPolicyPathSelectorMetadataLabels) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataLabels) WithKey

func (AlertingPolicyPathSelectorMetadataLabels) WithValue

type AlertingPolicyPathSelectorMetadataLifecycle

type AlertingPolicyPathSelectorMetadataLifecycle struct{}

func (AlertingPolicyPathSelectorMetadataLifecycle) BlockDeletion

func (AlertingPolicyPathSelectorMetadataLifecycle) FieldPath

func (AlertingPolicyPathSelectorMetadataLifecycle) State

func (AlertingPolicyPathSelectorMetadataLifecycle) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataLifecycle) WithValue

type AlertingPolicyPathSelectorMetadataLifecycleBlockDeletion

type AlertingPolicyPathSelectorMetadataLifecycleBlockDeletion struct{}

func (AlertingPolicyPathSelectorMetadataLifecycleBlockDeletion) FieldPath

func (AlertingPolicyPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataLifecycleBlockDeletion) WithValue

type AlertingPolicyPathSelectorMetadataLifecycleState

type AlertingPolicyPathSelectorMetadataLifecycleState struct{}

func (AlertingPolicyPathSelectorMetadataLifecycleState) FieldPath

func (AlertingPolicyPathSelectorMetadataLifecycleState) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataLifecycleState) WithValue

type AlertingPolicyPathSelectorMetadataOwnerReferences

type AlertingPolicyPathSelectorMetadataOwnerReferences struct{}

func (AlertingPolicyPathSelectorMetadataOwnerReferences) Controller

func (AlertingPolicyPathSelectorMetadataOwnerReferences) FieldPath

func (AlertingPolicyPathSelectorMetadataOwnerReferences) Kind

func (AlertingPolicyPathSelectorMetadataOwnerReferences) Name

func (AlertingPolicyPathSelectorMetadataOwnerReferences) Region

func (AlertingPolicyPathSelectorMetadataOwnerReferences) Version

func (AlertingPolicyPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataOwnerReferences) WithItemValue

func (AlertingPolicyPathSelectorMetadataOwnerReferences) WithValue

type AlertingPolicyPathSelectorMetadataOwnerReferencesController

type AlertingPolicyPathSelectorMetadataOwnerReferencesController struct{}

func (AlertingPolicyPathSelectorMetadataOwnerReferencesController) FieldPath

func (AlertingPolicyPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataOwnerReferencesController) WithValue

type AlertingPolicyPathSelectorMetadataOwnerReferencesKind

type AlertingPolicyPathSelectorMetadataOwnerReferencesKind struct{}

func (AlertingPolicyPathSelectorMetadataOwnerReferencesKind) FieldPath

func (AlertingPolicyPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataOwnerReferencesKind) WithValue

type AlertingPolicyPathSelectorMetadataOwnerReferencesName

type AlertingPolicyPathSelectorMetadataOwnerReferencesName struct{}

func (AlertingPolicyPathSelectorMetadataOwnerReferencesName) FieldPath

func (AlertingPolicyPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataOwnerReferencesName) WithValue

type AlertingPolicyPathSelectorMetadataOwnerReferencesRegion

type AlertingPolicyPathSelectorMetadataOwnerReferencesRegion struct{}

func (AlertingPolicyPathSelectorMetadataOwnerReferencesRegion) FieldPath

func (AlertingPolicyPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataOwnerReferencesRegion) WithValue

type AlertingPolicyPathSelectorMetadataOwnerReferencesRequiresOwnerReference

type AlertingPolicyPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (AlertingPolicyPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath

func (AlertingPolicyPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue

type AlertingPolicyPathSelectorMetadataOwnerReferencesVersion

type AlertingPolicyPathSelectorMetadataOwnerReferencesVersion struct{}

func (AlertingPolicyPathSelectorMetadataOwnerReferencesVersion) FieldPath

func (AlertingPolicyPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataOwnerReferencesVersion) WithValue

type AlertingPolicyPathSelectorMetadataResourceVersion

type AlertingPolicyPathSelectorMetadataResourceVersion struct{}

func (AlertingPolicyPathSelectorMetadataResourceVersion) FieldPath

func (AlertingPolicyPathSelectorMetadataResourceVersion) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataResourceVersion) WithValue

type AlertingPolicyPathSelectorMetadataServices

type AlertingPolicyPathSelectorMetadataServices struct{}

func (AlertingPolicyPathSelectorMetadataServices) AllowedServices

func (AlertingPolicyPathSelectorMetadataServices) FieldPath

func (AlertingPolicyPathSelectorMetadataServices) OwningService

func (AlertingPolicyPathSelectorMetadataServices) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataServices) WithValue

type AlertingPolicyPathSelectorMetadataServicesAllowedServices

type AlertingPolicyPathSelectorMetadataServicesAllowedServices struct{}

func (AlertingPolicyPathSelectorMetadataServicesAllowedServices) FieldPath

func (AlertingPolicyPathSelectorMetadataServicesAllowedServices) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataServicesAllowedServices) WithItemValue

func (AlertingPolicyPathSelectorMetadataServicesAllowedServices) WithValue

type AlertingPolicyPathSelectorMetadataServicesOwningService

type AlertingPolicyPathSelectorMetadataServicesOwningService struct{}

func (AlertingPolicyPathSelectorMetadataServicesOwningService) FieldPath

func (AlertingPolicyPathSelectorMetadataServicesOwningService) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataServicesOwningService) WithValue

type AlertingPolicyPathSelectorMetadataShards

type AlertingPolicyPathSelectorMetadataShards struct{}

func (AlertingPolicyPathSelectorMetadataShards) FieldPath

func (AlertingPolicyPathSelectorMetadataShards) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataShards) WithKey

func (AlertingPolicyPathSelectorMetadataShards) WithValue

type AlertingPolicyPathSelectorMetadataSyncing

type AlertingPolicyPathSelectorMetadataSyncing struct{}

func (AlertingPolicyPathSelectorMetadataSyncing) FieldPath

func (AlertingPolicyPathSelectorMetadataSyncing) OwningRegion

func (AlertingPolicyPathSelectorMetadataSyncing) Regions

func (AlertingPolicyPathSelectorMetadataSyncing) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataSyncing) WithValue

type AlertingPolicyPathSelectorMetadataSyncingOwningRegion

type AlertingPolicyPathSelectorMetadataSyncingOwningRegion struct{}

func (AlertingPolicyPathSelectorMetadataSyncingOwningRegion) FieldPath

func (AlertingPolicyPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataSyncingOwningRegion) WithValue

type AlertingPolicyPathSelectorMetadataSyncingRegions

type AlertingPolicyPathSelectorMetadataSyncingRegions struct{}

func (AlertingPolicyPathSelectorMetadataSyncingRegions) FieldPath

func (AlertingPolicyPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataSyncingRegions) WithItemValue

func (AlertingPolicyPathSelectorMetadataSyncingRegions) WithValue

type AlertingPolicyPathSelectorMetadataTags

type AlertingPolicyPathSelectorMetadataTags struct{}

func (AlertingPolicyPathSelectorMetadataTags) FieldPath

func (AlertingPolicyPathSelectorMetadataTags) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataTags) WithItemValue

func (AlertingPolicyPathSelectorMetadataTags) WithValue

type AlertingPolicyPathSelectorMetadataUpdateTime

type AlertingPolicyPathSelectorMetadataUpdateTime struct{}

func (AlertingPolicyPathSelectorMetadataUpdateTime) FieldPath

func (AlertingPolicyPathSelectorMetadataUpdateTime) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataUpdateTime) WithValue

type AlertingPolicyPathSelectorMetadataUuid

type AlertingPolicyPathSelectorMetadataUuid struct{}

func (AlertingPolicyPathSelectorMetadataUuid) FieldPath

func (AlertingPolicyPathSelectorMetadataUuid) WithArrayOfValues

func (AlertingPolicyPathSelectorMetadataUuid) WithValue

type AlertingPolicyPathSelectorName

type AlertingPolicyPathSelectorName struct{}

func (AlertingPolicyPathSelectorName) FieldPath

func (AlertingPolicyPathSelectorName) WithArrayOfValues

func (AlertingPolicyPathSelectorName) WithValue

type AlertingPolicyPathSelectorSpec

type AlertingPolicyPathSelectorSpec struct{}

func (AlertingPolicyPathSelectorSpec) ConditionCombiner

func (AlertingPolicyPathSelectorSpec) Enabled

func (AlertingPolicyPathSelectorSpec) FieldPath

func (AlertingPolicyPathSelectorSpec) Notification

func (AlertingPolicyPathSelectorSpec) WithArrayOfValues

func (AlertingPolicyPathSelectorSpec) WithSubArrayItemValue

func (AlertingPolicyPathSelectorSpec) WithSubArrayOfValues

func (AlertingPolicyPathSelectorSpec) WithSubPath

func (AlertingPolicyPathSelectorSpec) WithSubValue

func (AlertingPolicyPathSelectorSpec) WithValue

type AlertingPolicyPathSelectorSpecConditionCombiner

type AlertingPolicyPathSelectorSpecConditionCombiner struct{}

func (AlertingPolicyPathSelectorSpecConditionCombiner) FieldPath

func (AlertingPolicyPathSelectorSpecConditionCombiner) WithArrayOfValues

func (AlertingPolicyPathSelectorSpecConditionCombiner) WithValue

type AlertingPolicyPathSelectorSpecEnabled

type AlertingPolicyPathSelectorSpecEnabled struct{}

func (AlertingPolicyPathSelectorSpecEnabled) FieldPath

func (AlertingPolicyPathSelectorSpecEnabled) WithArrayOfValues

func (AlertingPolicyPathSelectorSpecEnabled) WithValue

type AlertingPolicyPathSelectorSpecNotification

type AlertingPolicyPathSelectorSpecNotification struct{}

func (AlertingPolicyPathSelectorSpecNotification) Channels

func (AlertingPolicyPathSelectorSpecNotification) Enabled

func (AlertingPolicyPathSelectorSpecNotification) FieldPath

func (AlertingPolicyPathSelectorSpecNotification) WithArrayOfValues

func (AlertingPolicyPathSelectorSpecNotification) WithValue

type AlertingPolicyPathSelectorSpecNotificationChannels

type AlertingPolicyPathSelectorSpecNotificationChannels struct{}

func (AlertingPolicyPathSelectorSpecNotificationChannels) FieldPath

func (AlertingPolicyPathSelectorSpecNotificationChannels) WithArrayOfValues

func (AlertingPolicyPathSelectorSpecNotificationChannels) WithItemValue

func (AlertingPolicyPathSelectorSpecNotificationChannels) WithValue

type AlertingPolicyPathSelectorSpecNotificationEnabled

type AlertingPolicyPathSelectorSpecNotificationEnabled struct{}

func (AlertingPolicyPathSelectorSpecNotificationEnabled) FieldPath

func (AlertingPolicyPathSelectorSpecNotificationEnabled) WithArrayOfValues

func (AlertingPolicyPathSelectorSpecNotificationEnabled) WithValue

type AlertingPolicyPathSelectorState

type AlertingPolicyPathSelectorState struct{}

func (AlertingPolicyPathSelectorState) ActiveAlertsCount

func (AlertingPolicyPathSelectorState) FieldPath

func (AlertingPolicyPathSelectorState) WithArrayOfValues

func (AlertingPolicyPathSelectorState) WithSubArrayItemValue

func (AlertingPolicyPathSelectorState) WithSubArrayOfValues

func (AlertingPolicyPathSelectorState) WithSubPath

func (AlertingPolicyPathSelectorState) WithSubValue

func (AlertingPolicyPathSelectorState) WithValue

type AlertingPolicyPathSelectorStateActiveAlertsCount

type AlertingPolicyPathSelectorStateActiveAlertsCount struct{}

func (AlertingPolicyPathSelectorStateActiveAlertsCount) FieldPath

func (AlertingPolicyPathSelectorStateActiveAlertsCount) WithArrayOfValues

func (AlertingPolicyPathSelectorStateActiveAlertsCount) WithValue

type AlertingPolicyReferenceList

type AlertingPolicyReferenceList []*Reference

func (AlertingPolicyReferenceList) Append

func (AlertingPolicyReferenceList) AppendList

func (AlertingPolicyReferenceList) At

func (AlertingPolicyReferenceList) Length

func (l AlertingPolicyReferenceList) Length() int

func (AlertingPolicyReferenceList) Set

func (AlertingPolicyReferenceList) Slice

type AlertingPolicySpecFieldPathBuilder

type AlertingPolicySpecFieldPathBuilder struct{}

func NewAlertingPolicySpecFieldPathBuilder

func NewAlertingPolicySpecFieldPathBuilder() AlertingPolicySpecFieldPathBuilder

func (AlertingPolicySpecFieldPathBuilder) ConditionCombiner

func (AlertingPolicySpecFieldPathBuilder) Enabled

func (AlertingPolicySpecFieldPathBuilder) Notification

type AlertingPolicySpecNotificationFieldPathBuilder

type AlertingPolicySpecNotificationFieldPathBuilder struct{}

func NewAlertingPolicySpecNotificationFieldPathBuilder

func NewAlertingPolicySpecNotificationFieldPathBuilder() AlertingPolicySpecNotificationFieldPathBuilder

func (AlertingPolicySpecNotificationFieldPathBuilder) Channels

func (AlertingPolicySpecNotificationFieldPathBuilder) Enabled

type AlertingPolicySpecNotification_FieldPath

type AlertingPolicySpecNotification_FieldPath interface {
	gotenobject.FieldPath
	Selector() AlertingPolicySpecNotification_FieldPathSelector
	Get(source *AlertingPolicy_Spec_Notification) []interface{}
	GetSingle(source *AlertingPolicy_Spec_Notification) (interface{}, bool)
	ClearValue(item *AlertingPolicy_Spec_Notification)

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

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

func MustParseAlertingPolicySpecNotification_FieldPath

func MustParseAlertingPolicySpecNotification_FieldPath(rawField string) AlertingPolicySpecNotification_FieldPath

func ParseAlertingPolicySpecNotification_FieldPath

func ParseAlertingPolicySpecNotification_FieldPath(rawField string) (AlertingPolicySpecNotification_FieldPath, error)

type AlertingPolicySpecNotification_FieldPathArrayItemValue

type AlertingPolicySpecNotification_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AlertingPolicySpecNotification_FieldPath
	ContainsValue(*AlertingPolicy_Spec_Notification) bool
}

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

func MustParseAlertingPolicySpecNotification_FieldPathArrayItemValue

func MustParseAlertingPolicySpecNotification_FieldPathArrayItemValue(pathStr, valueStr string) AlertingPolicySpecNotification_FieldPathArrayItemValue

func ParseAlertingPolicySpecNotification_FieldPathArrayItemValue

func ParseAlertingPolicySpecNotification_FieldPathArrayItemValue(pathStr, valueStr string) (AlertingPolicySpecNotification_FieldPathArrayItemValue, error)

ParseAlertingPolicySpecNotification_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AlertingPolicySpecNotification_FieldPathArrayOfValues

type AlertingPolicySpecNotification_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AlertingPolicySpecNotification_FieldPath
}

AlertingPolicySpecNotification_FieldPathArrayOfValues allows storing slice of values for Notification fields according to their type

func MustParseAlertingPolicySpecNotification_FieldPathArrayOfValues

func MustParseAlertingPolicySpecNotification_FieldPathArrayOfValues(pathStr, valuesStr string) AlertingPolicySpecNotification_FieldPathArrayOfValues

func ParseAlertingPolicySpecNotification_FieldPathArrayOfValues

func ParseAlertingPolicySpecNotification_FieldPathArrayOfValues(pathStr, valuesStr string) (AlertingPolicySpecNotification_FieldPathArrayOfValues, error)

type AlertingPolicySpecNotification_FieldPathSelector

type AlertingPolicySpecNotification_FieldPathSelector int32
const (
	AlertingPolicySpecNotification_FieldPathSelectorEnabled  AlertingPolicySpecNotification_FieldPathSelector = 0
	AlertingPolicySpecNotification_FieldPathSelectorChannels AlertingPolicySpecNotification_FieldPathSelector = 1
)

func (AlertingPolicySpecNotification_FieldPathSelector) String

type AlertingPolicySpecNotification_FieldPathValue

type AlertingPolicySpecNotification_FieldPathValue interface {
	AlertingPolicySpecNotification_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AlertingPolicy_Spec_Notification)
	CompareWith(*AlertingPolicy_Spec_Notification) (cmp int, comparable bool)
}

AlertingPolicySpecNotification_FieldPathValue allows storing values for Notification fields according to their type

func MustParseAlertingPolicySpecNotification_FieldPathValue

func MustParseAlertingPolicySpecNotification_FieldPathValue(pathStr, valueStr string) AlertingPolicySpecNotification_FieldPathValue

func ParseAlertingPolicySpecNotification_FieldPathValue

func ParseAlertingPolicySpecNotification_FieldPathValue(pathStr, valueStr string) (AlertingPolicySpecNotification_FieldPathValue, error)

type AlertingPolicySpecNotification_FieldTerminalPath

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

func (*AlertingPolicySpecNotification_FieldTerminalPath) ClearValue

func (*AlertingPolicySpecNotification_FieldTerminalPath) ClearValueRaw

func (*AlertingPolicySpecNotification_FieldTerminalPath) Get

Get returns all values pointed by specific field from source AlertingPolicy_Spec_Notification

func (*AlertingPolicySpecNotification_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicySpecNotification_FieldTerminalPath) GetRaw

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

func (*AlertingPolicySpecNotification_FieldTerminalPath) GetSingle

GetSingle returns value pointed by specific field of from source AlertingPolicy_Spec_Notification

func (*AlertingPolicySpecNotification_FieldTerminalPath) GetSingleRaw

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

func (*AlertingPolicySpecNotification_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*AlertingPolicySpecNotification_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*AlertingPolicySpecNotification_FieldTerminalPath) Selector

func (*AlertingPolicySpecNotification_FieldTerminalPath) SplitIntoTerminalIPaths

func (*AlertingPolicySpecNotification_FieldTerminalPath) String

String returns path representation in proto convention

func (*AlertingPolicySpecNotification_FieldTerminalPath) WithIArrayItemValue

func (*AlertingPolicySpecNotification_FieldTerminalPath) WithIArrayOfValues

func (*AlertingPolicySpecNotification_FieldTerminalPath) WithIValue

func (*AlertingPolicySpecNotification_FieldTerminalPath) WithRawIArrayItemValue

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

func (*AlertingPolicySpecNotification_FieldTerminalPath) WithRawIArrayOfValues

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

func (*AlertingPolicySpecNotification_FieldTerminalPath) WithRawIValue

type AlertingPolicySpecNotification_FieldTerminalPathArrayItemValue

type AlertingPolicySpecNotification_FieldTerminalPathArrayItemValue struct {
	AlertingPolicySpecNotification_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotification_FieldTerminalPathArrayItemValue) AsChannelsItemValue

func (*AlertingPolicySpecNotification_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*AlertingPolicySpecNotification_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*AlertingPolicySpecNotification_FieldTerminalPathArrayItemValue) GetSingle

func (*AlertingPolicySpecNotification_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type AlertingPolicySpecNotification_FieldTerminalPathArrayOfValues

type AlertingPolicySpecNotification_FieldTerminalPathArrayOfValues struct {
	AlertingPolicySpecNotification_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotification_FieldTerminalPathArrayOfValues) AsChannelsArrayOfValues

func (*AlertingPolicySpecNotification_FieldTerminalPathArrayOfValues) AsEnabledArrayOfValues

func (fpaov *AlertingPolicySpecNotification_FieldTerminalPathArrayOfValues) AsEnabledArrayOfValues() ([]bool, bool)

func (*AlertingPolicySpecNotification_FieldTerminalPathArrayOfValues) GetRawValues

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

type AlertingPolicySpecNotification_FieldTerminalPathValue

type AlertingPolicySpecNotification_FieldTerminalPathValue struct {
	AlertingPolicySpecNotification_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpecNotification_FieldTerminalPathValue) AsChannelsValue

func (*AlertingPolicySpecNotification_FieldTerminalPathValue) AsEnabledValue

func (*AlertingPolicySpecNotification_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'AlertingPolicySpecNotification_FieldTerminalPathValue' with the value under path in 'AlertingPolicy_Spec_Notification'.

func (*AlertingPolicySpecNotification_FieldTerminalPathValue) CompareWithRaw

func (*AlertingPolicySpecNotification_FieldTerminalPathValue) GetRawValue

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

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

func (*AlertingPolicySpecNotification_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object Notification

func (*AlertingPolicySpecNotification_FieldTerminalPathValue) SetToRaw

type AlertingPolicySpec_FieldPath

type AlertingPolicySpec_FieldPath interface {
	gotenobject.FieldPath
	Selector() AlertingPolicySpec_FieldPathSelector
	Get(source *AlertingPolicy_Spec) []interface{}
	GetSingle(source *AlertingPolicy_Spec) (interface{}, bool)
	ClearValue(item *AlertingPolicy_Spec)

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

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

func MustParseAlertingPolicySpec_FieldPath

func MustParseAlertingPolicySpec_FieldPath(rawField string) AlertingPolicySpec_FieldPath

func ParseAlertingPolicySpec_FieldPath

func ParseAlertingPolicySpec_FieldPath(rawField string) (AlertingPolicySpec_FieldPath, error)

type AlertingPolicySpec_FieldPathArrayItemValue

type AlertingPolicySpec_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AlertingPolicySpec_FieldPath
	ContainsValue(*AlertingPolicy_Spec) bool
}

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

func MustParseAlertingPolicySpec_FieldPathArrayItemValue

func MustParseAlertingPolicySpec_FieldPathArrayItemValue(pathStr, valueStr string) AlertingPolicySpec_FieldPathArrayItemValue

func ParseAlertingPolicySpec_FieldPathArrayItemValue

func ParseAlertingPolicySpec_FieldPathArrayItemValue(pathStr, valueStr string) (AlertingPolicySpec_FieldPathArrayItemValue, error)

ParseAlertingPolicySpec_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AlertingPolicySpec_FieldPathArrayOfValues

type AlertingPolicySpec_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AlertingPolicySpec_FieldPath
}

AlertingPolicySpec_FieldPathArrayOfValues allows storing slice of values for Spec fields according to their type

func MustParseAlertingPolicySpec_FieldPathArrayOfValues

func MustParseAlertingPolicySpec_FieldPathArrayOfValues(pathStr, valuesStr string) AlertingPolicySpec_FieldPathArrayOfValues

func ParseAlertingPolicySpec_FieldPathArrayOfValues

func ParseAlertingPolicySpec_FieldPathArrayOfValues(pathStr, valuesStr string) (AlertingPolicySpec_FieldPathArrayOfValues, error)

type AlertingPolicySpec_FieldPathSelector

type AlertingPolicySpec_FieldPathSelector int32
const (
	AlertingPolicySpec_FieldPathSelectorEnabled           AlertingPolicySpec_FieldPathSelector = 0
	AlertingPolicySpec_FieldPathSelectorConditionCombiner AlertingPolicySpec_FieldPathSelector = 1
	AlertingPolicySpec_FieldPathSelectorNotification      AlertingPolicySpec_FieldPathSelector = 2
)

func (AlertingPolicySpec_FieldPathSelector) String

type AlertingPolicySpec_FieldPathValue

type AlertingPolicySpec_FieldPathValue interface {
	AlertingPolicySpec_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AlertingPolicy_Spec)
	CompareWith(*AlertingPolicy_Spec) (cmp int, comparable bool)
}

AlertingPolicySpec_FieldPathValue allows storing values for Spec fields according to their type

func MustParseAlertingPolicySpec_FieldPathValue

func MustParseAlertingPolicySpec_FieldPathValue(pathStr, valueStr string) AlertingPolicySpec_FieldPathValue

func ParseAlertingPolicySpec_FieldPathValue

func ParseAlertingPolicySpec_FieldPathValue(pathStr, valueStr string) (AlertingPolicySpec_FieldPathValue, error)

type AlertingPolicySpec_FieldSubPath

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

func (*AlertingPolicySpec_FieldSubPath) AsNotificationSubPath

func (*AlertingPolicySpec_FieldSubPath) ClearValue

func (*AlertingPolicySpec_FieldSubPath) ClearValueRaw

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

func (*AlertingPolicySpec_FieldSubPath) Get

func (fps *AlertingPolicySpec_FieldSubPath) Get(source *AlertingPolicy_Spec) (values []interface{})

Get returns all values pointed by selected field from source AlertingPolicy_Spec

func (*AlertingPolicySpec_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicySpec_FieldSubPath) GetRaw

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

func (*AlertingPolicySpec_FieldSubPath) GetSingle

func (fps *AlertingPolicySpec_FieldSubPath) GetSingle(source *AlertingPolicy_Spec) (interface{}, bool)

GetSingle returns value of selected field from source AlertingPolicy_Spec

func (*AlertingPolicySpec_FieldSubPath) GetSingleRaw

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

func (*AlertingPolicySpec_FieldSubPath) IsLeaf

func (fps *AlertingPolicySpec_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*AlertingPolicySpec_FieldSubPath) JSONString

func (fps *AlertingPolicySpec_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*AlertingPolicySpec_FieldSubPath) Selector

func (*AlertingPolicySpec_FieldSubPath) SplitIntoTerminalIPaths

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

func (*AlertingPolicySpec_FieldSubPath) String

String returns path representation in proto convention

func (*AlertingPolicySpec_FieldSubPath) WithIArrayItemValue

func (fps *AlertingPolicySpec_FieldSubPath) WithIArrayItemValue(value interface{}) AlertingPolicySpec_FieldPathArrayItemValue

func (*AlertingPolicySpec_FieldSubPath) WithIArrayOfValues

func (fps *AlertingPolicySpec_FieldSubPath) WithIArrayOfValues(values interface{}) AlertingPolicySpec_FieldPathArrayOfValues

func (*AlertingPolicySpec_FieldSubPath) WithIValue

func (fps *AlertingPolicySpec_FieldSubPath) WithIValue(value interface{}) AlertingPolicySpec_FieldPathValue

func (*AlertingPolicySpec_FieldSubPath) WithRawIArrayItemValue

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

func (*AlertingPolicySpec_FieldSubPath) WithRawIArrayOfValues

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

func (*AlertingPolicySpec_FieldSubPath) WithRawIValue

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

type AlertingPolicySpec_FieldSubPathArrayItemValue

type AlertingPolicySpec_FieldSubPathArrayItemValue struct {
	AlertingPolicySpec_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpec_FieldSubPathArrayItemValue) AsNotificationPathItemValue

func (*AlertingPolicySpec_FieldSubPathArrayItemValue) ContainsValue

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

func (*AlertingPolicySpec_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type AlertingPolicySpec_FieldSubPathArrayOfValues

type AlertingPolicySpec_FieldSubPathArrayOfValues struct {
	AlertingPolicySpec_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpec_FieldSubPathArrayOfValues) AsNotificationPathArrayOfValues

func (*AlertingPolicySpec_FieldSubPathArrayOfValues) GetRawValues

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

type AlertingPolicySpec_FieldSubPathValue

type AlertingPolicySpec_FieldSubPathValue struct {
	AlertingPolicySpec_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpec_FieldSubPathValue) AsNotificationPathValue

func (*AlertingPolicySpec_FieldSubPathValue) CompareWith

func (fpvs *AlertingPolicySpec_FieldSubPathValue) CompareWith(source *AlertingPolicy_Spec) (int, bool)

func (*AlertingPolicySpec_FieldSubPathValue) CompareWithRaw

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

func (*AlertingPolicySpec_FieldSubPathValue) GetRawValue

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

func (*AlertingPolicySpec_FieldSubPathValue) SetTo

func (*AlertingPolicySpec_FieldSubPathValue) SetToRaw

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

type AlertingPolicySpec_FieldTerminalPath

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

func (*AlertingPolicySpec_FieldTerminalPath) ClearValue

func (*AlertingPolicySpec_FieldTerminalPath) ClearValueRaw

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

func (*AlertingPolicySpec_FieldTerminalPath) Get

func (fp *AlertingPolicySpec_FieldTerminalPath) Get(source *AlertingPolicy_Spec) (values []interface{})

Get returns all values pointed by specific field from source AlertingPolicy_Spec

func (*AlertingPolicySpec_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicySpec_FieldTerminalPath) GetRaw

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

func (*AlertingPolicySpec_FieldTerminalPath) GetSingle

func (fp *AlertingPolicySpec_FieldTerminalPath) GetSingle(source *AlertingPolicy_Spec) (interface{}, bool)

GetSingle returns value pointed by specific field of from source AlertingPolicy_Spec

func (*AlertingPolicySpec_FieldTerminalPath) GetSingleRaw

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

func (*AlertingPolicySpec_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*AlertingPolicySpec_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*AlertingPolicySpec_FieldTerminalPath) Selector

func (*AlertingPolicySpec_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*AlertingPolicySpec_FieldTerminalPath) String

String returns path representation in proto convention

func (*AlertingPolicySpec_FieldTerminalPath) WithIArrayItemValue

func (fp *AlertingPolicySpec_FieldTerminalPath) WithIArrayItemValue(value interface{}) AlertingPolicySpec_FieldPathArrayItemValue

func (*AlertingPolicySpec_FieldTerminalPath) WithIArrayOfValues

func (fp *AlertingPolicySpec_FieldTerminalPath) WithIArrayOfValues(values interface{}) AlertingPolicySpec_FieldPathArrayOfValues

func (*AlertingPolicySpec_FieldTerminalPath) WithIValue

func (*AlertingPolicySpec_FieldTerminalPath) WithRawIArrayItemValue

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

func (*AlertingPolicySpec_FieldTerminalPath) WithRawIArrayOfValues

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

func (*AlertingPolicySpec_FieldTerminalPath) WithRawIValue

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

type AlertingPolicySpec_FieldTerminalPathArrayItemValue

type AlertingPolicySpec_FieldTerminalPathArrayItemValue struct {
	AlertingPolicySpec_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpec_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*AlertingPolicySpec_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*AlertingPolicySpec_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *AlertingPolicySpec_FieldTerminalPathArrayItemValue) GetSingle(source *AlertingPolicy_Spec) (interface{}, bool)

func (*AlertingPolicySpec_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type AlertingPolicySpec_FieldTerminalPathArrayOfValues

type AlertingPolicySpec_FieldTerminalPathArrayOfValues struct {
	AlertingPolicySpec_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpec_FieldTerminalPathArrayOfValues) AsConditionCombinerArrayOfValues

func (*AlertingPolicySpec_FieldTerminalPathArrayOfValues) AsEnabledArrayOfValues

func (fpaov *AlertingPolicySpec_FieldTerminalPathArrayOfValues) AsEnabledArrayOfValues() ([]bool, bool)

func (*AlertingPolicySpec_FieldTerminalPathArrayOfValues) AsNotificationArrayOfValues

func (*AlertingPolicySpec_FieldTerminalPathArrayOfValues) GetRawValues

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

type AlertingPolicySpec_FieldTerminalPathValue

type AlertingPolicySpec_FieldTerminalPathValue struct {
	AlertingPolicySpec_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicySpec_FieldTerminalPathValue) AsConditionCombinerValue

func (*AlertingPolicySpec_FieldTerminalPathValue) AsEnabledValue

func (fpv *AlertingPolicySpec_FieldTerminalPathValue) AsEnabledValue() (bool, bool)

func (*AlertingPolicySpec_FieldTerminalPathValue) AsNotificationValue

func (*AlertingPolicySpec_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'AlertingPolicySpec_FieldTerminalPathValue' with the value under path in 'AlertingPolicy_Spec'.

func (*AlertingPolicySpec_FieldTerminalPathValue) CompareWithRaw

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

func (*AlertingPolicySpec_FieldTerminalPathValue) GetRawValue

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

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

func (*AlertingPolicySpec_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object Spec

func (*AlertingPolicySpec_FieldTerminalPathValue) SetToRaw

type AlertingPolicyStateFieldPathBuilder

type AlertingPolicyStateFieldPathBuilder struct{}

func NewAlertingPolicyStateFieldPathBuilder

func NewAlertingPolicyStateFieldPathBuilder() AlertingPolicyStateFieldPathBuilder

func (AlertingPolicyStateFieldPathBuilder) ActiveAlertsCount

type AlertingPolicyState_FieldPath

type AlertingPolicyState_FieldPath interface {
	gotenobject.FieldPath
	Selector() AlertingPolicyState_FieldPathSelector
	Get(source *AlertingPolicy_State) []interface{}
	GetSingle(source *AlertingPolicy_State) (interface{}, bool)
	ClearValue(item *AlertingPolicy_State)

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

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

func MustParseAlertingPolicyState_FieldPath

func MustParseAlertingPolicyState_FieldPath(rawField string) AlertingPolicyState_FieldPath

func ParseAlertingPolicyState_FieldPath

func ParseAlertingPolicyState_FieldPath(rawField string) (AlertingPolicyState_FieldPath, error)

type AlertingPolicyState_FieldPathArrayItemValue

type AlertingPolicyState_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AlertingPolicyState_FieldPath
	ContainsValue(*AlertingPolicy_State) bool
}

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

func MustParseAlertingPolicyState_FieldPathArrayItemValue

func MustParseAlertingPolicyState_FieldPathArrayItemValue(pathStr, valueStr string) AlertingPolicyState_FieldPathArrayItemValue

func ParseAlertingPolicyState_FieldPathArrayItemValue

func ParseAlertingPolicyState_FieldPathArrayItemValue(pathStr, valueStr string) (AlertingPolicyState_FieldPathArrayItemValue, error)

ParseAlertingPolicyState_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AlertingPolicyState_FieldPathArrayOfValues

type AlertingPolicyState_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AlertingPolicyState_FieldPath
}

AlertingPolicyState_FieldPathArrayOfValues allows storing slice of values for State fields according to their type

func MustParseAlertingPolicyState_FieldPathArrayOfValues

func MustParseAlertingPolicyState_FieldPathArrayOfValues(pathStr, valuesStr string) AlertingPolicyState_FieldPathArrayOfValues

func ParseAlertingPolicyState_FieldPathArrayOfValues

func ParseAlertingPolicyState_FieldPathArrayOfValues(pathStr, valuesStr string) (AlertingPolicyState_FieldPathArrayOfValues, error)

type AlertingPolicyState_FieldPathSelector

type AlertingPolicyState_FieldPathSelector int32
const (
	AlertingPolicyState_FieldPathSelectorActiveAlertsCount AlertingPolicyState_FieldPathSelector = 0
)

func (AlertingPolicyState_FieldPathSelector) String

type AlertingPolicyState_FieldPathValue

type AlertingPolicyState_FieldPathValue interface {
	AlertingPolicyState_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AlertingPolicy_State)
	CompareWith(*AlertingPolicy_State) (cmp int, comparable bool)
}

AlertingPolicyState_FieldPathValue allows storing values for State fields according to their type

func MustParseAlertingPolicyState_FieldPathValue

func MustParseAlertingPolicyState_FieldPathValue(pathStr, valueStr string) AlertingPolicyState_FieldPathValue

func ParseAlertingPolicyState_FieldPathValue

func ParseAlertingPolicyState_FieldPathValue(pathStr, valueStr string) (AlertingPolicyState_FieldPathValue, error)

type AlertingPolicyState_FieldTerminalPath

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

func (*AlertingPolicyState_FieldTerminalPath) ClearValue

func (*AlertingPolicyState_FieldTerminalPath) ClearValueRaw

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

func (*AlertingPolicyState_FieldTerminalPath) Get

func (fp *AlertingPolicyState_FieldTerminalPath) Get(source *AlertingPolicy_State) (values []interface{})

Get returns all values pointed by specific field from source AlertingPolicy_State

func (*AlertingPolicyState_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicyState_FieldTerminalPath) GetRaw

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

func (*AlertingPolicyState_FieldTerminalPath) GetSingle

func (fp *AlertingPolicyState_FieldTerminalPath) GetSingle(source *AlertingPolicy_State) (interface{}, bool)

GetSingle returns value pointed by specific field of from source AlertingPolicy_State

func (*AlertingPolicyState_FieldTerminalPath) GetSingleRaw

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

func (*AlertingPolicyState_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*AlertingPolicyState_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*AlertingPolicyState_FieldTerminalPath) Selector

func (*AlertingPolicyState_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*AlertingPolicyState_FieldTerminalPath) String

String returns path representation in proto convention

func (*AlertingPolicyState_FieldTerminalPath) WithIArrayItemValue

func (*AlertingPolicyState_FieldTerminalPath) WithIArrayOfValues

func (fp *AlertingPolicyState_FieldTerminalPath) WithIArrayOfValues(values interface{}) AlertingPolicyState_FieldPathArrayOfValues

func (*AlertingPolicyState_FieldTerminalPath) WithIValue

func (*AlertingPolicyState_FieldTerminalPath) WithRawIArrayItemValue

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

func (*AlertingPolicyState_FieldTerminalPath) WithRawIArrayOfValues

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

func (*AlertingPolicyState_FieldTerminalPath) WithRawIValue

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

type AlertingPolicyState_FieldTerminalPathArrayItemValue

type AlertingPolicyState_FieldTerminalPathArrayItemValue struct {
	AlertingPolicyState_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicyState_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*AlertingPolicyState_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*AlertingPolicyState_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *AlertingPolicyState_FieldTerminalPathArrayItemValue) GetSingle(source *AlertingPolicy_State) (interface{}, bool)

func (*AlertingPolicyState_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type AlertingPolicyState_FieldTerminalPathArrayOfValues

type AlertingPolicyState_FieldTerminalPathArrayOfValues struct {
	AlertingPolicyState_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicyState_FieldTerminalPathArrayOfValues) AsActiveAlertsCountArrayOfValues

func (fpaov *AlertingPolicyState_FieldTerminalPathArrayOfValues) AsActiveAlertsCountArrayOfValues() ([]int64, bool)

func (*AlertingPolicyState_FieldTerminalPathArrayOfValues) GetRawValues

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

type AlertingPolicyState_FieldTerminalPathValue

type AlertingPolicyState_FieldTerminalPathValue struct {
	AlertingPolicyState_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicyState_FieldTerminalPathValue) AsActiveAlertsCountValue

func (fpv *AlertingPolicyState_FieldTerminalPathValue) AsActiveAlertsCountValue() (int64, bool)

func (*AlertingPolicyState_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'AlertingPolicyState_FieldTerminalPathValue' with the value under path in 'AlertingPolicy_State'.

func (*AlertingPolicyState_FieldTerminalPathValue) CompareWithRaw

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

func (*AlertingPolicyState_FieldTerminalPathValue) GetRawValue

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

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

func (*AlertingPolicyState_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object State

func (*AlertingPolicyState_FieldTerminalPathValue) SetToRaw

type AlertingPolicy_Documentation

type AlertingPolicy_Documentation struct {

	// Documentation content
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty" firestore:"content"`
	// documentation mime type. Only `"text/markdown"` is supported.
	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty" firestore:"mimeType"`
	// contains filtered or unexported fields
}

Documentation

func (*AlertingPolicy_Documentation) Clone

func (*AlertingPolicy_Documentation) CloneRaw

func (*AlertingPolicy_Documentation) Descriptor

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

Deprecated, Use AlertingPolicy_Documentation.ProtoReflect.Descriptor instead.

func (*AlertingPolicy_Documentation) GetContent

func (m *AlertingPolicy_Documentation) GetContent() string

func (*AlertingPolicy_Documentation) GetMimeType

func (m *AlertingPolicy_Documentation) GetMimeType() string

func (*AlertingPolicy_Documentation) GotenMessage

func (*AlertingPolicy_Documentation) GotenMessage()

func (*AlertingPolicy_Documentation) GotenObjectExt

func (o *AlertingPolicy_Documentation) GotenObjectExt()

func (*AlertingPolicy_Documentation) GotenValidate

func (obj *AlertingPolicy_Documentation) GotenValidate() error

func (*AlertingPolicy_Documentation) MakeDiffFieldMask

func (*AlertingPolicy_Documentation) MakeFullFieldMask

func (*AlertingPolicy_Documentation) MakeRawDiffFieldMask

func (*AlertingPolicy_Documentation) MakeRawFullFieldMask

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

func (*AlertingPolicy_Documentation) Marshal

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

func (*AlertingPolicy_Documentation) MarshalJSON

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

func (*AlertingPolicy_Documentation) Merge

func (*AlertingPolicy_Documentation) MergeRaw

func (*AlertingPolicy_Documentation) ProtoMessage

func (*AlertingPolicy_Documentation) ProtoMessage()

func (*AlertingPolicy_Documentation) ProtoReflect

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

func (*AlertingPolicy_Documentation) Reset

func (m *AlertingPolicy_Documentation) Reset()

func (*AlertingPolicy_Documentation) SetContent

func (m *AlertingPolicy_Documentation) SetContent(fv string)

func (*AlertingPolicy_Documentation) SetMimeType

func (m *AlertingPolicy_Documentation) SetMimeType(fv string)

func (*AlertingPolicy_Documentation) String

func (*AlertingPolicy_Documentation) Unmarshal

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

func (*AlertingPolicy_Documentation) UnmarshalJSON

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

type AlertingPolicy_DocumentationPathSelectorContent

type AlertingPolicy_DocumentationPathSelectorContent struct{}

func (AlertingPolicy_DocumentationPathSelectorContent) FieldPath

func (AlertingPolicy_DocumentationPathSelectorContent) WithArrayOfValues

func (AlertingPolicy_DocumentationPathSelectorContent) WithValue

type AlertingPolicy_DocumentationPathSelectorMimeType

type AlertingPolicy_DocumentationPathSelectorMimeType struct{}

func (AlertingPolicy_DocumentationPathSelectorMimeType) FieldPath

func (AlertingPolicy_DocumentationPathSelectorMimeType) WithArrayOfValues

func (AlertingPolicy_DocumentationPathSelectorMimeType) WithValue

type AlertingPolicy_Documentation_FieldMask

type AlertingPolicy_Documentation_FieldMask struct {
	Paths []AlertingPolicyDocumentation_FieldPath
}

func FullAlertingPolicy_Documentation_FieldMask

func FullAlertingPolicy_Documentation_FieldMask() *AlertingPolicy_Documentation_FieldMask

func (*AlertingPolicy_Documentation_FieldMask) AppendPath

func (*AlertingPolicy_Documentation_FieldMask) AppendRawPath

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

func (*AlertingPolicy_Documentation_FieldMask) DecodeFirestore

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

func (*AlertingPolicy_Documentation_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*AlertingPolicy_Documentation_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AlertingPolicy_Documentation_FieldMask) FromProtoFieldMask

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

func (*AlertingPolicy_Documentation_FieldMask) GetPaths

func (*AlertingPolicy_Documentation_FieldMask) GetRawPaths

func (*AlertingPolicy_Documentation_FieldMask) IsFull

func (fieldMask *AlertingPolicy_Documentation_FieldMask) IsFull() bool

func (AlertingPolicy_Documentation_FieldMask) Marshal

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

implement methods required by customType

func (AlertingPolicy_Documentation_FieldMask) MarshalJSON

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

func (*AlertingPolicy_Documentation_FieldMask) PathsCount

func (fieldMask *AlertingPolicy_Documentation_FieldMask) PathsCount() int

func (*AlertingPolicy_Documentation_FieldMask) Project

func (*AlertingPolicy_Documentation_FieldMask) ProjectRaw

func (*AlertingPolicy_Documentation_FieldMask) ProtoMessage

func (fieldMask *AlertingPolicy_Documentation_FieldMask) ProtoMessage()

func (*AlertingPolicy_Documentation_FieldMask) ProtoReflect

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

func (*AlertingPolicy_Documentation_FieldMask) Reset

func (fieldMask *AlertingPolicy_Documentation_FieldMask) Reset()

func (*AlertingPolicy_Documentation_FieldMask) Set

func (*AlertingPolicy_Documentation_FieldMask) SetFromCliFlag

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

func (*AlertingPolicy_Documentation_FieldMask) SetRaw

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

func (*AlertingPolicy_Documentation_FieldMask) Size

func (fieldMask *AlertingPolicy_Documentation_FieldMask) Size() int

func (*AlertingPolicy_Documentation_FieldMask) String

func (fieldMask *AlertingPolicy_Documentation_FieldMask) String() string

func (*AlertingPolicy_Documentation_FieldMask) Subtract

func (*AlertingPolicy_Documentation_FieldMask) SubtractRaw

func (*AlertingPolicy_Documentation_FieldMask) ToProtoFieldMask

ToFieldMask is used for proto conversions

func (*AlertingPolicy_Documentation_FieldMask) Unmarshal

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

func (*AlertingPolicy_Documentation_FieldMask) UnmarshalJSON

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

type AlertingPolicy_FieldMask

type AlertingPolicy_FieldMask struct {
	Paths []AlertingPolicy_FieldPath
}

func FullAlertingPolicy_FieldMask

func FullAlertingPolicy_FieldMask() *AlertingPolicy_FieldMask

func ResourceViewFieldMask

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

func (*AlertingPolicy_FieldMask) AppendPath

func (fieldMask *AlertingPolicy_FieldMask) AppendPath(path AlertingPolicy_FieldPath)

func (*AlertingPolicy_FieldMask) AppendRawPath

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

func (*AlertingPolicy_FieldMask) DecodeFirestore

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

func (*AlertingPolicy_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*AlertingPolicy_FieldMask) FilterInputFields

func (fieldMask *AlertingPolicy_FieldMask) FilterInputFields() *AlertingPolicy_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AlertingPolicy_FieldMask) FromProtoFieldMask

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

func (*AlertingPolicy_FieldMask) GetPaths

func (fieldMask *AlertingPolicy_FieldMask) GetPaths() []AlertingPolicy_FieldPath

func (*AlertingPolicy_FieldMask) GetRawPaths

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

func (*AlertingPolicy_FieldMask) IsFull

func (fieldMask *AlertingPolicy_FieldMask) IsFull() bool

func (AlertingPolicy_FieldMask) Marshal

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

implement methods required by customType

func (AlertingPolicy_FieldMask) MarshalJSON

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

func (*AlertingPolicy_FieldMask) PathsCount

func (fieldMask *AlertingPolicy_FieldMask) PathsCount() int

func (*AlertingPolicy_FieldMask) Project

func (fieldMask *AlertingPolicy_FieldMask) Project(source *AlertingPolicy) *AlertingPolicy

func (*AlertingPolicy_FieldMask) ProjectRaw

func (*AlertingPolicy_FieldMask) ProtoMessage

func (fieldMask *AlertingPolicy_FieldMask) ProtoMessage()

func (*AlertingPolicy_FieldMask) ProtoReflect

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

func (*AlertingPolicy_FieldMask) Reset

func (fieldMask *AlertingPolicy_FieldMask) Reset()

func (*AlertingPolicy_FieldMask) Set

func (fieldMask *AlertingPolicy_FieldMask) Set(target, source *AlertingPolicy)

func (*AlertingPolicy_FieldMask) SetFromCliFlag

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

func (*AlertingPolicy_FieldMask) SetRaw

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

func (*AlertingPolicy_FieldMask) Size

func (fieldMask *AlertingPolicy_FieldMask) Size() int

func (*AlertingPolicy_FieldMask) String

func (fieldMask *AlertingPolicy_FieldMask) String() string

func (*AlertingPolicy_FieldMask) Subtract

func (*AlertingPolicy_FieldMask) SubtractRaw

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

func (*AlertingPolicy_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*AlertingPolicy_FieldMask) Unmarshal

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

func (*AlertingPolicy_FieldMask) UnmarshalJSON

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

type AlertingPolicy_FieldPath

type AlertingPolicy_FieldPath interface {
	gotenobject.FieldPath
	Selector() AlertingPolicy_FieldPathSelector
	Get(source *AlertingPolicy) []interface{}
	GetSingle(source *AlertingPolicy) (interface{}, bool)
	ClearValue(item *AlertingPolicy)

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

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

func MustParseAlertingPolicy_FieldPath

func MustParseAlertingPolicy_FieldPath(rawField string) AlertingPolicy_FieldPath

func ParseAlertingPolicy_FieldPath

func ParseAlertingPolicy_FieldPath(rawField string) (AlertingPolicy_FieldPath, error)

type AlertingPolicy_FieldPathArrayItemValue

type AlertingPolicy_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AlertingPolicy_FieldPath
	ContainsValue(*AlertingPolicy) bool
}

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

func MustParseAlertingPolicy_FieldPathArrayItemValue

func MustParseAlertingPolicy_FieldPathArrayItemValue(pathStr, valueStr string) AlertingPolicy_FieldPathArrayItemValue

func ParseAlertingPolicy_FieldPathArrayItemValue

func ParseAlertingPolicy_FieldPathArrayItemValue(pathStr, valueStr string) (AlertingPolicy_FieldPathArrayItemValue, error)

ParseAlertingPolicy_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AlertingPolicy_FieldPathArrayOfValues

type AlertingPolicy_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AlertingPolicy_FieldPath
}

AlertingPolicy_FieldPathArrayOfValues allows storing slice of values for AlertingPolicy fields according to their type

func MustParseAlertingPolicy_FieldPathArrayOfValues

func MustParseAlertingPolicy_FieldPathArrayOfValues(pathStr, valuesStr string) AlertingPolicy_FieldPathArrayOfValues

func ParseAlertingPolicy_FieldPathArrayOfValues

func ParseAlertingPolicy_FieldPathArrayOfValues(pathStr, valuesStr string) (AlertingPolicy_FieldPathArrayOfValues, error)

type AlertingPolicy_FieldPathSelector

type AlertingPolicy_FieldPathSelector int32
const (
	AlertingPolicy_FieldPathSelectorName          AlertingPolicy_FieldPathSelector = 0
	AlertingPolicy_FieldPathSelectorMetadata      AlertingPolicy_FieldPathSelector = 1
	AlertingPolicy_FieldPathSelectorDisplayName   AlertingPolicy_FieldPathSelector = 2
	AlertingPolicy_FieldPathSelectorDescription   AlertingPolicy_FieldPathSelector = 3
	AlertingPolicy_FieldPathSelectorDocumentation AlertingPolicy_FieldPathSelector = 4
	AlertingPolicy_FieldPathSelectorSpec          AlertingPolicy_FieldPathSelector = 5
	AlertingPolicy_FieldPathSelectorState         AlertingPolicy_FieldPathSelector = 6
)

func (AlertingPolicy_FieldPathSelector) String

type AlertingPolicy_FieldPathValue

type AlertingPolicy_FieldPathValue interface {
	AlertingPolicy_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AlertingPolicy)
	CompareWith(*AlertingPolicy) (cmp int, comparable bool)
}

AlertingPolicy_FieldPathValue allows storing values for AlertingPolicy fields according to their type

func MustParseAlertingPolicy_FieldPathValue

func MustParseAlertingPolicy_FieldPathValue(pathStr, valueStr string) AlertingPolicy_FieldPathValue

func ParseAlertingPolicy_FieldPathValue

func ParseAlertingPolicy_FieldPathValue(pathStr, valueStr string) (AlertingPolicy_FieldPathValue, error)

type AlertingPolicy_FieldSubPath

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

func (*AlertingPolicy_FieldSubPath) AsDocumentationSubPath

func (*AlertingPolicy_FieldSubPath) AsMetadataSubPath

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

func (*AlertingPolicy_FieldSubPath) AsSpecSubPath

func (*AlertingPolicy_FieldSubPath) AsStateSubPath

func (*AlertingPolicy_FieldSubPath) ClearValue

func (fps *AlertingPolicy_FieldSubPath) ClearValue(item *AlertingPolicy)

func (*AlertingPolicy_FieldSubPath) ClearValueRaw

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

func (*AlertingPolicy_FieldSubPath) Get

func (fps *AlertingPolicy_FieldSubPath) Get(source *AlertingPolicy) (values []interface{})

Get returns all values pointed by selected field from source AlertingPolicy

func (*AlertingPolicy_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicy_FieldSubPath) GetRaw

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

func (*AlertingPolicy_FieldSubPath) GetSingle

func (fps *AlertingPolicy_FieldSubPath) GetSingle(source *AlertingPolicy) (interface{}, bool)

GetSingle returns value of selected field from source AlertingPolicy

func (*AlertingPolicy_FieldSubPath) GetSingleRaw

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

func (*AlertingPolicy_FieldSubPath) IsLeaf

func (fps *AlertingPolicy_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*AlertingPolicy_FieldSubPath) JSONString

func (fps *AlertingPolicy_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*AlertingPolicy_FieldSubPath) Selector

func (*AlertingPolicy_FieldSubPath) SplitIntoTerminalIPaths

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

func (*AlertingPolicy_FieldSubPath) String

func (fps *AlertingPolicy_FieldSubPath) String() string

String returns path representation in proto convention

func (*AlertingPolicy_FieldSubPath) WithIArrayItemValue

func (fps *AlertingPolicy_FieldSubPath) WithIArrayItemValue(value interface{}) AlertingPolicy_FieldPathArrayItemValue

func (*AlertingPolicy_FieldSubPath) WithIArrayOfValues

func (fps *AlertingPolicy_FieldSubPath) WithIArrayOfValues(values interface{}) AlertingPolicy_FieldPathArrayOfValues

func (*AlertingPolicy_FieldSubPath) WithIValue

func (fps *AlertingPolicy_FieldSubPath) WithIValue(value interface{}) AlertingPolicy_FieldPathValue

func (*AlertingPolicy_FieldSubPath) WithRawIArrayItemValue

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

func (*AlertingPolicy_FieldSubPath) WithRawIArrayOfValues

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

func (*AlertingPolicy_FieldSubPath) WithRawIValue

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

type AlertingPolicy_FieldSubPathArrayItemValue

type AlertingPolicy_FieldSubPathArrayItemValue struct {
	AlertingPolicy_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicy_FieldSubPathArrayItemValue) AsDocumentationPathItemValue

func (*AlertingPolicy_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (*AlertingPolicy_FieldSubPathArrayItemValue) AsSpecPathItemValue

func (*AlertingPolicy_FieldSubPathArrayItemValue) AsStatePathItemValue

func (*AlertingPolicy_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *AlertingPolicy_FieldSubPathArrayItemValue) ContainsValue(source *AlertingPolicy) bool

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

func (*AlertingPolicy_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type AlertingPolicy_FieldSubPathArrayOfValues

type AlertingPolicy_FieldSubPathArrayOfValues struct {
	AlertingPolicy_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicy_FieldSubPathArrayOfValues) AsDocumentationPathArrayOfValues

func (*AlertingPolicy_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

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

func (*AlertingPolicy_FieldSubPathArrayOfValues) AsSpecPathArrayOfValues

func (*AlertingPolicy_FieldSubPathArrayOfValues) AsStatePathArrayOfValues

func (*AlertingPolicy_FieldSubPathArrayOfValues) GetRawValues

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

type AlertingPolicy_FieldSubPathValue

type AlertingPolicy_FieldSubPathValue struct {
	AlertingPolicy_FieldPath
	// contains filtered or unexported fields
}

func (*AlertingPolicy_FieldSubPathValue) AsDocumentationPathValue

func (*AlertingPolicy_FieldSubPathValue) AsMetadataPathValue

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

func (*AlertingPolicy_FieldSubPathValue) AsSpecPathValue

func (*AlertingPolicy_FieldSubPathValue) AsStatePathValue

func (*AlertingPolicy_FieldSubPathValue) CompareWith

func (fpvs *AlertingPolicy_FieldSubPathValue) CompareWith(source *AlertingPolicy) (int, bool)

func (*AlertingPolicy_FieldSubPathValue) CompareWithRaw

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

func (*AlertingPolicy_FieldSubPathValue) GetRawValue

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

func (*AlertingPolicy_FieldSubPathValue) SetTo

func (fpvs *AlertingPolicy_FieldSubPathValue) SetTo(target **AlertingPolicy)

func (*AlertingPolicy_FieldSubPathValue) SetToRaw

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

type AlertingPolicy_FieldTerminalPath

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

func (*AlertingPolicy_FieldTerminalPath) ClearValue

func (fp *AlertingPolicy_FieldTerminalPath) ClearValue(item *AlertingPolicy)

func (*AlertingPolicy_FieldTerminalPath) ClearValueRaw

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

func (*AlertingPolicy_FieldTerminalPath) Get

func (fp *AlertingPolicy_FieldTerminalPath) Get(source *AlertingPolicy) (values []interface{})

Get returns all values pointed by specific field from source AlertingPolicy

func (*AlertingPolicy_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AlertingPolicy_FieldTerminalPath) GetRaw

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

func (*AlertingPolicy_FieldTerminalPath) GetSingle

func (fp *AlertingPolicy_FieldTerminalPath) GetSingle(source *AlertingPolicy) (interface{}, bool)

GetSingle returns value pointed by specific field of from source AlertingPolicy

func (*AlertingPolicy_FieldTerminalPath) GetSingleRaw

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

func (*AlertingPolicy_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*AlertingPolicy_FieldTerminalPath) JSONString

func (fp *AlertingPolicy_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*AlertingPolicy_FieldTerminalPath) Selector

func (*AlertingPolicy_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*AlertingPolicy_FieldTerminalPath) String

String returns path representation in proto convention

func (*AlertingPolicy_FieldTerminalPath) WithIArrayItemValue

func (fp *AlertingPolicy_FieldTerminalPath) WithIArrayItemValue(value interface{}) AlertingPolicy_FieldPathArrayItemValue

func (*AlertingPolicy_FieldTerminalPath) WithIArrayOfValues

func (fp *AlertingPolicy_FieldTerminalPath) WithIArrayOfValues(values interface{}) AlertingPolicy_FieldPathArrayOfValues

func (*AlertingPolicy_FieldTerminalPath) WithIValue

func (fp *AlertingPolicy_FieldTerminalPath) WithIValue(value interface{}) AlertingPolicy_FieldPathValue

func (*AlertingPolicy_FieldTerminalPath) WithRawIArrayItemValue

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

func (*AlertingPolicy_FieldTerminalPath) WithRawIArrayOfValues

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

func (*AlertingPolicy_FieldTerminalPath) WithRawIValue

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

type AlertingPolicy_FieldTerminalPathArrayItemValue

type AlertingPolicy_FieldTerminalPathArrayItemValue struct {
	AlertingPolicy_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicy_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*AlertingPolicy_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*AlertingPolicy_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *AlertingPolicy_FieldTerminalPathArrayItemValue) GetSingle(source *AlertingPolicy) (interface{}, bool)

func (*AlertingPolicy_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type AlertingPolicy_FieldTerminalPathArrayOfValues

type AlertingPolicy_FieldTerminalPathArrayOfValues struct {
	AlertingPolicy_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicy_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues

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

func (*AlertingPolicy_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

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

func (*AlertingPolicy_FieldTerminalPathArrayOfValues) AsDocumentationArrayOfValues

func (fpaov *AlertingPolicy_FieldTerminalPathArrayOfValues) AsDocumentationArrayOfValues() ([]*AlertingPolicy_Documentation, bool)

func (*AlertingPolicy_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*AlertingPolicy_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*AlertingPolicy_FieldTerminalPathArrayOfValues) AsSpecArrayOfValues

func (fpaov *AlertingPolicy_FieldTerminalPathArrayOfValues) AsSpecArrayOfValues() ([]*AlertingPolicy_Spec, bool)

func (*AlertingPolicy_FieldTerminalPathArrayOfValues) AsStateArrayOfValues

func (fpaov *AlertingPolicy_FieldTerminalPathArrayOfValues) AsStateArrayOfValues() ([]*AlertingPolicy_State, bool)

func (*AlertingPolicy_FieldTerminalPathArrayOfValues) GetRawValues

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

type AlertingPolicy_FieldTerminalPathValue

type AlertingPolicy_FieldTerminalPathValue struct {
	AlertingPolicy_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AlertingPolicy_FieldTerminalPathValue) AsDescriptionValue

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

func (*AlertingPolicy_FieldTerminalPathValue) AsDisplayNameValue

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

func (*AlertingPolicy_FieldTerminalPathValue) AsDocumentationValue

func (*AlertingPolicy_FieldTerminalPathValue) AsMetadataValue

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

func (*AlertingPolicy_FieldTerminalPathValue) AsNameValue

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

func (*AlertingPolicy_FieldTerminalPathValue) AsSpecValue

func (*AlertingPolicy_FieldTerminalPathValue) AsStateValue

func (*AlertingPolicy_FieldTerminalPathValue) CompareWith

func (fpv *AlertingPolicy_FieldTerminalPathValue) CompareWith(source *AlertingPolicy) (int, bool)

CompareWith compares value in the 'AlertingPolicy_FieldTerminalPathValue' with the value under path in 'AlertingPolicy'.

func (*AlertingPolicy_FieldTerminalPathValue) CompareWithRaw

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

func (*AlertingPolicy_FieldTerminalPathValue) GetRawValue

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

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

func (*AlertingPolicy_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object AlertingPolicy

func (*AlertingPolicy_FieldTerminalPathValue) SetToRaw

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

type AlertingPolicy_Spec

type AlertingPolicy_Spec struct {

	// Whether policy is enabled and will evaluate any conditions
	// Note: If any existing fired alerts are present,
	// they will not be resolved automatically
	// TODO: consider if they should?
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty" firestore:"enabled"`
	// Condition Combiner when deciding if ANY (OR) or ALL (AND) conditions for
	// given subset of resource labels must fire in order to trigger an alert
	// TODO: Add support to AND
	ConditionCombiner AlertingPolicy_Spec_ConditionsCombiner `` /* 205-byte string literal not displayed */
	// Notification specification
	Notification *AlertingPolicy_Spec_Notification `protobuf:"bytes,4,opt,name=notification,proto3" json:"notification,omitempty" firestore:"notification"`
	// contains filtered or unexported fields
}

func (*AlertingPolicy_Spec) Clone

func (*AlertingPolicy_Spec) CloneRaw

func (*AlertingPolicy_Spec) Descriptor

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

Deprecated, Use AlertingPolicy_Spec.ProtoReflect.Descriptor instead.

func (*AlertingPolicy_Spec) GetConditionCombiner

func (*AlertingPolicy_Spec) GetEnabled

func (m *AlertingPolicy_Spec) GetEnabled() bool

func (*AlertingPolicy_Spec) GetNotification

func (*AlertingPolicy_Spec) GotenMessage

func (*AlertingPolicy_Spec) GotenMessage()

func (*AlertingPolicy_Spec) GotenObjectExt

func (o *AlertingPolicy_Spec) GotenObjectExt()

func (*AlertingPolicy_Spec) GotenValidate

func (obj *AlertingPolicy_Spec) GotenValidate() error

func (*AlertingPolicy_Spec) MakeDiffFieldMask

func (*AlertingPolicy_Spec) MakeFullFieldMask

func (o *AlertingPolicy_Spec) MakeFullFieldMask() *AlertingPolicy_Spec_FieldMask

func (*AlertingPolicy_Spec) MakeRawDiffFieldMask

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

func (*AlertingPolicy_Spec) MakeRawFullFieldMask

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

func (*AlertingPolicy_Spec) Marshal

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

func (*AlertingPolicy_Spec) MarshalJSON

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

func (*AlertingPolicy_Spec) Merge

func (o *AlertingPolicy_Spec) Merge(source *AlertingPolicy_Spec)

func (*AlertingPolicy_Spec) MergeRaw

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

func (*AlertingPolicy_Spec) ProtoMessage

func (*AlertingPolicy_Spec) ProtoMessage()

func (*AlertingPolicy_Spec) ProtoReflect

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

func (*AlertingPolicy_Spec) Reset

func (m *AlertingPolicy_Spec) Reset()

func (*AlertingPolicy_Spec) SetConditionCombiner

func (m *AlertingPolicy_Spec) SetConditionCombiner(fv AlertingPolicy_Spec_ConditionsCombiner)

func (*AlertingPolicy_Spec) SetEnabled

func (m *AlertingPolicy_Spec) SetEnabled(fv bool)

func (*AlertingPolicy_Spec) SetNotification

func (m *AlertingPolicy_Spec) SetNotification(fv *AlertingPolicy_Spec_Notification)

func (*AlertingPolicy_Spec) String

func (m *AlertingPolicy_Spec) String() string

func (*AlertingPolicy_Spec) Unmarshal

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

func (*AlertingPolicy_Spec) UnmarshalJSON

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

type AlertingPolicy_SpecPathSelectorConditionCombiner

type AlertingPolicy_SpecPathSelectorConditionCombiner struct{}

func (AlertingPolicy_SpecPathSelectorConditionCombiner) FieldPath

type AlertingPolicy_SpecPathSelectorEnabled

type AlertingPolicy_SpecPathSelectorEnabled struct{}

func (AlertingPolicy_SpecPathSelectorEnabled) FieldPath

func (AlertingPolicy_SpecPathSelectorEnabled) WithArrayOfValues

func (AlertingPolicy_SpecPathSelectorEnabled) WithValue

type AlertingPolicy_SpecPathSelectorNotification

type AlertingPolicy_SpecPathSelectorNotification struct{}

func (AlertingPolicy_SpecPathSelectorNotification) Channels

func (AlertingPolicy_SpecPathSelectorNotification) Enabled

func (AlertingPolicy_SpecPathSelectorNotification) FieldPath

func (AlertingPolicy_SpecPathSelectorNotification) WithArrayOfValues

func (AlertingPolicy_SpecPathSelectorNotification) WithSubArrayItemValue

func (AlertingPolicy_SpecPathSelectorNotification) WithSubArrayOfValues

func (AlertingPolicy_SpecPathSelectorNotification) WithSubPath

func (AlertingPolicy_SpecPathSelectorNotification) WithSubValue

func (AlertingPolicy_SpecPathSelectorNotification) WithValue

type AlertingPolicy_SpecPathSelectorNotificationChannels

type AlertingPolicy_SpecPathSelectorNotificationChannels struct{}

func (AlertingPolicy_SpecPathSelectorNotificationChannels) FieldPath

func (AlertingPolicy_SpecPathSelectorNotificationChannels) WithArrayOfValues

func (AlertingPolicy_SpecPathSelectorNotificationChannels) WithItemValue

func (AlertingPolicy_SpecPathSelectorNotificationChannels) WithValue

type AlertingPolicy_SpecPathSelectorNotificationEnabled

type AlertingPolicy_SpecPathSelectorNotificationEnabled struct{}

func (AlertingPolicy_SpecPathSelectorNotificationEnabled) FieldPath

func (AlertingPolicy_SpecPathSelectorNotificationEnabled) WithArrayOfValues

func (AlertingPolicy_SpecPathSelectorNotificationEnabled) WithValue

type AlertingPolicy_Spec_ConditionsCombiner

type AlertingPolicy_Spec_ConditionsCombiner int32
const (
	AlertingPolicy_Spec_OR  AlertingPolicy_Spec_ConditionsCombiner = 0
	AlertingPolicy_Spec_AND AlertingPolicy_Spec_ConditionsCombiner = 1
)

func (AlertingPolicy_Spec_ConditionsCombiner) Descriptor

func (AlertingPolicy_Spec_ConditionsCombiner) Enum

func (AlertingPolicy_Spec_ConditionsCombiner) EnumDescriptor

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

Deprecated, Use AlertingPolicy_Spec_ConditionsCombiner.ProtoReflect.Descriptor instead.

func (AlertingPolicy_Spec_ConditionsCombiner) Number

func (AlertingPolicy_Spec_ConditionsCombiner) String

func (AlertingPolicy_Spec_ConditionsCombiner) Type

type AlertingPolicy_Spec_FieldMask

type AlertingPolicy_Spec_FieldMask struct {
	Paths []AlertingPolicySpec_FieldPath
}

func FullAlertingPolicy_Spec_FieldMask

func FullAlertingPolicy_Spec_FieldMask() *AlertingPolicy_Spec_FieldMask

func (*AlertingPolicy_Spec_FieldMask) AppendPath

func (fieldMask *AlertingPolicy_Spec_FieldMask) AppendPath(path AlertingPolicySpec_FieldPath)

func (*AlertingPolicy_Spec_FieldMask) AppendRawPath

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

func (*AlertingPolicy_Spec_FieldMask) DecodeFirestore

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

func (*AlertingPolicy_Spec_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*AlertingPolicy_Spec_FieldMask) FilterInputFields

func (fieldMask *AlertingPolicy_Spec_FieldMask) FilterInputFields() *AlertingPolicy_Spec_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AlertingPolicy_Spec_FieldMask) FromProtoFieldMask

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

func (*AlertingPolicy_Spec_FieldMask) GetPaths

func (*AlertingPolicy_Spec_FieldMask) GetRawPaths

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

func (*AlertingPolicy_Spec_FieldMask) IsFull

func (fieldMask *AlertingPolicy_Spec_FieldMask) IsFull() bool

func (AlertingPolicy_Spec_FieldMask) Marshal

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

implement methods required by customType

func (AlertingPolicy_Spec_FieldMask) MarshalJSON

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

func (*AlertingPolicy_Spec_FieldMask) PathsCount

func (fieldMask *AlertingPolicy_Spec_FieldMask) PathsCount() int

func (*AlertingPolicy_Spec_FieldMask) Project

func (*AlertingPolicy_Spec_FieldMask) ProjectRaw

func (*AlertingPolicy_Spec_FieldMask) ProtoMessage

func (fieldMask *AlertingPolicy_Spec_FieldMask) ProtoMessage()

func (*AlertingPolicy_Spec_FieldMask) ProtoReflect

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

func (*AlertingPolicy_Spec_FieldMask) Reset

func (fieldMask *AlertingPolicy_Spec_FieldMask) Reset()

func (*AlertingPolicy_Spec_FieldMask) Set

func (fieldMask *AlertingPolicy_Spec_FieldMask) Set(target, source *AlertingPolicy_Spec)

func (*AlertingPolicy_Spec_FieldMask) SetFromCliFlag

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

func (*AlertingPolicy_Spec_FieldMask) SetRaw

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

func (*AlertingPolicy_Spec_FieldMask) Size

func (fieldMask *AlertingPolicy_Spec_FieldMask) Size() int

func (*AlertingPolicy_Spec_FieldMask) String

func (fieldMask *AlertingPolicy_Spec_FieldMask) String() string

func (*AlertingPolicy_Spec_FieldMask) Subtract

func (*AlertingPolicy_Spec_FieldMask) SubtractRaw

func (*AlertingPolicy_Spec_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*AlertingPolicy_Spec_FieldMask) Unmarshal

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

func (*AlertingPolicy_Spec_FieldMask) UnmarshalJSON

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

type AlertingPolicy_Spec_Notification

type AlertingPolicy_Spec_Notification struct {

	// Enabled flag determines whether any notifications will be sent
	Enabled  bool                              `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty" firestore:"enabled"`
	Channels []*notification_channel.Reference `protobuf:"bytes,3,rep,customtype=Reference,name=channels,proto3" json:"channels,omitempty" firestore:"channels"`
	// contains filtered or unexported fields
}

Notification specification for a given Policy

func (*AlertingPolicy_Spec_Notification) Clone

func (*AlertingPolicy_Spec_Notification) CloneRaw

func (*AlertingPolicy_Spec_Notification) Descriptor

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

Deprecated, Use AlertingPolicy_Spec_Notification.ProtoReflect.Descriptor instead.

func (*AlertingPolicy_Spec_Notification) GetChannels

func (*AlertingPolicy_Spec_Notification) GetEnabled

func (m *AlertingPolicy_Spec_Notification) GetEnabled() bool

func (*AlertingPolicy_Spec_Notification) GotenMessage

func (*AlertingPolicy_Spec_Notification) GotenMessage()

func (*AlertingPolicy_Spec_Notification) GotenObjectExt

func (o *AlertingPolicy_Spec_Notification) GotenObjectExt()

func (*AlertingPolicy_Spec_Notification) GotenValidate

func (obj *AlertingPolicy_Spec_Notification) GotenValidate() error

func (*AlertingPolicy_Spec_Notification) MakeDiffFieldMask

func (*AlertingPolicy_Spec_Notification) MakeFullFieldMask

func (*AlertingPolicy_Spec_Notification) MakeRawDiffFieldMask

func (*AlertingPolicy_Spec_Notification) MakeRawFullFieldMask

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

func (*AlertingPolicy_Spec_Notification) Marshal

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

func (*AlertingPolicy_Spec_Notification) MarshalJSON

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

func (*AlertingPolicy_Spec_Notification) Merge

func (*AlertingPolicy_Spec_Notification) MergeRaw

func (*AlertingPolicy_Spec_Notification) ProtoMessage

func (*AlertingPolicy_Spec_Notification) ProtoMessage()

func (*AlertingPolicy_Spec_Notification) ProtoReflect

func (*AlertingPolicy_Spec_Notification) Reset

func (*AlertingPolicy_Spec_Notification) SetChannels

func (*AlertingPolicy_Spec_Notification) SetEnabled

func (m *AlertingPolicy_Spec_Notification) SetEnabled(fv bool)

func (*AlertingPolicy_Spec_Notification) String

func (*AlertingPolicy_Spec_Notification) Unmarshal

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

func (*AlertingPolicy_Spec_Notification) UnmarshalJSON

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

type AlertingPolicy_Spec_NotificationPathSelectorChannels

type AlertingPolicy_Spec_NotificationPathSelectorChannels struct{}

func (AlertingPolicy_Spec_NotificationPathSelectorChannels) FieldPath

func (AlertingPolicy_Spec_NotificationPathSelectorChannels) WithArrayOfValues

func (AlertingPolicy_Spec_NotificationPathSelectorChannels) WithValue

type AlertingPolicy_Spec_NotificationPathSelectorEnabled

type AlertingPolicy_Spec_NotificationPathSelectorEnabled struct{}

func (AlertingPolicy_Spec_NotificationPathSelectorEnabled) FieldPath

func (AlertingPolicy_Spec_NotificationPathSelectorEnabled) WithArrayOfValues

func (AlertingPolicy_Spec_NotificationPathSelectorEnabled) WithValue

type AlertingPolicy_Spec_Notification_FieldMask

type AlertingPolicy_Spec_Notification_FieldMask struct {
	Paths []AlertingPolicySpecNotification_FieldPath
}

func FullAlertingPolicy_Spec_Notification_FieldMask

func FullAlertingPolicy_Spec_Notification_FieldMask() *AlertingPolicy_Spec_Notification_FieldMask

func (*AlertingPolicy_Spec_Notification_FieldMask) AppendPath

func (*AlertingPolicy_Spec_Notification_FieldMask) AppendRawPath

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

func (*AlertingPolicy_Spec_Notification_FieldMask) DecodeFirestore

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

func (*AlertingPolicy_Spec_Notification_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*AlertingPolicy_Spec_Notification_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AlertingPolicy_Spec_Notification_FieldMask) FromProtoFieldMask

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

func (*AlertingPolicy_Spec_Notification_FieldMask) GetPaths

func (*AlertingPolicy_Spec_Notification_FieldMask) GetRawPaths

func (*AlertingPolicy_Spec_Notification_FieldMask) IsFull

func (AlertingPolicy_Spec_Notification_FieldMask) Marshal

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

implement methods required by customType

func (AlertingPolicy_Spec_Notification_FieldMask) MarshalJSON

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

func (*AlertingPolicy_Spec_Notification_FieldMask) PathsCount

func (fieldMask *AlertingPolicy_Spec_Notification_FieldMask) PathsCount() int

func (*AlertingPolicy_Spec_Notification_FieldMask) Project

func (*AlertingPolicy_Spec_Notification_FieldMask) ProjectRaw

func (*AlertingPolicy_Spec_Notification_FieldMask) ProtoMessage

func (fieldMask *AlertingPolicy_Spec_Notification_FieldMask) ProtoMessage()

func (*AlertingPolicy_Spec_Notification_FieldMask) ProtoReflect

func (*AlertingPolicy_Spec_Notification_FieldMask) Reset

func (fieldMask *AlertingPolicy_Spec_Notification_FieldMask) Reset()

func (*AlertingPolicy_Spec_Notification_FieldMask) Set

func (*AlertingPolicy_Spec_Notification_FieldMask) SetFromCliFlag

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

func (*AlertingPolicy_Spec_Notification_FieldMask) SetRaw

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

func (*AlertingPolicy_Spec_Notification_FieldMask) Size

func (*AlertingPolicy_Spec_Notification_FieldMask) String

func (*AlertingPolicy_Spec_Notification_FieldMask) Subtract

func (*AlertingPolicy_Spec_Notification_FieldMask) SubtractRaw

func (*AlertingPolicy_Spec_Notification_FieldMask) ToProtoFieldMask

ToFieldMask is used for proto conversions

func (*AlertingPolicy_Spec_Notification_FieldMask) Unmarshal

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

func (*AlertingPolicy_Spec_Notification_FieldMask) UnmarshalJSON

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

type AlertingPolicy_State

type AlertingPolicy_State struct {

	// Number of ongoing alerts (incident has not ended)
	ActiveAlertsCount int64 `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AlertingPolicy_State) Clone

func (*AlertingPolicy_State) CloneRaw

func (*AlertingPolicy_State) Descriptor

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

Deprecated, Use AlertingPolicy_State.ProtoReflect.Descriptor instead.

func (*AlertingPolicy_State) GetActiveAlertsCount

func (m *AlertingPolicy_State) GetActiveAlertsCount() int64

func (*AlertingPolicy_State) GotenMessage

func (*AlertingPolicy_State) GotenMessage()

func (*AlertingPolicy_State) GotenObjectExt

func (o *AlertingPolicy_State) GotenObjectExt()

func (*AlertingPolicy_State) GotenValidate

func (obj *AlertingPolicy_State) GotenValidate() error

func (*AlertingPolicy_State) MakeDiffFieldMask

func (*AlertingPolicy_State) MakeFullFieldMask

func (o *AlertingPolicy_State) MakeFullFieldMask() *AlertingPolicy_State_FieldMask

func (*AlertingPolicy_State) MakeRawDiffFieldMask

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

func (*AlertingPolicy_State) MakeRawFullFieldMask

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

func (*AlertingPolicy_State) Marshal

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

func (*AlertingPolicy_State) MarshalJSON

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

func (*AlertingPolicy_State) Merge

func (o *AlertingPolicy_State) Merge(source *AlertingPolicy_State)

func (*AlertingPolicy_State) MergeRaw

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

func (*AlertingPolicy_State) ProtoMessage

func (*AlertingPolicy_State) ProtoMessage()

func (*AlertingPolicy_State) ProtoReflect

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

func (*AlertingPolicy_State) Reset

func (m *AlertingPolicy_State) Reset()

func (*AlertingPolicy_State) SetActiveAlertsCount

func (m *AlertingPolicy_State) SetActiveAlertsCount(fv int64)

func (*AlertingPolicy_State) String

func (m *AlertingPolicy_State) String() string

func (*AlertingPolicy_State) Unmarshal

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

func (*AlertingPolicy_State) UnmarshalJSON

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

type AlertingPolicy_StatePathSelectorActiveAlertsCount

type AlertingPolicy_StatePathSelectorActiveAlertsCount struct{}

func (AlertingPolicy_StatePathSelectorActiveAlertsCount) FieldPath

func (AlertingPolicy_StatePathSelectorActiveAlertsCount) WithArrayOfValues

func (AlertingPolicy_StatePathSelectorActiveAlertsCount) WithValue

type AlertingPolicy_State_FieldMask

type AlertingPolicy_State_FieldMask struct {
	Paths []AlertingPolicyState_FieldPath
}

func FullAlertingPolicy_State_FieldMask

func FullAlertingPolicy_State_FieldMask() *AlertingPolicy_State_FieldMask

func (*AlertingPolicy_State_FieldMask) AppendPath

func (*AlertingPolicy_State_FieldMask) AppendRawPath

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

func (*AlertingPolicy_State_FieldMask) DecodeFirestore

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

func (*AlertingPolicy_State_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*AlertingPolicy_State_FieldMask) FilterInputFields

func (fieldMask *AlertingPolicy_State_FieldMask) FilterInputFields() *AlertingPolicy_State_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AlertingPolicy_State_FieldMask) FromProtoFieldMask

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

func (*AlertingPolicy_State_FieldMask) GetPaths

func (*AlertingPolicy_State_FieldMask) GetRawPaths

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

func (*AlertingPolicy_State_FieldMask) IsFull

func (fieldMask *AlertingPolicy_State_FieldMask) IsFull() bool

func (AlertingPolicy_State_FieldMask) Marshal

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

implement methods required by customType

func (AlertingPolicy_State_FieldMask) MarshalJSON

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

func (*AlertingPolicy_State_FieldMask) PathsCount

func (fieldMask *AlertingPolicy_State_FieldMask) PathsCount() int

func (*AlertingPolicy_State_FieldMask) Project

func (*AlertingPolicy_State_FieldMask) ProjectRaw

func (*AlertingPolicy_State_FieldMask) ProtoMessage

func (fieldMask *AlertingPolicy_State_FieldMask) ProtoMessage()

func (*AlertingPolicy_State_FieldMask) ProtoReflect

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

func (*AlertingPolicy_State_FieldMask) Reset

func (fieldMask *AlertingPolicy_State_FieldMask) Reset()

func (*AlertingPolicy_State_FieldMask) Set

func (fieldMask *AlertingPolicy_State_FieldMask) Set(target, source *AlertingPolicy_State)

func (*AlertingPolicy_State_FieldMask) SetFromCliFlag

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

func (*AlertingPolicy_State_FieldMask) SetRaw

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

func (*AlertingPolicy_State_FieldMask) Size

func (fieldMask *AlertingPolicy_State_FieldMask) Size() int

func (*AlertingPolicy_State_FieldMask) String

func (fieldMask *AlertingPolicy_State_FieldMask) String() string

func (*AlertingPolicy_State_FieldMask) Subtract

func (*AlertingPolicy_State_FieldMask) SubtractRaw

func (*AlertingPolicy_State_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*AlertingPolicy_State_FieldMask) Unmarshal

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

func (*AlertingPolicy_State_FieldMask) UnmarshalJSON

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

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) CanBeParentless

func (d *Descriptor) CanBeParentless() bool

func (*Descriptor) GetNameDescriptor

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

func (*Descriptor) GetParentResDescriptors

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

func (*Descriptor) GetResourceTypeName

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

func (*Descriptor) NewGetQuery

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

func (*Descriptor) NewListQuery

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

func (*Descriptor) NewNameList

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

func (*Descriptor) NewParentNameList

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

func (*Descriptor) NewParentReferenceList

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

func (*Descriptor) NewQueryResultChange

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

func (*Descriptor) NewQueryResultSnapshot

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

func (*Descriptor) NewReferenceList

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

func (*Descriptor) NewResource

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

func (*Descriptor) NewResourceChange

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

func (*Descriptor) NewResourceChangeList

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

func (*Descriptor) NewResourceChangeMap

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

func (*Descriptor) NewResourceCursor

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

func (*Descriptor) NewResourceFieldMask

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

func (*Descriptor) NewResourceFilter

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

func (*Descriptor) NewResourceList

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

func (*Descriptor) NewResourceMap

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

func (*Descriptor) NewResourceName

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

func (*Descriptor) NewResourceOrderBy

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

func (*Descriptor) NewResourcePager

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

func (*Descriptor) NewSearchQuery

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

func (*Descriptor) NewWatchQuery

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

func (*Descriptor) ParseFieldPath

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

func (*Descriptor) ParseResourceName

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

func (*Descriptor) SupportsMetadata

func (d *Descriptor) SupportsMetadata() bool

type Filter

type Filter struct {
	FilterCondition
}

func (*Filter) ConvertToNative

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

func (*Filter) ConvertToType

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

func (*Filter) DecodeFirestore

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

func (*Filter) EncodeFirestore

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

firestore encoding/decoding integration

func (*Filter) Equal

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

func (*Filter) Evaluate

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

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 AlertingPolicy_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 *AlertingPolicy) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	AlertingPolicy_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *AlertingPolicy) 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 AlertingPolicy_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 *AlertingPolicy) 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 AlertingPolicy_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 *AlertingPolicy) 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 AlertingPolicy_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 {
	AlertingPolicy_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *AlertingPolicy) 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 AlertingPolicy_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 AlertingPolicy_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *AlertingPolicy) 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 AlertingPolicy_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 AlertingPolicy_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *AlertingPolicy) 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 AlertingPolicy_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 *AlertingPolicy) 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 AlertingPolicy_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 {
	AlertingPolicy_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *AlertingPolicy) 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 AlertingPolicy_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      *AlertingPolicy_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           *AlertingPolicy_FieldMask
	WithPagingInfo bool
}

func (*ListQuery) GetFieldMask

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

func (*ListQuery) GetFilter

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

func (*ListQuery) GetPager

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

func (*ListQuery) GetResourceDescriptor

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

func (*ListQuery) GetWithPagingInfo

func (q *ListQuery) GetWithPagingInfo() bool

func (*ListQuery) GotenQuery

func (q *ListQuery) GotenQuery()

func (*ListQuery) SetFieldMask

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

func (*ListQuery) SetFilter

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

func (*ListQuery) SetPager

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

func (*ListQuery) SetWithPagingInfo

func (q *ListQuery) SetWithPagingInfo(with bool)

func (*ListQuery) String

func (q *ListQuery) String() string

type Name

type Name struct {
	ParentName
	AlertingPolicyId string `firestore:"alertingPolicyId"`
}

func MustParseName

func MustParseName(name string) *Name

func ParseName

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

func ParseNameOrId

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

func (*Name) AsRawReference

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

func (*Name) AsReference

func (name *Name) AsReference() *Reference

func (*Name) ConvertToNative

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

func (*Name) ConvertToType

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

func (*Name) Equal

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

func (*Name) FullyQualifiedName

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

func (*Name) GetIParentName

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

func (*Name) GetIUnderlyingParentName

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

func (*Name) GetIdParts

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

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

func (*NameBuilder) SetRegionId

func (b *NameBuilder) SetRegionId(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 *AlertingPolicy) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *AlertingPolicy_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 AlertingPolicyList, elem *AlertingPolicy) (AlertingPolicyList, 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 AlertingPolicyList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath AlertingPolicy_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 *AlertingPolicy) int

func (*OrderByField) GetDirection

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

func (*OrderByField) GetFieldPath

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

type PagerCursor

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

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

func (*PagerCursor) GetInclusion

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

func (*PagerCursor) GetPageDirection

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

func (*PagerCursor) GetValue

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

func (*PagerCursor) IsEmpty

func (cursor *PagerCursor) IsEmpty() bool

func (*PagerCursor) ParseProtoString

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

func (*PagerCursor) ProtoString

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

func (*PagerCursor) SetCursorValue

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

func (*PagerCursor) SetFromCliFlag

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

func (*PagerCursor) SetInclusion

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

func (*PagerCursor) SetPageDirection

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

func (*PagerCursor) String

func (cursor *PagerCursor) String() string

type PagerQuery

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

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

func MakePagerQuery

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

MakePagerQuery builds pager from API data and applies defaults

func (*PagerQuery) GetCursor

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

func (*PagerQuery) GetLimit

func (p *PagerQuery) GetLimit() int

func (*PagerQuery) GetOrderBy

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

func (*PagerQuery) GetPeekForward

func (p *PagerQuery) GetPeekForward() bool

func (*PagerQuery) GetResourceDescriptor

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

func (*PagerQuery) PageDirection

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

func (*PagerQuery) SetCursor

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

func (*PagerQuery) SetLimit

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy

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

func (*PagerQuery) SetPageDirection

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

func (*PagerQuery) SetPeekForward

func (p *PagerQuery) SetPeekForward(peekForward bool)

type ParentName

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

func MustParseParentName

func MustParseParentName(name string) *ParentName

func ParseParentName

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

func (*ParentName) AsRawReference

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

func (*ParentName) AsReference

func (name *ParentName) AsReference() *ParentReference

func (*ParentName) ConvertToNative

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

func (*ParentName) ConvertToType

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

func (*ParentName) DescendsFrom

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

func (*ParentName) Equal

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

func (*ParentName) FullyQualifiedName

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

func (*ParentName) GetIParentName

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

func (*ParentName) GetIUnderlyingParentName

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

func (*ParentName) GetIdParts

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

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

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

func (*ParentName) IsFullyQualified

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified

func (name *ParentName) IsSpecified() bool

func (*ParentName) Match

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

func (*ParentName) Matches

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

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

func (*ParentName) ParseProtoString

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

func (*ParentName) ProtoString

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

func (*ParentName) Receive

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

func (*ParentName) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*ParentName) SetFromSegments

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

func (*ParentName) String

func (name *ParentName) String() string

func (*ParentName) Type

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

func (*ParentName) TypeName

func (name *ParentName) TypeName() string

func (*ParentName) Value

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

type ParentReference

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

func MakeParentReference

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

func MustParseParentReference

func MustParseParentReference(name string) *ParentReference

func ParseParentReference

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

func (*ParentReference) ClearCached

func (ref *ParentReference) ClearCached()

func (*ParentReference) GetIParentName

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

func (*ParentReference) GetIUnderlyingParentName

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

func (*ParentReference) GetIdParts

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

func (*ParentReference) 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        []*AlertingPolicyChange
	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 {
	AlertingPolicies  []*AlertingPolicy
	PrevPageCursor    *PagerCursor
	NextPageCursor    *PagerCursor
	TotalResultsCount int32
	CurrentOffset     int32
}

func (*QueryResultSnapshot) GetNextPageCursor

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

func (*QueryResultSnapshot) GetPagingInfo

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

func (*QueryResultSnapshot) GetPrevPageCursor

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

func (*QueryResultSnapshot) GetResults

func (*QueryResultSnapshot) SetCursors

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

func (*QueryResultSnapshot) SetPagingInfo

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

func (*QueryResultSnapshot) SetResults

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

type Reference

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

func MakeReference

func MakeReference(name *Name, alertingPolicy *AlertingPolicy) (*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) GetAlertingPolicy

func (ref *Reference) GetAlertingPolicy() *AlertingPolicy

func (*Reference) GetIParentName

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

func (*Reference) GetIUnderlyingParentName

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

func (*Reference) GetIdParts

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

func (*Reference) 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 *AlertingPolicy)

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 SearchQuery

type SearchQuery struct {
	ListQuery
	Phrase string
}

func (*SearchQuery) GetPhrase

func (q *SearchQuery) GetPhrase() string

func (*SearchQuery) GetWithPagingInfo

func (q *SearchQuery) GetWithPagingInfo() bool

func (*SearchQuery) SetPhrase

func (q *SearchQuery) SetPhrase(phrase string)

func (*SearchQuery) String

func (q *SearchQuery) String() string

type WatchQuery

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

func (*WatchQuery) GetMaximumChunkSize

func (q *WatchQuery) GetMaximumChunkSize() int

func (*WatchQuery) GetResumeToken

func (q *WatchQuery) GetResumeToken() string

func (*WatchQuery) GetStartingTime

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

func (*WatchQuery) GetWatchType

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

func (*WatchQuery) SetMaximumChunkSize

func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)

func (*WatchQuery) SetResumeToken

func (q *WatchQuery) SetResumeToken(token string)

func (*WatchQuery) SetStartingTime

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

func (*WatchQuery) SetWatchType

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

func (*WatchQuery) String

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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