kubernetes/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/field_mask.pb.go

type FieldMask

// New constructs a field mask from a list of paths and verifies that
// each one is valid according to the specified message type.
func New(m proto.Message, paths ...string) (*FieldMask, error) {}

// Union returns the union of all the paths in the input field masks.
func Union(mx *FieldMask, my *FieldMask, ms ...*FieldMask) *FieldMask {}

// Intersect returns the intersection of all the paths in the input field masks.
func Intersect(mx *FieldMask, my *FieldMask, ms ...*FieldMask) *FieldMask {}

// IsValid reports whether all the paths are syntactically valid and
// refer to known fields in the specified message type.
// It reports false for a nil FieldMask.
func (x *FieldMask) IsValid(m proto.Message) bool {}

// Append appends a list of paths to the mask and verifies that each one
// is valid according to the specified message type.
// An invalid path is not appended and breaks insertion of subsequent paths.
func (x *FieldMask) Append(m proto.Message, paths ...string) error {}

func numValidPaths(m proto.Message, paths []string) int {}

// Normalize converts the mask to its canonical form where all paths are sorted
// and redundant paths are removed.
func (x *FieldMask) Normalize() {}

func normalizePaths(paths []string) []string {}

// hasPathPrefix is like strings.HasPrefix, but further checks for either
// an exact matche or that the prefix is delimited by a dot.
func hasPathPrefix(path, prefix string) bool {}

// lessPath is a lexicographical comparison where dot is specially treated
// as the smallest symbol.
func lessPath(x, y string) bool {}

// rangeFields is like strings.Split(path, "."), but avoids allocations by
// iterating over each field in place and calling a iterator function.
func rangeFields(path string, f func(field string) bool) bool {}

func (x *FieldMask) Reset() {}

func (x *FieldMask) String() string {}

func (*FieldMask) ProtoMessage() {}

func (x *FieldMask) ProtoReflect() protoreflect.Message {}

// Deprecated: Use FieldMask.ProtoReflect.Descriptor instead.
func (*FieldMask) Descriptor() ([]byte, []int) {}

func (x *FieldMask) GetPaths() []string {}

var File_google_protobuf_field_mask_proto

var file_google_protobuf_field_mask_proto_rawDesc

var file_google_protobuf_field_mask_proto_rawDescOnce

var file_google_protobuf_field_mask_proto_rawDescData

func file_google_protobuf_field_mask_proto_rawDescGZIP() []byte {}

var file_google_protobuf_field_mask_proto_msgTypes

var file_google_protobuf_field_mask_proto_goTypes

var file_google_protobuf_field_mask_proto_depIdxs

func init() {}

func file_google_protobuf_field_mask_proto_init() {}