/external/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 …]
|
/external/protobuf/src/google/protobuf/util/ |
D | field_mask_util.h | 49 typedef google::protobuf::FieldMask FieldMask; typedef 54 static std::string ToString(const FieldMask& mask); 55 static void FromString(StringPiece str, FieldMask* out); 61 static bool ToJsonString(const FieldMask& mask, std::string* out); 62 static bool FromJsonString(StringPiece str, FieldMask* out); 80 static bool IsValidFieldMask(const FieldMask& mask) { in IsValidFieldMask() 91 static void AddPathToFieldMask(StringPiece path, FieldMask* mask) { in AddPathToFieldMask() 99 static FieldMask GetFieldMaskForAllFields() { in GetFieldMaskForAllFields() 100 FieldMask out; in GetFieldMaskForAllFields() 106 static void GetFieldMaskForAllFields(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 | 116 using google::protobuf::FieldMask; 123 FieldMask mask; in TEST() 142 FieldMask mask; in TEST() 198 FieldMask mask; in TEST() 208 FieldMask mask; in TEST() 266 FieldMask in, out; in TEST() 314 FieldMask mask1, mask2, out; in TEST() 333 FieldMask mask1, mask2, out; in TEST() 352 FieldMask mask1, mask2, out; in TEST() 399 FieldMask mask; in TEST() [all …]
|
/external/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 : 72 FieldMask(); 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 | 21 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<FieldMask> _instance; 29 new (ptr) PROTOBUF_NAMESPACE_ID::FieldMask(); in InitDefaultsscc_info_FieldMask_google_2fprotobuf_2ffield_5fmask_2eproto() 32 PROTOBUF_NAMESPACE_ID::FieldMask::InitAsDefaultInstance(); in InitDefaultsscc_info_FieldMask_google_2fprotobuf_2ffield_5fmask_2eproto() 44 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldMask, _internal_metadata_), 48 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FieldMask, paths_), 51 { 0, -1, sizeof(PROTOBUF_NAMESPACE_ID::FieldMask)}, 86 void FieldMask::InitAsDefaultInstance() { in InitAsDefaultInstance() 88 class FieldMask::_Internal { 92 FieldMask::FieldMask() in FieldMask() function in FieldMask 97 FieldMask::FieldMask(::PROTOBUF_NAMESPACE_ID::Arena* arena) 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
|
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | FieldMaskUtil.java | 42 import com.google.protobuf.FieldMask; 62 public static String toString(FieldMask fieldMask) { in toString() 84 public static FieldMask fromString(String value) { in fromString() 94 public static FieldMask fromString(Class<? extends Message> type, String value) { in fromString() 105 public static FieldMask fromStringList(Class<? extends Message> type, Iterable<String> paths) { in fromStringList() 106 FieldMask.Builder builder = FieldMask.newBuilder(); in fromStringList() 125 public static FieldMask fromFieldNumbers(Class<? extends Message> type, int... fieldNumbers) { in fromFieldNumbers() 134 public static FieldMask fromFieldNumbers( in fromFieldNumbers() 138 FieldMask.Builder builder = FieldMask.newBuilder(); in fromFieldNumbers() 153 public static String toJsonString(FieldMask fieldMask) { in toJsonString() [all …]
|
D | FieldMaskTree.java | 36 import com.google.protobuf.FieldMask; 82 FieldMaskTree(FieldMask mask) { in FieldMaskTree() 130 FieldMaskTree mergeFromFieldMask(FieldMask mask) { in mergeFromFieldMask() 140 FieldMask toFieldMask() { in toFieldMask() 142 return FieldMask.getDefaultInstance(); in toFieldMask() 146 return FieldMask.newBuilder().addAllPaths(paths).build(); in toFieldMask()
|
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
D | FieldMaskUtilTest.java | 33 import com.google.protobuf.FieldMask; 78 assertEquals("", FieldMaskUtil.toString(FieldMask.getDefaultInstance())); in testToString() 79 FieldMask mask = FieldMask.newBuilder().addPaths("foo").build(); in testToString() 81 mask = FieldMask.newBuilder().addPaths("foo").addPaths("bar").build(); in testToString() 86 FieldMask.newBuilder() in testToString() 97 FieldMask mask = FieldMaskUtil.fromString(""); in testFromString() 125 FieldMask mask = FieldMaskUtil.fromFieldNumbers(TestAllTypes.class); in testFromFieldNumbers() 150 FieldMask mask = FieldMask.getDefaultInstance(); in testToJsonString() 152 mask = FieldMask.newBuilder().addPaths("foo").build(); in testToJsonString() 154 mask = FieldMask.newBuilder().addPaths("foo.bar_baz").addPaths("").build(); in testToJsonString() [all …]
|
/external/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 244 …ivate static readonly pb::MessageParser<FieldMask> _parser = new pb::MessageParser<FieldMask>(() =… 247 public static pb::MessageParser<FieldMask> Parser { get { return _parser; } } 260 public FieldMask() { in FieldMask() method in Google.Protobuf.WellKnownTypes.FieldMask 267 public FieldMask(FieldMask other) : this() { in FieldMask() method in Google.Protobuf.WellKnownTypes.FieldMask 273 public FieldMask Clone() { in Clone() 274 return new FieldMask(this); in Clone() 292 return Equals(other as FieldMask); in Equals() 296 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 …]
|
/external/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()
|
/external/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;
|
/external/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 …]
|
/external/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()
|
/external/protobuf/php/src/Google/Protobuf/ |
D | FieldMask.php | 172 class FieldMask extends \Google\Protobuf\Internal\Message class 192 \GPBMetadata\Google\Protobuf\FieldMask::initOnce();
|
/external/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 | 472 var mask = new FieldMask { Paths = { input } }; in FieldMaskInvalid() 479 …var fieldMask = new FieldMask { Paths = { "", "single", "with_underscore", "nested.field.name", "n… in FieldMaskStandalone() 483 fieldMask = new FieldMask { Paths = { "x\\y" } }; in FieldMaskStandalone() 490 …var message = new TestWellKnownTypes { FieldMaskField = new FieldMask { Paths = { "user.display_na… in FieldMaskField()
|
/external/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;
|
/external/protobuf/objectivec/google/protobuf/ |
D | FieldMask.pbobjc.m | 17 #import <Protobuf/FieldMask.pbobjc.h> 19 #import "google/protobuf/FieldMask.pbobjc.h"
|
/external/protobuf/php/src/GPBMetadata/Google/Protobuf/ |
D | FieldMask.php | 7 class FieldMask class
|
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestWellKnownTypes.cs | 280 private global::Google.Protobuf.WellKnownTypes.FieldMask fieldMaskField_; 282 public global::Google.Protobuf.WellKnownTypes.FieldMask FieldMaskField { 703 FieldMaskField = new global::Google.Protobuf.WellKnownTypes.FieldMask(); in MergeFrom() 823 FieldMaskField = new global::Google.Protobuf.WellKnownTypes.FieldMask(); in MergeFrom() 1028 …private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.FieldMask> _repeated… 1029 = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.WellKnownTypes.FieldMask.Parser); 1030 …e.Protobuf.WellKnownTypes.FieldMask> fieldMaskField_ = new pbc::RepeatedField<global::Google.Proto… 1032 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> FieldMaskField { 1536 public global::Google.Protobuf.WellKnownTypes.FieldMask FieldMaskField { 1537 …FieldOneofCase.FieldMaskField ? (global::Google.Protobuf.WellKnownTypes.FieldMask) oneofField_ : n… [all …]
|
/external/protobuf/objectivec/ |
D | GPBProtocolBuffers.h | 59 #import <Protobuf/FieldMask.pbobjc.h>
|