Skip to content
This repository was archived by the owner on Sep 18, 2023. It is now read-only.

Commit 2602033

Browse files
feat: introduce google.type.Decimal (#133)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/41b21f1c-fcf3-4beb-a6c4-2a4c1f3a40b8/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) PiperOrigin-RevId: 364894175 Source-Link: googleapis/googleapis@15c5e21
1 parent 35eb687 commit 2602033

File tree

9 files changed

+1218
-76
lines changed

9 files changed

+1218
-76
lines changed

proto-google-common-protos/src/main/java/com/google/type/Color.java

Lines changed: 60 additions & 58 deletions
Large diffs are not rendered by default.

proto-google-common-protos/src/main/java/com/google/type/ColorOrBuilder.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ public interface ColorOrBuilder
6868
* <pre>
6969
* The fraction of this color that should be applied to the pixel. That is,
7070
* the final pixel color is defined by the equation:
71-
* pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
71+
* `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
7272
* This means that a value of 1.0 corresponds to a solid color, whereas
7373
* a value of 0.0 corresponds to a completely transparent color. This
7474
* uses a wrapper message rather than a simple float scalar so that it is
7575
* possible to distinguish between a default value and the value being unset.
76-
* If omitted, this color object is to be rendered as a solid color
77-
* (as if the alpha value had been explicitly given with a value of 1.0).
76+
* If omitted, this color object is rendered as a solid color
77+
* (as if the alpha value had been explicitly given a value of 1.0).
7878
* </pre>
7979
*
8080
* <code>.google.protobuf.FloatValue alpha = 4;</code>
@@ -88,13 +88,13 @@ public interface ColorOrBuilder
8888
* <pre>
8989
* The fraction of this color that should be applied to the pixel. That is,
9090
* the final pixel color is defined by the equation:
91-
* pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
91+
* `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
9292
* This means that a value of 1.0 corresponds to a solid color, whereas
9393
* a value of 0.0 corresponds to a completely transparent color. This
9494
* uses a wrapper message rather than a simple float scalar so that it is
9595
* possible to distinguish between a default value and the value being unset.
96-
* If omitted, this color object is to be rendered as a solid color
97-
* (as if the alpha value had been explicitly given with a value of 1.0).
96+
* If omitted, this color object is rendered as a solid color
97+
* (as if the alpha value had been explicitly given a value of 1.0).
9898
* </pre>
9999
*
100100
* <code>.google.protobuf.FloatValue alpha = 4;</code>
@@ -108,13 +108,13 @@ public interface ColorOrBuilder
108108
* <pre>
109109
* The fraction of this color that should be applied to the pixel. That is,
110110
* the final pixel color is defined by the equation:
111-
* pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
111+
* `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
112112
* This means that a value of 1.0 corresponds to a solid color, whereas
113113
* a value of 0.0 corresponds to a completely transparent color. This
114114
* uses a wrapper message rather than a simple float scalar so that it is
115115
* possible to distinguish between a default value and the value being unset.
116-
* If omitted, this color object is to be rendered as a solid color
117-
* (as if the alpha value had been explicitly given with a value of 1.0).
116+
* If omitted, this color object is rendered as a solid color
117+
* (as if the alpha value had been explicitly given a value of 1.0).
118118
* </pre>
119119
*
120120
* <code>.google.protobuf.FloatValue alpha = 4;</code>

proto-google-common-protos/src/main/java/com/google/type/Date.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
* * A year on its own, with zero month and day values
3232
* * A year and month value, with a zero day, such as a credit card expiration
3333
* date
34-
* Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`.
34+
* Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
35+
* `google.protobuf.Timestamp`.
3536
* </pre>
3637
*
3738
* Protobuf type {@code google.type.Date}
@@ -369,7 +370,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
369370
* * A year on its own, with zero month and day values
370371
* * A year and month value, with a zero day, such as a credit card expiration
371372
* date
372-
* Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`.
373+
* Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
374+
* `google.protobuf.Timestamp`.
373375
* </pre>
374376
*
375377
* Protobuf type {@code google.type.Date}

0 commit comments

Comments
 (0)