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

feat: introduce google.type.Decimal #133

Merged
merged 2 commits into from Mar 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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