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

Commit

Permalink
feat: introduce google.type.Decimal (#133)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yoshi-automation committed Mar 29, 2021
1 parent 35eb687 commit 2602033
Show file tree
Hide file tree
Showing 9 changed files with 1,218 additions and 76 deletions.
118 changes: 60 additions & 58 deletions proto-google-common-protos/src/main/java/com/google/type/Color.java

Large diffs are not rendered by default.

Expand Up @@ -68,13 +68,13 @@ public interface ColorOrBuilder
* <pre>
* The fraction of this color that should be applied to the pixel. That is,
* the final pixel color is defined by the equation:
* pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
* `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
* This means that a value of 1.0 corresponds to a solid color, whereas
* a value of 0.0 corresponds to a completely transparent color. This
* uses a wrapper message rather than a simple float scalar so that it is
* possible to distinguish between a default value and the value being unset.
* If omitted, this color object is to be rendered as a solid color
* (as if the alpha value had been explicitly given with a value of 1.0).
* If omitted, this color object is rendered as a solid color
* (as if the alpha value had been explicitly given a value of 1.0).
* </pre>
*
* <code>.google.protobuf.FloatValue alpha = 4;</code>
Expand All @@ -88,13 +88,13 @@ public interface ColorOrBuilder
* <pre>
* The fraction of this color that should be applied to the pixel. That is,
* the final pixel color is defined by the equation:
* pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
* `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
* This means that a value of 1.0 corresponds to a solid color, whereas
* a value of 0.0 corresponds to a completely transparent color. This
* uses a wrapper message rather than a simple float scalar so that it is
* possible to distinguish between a default value and the value being unset.
* If omitted, this color object is to be rendered as a solid color
* (as if the alpha value had been explicitly given with a value of 1.0).
* If omitted, this color object is rendered as a solid color
* (as if the alpha value had been explicitly given a value of 1.0).
* </pre>
*
* <code>.google.protobuf.FloatValue alpha = 4;</code>
Expand All @@ -108,13 +108,13 @@ public interface ColorOrBuilder
* <pre>
* The fraction of this color that should be applied to the pixel. That is,
* the final pixel color is defined by the equation:
* pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
* `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)`
* This means that a value of 1.0 corresponds to a solid color, whereas
* a value of 0.0 corresponds to a completely transparent color. This
* uses a wrapper message rather than a simple float scalar so that it is
* possible to distinguish between a default value and the value being unset.
* If omitted, this color object is to be rendered as a solid color
* (as if the alpha value had been explicitly given with a value of 1.0).
* If omitted, this color object is rendered as a solid color
* (as if the alpha value had been explicitly given a value of 1.0).
* </pre>
*
* <code>.google.protobuf.FloatValue alpha = 4;</code>
Expand Down
Expand Up @@ -31,7 +31,8 @@
* * A year on its own, with zero month and day values
* * A year and month value, with a zero day, such as a credit card expiration
* date
* Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`.
* Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
* `google.protobuf.Timestamp`.
* </pre>
*
* Protobuf type {@code google.type.Date}
Expand Down Expand Up @@ -369,7 +370,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* * A year on its own, with zero month and day values
* * A year and month value, with a zero day, such as a credit card expiration
* date
* Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`.
* Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
* `google.protobuf.Timestamp`.
* </pre>
*
* Protobuf type {@code google.type.Date}
Expand Down

0 comments on commit 2602033

Please sign in to comment.