Class Invoice.AccountBudgetSummary.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Invoice.AccountBudgetSummary.Builder>
com.google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary.Builder
All Implemented Interfaces:
Invoice.AccountBudgetSummaryOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Invoice.AccountBudgetSummary

public static final class Invoice.AccountBudgetSummary.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Invoice.AccountBudgetSummary.Builder> implements Invoice.AccountBudgetSummaryOrBuilder
 Represents a summarized account budget billable cost.
 
Protobuf type google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Invoice.AccountBudgetSummary.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Invoice.AccountBudgetSummary.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Invoice.AccountBudgetSummary.Builder>
    • getDefaultInstanceForType

      public Invoice.AccountBudgetSummary getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Invoice.AccountBudgetSummary buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Invoice.AccountBudgetSummary.Builder>
    • setField

      public Invoice.AccountBudgetSummary.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Invoice.AccountBudgetSummary.Builder>
    • clearField

      public Invoice.AccountBudgetSummary.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Invoice.AccountBudgetSummary.Builder>
    • clearOneof

      public Invoice.AccountBudgetSummary.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Invoice.AccountBudgetSummary.Builder>
    • setRepeatedField

      public Invoice.AccountBudgetSummary.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Invoice.AccountBudgetSummary.Builder>
    • addRepeatedField

      public Invoice.AccountBudgetSummary.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Invoice.AccountBudgetSummary.Builder>
    • mergeFrom

      public Invoice.AccountBudgetSummary.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Invoice.AccountBudgetSummary.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Invoice.AccountBudgetSummary.Builder>
    • mergeFrom

      public Invoice.AccountBudgetSummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Invoice.AccountBudgetSummary.Builder>
      Throws:
      IOException
    • hasCustomer

      public boolean hasCustomer()
       Output only. The resource name of the customer associated with this
       account budget. This contains the customer ID, which appears on the
       invoice PDF as "Account ID". Customer resource names have the form:
      
       `customers/{customer_id}`
       
      optional string customer = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCustomer in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      Whether the customer field is set.
    • getCustomer

      public String getCustomer()
       Output only. The resource name of the customer associated with this
       account budget. This contains the customer ID, which appears on the
       invoice PDF as "Account ID". Customer resource names have the form:
      
       `customers/{customer_id}`
       
      optional string customer = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomer in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The customer.
    • getCustomerBytes

      public com.google.protobuf.ByteString getCustomerBytes()
       Output only. The resource name of the customer associated with this
       account budget. This contains the customer ID, which appears on the
       invoice PDF as "Account ID". Customer resource names have the form:
      
       `customers/{customer_id}`
       
      optional string customer = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomerBytes in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The bytes for customer.
    • setCustomer

      public Invoice.AccountBudgetSummary.Builder setCustomer(String value)
       Output only. The resource name of the customer associated with this
       account budget. This contains the customer ID, which appears on the
       invoice PDF as "Account ID". Customer resource names have the form:
      
       `customers/{customer_id}`
       
      optional string customer = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The customer to set.
      Returns:
      This builder for chaining.
    • clearCustomer

      public Invoice.AccountBudgetSummary.Builder clearCustomer()
       Output only. The resource name of the customer associated with this
       account budget. This contains the customer ID, which appears on the
       invoice PDF as "Account ID". Customer resource names have the form:
      
       `customers/{customer_id}`
       
      optional string customer = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCustomerBytes

      public Invoice.AccountBudgetSummary.Builder setCustomerBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the customer associated with this
       account budget. This contains the customer ID, which appears on the
       invoice PDF as "Account ID". Customer resource names have the form:
      
       `customers/{customer_id}`
       
      optional string customer = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for customer to set.
      Returns:
      This builder for chaining.
    • hasCustomerDescriptiveName

      public boolean hasCustomerDescriptiveName()
       Output only. The descriptive name of the account budget's customer. It
       appears on the invoice PDF as "Account".
       
      optional string customer_descriptive_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCustomerDescriptiveName in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      Whether the customerDescriptiveName field is set.
    • getCustomerDescriptiveName

      public String getCustomerDescriptiveName()
       Output only. The descriptive name of the account budget's customer. It
       appears on the invoice PDF as "Account".
       
      optional string customer_descriptive_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomerDescriptiveName in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The customerDescriptiveName.
    • getCustomerDescriptiveNameBytes

      public com.google.protobuf.ByteString getCustomerDescriptiveNameBytes()
       Output only. The descriptive name of the account budget's customer. It
       appears on the invoice PDF as "Account".
       
      optional string customer_descriptive_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomerDescriptiveNameBytes in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The bytes for customerDescriptiveName.
    • setCustomerDescriptiveName

      public Invoice.AccountBudgetSummary.Builder setCustomerDescriptiveName(String value)
       Output only. The descriptive name of the account budget's customer. It
       appears on the invoice PDF as "Account".
       
      optional string customer_descriptive_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The customerDescriptiveName to set.
      Returns:
      This builder for chaining.
    • clearCustomerDescriptiveName

      public Invoice.AccountBudgetSummary.Builder clearCustomerDescriptiveName()
       Output only. The descriptive name of the account budget's customer. It
       appears on the invoice PDF as "Account".
       
      optional string customer_descriptive_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCustomerDescriptiveNameBytes

      public Invoice.AccountBudgetSummary.Builder setCustomerDescriptiveNameBytes(com.google.protobuf.ByteString value)
       Output only. The descriptive name of the account budget's customer. It
       appears on the invoice PDF as "Account".
       
      optional string customer_descriptive_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for customerDescriptiveName to set.
      Returns:
      This builder for chaining.
    • hasAccountBudget

      public boolean hasAccountBudget()
       Output only. The resource name of the account budget associated with this
       summarized billable cost. AccountBudget resource names have the form:
      
       `customers/{customer_id}/accountBudgets/{account_budget_id}`
       
      optional string account_budget = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAccountBudget in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      Whether the accountBudget field is set.
    • getAccountBudget

      public String getAccountBudget()
       Output only. The resource name of the account budget associated with this
       summarized billable cost. AccountBudget resource names have the form:
      
       `customers/{customer_id}/accountBudgets/{account_budget_id}`
       
      optional string account_budget = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAccountBudget in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The accountBudget.
    • getAccountBudgetBytes

      public com.google.protobuf.ByteString getAccountBudgetBytes()
       Output only. The resource name of the account budget associated with this
       summarized billable cost. AccountBudget resource names have the form:
      
       `customers/{customer_id}/accountBudgets/{account_budget_id}`
       
      optional string account_budget = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAccountBudgetBytes in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The bytes for accountBudget.
    • setAccountBudget

      public Invoice.AccountBudgetSummary.Builder setAccountBudget(String value)
       Output only. The resource name of the account budget associated with this
       summarized billable cost. AccountBudget resource names have the form:
      
       `customers/{customer_id}/accountBudgets/{account_budget_id}`
       
      optional string account_budget = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The accountBudget to set.
      Returns:
      This builder for chaining.
    • clearAccountBudget

      public Invoice.AccountBudgetSummary.Builder clearAccountBudget()
       Output only. The resource name of the account budget associated with this
       summarized billable cost. AccountBudget resource names have the form:
      
       `customers/{customer_id}/accountBudgets/{account_budget_id}`
       
      optional string account_budget = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setAccountBudgetBytes

      public Invoice.AccountBudgetSummary.Builder setAccountBudgetBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the account budget associated with this
       summarized billable cost. AccountBudget resource names have the form:
      
       `customers/{customer_id}/accountBudgets/{account_budget_id}`
       
      optional string account_budget = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for accountBudget to set.
      Returns:
      This builder for chaining.
    • hasAccountBudgetName

      public boolean hasAccountBudgetName()
       Output only. The name of the account budget. It appears on the invoice
       PDF as "Account budget".
       
      optional string account_budget_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAccountBudgetName in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      Whether the accountBudgetName field is set.
    • getAccountBudgetName

      public String getAccountBudgetName()
       Output only. The name of the account budget. It appears on the invoice
       PDF as "Account budget".
       
      optional string account_budget_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAccountBudgetName in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The accountBudgetName.
    • getAccountBudgetNameBytes

      public com.google.protobuf.ByteString getAccountBudgetNameBytes()
       Output only. The name of the account budget. It appears on the invoice
       PDF as "Account budget".
       
      optional string account_budget_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAccountBudgetNameBytes in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The bytes for accountBudgetName.
    • setAccountBudgetName

      public Invoice.AccountBudgetSummary.Builder setAccountBudgetName(String value)
       Output only. The name of the account budget. It appears on the invoice
       PDF as "Account budget".
       
      optional string account_budget_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The accountBudgetName to set.
      Returns:
      This builder for chaining.
    • clearAccountBudgetName

      public Invoice.AccountBudgetSummary.Builder clearAccountBudgetName()
       Output only. The name of the account budget. It appears on the invoice
       PDF as "Account budget".
       
      optional string account_budget_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setAccountBudgetNameBytes

      public Invoice.AccountBudgetSummary.Builder setAccountBudgetNameBytes(com.google.protobuf.ByteString value)
       Output only. The name of the account budget. It appears on the invoice
       PDF as "Account budget".
       
      optional string account_budget_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for accountBudgetName to set.
      Returns:
      This builder for chaining.
    • hasPurchaseOrderNumber

      public boolean hasPurchaseOrderNumber()
       Output only. The purchase order number of the account budget. It appears
       on the invoice PDF as "Purchase order".
       
      optional string purchase_order_number = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPurchaseOrderNumber in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      Whether the purchaseOrderNumber field is set.
    • getPurchaseOrderNumber

      public String getPurchaseOrderNumber()
       Output only. The purchase order number of the account budget. It appears
       on the invoice PDF as "Purchase order".
       
      optional string purchase_order_number = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPurchaseOrderNumber in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The purchaseOrderNumber.
    • getPurchaseOrderNumberBytes

      public com.google.protobuf.ByteString getPurchaseOrderNumberBytes()
       Output only. The purchase order number of the account budget. It appears
       on the invoice PDF as "Purchase order".
       
      optional string purchase_order_number = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPurchaseOrderNumberBytes in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The bytes for purchaseOrderNumber.
    • setPurchaseOrderNumber

      public Invoice.AccountBudgetSummary.Builder setPurchaseOrderNumber(String value)
       Output only. The purchase order number of the account budget. It appears
       on the invoice PDF as "Purchase order".
       
      optional string purchase_order_number = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The purchaseOrderNumber to set.
      Returns:
      This builder for chaining.
    • clearPurchaseOrderNumber

      public Invoice.AccountBudgetSummary.Builder clearPurchaseOrderNumber()
       Output only. The purchase order number of the account budget. It appears
       on the invoice PDF as "Purchase order".
       
      optional string purchase_order_number = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setPurchaseOrderNumberBytes

      public Invoice.AccountBudgetSummary.Builder setPurchaseOrderNumberBytes(com.google.protobuf.ByteString value)
       Output only. The purchase order number of the account budget. It appears
       on the invoice PDF as "Purchase order".
       
      optional string purchase_order_number = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for purchaseOrderNumber to set.
      Returns:
      This builder for chaining.
    • hasSubtotalAmountMicros

      public boolean hasSubtotalAmountMicros()
       Output only. The pretax subtotal amount attributable to this budget
       during the service period, in micros.
       
      optional int64 subtotal_amount_micros = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSubtotalAmountMicros in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      Whether the subtotalAmountMicros field is set.
    • getSubtotalAmountMicros

      public long getSubtotalAmountMicros()
       Output only. The pretax subtotal amount attributable to this budget
       during the service period, in micros.
       
      optional int64 subtotal_amount_micros = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSubtotalAmountMicros in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The subtotalAmountMicros.
    • setSubtotalAmountMicros

      public Invoice.AccountBudgetSummary.Builder setSubtotalAmountMicros(long value)
       Output only. The pretax subtotal amount attributable to this budget
       during the service period, in micros.
       
      optional int64 subtotal_amount_micros = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The subtotalAmountMicros to set.
      Returns:
      This builder for chaining.
    • clearSubtotalAmountMicros

      public Invoice.AccountBudgetSummary.Builder clearSubtotalAmountMicros()
       Output only. The pretax subtotal amount attributable to this budget
       during the service period, in micros.
       
      optional int64 subtotal_amount_micros = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasTaxAmountMicros

      public boolean hasTaxAmountMicros()
       Output only. The tax amount attributable to this budget during the
       service period, in micros.
       
      optional int64 tax_amount_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTaxAmountMicros in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      Whether the taxAmountMicros field is set.
    • getTaxAmountMicros

      public long getTaxAmountMicros()
       Output only. The tax amount attributable to this budget during the
       service period, in micros.
       
      optional int64 tax_amount_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTaxAmountMicros in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The taxAmountMicros.
    • setTaxAmountMicros

      public Invoice.AccountBudgetSummary.Builder setTaxAmountMicros(long value)
       Output only. The tax amount attributable to this budget during the
       service period, in micros.
       
      optional int64 tax_amount_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The taxAmountMicros to set.
      Returns:
      This builder for chaining.
    • clearTaxAmountMicros

      public Invoice.AccountBudgetSummary.Builder clearTaxAmountMicros()
       Output only. The tax amount attributable to this budget during the
       service period, in micros.
       
      optional int64 tax_amount_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasTotalAmountMicros

      public boolean hasTotalAmountMicros()
       Output only. The total amount attributable to this budget during the
       service period, in micros. This equals the sum of the account budget
       subtotal amount and the account budget tax amount.
       
      optional int64 total_amount_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTotalAmountMicros in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      Whether the totalAmountMicros field is set.
    • getTotalAmountMicros

      public long getTotalAmountMicros()
       Output only. The total amount attributable to this budget during the
       service period, in micros. This equals the sum of the account budget
       subtotal amount and the account budget tax amount.
       
      optional int64 total_amount_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTotalAmountMicros in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The totalAmountMicros.
    • setTotalAmountMicros

      public Invoice.AccountBudgetSummary.Builder setTotalAmountMicros(long value)
       Output only. The total amount attributable to this budget during the
       service period, in micros. This equals the sum of the account budget
       subtotal amount and the account budget tax amount.
       
      optional int64 total_amount_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The totalAmountMicros to set.
      Returns:
      This builder for chaining.
    • clearTotalAmountMicros

      public Invoice.AccountBudgetSummary.Builder clearTotalAmountMicros()
       Output only. The total amount attributable to this budget during the
       service period, in micros. This equals the sum of the account budget
       subtotal amount and the account budget tax amount.
       
      optional int64 total_amount_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasBillableActivityDateRange

      public boolean hasBillableActivityDateRange()
       Output only. The billable activity date range of the account budget,
       within the service date range of this invoice. The end date is inclusive.
       This can be different from the account budget's start and end time.
       
      .google.ads.googleads.v18.common.DateRange billable_activity_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasBillableActivityDateRange in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      Whether the billableActivityDateRange field is set.
    • getBillableActivityDateRange

      public DateRange getBillableActivityDateRange()
       Output only. The billable activity date range of the account budget,
       within the service date range of this invoice. The end date is inclusive.
       This can be different from the account budget's start and end time.
       
      .google.ads.googleads.v18.common.DateRange billable_activity_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBillableActivityDateRange in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The billableActivityDateRange.
    • setBillableActivityDateRange

      public Invoice.AccountBudgetSummary.Builder setBillableActivityDateRange(DateRange value)
       Output only. The billable activity date range of the account budget,
       within the service date range of this invoice. The end date is inclusive.
       This can be different from the account budget's start and end time.
       
      .google.ads.googleads.v18.common.DateRange billable_activity_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setBillableActivityDateRange

      public Invoice.AccountBudgetSummary.Builder setBillableActivityDateRange(DateRange.Builder builderForValue)
       Output only. The billable activity date range of the account budget,
       within the service date range of this invoice. The end date is inclusive.
       This can be different from the account budget's start and end time.
       
      .google.ads.googleads.v18.common.DateRange billable_activity_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeBillableActivityDateRange

      public Invoice.AccountBudgetSummary.Builder mergeBillableActivityDateRange(DateRange value)
       Output only. The billable activity date range of the account budget,
       within the service date range of this invoice. The end date is inclusive.
       This can be different from the account budget's start and end time.
       
      .google.ads.googleads.v18.common.DateRange billable_activity_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearBillableActivityDateRange

      public Invoice.AccountBudgetSummary.Builder clearBillableActivityDateRange()
       Output only. The billable activity date range of the account budget,
       within the service date range of this invoice. The end date is inclusive.
       This can be different from the account budget's start and end time.
       
      .google.ads.googleads.v18.common.DateRange billable_activity_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getBillableActivityDateRangeBuilder

      public DateRange.Builder getBillableActivityDateRangeBuilder()
       Output only. The billable activity date range of the account budget,
       within the service date range of this invoice. The end date is inclusive.
       This can be different from the account budget's start and end time.
       
      .google.ads.googleads.v18.common.DateRange billable_activity_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getBillableActivityDateRangeOrBuilder

      public DateRangeOrBuilder getBillableActivityDateRangeOrBuilder()
       Output only. The billable activity date range of the account budget,
       within the service date range of this invoice. The end date is inclusive.
       This can be different from the account budget's start and end time.
       
      .google.ads.googleads.v18.common.DateRange billable_activity_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBillableActivityDateRangeOrBuilder in interface Invoice.AccountBudgetSummaryOrBuilder
    • hasServedAmountMicros

      public boolean hasServedAmountMicros()
       Output only. The pretax served amount attributable to this budget during
       the service period, in micros. This is only useful to reconcile invoice
       and delivery data.
       
      optional int64 served_amount_micros = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasServedAmountMicros in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      Whether the servedAmountMicros field is set.
    • getServedAmountMicros

      public long getServedAmountMicros()
       Output only. The pretax served amount attributable to this budget during
       the service period, in micros. This is only useful to reconcile invoice
       and delivery data.
       
      optional int64 served_amount_micros = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServedAmountMicros in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The servedAmountMicros.
    • setServedAmountMicros

      public Invoice.AccountBudgetSummary.Builder setServedAmountMicros(long value)
       Output only. The pretax served amount attributable to this budget during
       the service period, in micros. This is only useful to reconcile invoice
       and delivery data.
       
      optional int64 served_amount_micros = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The servedAmountMicros to set.
      Returns:
      This builder for chaining.
    • clearServedAmountMicros

      public Invoice.AccountBudgetSummary.Builder clearServedAmountMicros()
       Output only. The pretax served amount attributable to this budget during
       the service period, in micros. This is only useful to reconcile invoice
       and delivery data.
       
      optional int64 served_amount_micros = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasBilledAmountMicros

      public boolean hasBilledAmountMicros()
       Output only. The pretax billed amount attributable to this budget during
       the service period, in micros. This does not account for any adjustments.
       
      optional int64 billed_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasBilledAmountMicros in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      Whether the billedAmountMicros field is set.
    • getBilledAmountMicros

      public long getBilledAmountMicros()
       Output only. The pretax billed amount attributable to this budget during
       the service period, in micros. This does not account for any adjustments.
       
      optional int64 billed_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBilledAmountMicros in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The billedAmountMicros.
    • setBilledAmountMicros

      public Invoice.AccountBudgetSummary.Builder setBilledAmountMicros(long value)
       Output only. The pretax billed amount attributable to this budget during
       the service period, in micros. This does not account for any adjustments.
       
      optional int64 billed_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The billedAmountMicros to set.
      Returns:
      This builder for chaining.
    • clearBilledAmountMicros

      public Invoice.AccountBudgetSummary.Builder clearBilledAmountMicros()
       Output only. The pretax billed amount attributable to this budget during
       the service period, in micros. This does not account for any adjustments.
       
      optional int64 billed_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasOverdeliveryAmountMicros

      public boolean hasOverdeliveryAmountMicros()
       Output only. The pretax overdelivery amount attributable to this budget
       during the service period, in micros (negative value).
       
      optional int64 overdelivery_amount_micros = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasOverdeliveryAmountMicros in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      Whether the overdeliveryAmountMicros field is set.
    • getOverdeliveryAmountMicros

      public long getOverdeliveryAmountMicros()
       Output only. The pretax overdelivery amount attributable to this budget
       during the service period, in micros (negative value).
       
      optional int64 overdelivery_amount_micros = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOverdeliveryAmountMicros in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The overdeliveryAmountMicros.
    • setOverdeliveryAmountMicros

      public Invoice.AccountBudgetSummary.Builder setOverdeliveryAmountMicros(long value)
       Output only. The pretax overdelivery amount attributable to this budget
       during the service period, in micros (negative value).
       
      optional int64 overdelivery_amount_micros = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The overdeliveryAmountMicros to set.
      Returns:
      This builder for chaining.
    • clearOverdeliveryAmountMicros

      public Invoice.AccountBudgetSummary.Builder clearOverdeliveryAmountMicros()
       Output only. The pretax overdelivery amount attributable to this budget
       during the service period, in micros (negative value).
       
      optional int64 overdelivery_amount_micros = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasInvalidActivityAmountMicros

      public boolean hasInvalidActivityAmountMicros()
       Output only. The pretax invalid activity amount attributable to this
       budget in previous months, in micros (negative value).
       
      optional int64 invalid_activity_amount_micros = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasInvalidActivityAmountMicros in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      Whether the invalidActivityAmountMicros field is set.
    • getInvalidActivityAmountMicros

      public long getInvalidActivityAmountMicros()
       Output only. The pretax invalid activity amount attributable to this
       budget in previous months, in micros (negative value).
       
      optional int64 invalid_activity_amount_micros = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInvalidActivityAmountMicros in interface Invoice.AccountBudgetSummaryOrBuilder
      Returns:
      The invalidActivityAmountMicros.
    • setInvalidActivityAmountMicros

      public Invoice.AccountBudgetSummary.Builder setInvalidActivityAmountMicros(long value)
       Output only. The pretax invalid activity amount attributable to this
       budget in previous months, in micros (negative value).
       
      optional int64 invalid_activity_amount_micros = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The invalidActivityAmountMicros to set.
      Returns:
      This builder for chaining.
    • clearInvalidActivityAmountMicros

      public Invoice.AccountBudgetSummary.Builder clearInvalidActivityAmountMicros()
       Output only. The pretax invalid activity amount attributable to this
       budget in previous months, in micros (negative value).
       
      optional int64 invalid_activity_amount_micros = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getInvalidActivitySummariesList

      public List<Invoice.InvalidActivitySummary> getInvalidActivitySummariesList()
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInvalidActivitySummariesList in interface Invoice.AccountBudgetSummaryOrBuilder
    • getInvalidActivitySummariesCount

      public int getInvalidActivitySummariesCount()
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInvalidActivitySummariesCount in interface Invoice.AccountBudgetSummaryOrBuilder
    • getInvalidActivitySummaries

      public Invoice.InvalidActivitySummary getInvalidActivitySummaries(int index)
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInvalidActivitySummaries in interface Invoice.AccountBudgetSummaryOrBuilder
    • setInvalidActivitySummaries

      public Invoice.AccountBudgetSummary.Builder setInvalidActivitySummaries(int index, Invoice.InvalidActivitySummary value)
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setInvalidActivitySummaries

      public Invoice.AccountBudgetSummary.Builder setInvalidActivitySummaries(int index, Invoice.InvalidActivitySummary.Builder builderForValue)
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addInvalidActivitySummaries

      public Invoice.AccountBudgetSummary.Builder addInvalidActivitySummaries(Invoice.InvalidActivitySummary value)
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addInvalidActivitySummaries

      public Invoice.AccountBudgetSummary.Builder addInvalidActivitySummaries(int index, Invoice.InvalidActivitySummary value)
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addInvalidActivitySummaries

      public Invoice.AccountBudgetSummary.Builder addInvalidActivitySummaries(Invoice.InvalidActivitySummary.Builder builderForValue)
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addInvalidActivitySummaries

      public Invoice.AccountBudgetSummary.Builder addInvalidActivitySummaries(int index, Invoice.InvalidActivitySummary.Builder builderForValue)
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllInvalidActivitySummaries

      public Invoice.AccountBudgetSummary.Builder addAllInvalidActivitySummaries(Iterable<? extends Invoice.InvalidActivitySummary> values)
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearInvalidActivitySummaries

      public Invoice.AccountBudgetSummary.Builder clearInvalidActivitySummaries()
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeInvalidActivitySummaries

      public Invoice.AccountBudgetSummary.Builder removeInvalidActivitySummaries(int index)
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getInvalidActivitySummariesBuilder

      public Invoice.InvalidActivitySummary.Builder getInvalidActivitySummariesBuilder(int index)
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getInvalidActivitySummariesOrBuilder

      public Invoice.InvalidActivitySummaryOrBuilder getInvalidActivitySummariesOrBuilder(int index)
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInvalidActivitySummariesOrBuilder in interface Invoice.AccountBudgetSummaryOrBuilder
    • getInvalidActivitySummariesOrBuilderList

      public List<? extends Invoice.InvalidActivitySummaryOrBuilder> getInvalidActivitySummariesOrBuilderList()
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInvalidActivitySummariesOrBuilderList in interface Invoice.AccountBudgetSummaryOrBuilder
    • addInvalidActivitySummariesBuilder

      public Invoice.InvalidActivitySummary.Builder addInvalidActivitySummariesBuilder()
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addInvalidActivitySummariesBuilder

      public Invoice.InvalidActivitySummary.Builder addInvalidActivitySummariesBuilder(int index)
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getInvalidActivitySummariesBuilderList

      public List<Invoice.InvalidActivitySummary.Builder> getInvalidActivitySummariesBuilderList()
       Output only. The list of summarized invalid activity credits with
       original linkages.
       
      repeated .google.ads.googleads.v18.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUnknownFields

      public final Invoice.AccountBudgetSummary.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Invoice.AccountBudgetSummary.Builder>
    • mergeUnknownFields

      public final Invoice.AccountBudgetSummary.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Invoice.AccountBudgetSummary.Builder>