Skip to content

Commit

Permalink
fix: Add client library version to headers (#2003)
Browse files Browse the repository at this point in the history
* fix: Add client library version to headers
fix: Allow bundlers to bundle JSON files correctly for ESM
deps: Update dependency google-gax to ^4.3.1
fix: Export types from protos in ESM

PiperOrigin-RevId: 609821360

Source-Link: googleapis/googleapis@5c5ecf0

Source-Link: googleapis/googleapis-gen@b875fcd
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjg3NWZjZGQxNGI0ZGVmNjUyMTgyOTMwMDNkOWJlYzRiODQyZWNhNyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Feb 28, 2024
1 parent 93ae66d commit 8799032
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions dev/protos/google/protobuf/descriptor.proto
Expand Up @@ -448,12 +448,16 @@ message FileOptions {
// This option does nothing.
optional bool java_generate_equals_and_hash = 20 [deprecated=true];

// If set true, then the Java2 code generator will generate code that
// throws an exception whenever an attempt is made to assign a non-UTF-8
// byte sequence to a string field.
// Message reflection will do the same.
// However, an extension field still accepts non-UTF-8 byte sequences.
// This option has no effect on when used with the lite runtime.
// A proto2 file can set this to true to opt in to UTF-8 checking for Java,
// which will throw an exception if invalid UTF-8 is parsed from the wire or
// assigned to a string field.
//
// TODO: clarify exactly what kinds of field types this option
// applies to, and update these docs accordingly.
//
// Proto3 files already perform these checks. Setting the option explicitly to
// false has no effect: it cannot be used to opt proto3 files out of UTF-8
// checks.
optional bool java_string_check_utf8 = 27 [default = false];

// Generated classes can be optimized for speed or code size.
Expand Down

0 comments on commit 8799032

Please sign in to comment.