Package com.google.cloud.billing.v1
Interface BillingAccountOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BillingAccount
,BillingAccount.Builder
public interface BillingAccountOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDisplayName()
The display name given to the billing account, such as `My Billing Account`.com.google.protobuf.ByteString
getDisplayNameBytes()
The display name given to the billing account, such as `My Billing Account`.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.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.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.boolean
getOpen()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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 will be 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.
-
-