common

package
v1.0.45 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Allowance

type Allowance struct {

	// Reference to resource
	Resource *meta_resource.Reference `protobuf:"bytes,1,opt,customtype=Reference,name=resource,proto3" json:"resource,omitempty" firestore:"resource"`
	// Limit or extension for given resource.
	Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty" firestore:"value"`
	// Region ID where allowance applies - empty if for all.
	Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty" firestore:"region"`
	// contains filtered or unexported fields
}

Allowance informs how many instances of resource for given type are permitted.

func (*Allowance) Clone

func (o *Allowance) Clone() *Allowance

func (*Allowance) CloneRaw

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

func (*Allowance) Descriptor

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

Deprecated, Use Allowance.ProtoReflect.Descriptor instead.

func (*Allowance) GetRegion

func (m *Allowance) GetRegion() string

func (*Allowance) GetResource

func (m *Allowance) GetResource() *meta_resource.Reference

func (*Allowance) GetValue

func (m *Allowance) GetValue() int64

func (*Allowance) GotenMessage

func (*Allowance) GotenMessage()

func (*Allowance) GotenObjectExt

func (o *Allowance) GotenObjectExt()

func (*Allowance) GotenValidate

func (obj *Allowance) GotenValidate() error

func (*Allowance) MakeDiffFieldMask

func (o *Allowance) MakeDiffFieldMask(other *Allowance) *Allowance_FieldMask

func (*Allowance) MakeFullFieldMask

func (o *Allowance) MakeFullFieldMask() *Allowance_FieldMask

func (*Allowance) MakeRawDiffFieldMask

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

func (*Allowance) MakeRawFullFieldMask

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

func (*Allowance) Marshal

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

func (*Allowance) MarshalJSON

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

func (*Allowance) Merge

func (o *Allowance) Merge(source *Allowance)

func (*Allowance) MergeRaw

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

func (*Allowance) ProtoMessage

func (*Allowance) ProtoMessage()

func (*Allowance) ProtoReflect

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

func (*Allowance) Reset

func (m *Allowance) Reset()

func (*Allowance) SetRegion

func (m *Allowance) SetRegion(fv string)

func (*Allowance) SetResource

func (m *Allowance) SetResource(fv *meta_resource.Reference)

func (*Allowance) SetValue

func (m *Allowance) SetValue(fv int64)

func (*Allowance) String

func (m *Allowance) String() string

func (*Allowance) Unmarshal

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

func (*Allowance) UnmarshalJSON

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

type AllowanceFieldPathBuilder

type AllowanceFieldPathBuilder struct{}

func NewAllowanceFieldPathBuilder

func NewAllowanceFieldPathBuilder() AllowanceFieldPathBuilder

func (AllowanceFieldPathBuilder) Region

func (AllowanceFieldPathBuilder) Resource

func (AllowanceFieldPathBuilder) Value

type AllowancePathSelectorRegion

type AllowancePathSelectorRegion struct{}

func (AllowancePathSelectorRegion) FieldPath

func (AllowancePathSelectorRegion) WithArrayOfValues

func (AllowancePathSelectorRegion) WithValue

type AllowancePathSelectorResource

type AllowancePathSelectorResource struct{}

func (AllowancePathSelectorResource) FieldPath

func (AllowancePathSelectorResource) WithArrayOfValues

func (AllowancePathSelectorResource) WithValue

type AllowancePathSelectorValue

type AllowancePathSelectorValue struct{}

func (AllowancePathSelectorValue) FieldPath

func (AllowancePathSelectorValue) WithArrayOfValues

func (AllowancePathSelectorValue) WithValue

type Allowance_FieldMask

type Allowance_FieldMask struct {
	Paths []Allowance_FieldPath
}

func FullAllowance_FieldMask

func FullAllowance_FieldMask() *Allowance_FieldMask

func (*Allowance_FieldMask) AppendPath

func (fieldMask *Allowance_FieldMask) AppendPath(path Allowance_FieldPath)

func (*Allowance_FieldMask) AppendRawPath

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

func (*Allowance_FieldMask) DecodeFirestore

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

func (*Allowance_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Allowance_FieldMask) FilterInputFields

func (fieldMask *Allowance_FieldMask) FilterInputFields() *Allowance_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Allowance_FieldMask) FromProtoFieldMask

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

func (*Allowance_FieldMask) GetPaths

func (fieldMask *Allowance_FieldMask) GetPaths() []Allowance_FieldPath

func (*Allowance_FieldMask) GetRawPaths

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

func (*Allowance_FieldMask) IsFull

func (fieldMask *Allowance_FieldMask) IsFull() bool

func (Allowance_FieldMask) Marshal

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

implement methods required by customType

func (Allowance_FieldMask) MarshalJSON

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

func (*Allowance_FieldMask) PathsCount

func (fieldMask *Allowance_FieldMask) PathsCount() int

func (*Allowance_FieldMask) Project

func (fieldMask *Allowance_FieldMask) Project(source *Allowance) *Allowance

func (*Allowance_FieldMask) ProjectRaw

func (*Allowance_FieldMask) ProtoMessage

func (fieldMask *Allowance_FieldMask) ProtoMessage()

func (*Allowance_FieldMask) ProtoReflect

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

func (*Allowance_FieldMask) Reset

func (fieldMask *Allowance_FieldMask) Reset()

func (*Allowance_FieldMask) Set

func (fieldMask *Allowance_FieldMask) Set(target, source *Allowance)

func (*Allowance_FieldMask) SetFromCliFlag

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

func (*Allowance_FieldMask) SetRaw

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

func (*Allowance_FieldMask) Size

func (fieldMask *Allowance_FieldMask) Size() int

func (*Allowance_FieldMask) String

func (fieldMask *Allowance_FieldMask) String() string

func (*Allowance_FieldMask) Subtract

func (fieldMask *Allowance_FieldMask) Subtract(other *Allowance_FieldMask) *Allowance_FieldMask

func (*Allowance_FieldMask) SubtractRaw

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

func (*Allowance_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Allowance_FieldMask) Unmarshal

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

func (*Allowance_FieldMask) UnmarshalJSON

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

type Allowance_FieldPath

type Allowance_FieldPath interface {
	gotenobject.FieldPath
	Selector() Allowance_FieldPathSelector
	Get(source *Allowance) []interface{}
	GetSingle(source *Allowance) (interface{}, bool)
	ClearValue(item *Allowance)

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

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

func BuildAllowance_FieldPath

func BuildAllowance_FieldPath(fp gotenobject.RawFieldPath) (Allowance_FieldPath, error)

func MustParseAllowance_FieldPath

func MustParseAllowance_FieldPath(rawField string) Allowance_FieldPath

func ParseAllowance_FieldPath

func ParseAllowance_FieldPath(rawField string) (Allowance_FieldPath, error)

type Allowance_FieldPathArrayItemValue

type Allowance_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Allowance_FieldPath
	ContainsValue(*Allowance) bool
}

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

func MustParseAllowance_FieldPathArrayItemValue

func MustParseAllowance_FieldPathArrayItemValue(pathStr, valueStr string) Allowance_FieldPathArrayItemValue

func ParseAllowance_FieldPathArrayItemValue

func ParseAllowance_FieldPathArrayItemValue(pathStr, valueStr string) (Allowance_FieldPathArrayItemValue, error)

ParseAllowance_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Allowance_FieldPathArrayOfValues

type Allowance_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Allowance_FieldPath
}

Allowance_FieldPathArrayOfValues allows storing slice of values for Allowance fields according to their type

func MustParseAllowance_FieldPathArrayOfValues

func MustParseAllowance_FieldPathArrayOfValues(pathStr, valuesStr string) Allowance_FieldPathArrayOfValues

func ParseAllowance_FieldPathArrayOfValues

func ParseAllowance_FieldPathArrayOfValues(pathStr, valuesStr string) (Allowance_FieldPathArrayOfValues, error)

type Allowance_FieldPathSelector

type Allowance_FieldPathSelector int32
const (
	Allowance_FieldPathSelectorResource Allowance_FieldPathSelector = 0
	Allowance_FieldPathSelectorValue    Allowance_FieldPathSelector = 1
	Allowance_FieldPathSelectorRegion   Allowance_FieldPathSelector = 2
)

func (Allowance_FieldPathSelector) String

type Allowance_FieldPathValue

type Allowance_FieldPathValue interface {
	Allowance_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Allowance)
	CompareWith(*Allowance) (cmp int, comparable bool)
}

Allowance_FieldPathValue allows storing values for Allowance fields according to their type

func MustParseAllowance_FieldPathValue

func MustParseAllowance_FieldPathValue(pathStr, valueStr string) Allowance_FieldPathValue

func ParseAllowance_FieldPathValue

func ParseAllowance_FieldPathValue(pathStr, valueStr string) (Allowance_FieldPathValue, error)

type Allowance_FieldTerminalPath

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

func (*Allowance_FieldTerminalPath) ClearValue

func (fp *Allowance_FieldTerminalPath) ClearValue(item *Allowance)

func (*Allowance_FieldTerminalPath) ClearValueRaw

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

func (*Allowance_FieldTerminalPath) Get

func (fp *Allowance_FieldTerminalPath) Get(source *Allowance) (values []interface{})

Get returns all values pointed by specific field from source Allowance

func (*Allowance_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Allowance_FieldTerminalPath) GetRaw

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

func (*Allowance_FieldTerminalPath) GetSingle

func (fp *Allowance_FieldTerminalPath) GetSingle(source *Allowance) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Allowance

func (*Allowance_FieldTerminalPath) GetSingleRaw

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

func (*Allowance_FieldTerminalPath) IsLeaf

func (fp *Allowance_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Allowance_FieldTerminalPath) JSONString

func (fp *Allowance_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Allowance_FieldTerminalPath) Selector

func (*Allowance_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*Allowance_FieldTerminalPath) String

func (fp *Allowance_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Allowance_FieldTerminalPath) WithIArrayItemValue

func (fp *Allowance_FieldTerminalPath) WithIArrayItemValue(value interface{}) Allowance_FieldPathArrayItemValue

func (*Allowance_FieldTerminalPath) WithIArrayOfValues

func (fp *Allowance_FieldTerminalPath) WithIArrayOfValues(values interface{}) Allowance_FieldPathArrayOfValues

func (*Allowance_FieldTerminalPath) WithIValue

func (fp *Allowance_FieldTerminalPath) WithIValue(value interface{}) Allowance_FieldPathValue

func (*Allowance_FieldTerminalPath) WithRawIArrayItemValue

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

func (*Allowance_FieldTerminalPath) WithRawIArrayOfValues

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

func (*Allowance_FieldTerminalPath) WithRawIValue

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

type Allowance_FieldTerminalPathArrayItemValue

type Allowance_FieldTerminalPathArrayItemValue struct {
	Allowance_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Allowance_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *Allowance_FieldTerminalPathArrayItemValue) ContainsValue(source *Allowance) bool

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

func (*Allowance_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*Allowance_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Allowance_FieldTerminalPathArrayItemValue) GetSingle(source *Allowance) (interface{}, bool)

func (*Allowance_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type Allowance_FieldTerminalPathArrayOfValues

type Allowance_FieldTerminalPathArrayOfValues struct {
	Allowance_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Allowance_FieldTerminalPathArrayOfValues) AsRegionArrayOfValues

func (fpaov *Allowance_FieldTerminalPathArrayOfValues) AsRegionArrayOfValues() ([]string, bool)

func (*Allowance_FieldTerminalPathArrayOfValues) AsResourceArrayOfValues

func (fpaov *Allowance_FieldTerminalPathArrayOfValues) AsResourceArrayOfValues() ([]*meta_resource.Reference, bool)

func (*Allowance_FieldTerminalPathArrayOfValues) AsValueArrayOfValues

func (fpaov *Allowance_FieldTerminalPathArrayOfValues) AsValueArrayOfValues() ([]int64, bool)

func (*Allowance_FieldTerminalPathArrayOfValues) GetRawValues

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

type Allowance_FieldTerminalPathValue

type Allowance_FieldTerminalPathValue struct {
	Allowance_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Allowance_FieldTerminalPathValue) AsRegionValue

func (fpv *Allowance_FieldTerminalPathValue) AsRegionValue() (string, bool)

func (*Allowance_FieldTerminalPathValue) AsResourceValue

func (fpv *Allowance_FieldTerminalPathValue) AsResourceValue() (*meta_resource.Reference, bool)

func (*Allowance_FieldTerminalPathValue) AsValueValue

func (fpv *Allowance_FieldTerminalPathValue) AsValueValue() (int64, bool)

func (*Allowance_FieldTerminalPathValue) CompareWith

func (fpv *Allowance_FieldTerminalPathValue) CompareWith(source *Allowance) (int, bool)

CompareWith compares value in the 'Allowance_FieldTerminalPathValue' with the value under path in 'Allowance'.

func (*Allowance_FieldTerminalPathValue) CompareWithRaw

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

func (*Allowance_FieldTerminalPathValue) GetRawValue

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

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

func (*Allowance_FieldTerminalPathValue) SetTo

func (fpv *Allowance_FieldTerminalPathValue) SetTo(target **Allowance)

SetTo stores value for selected field for object Allowance

func (*Allowance_FieldTerminalPathValue) SetToRaw

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

type RegionalPlanAssignment

type RegionalPlanAssignment struct {

	// Plan for given region
	Plan *plan.Reference `protobuf:"bytes,1,opt,customtype=Reference,name=plan,proto3" json:"plan,omitempty" firestore:"plan"`
	// Region ID for this override
	Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty" firestore:"region"`
	// Applied generation spec of the plan.
	PlanGeneration int64 `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

RegionalPlanAssignment binds region and plan.

func (*RegionalPlanAssignment) Clone

func (*RegionalPlanAssignment) CloneRaw

func (*RegionalPlanAssignment) Descriptor

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

Deprecated, Use RegionalPlanAssignment.ProtoReflect.Descriptor instead.

func (*RegionalPlanAssignment) GetPlan

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

func (*RegionalPlanAssignment) GetPlanGeneration

func (m *RegionalPlanAssignment) GetPlanGeneration() int64

func (*RegionalPlanAssignment) GetRegion

func (m *RegionalPlanAssignment) GetRegion() string

func (*RegionalPlanAssignment) GotenMessage

func (*RegionalPlanAssignment) GotenMessage()

func (*RegionalPlanAssignment) GotenObjectExt

func (o *RegionalPlanAssignment) GotenObjectExt()

func (*RegionalPlanAssignment) GotenValidate

func (obj *RegionalPlanAssignment) GotenValidate() error

func (*RegionalPlanAssignment) MakeDiffFieldMask

func (*RegionalPlanAssignment) MakeFullFieldMask

func (*RegionalPlanAssignment) MakeRawDiffFieldMask

func (*RegionalPlanAssignment) MakeRawFullFieldMask

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

func (*RegionalPlanAssignment) Marshal

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

func (*RegionalPlanAssignment) MarshalJSON

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

func (*RegionalPlanAssignment) Merge

func (*RegionalPlanAssignment) MergeRaw

func (*RegionalPlanAssignment) ProtoMessage

func (*RegionalPlanAssignment) ProtoMessage()

func (*RegionalPlanAssignment) ProtoReflect

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

func (*RegionalPlanAssignment) Reset

func (m *RegionalPlanAssignment) Reset()

func (*RegionalPlanAssignment) SetPlan

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

func (*RegionalPlanAssignment) SetPlanGeneration

func (m *RegionalPlanAssignment) SetPlanGeneration(fv int64)

func (*RegionalPlanAssignment) SetRegion

func (m *RegionalPlanAssignment) SetRegion(fv string)

func (*RegionalPlanAssignment) String

func (m *RegionalPlanAssignment) String() string

func (*RegionalPlanAssignment) Unmarshal

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

func (*RegionalPlanAssignment) UnmarshalJSON

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

type RegionalPlanAssignmentFieldPathBuilder

type RegionalPlanAssignmentFieldPathBuilder struct{}

func NewRegionalPlanAssignmentFieldPathBuilder

func NewRegionalPlanAssignmentFieldPathBuilder() RegionalPlanAssignmentFieldPathBuilder

func (RegionalPlanAssignmentFieldPathBuilder) Plan

func (RegionalPlanAssignmentFieldPathBuilder) PlanGeneration

func (RegionalPlanAssignmentFieldPathBuilder) Region

type RegionalPlanAssignmentPathSelectorPlan

type RegionalPlanAssignmentPathSelectorPlan struct{}

func (RegionalPlanAssignmentPathSelectorPlan) FieldPath

func (RegionalPlanAssignmentPathSelectorPlan) WithArrayOfValues

func (RegionalPlanAssignmentPathSelectorPlan) WithValue

type RegionalPlanAssignmentPathSelectorPlanGeneration

type RegionalPlanAssignmentPathSelectorPlanGeneration struct{}

func (RegionalPlanAssignmentPathSelectorPlanGeneration) FieldPath

func (RegionalPlanAssignmentPathSelectorPlanGeneration) WithArrayOfValues

func (RegionalPlanAssignmentPathSelectorPlanGeneration) WithValue

type RegionalPlanAssignmentPathSelectorRegion

type RegionalPlanAssignmentPathSelectorRegion struct{}

func (RegionalPlanAssignmentPathSelectorRegion) FieldPath

func (RegionalPlanAssignmentPathSelectorRegion) WithArrayOfValues

func (RegionalPlanAssignmentPathSelectorRegion) WithValue

type RegionalPlanAssignment_FieldMask

type RegionalPlanAssignment_FieldMask struct {
	Paths []RegionalPlanAssignment_FieldPath
}

func FullRegionalPlanAssignment_FieldMask

func FullRegionalPlanAssignment_FieldMask() *RegionalPlanAssignment_FieldMask

func (*RegionalPlanAssignment_FieldMask) AppendPath

func (*RegionalPlanAssignment_FieldMask) AppendRawPath

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

func (*RegionalPlanAssignment_FieldMask) DecodeFirestore

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

func (*RegionalPlanAssignment_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*RegionalPlanAssignment_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*RegionalPlanAssignment_FieldMask) FromProtoFieldMask

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

func (*RegionalPlanAssignment_FieldMask) GetPaths

func (*RegionalPlanAssignment_FieldMask) GetRawPaths

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

func (*RegionalPlanAssignment_FieldMask) IsFull

func (fieldMask *RegionalPlanAssignment_FieldMask) IsFull() bool

func (RegionalPlanAssignment_FieldMask) Marshal

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

implement methods required by customType

func (RegionalPlanAssignment_FieldMask) MarshalJSON

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

func (*RegionalPlanAssignment_FieldMask) PathsCount

func (fieldMask *RegionalPlanAssignment_FieldMask) PathsCount() int

func (*RegionalPlanAssignment_FieldMask) Project

func (*RegionalPlanAssignment_FieldMask) ProjectRaw

func (*RegionalPlanAssignment_FieldMask) ProtoMessage

func (fieldMask *RegionalPlanAssignment_FieldMask) ProtoMessage()

func (*RegionalPlanAssignment_FieldMask) ProtoReflect

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

func (*RegionalPlanAssignment_FieldMask) Reset

func (fieldMask *RegionalPlanAssignment_FieldMask) Reset()

func (*RegionalPlanAssignment_FieldMask) Set

func (fieldMask *RegionalPlanAssignment_FieldMask) Set(target, source *RegionalPlanAssignment)

func (*RegionalPlanAssignment_FieldMask) SetFromCliFlag

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

func (*RegionalPlanAssignment_FieldMask) SetRaw

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

func (*RegionalPlanAssignment_FieldMask) Size

func (fieldMask *RegionalPlanAssignment_FieldMask) Size() int

func (*RegionalPlanAssignment_FieldMask) String

func (fieldMask *RegionalPlanAssignment_FieldMask) String() string

func (*RegionalPlanAssignment_FieldMask) Subtract

func (*RegionalPlanAssignment_FieldMask) SubtractRaw

func (*RegionalPlanAssignment_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*RegionalPlanAssignment_FieldMask) Unmarshal

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

func (*RegionalPlanAssignment_FieldMask) UnmarshalJSON

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

type RegionalPlanAssignment_FieldPath

type RegionalPlanAssignment_FieldPath interface {
	gotenobject.FieldPath
	Selector() RegionalPlanAssignment_FieldPathSelector
	Get(source *RegionalPlanAssignment) []interface{}
	GetSingle(source *RegionalPlanAssignment) (interface{}, bool)
	ClearValue(item *RegionalPlanAssignment)

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

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

func MustParseRegionalPlanAssignment_FieldPath

func MustParseRegionalPlanAssignment_FieldPath(rawField string) RegionalPlanAssignment_FieldPath

func ParseRegionalPlanAssignment_FieldPath

func ParseRegionalPlanAssignment_FieldPath(rawField string) (RegionalPlanAssignment_FieldPath, error)

type RegionalPlanAssignment_FieldPathArrayItemValue

type RegionalPlanAssignment_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	RegionalPlanAssignment_FieldPath
	ContainsValue(*RegionalPlanAssignment) bool
}

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

func MustParseRegionalPlanAssignment_FieldPathArrayItemValue

func MustParseRegionalPlanAssignment_FieldPathArrayItemValue(pathStr, valueStr string) RegionalPlanAssignment_FieldPathArrayItemValue

func ParseRegionalPlanAssignment_FieldPathArrayItemValue

func ParseRegionalPlanAssignment_FieldPathArrayItemValue(pathStr, valueStr string) (RegionalPlanAssignment_FieldPathArrayItemValue, error)

ParseRegionalPlanAssignment_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type RegionalPlanAssignment_FieldPathArrayOfValues

type RegionalPlanAssignment_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	RegionalPlanAssignment_FieldPath
}

RegionalPlanAssignment_FieldPathArrayOfValues allows storing slice of values for RegionalPlanAssignment fields according to their type

func MustParseRegionalPlanAssignment_FieldPathArrayOfValues

func MustParseRegionalPlanAssignment_FieldPathArrayOfValues(pathStr, valuesStr string) RegionalPlanAssignment_FieldPathArrayOfValues

func ParseRegionalPlanAssignment_FieldPathArrayOfValues

func ParseRegionalPlanAssignment_FieldPathArrayOfValues(pathStr, valuesStr string) (RegionalPlanAssignment_FieldPathArrayOfValues, error)

type RegionalPlanAssignment_FieldPathSelector

type RegionalPlanAssignment_FieldPathSelector int32
const (
	RegionalPlanAssignment_FieldPathSelectorPlan           RegionalPlanAssignment_FieldPathSelector = 0
	RegionalPlanAssignment_FieldPathSelectorRegion         RegionalPlanAssignment_FieldPathSelector = 1
	RegionalPlanAssignment_FieldPathSelectorPlanGeneration RegionalPlanAssignment_FieldPathSelector = 2
)

func (RegionalPlanAssignment_FieldPathSelector) String

type RegionalPlanAssignment_FieldPathValue

type RegionalPlanAssignment_FieldPathValue interface {
	RegionalPlanAssignment_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **RegionalPlanAssignment)
	CompareWith(*RegionalPlanAssignment) (cmp int, comparable bool)
}

RegionalPlanAssignment_FieldPathValue allows storing values for RegionalPlanAssignment fields according to their type

func MustParseRegionalPlanAssignment_FieldPathValue

func MustParseRegionalPlanAssignment_FieldPathValue(pathStr, valueStr string) RegionalPlanAssignment_FieldPathValue

func ParseRegionalPlanAssignment_FieldPathValue

func ParseRegionalPlanAssignment_FieldPathValue(pathStr, valueStr string) (RegionalPlanAssignment_FieldPathValue, error)

type RegionalPlanAssignment_FieldTerminalPath

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

func (*RegionalPlanAssignment_FieldTerminalPath) ClearValue

func (*RegionalPlanAssignment_FieldTerminalPath) ClearValueRaw

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

func (*RegionalPlanAssignment_FieldTerminalPath) Get

func (fp *RegionalPlanAssignment_FieldTerminalPath) Get(source *RegionalPlanAssignment) (values []interface{})

Get returns all values pointed by specific field from source RegionalPlanAssignment

func (*RegionalPlanAssignment_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*RegionalPlanAssignment_FieldTerminalPath) GetRaw

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

func (*RegionalPlanAssignment_FieldTerminalPath) GetSingle

func (fp *RegionalPlanAssignment_FieldTerminalPath) GetSingle(source *RegionalPlanAssignment) (interface{}, bool)

GetSingle returns value pointed by specific field of from source RegionalPlanAssignment

func (*RegionalPlanAssignment_FieldTerminalPath) GetSingleRaw

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

func (*RegionalPlanAssignment_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*RegionalPlanAssignment_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*RegionalPlanAssignment_FieldTerminalPath) Selector

func (*RegionalPlanAssignment_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*RegionalPlanAssignment_FieldTerminalPath) String

String returns path representation in proto convention

func (*RegionalPlanAssignment_FieldTerminalPath) WithIArrayItemValue

func (*RegionalPlanAssignment_FieldTerminalPath) WithIArrayOfValues

func (*RegionalPlanAssignment_FieldTerminalPath) WithIValue

func (*RegionalPlanAssignment_FieldTerminalPath) WithRawIArrayItemValue

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

func (*RegionalPlanAssignment_FieldTerminalPath) WithRawIArrayOfValues

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

func (*RegionalPlanAssignment_FieldTerminalPath) WithRawIValue

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

type RegionalPlanAssignment_FieldTerminalPathArrayItemValue

type RegionalPlanAssignment_FieldTerminalPathArrayItemValue struct {
	RegionalPlanAssignment_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RegionalPlanAssignment_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*RegionalPlanAssignment_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*RegionalPlanAssignment_FieldTerminalPathArrayItemValue) GetSingle

func (*RegionalPlanAssignment_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type RegionalPlanAssignment_FieldTerminalPathArrayOfValues

type RegionalPlanAssignment_FieldTerminalPathArrayOfValues struct {
	RegionalPlanAssignment_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RegionalPlanAssignment_FieldTerminalPathArrayOfValues) AsPlanArrayOfValues

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

func (*RegionalPlanAssignment_FieldTerminalPathArrayOfValues) AsPlanGenerationArrayOfValues

func (fpaov *RegionalPlanAssignment_FieldTerminalPathArrayOfValues) AsPlanGenerationArrayOfValues() ([]int64, bool)

func (*RegionalPlanAssignment_FieldTerminalPathArrayOfValues) AsRegionArrayOfValues

func (fpaov *RegionalPlanAssignment_FieldTerminalPathArrayOfValues) AsRegionArrayOfValues() ([]string, bool)

func (*RegionalPlanAssignment_FieldTerminalPathArrayOfValues) GetRawValues

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

type RegionalPlanAssignment_FieldTerminalPathValue

type RegionalPlanAssignment_FieldTerminalPathValue struct {
	RegionalPlanAssignment_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RegionalPlanAssignment_FieldTerminalPathValue) AsPlanGenerationValue

func (fpv *RegionalPlanAssignment_FieldTerminalPathValue) AsPlanGenerationValue() (int64, bool)

func (*RegionalPlanAssignment_FieldTerminalPathValue) AsPlanValue

func (*RegionalPlanAssignment_FieldTerminalPathValue) AsRegionValue

func (*RegionalPlanAssignment_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'RegionalPlanAssignment_FieldTerminalPathValue' with the value under path in 'RegionalPlanAssignment'.

func (*RegionalPlanAssignment_FieldTerminalPathValue) CompareWithRaw

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

func (*RegionalPlanAssignment_FieldTerminalPathValue) GetRawValue

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

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

func (*RegionalPlanAssignment_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object RegionalPlanAssignment

func (*RegionalPlanAssignment_FieldTerminalPathValue) SetToRaw

Jump to

Keyboard shortcuts

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