Home
last modified time | relevance | path

Searched refs:FieldMask (Results 1 – 25 of 46) sorted by relevance

12

/external/protobuf/src/google/protobuf/
Dfield_mask.pb.cc40 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldMask, paths_), in protobuf_AssignDesc_google_2fprotobuf_2ffield_5fmask_2eproto()
45 FieldMask::default_instance_, in protobuf_AssignDesc_google_2fprotobuf_2ffield_5fmask_2eproto()
50 sizeof(FieldMask), in protobuf_AssignDesc_google_2fprotobuf_2ffield_5fmask_2eproto()
51 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldMask, _internal_metadata_), in protobuf_AssignDesc_google_2fprotobuf_2ffield_5fmask_2eproto()
52 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldMask, _is_default_instance_)); in protobuf_AssignDesc_google_2fprotobuf_2ffield_5fmask_2eproto()
66 FieldMask_descriptor_, &FieldMask::default_instance()); in protobuf_RegisterTypes()
72 delete FieldMask::default_instance_; in protobuf_ShutdownFile_google_2fprotobuf_2ffield_5fmask_2eproto()
90 FieldMask::default_instance_ = new FieldMask(); in protobuf_AddDesc_google_2fprotobuf_2ffield_5fmask_2eproto()
91 FieldMask::default_instance_->InitAsDefaultInstance(); in protobuf_AddDesc_google_2fprotobuf_2ffield_5fmask_2eproto()
115 const int FieldMask::kPathsFieldNumber;
[all …]
Dfield_mask.pb.h40 class FieldMask; variable
44 class LIBPROTOBUF_EXPORT FieldMask : public ::google::protobuf::Message {
46 FieldMask();
47 virtual ~FieldMask();
49 FieldMask(const FieldMask& from);
51 inline FieldMask& operator=(const FieldMask& from) {
57 static const FieldMask& default_instance();
59 void Swap(FieldMask* other);
63 inline FieldMask* New() const { return New(NULL); } in New()
65 FieldMask* New(::google::protobuf::Arena* arena) const;
[all …]
Dunittest_well_known_types.proto28 google.protobuf.FieldMask field_mask_field = 5;
52 repeated google.protobuf.FieldMask field_mask_field = 5;
75 google.protobuf.FieldMask field_mask_field = 5;
100 map<int32,google.protobuf.FieldMask> field_mask_field = 5;
Dfield_mask.proto42 // `FieldMask` represents a set of symbolic field paths, for example:
87 // If a FieldMask object is not present in a get operation, the
88 // operation applies to all fields (as if a FieldMask of all fields
191 message FieldMask { message
/external/protobuf/src/google/protobuf/util/
Dfield_mask_util.h45 typedef google::protobuf::FieldMask FieldMask; typedef
50 static string ToString(const FieldMask& mask);
51 static void FromString(StringPiece str, FieldMask* out);
57 static bool ToJsonString(const FieldMask& mask, string* out);
58 static bool FromJsonString(StringPiece str, FieldMask* out);
68 static bool IsValidFieldMask(const FieldMask& mask) { in IsValidFieldMask()
78 static void AddPathToFieldMask(StringPiece path, FieldMask* mask) { in AddPathToFieldMask()
86 static void GetFieldMaskForAllFields(FieldMask* out) { in GetFieldMaskForAllFields()
95 static void ToCanonicalForm(const FieldMask& mask, FieldMask* out);
98 static void Union(const FieldMask& mask1, const FieldMask& mask2,
[all …]
Dfield_mask_util.cc40 using google::protobuf::FieldMask;
42 string FieldMaskUtil::ToString(const FieldMask& mask) { in ToString()
46 void FieldMaskUtil::FromString(StringPiece str, FieldMask* out) { in FromString()
101 bool FieldMaskUtil::ToJsonString(const FieldMask& mask, string* out) { in ToJsonString()
117 bool FieldMaskUtil::FromJsonString(StringPiece str, FieldMask* out) { in FromJsonString()
154 const Descriptor* descriptor, FieldMask* out) { in InternalGetFieldMaskForAllFields()
176 void MergeFromFieldMask(const FieldMask& mask);
177 void MergeToFieldMask(FieldMask* mask);
225 void MergeToFieldMask(const string& prefix, const Node* node, FieldMask* out);
245 void FieldMaskTree::MergeFromFieldMask(const FieldMask& mask) { in MergeFromFieldMask()
[all …]
Dfield_mask_util_test.cc118 using google::protobuf::FieldMask;
121 FieldMask mask; in TEST()
140 FieldMask mask; in TEST()
175 FieldMask mask; in TEST()
185 FieldMask mask; in TEST()
243 FieldMask in, out; in TEST()
291 FieldMask mask1, mask2, out; in TEST()
310 FieldMask mask1, mask2, out; in TEST()
329 FieldMask mask; in TEST()
347 FieldMask mask; \ in TEST()
[all …]
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskUtil.java38 import com.google.protobuf.FieldMask;
57 public static String toString(FieldMask fieldMask) { in toString()
79 public static FieldMask fromString(String value) { in fromString()
90 public static FieldMask fromString(Class<? extends Message> type, String value) { in fromString()
102 public static FieldMask fromStringList( in fromStringList()
104 FieldMask.Builder builder = FieldMask.newBuilder(); in fromStringList()
124 public static FieldMask fromFieldNumbers(Class<? extends Message> type, int... fieldNumbers) { in fromFieldNumbers()
133 public static FieldMask fromFieldNumbers( in fromFieldNumbers()
137 FieldMask.Builder builder = FieldMask.newBuilder(); in fromFieldNumbers()
151 public static boolean isValid(Class<? extends Message> type, FieldMask fieldMask) { in isValid()
[all …]
DFieldMaskTree.java35 import com.google.protobuf.FieldMask;
77 public FieldMaskTree(FieldMask mask) { in FieldMaskTree()
127 public FieldMaskTree mergeFromFieldMask(FieldMask mask) { in mergeFromFieldMask()
135 public FieldMask toFieldMask() { in toFieldMask()
137 return FieldMask.getDefaultInstance(); in toFieldMask()
141 return FieldMask.newBuilder().addAllPaths(paths).build(); in toFieldMask()
DJsonFormat.java55 import com.google.protobuf.FieldMask;
520 printers.put(FieldMask.getDescriptor().getFullName(), in buildWellKnownTypePrinters()
633 FieldMask value = FieldMask.parseFrom(toByteString(message)); in printFieldMask()
1052 parsers.put(FieldMask.getDescriptor().getFullName(), in buildWellKnownTypeParsers()
1190 FieldMask value = FieldMaskUtil.fromString(json.getAsString()); in mergeFieldMask()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DFieldMask.cs33 …typeof(global::Google.Protobuf.WellKnownTypes.FieldMask), global::Google.Protobuf.WellKnownTypes.F… in FieldMaskReflection()
191 public sealed partial class FieldMask : pb::IMessage<FieldMask> { class
192 …ivate static readonly pb::MessageParser<FieldMask> _parser = new pb::MessageParser<FieldMask>(() =…
193 public static pb::MessageParser<FieldMask> Parser { get { return _parser; } }
203 public FieldMask() { in FieldMask() method in Google.Protobuf.WellKnownTypes.FieldMask
209 public FieldMask(FieldMask other) : this() { in FieldMask() method in Google.Protobuf.WellKnownTypes.FieldMask
213 public FieldMask Clone() { in Clone()
214 return new FieldMask(this); in Clone()
230 return Equals(other as FieldMask); in Equals()
233 public bool Equals(FieldMask other) { in Equals()
[all …]
DFieldMaskPartial.cs43 public partial class FieldMask : ICustomDiagnosticMessage class
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DFieldMaskUtilTest.java33 import com.google.protobuf.FieldMask;
81 assertEquals("", FieldMaskUtil.toString(FieldMask.getDefaultInstance())); in testToString()
82 FieldMask mask = FieldMask.newBuilder().addPaths("foo").build(); in testToString()
84 mask = FieldMask.newBuilder().addPaths("foo").addPaths("bar").build(); in testToString()
88 mask = FieldMask.newBuilder().addPaths("").addPaths("foo").addPaths(""). in testToString()
94 FieldMask mask = FieldMaskUtil.fromString(""); in testFromString()
123 FieldMask mask = FieldMaskUtil.fromFieldNumbers(TestAllTypes.class); in testFromFieldNumbers()
150 FieldMask mask1 = FieldMaskUtil.fromString("foo,bar.baz,bar.quz"); in testUnion()
151 FieldMask mask2 = FieldMaskUtil.fromString("foo.bar,bar"); in testUnion()
152 FieldMask result = FieldMaskUtil.union(mask1, mask2); in testUnion()
[all …]
/external/protobuf/src/google/protobuf/util/internal/testdata/
Dfield_mask.proto39 google.protobuf.FieldMask single_mask = 2;
40 repeated google.protobuf.FieldMask repeated_mask = 3;
45 google.protobuf.FieldMask single_mask = 2;
46 repeated google.protobuf.FieldMask repeated_mask = 3;
66 google.protobuf.FieldMask mask = 1;
/external/protobuf/python/google/protobuf/internal/
Dwell_known_types_test.py311 mask = field_mask_pb2.FieldMask()
326 mask = field_mask_pb2.FieldMask()
339 mask = field_mask_pb2.FieldMask()
340 out_mask = field_mask_pb2.FieldMask()
375 mask1 = field_mask_pb2.FieldMask()
376 mask2 = field_mask_pb2.FieldMask()
377 out_mask = field_mask_pb2.FieldMask()
394 mask1 = field_mask_pb2.FieldMask()
395 mask2 = field_mask_pb2.FieldMask()
396 out_mask = field_mask_pb2.FieldMask()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DFieldMaskTest.cs46 var mask = new FieldMask { Paths = { input } }; in ToString_Invalid()
56 var mask = new FieldMask { Paths = { "x", "foo__bar", @"x\y" } }; in ToString_Invalid_Precise()
/external/golang-protobuf/conformance/
Dfailure_list_go.txt22 JsonInput.FieldMask.JsonOutput
23 JsonInput.FieldMask.ProtobufOutput
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestWellKnownTypes.cs268 private global::Google.Protobuf.WellKnownTypes.FieldMask fieldMaskField_;
269 public global::Google.Protobuf.WellKnownTypes.FieldMask FieldMaskField {
651 fieldMaskField_ = new global::Google.Protobuf.WellKnownTypes.FieldMask(); in MergeFrom()
769 fieldMaskField_ = new global::Google.Protobuf.WellKnownTypes.FieldMask(); in MergeFrom()
963 …private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.FieldMask> _repeated…
964 = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.WellKnownTypes.FieldMask.Parser);
965 …e.Protobuf.WellKnownTypes.FieldMask> fieldMaskField_ = new pbc::RepeatedField<global::Google.Proto…
966 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> FieldMaskField {
1427 public global::Google.Protobuf.WellKnownTypes.FieldMask FieldMaskField {
1428 …FieldOneofCase.FieldMaskField ? (global::Google.Protobuf.WellKnownTypes.FieldMask) oneofField_ : n…
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs435 var mask = new FieldMask { Paths = { input } }; in FieldMaskInvalid()
442 …var fieldMask = new FieldMask { Paths = { "", "single", "with_underscore", "nested.field.name", "n… in FieldMaskStandalone()
446 fieldMask = new FieldMask { Paths = { "x\\y" } }; in FieldMaskStandalone()
453 …var message = new TestWellKnownTypes { FieldMaskField = new FieldMask { Paths = { "user.display_na… in FieldMaskField()
/external/protobuf/objectivec/ProtocolBuffers_OSX.xcodeproj/
Dproject.pbxproj62 …6759D1B21D0000054530B /* FieldMask.pbobjc.m in Sources */ = {isa = PBXBuildFile; fileRef = F4E6758…
70 …675B11B21D0A70054530B /* FieldMask.pbobjc.m in Sources */ = {isa = PBXBuildFile; fileRef = F4E6758…
203FieldMask.pbobjc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.…
204FieldMask.pbobjc.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.…
305 F4E6758C1B21D0000054530B /* FieldMask.pbobjc.h */,
306 F4E6758D1B21D0000054530B /* FieldMask.pbobjc.m */,
634 F4E6759D1B21D0000054530B /* FieldMask.pbobjc.m in Sources */,
689 F4E675B11B21D0A70054530B /* FieldMask.pbobjc.m in Sources */,
/external/protobuf/objectivec/ProtocolBuffers_iOS.xcodeproj/
Dproject.pbxproj70 …675CB1B21D1610054530B /* FieldMask.pbobjc.m in Sources */ = {isa = PBXBuildFile; fileRef = F4E675B…
78 …675D31B21D1620054530B /* FieldMask.pbobjc.m in Sources */ = {isa = PBXBuildFile; fileRef = F4E675B…
225 … /* FieldMask.pbobjc.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = Fi…
226 …/* FieldMask.pbobjc.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name =
340 F4E675BD1B21D1440054530B /* FieldMask.pbobjc.h */,
341 F4E675BE1B21D1440054530B /* FieldMask.pbobjc.m */,
722 F4E675D31B21D1620054530B /* FieldMask.pbobjc.m in Sources */,
785 F4E675CB1B21D1610054530B /* FieldMask.pbobjc.m in Sources */,
/external/protobuf/conformance/
Dfailure_list_ruby.txt59 JsonInput.FieldMask.JsonOutput
60 JsonInput.FieldMask.ProtobufOutput
Dfailure_list_java.txt24 JsonInput.FieldMask.ProtobufOutput
/external/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs506 if (descriptor.FullName == FieldMask.Descriptor.FullName) in WriteWellKnownTypeValue()
556 …var paths = (IList<string>) value.Descriptor.Fields[FieldMask.PathsFieldNumber].Accessor.GetValue(… in WriteFieldMask()
557 writer.Write(FieldMask.ToJson(paths, DiagnosticOnly)); in WriteFieldMask()
/external/protobuf/objectivec/google/protobuf/
DFieldMask.pbobjc.m5 #import "google/protobuf/FieldMask.pbobjc.h"

12