Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions java-billingbudgets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.11.0</version>
<version>26.16.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-billingbudgets.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billingbudgets/2.14.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billingbudgets/2.18.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Budget();
}

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.billing.budgets.v1.BudgetModelProto
.internal_static_google_cloud_billing_budgets_v1_Budget_descriptor;
Expand Down Expand Up @@ -310,6 +305,10 @@ public com.google.cloud.billing.budgets.v1.BudgetAmountOrBuilder getAmountOrBuil
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -326,6 +325,10 @@ public java.util.List<com.google.cloud.billing.budgets.v1.ThresholdRule> getThre
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -343,6 +346,10 @@ public java.util.List<com.google.cloud.billing.budgets.v1.ThresholdRule> getThre
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -359,6 +366,10 @@ public int getThresholdRulesCount() {
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -375,6 +386,10 @@ public com.google.cloud.billing.budgets.v1.ThresholdRule getThresholdRules(int i
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand Down Expand Up @@ -457,7 +472,7 @@ public com.google.cloud.billing.budgets.v1.NotificationsRule getNotificationsRul
* <pre>
* Optional. Etag to validate that the object is unchanged for a
* read-modify-write operation.
* An empty etag will cause an update to overwrite other changes.
* An empty etag causes an update to overwrite other changes.
* </pre>
*
* <code>string etag = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand All @@ -482,7 +497,7 @@ public java.lang.String getEtag() {
* <pre>
* Optional. Etag to validate that the object is unchanged for a
* read-modify-write operation.
* An empty etag will cause an update to overwrite other changes.
* An empty etag causes an update to overwrite other changes.
* </pre>
*
* <code>string etag = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand Down Expand Up @@ -1738,6 +1753,10 @@ private void ensureThresholdRulesIsMutable() {
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -1758,6 +1777,10 @@ private void ensureThresholdRulesIsMutable() {
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -1777,6 +1800,10 @@ public int getThresholdRulesCount() {
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -1796,6 +1823,10 @@ public com.google.cloud.billing.budgets.v1.ThresholdRule getThresholdRules(int i
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -1822,6 +1853,10 @@ public Builder setThresholdRules(
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -1845,6 +1880,10 @@ public Builder setThresholdRules(
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -1870,6 +1909,10 @@ public Builder addThresholdRules(com.google.cloud.billing.budgets.v1.ThresholdRu
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -1896,6 +1939,10 @@ public Builder addThresholdRules(
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -1919,6 +1966,10 @@ public Builder addThresholdRules(
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -1942,6 +1993,10 @@ public Builder addThresholdRules(
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -1965,6 +2020,10 @@ public Builder addAllThresholdRules(
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -1987,6 +2046,10 @@ public Builder clearThresholdRules() {
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -2009,6 +2072,10 @@ public Builder removeThresholdRules(int index) {
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -2025,6 +2092,10 @@ public com.google.cloud.billing.budgets.v1.ThresholdRule.Builder getThresholdRul
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -2045,6 +2116,10 @@ public com.google.cloud.billing.budgets.v1.ThresholdRuleOrBuilder getThresholdRu
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -2065,6 +2140,10 @@ public com.google.cloud.billing.budgets.v1.ThresholdRuleOrBuilder getThresholdRu
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -2081,6 +2160,10 @@ public com.google.cloud.billing.budgets.v1.ThresholdRule.Builder addThresholdRul
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand All @@ -2099,6 +2182,10 @@ public com.google.cloud.billing.budgets.v1.ThresholdRule.Builder addThresholdRul
* <pre>
* Optional. Rules that trigger alerts (notifications of thresholds
* being crossed) when spend exceeds the specified percentages of the budget.
*
* Optional for `pubsubTopic` notifications.
*
* Required if using email notifications.
* </pre>
*
* <code>
Expand Down Expand Up @@ -2353,7 +2440,7 @@ public Builder clearNotificationsRule() {
* <pre>
* Optional. Etag to validate that the object is unchanged for a
* read-modify-write operation.
* An empty etag will cause an update to overwrite other changes.
* An empty etag causes an update to overwrite other changes.
* </pre>
*
* <code>string etag = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand All @@ -2377,7 +2464,7 @@ public java.lang.String getEtag() {
* <pre>
* Optional. Etag to validate that the object is unchanged for a
* read-modify-write operation.
* An empty etag will cause an update to overwrite other changes.
* An empty etag causes an update to overwrite other changes.
* </pre>
*
* <code>string etag = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand All @@ -2401,7 +2488,7 @@ public com.google.protobuf.ByteString getEtagBytes() {
* <pre>
* Optional. Etag to validate that the object is unchanged for a
* read-modify-write operation.
* An empty etag will cause an update to overwrite other changes.
* An empty etag causes an update to overwrite other changes.
* </pre>
*
* <code>string etag = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand All @@ -2424,7 +2511,7 @@ public Builder setEtag(java.lang.String value) {
* <pre>
* Optional. Etag to validate that the object is unchanged for a
* read-modify-write operation.
* An empty etag will cause an update to overwrite other changes.
* An empty etag causes an update to overwrite other changes.
* </pre>
*
* <code>string etag = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand All @@ -2443,7 +2530,7 @@ public Builder clearEtag() {
* <pre>
* Optional. Etag to validate that the object is unchanged for a
* read-modify-write operation.
* An empty etag will cause an update to overwrite other changes.
* An empty etag causes an update to overwrite other changes.
* </pre>
*
* <code>string etag = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BudgetAmount();
}

@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.billing.budgets.v1.BudgetModelProto
.internal_static_google_cloud_billing_budgets_v1_BudgetAmount_descriptor;
Expand All @@ -66,6 +61,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}

private int budgetAmountCase_ = 0;

@SuppressWarnings("serial")
private java.lang.Object budgetAmount_;

public enum BudgetAmountCase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,5 @@ public interface BudgetAmountOrBuilder
*/
com.google.cloud.billing.budgets.v1.LastPeriodAmountOrBuilder getLastPeriodAmountOrBuilder();

public com.google.cloud.billing.budgets.v1.BudgetAmount.BudgetAmountCase getBudgetAmountCase();
com.google.cloud.billing.budgets.v1.BudgetAmount.BudgetAmountCase getBudgetAmountCase();
}
Loading