Interface CreateBillingAccountRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    Required.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    boolean
    Required.

    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

    • hasBillingAccount

      boolean hasBillingAccount()
       Required. The billing account resource to create.
       Currently CreateBillingAccount only supports subaccount creation, so
       any created billing accounts must be under a provided parent billing
       account.
       
      .google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the billingAccount field is set.
    • getBillingAccount

      BillingAccount getBillingAccount()
       Required. The billing account resource to create.
       Currently CreateBillingAccount only supports subaccount creation, so
       any created billing accounts must be under a provided parent billing
       account.
       
      .google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The billingAccount.
    • getBillingAccountOrBuilder

      BillingAccountOrBuilder getBillingAccountOrBuilder()
       Required. The billing account resource to create.
       Currently CreateBillingAccount only supports subaccount creation, so
       any created billing accounts must be under a provided parent billing
       account.
       
      .google.cloud.billing.v1.BillingAccount billing_account = 1 [(.google.api.field_behavior) = REQUIRED];
    • getParent

      String getParent()
       Optional. The parent to create a billing account from.
       Format:
       - `billingAccounts/{billing_account_id}`, for example,
       `billingAccounts/012345-567890-ABCDEF`
       
      string parent = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Optional. The parent to create a billing account from.
       Format:
       - `billingAccounts/{billing_account_id}`, for example,
       `billingAccounts/012345-567890-ABCDEF`
       
      string parent = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for parent.