Home
last modified time | relevance | path

Searched refs:fieldMask (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskUtil.java62 public static String toString(FieldMask fieldMask) { in toString() argument
66 for (String value : fieldMask.getPathsList()) { in toString()
153 public static String toJsonString(FieldMask fieldMask) { in toJsonString() argument
154 List<String> paths = new ArrayList<String>(fieldMask.getPathsCount()); in toJsonString()
155 for (String path : fieldMask.getPathsList()) { in toJsonString()
183 public static boolean isValid(Class<? extends Message> type, FieldMask fieldMask) { in isValid() argument
186 return isValid(descriptor, fieldMask); in isValid()
192 public static boolean isValid(Descriptor descriptor, FieldMask fieldMask) { in isValid() argument
193 for (String path : fieldMask.getPathsList()) { in isValid()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs444 …var fieldMask = new FieldMask { Paths = { "", "single", "with_underscore", "nested.field.name", "n… in FieldMaskStandalone()
445 …t.AreEqual("\",single,withUnderscore,nested.field.name,nested..doubleDot\"", fieldMask.ToString()); in FieldMaskStandalone()
448 fieldMask = new FieldMask { Paths = { "x\\y" } }; in FieldMaskStandalone()
449 Assert.AreEqual(@"""x\\y""", fieldMask.ToString()); in FieldMaskStandalone()