/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | FieldMaskTest.cs | 47 var mask = new FieldMask { Paths = { input } }; in ToString_Invalid() 57 var mask = new FieldMask { Paths = { "x", "foo__bar", @"x\y" } }; in ToString_Invalid_Precise() 66 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload")); in IsValid() 67 Assert.IsFalse(FieldMask.IsValid<NestedTestAllTypes>("nonexist")); in IsValid() 68 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload.single_int32")); in IsValid() 69 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload.repeated_int32")); in IsValid() 70 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload.single_nested_message")); in IsValid() 71 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload.repeated_nested_message")); in IsValid() 72 Assert.IsFalse(FieldMask.IsValid<NestedTestAllTypes>("payload.nonexist")); in IsValid() 74 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>(FieldMask.FromString("payload"))); in IsValid() [all …]
|
/third_party/protobuf/src/google/protobuf/ |
D | field_mask.pb.h | 58 class FieldMask; variable 63 …<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FieldMask* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_… 69 class PROTOBUF_EXPORT FieldMask PROTOBUF_FINAL : 72 inline FieldMask() : FieldMask(nullptr) {} in FieldMask() function 73 virtual ~FieldMask(); 75 FieldMask(const FieldMask& from); 76 FieldMask(FieldMask&& from) noexcept in FieldMask() function 77 : FieldMask() { in FieldMask() 81 inline FieldMask& operator=(const FieldMask& from) { 85 inline FieldMask& operator=(FieldMask&& from) noexcept { [all …]
|
D | field_mask.pb.cc | 20 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<FieldMask> _instance; 28 new (ptr) PROTOBUF_NAMESPACE_ID::FieldMask(); in InitDefaultsscc_info_FieldMask_google_2fprotobuf_2ffield_5fmask_2eproto() 31 PROTOBUF_NAMESPACE_ID::FieldMask::InitAsDefaultInstance(); in InitDefaultsscc_info_FieldMask_google_2fprotobuf_2ffield_5fmask_2eproto() 43 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldMask, _internal_metadata_), 47 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldMask, paths_), 50 { 0, -1, sizeof(PROTOBUF_NAMESPACE_ID::FieldMask)}, 84 void FieldMask::InitAsDefaultInstance() { in InitAsDefaultInstance() 86 class FieldMask::_Internal { 90 FieldMask::FieldMask(::PROTOBUF_NAMESPACE_ID::Arena* arena) in FieldMask() function in FieldMask 97 FieldMask::FieldMask(const FieldMask& from) in FieldMask() function in FieldMask [all …]
|
D | unittest_well_known_types.proto | 28 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;
|
D | field_mask.proto | 43 // `FieldMask` represents a set of symbolic field paths, for example: 88 // If a FieldMask object is not present in a get operation, the 89 // operation applies to all fields (as if a FieldMask of all fields 239 // The implementation of any API method which has a FieldMask type field in the 242 message FieldMask { message
|
/third_party/protobuf/src/google/protobuf/util/ |
D | field_mask_util.h | 50 typedef google::protobuf::FieldMask FieldMask; typedef 55 static std::string ToString(const FieldMask& mask); 56 static void FromString(StringPiece str, FieldMask* out); 62 FieldMask* out) { in FromFieldNumbers() 77 static bool ToJsonString(const FieldMask& mask, std::string* out); 78 static bool FromJsonString(StringPiece str, FieldMask* out); 96 static bool IsValidFieldMask(const FieldMask& mask) { in IsValidFieldMask() 107 static void AddPathToFieldMask(StringPiece path, FieldMask* mask) { in AddPathToFieldMask() 115 static FieldMask GetFieldMaskForAllFields() { in GetFieldMaskForAllFields() 116 FieldMask out; in GetFieldMaskForAllFields() [all …]
|
D | field_mask_util.cc | 43 using google::protobuf::FieldMask; 45 std::string FieldMaskUtil::ToString(const FieldMask& mask) { in ToString() 49 void FieldMaskUtil::FromString(StringPiece str, FieldMask* out) { in FromString() 106 bool FieldMaskUtil::ToJsonString(const FieldMask& mask, std::string* out) { in ToJsonString() 122 bool FieldMaskUtil::FromJsonString(StringPiece str, FieldMask* out) { in FromJsonString() 166 FieldMask* out) { in GetFieldMaskForAllFields() 188 void MergeFromFieldMask(const FieldMask& mask); 189 void MergeToFieldMask(FieldMask* mask); 267 FieldMask* out); 297 void FieldMaskTree::MergeFromFieldMask(const FieldMask& mask) { in MergeFromFieldMask() [all …]
|
D | field_mask_util_test.cc | 117 using google::protobuf::FieldMask; 124 FieldMask mask; in TEST() 143 FieldMask mask; in TEST() 166 FieldMask mask; in TEST() 213 FieldMask mask; in TEST() 223 FieldMask mask; in TEST() 281 FieldMask in, out; in TEST() 329 FieldMask mask1, mask2, out; in TEST() 348 FieldMask mask1, mask2, out; in TEST() 367 FieldMask mask1, mask2, out; in TEST() [all …]
|
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
D | FieldMaskUtilTest.java | 36 import com.google.protobuf.FieldMask; 80 assertEquals("", FieldMaskUtil.toString(FieldMask.getDefaultInstance())); in testToString() 81 FieldMask mask = FieldMask.newBuilder().addPaths("foo").build(); in testToString() 83 mask = FieldMask.newBuilder().addPaths("foo").addPaths("bar").build(); in testToString() 88 FieldMask.newBuilder() in testToString() 99 FieldMask mask = FieldMaskUtil.fromString(""); in testFromString() 127 FieldMask mask = FieldMaskUtil.fromFieldNumbers(TestAllTypes.class); in testFromFieldNumbers() 152 FieldMask mask = FieldMask.getDefaultInstance(); in testToJsonString() 154 mask = FieldMask.newBuilder().addPaths("foo").build(); in testToJsonString() 156 mask = FieldMask.newBuilder().addPaths("foo.bar_baz").addPaths("").build(); in testToJsonString() [all …]
|
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | FieldMaskUtil.java | 43 import com.google.protobuf.FieldMask; 63 public static String toString(FieldMask fieldMask) { in toString() 85 public static FieldMask fromString(String value) { in fromString() 95 public static FieldMask fromString(Class<? extends Message> type, String value) { in fromString() 106 public static FieldMask fromStringList(Class<? extends Message> type, Iterable<String> paths) { in fromStringList() 115 public static FieldMask fromStringList(Descriptor descriptor, Iterable<String> paths) { in fromStringList() 123 public static FieldMask fromStringList(Iterable<String> paths) { in fromStringList() 127 private static FieldMask fromStringList(Optional<Descriptor> descriptor, Iterable<String> paths) { in fromStringList() 128 FieldMask.Builder builder = FieldMask.newBuilder(); in fromStringList() 148 public static FieldMask fromFieldNumbers(Class<? extends Message> type, int... fieldNumbers) { in fromFieldNumbers() [all …]
|
D | FieldMaskTree.java | 37 import com.google.protobuf.FieldMask; 83 FieldMaskTree(FieldMask mask) { in FieldMaskTree() 132 FieldMaskTree mergeFromFieldMask(FieldMask mask) { in mergeFromFieldMask() 171 FieldMaskTree removeFromFieldMask(FieldMask mask) { in removeFromFieldMask() 181 FieldMask toFieldMask() { in toFieldMask() 183 return FieldMask.getDefaultInstance(); in toFieldMask() 187 return FieldMask.newBuilder().addAllPaths(paths).build(); in toFieldMask()
|
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | FieldMask.cs | 36 …typeof(global::Google.Protobuf.WellKnownTypes.FieldMask), global::Google.Protobuf.WellKnownTypes.F… in FieldMaskReflection() 243 public sealed partial class FieldMask : pb::IMessage<FieldMask> class 248 …ivate static readonly pb::MessageParser<FieldMask> _parser = new pb::MessageParser<FieldMask>(() =… 251 public static pb::MessageParser<FieldMask> Parser { get { return _parser; } } 264 public FieldMask() { in FieldMask() method in Google.Protobuf.WellKnownTypes.FieldMask 271 public FieldMask(FieldMask other) : this() { in FieldMask() method in Google.Protobuf.WellKnownTypes.FieldMask 277 public FieldMask Clone() { in Clone() 278 return new FieldMask(this); in Clone() 296 return Equals(other as FieldMask); in Equals() 300 public bool Equals(FieldMask other) { in Equals() [all …]
|
D | FieldMaskPartial.cs | 43 public partial class FieldMask : ICustomDiagnosticMessage class 109 public static FieldMask FromString(string value) in FromString() 118 public static FieldMask FromString<T>(string value) where T : IMessage 127 … public static FieldMask FromStringEnumerable<T>(IEnumerable<string> paths) where T : IMessage 129 var mask = new FieldMask(); 154 public static FieldMask FromFieldNumbers<T>(params int[] fieldNumbers) where T : IMessage 163 … public static FieldMask FromFieldNumbers<T>(IEnumerable<int> fieldNumbers) where T : IMessage 167 var mask = new FieldMask(); 211 public static bool IsValid<T>(FieldMask fieldMask) where T : IMessage 221 public static bool IsValid(MessageDescriptor descriptor, FieldMask fieldMask) in IsValid() [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | FieldMaskTree.cs | 80 public FieldMaskTree(FieldMask mask) in FieldMaskTree() 141 public FieldMaskTree MergeFromFieldMask(FieldMask mask) in MergeFromFieldMask() 154 public FieldMask ToFieldMask() in ToFieldMask() 156 var mask = new FieldMask(); in ToFieldMask() 231 public void Merge(IMessage source, IMessage destination, FieldMask.MergeOptions options) in Merge() 254 FieldMask.MergeOptions options) in Merge()
|
D | JsonFormatter.cs | 482 if (descriptor.FullName == FieldMask.Descriptor.FullName) in WriteWellKnownTypeValue() 532 …var paths = (IList<string>) value.Descriptor.Fields[FieldMask.PathsFieldNumber].Accessor.GetValue(… in WriteFieldMask() 533 writer.Write(FieldMask.ToJson(paths, DiagnosticOnly)); in WriteFieldMask()
|
/third_party/protobuf/src/google/protobuf/util/internal/testdata/ |
D | field_mask.proto | 39 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;
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | well_known_types_test.py | 394 mask = field_mask_pb2.FieldMask() 424 mask = field_mask_pb2.FieldMask() 435 mask = field_mask_pb2.FieldMask() 447 mask = field_mask_pb2.FieldMask() 451 mask = field_mask_pb2.FieldMask() 455 mask = field_mask_pb2.FieldMask() 459 mask = field_mask_pb2.FieldMask() 464 mask = field_mask_pb2.FieldMask() 465 out_mask = field_mask_pb2.FieldMask() 500 mask1 = field_mask_pb2.FieldMask() [all …]
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/ |
D | FieldMaskTest.cs | 46 var mask = new FieldMask { Paths = { input } }; in ToString_Invalid() 56 var mask = new FieldMask { Paths = { "x", "foo__bar", @"x\y" } }; in ToString_Invalid_Precise()
|
/third_party/protobuf/php/src/Google/Protobuf/ |
D | FieldMask.php | 172 class FieldMask extends \Google\Protobuf\Internal\Message class 192 \GPBMetadata\Google\Protobuf\FieldMask::initOnce();
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | FieldMaskTreeTest.cs | 95 tree.MergeFromFieldMask(new FieldMask in MergeFromFieldMask() 105 tree.MergeFromFieldMask(new FieldMask in MergeFromFieldMask() 120 tree.MergeFromFieldMask(new FieldMask in IntersectFieldPath() 162 …private void Merge(FieldMaskTree tree, IMessage source, IMessage destination, FieldMask.MergeOptio… in Merge() 216 FieldMask.MergeOptions options = new FieldMask.MergeOptions(); in Merge()
|
D | JsonFormatterTest.cs | 539 var mask = new FieldMask { Paths = { input } }; in FieldMaskInvalid() 546 …var fieldMask = new FieldMask { Paths = { "", "single", "with_underscore", "nested.field.name", "n… in FieldMaskStandalone() 550 fieldMask = new FieldMask { Paths = { "x\\y" } }; in FieldMaskStandalone() 557 …var message = new TestWellKnownTypes { FieldMaskField = new FieldMask { Paths = { "user.display_na… in FieldMaskField()
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/protos/src/google/protobuf/ |
D | unittest_well_known_types.proto | 28 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;
|
/third_party/protobuf/php/src/GPBMetadata/Google/Protobuf/ |
D | FieldMask.php | 7 class FieldMask class
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
D | UnittestWellKnownTypes.cs | 284 private global::Google.Protobuf.WellKnownTypes.FieldMask fieldMaskField_; 286 public global::Google.Protobuf.WellKnownTypes.FieldMask FieldMaskField { 787 FieldMaskField = new global::Google.Protobuf.WellKnownTypes.FieldMask(); in MergeFrom() 910 FieldMaskField = new global::Google.Protobuf.WellKnownTypes.FieldMask(); in MergeFrom() 1057 FieldMaskField = new global::Google.Protobuf.WellKnownTypes.FieldMask(); in IBufferMessage.InternalMergeFrom() 1267 …private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.FieldMask> _repeated… 1268 = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.WellKnownTypes.FieldMask.Parser); 1269 …e.Protobuf.WellKnownTypes.FieldMask> fieldMaskField_ = new pbc::RepeatedField<global::Google.Proto… 1271 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> FieldMaskField { 1900 public global::Google.Protobuf.WellKnownTypes.FieldMask FieldMaskField { [all …]
|
/third_party/protobuf/conformance/ |
D | Makefile.am | 44 com/google/protobuf/FieldMask.java \ 115 GPBMetadata/Google/Protobuf/FieldMask.php \ 125 Google/Protobuf/FieldMask.php \
|