Protobuf Team Bot
1d744d40c8
Fix lint warnings for protobuf GeneratedMessage.java
...
PiperOrigin-RevId: 507937400
2 years ago
Sandy Zhang
d1b86601a2
Add isClosed() to EnumDescriptor in Java.
...
PiperOrigin-RevId: 507489971
2 years ago
Adam Cozzette
1325913afd
Add Java support for retention attribute
...
PiperOrigin-RevId: 506760540
2 years ago
Protobuf Team Bot
da975a225c
Automated rollback of commit 63e127a89a
.
...
PiperOrigin-RevId: 506515268
2 years ago
Mike Kruskal
f60f478f45
Enable new JSON field name conflict handling.
...
This will apply uniformly in both proto2 and proto3, taking into account `json_name` options. See https://github.com/protocolbuffers/protobuf/pull/10750 for more details.
PiperOrigin-RevId: 502972769
2 years ago
Protobuf Team Bot
5669606613
Create a helper function that can make a mutable copy of any ProtobufList
...
instance to replace the specialized versions.
PiperOrigin-RevId: 500198486
2 years ago
Protobuf Team Bot
2d12041ae0
Add TODO to remove EMPTY in a future breaking release.
...
PiperOrigin-RevId: 495619064
2 years ago
Protobuf Team Bot
b51c551e37
Remove unused package private class ProtobufLists.
...
PiperOrigin-RevId: 495424888
2 years ago
Protobuf Team Bot
9595cbbf9a
Mark UnmodifiableLazyStringList deprecated. UnmodifiableLazyStringList is unnecessary and will be removed in a future release.
...
PiperOrigin-RevId: 495357579
2 years ago
Protobuf Team Bot
c658e27529
Make emptyList public and mark the public EMPTY field as deprecated.
...
PiperOrigin-RevId: 495154966
2 years ago
Mike Kruskal
63e127a89a
Rollback of: Fix lint warnings for protobuf GeneratedMessage.java
...
PiperOrigin-RevId: 493192776
2 years ago
Protobuf Team Bot
6dbd4131fa
Enable Text format parser to skip unknown short-formed repeated fields.
...
The text format specs state that short formed repeated field should be valid. For example:
```
repeated_field: [{}, {}]
```
However, this was not supported when text format parser tries to skip **unknown fields**.
PiperOrigin-RevId: 493085702
2 years ago
Protobuf Team Bot
caf1ce3b35
ROLLBACK_OF: Stop serializing the Class<MessageType> within Google (for now)
...
PiperOrigin-RevId: 493011985
2 years ago
Protobuf Team Bot
d301a9de3e
Internal Changez
...
PiperOrigin-RevId: 492253438
2 years ago
Protobuf Team Bot
9b0a8d3096
Fix lint warnings for protobuf GeneratedMessage.java
...
PiperOrigin-RevId: 492075312
2 years ago
Protobuf Team Bot
aa24ccda47
Internal change
...
PiperOrigin-RevId: 492049282
2 years ago
Protobuf Team Bot
8bd49dea5e
Fix lint warnings for protobuf GeneratedMessage.java
...
PiperOrigin-RevId: 490392951
2 years ago
Jerry Berg
736e9b8f7c
Fix misplacement of TimingBelt in the nested_builders_test.proto
...
hierarchy.
2 years ago
Jerry Berg
8d38060c89
Add test to verify nested builder fix.
...
Verify fix for https://github.com/protocolbuffers/protobuf/issues/10624
2 years ago
Jerry Berg
f616e70a9a
Add timing belt to nested_builders_test protos
...
This will be used in verfication of https://github.com/protocolbuffers/protobuf/issues/10624
2 years ago
Jerry Berg
8e6afeff49
Mark nested builder as clean after clear is called
...
Omitting this step was leading to stale cached versions of nested messages.
See https://github.com/protocolbuffers/protobuf/issues/10624
2 years ago
Mike Kruskal
e19c2606b3
Internal changes
...
PiperOrigin-RevId: 487447243
2 years ago
Protobuf Team Bot
5815aa307c
Document cleanups that should be done in a not-too-distant breaking-change
...
release.
PiperOrigin-RevId: 487365656
2 years ago
Protobuf Team Bot
60b71498d7
Add exemplar variants of the Java Any.is() and Any.unpack() methods.
...
The Java Any.is() and Any.unpack() methods now accept an exemplar message in
place of a Java class. This avoids the need to use Java introspection in the
implementation of these methods. The exemplar variant of Any.is() is named
Any.isSameTypeAs(). The exemplar variant of Any.unpack() is named Any.unpackSameTypeAs().
PiperOrigin-RevId: 486748727
2 years ago
Protobuf Team Bot
ab3dbe5d4b
Fix lint warnings in proto GeneratedMessage.java
...
PiperOrigin-RevId: 486535779
2 years ago
Protobuf Team Bot
3c0f05c1fa
Fix lint warnings for protobuf GeneratedMessage.java
...
Specifically this CL changes the [type variable names](https://engdoc.corp.google.com/eng/doc/devguide/java/style/index.md?cl=head#s5.2.8-type-variable-names ) only.
PiperOrigin-RevId: 485323620
2 years ago
Protobuf Team Bot
807cd1c839
Internal change
...
PiperOrigin-RevId: 484935651
2 years ago
Mike Kruskal
0ab63a7699
Sync from Piper @484138213
...
PROTOBUF_SYNC_PIPER
2 years ago
Jerry Berg
1594ac1a2e
Merge pull request #10770 from protocolbuffers/googleberg-cl-480629524
...
Mark default instance as immutable first to avoid race during static initialization of default instances.
2 years ago
Jerry Berg
9fb9384516
Avoid race condition
...
Mark default instance as immutable first to avoid race during static initialization of default instances.
2 years ago
Jeff Schnitzer
23537c8809
Remove duplicate serialVersionUID
2 years ago
Mike Kruskal
23f1481386
Sync from Piper @480194141
...
PROTOBUF_SYNC_PIPER
2 years ago
Jeff Schnitzer
384c6e6544
Add serialVersionUID to ByteString and subclasses
2 years ago
Mike Kruskal
a3888f5331
Clean up TextFormat parser ( #10673 )
...
* Fix TextFormat parser
2 years ago
Mike Kruskal
9a6781e476
Fix TextFormat parser ( #10672 )
2 years ago
Mike Kruskal
3b5301c114
Refactoring Java parsing (21.x) ( #10665 )
...
* Porting java cleanup
* Update changelog
* Fix absl usage
* Extension patch
* Remove extra allocations
2 years ago
Mike Kruskal
0a12e946a2
Refactoring Java parsing (22.x) ( #10664 )
...
* Porting java cleanup
* Update changelog
* Extension patch
* Remove extra allocations
2 years ago
Mike Kruskal
77036367ce
Sync from Piper @mkruskal/footmitten
...
PROTOBUF_SYNC_PIPER
2 years ago
Mike Kruskal
a7da44c5ae
Sync from Piper @mkruskal/footmitten
...
PROTOBUF_SYNC_PIPER
2 years ago
Mike Kruskal
388e3d744f
Sync from Piper @mkruskal/footmitten
...
PROTOBUF_SYNC_PIPER
2 years ago
Mike Kruskal
e99b2819ee
Sync from Piper @476205078
...
PROTOBUF_SYNC_PIPER
2 years ago
Mike Kruskal
2ce17c08a2
Fixing sync problems
2 years ago
Mike Kruskal
c3e751aac6
Sync from Piper @475378801
...
PROTOBUF_SYNC_PIPER
2 years ago
Mike Kruskal
d4af9c919f
Fixing bad merges, updating generated files
2 years ago
Mike Kruskal
a3c8e2deb0
Integrate from Piper for C++, Java, and Python ( #10455 )
...
* Sync from Piper @469587494
PROTOBUF_SYNC_PIPER
* Fixing github SOT protoc builds
* Fixing typos from google
* Remove leaked util/hash reference
* Fixing bad python merge
* Fixing python C++ library order
3 years ago
Okpist
912c61520b
Remove final modifier on private methods. It's useless.
3 years ago
theodorerose
6cf86ac37a
Sync from Piper @460213275
...
PROTOBUF_SYNC_PIPER
3 years ago
theodorerose
cc696d4bab
Sync from Piper @458570529
...
PROTOBUF_SYNC_PIPER
3 years ago
Jorg Brown
a3e1de0113
Sync from Piper @455586341
...
PROTOBUF_SYNC_PIPER
3 years ago
Elliotte Rusty Harold
ce537e8a3e
Sync from Piper @454206746
...
PROTOBUF_SYNC_PIPER
3 years ago