You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extracting non-decoder changes from the decoder PR (#45546)
* creating class
* replacing encoder constants with new class constants
* adding fromValue to StructuredMessageFlags
* updating module info to contain more packages
* style
* undoing module info change
Copy file name to clipboardExpand all lines: sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/structuredmessage/StructuredMessageEncoder.java
Copy file name to clipboardExpand all lines: sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/structuredmessage/StructuredMessageFlags.java
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,21 @@ public static StructuredMessageFlags fromString(String value) {
45
45
returnnull;
46
46
}
47
47
48
+
/**
49
+
* Parses a serialized value to a StructuredMessageFlags instance.
50
+
* @param value the serialized value to parse.
51
+
* @return the parsed StructuredMessageFlags object.
52
+
* @throws IllegalArgumentException if unable to parse.
0 commit comments