Class Invoice.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
com.google.ads.googleads.v18.resources.Invoice.Builder
- All Implemented Interfaces:
InvoiceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Invoice
public static final class Invoice.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
implements InvoiceOrBuilder
An invoice. All invoice information is snapshotted to match the PDF invoice. For invoices older than the launch of InvoiceService, the snapshotted information may not match the PDF invoice.Protobuf type
google.ads.googleads.v18.resources.Invoice-
Method Summary
Modifier and TypeMethodDescriptionaddAccountBudgetSummaries(int index, Invoice.AccountBudgetSummary value) Output only.addAccountBudgetSummaries(int index, Invoice.AccountBudgetSummary.Builder builderForValue) Output only.Output only.addAccountBudgetSummaries(Invoice.AccountBudgetSummary.Builder builderForValue) Output only.Output only.addAccountBudgetSummariesBuilder(int index) Output only.addAccountSummaries(int index, Invoice.AccountSummary value) Output only.addAccountSummaries(int index, Invoice.AccountSummary.Builder builderForValue) Output only.Output only.addAccountSummaries(Invoice.AccountSummary.Builder builderForValue) Output only.Output only.addAccountSummariesBuilder(int index) Output only.addAllAccountBudgetSummaries(Iterable<? extends Invoice.AccountBudgetSummary> values) Output only.addAllAccountSummaries(Iterable<? extends Invoice.AccountSummary> values) Output only.addAllReplacedInvoices(Iterable<String> values) Output only.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addReplacedInvoices(String value) Output only.addReplacedInvoicesBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()Output only.Output only.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.clone()getAccountBudgetSummaries(int index) Output only.getAccountBudgetSummariesBuilder(int index) Output only.Output only.intOutput only.Output only.getAccountBudgetSummariesOrBuilder(int index) Output only.List<? extends Invoice.AccountBudgetSummaryOrBuilder>Output only.getAccountSummaries(int index) Output only.getAccountSummariesBuilder(int index) Output only.Output only.intOutput only.Output only.getAccountSummariesOrBuilder(int index) Output only.List<? extends Invoice.AccountSummaryOrBuilder>Output only.longOutput only.longOutput only.longOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.longOutput only.longOutput only.longOutput only.getId()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.longOutput only.longOutput only.longOutput only.getReplacedInvoices(int index) Output only.com.google.protobuf.ByteStringgetReplacedInvoicesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.longOutput only.longOutput only.longOutput only.getType()Output only.intOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanhasId()Output only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeServiceDateRange(DateRange value) Output only.final Invoice.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeAccountBudgetSummaries(int index) Output only.removeAccountSummaries(int index) Output only.setAccountBudgetSummaries(int index, Invoice.AccountBudgetSummary value) Output only.setAccountBudgetSummaries(int index, Invoice.AccountBudgetSummary.Builder builderForValue) Output only.setAccountSummaries(int index, Invoice.AccountSummary value) Output only.setAccountSummaries(int index, Invoice.AccountSummary.Builder builderForValue) Output only.setAdjustmentsSubtotalAmountMicros(long value) Output only.setAdjustmentsTaxAmountMicros(long value) Output only.setAdjustmentsTotalAmountMicros(long value) Output only.setBillingSetup(String value) Output only.setBillingSetupBytes(com.google.protobuf.ByteString value) Output only.setCorrectedInvoice(String value) Output only.setCorrectedInvoiceBytes(com.google.protobuf.ByteString value) Output only.setCurrencyCode(String value) Output only.setCurrencyCodeBytes(com.google.protobuf.ByteString value) Output only.setDueDate(String value) Output only.setDueDateBytes(com.google.protobuf.ByteString value) Output only.setExportChargeSubtotalAmountMicros(long value) Output only.setExportChargeTaxAmountMicros(long value) Output only.setExportChargeTotalAmountMicros(long value) Output only.Output only.setIdBytes(com.google.protobuf.ByteString value) Output only.setIssueDate(String value) Output only.setIssueDateBytes(com.google.protobuf.ByteString value) Output only.setPaymentsAccountId(String value) Output only.setPaymentsAccountIdBytes(com.google.protobuf.ByteString value) Output only.setPaymentsProfileId(String value) Output only.setPaymentsProfileIdBytes(com.google.protobuf.ByteString value) Output only.Output only.setPdfUrlBytes(com.google.protobuf.ByteString value) Output only.setRegulatoryCostsSubtotalAmountMicros(long value) Output only.setRegulatoryCostsTaxAmountMicros(long value) Output only.setRegulatoryCostsTotalAmountMicros(long value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setReplacedInvoices(int index, String value) Output only.setResourceName(String value) Output only.setResourceNameBytes(com.google.protobuf.ByteString value) Output only.setServiceDateRange(DateRange value) Output only.setServiceDateRange(DateRange.Builder builderForValue) Output only.setSubtotalAmountMicros(long value) Output only.setTaxAmountMicros(long value) Output only.setTotalAmountMicros(long value) Output only.Output only.setTypeValue(int value) Output only.final Invoice.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
setField
public Invoice.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
setRepeatedField
public Invoice.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
addRepeatedField
public Invoice.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Invoice.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
mergeFrom
public Invoice.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Invoice.Builder>- Throws:
IOException
-
getResourceName
Output only. The resource name of the invoice. Multiple customers can share a given invoice, so multiple resource names may point to the same invoice. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceInvoiceOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Output only. The resource name of the invoice. Multiple customers can share a given invoice, so multiple resource names may point to the same invoice. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceInvoiceOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
Output only. The resource name of the invoice. Multiple customers can share a given invoice, so multiple resource names may point to the same invoice. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
Output only. The resource name of the invoice. Multiple customers can share a given invoice, so multiple resource names may point to the same invoice. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
Output only. The resource name of the invoice. Multiple customers can share a given invoice, so multiple resource names may point to the same invoice. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number".
optional string id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIdin interfaceInvoiceOrBuilder- Returns:
- Whether the id field is set.
-
getId
Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number".
optional string id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceInvoiceOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number".
optional string id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdBytesin interfaceInvoiceOrBuilder- Returns:
- The bytes for id.
-
setId
Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number".
optional string id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number".
optional string id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setIdBytes
Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number".
optional string id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()Output only. The type of invoice.
.google.ads.googleads.v18.enums.InvoiceTypeEnum.InvoiceType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypeValuein interfaceInvoiceOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
Output only. The type of invoice.
.google.ads.googleads.v18.enums.InvoiceTypeEnum.InvoiceType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
Output only. The type of invoice.
.google.ads.googleads.v18.enums.InvoiceTypeEnum.InvoiceType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypein interfaceInvoiceOrBuilder- Returns:
- The type.
-
setType
Output only. The type of invoice.
.google.ads.googleads.v18.enums.InvoiceTypeEnum.InvoiceType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Output only. The type of invoice.
.google.ads.googleads.v18.enums.InvoiceTypeEnum.InvoiceType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasBillingSetup
public boolean hasBillingSetup()Output only. The resource name of this invoice's billing setup. `customers/{customer_id}/billingSetups/{billing_setup_id}`optional string billing_setup = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasBillingSetupin interfaceInvoiceOrBuilder- Returns:
- Whether the billingSetup field is set.
-
getBillingSetup
Output only. The resource name of this invoice's billing setup. `customers/{customer_id}/billingSetups/{billing_setup_id}`optional string billing_setup = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBillingSetupin interfaceInvoiceOrBuilder- Returns:
- The billingSetup.
-
getBillingSetupBytes
public com.google.protobuf.ByteString getBillingSetupBytes()Output only. The resource name of this invoice's billing setup. `customers/{customer_id}/billingSetups/{billing_setup_id}`optional string billing_setup = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBillingSetupBytesin interfaceInvoiceOrBuilder- Returns:
- The bytes for billingSetup.
-
setBillingSetup
Output only. The resource name of this invoice's billing setup. `customers/{customer_id}/billingSetups/{billing_setup_id}`optional string billing_setup = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The billingSetup to set.- Returns:
- This builder for chaining.
-
clearBillingSetup
Output only. The resource name of this invoice's billing setup. `customers/{customer_id}/billingSetups/{billing_setup_id}`optional string billing_setup = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setBillingSetupBytes
Output only. The resource name of this invoice's billing setup. `customers/{customer_id}/billingSetups/{billing_setup_id}`optional string billing_setup = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for billingSetup to set.- Returns:
- This builder for chaining.
-
hasPaymentsAccountId
public boolean hasPaymentsAccountId()Output only. A 16 digit ID used to identify the payments account associated with the billing setup, for example, "1234-5678-9012-3456". It appears on the invoice PDF as "Billing Account Number".
optional string payments_account_id = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPaymentsAccountIdin interfaceInvoiceOrBuilder- Returns:
- Whether the paymentsAccountId field is set.
-
getPaymentsAccountId
Output only. A 16 digit ID used to identify the payments account associated with the billing setup, for example, "1234-5678-9012-3456". It appears on the invoice PDF as "Billing Account Number".
optional string payments_account_id = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPaymentsAccountIdin interfaceInvoiceOrBuilder- Returns:
- The paymentsAccountId.
-
getPaymentsAccountIdBytes
public com.google.protobuf.ByteString getPaymentsAccountIdBytes()Output only. A 16 digit ID used to identify the payments account associated with the billing setup, for example, "1234-5678-9012-3456". It appears on the invoice PDF as "Billing Account Number".
optional string payments_account_id = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPaymentsAccountIdBytesin interfaceInvoiceOrBuilder- Returns:
- The bytes for paymentsAccountId.
-
setPaymentsAccountId
Output only. A 16 digit ID used to identify the payments account associated with the billing setup, for example, "1234-5678-9012-3456". It appears on the invoice PDF as "Billing Account Number".
optional string payments_account_id = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The paymentsAccountId to set.- Returns:
- This builder for chaining.
-
clearPaymentsAccountId
Output only. A 16 digit ID used to identify the payments account associated with the billing setup, for example, "1234-5678-9012-3456". It appears on the invoice PDF as "Billing Account Number".
optional string payments_account_id = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setPaymentsAccountIdBytes
Output only. A 16 digit ID used to identify the payments account associated with the billing setup, for example, "1234-5678-9012-3456". It appears on the invoice PDF as "Billing Account Number".
optional string payments_account_id = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for paymentsAccountId to set.- Returns:
- This builder for chaining.
-
hasPaymentsProfileId
public boolean hasPaymentsProfileId()Output only. A 12 digit ID used to identify the payments profile associated with the billing setup, for example, "1234-5678-9012". It appears on the invoice PDF as "Billing ID".
optional string payments_profile_id = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPaymentsProfileIdin interfaceInvoiceOrBuilder- Returns:
- Whether the paymentsProfileId field is set.
-
getPaymentsProfileId
Output only. A 12 digit ID used to identify the payments profile associated with the billing setup, for example, "1234-5678-9012". It appears on the invoice PDF as "Billing ID".
optional string payments_profile_id = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPaymentsProfileIdin interfaceInvoiceOrBuilder- Returns:
- The paymentsProfileId.
-
getPaymentsProfileIdBytes
public com.google.protobuf.ByteString getPaymentsProfileIdBytes()Output only. A 12 digit ID used to identify the payments profile associated with the billing setup, for example, "1234-5678-9012". It appears on the invoice PDF as "Billing ID".
optional string payments_profile_id = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPaymentsProfileIdBytesin interfaceInvoiceOrBuilder- Returns:
- The bytes for paymentsProfileId.
-
setPaymentsProfileId
Output only. A 12 digit ID used to identify the payments profile associated with the billing setup, for example, "1234-5678-9012". It appears on the invoice PDF as "Billing ID".
optional string payments_profile_id = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The paymentsProfileId to set.- Returns:
- This builder for chaining.
-
clearPaymentsProfileId
Output only. A 12 digit ID used to identify the payments profile associated with the billing setup, for example, "1234-5678-9012". It appears on the invoice PDF as "Billing ID".
optional string payments_profile_id = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setPaymentsProfileIdBytes
Output only. A 12 digit ID used to identify the payments profile associated with the billing setup, for example, "1234-5678-9012". It appears on the invoice PDF as "Billing ID".
optional string payments_profile_id = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for paymentsProfileId to set.- Returns:
- This builder for chaining.
-
hasIssueDate
public boolean hasIssueDate()Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as either "Issue date" or "Invoice date".
optional string issue_date = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIssueDatein interfaceInvoiceOrBuilder- Returns:
- Whether the issueDate field is set.
-
getIssueDate
Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as either "Issue date" or "Invoice date".
optional string issue_date = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIssueDatein interfaceInvoiceOrBuilder- Returns:
- The issueDate.
-
getIssueDateBytes
public com.google.protobuf.ByteString getIssueDateBytes()Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as either "Issue date" or "Invoice date".
optional string issue_date = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIssueDateBytesin interfaceInvoiceOrBuilder- Returns:
- The bytes for issueDate.
-
setIssueDate
Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as either "Issue date" or "Invoice date".
optional string issue_date = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The issueDate to set.- Returns:
- This builder for chaining.
-
clearIssueDate
Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as either "Issue date" or "Invoice date".
optional string issue_date = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setIssueDateBytes
Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as either "Issue date" or "Invoice date".
optional string issue_date = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for issueDate to set.- Returns:
- This builder for chaining.
-
hasDueDate
public boolean hasDueDate()Output only. The due date in yyyy-mm-dd format.
optional string due_date = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDueDatein interfaceInvoiceOrBuilder- Returns:
- Whether the dueDate field is set.
-
getDueDate
Output only. The due date in yyyy-mm-dd format.
optional string due_date = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDueDatein interfaceInvoiceOrBuilder- Returns:
- The dueDate.
-
getDueDateBytes
public com.google.protobuf.ByteString getDueDateBytes()Output only. The due date in yyyy-mm-dd format.
optional string due_date = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDueDateBytesin interfaceInvoiceOrBuilder- Returns:
- The bytes for dueDate.
-
setDueDate
Output only. The due date in yyyy-mm-dd format.
optional string due_date = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The dueDate to set.- Returns:
- This builder for chaining.
-
clearDueDate
Output only. The due date in yyyy-mm-dd format.
optional string due_date = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDueDateBytes
Output only. The due date in yyyy-mm-dd format.
optional string due_date = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for dueDate to set.- Returns:
- This builder for chaining.
-
hasServiceDateRange
public boolean hasServiceDateRange()Output only. The service period date range of this invoice. The end date is inclusive.
.google.ads.googleads.v18.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasServiceDateRangein interfaceInvoiceOrBuilder- Returns:
- Whether the serviceDateRange field is set.
-
getServiceDateRange
Output only. The service period date range of this invoice. The end date is inclusive.
.google.ads.googleads.v18.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceDateRangein interfaceInvoiceOrBuilder- Returns:
- The serviceDateRange.
-
setServiceDateRange
Output only. The service period date range of this invoice. The end date is inclusive.
.google.ads.googleads.v18.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setServiceDateRange
Output only. The service period date range of this invoice. The end date is inclusive.
.google.ads.googleads.v18.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeServiceDateRange
Output only. The service period date range of this invoice. The end date is inclusive.
.google.ads.googleads.v18.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearServiceDateRange
Output only. The service period date range of this invoice. The end date is inclusive.
.google.ads.googleads.v18.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getServiceDateRangeBuilder
Output only. The service period date range of this invoice. The end date is inclusive.
.google.ads.googleads.v18.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getServiceDateRangeOrBuilder
Output only. The service period date range of this invoice. The end date is inclusive.
.google.ads.googleads.v18.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceDateRangeOrBuilderin interfaceInvoiceOrBuilder
-
hasCurrencyCode
public boolean hasCurrencyCode()Output only. The currency code. All costs are returned in this currency. A subset of the currency codes derived from the ISO 4217 standard is supported.
optional string currency_code = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCurrencyCodein interfaceInvoiceOrBuilder- Returns:
- Whether the currencyCode field is set.
-
getCurrencyCode
Output only. The currency code. All costs are returned in this currency. A subset of the currency codes derived from the ISO 4217 standard is supported.
optional string currency_code = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrencyCodein interfaceInvoiceOrBuilder- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
public com.google.protobuf.ByteString getCurrencyCodeBytes()Output only. The currency code. All costs are returned in this currency. A subset of the currency codes derived from the ISO 4217 standard is supported.
optional string currency_code = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrencyCodeBytesin interfaceInvoiceOrBuilder- Returns:
- The bytes for currencyCode.
-
setCurrencyCode
Output only. The currency code. All costs are returned in this currency. A subset of the currency codes derived from the ISO 4217 standard is supported.
optional string currency_code = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The currencyCode to set.- Returns:
- This builder for chaining.
-
clearCurrencyCode
Output only. The currency code. All costs are returned in this currency. A subset of the currency codes derived from the ISO 4217 standard is supported.
optional string currency_code = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCurrencyCodeBytes
Output only. The currency code. All costs are returned in this currency. A subset of the currency codes derived from the ISO 4217 standard is supported.
optional string currency_code = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for currencyCode to set.- Returns:
- This builder for chaining.
-
getAdjustmentsSubtotalAmountMicros
public long getAdjustmentsSubtotalAmountMicros()Output only. The pretax subtotal amount of invoice level adjustments, in micros.
int64 adjustments_subtotal_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdjustmentsSubtotalAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- The adjustmentsSubtotalAmountMicros.
-
setAdjustmentsSubtotalAmountMicros
Output only. The pretax subtotal amount of invoice level adjustments, in micros.
int64 adjustments_subtotal_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The adjustmentsSubtotalAmountMicros to set.- Returns:
- This builder for chaining.
-
clearAdjustmentsSubtotalAmountMicros
Output only. The pretax subtotal amount of invoice level adjustments, in micros.
int64 adjustments_subtotal_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getAdjustmentsTaxAmountMicros
public long getAdjustmentsTaxAmountMicros()Output only. The sum of taxes on the invoice level adjustments, in micros.
int64 adjustments_tax_amount_micros = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdjustmentsTaxAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- The adjustmentsTaxAmountMicros.
-
setAdjustmentsTaxAmountMicros
Output only. The sum of taxes on the invoice level adjustments, in micros.
int64 adjustments_tax_amount_micros = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The adjustmentsTaxAmountMicros to set.- Returns:
- This builder for chaining.
-
clearAdjustmentsTaxAmountMicros
Output only. The sum of taxes on the invoice level adjustments, in micros.
int64 adjustments_tax_amount_micros = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getAdjustmentsTotalAmountMicros
public long getAdjustmentsTotalAmountMicros()Output only. The total amount of invoice level adjustments, in micros.
int64 adjustments_total_amount_micros = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdjustmentsTotalAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- The adjustmentsTotalAmountMicros.
-
setAdjustmentsTotalAmountMicros
Output only. The total amount of invoice level adjustments, in micros.
int64 adjustments_total_amount_micros = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The adjustmentsTotalAmountMicros to set.- Returns:
- This builder for chaining.
-
clearAdjustmentsTotalAmountMicros
Output only. The total amount of invoice level adjustments, in micros.
int64 adjustments_total_amount_micros = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getRegulatoryCostsSubtotalAmountMicros
public long getRegulatoryCostsSubtotalAmountMicros()Output only. The pretax subtotal amount of invoice level regulatory costs, in micros.
int64 regulatory_costs_subtotal_amount_micros = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRegulatoryCostsSubtotalAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- The regulatoryCostsSubtotalAmountMicros.
-
setRegulatoryCostsSubtotalAmountMicros
Output only. The pretax subtotal amount of invoice level regulatory costs, in micros.
int64 regulatory_costs_subtotal_amount_micros = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The regulatoryCostsSubtotalAmountMicros to set.- Returns:
- This builder for chaining.
-
clearRegulatoryCostsSubtotalAmountMicros
Output only. The pretax subtotal amount of invoice level regulatory costs, in micros.
int64 regulatory_costs_subtotal_amount_micros = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getRegulatoryCostsTaxAmountMicros
public long getRegulatoryCostsTaxAmountMicros()Output only. The sum of taxes on the invoice level regulatory costs, in micros.
int64 regulatory_costs_tax_amount_micros = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRegulatoryCostsTaxAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- The regulatoryCostsTaxAmountMicros.
-
setRegulatoryCostsTaxAmountMicros
Output only. The sum of taxes on the invoice level regulatory costs, in micros.
int64 regulatory_costs_tax_amount_micros = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The regulatoryCostsTaxAmountMicros to set.- Returns:
- This builder for chaining.
-
clearRegulatoryCostsTaxAmountMicros
Output only. The sum of taxes on the invoice level regulatory costs, in micros.
int64 regulatory_costs_tax_amount_micros = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getRegulatoryCostsTotalAmountMicros
public long getRegulatoryCostsTotalAmountMicros()Output only. The total amount of invoice level regulatory costs, in micros.
int64 regulatory_costs_total_amount_micros = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRegulatoryCostsTotalAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- The regulatoryCostsTotalAmountMicros.
-
setRegulatoryCostsTotalAmountMicros
Output only. The total amount of invoice level regulatory costs, in micros.
int64 regulatory_costs_total_amount_micros = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The regulatoryCostsTotalAmountMicros to set.- Returns:
- This builder for chaining.
-
clearRegulatoryCostsTotalAmountMicros
Output only. The total amount of invoice level regulatory costs, in micros.
int64 regulatory_costs_total_amount_micros = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasExportChargeSubtotalAmountMicros
public boolean hasExportChargeSubtotalAmountMicros()Output only. The pretax subtotal amount of invoice level export charges, in micros.
optional int64 export_charge_subtotal_amount_micros = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasExportChargeSubtotalAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- Whether the exportChargeSubtotalAmountMicros field is set.
-
getExportChargeSubtotalAmountMicros
public long getExportChargeSubtotalAmountMicros()Output only. The pretax subtotal amount of invoice level export charges, in micros.
optional int64 export_charge_subtotal_amount_micros = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExportChargeSubtotalAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- The exportChargeSubtotalAmountMicros.
-
setExportChargeSubtotalAmountMicros
Output only. The pretax subtotal amount of invoice level export charges, in micros.
optional int64 export_charge_subtotal_amount_micros = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The exportChargeSubtotalAmountMicros to set.- Returns:
- This builder for chaining.
-
clearExportChargeSubtotalAmountMicros
Output only. The pretax subtotal amount of invoice level export charges, in micros.
optional int64 export_charge_subtotal_amount_micros = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasExportChargeTaxAmountMicros
public boolean hasExportChargeTaxAmountMicros()Output only. The sum of taxes on the invoice level export charges, in micros.
optional int64 export_charge_tax_amount_micros = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasExportChargeTaxAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- Whether the exportChargeTaxAmountMicros field is set.
-
getExportChargeTaxAmountMicros
public long getExportChargeTaxAmountMicros()Output only. The sum of taxes on the invoice level export charges, in micros.
optional int64 export_charge_tax_amount_micros = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExportChargeTaxAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- The exportChargeTaxAmountMicros.
-
setExportChargeTaxAmountMicros
Output only. The sum of taxes on the invoice level export charges, in micros.
optional int64 export_charge_tax_amount_micros = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The exportChargeTaxAmountMicros to set.- Returns:
- This builder for chaining.
-
clearExportChargeTaxAmountMicros
Output only. The sum of taxes on the invoice level export charges, in micros.
optional int64 export_charge_tax_amount_micros = 41 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasExportChargeTotalAmountMicros
public boolean hasExportChargeTotalAmountMicros()Output only. The total amount of invoice level export charges, in micros.
optional int64 export_charge_total_amount_micros = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasExportChargeTotalAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- Whether the exportChargeTotalAmountMicros field is set.
-
getExportChargeTotalAmountMicros
public long getExportChargeTotalAmountMicros()Output only. The total amount of invoice level export charges, in micros.
optional int64 export_charge_total_amount_micros = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExportChargeTotalAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- The exportChargeTotalAmountMicros.
-
setExportChargeTotalAmountMicros
Output only. The total amount of invoice level export charges, in micros.
optional int64 export_charge_total_amount_micros = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The exportChargeTotalAmountMicros to set.- Returns:
- This builder for chaining.
-
clearExportChargeTotalAmountMicros
Output only. The total amount of invoice level export charges, in micros.
optional int64 export_charge_total_amount_micros = 42 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasSubtotalAmountMicros
public boolean hasSubtotalAmountMicros()Output only. The pretax subtotal amount, in micros. This is equal to the sum of the AccountBudgetSummary subtotal amounts and Invoice.adjustments_subtotal_amount_micros.
optional int64 subtotal_amount_micros = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSubtotalAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- Whether the subtotalAmountMicros field is set.
-
getSubtotalAmountMicros
public long getSubtotalAmountMicros()Output only. The pretax subtotal amount, in micros. This is equal to the sum of the AccountBudgetSummary subtotal amounts and Invoice.adjustments_subtotal_amount_micros.
optional int64 subtotal_amount_micros = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSubtotalAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- The subtotalAmountMicros.
-
setSubtotalAmountMicros
Output only. The pretax subtotal amount, in micros. This is equal to the sum of the AccountBudgetSummary subtotal amounts and Invoice.adjustments_subtotal_amount_micros.
optional int64 subtotal_amount_micros = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The subtotalAmountMicros to set.- Returns:
- This builder for chaining.
-
clearSubtotalAmountMicros
Output only. The pretax subtotal amount, in micros. This is equal to the sum of the AccountBudgetSummary subtotal amounts and Invoice.adjustments_subtotal_amount_micros.
optional int64 subtotal_amount_micros = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasTaxAmountMicros
public boolean hasTaxAmountMicros()Output only. The sum of all taxes on the invoice, in micros. This equals the sum of the AccountBudgetSummary tax amounts, plus taxes not associated with a specific account budget.
optional int64 tax_amount_micros = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTaxAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- Whether the taxAmountMicros field is set.
-
getTaxAmountMicros
public long getTaxAmountMicros()Output only. The sum of all taxes on the invoice, in micros. This equals the sum of the AccountBudgetSummary tax amounts, plus taxes not associated with a specific account budget.
optional int64 tax_amount_micros = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTaxAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- The taxAmountMicros.
-
setTaxAmountMicros
Output only. The sum of all taxes on the invoice, in micros. This equals the sum of the AccountBudgetSummary tax amounts, plus taxes not associated with a specific account budget.
optional int64 tax_amount_micros = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The taxAmountMicros to set.- Returns:
- This builder for chaining.
-
clearTaxAmountMicros
Output only. The sum of all taxes on the invoice, in micros. This equals the sum of the AccountBudgetSummary tax amounts, plus taxes not associated with a specific account budget.
optional int64 tax_amount_micros = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasTotalAmountMicros
public boolean hasTotalAmountMicros()Output only. The total amount, in micros. This equals the sum of Invoice.subtotal_amount_micros, Invoice.tax_amount_micros, Invoice.regulatory_costs_subtotal_amount_micros, and Invoice.export_charge_subtotal_amount_micros (which is separated into a separate line item starting with V14.1).
optional int64 total_amount_micros = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTotalAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- Whether the totalAmountMicros field is set.
-
getTotalAmountMicros
public long getTotalAmountMicros()Output only. The total amount, in micros. This equals the sum of Invoice.subtotal_amount_micros, Invoice.tax_amount_micros, Invoice.regulatory_costs_subtotal_amount_micros, and Invoice.export_charge_subtotal_amount_micros (which is separated into a separate line item starting with V14.1).
optional int64 total_amount_micros = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTotalAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- The totalAmountMicros.
-
setTotalAmountMicros
Output only. The total amount, in micros. This equals the sum of Invoice.subtotal_amount_micros, Invoice.tax_amount_micros, Invoice.regulatory_costs_subtotal_amount_micros, and Invoice.export_charge_subtotal_amount_micros (which is separated into a separate line item starting with V14.1).
optional int64 total_amount_micros = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The totalAmountMicros to set.- Returns:
- This builder for chaining.
-
clearTotalAmountMicros
Output only. The total amount, in micros. This equals the sum of Invoice.subtotal_amount_micros, Invoice.tax_amount_micros, Invoice.regulatory_costs_subtotal_amount_micros, and Invoice.export_charge_subtotal_amount_micros (which is separated into a separate line item starting with V14.1).
optional int64 total_amount_micros = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasCorrectedInvoice
public boolean hasCorrectedInvoice()Output only. The resource name of the original invoice corrected, wrote off, or canceled by this invoice, if applicable. If `corrected_invoice` is set, `replaced_invoices` will not be set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`optional string corrected_invoice = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCorrectedInvoicein interfaceInvoiceOrBuilder- Returns:
- Whether the correctedInvoice field is set.
-
getCorrectedInvoice
Output only. The resource name of the original invoice corrected, wrote off, or canceled by this invoice, if applicable. If `corrected_invoice` is set, `replaced_invoices` will not be set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`optional string corrected_invoice = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCorrectedInvoicein interfaceInvoiceOrBuilder- Returns:
- The correctedInvoice.
-
getCorrectedInvoiceBytes
public com.google.protobuf.ByteString getCorrectedInvoiceBytes()Output only. The resource name of the original invoice corrected, wrote off, or canceled by this invoice, if applicable. If `corrected_invoice` is set, `replaced_invoices` will not be set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`optional string corrected_invoice = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCorrectedInvoiceBytesin interfaceInvoiceOrBuilder- Returns:
- The bytes for correctedInvoice.
-
setCorrectedInvoice
Output only. The resource name of the original invoice corrected, wrote off, or canceled by this invoice, if applicable. If `corrected_invoice` is set, `replaced_invoices` will not be set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`optional string corrected_invoice = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The correctedInvoice to set.- Returns:
- This builder for chaining.
-
clearCorrectedInvoice
Output only. The resource name of the original invoice corrected, wrote off, or canceled by this invoice, if applicable. If `corrected_invoice` is set, `replaced_invoices` will not be set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`optional string corrected_invoice = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCorrectedInvoiceBytes
Output only. The resource name of the original invoice corrected, wrote off, or canceled by this invoice, if applicable. If `corrected_invoice` is set, `replaced_invoices` will not be set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`optional string corrected_invoice = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for correctedInvoice to set.- Returns:
- This builder for chaining.
-
getReplacedInvoicesList
public com.google.protobuf.ProtocolStringList getReplacedInvoicesList()Output only. The resource name of the original invoice(s) being rebilled or replaced by this invoice, if applicable. There might be multiple replaced invoices due to invoice consolidation. The replaced invoices may not belong to the same payments account. If `replaced_invoices` is set, `corrected_invoice` will not be set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`repeated string replaced_invoices = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReplacedInvoicesListin interfaceInvoiceOrBuilder- Returns:
- A list containing the replacedInvoices.
-
getReplacedInvoicesCount
public int getReplacedInvoicesCount()Output only. The resource name of the original invoice(s) being rebilled or replaced by this invoice, if applicable. There might be multiple replaced invoices due to invoice consolidation. The replaced invoices may not belong to the same payments account. If `replaced_invoices` is set, `corrected_invoice` will not be set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`repeated string replaced_invoices = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReplacedInvoicesCountin interfaceInvoiceOrBuilder- Returns:
- The count of replacedInvoices.
-
getReplacedInvoices
Output only. The resource name of the original invoice(s) being rebilled or replaced by this invoice, if applicable. There might be multiple replaced invoices due to invoice consolidation. The replaced invoices may not belong to the same payments account. If `replaced_invoices` is set, `corrected_invoice` will not be set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`repeated string replaced_invoices = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReplacedInvoicesin interfaceInvoiceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The replacedInvoices at the given index.
-
getReplacedInvoicesBytes
public com.google.protobuf.ByteString getReplacedInvoicesBytes(int index) Output only. The resource name of the original invoice(s) being rebilled or replaced by this invoice, if applicable. There might be multiple replaced invoices due to invoice consolidation. The replaced invoices may not belong to the same payments account. If `replaced_invoices` is set, `corrected_invoice` will not be set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`repeated string replaced_invoices = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReplacedInvoicesBytesin interfaceInvoiceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the replacedInvoices at the given index.
-
setReplacedInvoices
Output only. The resource name of the original invoice(s) being rebilled or replaced by this invoice, if applicable. There might be multiple replaced invoices due to invoice consolidation. The replaced invoices may not belong to the same payments account. If `replaced_invoices` is set, `corrected_invoice` will not be set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`repeated string replaced_invoices = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The replacedInvoices to set.- Returns:
- This builder for chaining.
-
addReplacedInvoices
Output only. The resource name of the original invoice(s) being rebilled or replaced by this invoice, if applicable. There might be multiple replaced invoices due to invoice consolidation. The replaced invoices may not belong to the same payments account. If `replaced_invoices` is set, `corrected_invoice` will not be set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`repeated string replaced_invoices = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The replacedInvoices to add.- Returns:
- This builder for chaining.
-
addAllReplacedInvoices
Output only. The resource name of the original invoice(s) being rebilled or replaced by this invoice, if applicable. There might be multiple replaced invoices due to invoice consolidation. The replaced invoices may not belong to the same payments account. If `replaced_invoices` is set, `corrected_invoice` will not be set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`repeated string replaced_invoices = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The replacedInvoices to add.- Returns:
- This builder for chaining.
-
clearReplacedInvoices
Output only. The resource name of the original invoice(s) being rebilled or replaced by this invoice, if applicable. There might be multiple replaced invoices due to invoice consolidation. The replaced invoices may not belong to the same payments account. If `replaced_invoices` is set, `corrected_invoice` will not be set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`repeated string replaced_invoices = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
addReplacedInvoicesBytes
Output only. The resource name of the original invoice(s) being rebilled or replaced by this invoice, if applicable. There might be multiple replaced invoices due to invoice consolidation. The replaced invoices may not belong to the same payments account. If `replaced_invoices` is set, `corrected_invoice` will not be set. Invoice resource names have the form: `customers/{customer_id}/invoices/{invoice_id}`repeated string replaced_invoices = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes of the replacedInvoices to add.- Returns:
- This builder for chaining.
-
hasPdfUrl
public boolean hasPdfUrl()Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth token to request the PDF with this URL.
optional string pdf_url = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPdfUrlin interfaceInvoiceOrBuilder- Returns:
- Whether the pdfUrl field is set.
-
getPdfUrl
Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth token to request the PDF with this URL.
optional string pdf_url = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPdfUrlin interfaceInvoiceOrBuilder- Returns:
- The pdfUrl.
-
getPdfUrlBytes
public com.google.protobuf.ByteString getPdfUrlBytes()Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth token to request the PDF with this URL.
optional string pdf_url = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPdfUrlBytesin interfaceInvoiceOrBuilder- Returns:
- The bytes for pdfUrl.
-
setPdfUrl
Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth token to request the PDF with this URL.
optional string pdf_url = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The pdfUrl to set.- Returns:
- This builder for chaining.
-
clearPdfUrl
Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth token to request the PDF with this URL.
optional string pdf_url = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setPdfUrlBytes
Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth token to request the PDF with this URL.
optional string pdf_url = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for pdfUrl to set.- Returns:
- This builder for chaining.
-
getAccountBudgetSummariesList
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAccountBudgetSummariesListin interfaceInvoiceOrBuilder
-
getAccountBudgetSummariesCount
public int getAccountBudgetSummariesCount()Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAccountBudgetSummariesCountin interfaceInvoiceOrBuilder
-
getAccountBudgetSummaries
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAccountBudgetSummariesin interfaceInvoiceOrBuilder
-
setAccountBudgetSummaries
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setAccountBudgetSummaries
public Invoice.Builder setAccountBudgetSummaries(int index, Invoice.AccountBudgetSummary.Builder builderForValue) Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAccountBudgetSummaries
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAccountBudgetSummaries
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAccountBudgetSummaries
public Invoice.Builder addAccountBudgetSummaries(Invoice.AccountBudgetSummary.Builder builderForValue) Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAccountBudgetSummaries
public Invoice.Builder addAccountBudgetSummaries(int index, Invoice.AccountBudgetSummary.Builder builderForValue) Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllAccountBudgetSummaries
public Invoice.Builder addAllAccountBudgetSummaries(Iterable<? extends Invoice.AccountBudgetSummary> values) Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearAccountBudgetSummaries
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeAccountBudgetSummaries
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAccountBudgetSummariesBuilder
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAccountBudgetSummariesOrBuilder
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAccountBudgetSummariesOrBuilderin interfaceInvoiceOrBuilder
-
getAccountBudgetSummariesOrBuilderList
public List<? extends Invoice.AccountBudgetSummaryOrBuilder> getAccountBudgetSummariesOrBuilderList()Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAccountBudgetSummariesOrBuilderListin interfaceInvoiceOrBuilder
-
addAccountBudgetSummariesBuilder
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAccountBudgetSummariesBuilder
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAccountBudgetSummariesBuilderList
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAccountSummariesList
Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAccountSummariesListin interfaceInvoiceOrBuilder
-
getAccountSummariesCount
public int getAccountSummariesCount()Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAccountSummariesCountin interfaceInvoiceOrBuilder
-
getAccountSummaries
Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAccountSummariesin interfaceInvoiceOrBuilder
-
setAccountSummaries
Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setAccountSummaries
public Invoice.Builder setAccountSummaries(int index, Invoice.AccountSummary.Builder builderForValue) Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAccountSummaries
Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAccountSummaries
Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAccountSummaries
Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAccountSummaries
public Invoice.Builder addAccountSummaries(int index, Invoice.AccountSummary.Builder builderForValue) Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllAccountSummaries
Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearAccountSummaries
Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeAccountSummaries
Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAccountSummariesBuilder
Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAccountSummariesOrBuilder
Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAccountSummariesOrBuilderin interfaceInvoiceOrBuilder
-
getAccountSummariesOrBuilderList
Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAccountSummariesOrBuilderListin interfaceInvoiceOrBuilder
-
addAccountSummariesBuilder
Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAccountSummariesBuilder
Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAccountSummariesBuilderList
Output only. The list of summarized account information associated with this invoice.
repeated .google.ads.googleads.v18.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-