accepted_plan

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Nil          = "acceptedPlans/{accepted_plan}"
	NamePattern_Organization = "organizations/{organization}/acceptedPlans/{accepted_plan}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access AcceptedPlanAccess) gotenresource.Access

Types

type AcceptedPlan

type AcceptedPlan struct {

	// Name of AcceptedPlan
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Plan with resource limits
	Plan *plan.Reference `protobuf:"bytes,2,opt,customtype=Reference,name=plan,proto3" json:"plan,omitempty" firestore:"plan"`
	// Service indicates by plan.
	Service *meta_service.Reference `protobuf:"bytes,3,opt,customtype=Reference,name=service,proto3" json:"service,omitempty" firestore:"service"`
	// Optional extensions over standard plan
	Extensions []*common.Allowance `protobuf:"bytes,4,rep,name=extensions,proto3" json:"extensions,omitempty" firestore:"extensions"`
	// Distribution of limits by regions. It does not need
	// to be populated by user in Create/Update requests -
	// system automatically distributes limits across regions
	// equally. Returned AcceptedPlan instance from Create/Update
	// will contain this field populated.
	// If user wants to have some specific resource distributed in
	// certain way, they can do it by partially populating this field
	// too. System will distribute automatically only remaining numbers.
	RegionalDistributions []*common.RegionalDistribution `` /* 158-byte string literal not displayed */
	// Plan assignee
	Assignee *AcceptedPlan_Assignee `protobuf:"bytes,6,opt,name=assignee,proto3" json:"assignee,omitempty" firestore:"assignee"`
	// Metadata
	Metadata *ntt_meta.Meta `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// contains filtered or unexported fields
}

AcceptedPlan shows a plan accepted by assigner (system or organization) for project, organization and system - with all additional information like extensions or regional distributions. It is in relation 1-1 with PlanAssignment, BUT: * PlanAssignment is read-only and represents information for Assignee. Name pattern indicates to WHOM plan is assigned. * AcceptedPlan contains accepted configuration and represents information for assigner. Name pattern indicates WHO ASSIGNED a plan. It is modifiable, BUT modifications of accepted plans may result in increased usage of allowed limit pools - Organization/System cannot accept plans to sub-entities without limits (however, system is allowed to assign plan to itself without limits, which makes system admin fully responsible).

func (*AcceptedPlan) Clone

func (o *AcceptedPlan) Clone() *AcceptedPlan

func (*AcceptedPlan) CloneRaw

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

func (*AcceptedPlan) Descriptor

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

Deprecated, Use AcceptedPlan.ProtoReflect.Descriptor instead.

func (*AcceptedPlan) GetAssignee

func (m *AcceptedPlan) GetAssignee() *AcceptedPlan_Assignee

func (*AcceptedPlan) GetExtensions

func (m *AcceptedPlan) GetExtensions() []*common.Allowance

func (*AcceptedPlan) GetMetadata

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

func (*AcceptedPlan) GetName

func (m *AcceptedPlan) GetName() *Name

func (*AcceptedPlan) GetPlan

func (m *AcceptedPlan) GetPlan() *plan.Reference

func (*AcceptedPlan) GetRawName

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

func (*AcceptedPlan) GetRegionalDistributions

func (m *AcceptedPlan) GetRegionalDistributions() []*common.RegionalDistribution

func (*AcceptedPlan) GetResourceDescriptor

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

func (*AcceptedPlan) GetService

func (m *AcceptedPlan) GetService() *meta_service.Reference

func (*AcceptedPlan) GotenMessage

func (*AcceptedPlan) GotenMessage()

func (*AcceptedPlan) GotenObjectExt

func (o *AcceptedPlan) GotenObjectExt()

func (*AcceptedPlan) GotenValidate

func (obj *AcceptedPlan) GotenValidate() error

func (*AcceptedPlan) MakeDiffFieldMask

func (o *AcceptedPlan) MakeDiffFieldMask(other *AcceptedPlan) *AcceptedPlan_FieldMask

func (*AcceptedPlan) MakeFullFieldMask

func (o *AcceptedPlan) MakeFullFieldMask() *AcceptedPlan_FieldMask

func (*AcceptedPlan) MakeRawDiffFieldMask

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

func (*AcceptedPlan) MakeRawFullFieldMask

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

func (*AcceptedPlan) Marshal

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

func (*AcceptedPlan) MarshalJSON

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

func (*AcceptedPlan) MaybePopulateDefaults

func (r *AcceptedPlan) MaybePopulateDefaults() error

func (*AcceptedPlan) Merge

func (o *AcceptedPlan) Merge(source *AcceptedPlan)

func (*AcceptedPlan) MergeRaw

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

func (*AcceptedPlan) ProtoMessage

func (*AcceptedPlan) ProtoMessage()

func (*AcceptedPlan) ProtoReflect

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

func (*AcceptedPlan) Reset

func (m *AcceptedPlan) Reset()

func (*AcceptedPlan) SetAssignee

func (m *AcceptedPlan) SetAssignee(fv *AcceptedPlan_Assignee)

func (*AcceptedPlan) SetExtensions

func (m *AcceptedPlan) SetExtensions(fv []*common.Allowance)

func (*AcceptedPlan) SetMetadata

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

func (*AcceptedPlan) SetName

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

func (*AcceptedPlan) SetPlan

func (m *AcceptedPlan) SetPlan(fv *plan.Reference)

func (*AcceptedPlan) SetRegionalDistributions

func (m *AcceptedPlan) SetRegionalDistributions(fv []*common.RegionalDistribution)

func (*AcceptedPlan) SetService

func (m *AcceptedPlan) SetService(fv *meta_service.Reference)

func (*AcceptedPlan) String

func (m *AcceptedPlan) String() string

func (*AcceptedPlan) Unmarshal

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

func (*AcceptedPlan) UnmarshalJSON

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

type AcceptedPlanAccess

type AcceptedPlanAccess interface {
	GetAcceptedPlan(context.Context, *GetQuery) (*AcceptedPlan, error)
	BatchGetAcceptedPlans(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryAcceptedPlans(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchAcceptedPlan(context.Context, *GetQuery, func(*AcceptedPlanChange) error) error
	WatchAcceptedPlans(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveAcceptedPlan(context.Context, *AcceptedPlan, ...gotenresource.SaveOption) error
	DeleteAcceptedPlan(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type AcceptedPlanAssigneeFieldPathBuilder

type AcceptedPlanAssigneeFieldPathBuilder struct{}

func NewAcceptedPlanAssigneeFieldPathBuilder

func NewAcceptedPlanAssigneeFieldPathBuilder() AcceptedPlanAssigneeFieldPathBuilder

func (AcceptedPlanAssigneeFieldPathBuilder) OrganizationAssignee

func (AcceptedPlanAssigneeFieldPathBuilder) ProjectAssignee

func (AcceptedPlanAssigneeFieldPathBuilder) SystemAssignee

type AcceptedPlanAssignee_FieldPath

type AcceptedPlanAssignee_FieldPath interface {
	gotenobject.FieldPath
	Selector() AcceptedPlanAssignee_FieldPathSelector
	Get(source *AcceptedPlan_Assignee) []interface{}
	GetSingle(source *AcceptedPlan_Assignee) (interface{}, bool)
	ClearValue(item *AcceptedPlan_Assignee)

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

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

func MustParseAcceptedPlanAssignee_FieldPath

func MustParseAcceptedPlanAssignee_FieldPath(rawField string) AcceptedPlanAssignee_FieldPath

func ParseAcceptedPlanAssignee_FieldPath

func ParseAcceptedPlanAssignee_FieldPath(rawField string) (AcceptedPlanAssignee_FieldPath, error)

type AcceptedPlanAssignee_FieldPathArrayItemValue

type AcceptedPlanAssignee_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AcceptedPlanAssignee_FieldPath
	ContainsValue(*AcceptedPlan_Assignee) bool
}

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

func MustParseAcceptedPlanAssignee_FieldPathArrayItemValue

func MustParseAcceptedPlanAssignee_FieldPathArrayItemValue(pathStr, valueStr string) AcceptedPlanAssignee_FieldPathArrayItemValue

func ParseAcceptedPlanAssignee_FieldPathArrayItemValue

func ParseAcceptedPlanAssignee_FieldPathArrayItemValue(pathStr, valueStr string) (AcceptedPlanAssignee_FieldPathArrayItemValue, error)

ParseAcceptedPlanAssignee_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AcceptedPlanAssignee_FieldPathArrayOfValues

type AcceptedPlanAssignee_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AcceptedPlanAssignee_FieldPath
}

AcceptedPlanAssignee_FieldPathArrayOfValues allows storing slice of values for Assignee fields according to their type

func MustParseAcceptedPlanAssignee_FieldPathArrayOfValues

func MustParseAcceptedPlanAssignee_FieldPathArrayOfValues(pathStr, valuesStr string) AcceptedPlanAssignee_FieldPathArrayOfValues

func ParseAcceptedPlanAssignee_FieldPathArrayOfValues

func ParseAcceptedPlanAssignee_FieldPathArrayOfValues(pathStr, valuesStr string) (AcceptedPlanAssignee_FieldPathArrayOfValues, error)

type AcceptedPlanAssignee_FieldPathSelector

type AcceptedPlanAssignee_FieldPathSelector int32
const (
	AcceptedPlanAssignee_FieldPathSelectorProjectAssignee      AcceptedPlanAssignee_FieldPathSelector = 0
	AcceptedPlanAssignee_FieldPathSelectorOrganizationAssignee AcceptedPlanAssignee_FieldPathSelector = 1
	AcceptedPlanAssignee_FieldPathSelectorSystemAssignee       AcceptedPlanAssignee_FieldPathSelector = 2
)

func (AcceptedPlanAssignee_FieldPathSelector) String

type AcceptedPlanAssignee_FieldPathValue

type AcceptedPlanAssignee_FieldPathValue interface {
	AcceptedPlanAssignee_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AcceptedPlan_Assignee)
	CompareWith(*AcceptedPlan_Assignee) (cmp int, comparable bool)
}

AcceptedPlanAssignee_FieldPathValue allows storing values for Assignee fields according to their type

func MustParseAcceptedPlanAssignee_FieldPathValue

func MustParseAcceptedPlanAssignee_FieldPathValue(pathStr, valueStr string) AcceptedPlanAssignee_FieldPathValue

func ParseAcceptedPlanAssignee_FieldPathValue

func ParseAcceptedPlanAssignee_FieldPathValue(pathStr, valueStr string) (AcceptedPlanAssignee_FieldPathValue, error)

type AcceptedPlanAssignee_FieldTerminalPath

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

func (*AcceptedPlanAssignee_FieldTerminalPath) ClearValue

func (*AcceptedPlanAssignee_FieldTerminalPath) ClearValueRaw

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

func (*AcceptedPlanAssignee_FieldTerminalPath) Get

func (fp *AcceptedPlanAssignee_FieldTerminalPath) Get(source *AcceptedPlan_Assignee) (values []interface{})

Get returns all values pointed by specific field from source AcceptedPlan_Assignee

func (*AcceptedPlanAssignee_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AcceptedPlanAssignee_FieldTerminalPath) GetRaw

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

func (*AcceptedPlanAssignee_FieldTerminalPath) GetSingle

func (fp *AcceptedPlanAssignee_FieldTerminalPath) GetSingle(source *AcceptedPlan_Assignee) (interface{}, bool)

GetSingle returns value pointed by specific field of from source AcceptedPlan_Assignee

func (*AcceptedPlanAssignee_FieldTerminalPath) GetSingleRaw

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

func (*AcceptedPlanAssignee_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*AcceptedPlanAssignee_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*AcceptedPlanAssignee_FieldTerminalPath) Selector

func (*AcceptedPlanAssignee_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*AcceptedPlanAssignee_FieldTerminalPath) String

String returns path representation in proto convention

func (*AcceptedPlanAssignee_FieldTerminalPath) WithIArrayItemValue

func (*AcceptedPlanAssignee_FieldTerminalPath) WithIArrayOfValues

func (*AcceptedPlanAssignee_FieldTerminalPath) WithIValue

func (*AcceptedPlanAssignee_FieldTerminalPath) WithRawIArrayItemValue

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

func (*AcceptedPlanAssignee_FieldTerminalPath) WithRawIArrayOfValues

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

func (*AcceptedPlanAssignee_FieldTerminalPath) WithRawIValue

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

type AcceptedPlanAssignee_FieldTerminalPathArrayItemValue

type AcceptedPlanAssignee_FieldTerminalPathArrayItemValue struct {
	AcceptedPlanAssignee_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AcceptedPlanAssignee_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*AcceptedPlanAssignee_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*AcceptedPlanAssignee_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *AcceptedPlanAssignee_FieldTerminalPathArrayItemValue) GetSingle(source *AcceptedPlan_Assignee) (interface{}, bool)

func (*AcceptedPlanAssignee_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type AcceptedPlanAssignee_FieldTerminalPathArrayOfValues

type AcceptedPlanAssignee_FieldTerminalPathArrayOfValues struct {
	AcceptedPlanAssignee_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AcceptedPlanAssignee_FieldTerminalPathArrayOfValues) AsOrganizationAssigneeArrayOfValues

func (fpaov *AcceptedPlanAssignee_FieldTerminalPathArrayOfValues) AsOrganizationAssigneeArrayOfValues() ([]*iam_organization.Reference, bool)

func (*AcceptedPlanAssignee_FieldTerminalPathArrayOfValues) AsProjectAssigneeArrayOfValues

func (fpaov *AcceptedPlanAssignee_FieldTerminalPathArrayOfValues) AsProjectAssigneeArrayOfValues() ([]*iam_project.Reference, bool)

func (*AcceptedPlanAssignee_FieldTerminalPathArrayOfValues) AsSystemAssigneeArrayOfValues

func (fpaov *AcceptedPlanAssignee_FieldTerminalPathArrayOfValues) AsSystemAssigneeArrayOfValues() ([]bool, bool)

func (*AcceptedPlanAssignee_FieldTerminalPathArrayOfValues) GetRawValues

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

type AcceptedPlanAssignee_FieldTerminalPathValue

type AcceptedPlanAssignee_FieldTerminalPathValue struct {
	AcceptedPlanAssignee_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AcceptedPlanAssignee_FieldTerminalPathValue) AsOrganizationAssigneeValue

func (fpv *AcceptedPlanAssignee_FieldTerminalPathValue) AsOrganizationAssigneeValue() (*iam_organization.Reference, bool)

func (*AcceptedPlanAssignee_FieldTerminalPathValue) AsProjectAssigneeValue

func (fpv *AcceptedPlanAssignee_FieldTerminalPathValue) AsProjectAssigneeValue() (*iam_project.Reference, bool)

func (*AcceptedPlanAssignee_FieldTerminalPathValue) AsSystemAssigneeValue

func (fpv *AcceptedPlanAssignee_FieldTerminalPathValue) AsSystemAssigneeValue() (bool, bool)

func (*AcceptedPlanAssignee_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'AcceptedPlanAssignee_FieldTerminalPathValue' with the value under path in 'AcceptedPlan_Assignee'.

func (*AcceptedPlanAssignee_FieldTerminalPathValue) CompareWithRaw

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

func (*AcceptedPlanAssignee_FieldTerminalPathValue) GetRawValue

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

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

func (*AcceptedPlanAssignee_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object Assignee

func (*AcceptedPlanAssignee_FieldTerminalPathValue) SetToRaw

type AcceptedPlanChange

type AcceptedPlanChange struct {

	// AcceptedPlan change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*AcceptedPlanChange_Added_
	//	*AcceptedPlanChange_Modified_
	//	*AcceptedPlanChange_Current_
	//	*AcceptedPlanChange_Removed_
	ChangeType isAcceptedPlanChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*AcceptedPlanChange) Descriptor

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

Deprecated, Use AcceptedPlanChange.ProtoReflect.Descriptor instead.

func (*AcceptedPlanChange) GetAcceptedPlan

func (c *AcceptedPlanChange) GetAcceptedPlan() *AcceptedPlan

func (*AcceptedPlanChange) GetAcceptedPlanName

func (c *AcceptedPlanChange) GetAcceptedPlanName() *Name

func (*AcceptedPlanChange) GetAdded

func (*AcceptedPlanChange) GetChangeType

func (m *AcceptedPlanChange) GetChangeType() isAcceptedPlanChange_ChangeType

func (*AcceptedPlanChange) GetCurrent

func (*AcceptedPlanChange) GetCurrentViewIndex

func (c *AcceptedPlanChange) GetCurrentViewIndex() int32

func (*AcceptedPlanChange) GetModified

func (*AcceptedPlanChange) GetPreviousViewIndex

func (c *AcceptedPlanChange) GetPreviousViewIndex() int32

func (*AcceptedPlanChange) GetRawName

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

func (*AcceptedPlanChange) GetRawResource

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

func (*AcceptedPlanChange) GetRemoved

func (*AcceptedPlanChange) GotenMessage

func (*AcceptedPlanChange) GotenMessage()

func (*AcceptedPlanChange) GotenValidate

func (obj *AcceptedPlanChange) GotenValidate() error

func (*AcceptedPlanChange) IsAdd

func (c *AcceptedPlanChange) IsAdd() bool

func (*AcceptedPlanChange) IsCurrent

func (c *AcceptedPlanChange) IsCurrent() bool

func (*AcceptedPlanChange) IsDelete

func (c *AcceptedPlanChange) IsDelete() bool

func (*AcceptedPlanChange) IsModify

func (c *AcceptedPlanChange) IsModify() bool

func (*AcceptedPlanChange) Marshal

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

func (*AcceptedPlanChange) MarshalJSON

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

func (*AcceptedPlanChange) ProtoMessage

func (*AcceptedPlanChange) ProtoMessage()

func (*AcceptedPlanChange) ProtoReflect

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

func (*AcceptedPlanChange) Reset

func (m *AcceptedPlanChange) Reset()

func (*AcceptedPlanChange) SetAdded

func (*AcceptedPlanChange) SetAddedRaw

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

func (*AcceptedPlanChange) SetChangeType

func (m *AcceptedPlanChange) SetChangeType(ofv isAcceptedPlanChange_ChangeType)

func (*AcceptedPlanChange) SetCurrent

func (*AcceptedPlanChange) SetCurrentRaw

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

func (*AcceptedPlanChange) SetDeletedRaw

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

func (*AcceptedPlanChange) SetModified

func (m *AcceptedPlanChange) SetModified(fv *AcceptedPlanChange_Modified)

func (*AcceptedPlanChange) SetModifiedRaw

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

func (*AcceptedPlanChange) SetRemoved

func (*AcceptedPlanChange) String

func (m *AcceptedPlanChange) String() string

func (*AcceptedPlanChange) Unmarshal

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

func (*AcceptedPlanChange) UnmarshalJSON

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

type AcceptedPlanChangeList

type AcceptedPlanChangeList []*AcceptedPlanChange

func (AcceptedPlanChangeList) Append

func (AcceptedPlanChangeList) AppendList

func (AcceptedPlanChangeList) At

func (AcceptedPlanChangeList) Length

func (l AcceptedPlanChangeList) Length() int

func (AcceptedPlanChangeList) Set

func (AcceptedPlanChangeList) Slice

type AcceptedPlanChangeMap

type AcceptedPlanChangeMap map[Name]*AcceptedPlanChange

func (AcceptedPlanChangeMap) Delete

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

func (AcceptedPlanChangeMap) ForEach

func (AcceptedPlanChangeMap) Get

func (AcceptedPlanChangeMap) Length

func (m AcceptedPlanChangeMap) Length() int

func (AcceptedPlanChangeMap) Set

type AcceptedPlanChange_Added

type AcceptedPlanChange_Added struct {
	AcceptedPlan *AcceptedPlan `protobuf:"bytes,1,opt,name=accepted_plan,json=acceptedPlan,proto3" json:"accepted_plan,omitempty" firestore:"acceptedPlan"`
	// Integer describing index of added AcceptedPlan 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
}

AcceptedPlan has been added to query view

func (*AcceptedPlanChange_Added) Descriptor

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

Deprecated, Use AcceptedPlanChange_Added.ProtoReflect.Descriptor instead.

func (*AcceptedPlanChange_Added) GetAcceptedPlan

func (m *AcceptedPlanChange_Added) GetAcceptedPlan() *AcceptedPlan

func (*AcceptedPlanChange_Added) GetViewIndex

func (m *AcceptedPlanChange_Added) GetViewIndex() int32

func (*AcceptedPlanChange_Added) GotenMessage

func (*AcceptedPlanChange_Added) GotenMessage()

func (*AcceptedPlanChange_Added) GotenValidate

func (obj *AcceptedPlanChange_Added) GotenValidate() error

func (*AcceptedPlanChange_Added) Marshal

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

func (*AcceptedPlanChange_Added) MarshalJSON

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

func (*AcceptedPlanChange_Added) ProtoMessage

func (*AcceptedPlanChange_Added) ProtoMessage()

func (*AcceptedPlanChange_Added) ProtoReflect

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

func (*AcceptedPlanChange_Added) Reset

func (m *AcceptedPlanChange_Added) Reset()

func (*AcceptedPlanChange_Added) SetAcceptedPlan

func (m *AcceptedPlanChange_Added) SetAcceptedPlan(fv *AcceptedPlan)

func (*AcceptedPlanChange_Added) SetViewIndex

func (m *AcceptedPlanChange_Added) SetViewIndex(fv int32)

func (*AcceptedPlanChange_Added) String

func (m *AcceptedPlanChange_Added) String() string

func (*AcceptedPlanChange_Added) Unmarshal

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

func (*AcceptedPlanChange_Added) UnmarshalJSON

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

type AcceptedPlanChange_Added_

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

type AcceptedPlanChange_Current

type AcceptedPlanChange_Current struct {
	AcceptedPlan *AcceptedPlan `protobuf:"bytes,1,opt,name=accepted_plan,json=acceptedPlan,proto3" json:"accepted_plan,omitempty" firestore:"acceptedPlan"`
	// contains filtered or unexported fields
}

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

func (*AcceptedPlanChange_Current) Descriptor

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

Deprecated, Use AcceptedPlanChange_Current.ProtoReflect.Descriptor instead.

func (*AcceptedPlanChange_Current) GetAcceptedPlan

func (m *AcceptedPlanChange_Current) GetAcceptedPlan() *AcceptedPlan

func (*AcceptedPlanChange_Current) GotenMessage

func (*AcceptedPlanChange_Current) GotenMessage()

func (*AcceptedPlanChange_Current) GotenValidate

func (obj *AcceptedPlanChange_Current) GotenValidate() error

func (*AcceptedPlanChange_Current) Marshal

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

func (*AcceptedPlanChange_Current) MarshalJSON

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

func (*AcceptedPlanChange_Current) ProtoMessage

func (*AcceptedPlanChange_Current) ProtoMessage()

func (*AcceptedPlanChange_Current) ProtoReflect

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

func (*AcceptedPlanChange_Current) Reset

func (m *AcceptedPlanChange_Current) Reset()

func (*AcceptedPlanChange_Current) SetAcceptedPlan

func (m *AcceptedPlanChange_Current) SetAcceptedPlan(fv *AcceptedPlan)

func (*AcceptedPlanChange_Current) String

func (m *AcceptedPlanChange_Current) String() string

func (*AcceptedPlanChange_Current) Unmarshal

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

func (*AcceptedPlanChange_Current) UnmarshalJSON

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

type AcceptedPlanChange_Current_

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

type AcceptedPlanChange_Modified

type AcceptedPlanChange_Modified struct {

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

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

func (*AcceptedPlanChange_Modified) Descriptor

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

Deprecated, Use AcceptedPlanChange_Modified.ProtoReflect.Descriptor instead.

func (*AcceptedPlanChange_Modified) GetAcceptedPlan

func (m *AcceptedPlanChange_Modified) GetAcceptedPlan() *AcceptedPlan

func (*AcceptedPlanChange_Modified) GetFieldMask

func (*AcceptedPlanChange_Modified) GetName

func (m *AcceptedPlanChange_Modified) GetName() *Name

func (*AcceptedPlanChange_Modified) GetPreviousViewIndex

func (m *AcceptedPlanChange_Modified) GetPreviousViewIndex() int32

func (*AcceptedPlanChange_Modified) GetViewIndex

func (m *AcceptedPlanChange_Modified) GetViewIndex() int32

func (*AcceptedPlanChange_Modified) GotenMessage

func (*AcceptedPlanChange_Modified) GotenMessage()

func (*AcceptedPlanChange_Modified) GotenValidate

func (obj *AcceptedPlanChange_Modified) GotenValidate() error

func (*AcceptedPlanChange_Modified) Marshal

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

func (*AcceptedPlanChange_Modified) MarshalJSON

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

func (*AcceptedPlanChange_Modified) ProtoMessage

func (*AcceptedPlanChange_Modified) ProtoMessage()

func (*AcceptedPlanChange_Modified) ProtoReflect

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

func (*AcceptedPlanChange_Modified) Reset

func (m *AcceptedPlanChange_Modified) Reset()

func (*AcceptedPlanChange_Modified) SetAcceptedPlan

func (m *AcceptedPlanChange_Modified) SetAcceptedPlan(fv *AcceptedPlan)

func (*AcceptedPlanChange_Modified) SetFieldMask

func (*AcceptedPlanChange_Modified) SetName

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

func (*AcceptedPlanChange_Modified) SetPreviousViewIndex

func (m *AcceptedPlanChange_Modified) SetPreviousViewIndex(fv int32)

func (*AcceptedPlanChange_Modified) SetViewIndex

func (m *AcceptedPlanChange_Modified) SetViewIndex(fv int32)

func (*AcceptedPlanChange_Modified) String

func (m *AcceptedPlanChange_Modified) String() string

func (*AcceptedPlanChange_Modified) Unmarshal

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

func (*AcceptedPlanChange_Modified) UnmarshalJSON

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

type AcceptedPlanChange_Modified_

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

type AcceptedPlanChange_Removed

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

func (*AcceptedPlanChange_Removed) Descriptor

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

Deprecated, Use AcceptedPlanChange_Removed.ProtoReflect.Descriptor instead.

func (*AcceptedPlanChange_Removed) GetName

func (m *AcceptedPlanChange_Removed) GetName() *Name

func (*AcceptedPlanChange_Removed) GetViewIndex

func (m *AcceptedPlanChange_Removed) GetViewIndex() int32

func (*AcceptedPlanChange_Removed) GotenMessage

func (*AcceptedPlanChange_Removed) GotenMessage()

func (*AcceptedPlanChange_Removed) GotenValidate

func (obj *AcceptedPlanChange_Removed) GotenValidate() error

func (*AcceptedPlanChange_Removed) Marshal

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

func (*AcceptedPlanChange_Removed) MarshalJSON

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

func (*AcceptedPlanChange_Removed) ProtoMessage

func (*AcceptedPlanChange_Removed) ProtoMessage()

func (*AcceptedPlanChange_Removed) ProtoReflect

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

func (*AcceptedPlanChange_Removed) Reset

func (m *AcceptedPlanChange_Removed) Reset()

func (*AcceptedPlanChange_Removed) SetName

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

func (*AcceptedPlanChange_Removed) SetViewIndex

func (m *AcceptedPlanChange_Removed) SetViewIndex(fv int32)

func (*AcceptedPlanChange_Removed) String

func (m *AcceptedPlanChange_Removed) String() string

func (*AcceptedPlanChange_Removed) Unmarshal

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

func (*AcceptedPlanChange_Removed) UnmarshalJSON

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

type AcceptedPlanChange_Removed_

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

type AcceptedPlanFieldPathBuilder

type AcceptedPlanFieldPathBuilder struct{}

func NewAcceptedPlanFieldPathBuilder

func NewAcceptedPlanFieldPathBuilder() AcceptedPlanFieldPathBuilder

func (AcceptedPlanFieldPathBuilder) Assignee

func (AcceptedPlanFieldPathBuilder) Extensions

func (AcceptedPlanFieldPathBuilder) Metadata

func (AcceptedPlanFieldPathBuilder) Name

func (AcceptedPlanFieldPathBuilder) Plan

func (AcceptedPlanFieldPathBuilder) RegionalDistributions

func (AcceptedPlanFieldPathBuilder) Service

type AcceptedPlanList

type AcceptedPlanList []*AcceptedPlan

func (AcceptedPlanList) Append

func (AcceptedPlanList) AppendList

func (AcceptedPlanList) At

func (AcceptedPlanList) Length

func (l AcceptedPlanList) Length() int

func (AcceptedPlanList) Set

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

func (AcceptedPlanList) Slice

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

type AcceptedPlanMap

type AcceptedPlanMap map[Name]*AcceptedPlan

func (AcceptedPlanMap) Delete

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

func (AcceptedPlanMap) ForEach

func (AcceptedPlanMap) Get

func (AcceptedPlanMap) Length

func (m AcceptedPlanMap) Length() int

func (AcceptedPlanMap) Set

type AcceptedPlanMapPathSelectorMetadataAnnotations

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

func (AcceptedPlanMapPathSelectorMetadataAnnotations) FieldPath

func (AcceptedPlanMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (AcceptedPlanMapPathSelectorMetadataAnnotations) WithValue

type AcceptedPlanMapPathSelectorMetadataLabels

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

func (AcceptedPlanMapPathSelectorMetadataLabels) FieldPath

func (AcceptedPlanMapPathSelectorMetadataLabels) WithArrayOfValues

func (AcceptedPlanMapPathSelectorMetadataLabels) WithValue

type AcceptedPlanMapPathSelectorMetadataShards

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

func (AcceptedPlanMapPathSelectorMetadataShards) FieldPath

func (AcceptedPlanMapPathSelectorMetadataShards) WithArrayOfValues

func (AcceptedPlanMapPathSelectorMetadataShards) WithValue

type AcceptedPlanMapPathSelectorRegionalDistributionsLimitsByRegion

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

func (AcceptedPlanMapPathSelectorRegionalDistributionsLimitsByRegion) FieldPath

func (AcceptedPlanMapPathSelectorRegionalDistributionsLimitsByRegion) WithArrayOfValues

func (AcceptedPlanMapPathSelectorRegionalDistributionsLimitsByRegion) WithValue

type AcceptedPlanNameList

type AcceptedPlanNameList []*Name

func (AcceptedPlanNameList) Append

func (AcceptedPlanNameList) AppendList

func (AcceptedPlanNameList) At

func (AcceptedPlanNameList) Length

func (l AcceptedPlanNameList) Length() int

func (AcceptedPlanNameList) Set

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

func (AcceptedPlanNameList) Slice

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

type AcceptedPlanParentNameList

type AcceptedPlanParentNameList []*ParentName

func (AcceptedPlanParentNameList) Append

func (AcceptedPlanParentNameList) AppendList

func (AcceptedPlanParentNameList) At

func (AcceptedPlanParentNameList) Length

func (l AcceptedPlanParentNameList) Length() int

func (AcceptedPlanParentNameList) Set

func (AcceptedPlanParentNameList) Slice

type AcceptedPlanParentReferenceList

type AcceptedPlanParentReferenceList []*ParentReference

func (AcceptedPlanParentReferenceList) Append

func (AcceptedPlanParentReferenceList) AppendList

func (AcceptedPlanParentReferenceList) At

func (AcceptedPlanParentReferenceList) Length

func (AcceptedPlanParentReferenceList) Set

func (AcceptedPlanParentReferenceList) Slice

type AcceptedPlanPathSelectorAssignee

type AcceptedPlanPathSelectorAssignee struct{}

func (AcceptedPlanPathSelectorAssignee) FieldPath

func (AcceptedPlanPathSelectorAssignee) OrganizationAssignee

func (AcceptedPlanPathSelectorAssignee) ProjectAssignee

func (AcceptedPlanPathSelectorAssignee) SystemAssignee

func (AcceptedPlanPathSelectorAssignee) WithArrayOfValues

func (AcceptedPlanPathSelectorAssignee) WithSubArrayItemValue

func (AcceptedPlanPathSelectorAssignee) WithSubArrayOfValues

func (AcceptedPlanPathSelectorAssignee) WithSubPath

func (AcceptedPlanPathSelectorAssignee) WithSubValue

func (AcceptedPlanPathSelectorAssignee) WithValue

type AcceptedPlanPathSelectorAssigneeOrganizationAssignee

type AcceptedPlanPathSelectorAssigneeOrganizationAssignee struct{}

func (AcceptedPlanPathSelectorAssigneeOrganizationAssignee) FieldPath

func (AcceptedPlanPathSelectorAssigneeOrganizationAssignee) WithArrayOfValues

func (AcceptedPlanPathSelectorAssigneeOrganizationAssignee) WithValue

type AcceptedPlanPathSelectorAssigneeProjectAssignee

type AcceptedPlanPathSelectorAssigneeProjectAssignee struct{}

func (AcceptedPlanPathSelectorAssigneeProjectAssignee) FieldPath

func (AcceptedPlanPathSelectorAssigneeProjectAssignee) WithArrayOfValues

func (AcceptedPlanPathSelectorAssigneeProjectAssignee) WithValue

type AcceptedPlanPathSelectorAssigneeSystemAssignee

type AcceptedPlanPathSelectorAssigneeSystemAssignee struct{}

func (AcceptedPlanPathSelectorAssigneeSystemAssignee) FieldPath

func (AcceptedPlanPathSelectorAssigneeSystemAssignee) WithArrayOfValues

func (AcceptedPlanPathSelectorAssigneeSystemAssignee) WithValue

type AcceptedPlanPathSelectorExtensions

type AcceptedPlanPathSelectorExtensions struct{}

func (AcceptedPlanPathSelectorExtensions) FieldPath

func (AcceptedPlanPathSelectorExtensions) Resource

func (AcceptedPlanPathSelectorExtensions) Value

func (AcceptedPlanPathSelectorExtensions) WithArrayOfValues

func (AcceptedPlanPathSelectorExtensions) WithItemValue

func (AcceptedPlanPathSelectorExtensions) WithSubArrayItemValue

func (AcceptedPlanPathSelectorExtensions) WithSubArrayOfValues

func (AcceptedPlanPathSelectorExtensions) WithSubPath

func (AcceptedPlanPathSelectorExtensions) WithSubValue

func (AcceptedPlanPathSelectorExtensions) WithValue

type AcceptedPlanPathSelectorExtensionsResource

type AcceptedPlanPathSelectorExtensionsResource struct{}

func (AcceptedPlanPathSelectorExtensionsResource) FieldPath

func (AcceptedPlanPathSelectorExtensionsResource) WithArrayOfValues

func (AcceptedPlanPathSelectorExtensionsResource) WithValue

type AcceptedPlanPathSelectorExtensionsValue

type AcceptedPlanPathSelectorExtensionsValue struct{}

func (AcceptedPlanPathSelectorExtensionsValue) FieldPath

func (AcceptedPlanPathSelectorExtensionsValue) WithArrayOfValues

func (AcceptedPlanPathSelectorExtensionsValue) WithValue

type AcceptedPlanPathSelectorMetadata

type AcceptedPlanPathSelectorMetadata struct{}

func (AcceptedPlanPathSelectorMetadata) Annotations

func (AcceptedPlanPathSelectorMetadata) CreateTime

func (AcceptedPlanPathSelectorMetadata) DeleteTime added in v0.8.0

func (AcceptedPlanPathSelectorMetadata) FieldPath

func (AcceptedPlanPathSelectorMetadata) Generation

func (AcceptedPlanPathSelectorMetadata) Labels

func (AcceptedPlanPathSelectorMetadata) Lifecycle added in v0.8.0

func (AcceptedPlanPathSelectorMetadata) OwnerReferences

func (AcceptedPlanPathSelectorMetadata) ResourceVersion

func (AcceptedPlanPathSelectorMetadata) Shards

func (AcceptedPlanPathSelectorMetadata) Syncing

func (AcceptedPlanPathSelectorMetadata) Tags

func (AcceptedPlanPathSelectorMetadata) UpdateTime

func (AcceptedPlanPathSelectorMetadata) Uuid

func (AcceptedPlanPathSelectorMetadata) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadata) WithSubArrayItemValue

func (AcceptedPlanPathSelectorMetadata) WithSubArrayOfValues

func (AcceptedPlanPathSelectorMetadata) WithSubPath

func (AcceptedPlanPathSelectorMetadata) WithSubValue

func (AcceptedPlanPathSelectorMetadata) WithValue

type AcceptedPlanPathSelectorMetadataAnnotations

type AcceptedPlanPathSelectorMetadataAnnotations struct{}

func (AcceptedPlanPathSelectorMetadataAnnotations) FieldPath

func (AcceptedPlanPathSelectorMetadataAnnotations) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataAnnotations) WithKey

func (AcceptedPlanPathSelectorMetadataAnnotations) WithValue

type AcceptedPlanPathSelectorMetadataCreateTime

type AcceptedPlanPathSelectorMetadataCreateTime struct{}

func (AcceptedPlanPathSelectorMetadataCreateTime) FieldPath

func (AcceptedPlanPathSelectorMetadataCreateTime) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataCreateTime) WithValue

type AcceptedPlanPathSelectorMetadataDeleteTime added in v0.8.0

type AcceptedPlanPathSelectorMetadataDeleteTime struct{}

func (AcceptedPlanPathSelectorMetadataDeleteTime) FieldPath added in v0.8.0

func (AcceptedPlanPathSelectorMetadataDeleteTime) WithArrayOfValues added in v0.8.0

func (AcceptedPlanPathSelectorMetadataDeleteTime) WithValue added in v0.8.0

type AcceptedPlanPathSelectorMetadataGeneration

type AcceptedPlanPathSelectorMetadataGeneration struct{}

func (AcceptedPlanPathSelectorMetadataGeneration) FieldPath

func (AcceptedPlanPathSelectorMetadataGeneration) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataGeneration) WithValue

type AcceptedPlanPathSelectorMetadataLabels

type AcceptedPlanPathSelectorMetadataLabels struct{}

func (AcceptedPlanPathSelectorMetadataLabels) FieldPath

func (AcceptedPlanPathSelectorMetadataLabels) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataLabels) WithKey

func (AcceptedPlanPathSelectorMetadataLabels) WithValue

type AcceptedPlanPathSelectorMetadataLifecycle added in v0.8.0

type AcceptedPlanPathSelectorMetadataLifecycle struct{}

func (AcceptedPlanPathSelectorMetadataLifecycle) BlockDeletion added in v0.8.0

func (AcceptedPlanPathSelectorMetadataLifecycle) FieldPath added in v0.8.0

func (AcceptedPlanPathSelectorMetadataLifecycle) State added in v0.8.0

func (AcceptedPlanPathSelectorMetadataLifecycle) WithArrayOfValues added in v0.8.0

func (AcceptedPlanPathSelectorMetadataLifecycle) WithValue added in v0.8.0

type AcceptedPlanPathSelectorMetadataLifecycleBlockDeletion added in v0.8.0

type AcceptedPlanPathSelectorMetadataLifecycleBlockDeletion struct{}

func (AcceptedPlanPathSelectorMetadataLifecycleBlockDeletion) FieldPath added in v0.8.0

func (AcceptedPlanPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues added in v0.8.0

func (AcceptedPlanPathSelectorMetadataLifecycleBlockDeletion) WithValue added in v0.8.0

type AcceptedPlanPathSelectorMetadataLifecycleState added in v0.8.0

type AcceptedPlanPathSelectorMetadataLifecycleState struct{}

func (AcceptedPlanPathSelectorMetadataLifecycleState) FieldPath added in v0.8.0

func (AcceptedPlanPathSelectorMetadataLifecycleState) WithArrayOfValues added in v0.8.0

func (AcceptedPlanPathSelectorMetadataLifecycleState) WithValue added in v0.8.0

type AcceptedPlanPathSelectorMetadataOwnerReferences

type AcceptedPlanPathSelectorMetadataOwnerReferences struct{}

func (AcceptedPlanPathSelectorMetadataOwnerReferences) BlockOwnerDeletion

func (AcceptedPlanPathSelectorMetadataOwnerReferences) Controller

func (AcceptedPlanPathSelectorMetadataOwnerReferences) FieldPath

func (AcceptedPlanPathSelectorMetadataOwnerReferences) Kind

func (AcceptedPlanPathSelectorMetadataOwnerReferences) Name

func (AcceptedPlanPathSelectorMetadataOwnerReferences) Region added in v0.8.0

func (AcceptedPlanPathSelectorMetadataOwnerReferences) RequiresOwnerReference added in v0.8.0

func (AcceptedPlanPathSelectorMetadataOwnerReferences) Version added in v0.8.0

func (AcceptedPlanPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataOwnerReferences) WithItemValue

func (AcceptedPlanPathSelectorMetadataOwnerReferences) WithValue

type AcceptedPlanPathSelectorMetadataOwnerReferencesBlockOwnerDeletion

type AcceptedPlanPathSelectorMetadataOwnerReferencesBlockOwnerDeletion struct{}

func (AcceptedPlanPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) FieldPath

func (AcceptedPlanPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue

type AcceptedPlanPathSelectorMetadataOwnerReferencesController

type AcceptedPlanPathSelectorMetadataOwnerReferencesController struct{}

func (AcceptedPlanPathSelectorMetadataOwnerReferencesController) FieldPath

func (AcceptedPlanPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataOwnerReferencesController) WithValue

type AcceptedPlanPathSelectorMetadataOwnerReferencesKind

type AcceptedPlanPathSelectorMetadataOwnerReferencesKind struct{}

func (AcceptedPlanPathSelectorMetadataOwnerReferencesKind) FieldPath

func (AcceptedPlanPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataOwnerReferencesKind) WithValue

type AcceptedPlanPathSelectorMetadataOwnerReferencesName

type AcceptedPlanPathSelectorMetadataOwnerReferencesName struct{}

func (AcceptedPlanPathSelectorMetadataOwnerReferencesName) FieldPath

func (AcceptedPlanPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataOwnerReferencesName) WithValue

type AcceptedPlanPathSelectorMetadataOwnerReferencesRegion added in v0.8.0

type AcceptedPlanPathSelectorMetadataOwnerReferencesRegion struct{}

func (AcceptedPlanPathSelectorMetadataOwnerReferencesRegion) FieldPath added in v0.8.0

func (AcceptedPlanPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues added in v0.8.0

func (AcceptedPlanPathSelectorMetadataOwnerReferencesRegion) WithValue added in v0.8.0

type AcceptedPlanPathSelectorMetadataOwnerReferencesRequiresOwnerReference added in v0.8.0

type AcceptedPlanPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (AcceptedPlanPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath added in v0.8.0

func (AcceptedPlanPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues added in v0.8.0

func (AcceptedPlanPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue added in v0.8.0

type AcceptedPlanPathSelectorMetadataOwnerReferencesVersion added in v0.8.0

type AcceptedPlanPathSelectorMetadataOwnerReferencesVersion struct{}

func (AcceptedPlanPathSelectorMetadataOwnerReferencesVersion) FieldPath added in v0.8.0

func (AcceptedPlanPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues added in v0.8.0

func (AcceptedPlanPathSelectorMetadataOwnerReferencesVersion) WithValue added in v0.8.0

type AcceptedPlanPathSelectorMetadataResourceVersion

type AcceptedPlanPathSelectorMetadataResourceVersion struct{}

func (AcceptedPlanPathSelectorMetadataResourceVersion) FieldPath

func (AcceptedPlanPathSelectorMetadataResourceVersion) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataResourceVersion) WithValue

type AcceptedPlanPathSelectorMetadataShards

type AcceptedPlanPathSelectorMetadataShards struct{}

func (AcceptedPlanPathSelectorMetadataShards) FieldPath

func (AcceptedPlanPathSelectorMetadataShards) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataShards) WithKey

func (AcceptedPlanPathSelectorMetadataShards) WithValue

type AcceptedPlanPathSelectorMetadataSyncing

type AcceptedPlanPathSelectorMetadataSyncing struct{}

func (AcceptedPlanPathSelectorMetadataSyncing) FieldPath

func (AcceptedPlanPathSelectorMetadataSyncing) OwningRegion

func (AcceptedPlanPathSelectorMetadataSyncing) Regions

func (AcceptedPlanPathSelectorMetadataSyncing) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataSyncing) WithValue

type AcceptedPlanPathSelectorMetadataSyncingOwningRegion

type AcceptedPlanPathSelectorMetadataSyncingOwningRegion struct{}

func (AcceptedPlanPathSelectorMetadataSyncingOwningRegion) FieldPath

func (AcceptedPlanPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataSyncingOwningRegion) WithValue

type AcceptedPlanPathSelectorMetadataSyncingRegions

type AcceptedPlanPathSelectorMetadataSyncingRegions struct{}

func (AcceptedPlanPathSelectorMetadataSyncingRegions) FieldPath

func (AcceptedPlanPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataSyncingRegions) WithItemValue

func (AcceptedPlanPathSelectorMetadataSyncingRegions) WithValue

type AcceptedPlanPathSelectorMetadataTags

type AcceptedPlanPathSelectorMetadataTags struct{}

func (AcceptedPlanPathSelectorMetadataTags) FieldPath

func (AcceptedPlanPathSelectorMetadataTags) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataTags) WithItemValue

func (AcceptedPlanPathSelectorMetadataTags) WithValue

type AcceptedPlanPathSelectorMetadataUpdateTime

type AcceptedPlanPathSelectorMetadataUpdateTime struct{}

func (AcceptedPlanPathSelectorMetadataUpdateTime) FieldPath

func (AcceptedPlanPathSelectorMetadataUpdateTime) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataUpdateTime) WithValue

type AcceptedPlanPathSelectorMetadataUuid

type AcceptedPlanPathSelectorMetadataUuid struct{}

func (AcceptedPlanPathSelectorMetadataUuid) FieldPath

func (AcceptedPlanPathSelectorMetadataUuid) WithArrayOfValues

func (AcceptedPlanPathSelectorMetadataUuid) WithValue

type AcceptedPlanPathSelectorName

type AcceptedPlanPathSelectorName struct{}

func (AcceptedPlanPathSelectorName) FieldPath

func (AcceptedPlanPathSelectorName) WithArrayOfValues

func (AcceptedPlanPathSelectorName) WithValue

type AcceptedPlanPathSelectorPlan

type AcceptedPlanPathSelectorPlan struct{}

func (AcceptedPlanPathSelectorPlan) FieldPath

func (AcceptedPlanPathSelectorPlan) WithArrayOfValues

func (AcceptedPlanPathSelectorPlan) WithValue

type AcceptedPlanPathSelectorRegionalDistributions

type AcceptedPlanPathSelectorRegionalDistributions struct{}

func (AcceptedPlanPathSelectorRegionalDistributions) FieldPath

func (AcceptedPlanPathSelectorRegionalDistributions) LimitsByRegion

func (AcceptedPlanPathSelectorRegionalDistributions) Resource

func (AcceptedPlanPathSelectorRegionalDistributions) WithArrayOfValues

func (AcceptedPlanPathSelectorRegionalDistributions) WithItemValue

func (AcceptedPlanPathSelectorRegionalDistributions) WithSubArrayItemValue

func (AcceptedPlanPathSelectorRegionalDistributions) WithSubArrayOfValues

func (AcceptedPlanPathSelectorRegionalDistributions) WithSubPath

func (AcceptedPlanPathSelectorRegionalDistributions) WithSubValue

func (AcceptedPlanPathSelectorRegionalDistributions) WithValue

type AcceptedPlanPathSelectorRegionalDistributionsLimitsByRegion

type AcceptedPlanPathSelectorRegionalDistributionsLimitsByRegion struct{}

func (AcceptedPlanPathSelectorRegionalDistributionsLimitsByRegion) FieldPath

func (AcceptedPlanPathSelectorRegionalDistributionsLimitsByRegion) WithArrayOfValues

func (AcceptedPlanPathSelectorRegionalDistributionsLimitsByRegion) WithKey

func (AcceptedPlanPathSelectorRegionalDistributionsLimitsByRegion) WithValue

type AcceptedPlanPathSelectorRegionalDistributionsResource

type AcceptedPlanPathSelectorRegionalDistributionsResource struct{}

func (AcceptedPlanPathSelectorRegionalDistributionsResource) FieldPath

func (AcceptedPlanPathSelectorRegionalDistributionsResource) WithArrayOfValues

func (AcceptedPlanPathSelectorRegionalDistributionsResource) WithValue

type AcceptedPlanPathSelectorService

type AcceptedPlanPathSelectorService struct{}

func (AcceptedPlanPathSelectorService) FieldPath

func (AcceptedPlanPathSelectorService) WithArrayOfValues

func (AcceptedPlanPathSelectorService) WithValue

type AcceptedPlanReferenceList

type AcceptedPlanReferenceList []*Reference

func (AcceptedPlanReferenceList) Append

func (AcceptedPlanReferenceList) AppendList

func (AcceptedPlanReferenceList) At

func (AcceptedPlanReferenceList) Length

func (l AcceptedPlanReferenceList) Length() int

func (AcceptedPlanReferenceList) Set

func (AcceptedPlanReferenceList) Slice

type AcceptedPlan_Assignee

type AcceptedPlan_Assignee struct {

	// Types that are valid to be assigned to Assignee:
	//	*AcceptedPlan_Assignee_ProjectAssignee
	//	*AcceptedPlan_Assignee_OrganizationAssignee
	//	*AcceptedPlan_Assignee_SystemAssignee
	Assignee isAcceptedPlan_Assignee_Assignee `protobuf_oneof:"assignee"`
	// contains filtered or unexported fields
}

Assignee indicates for whom plan was accepted for. In case of child project/org deletion, accepted plan will be deleted too, which will result in return of all limits.

func (*AcceptedPlan_Assignee) Clone

func (*AcceptedPlan_Assignee) CloneRaw

func (*AcceptedPlan_Assignee) Descriptor

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

Deprecated, Use AcceptedPlan_Assignee.ProtoReflect.Descriptor instead.

func (*AcceptedPlan_Assignee) GetAssignee

func (m *AcceptedPlan_Assignee) GetAssignee() isAcceptedPlan_Assignee_Assignee

func (*AcceptedPlan_Assignee) GetOrganizationAssignee

func (m *AcceptedPlan_Assignee) GetOrganizationAssignee() *iam_organization.Reference

func (*AcceptedPlan_Assignee) GetProjectAssignee

func (m *AcceptedPlan_Assignee) GetProjectAssignee() *iam_project.Reference

func (*AcceptedPlan_Assignee) GetSystemAssignee

func (m *AcceptedPlan_Assignee) GetSystemAssignee() bool

func (*AcceptedPlan_Assignee) GotenMessage

func (*AcceptedPlan_Assignee) GotenMessage()

func (*AcceptedPlan_Assignee) GotenObjectExt

func (o *AcceptedPlan_Assignee) GotenObjectExt()

func (*AcceptedPlan_Assignee) GotenValidate

func (obj *AcceptedPlan_Assignee) GotenValidate() error

func (*AcceptedPlan_Assignee) MakeDiffFieldMask

func (*AcceptedPlan_Assignee) MakeFullFieldMask

func (*AcceptedPlan_Assignee) MakeRawDiffFieldMask

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

func (*AcceptedPlan_Assignee) MakeRawFullFieldMask

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

func (*AcceptedPlan_Assignee) Marshal

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

func (*AcceptedPlan_Assignee) MarshalJSON

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

func (*AcceptedPlan_Assignee) Merge

func (o *AcceptedPlan_Assignee) Merge(source *AcceptedPlan_Assignee)

func (*AcceptedPlan_Assignee) MergeRaw

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

func (*AcceptedPlan_Assignee) ProtoMessage

func (*AcceptedPlan_Assignee) ProtoMessage()

func (*AcceptedPlan_Assignee) ProtoReflect

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

func (*AcceptedPlan_Assignee) Reset

func (m *AcceptedPlan_Assignee) Reset()

func (*AcceptedPlan_Assignee) SetAssignee

func (m *AcceptedPlan_Assignee) SetAssignee(ofv isAcceptedPlan_Assignee_Assignee)

func (*AcceptedPlan_Assignee) SetOrganizationAssignee

func (m *AcceptedPlan_Assignee) SetOrganizationAssignee(fv *iam_organization.Reference)

func (*AcceptedPlan_Assignee) SetProjectAssignee

func (m *AcceptedPlan_Assignee) SetProjectAssignee(fv *iam_project.Reference)

func (*AcceptedPlan_Assignee) SetSystemAssignee

func (m *AcceptedPlan_Assignee) SetSystemAssignee(fv bool)

func (*AcceptedPlan_Assignee) String

func (m *AcceptedPlan_Assignee) String() string

func (*AcceptedPlan_Assignee) Unmarshal

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

func (*AcceptedPlan_Assignee) UnmarshalJSON

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

type AcceptedPlan_AssigneePathSelectorOrganizationAssignee

type AcceptedPlan_AssigneePathSelectorOrganizationAssignee struct{}

func (AcceptedPlan_AssigneePathSelectorOrganizationAssignee) FieldPath

func (AcceptedPlan_AssigneePathSelectorOrganizationAssignee) WithArrayOfValues

func (AcceptedPlan_AssigneePathSelectorOrganizationAssignee) WithValue

type AcceptedPlan_AssigneePathSelectorProjectAssignee

type AcceptedPlan_AssigneePathSelectorProjectAssignee struct{}

func (AcceptedPlan_AssigneePathSelectorProjectAssignee) FieldPath

func (AcceptedPlan_AssigneePathSelectorProjectAssignee) WithArrayOfValues

func (AcceptedPlan_AssigneePathSelectorProjectAssignee) WithValue

type AcceptedPlan_AssigneePathSelectorSystemAssignee

type AcceptedPlan_AssigneePathSelectorSystemAssignee struct{}

func (AcceptedPlan_AssigneePathSelectorSystemAssignee) FieldPath

func (AcceptedPlan_AssigneePathSelectorSystemAssignee) WithArrayOfValues

func (AcceptedPlan_AssigneePathSelectorSystemAssignee) WithValue

type AcceptedPlan_Assignee_FieldMask

type AcceptedPlan_Assignee_FieldMask struct {
	Paths []AcceptedPlanAssignee_FieldPath
}

func FullAcceptedPlan_Assignee_FieldMask

func FullAcceptedPlan_Assignee_FieldMask() *AcceptedPlan_Assignee_FieldMask

func (*AcceptedPlan_Assignee_FieldMask) AppendPath

func (*AcceptedPlan_Assignee_FieldMask) AppendRawPath

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

func (*AcceptedPlan_Assignee_FieldMask) DecodeFirestore

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

func (*AcceptedPlan_Assignee_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*AcceptedPlan_Assignee_FieldMask) FilterInputFields

func (fieldMask *AcceptedPlan_Assignee_FieldMask) FilterInputFields() *AcceptedPlan_Assignee_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AcceptedPlan_Assignee_FieldMask) FromProtoFieldMask

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

func (*AcceptedPlan_Assignee_FieldMask) GetPaths

func (*AcceptedPlan_Assignee_FieldMask) GetRawPaths

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

func (*AcceptedPlan_Assignee_FieldMask) IsFull

func (fieldMask *AcceptedPlan_Assignee_FieldMask) IsFull() bool

func (AcceptedPlan_Assignee_FieldMask) Marshal

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

implement methods required by customType

func (AcceptedPlan_Assignee_FieldMask) MarshalJSON

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

func (*AcceptedPlan_Assignee_FieldMask) PathsCount

func (fieldMask *AcceptedPlan_Assignee_FieldMask) PathsCount() int

func (*AcceptedPlan_Assignee_FieldMask) Project

func (*AcceptedPlan_Assignee_FieldMask) ProjectRaw

func (*AcceptedPlan_Assignee_FieldMask) ProtoMessage

func (fieldMask *AcceptedPlan_Assignee_FieldMask) ProtoMessage()

func (*AcceptedPlan_Assignee_FieldMask) ProtoReflect

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

func (*AcceptedPlan_Assignee_FieldMask) Reset

func (fieldMask *AcceptedPlan_Assignee_FieldMask) Reset()

func (*AcceptedPlan_Assignee_FieldMask) Set

func (fieldMask *AcceptedPlan_Assignee_FieldMask) Set(target, source *AcceptedPlan_Assignee)

func (*AcceptedPlan_Assignee_FieldMask) SetFromCliFlag

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

func (*AcceptedPlan_Assignee_FieldMask) SetRaw

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

func (*AcceptedPlan_Assignee_FieldMask) Size

func (fieldMask *AcceptedPlan_Assignee_FieldMask) Size() int

func (*AcceptedPlan_Assignee_FieldMask) String

func (fieldMask *AcceptedPlan_Assignee_FieldMask) String() string

func (*AcceptedPlan_Assignee_FieldMask) Subtract

func (*AcceptedPlan_Assignee_FieldMask) SubtractRaw

func (*AcceptedPlan_Assignee_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*AcceptedPlan_Assignee_FieldMask) Unmarshal

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

func (*AcceptedPlan_Assignee_FieldMask) UnmarshalJSON

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

type AcceptedPlan_Assignee_OrganizationAssignee

type AcceptedPlan_Assignee_OrganizationAssignee struct {
	// Organization for whom plan is for.
	OrganizationAssignee *iam_organization.Reference `` /* 142-byte string literal not displayed */
}

type AcceptedPlan_Assignee_ProjectAssignee

type AcceptedPlan_Assignee_ProjectAssignee struct {
	// Project for whom plan is for.
	ProjectAssignee *iam_project.Reference `` /* 127-byte string literal not displayed */
}

type AcceptedPlan_Assignee_SystemAssignee

type AcceptedPlan_Assignee_SystemAssignee struct {
	// If true, it means plan is for system itself.
	SystemAssignee bool `protobuf:"varint,3,opt,name=system_assignee,json=systemAssignee,proto3,oneof" firestore:"systemAssignee"`
}

type AcceptedPlan_FieldMask

type AcceptedPlan_FieldMask struct {
	Paths []AcceptedPlan_FieldPath
}

func FullAcceptedPlan_FieldMask

func FullAcceptedPlan_FieldMask() *AcceptedPlan_FieldMask

func ResourceViewFieldMask

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

func (*AcceptedPlan_FieldMask) AppendPath

func (fieldMask *AcceptedPlan_FieldMask) AppendPath(path AcceptedPlan_FieldPath)

func (*AcceptedPlan_FieldMask) AppendRawPath

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

func (*AcceptedPlan_FieldMask) DecodeFirestore

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

func (*AcceptedPlan_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*AcceptedPlan_FieldMask) FilterInputFields

func (fieldMask *AcceptedPlan_FieldMask) FilterInputFields() *AcceptedPlan_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AcceptedPlan_FieldMask) FromProtoFieldMask

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

func (*AcceptedPlan_FieldMask) GetPaths

func (fieldMask *AcceptedPlan_FieldMask) GetPaths() []AcceptedPlan_FieldPath

func (*AcceptedPlan_FieldMask) GetRawPaths

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

func (*AcceptedPlan_FieldMask) IsFull

func (fieldMask *AcceptedPlan_FieldMask) IsFull() bool

func (AcceptedPlan_FieldMask) Marshal

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

implement methods required by customType

func (AcceptedPlan_FieldMask) MarshalJSON

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

func (*AcceptedPlan_FieldMask) PathsCount

func (fieldMask *AcceptedPlan_FieldMask) PathsCount() int

func (*AcceptedPlan_FieldMask) Project

func (fieldMask *AcceptedPlan_FieldMask) Project(source *AcceptedPlan) *AcceptedPlan

func (*AcceptedPlan_FieldMask) ProjectRaw

func (*AcceptedPlan_FieldMask) ProtoMessage

func (fieldMask *AcceptedPlan_FieldMask) ProtoMessage()

func (*AcceptedPlan_FieldMask) ProtoReflect

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

func (*AcceptedPlan_FieldMask) Reset

func (fieldMask *AcceptedPlan_FieldMask) Reset()

func (*AcceptedPlan_FieldMask) Set

func (fieldMask *AcceptedPlan_FieldMask) Set(target, source *AcceptedPlan)

func (*AcceptedPlan_FieldMask) SetFromCliFlag

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

func (*AcceptedPlan_FieldMask) SetRaw

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

func (*AcceptedPlan_FieldMask) Size

func (fieldMask *AcceptedPlan_FieldMask) Size() int

func (*AcceptedPlan_FieldMask) String

func (fieldMask *AcceptedPlan_FieldMask) String() string

func (*AcceptedPlan_FieldMask) Subtract

func (*AcceptedPlan_FieldMask) SubtractRaw

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

func (*AcceptedPlan_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*AcceptedPlan_FieldMask) Unmarshal

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

func (*AcceptedPlan_FieldMask) UnmarshalJSON

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

type AcceptedPlan_FieldPath

type AcceptedPlan_FieldPath interface {
	gotenobject.FieldPath
	Selector() AcceptedPlan_FieldPathSelector
	Get(source *AcceptedPlan) []interface{}
	GetSingle(source *AcceptedPlan) (interface{}, bool)
	ClearValue(item *AcceptedPlan)

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

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

func MustParseAcceptedPlan_FieldPath

func MustParseAcceptedPlan_FieldPath(rawField string) AcceptedPlan_FieldPath

func ParseAcceptedPlan_FieldPath

func ParseAcceptedPlan_FieldPath(rawField string) (AcceptedPlan_FieldPath, error)

type AcceptedPlan_FieldPathArrayItemValue

type AcceptedPlan_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AcceptedPlan_FieldPath
	ContainsValue(*AcceptedPlan) bool
}

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

func MustParseAcceptedPlan_FieldPathArrayItemValue

func MustParseAcceptedPlan_FieldPathArrayItemValue(pathStr, valueStr string) AcceptedPlan_FieldPathArrayItemValue

func ParseAcceptedPlan_FieldPathArrayItemValue

func ParseAcceptedPlan_FieldPathArrayItemValue(pathStr, valueStr string) (AcceptedPlan_FieldPathArrayItemValue, error)

ParseAcceptedPlan_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AcceptedPlan_FieldPathArrayOfValues

type AcceptedPlan_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AcceptedPlan_FieldPath
}

AcceptedPlan_FieldPathArrayOfValues allows storing slice of values for AcceptedPlan fields according to their type

func MustParseAcceptedPlan_FieldPathArrayOfValues

func MustParseAcceptedPlan_FieldPathArrayOfValues(pathStr, valuesStr string) AcceptedPlan_FieldPathArrayOfValues

func ParseAcceptedPlan_FieldPathArrayOfValues

func ParseAcceptedPlan_FieldPathArrayOfValues(pathStr, valuesStr string) (AcceptedPlan_FieldPathArrayOfValues, error)

type AcceptedPlan_FieldPathSelector

type AcceptedPlan_FieldPathSelector int32
const (
	AcceptedPlan_FieldPathSelectorName                  AcceptedPlan_FieldPathSelector = 0
	AcceptedPlan_FieldPathSelectorPlan                  AcceptedPlan_FieldPathSelector = 1
	AcceptedPlan_FieldPathSelectorService               AcceptedPlan_FieldPathSelector = 2
	AcceptedPlan_FieldPathSelectorExtensions            AcceptedPlan_FieldPathSelector = 3
	AcceptedPlan_FieldPathSelectorRegionalDistributions AcceptedPlan_FieldPathSelector = 4
	AcceptedPlan_FieldPathSelectorAssignee              AcceptedPlan_FieldPathSelector = 5
	AcceptedPlan_FieldPathSelectorMetadata              AcceptedPlan_FieldPathSelector = 6
)

func (AcceptedPlan_FieldPathSelector) String

type AcceptedPlan_FieldPathValue

type AcceptedPlan_FieldPathValue interface {
	AcceptedPlan_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AcceptedPlan)
	CompareWith(*AcceptedPlan) (cmp int, comparable bool)
}

AcceptedPlan_FieldPathValue allows storing values for AcceptedPlan fields according to their type

func MustParseAcceptedPlan_FieldPathValue

func MustParseAcceptedPlan_FieldPathValue(pathStr, valueStr string) AcceptedPlan_FieldPathValue

func ParseAcceptedPlan_FieldPathValue

func ParseAcceptedPlan_FieldPathValue(pathStr, valueStr string) (AcceptedPlan_FieldPathValue, error)

type AcceptedPlan_FieldSubPath

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

func (*AcceptedPlan_FieldSubPath) AsAssigneeSubPath

func (*AcceptedPlan_FieldSubPath) AsExtensionsSubPath

func (fps *AcceptedPlan_FieldSubPath) AsExtensionsSubPath() (common.Allowance_FieldPath, bool)

func (*AcceptedPlan_FieldSubPath) AsMetadataSubPath

func (fps *AcceptedPlan_FieldSubPath) AsMetadataSubPath() (ntt_meta.Meta_FieldPath, bool)

func (*AcceptedPlan_FieldSubPath) AsRegionalDistributionsSubPath

func (fps *AcceptedPlan_FieldSubPath) AsRegionalDistributionsSubPath() (common.RegionalDistribution_FieldPath, bool)

func (*AcceptedPlan_FieldSubPath) ClearValue

func (fps *AcceptedPlan_FieldSubPath) ClearValue(item *AcceptedPlan)

func (*AcceptedPlan_FieldSubPath) ClearValueRaw

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

func (*AcceptedPlan_FieldSubPath) Get

func (fps *AcceptedPlan_FieldSubPath) Get(source *AcceptedPlan) (values []interface{})

Get returns all values pointed by selected field from source AcceptedPlan

func (*AcceptedPlan_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AcceptedPlan_FieldSubPath) GetRaw

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

func (*AcceptedPlan_FieldSubPath) GetSingle

func (fps *AcceptedPlan_FieldSubPath) GetSingle(source *AcceptedPlan) (interface{}, bool)

GetSingle returns value of selected field from source AcceptedPlan

func (*AcceptedPlan_FieldSubPath) GetSingleRaw

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

func (*AcceptedPlan_FieldSubPath) IsLeaf

func (fps *AcceptedPlan_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*AcceptedPlan_FieldSubPath) JSONString

func (fps *AcceptedPlan_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*AcceptedPlan_FieldSubPath) Selector

func (*AcceptedPlan_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*AcceptedPlan_FieldSubPath) String

func (fps *AcceptedPlan_FieldSubPath) String() string

String returns path representation in proto convention

func (*AcceptedPlan_FieldSubPath) WithIArrayItemValue

func (fps *AcceptedPlan_FieldSubPath) WithIArrayItemValue(value interface{}) AcceptedPlan_FieldPathArrayItemValue

func (*AcceptedPlan_FieldSubPath) WithIArrayOfValues

func (fps *AcceptedPlan_FieldSubPath) WithIArrayOfValues(values interface{}) AcceptedPlan_FieldPathArrayOfValues

func (*AcceptedPlan_FieldSubPath) WithIValue

func (fps *AcceptedPlan_FieldSubPath) WithIValue(value interface{}) AcceptedPlan_FieldPathValue

func (*AcceptedPlan_FieldSubPath) WithRawIArrayItemValue

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

func (*AcceptedPlan_FieldSubPath) WithRawIArrayOfValues

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

func (*AcceptedPlan_FieldSubPath) WithRawIValue

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

type AcceptedPlan_FieldSubPathArrayItemValue

type AcceptedPlan_FieldSubPathArrayItemValue struct {
	AcceptedPlan_FieldPath
	// contains filtered or unexported fields
}

func (*AcceptedPlan_FieldSubPathArrayItemValue) AsAssigneePathItemValue

func (*AcceptedPlan_FieldSubPathArrayItemValue) AsExtensionsPathItemValue

func (*AcceptedPlan_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (*AcceptedPlan_FieldSubPathArrayItemValue) AsRegionalDistributionsPathItemValue

func (fpaivs *AcceptedPlan_FieldSubPathArrayItemValue) AsRegionalDistributionsPathItemValue() (common.RegionalDistribution_FieldPathArrayItemValue, bool)

func (*AcceptedPlan_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *AcceptedPlan_FieldSubPathArrayItemValue) ContainsValue(source *AcceptedPlan) bool

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

func (*AcceptedPlan_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type AcceptedPlan_FieldSubPathArrayOfValues

type AcceptedPlan_FieldSubPathArrayOfValues struct {
	AcceptedPlan_FieldPath
	// contains filtered or unexported fields
}

func (*AcceptedPlan_FieldSubPathArrayOfValues) AsAssigneePathArrayOfValues

func (*AcceptedPlan_FieldSubPathArrayOfValues) AsExtensionsPathArrayOfValues

func (fpsaov *AcceptedPlan_FieldSubPathArrayOfValues) AsExtensionsPathArrayOfValues() (common.Allowance_FieldPathArrayOfValues, bool)

func (*AcceptedPlan_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

func (fpsaov *AcceptedPlan_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (ntt_meta.Meta_FieldPathArrayOfValues, bool)

func (*AcceptedPlan_FieldSubPathArrayOfValues) AsRegionalDistributionsPathArrayOfValues

func (fpsaov *AcceptedPlan_FieldSubPathArrayOfValues) AsRegionalDistributionsPathArrayOfValues() (common.RegionalDistribution_FieldPathArrayOfValues, bool)

func (*AcceptedPlan_FieldSubPathArrayOfValues) GetRawValues

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

type AcceptedPlan_FieldSubPathValue

type AcceptedPlan_FieldSubPathValue struct {
	AcceptedPlan_FieldPath
	// contains filtered or unexported fields
}

func (*AcceptedPlan_FieldSubPathValue) AsAssigneePathValue

func (*AcceptedPlan_FieldSubPathValue) AsExtensionsPathValue

func (fpvs *AcceptedPlan_FieldSubPathValue) AsExtensionsPathValue() (common.Allowance_FieldPathValue, bool)

func (*AcceptedPlan_FieldSubPathValue) AsMetadataPathValue

func (fpvs *AcceptedPlan_FieldSubPathValue) AsMetadataPathValue() (ntt_meta.Meta_FieldPathValue, bool)

func (*AcceptedPlan_FieldSubPathValue) AsRegionalDistributionsPathValue

func (fpvs *AcceptedPlan_FieldSubPathValue) AsRegionalDistributionsPathValue() (common.RegionalDistribution_FieldPathValue, bool)

func (*AcceptedPlan_FieldSubPathValue) CompareWith

func (fpvs *AcceptedPlan_FieldSubPathValue) CompareWith(source *AcceptedPlan) (int, bool)

func (*AcceptedPlan_FieldSubPathValue) CompareWithRaw

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

func (*AcceptedPlan_FieldSubPathValue) GetRawValue

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

func (*AcceptedPlan_FieldSubPathValue) SetTo

func (fpvs *AcceptedPlan_FieldSubPathValue) SetTo(target **AcceptedPlan)

func (*AcceptedPlan_FieldSubPathValue) SetToRaw

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

type AcceptedPlan_FieldTerminalPath

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

func (*AcceptedPlan_FieldTerminalPath) ClearValue

func (fp *AcceptedPlan_FieldTerminalPath) ClearValue(item *AcceptedPlan)

func (*AcceptedPlan_FieldTerminalPath) ClearValueRaw

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

func (*AcceptedPlan_FieldTerminalPath) Get

func (fp *AcceptedPlan_FieldTerminalPath) Get(source *AcceptedPlan) (values []interface{})

Get returns all values pointed by specific field from source AcceptedPlan

func (*AcceptedPlan_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AcceptedPlan_FieldTerminalPath) GetRaw

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

func (*AcceptedPlan_FieldTerminalPath) GetSingle

func (fp *AcceptedPlan_FieldTerminalPath) GetSingle(source *AcceptedPlan) (interface{}, bool)

GetSingle returns value pointed by specific field of from source AcceptedPlan

func (*AcceptedPlan_FieldTerminalPath) GetSingleRaw

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

func (*AcceptedPlan_FieldTerminalPath) IsLeaf

func (fp *AcceptedPlan_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*AcceptedPlan_FieldTerminalPath) JSONString

func (fp *AcceptedPlan_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*AcceptedPlan_FieldTerminalPath) Selector

func (*AcceptedPlan_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*AcceptedPlan_FieldTerminalPath) String

String returns path representation in proto convention

func (*AcceptedPlan_FieldTerminalPath) WithIArrayItemValue

func (fp *AcceptedPlan_FieldTerminalPath) WithIArrayItemValue(value interface{}) AcceptedPlan_FieldPathArrayItemValue

func (*AcceptedPlan_FieldTerminalPath) WithIArrayOfValues

func (fp *AcceptedPlan_FieldTerminalPath) WithIArrayOfValues(values interface{}) AcceptedPlan_FieldPathArrayOfValues

func (*AcceptedPlan_FieldTerminalPath) WithIValue

func (fp *AcceptedPlan_FieldTerminalPath) WithIValue(value interface{}) AcceptedPlan_FieldPathValue

func (*AcceptedPlan_FieldTerminalPath) WithRawIArrayItemValue

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

func (*AcceptedPlan_FieldTerminalPath) WithRawIArrayOfValues

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

func (*AcceptedPlan_FieldTerminalPath) WithRawIValue

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

type AcceptedPlan_FieldTerminalPathArrayItemValue

type AcceptedPlan_FieldTerminalPathArrayItemValue struct {
	AcceptedPlan_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AcceptedPlan_FieldTerminalPathArrayItemValue) AsExtensionsItemValue

func (fpaiv *AcceptedPlan_FieldTerminalPathArrayItemValue) AsExtensionsItemValue() (*common.Allowance, bool)

func (*AcceptedPlan_FieldTerminalPathArrayItemValue) AsRegionalDistributionsItemValue

func (fpaiv *AcceptedPlan_FieldTerminalPathArrayItemValue) AsRegionalDistributionsItemValue() (*common.RegionalDistribution, bool)

func (*AcceptedPlan_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *AcceptedPlan_FieldTerminalPathArrayItemValue) ContainsValue(source *AcceptedPlan) bool

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

func (*AcceptedPlan_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*AcceptedPlan_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *AcceptedPlan_FieldTerminalPathArrayItemValue) GetSingle(source *AcceptedPlan) (interface{}, bool)

func (*AcceptedPlan_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type AcceptedPlan_FieldTerminalPathArrayOfValues

type AcceptedPlan_FieldTerminalPathArrayOfValues struct {
	AcceptedPlan_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AcceptedPlan_FieldTerminalPathArrayOfValues) AsAssigneeArrayOfValues

func (fpaov *AcceptedPlan_FieldTerminalPathArrayOfValues) AsAssigneeArrayOfValues() ([]*AcceptedPlan_Assignee, bool)

func (*AcceptedPlan_FieldTerminalPathArrayOfValues) AsExtensionsArrayOfValues

func (fpaov *AcceptedPlan_FieldTerminalPathArrayOfValues) AsExtensionsArrayOfValues() ([][]*common.Allowance, bool)

func (*AcceptedPlan_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*AcceptedPlan_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*AcceptedPlan_FieldTerminalPathArrayOfValues) AsPlanArrayOfValues

func (fpaov *AcceptedPlan_FieldTerminalPathArrayOfValues) AsPlanArrayOfValues() ([]*plan.Reference, bool)

func (*AcceptedPlan_FieldTerminalPathArrayOfValues) AsRegionalDistributionsArrayOfValues

func (fpaov *AcceptedPlan_FieldTerminalPathArrayOfValues) AsRegionalDistributionsArrayOfValues() ([][]*common.RegionalDistribution, bool)

func (*AcceptedPlan_FieldTerminalPathArrayOfValues) AsServiceArrayOfValues

func (fpaov *AcceptedPlan_FieldTerminalPathArrayOfValues) AsServiceArrayOfValues() ([]*meta_service.Reference, bool)

func (*AcceptedPlan_FieldTerminalPathArrayOfValues) GetRawValues

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

type AcceptedPlan_FieldTerminalPathValue

type AcceptedPlan_FieldTerminalPathValue struct {
	AcceptedPlan_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AcceptedPlan_FieldTerminalPathValue) AsAssigneeValue

func (*AcceptedPlan_FieldTerminalPathValue) AsExtensionsValue

func (fpv *AcceptedPlan_FieldTerminalPathValue) AsExtensionsValue() ([]*common.Allowance, bool)

func (*AcceptedPlan_FieldTerminalPathValue) AsMetadataValue

func (fpv *AcceptedPlan_FieldTerminalPathValue) AsMetadataValue() (*ntt_meta.Meta, bool)

func (*AcceptedPlan_FieldTerminalPathValue) AsNameValue

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

func (*AcceptedPlan_FieldTerminalPathValue) AsPlanValue

func (fpv *AcceptedPlan_FieldTerminalPathValue) AsPlanValue() (*plan.Reference, bool)

func (*AcceptedPlan_FieldTerminalPathValue) AsRegionalDistributionsValue

func (fpv *AcceptedPlan_FieldTerminalPathValue) AsRegionalDistributionsValue() ([]*common.RegionalDistribution, bool)

func (*AcceptedPlan_FieldTerminalPathValue) AsServiceValue

func (*AcceptedPlan_FieldTerminalPathValue) CompareWith

func (fpv *AcceptedPlan_FieldTerminalPathValue) CompareWith(source *AcceptedPlan) (int, bool)

CompareWith compares value in the 'AcceptedPlan_FieldTerminalPathValue' with the value under path in 'AcceptedPlan'.

func (*AcceptedPlan_FieldTerminalPathValue) CompareWithRaw

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

func (*AcceptedPlan_FieldTerminalPathValue) GetRawValue

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

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

func (*AcceptedPlan_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object AcceptedPlan

func (*AcceptedPlan_FieldTerminalPathValue) SetToRaw

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

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) GetNameDescriptor

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

func (*Descriptor) GetResourceTypeName

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

func (*Descriptor) NewGetQuery

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

func (*Descriptor) NewListQuery

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

func (*Descriptor) NewNameList

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

func (*Descriptor) NewParentNameList

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

func (*Descriptor) NewParentReferenceList

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

func (*Descriptor) NewQueryResultChange

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

func (*Descriptor) NewQueryResultSnapshot

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

func (*Descriptor) NewReferenceList

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

func (*Descriptor) NewResource

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

func (*Descriptor) NewResourceChange

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

func (*Descriptor) NewResourceChangeList

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

func (*Descriptor) NewResourceChangeMap

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

func (*Descriptor) NewResourceCursor

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

func (*Descriptor) NewResourceFieldMask

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

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

func (*Descriptor) NewSearchQuery

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

func (*Descriptor) NewSearchQueryResultSnapshot

func (d *Descriptor) NewSearchQueryResultSnapshot() gotenresource.SearchQueryResultSnapshot

func (*Descriptor) NewWatchQuery

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

func (*Descriptor) ParseFieldPath

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

func (*Descriptor) ParseResourceName

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

type Filter

type Filter struct {
	FilterCondition
}

func (*Filter) ConvertToNative

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

func (*Filter) ConvertToType

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

func (*Filter) DecodeFirestore

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

func (*Filter) EncodeFirestore

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

firestore encoding/decoding integration

func (*Filter) Equal

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

func (*Filter) Evaluate

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

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 AcceptedPlan_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 *AcceptedPlan) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	AcceptedPlan_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *AcceptedPlan) 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 AcceptedPlan_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 *AcceptedPlan) 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 AcceptedPlan_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 *AcceptedPlan) bool

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

func (cond *FilterConditionContains) GetFieldPath() AcceptedPlan_FieldPath

func (*FilterConditionContains) GetRawFieldPath

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

func (*FilterConditionContains) GetRawFieldPathItemValue

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

func (*FilterConditionContains) GetRawFieldPathItemValues

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

func (*FilterConditionContains) Satisfies

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

func (*FilterConditionContains) SatisfiesRaw

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

func (*FilterConditionContains) SpecifiesFieldPath

func (cond *FilterConditionContains) SpecifiesFieldPath(fp AcceptedPlan_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 {
	AcceptedPlan_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *AcceptedPlan) 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 AcceptedPlan_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 AcceptedPlan_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *AcceptedPlan) 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 AcceptedPlan_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 AcceptedPlan_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *AcceptedPlan) 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 AcceptedPlan_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 *AcceptedPlan) 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 AcceptedPlan_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 {
	AcceptedPlan_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *AcceptedPlan) 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 AcceptedPlan_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      *AcceptedPlan_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   *AcceptedPlan_FieldMask
}

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

func (q *ListQuery) String() string

type Name

type Name struct {
	ParentName
	AcceptedPlanId string `firestore:"acceptedPlanId"`
}

func MustParseName

func MustParseName(name string) *Name

func ParseName

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

func ParseNameOrId

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

func (*Name) AsRawReference

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

func (*Name) AsReference

func (name *Name) AsReference() *Reference

func (*Name) ConvertToNative

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

func (*Name) ConvertToType

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

func (*Name) Equal

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

func (*Name) FullyQualifiedName

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

func (*Name) GetIParentName added in v0.8.0

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

func (*Name) GetIUnderlyingParentName added in v0.8.0

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

func (*Name) GetIdParts

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

func (*Name) GetOrganizationName

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

func (*Name) GetPattern

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

func (*Name) GetResourceDescriptor

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

func (*Name) GetSegments

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

func (*Name) GotenEqual

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

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

func (*Name) HasTrait

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

func (*Name) IsFullyQualified

func (name *Name) IsFullyQualified() bool

func (*Name) IsSpecified

func (name *Name) IsSpecified() bool

func (*Name) Match

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

func (*Name) Matches

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

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

func (*Name) ParseProtoString

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

func (*Name) ProtoString

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

func (*Name) Receive

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

func (*Name) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*Name) SetFromSegments

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

func (*Name) String

func (name *Name) String() string

func (*Name) Type

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

func (*Name) TypeName

func (name *Name) TypeName() string

func (*Name) Value

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

type NameBuilder

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

func NewNameBuilder

func NewNameBuilder() *NameBuilder

func (*NameBuilder) Name

func (b *NameBuilder) Name() *Name

func (*NameBuilder) Parent

func (b *NameBuilder) Parent() *ParentName

func (*NameBuilder) ParentReference

func (b *NameBuilder) ParentReference() *ParentReference

func (*NameBuilder) Reference

func (b *NameBuilder) Reference() *Reference

func (*NameBuilder) SetId

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

func (*NameBuilder) SetOrganization

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

func (*NameBuilder) SetOrganizationId

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

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 *AcceptedPlan) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *AcceptedPlan_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 AcceptedPlanList, elem *AcceptedPlan) (AcceptedPlanList, 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 AcceptedPlanList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

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

func (*OrderByField) GetDirection

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

func (*OrderByField) GetFieldPath

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

type PagerCursor

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

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

func (*PagerCursor) GetInclusion

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

func (*PagerCursor) GetPageDirection

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

func (*PagerCursor) GetValue

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

func (*PagerCursor) IsEmpty

func (cursor *PagerCursor) IsEmpty() bool

func (*PagerCursor) ParseProtoString

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

func (*PagerCursor) ProtoString

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

func (*PagerCursor) SetCursorValue

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

func (*PagerCursor) SetFromCliFlag

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

func (*PagerCursor) SetInclusion

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

func (*PagerCursor) SetPageDirection

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

func (*PagerCursor) String

func (cursor *PagerCursor) String() string

type PagerQuery

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

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

func MakePagerQuery

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

MakePagerQuery builds pager from API data and applies defaults

func (*PagerQuery) GetCursor

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

func (*PagerQuery) GetLimit

func (p *PagerQuery) GetLimit() int

func (*PagerQuery) GetOrderBy

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

func (*PagerQuery) GetPeekForward

func (p *PagerQuery) GetPeekForward() bool

func (*PagerQuery) GetResourceDescriptor

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

func (*PagerQuery) PageDirection

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

func (*PagerQuery) SetCursor added in v0.8.0

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

func (*PagerQuery) SetLimit added in v0.8.0

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy added in v0.8.0

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

func (*PagerQuery) SetPageDirection added in v0.8.0

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

func (*PagerQuery) SetPeekForward added in v0.8.0

func (p *PagerQuery) SetPeekForward(peekForward bool)

type ParentName

type ParentName struct {
	NamePattern
	OrganizationId string `firestore:"organizationId"`
}

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

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

func (*ParentName) FullyQualifiedName

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

func (*ParentName) GetIParentName added in v0.8.0

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

func (*ParentName) GetIUnderlyingParentName added in v0.8.0

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

func (*ParentName) GetIdParts

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

func (*ParentName) GetOrganizationName

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

func (*ParentName) GetPattern

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

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

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified

func (name *ParentName) IsSpecified() bool

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

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) ConvertToNative added in v0.6.9

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

func (*ParentReference) ConvertToType added in v0.6.9

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

func (*ParentReference) Equal added in v0.6.9

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

func (*ParentReference) GetIParentName added in v0.8.0

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

func (*ParentReference) GetIUnderlyingParentName added in v0.8.0

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

func (*ParentReference) GetIdParts

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

func (*ParentReference) GetOrganization

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

func (*ParentReference) GetOrganizationReference

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

func (*ParentReference) GetPattern

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

func (*ParentReference) 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) HasTrait added in v0.6.9

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

func (*ParentReference) IsFullyQualified

func (ref *ParentReference) IsFullyQualified() bool

func (*ParentReference) IsSpecified

func (ref *ParentReference) IsSpecified() bool

func (*ParentReference) Match added in v0.6.9

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

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) Receive added in v0.6.9

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

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

func (*ParentReference) Type added in v0.6.9

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

func (*ParentReference) TypeName added in v0.6.9

func (name *ParentReference) TypeName() string

func (*ParentReference) Value added in v0.6.9

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

type QueryResultChange

type QueryResultChange struct {
	Changes        []*AcceptedPlanChange
	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 {
	AcceptedPlans  []*AcceptedPlan
	PrevPageCursor *PagerCursor
	NextPageCursor *PagerCursor
}

func (*QueryResultSnapshot) GetNextPageCursor

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

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) 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, acceptedPlan *AcceptedPlan) (*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) GetAcceptedPlan

func (ref *Reference) GetAcceptedPlan() *AcceptedPlan

func (*Reference) GetIParentName added in v0.8.0

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

func (*Reference) GetIUnderlyingParentName added in v0.8.0

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

func (*Reference) GetIdParts

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

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

func (*Reference) ResolveRaw

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

func (*Reference) Resolved

func (ref *Reference) Resolved() bool

func (*Reference) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*Reference) String

func (ref *Reference) String() string

type WatchQuery

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

func (*WatchQuery) GetMaximumChunkSize

func (q *WatchQuery) GetMaximumChunkSize() int

func (*WatchQuery) GetResumeToken

func (q *WatchQuery) GetResumeToken() string

func (*WatchQuery) GetStartingTime added in v0.9.0

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

func (*WatchQuery) GetWatchType

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

func (*WatchQuery) SetMaximumChunkSize

func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)

func (*WatchQuery) SetResumeToken

func (q *WatchQuery) SetResumeToken(token string)

func (*WatchQuery) SetStartingTime added in v0.9.0

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

func (*WatchQuery) SetWatchType

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

func (*WatchQuery) String

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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