Interface BillingAccountOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BillingAccount, BillingAccount.Builder

@Generated public interface BillingAccountOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    The display name given to the billing account, such as `My Billing Account`.
    com.google.protobuf.ByteString
    The display name given to the billing account, such as `My Billing Account`.
    If this account is a [subaccount](https://cloud.google.com/billing/docs/concepts), then this will be the resource name of the parent billing account that it is being resold through.
    com.google.protobuf.ByteString
    If this account is a [subaccount](https://cloud.google.com/billing/docs/concepts), then this will be the resource name of the parent billing account that it is being resold through.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    boolean
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       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 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      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,
       `billingAccounts/012345-567890-ABCDEF` would be the resource name for
       billing account `012345-567890-ABCDEF`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • getOpen

      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 are unable to use paid
       services.
       
      bool open = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The open.
    • getDisplayName

      String getDisplayName()
       The display name given to the billing account, such as `My Billing
       Account`. This name is displayed in the Google Cloud Console.
       
      string display_name = 3;
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       The display name given to the billing account, such as `My Billing
       Account`. This name is displayed in the Google Cloud Console.
       
      string display_name = 3;
      Returns:
      The bytes for displayName.
    • getMasterBillingAccount

      String getMasterBillingAccount()
       If this account is a
       [subaccount](https://cloud.google.com/billing/docs/concepts), then this
       will be the resource name of the parent billing account that it is being
       resold through.
       Otherwise this will be empty.
       
      string master_billing_account = 4;
      Returns:
      The masterBillingAccount.
    • getMasterBillingAccountBytes

      com.google.protobuf.ByteString getMasterBillingAccountBytes()
       If this account is a
       [subaccount](https://cloud.google.com/billing/docs/concepts), then this
       will be the resource name of the parent billing account that it is being
       resold through.
       Otherwise this will be empty.
       
      string master_billing_account = 4;
      Returns:
      The bytes for masterBillingAccount.
    • getParent

      String getParent()
       Output only. The billing account's parent resource identifier.
       Use the `MoveBillingAccount` method to update the account's parent resource
       if it is a organization.
       Format:
       - `organizations/{organization_id}`, for example,
       `organizations/12345678`
       - `billingAccounts/{billing_account_id}`, for example,
       `billingAccounts/012345-567890-ABCDEF`
       
      string parent = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Output only. The billing account's parent resource identifier.
       Use the `MoveBillingAccount` method to update the account's parent resource
       if it is a organization.
       Format:
       - `organizations/{organization_id}`, for example,
       `organizations/12345678`
       - `billingAccounts/{billing_account_id}`, for example,
       `billingAccounts/012345-567890-ABCDEF`
       
      string parent = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for parent.
    • getCurrencyCode

      String getCurrencyCode()
       Optional. The currency in which the billing account is billed and charged,
       represented as an ISO 4217 code such as `USD`.
      
       Billing account currency is determined at the time of billing account
       creation and cannot be updated subsequently, so this field should not be
       set on update requests. In addition, a subaccount always matches the
       currency of its parent billing account, so this field should not be set on
       subaccount creation requests. Clients can read this field to determine the
       currency of an existing billing account.
       
      string currency_code = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The currencyCode.
    • getCurrencyCodeBytes

      com.google.protobuf.ByteString getCurrencyCodeBytes()
       Optional. The currency in which the billing account is billed and charged,
       represented as an ISO 4217 code such as `USD`.
      
       Billing account currency is determined at the time of billing account
       creation and cannot be updated subsequently, so this field should not be
       set on update requests. In addition, a subaccount always matches the
       currency of its parent billing account, so this field should not be set on
       subaccount creation requests. Clients can read this field to determine the
       currency of an existing billing account.
       
      string currency_code = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for currencyCode.