Class Invoice.AccountBudgetSummary

  • All Implemented Interfaces:
    Invoice.AccountBudgetSummaryOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable
    Enclosing class:
    Invoice

    public static final class Invoice.AccountBudgetSummary
    extends com.google.protobuf.GeneratedMessageV3
    implements Invoice.AccountBudgetSummaryOrBuilder
     Represents a summarized account budget billable cost.
     
    Protobuf type google.ads.googleads.v10.resources.Invoice.AccountBudgetSummary
    See Also:
    Serialized Form
    • Field Detail

      • CUSTOMER_DESCRIPTIVE_NAME_FIELD_NUMBER

        public static final int CUSTOMER_DESCRIPTIVE_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ACCOUNT_BUDGET_FIELD_NUMBER

        public static final int ACCOUNT_BUDGET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ACCOUNT_BUDGET_NAME_FIELD_NUMBER

        public static final int ACCOUNT_BUDGET_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PURCHASE_ORDER_NUMBER_FIELD_NUMBER

        public static final int PURCHASE_ORDER_NUMBER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SUBTOTAL_AMOUNT_MICROS_FIELD_NUMBER

        public static final int SUBTOTAL_AMOUNT_MICROS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TAX_AMOUNT_MICROS_FIELD_NUMBER

        public static final int TAX_AMOUNT_MICROS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TOTAL_AMOUNT_MICROS_FIELD_NUMBER

        public static final int TOTAL_AMOUNT_MICROS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BILLABLE_ACTIVITY_DATE_RANGE_FIELD_NUMBER

        public static final int BILLABLE_ACTIVITY_DATE_RANGE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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 java.lang.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.
      • 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 java.lang.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.
      • 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 java.lang.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.
      • 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 java.lang.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.
      • 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 java.lang.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.
      • 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.
      • 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.
      • 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.
      • 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.v10.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.v10.common.DateRange billable_activity_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getBillableActivityDateRange in interface Invoice.AccountBudgetSummaryOrBuilder
        Returns:
        The billableActivityDateRange.
      • 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.v10.common.DateRange billable_activity_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getBillableActivityDateRangeOrBuilder in interface Invoice.AccountBudgetSummaryOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Invoice.AccountBudgetSummary parseFrom​(java.nio.ByteBuffer data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Invoice.AccountBudgetSummary parseFrom​(java.nio.ByteBuffer data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Invoice.AccountBudgetSummary parseFrom​(com.google.protobuf.ByteString data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Invoice.AccountBudgetSummary parseFrom​(com.google.protobuf.ByteString data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Invoice.AccountBudgetSummary parseFrom​(byte[] data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Invoice.AccountBudgetSummary parseFrom​(byte[] data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Invoice.AccountBudgetSummary parseFrom​(java.io.InputStream input)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Invoice.AccountBudgetSummary parseFrom​(java.io.InputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Invoice.AccountBudgetSummary parseDelimitedFrom​(java.io.InputStream input)
                                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Invoice.AccountBudgetSummary parseDelimitedFrom​(java.io.InputStream input,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Invoice.AccountBudgetSummary parseFrom​(com.google.protobuf.CodedInputStream input)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Invoice.AccountBudgetSummary parseFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

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

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

        protected Invoice.AccountBudgetSummary.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Invoice.AccountBudgetSummary> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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