From bab24c3f207937dd17ad6f84543be6f570f66fe9 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 2 Feb 2023 10:58:14 -0500 Subject: [PATCH] chore: [cloudbilling] reformat protos (#9043) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: reformat protos PiperOrigin-RevId: 504926695 Source-Link: https://github.com/googleapis/googleapis/commit/d8e1dade751c6ecb6025dc196c2ca29dd938310b Source-Link: https://github.com/googleapis/googleapis-gen/commit/036d774db07559a26b54fb858186fd4057eda611 Copy-Tag: eyJwIjoiamF2YS1iaWxsaW5nLy5Pd2xCb3QueWFtbCIsImgiOiIwMzZkNzc0ZGIwNzU1OWEyNmI1NGZiODU4MTg2ZmQ0MDU3ZWRhNjExIn0= * 🦉 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 --- java-billing/README.md | 6 +- .../cloud/billing/v1/BillingAccount.java | 56 ++++++++++--------- .../billing/v1/BillingAccountOrBuilder.java | 15 ++--- .../billing/v1/GetBillingAccountRequest.java | 28 +++++----- .../v1/GetBillingAccountRequestOrBuilder.java | 8 +-- .../v1/ListProjectBillingInfoRequest.java | 35 +++++++----- ...istProjectBillingInfoRequestOrBuilder.java | 10 ++-- .../v1/UpdateBillingAccountRequest.java | 36 ++++++++---- .../UpdateBillingAccountRequestOrBuilder.java | 9 ++- .../v1/UpdateProjectBillingInfoRequest.java | 35 +++++++----- ...ateProjectBillingInfoRequestOrBuilder.java | 10 ++-- .../cloud/billing/v1/cloud_billing.proto | 55 +++++++++++------- 12 files changed, 177 insertions(+), 126 deletions(-) diff --git a/java-billing/README.md b/java-billing/README.md index eb8ccc4a5121..090149472ab5 100644 --- a/java-billing/README.md +++ b/java-billing/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-billing - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-billing:2.8.0' +implementation 'com.google.cloud:google-cloud-billing:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-billing" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-billing" % "2.9.0" ``` ## Authentication diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/BillingAccount.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/BillingAccount.java index 1d96126cb121..ef721eeaaf43 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/BillingAccount.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/BillingAccount.java @@ -79,8 +79,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. The resource name of the billing account. The resource name has the form
-   * `billingAccounts/{billing_account_id}`. For example,
+   * Output only. The resource name of the billing account. The resource name
+   * has the form `billingAccounts/{billing_account_id}`. For example,
    * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
    * billing account `012345-567890-ABCDEF`.
    * 
@@ -107,8 +107,8 @@ public java.lang.String getName() { * * *
-   * Output only. The resource name of the billing account. The resource name has the form
-   * `billingAccounts/{billing_account_id}`. For example,
+   * Output only. The resource name of the billing account. The resource name
+   * has the form `billingAccounts/{billing_account_id}`. For example,
    * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
    * billing account `012345-567890-ABCDEF`.
    * 
@@ -138,9 +138,10 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Output only. True if the billing account is open, and will therefore be charged for any
-   * usage on associated projects. False if the billing account is closed, and
-   * therefore projects associated with it will be unable to use paid services.
+   * Output only. True if the billing account is open, and will therefore be
+   * charged for any usage on associated projects. False if the billing account
+   * is closed, and therefore projects associated with it will be unable to use
+   * paid services.
    * 
* * bool open = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -682,8 +683,8 @@ public Builder mergeFrom( * * *
-     * Output only. The resource name of the billing account. The resource name has the form
-     * `billingAccounts/{billing_account_id}`. For example,
+     * Output only. The resource name of the billing account. The resource name
+     * has the form `billingAccounts/{billing_account_id}`. For example,
      * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
      * billing account `012345-567890-ABCDEF`.
      * 
@@ -709,8 +710,8 @@ public java.lang.String getName() { * * *
-     * Output only. The resource name of the billing account. The resource name has the form
-     * `billingAccounts/{billing_account_id}`. For example,
+     * Output only. The resource name of the billing account. The resource name
+     * has the form `billingAccounts/{billing_account_id}`. For example,
      * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
      * billing account `012345-567890-ABCDEF`.
      * 
@@ -736,8 +737,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. The resource name of the billing account. The resource name has the form
-     * `billingAccounts/{billing_account_id}`. For example,
+     * Output only. The resource name of the billing account. The resource name
+     * has the form `billingAccounts/{billing_account_id}`. For example,
      * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
      * billing account `012345-567890-ABCDEF`.
      * 
@@ -762,8 +763,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. The resource name of the billing account. The resource name has the form
-     * `billingAccounts/{billing_account_id}`. For example,
+     * Output only. The resource name of the billing account. The resource name
+     * has the form `billingAccounts/{billing_account_id}`. For example,
      * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
      * billing account `012345-567890-ABCDEF`.
      * 
@@ -784,8 +785,8 @@ public Builder clearName() { * * *
-     * Output only. The resource name of the billing account. The resource name has the form
-     * `billingAccounts/{billing_account_id}`. For example,
+     * Output only. The resource name of the billing account. The resource name
+     * has the form `billingAccounts/{billing_account_id}`. For example,
      * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
      * billing account `012345-567890-ABCDEF`.
      * 
@@ -813,9 +814,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. True if the billing account is open, and will therefore be charged for any
-     * usage on associated projects. False if the billing account is closed, and
-     * therefore projects associated with it will be unable to use paid services.
+     * Output only. True if the billing account is open, and will therefore be
+     * charged for any usage on associated projects. False if the billing account
+     * is closed, and therefore projects associated with it will be unable to use
+     * paid services.
      * 
* * bool open = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -830,9 +832,10 @@ public boolean getOpen() { * * *
-     * Output only. True if the billing account is open, and will therefore be charged for any
-     * usage on associated projects. False if the billing account is closed, and
-     * therefore projects associated with it will be unable to use paid services.
+     * Output only. True if the billing account is open, and will therefore be
+     * charged for any usage on associated projects. False if the billing account
+     * is closed, and therefore projects associated with it will be unable to use
+     * paid services.
      * 
* * bool open = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -851,9 +854,10 @@ public Builder setOpen(boolean value) { * * *
-     * Output only. True if the billing account is open, and will therefore be charged for any
-     * usage on associated projects. False if the billing account is closed, and
-     * therefore projects associated with it will be unable to use paid services.
+     * Output only. True if the billing account is open, and will therefore be
+     * charged for any usage on associated projects. False if the billing account
+     * is closed, and therefore projects associated with it will be unable to use
+     * paid services.
      * 
* * bool open = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/BillingAccountOrBuilder.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/BillingAccountOrBuilder.java index 1ee52edb35ab..cfcc18ae1d97 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/BillingAccountOrBuilder.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/BillingAccountOrBuilder.java @@ -27,8 +27,8 @@ public interface BillingAccountOrBuilder * * *
-   * Output only. The resource name of the billing account. The resource name has the form
-   * `billingAccounts/{billing_account_id}`. For example,
+   * Output only. The resource name of the billing account. The resource name
+   * has the form `billingAccounts/{billing_account_id}`. For example,
    * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
    * billing account `012345-567890-ABCDEF`.
    * 
@@ -44,8 +44,8 @@ public interface BillingAccountOrBuilder * * *
-   * Output only. The resource name of the billing account. The resource name has the form
-   * `billingAccounts/{billing_account_id}`. For example,
+   * Output only. The resource name of the billing account. The resource name
+   * has the form `billingAccounts/{billing_account_id}`. For example,
    * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
    * billing account `012345-567890-ABCDEF`.
    * 
@@ -62,9 +62,10 @@ public interface BillingAccountOrBuilder * * *
-   * Output only. True if the billing account is open, and will therefore be charged for any
-   * usage on associated projects. False if the billing account is closed, and
-   * therefore projects associated with it will be unable to use paid services.
+   * Output only. True if the billing account is open, and will therefore be
+   * charged for any usage on associated projects. False if the billing account
+   * is closed, and therefore projects associated with it will be unable to use
+   * paid services.
    * 
* * bool open = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/GetBillingAccountRequest.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/GetBillingAccountRequest.java index 9cd1ea59b0e4..579355a319f1 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/GetBillingAccountRequest.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/GetBillingAccountRequest.java @@ -75,8 +75,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the billing account to retrieve. For example,
-   * `billingAccounts/012345-567890-ABCDEF`.
+   * Required. The resource name of the billing account to retrieve. For
+   * example, `billingAccounts/012345-567890-ABCDEF`.
    * 
* * @@ -101,8 +101,8 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the billing account to retrieve. For example,
-   * `billingAccounts/012345-567890-ABCDEF`.
+   * Required. The resource name of the billing account to retrieve. For
+   * example, `billingAccounts/012345-567890-ABCDEF`.
    * 
* * @@ -471,8 +471,8 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the billing account to retrieve. For example,
-     * `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account to retrieve. For
+     * example, `billingAccounts/012345-567890-ABCDEF`.
      * 
* * @@ -496,8 +496,8 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the billing account to retrieve. For example,
-     * `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account to retrieve. For
+     * example, `billingAccounts/012345-567890-ABCDEF`.
      * 
* * @@ -521,8 +521,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the billing account to retrieve. For example,
-     * `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account to retrieve. For
+     * example, `billingAccounts/012345-567890-ABCDEF`.
      * 
* * @@ -545,8 +545,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the billing account to retrieve. For example,
-     * `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account to retrieve. For
+     * example, `billingAccounts/012345-567890-ABCDEF`.
      * 
* * @@ -565,8 +565,8 @@ public Builder clearName() { * * *
-     * Required. The resource name of the billing account to retrieve. For example,
-     * `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account to retrieve. For
+     * example, `billingAccounts/012345-567890-ABCDEF`.
      * 
* * diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/GetBillingAccountRequestOrBuilder.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/GetBillingAccountRequestOrBuilder.java index c363f300c925..e47fe839b5f2 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/GetBillingAccountRequestOrBuilder.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/GetBillingAccountRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface GetBillingAccountRequestOrBuilder * * *
-   * Required. The resource name of the billing account to retrieve. For example,
-   * `billingAccounts/012345-567890-ABCDEF`.
+   * Required. The resource name of the billing account to retrieve. For
+   * example, `billingAccounts/012345-567890-ABCDEF`.
    * 
* * @@ -42,8 +42,8 @@ public interface GetBillingAccountRequestOrBuilder * * *
-   * Required. The resource name of the billing account to retrieve. For example,
-   * `billingAccounts/012345-567890-ABCDEF`.
+   * Required. The resource name of the billing account to retrieve. For
+   * example, `billingAccounts/012345-567890-ABCDEF`.
    * 
* * diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListProjectBillingInfoRequest.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListProjectBillingInfoRequest.java index e53945719560..c3a9bf1bc62d 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListProjectBillingInfoRequest.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListProjectBillingInfoRequest.java @@ -76,8 +76,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the billing account associated with the projects that
-   * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+   * Required. The resource name of the billing account associated with the
+   * projects that you want to list. For example,
+   * `billingAccounts/012345-567890-ABCDEF`.
    * 
* * @@ -102,8 +103,9 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the billing account associated with the projects that
-   * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+   * Required. The resource name of the billing account associated with the
+   * projects that you want to list. For example,
+   * `billingAccounts/012345-567890-ABCDEF`.
    * 
* * @@ -593,8 +595,9 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the billing account associated with the projects that
-     * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account associated with the
+     * projects that you want to list. For example,
+     * `billingAccounts/012345-567890-ABCDEF`.
      * 
* * @@ -618,8 +621,9 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the billing account associated with the projects that
-     * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account associated with the
+     * projects that you want to list. For example,
+     * `billingAccounts/012345-567890-ABCDEF`.
      * 
* * @@ -643,8 +647,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the billing account associated with the projects that
-     * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account associated with the
+     * projects that you want to list. For example,
+     * `billingAccounts/012345-567890-ABCDEF`.
      * 
* * @@ -667,8 +672,9 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the billing account associated with the projects that
-     * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account associated with the
+     * projects that you want to list. For example,
+     * `billingAccounts/012345-567890-ABCDEF`.
      * 
* * @@ -687,8 +693,9 @@ public Builder clearName() { * * *
-     * Required. The resource name of the billing account associated with the projects that
-     * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account associated with the
+     * projects that you want to list. For example,
+     * `billingAccounts/012345-567890-ABCDEF`.
      * 
* * diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListProjectBillingInfoRequestOrBuilder.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListProjectBillingInfoRequestOrBuilder.java index f36541f0410b..adefc644da53 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListProjectBillingInfoRequestOrBuilder.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListProjectBillingInfoRequestOrBuilder.java @@ -27,8 +27,9 @@ public interface ListProjectBillingInfoRequestOrBuilder * * *
-   * Required. The resource name of the billing account associated with the projects that
-   * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+   * Required. The resource name of the billing account associated with the
+   * projects that you want to list. For example,
+   * `billingAccounts/012345-567890-ABCDEF`.
    * 
* * @@ -42,8 +43,9 @@ public interface ListProjectBillingInfoRequestOrBuilder * * *
-   * Required. The resource name of the billing account associated with the projects that
-   * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+   * Required. The resource name of the billing account associated with the
+   * projects that you want to list. For example,
+   * `billingAccounts/012345-567890-ABCDEF`.
    * 
* * diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateBillingAccountRequest.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateBillingAccountRequest.java index 79a35dbf3cbb..3c41ae67b486 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateBillingAccountRequest.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateBillingAccountRequest.java @@ -128,7 +128,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. The billing account resource to replace the resource on the server.
+   * Required. The billing account resource to replace the resource on the
+   * server.
    * 
* * @@ -145,7 +146,8 @@ public boolean hasAccount() { * * *
-   * Required. The billing account resource to replace the resource on the server.
+   * Required. The billing account resource to replace the resource on the
+   * server.
    * 
* * @@ -164,7 +166,8 @@ public com.google.cloud.billing.v1.BillingAccount getAccount() { * * *
-   * Required. The billing account resource to replace the resource on the server.
+   * Required. The billing account resource to replace the resource on the
+   * server.
    * 
* * @@ -758,7 +761,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * @@ -774,7 +778,8 @@ public boolean hasAccount() { * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * @@ -796,7 +801,8 @@ public com.google.cloud.billing.v1.BillingAccount getAccount() { * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * @@ -820,7 +826,8 @@ public Builder setAccount(com.google.cloud.billing.v1.BillingAccount value) { * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * @@ -841,7 +848,8 @@ public Builder setAccount(com.google.cloud.billing.v1.BillingAccount.Builder bui * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * @@ -868,7 +876,8 @@ public Builder mergeAccount(com.google.cloud.billing.v1.BillingAccount value) { * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * @@ -889,7 +898,8 @@ public Builder clearAccount() { * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * @@ -905,7 +915,8 @@ public com.google.cloud.billing.v1.BillingAccount.Builder getAccountBuilder() { * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * @@ -925,7 +936,8 @@ public com.google.cloud.billing.v1.BillingAccountOrBuilder getAccountOrBuilder() * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateBillingAccountRequestOrBuilder.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateBillingAccountRequestOrBuilder.java index 0300e04a6491..d145a63f307e 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateBillingAccountRequestOrBuilder.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateBillingAccountRequestOrBuilder.java @@ -56,7 +56,8 @@ public interface UpdateBillingAccountRequestOrBuilder * * *
-   * Required. The billing account resource to replace the resource on the server.
+   * Required. The billing account resource to replace the resource on the
+   * server.
    * 
* * @@ -70,7 +71,8 @@ public interface UpdateBillingAccountRequestOrBuilder * * *
-   * Required. The billing account resource to replace the resource on the server.
+   * Required. The billing account resource to replace the resource on the
+   * server.
    * 
* * @@ -84,7 +86,8 @@ public interface UpdateBillingAccountRequestOrBuilder * * *
-   * Required. The billing account resource to replace the resource on the server.
+   * Required. The billing account resource to replace the resource on the
+   * server.
    * 
* * diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateProjectBillingInfoRequest.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateProjectBillingInfoRequest.java index cb00ea4f0853..70277c8f33ae 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateProjectBillingInfoRequest.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateProjectBillingInfoRequest.java @@ -76,8 +76,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the project associated with the billing information
-   * that you want to update. For example, `projects/tokyo-rain-123`.
+   * Required. The resource name of the project associated with the billing
+   * information that you want to update. For example,
+   * `projects/tokyo-rain-123`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -100,8 +101,9 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the project associated with the billing information
-   * that you want to update. For example, `projects/tokyo-rain-123`.
+   * Required. The resource name of the project associated with the billing
+   * information that you want to update. For example,
+   * `projects/tokyo-rain-123`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -557,8 +559,9 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the project associated with the billing information
-     * that you want to update. For example, `projects/tokyo-rain-123`.
+     * Required. The resource name of the project associated with the billing
+     * information that you want to update. For example,
+     * `projects/tokyo-rain-123`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -580,8 +583,9 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the project associated with the billing information
-     * that you want to update. For example, `projects/tokyo-rain-123`.
+     * Required. The resource name of the project associated with the billing
+     * information that you want to update. For example,
+     * `projects/tokyo-rain-123`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -603,8 +607,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the project associated with the billing information
-     * that you want to update. For example, `projects/tokyo-rain-123`.
+     * Required. The resource name of the project associated with the billing
+     * information that you want to update. For example,
+     * `projects/tokyo-rain-123`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -625,8 +630,9 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the project associated with the billing information
-     * that you want to update. For example, `projects/tokyo-rain-123`.
+     * Required. The resource name of the project associated with the billing
+     * information that you want to update. For example,
+     * `projects/tokyo-rain-123`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -643,8 +649,9 @@ public Builder clearName() { * * *
-     * Required. The resource name of the project associated with the billing information
-     * that you want to update. For example, `projects/tokyo-rain-123`.
+     * Required. The resource name of the project associated with the billing
+     * information that you want to update. For example,
+     * `projects/tokyo-rain-123`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateProjectBillingInfoRequestOrBuilder.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateProjectBillingInfoRequestOrBuilder.java index bda32cfdce84..382c418f854a 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateProjectBillingInfoRequestOrBuilder.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateProjectBillingInfoRequestOrBuilder.java @@ -27,8 +27,9 @@ public interface UpdateProjectBillingInfoRequestOrBuilder * * *
-   * Required. The resource name of the project associated with the billing information
-   * that you want to update. For example, `projects/tokyo-rain-123`.
+   * Required. The resource name of the project associated with the billing
+   * information that you want to update. For example,
+   * `projects/tokyo-rain-123`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -40,8 +41,9 @@ public interface UpdateProjectBillingInfoRequestOrBuilder * * *
-   * Required. The resource name of the project associated with the billing information
-   * that you want to update. For example, `projects/tokyo-rain-123`.
+   * Required. The resource name of the project associated with the billing
+   * information that you want to update. For example,
+   * `projects/tokyo-rain-123`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_billing.proto b/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_billing.proto index b98f0fd7c264..4f6277b3f20e 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_billing.proto +++ b/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_billing.proto @@ -51,7 +51,8 @@ service CloudBilling { // Lists the billing accounts that the current authenticated user has // permission to // [view](https://cloud.google.com/billing/docs/how-to/billing-access). - rpc ListBillingAccounts(ListBillingAccountsRequest) returns (ListBillingAccountsResponse) { + rpc ListBillingAccounts(ListBillingAccountsRequest) + returns (ListBillingAccountsResponse) { option (google.api.http) = { get: "/v1/billingAccounts" }; @@ -64,7 +65,8 @@ service CloudBilling { // IAM permission, which is typically given to the // [administrator](https://cloud.google.com/billing/docs/how-to/billing-access) // of the billing account. - rpc UpdateBillingAccount(UpdateBillingAccountRequest) returns (BillingAccount) { + rpc UpdateBillingAccount(UpdateBillingAccountRequest) + returns (BillingAccount) { option (google.api.http) = { patch: "/v1/{name=billingAccounts/*}" body: "account" @@ -87,7 +89,8 @@ service CloudBilling { // [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). // This method will return an error if the parent account has not been // provisioned as a reseller account. - rpc CreateBillingAccount(CreateBillingAccountRequest) returns (BillingAccount) { + rpc CreateBillingAccount(CreateBillingAccountRequest) + returns (BillingAccount) { option (google.api.http) = { post: "/v1/billingAccounts" body: "billing_account" @@ -99,7 +102,8 @@ service CloudBilling { // authenticated user must have the `billing.resourceAssociations.list` IAM // permission, which is often given to billing account // [viewers](https://cloud.google.com/billing/docs/how-to/billing-access). - rpc ListProjectBillingInfo(ListProjectBillingInfoRequest) returns (ListProjectBillingInfoResponse) { + rpc ListProjectBillingInfo(ListProjectBillingInfoRequest) + returns (ListProjectBillingInfoResponse) { option (google.api.http) = { get: "/v1/{name=billingAccounts/*}/projects" }; @@ -111,7 +115,8 @@ service CloudBilling { // which can be granted by assigning the [Project // Viewer](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) // role. - rpc GetProjectBillingInfo(GetProjectBillingInfoRequest) returns (ProjectBillingInfo) { + rpc GetProjectBillingInfo(GetProjectBillingInfoRequest) + returns (ProjectBillingInfo) { option (google.api.http) = { get: "/v1/{name=projects/*}/billingInfo" }; @@ -149,7 +154,8 @@ service CloudBilling { // resources used by the project will be shut down. Thus, unless you wish to // disable billing, you should always call this method with the name of an // *open* billing account. - rpc UpdateProjectBillingInfo(UpdateProjectBillingInfoRequest) returns (ProjectBillingInfo) { + rpc UpdateProjectBillingInfo(UpdateProjectBillingInfoRequest) + returns (ProjectBillingInfo) { option (google.api.http) = { put: "/v1/{name=projects/*}/billingInfo" body: "project_billing_info" @@ -161,7 +167,8 @@ service CloudBilling { // The caller must have the `billing.accounts.getIamPolicy` permission on the // account, which is often given to billing account // [viewers](https://cloud.google.com/billing/docs/how-to/billing-access). - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { get: "/v1/{resource=billingAccounts/*}:getIamPolicy" }; @@ -173,7 +180,8 @@ service CloudBilling { // The caller must have the `billing.accounts.setIamPolicy` permission on the // account, which is often given to billing account // [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1/{resource=billingAccounts/*}:setIamPolicy" body: "*" @@ -184,7 +192,8 @@ service CloudBilling { // Tests the access control policy for a billing account. This method takes // the resource and a set of permissions as input and returns the subset of // the input permissions that the caller is allowed for that resource. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1/{resource=billingAccounts/*}:testIamPermissions" body: "*" @@ -197,8 +206,8 @@ service CloudBilling { // [Google Cloud Console](https://console.cloud.google.com/). You can assign a // billing account to one or more projects. message BillingAccount { - // Output only. The resource name of the billing account. The resource name has the form - // `billingAccounts/{billing_account_id}`. For example, + // Output only. The resource name of the billing account. The resource name + // has the form `billingAccounts/{billing_account_id}`. For example, // `billingAccounts/012345-567890-ABCDEF` would be the resource name for // billing account `012345-567890-ABCDEF`. string name = 1 [ @@ -208,9 +217,10 @@ message BillingAccount { } ]; - // Output only. True if the billing account is open, and will therefore be charged for any - // usage on associated projects. False if the billing account is closed, and - // therefore projects associated with it will be unable to use paid services. + // Output only. True if the billing account is open, and will therefore be + // charged for any usage on associated projects. False if the billing account + // is closed, and therefore projects associated with it will be unable to use + // paid services. bool open = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // The display name given to the billing account, such as `My Billing @@ -253,8 +263,8 @@ message ProjectBillingInfo { // Request message for `GetBillingAccount`. message GetBillingAccountRequest { - // Required. The resource name of the billing account to retrieve. For example, - // `billingAccounts/012345-567890-ABCDEF`. + // Required. The resource name of the billing account to retrieve. For + // example, `billingAccounts/012345-567890-ABCDEF`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -313,7 +323,8 @@ message UpdateBillingAccountRequest { } ]; - // Required. The billing account resource to replace the resource on the server. + // Required. The billing account resource to replace the resource on the + // server. BillingAccount account = 2 [(google.api.field_behavior) = REQUIRED]; // The update mask applied to the resource. @@ -323,8 +334,9 @@ message UpdateBillingAccountRequest { // Request message for `ListProjectBillingInfo`. message ListProjectBillingInfoRequest { - // Required. The resource name of the billing account associated with the projects that - // you want to list. For example, `billingAccounts/012345-567890-ABCDEF`. + // Required. The resource name of the billing account associated with the + // projects that you want to list. For example, + // `billingAccounts/012345-567890-ABCDEF`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -363,8 +375,9 @@ message GetProjectBillingInfoRequest { // Request message for `UpdateProjectBillingInfo`. message UpdateProjectBillingInfoRequest { - // Required. The resource name of the project associated with the billing information - // that you want to update. For example, `projects/tokyo-rain-123`. + // Required. The resource name of the project associated with the billing + // information that you want to update. For example, + // `projects/tokyo-rain-123`. string name = 1 [(google.api.field_behavior) = REQUIRED]; // The new billing information for the project. Read-only fields are ignored;