MCPcopy
hub / github.com/gogo/protobuf / FieldMask

Struct FieldMask

types/field_mask.pb.go:227–233  ·  view source on GitHub ↗

please upgrade the proto package `FieldMask` represents a set of symbolic field paths, for example: paths: "f.a" paths: "f.b.d" Here `f` represents a field in some root message, `a` and `b` fields in the message found in `f`, and `d` a field found in the message in `f.b`. Field masks are used to

Source from the content-addressed store, hash-verified

225// request should verify the included field paths, and return an
226// `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
227type FieldMask struct {
228 // The set of field mask paths.
229 Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
230 XXX_NoUnkeyedLiteral struct{} `json:"-"`
231 XXX_unrecognized []byte `json:"-"`
232 XXX_sizecache int32 `json:"-"`
233}
234
235func (m *FieldMask) Reset() { *m = FieldMask{} }
236func (*FieldMask) ProtoMessage() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected