Class Invoice.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
- com.google.ads.googleads.v10.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,java.lang.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 typegoogle.ads.googleads.v10.resources.Invoice
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Invoice.BuilderaddAccountBudgetSummaries(int index, Invoice.AccountBudgetSummary value)Output only.Invoice.BuilderaddAccountBudgetSummaries(int index, Invoice.AccountBudgetSummary.Builder builderForValue)Output only.Invoice.BuilderaddAccountBudgetSummaries(Invoice.AccountBudgetSummary value)Output only.Invoice.BuilderaddAccountBudgetSummaries(Invoice.AccountBudgetSummary.Builder builderForValue)Output only.Invoice.AccountBudgetSummary.BuilderaddAccountBudgetSummariesBuilder()Output only.Invoice.AccountBudgetSummary.BuilderaddAccountBudgetSummariesBuilder(int index)Output only.Invoice.BuilderaddAllAccountBudgetSummaries(java.lang.Iterable<? extends Invoice.AccountBudgetSummary> values)Output only.Invoice.BuilderaddAllReplacedInvoices(java.lang.Iterable<java.lang.String> values)Output only.Invoice.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Invoice.BuilderaddReplacedInvoices(java.lang.String value)Output only.Invoice.BuilderaddReplacedInvoicesBytes(com.google.protobuf.ByteString value)Output only.Invoicebuild()InvoicebuildPartial()Invoice.Builderclear()Invoice.BuilderclearAccountBudgetSummaries()Output only.Invoice.BuilderclearAdjustmentsSubtotalAmountMicros()Output only.Invoice.BuilderclearAdjustmentsTaxAmountMicros()Output only.Invoice.BuilderclearAdjustmentsTotalAmountMicros()Output only.Invoice.BuilderclearBillingSetup()Output only.Invoice.BuilderclearCorrectedInvoice()Output only.Invoice.BuilderclearCurrencyCode()Output only.Invoice.BuilderclearDueDate()Output only.Invoice.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Invoice.BuilderclearId()Output only.Invoice.BuilderclearIssueDate()Output only.Invoice.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Invoice.BuilderclearPaymentsAccountId()Output only.Invoice.BuilderclearPaymentsProfileId()Output only.Invoice.BuilderclearPdfUrl()Output only.Invoice.BuilderclearRegulatoryCostsSubtotalAmountMicros()Output only.Invoice.BuilderclearRegulatoryCostsTaxAmountMicros()Output only.Invoice.BuilderclearRegulatoryCostsTotalAmountMicros()Output only.Invoice.BuilderclearReplacedInvoices()Output only.Invoice.BuilderclearResourceName()Output only.Invoice.BuilderclearServiceDateRange()Output only.Invoice.BuilderclearSubtotalAmountMicros()Output only.Invoice.BuilderclearTaxAmountMicros()Output only.Invoice.BuilderclearTotalAmountMicros()Output only.Invoice.BuilderclearType()Output only.Invoice.Builderclone()Invoice.AccountBudgetSummarygetAccountBudgetSummaries(int index)Output only.Invoice.AccountBudgetSummary.BuildergetAccountBudgetSummariesBuilder(int index)Output only.java.util.List<Invoice.AccountBudgetSummary.Builder>getAccountBudgetSummariesBuilderList()Output only.intgetAccountBudgetSummariesCount()Output only.java.util.List<Invoice.AccountBudgetSummary>getAccountBudgetSummariesList()Output only.Invoice.AccountBudgetSummaryOrBuildergetAccountBudgetSummariesOrBuilder(int index)Output only.java.util.List<? extends Invoice.AccountBudgetSummaryOrBuilder>getAccountBudgetSummariesOrBuilderList()Output only.longgetAdjustmentsSubtotalAmountMicros()Output only.longgetAdjustmentsTaxAmountMicros()Output only.longgetAdjustmentsTotalAmountMicros()Output only.java.lang.StringgetBillingSetup()Output only.com.google.protobuf.ByteStringgetBillingSetupBytes()Output only.java.lang.StringgetCorrectedInvoice()Output only.com.google.protobuf.ByteStringgetCorrectedInvoiceBytes()Output only.java.lang.StringgetCurrencyCode()Output only.com.google.protobuf.ByteStringgetCurrencyCodeBytes()Output only.InvoicegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetDueDate()Output only.com.google.protobuf.ByteStringgetDueDateBytes()Output only.java.lang.StringgetId()Output only.com.google.protobuf.ByteStringgetIdBytes()Output only.java.lang.StringgetIssueDate()Output only.com.google.protobuf.ByteStringgetIssueDateBytes()Output only.java.lang.StringgetPaymentsAccountId()Output only.com.google.protobuf.ByteStringgetPaymentsAccountIdBytes()Output only.java.lang.StringgetPaymentsProfileId()Output only.com.google.protobuf.ByteStringgetPaymentsProfileIdBytes()Output only.java.lang.StringgetPdfUrl()Output only.com.google.protobuf.ByteStringgetPdfUrlBytes()Output only.longgetRegulatoryCostsSubtotalAmountMicros()Output only.longgetRegulatoryCostsTaxAmountMicros()Output only.longgetRegulatoryCostsTotalAmountMicros()Output only.java.lang.StringgetReplacedInvoices(int index)Output only.com.google.protobuf.ByteStringgetReplacedInvoicesBytes(int index)Output only.intgetReplacedInvoicesCount()Output only.com.google.protobuf.ProtocolStringListgetReplacedInvoicesList()Output only.java.lang.StringgetResourceName()Output only.com.google.protobuf.ByteStringgetResourceNameBytes()Output only.DateRangegetServiceDateRange()Output only.DateRange.BuildergetServiceDateRangeBuilder()Output only.DateRangeOrBuildergetServiceDateRangeOrBuilder()Output only.longgetSubtotalAmountMicros()Output only.longgetTaxAmountMicros()Output only.longgetTotalAmountMicros()Output only.InvoiceTypeEnum.InvoiceTypegetType()Output only.intgetTypeValue()Output only.booleanhasBillingSetup()Output only.booleanhasCorrectedInvoice()Output only.booleanhasCurrencyCode()Output only.booleanhasDueDate()Output only.booleanhasId()Output only.booleanhasIssueDate()Output only.booleanhasPaymentsAccountId()Output only.booleanhasPaymentsProfileId()Output only.booleanhasPdfUrl()Output only.booleanhasServiceDateRange()Output only.booleanhasSubtotalAmountMicros()Output only.booleanhasTaxAmountMicros()Output only.booleanhasTotalAmountMicros()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Invoice.BuildermergeFrom(Invoice other)Invoice.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Invoice.BuildermergeFrom(com.google.protobuf.Message other)Invoice.BuildermergeServiceDateRange(DateRange value)Output only.Invoice.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Invoice.BuilderremoveAccountBudgetSummaries(int index)Output only.Invoice.BuildersetAccountBudgetSummaries(int index, Invoice.AccountBudgetSummary value)Output only.Invoice.BuildersetAccountBudgetSummaries(int index, Invoice.AccountBudgetSummary.Builder builderForValue)Output only.Invoice.BuildersetAdjustmentsSubtotalAmountMicros(long value)Output only.Invoice.BuildersetAdjustmentsTaxAmountMicros(long value)Output only.Invoice.BuildersetAdjustmentsTotalAmountMicros(long value)Output only.Invoice.BuildersetBillingSetup(java.lang.String value)Output only.Invoice.BuildersetBillingSetupBytes(com.google.protobuf.ByteString value)Output only.Invoice.BuildersetCorrectedInvoice(java.lang.String value)Output only.Invoice.BuildersetCorrectedInvoiceBytes(com.google.protobuf.ByteString value)Output only.Invoice.BuildersetCurrencyCode(java.lang.String value)Output only.Invoice.BuildersetCurrencyCodeBytes(com.google.protobuf.ByteString value)Output only.Invoice.BuildersetDueDate(java.lang.String value)Output only.Invoice.BuildersetDueDateBytes(com.google.protobuf.ByteString value)Output only.Invoice.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Invoice.BuildersetId(java.lang.String value)Output only.Invoice.BuildersetIdBytes(com.google.protobuf.ByteString value)Output only.Invoice.BuildersetIssueDate(java.lang.String value)Output only.Invoice.BuildersetIssueDateBytes(com.google.protobuf.ByteString value)Output only.Invoice.BuildersetPaymentsAccountId(java.lang.String value)Output only.Invoice.BuildersetPaymentsAccountIdBytes(com.google.protobuf.ByteString value)Output only.Invoice.BuildersetPaymentsProfileId(java.lang.String value)Output only.Invoice.BuildersetPaymentsProfileIdBytes(com.google.protobuf.ByteString value)Output only.Invoice.BuildersetPdfUrl(java.lang.String value)Output only.Invoice.BuildersetPdfUrlBytes(com.google.protobuf.ByteString value)Output only.Invoice.BuildersetRegulatoryCostsSubtotalAmountMicros(long value)Output only.Invoice.BuildersetRegulatoryCostsTaxAmountMicros(long value)Output only.Invoice.BuildersetRegulatoryCostsTotalAmountMicros(long value)Output only.Invoice.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Invoice.BuildersetReplacedInvoices(int index, java.lang.String value)Output only.Invoice.BuildersetResourceName(java.lang.String value)Output only.Invoice.BuildersetResourceNameBytes(com.google.protobuf.ByteString value)Output only.Invoice.BuildersetServiceDateRange(DateRange value)Output only.Invoice.BuildersetServiceDateRange(DateRange.Builder builderForValue)Output only.Invoice.BuildersetSubtotalAmountMicros(long value)Output only.Invoice.BuildersetTaxAmountMicros(long value)Output only.Invoice.BuildersetTotalAmountMicros(long value)Output only.Invoice.BuildersetType(InvoiceTypeEnum.InvoiceType value)Output only.Invoice.BuildersetTypeValue(int value)Output only.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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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
public 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
public Invoice getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Invoice build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Invoice buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Invoice.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, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
clearField
public Invoice.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
clearOneof
public Invoice.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
mergeFrom
public Invoice.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Invoice.Builder>
-
mergeFrom
public Invoice.Builder mergeFrom(Invoice other)
-
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 java.io.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:
java.io.IOException
-
getResourceName
public java.lang.String 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
public Invoice.Builder setResourceName(java.lang.String value)
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
public Invoice.Builder 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
public Invoice.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public Invoice.Builder setId(java.lang.String value)
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
public Invoice.Builder 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
public Invoice.Builder setIdBytes(com.google.protobuf.ByteString value)
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.v10.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
public Invoice.Builder setTypeValue(int value)
Output only. The type of invoice.
.google.ads.googleads.v10.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
public InvoiceTypeEnum.InvoiceType getType()
Output only. The type of invoice.
.google.ads.googleads.v10.enums.InvoiceTypeEnum.InvoiceType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypein interfaceInvoiceOrBuilder- Returns:
- The type.
-
setType
public Invoice.Builder setType(InvoiceTypeEnum.InvoiceType value)
Output only. The type of invoice.
.google.ads.googleads.v10.enums.InvoiceTypeEnum.InvoiceType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public Invoice.Builder clearType()
Output only. The type of invoice.
.google.ads.googleads.v10.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
public java.lang.String 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
public Invoice.Builder setBillingSetup(java.lang.String value)
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
public Invoice.Builder 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
public Invoice.Builder setBillingSetupBytes(com.google.protobuf.ByteString value)
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, e.g. "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
public java.lang.String getPaymentsAccountId()
Output only. A 16 digit ID used to identify the payments account associated with the billing setup, e.g. "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, e.g. "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
public Invoice.Builder setPaymentsAccountId(java.lang.String value)
Output only. A 16 digit ID used to identify the payments account associated with the billing setup, e.g. "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
public Invoice.Builder clearPaymentsAccountId()
Output only. A 16 digit ID used to identify the payments account associated with the billing setup, e.g. "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
public Invoice.Builder setPaymentsAccountIdBytes(com.google.protobuf.ByteString value)
Output only. A 16 digit ID used to identify the payments account associated with the billing setup, e.g. "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, e.g. "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
public java.lang.String getPaymentsProfileId()
Output only. A 12 digit ID used to identify the payments profile associated with the billing setup, e.g. "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, e.g. "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
public Invoice.Builder setPaymentsProfileId(java.lang.String value)
Output only. A 12 digit ID used to identify the payments profile associated with the billing setup, e.g. "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
public Invoice.Builder clearPaymentsProfileId()
Output only. A 12 digit ID used to identify the payments profile associated with the billing setup, e.g. "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
public Invoice.Builder setPaymentsProfileIdBytes(com.google.protobuf.ByteString value)
Output only. A 12 digit ID used to identify the payments profile associated with the billing setup, e.g. "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
public java.lang.String 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
public Invoice.Builder setIssueDate(java.lang.String value)
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
public Invoice.Builder 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
public Invoice.Builder setIssueDateBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public Invoice.Builder setDueDate(java.lang.String value)
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
public Invoice.Builder 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
public Invoice.Builder setDueDateBytes(com.google.protobuf.ByteString value)
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.v10.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasServiceDateRangein interfaceInvoiceOrBuilder- Returns:
- Whether the serviceDateRange field is set.
-
getServiceDateRange
public DateRange getServiceDateRange()
Output only. The service period date range of this invoice. The end date is inclusive.
.google.ads.googleads.v10.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceDateRangein interfaceInvoiceOrBuilder- Returns:
- The serviceDateRange.
-
setServiceDateRange
public Invoice.Builder setServiceDateRange(DateRange value)
Output only. The service period date range of this invoice. The end date is inclusive.
.google.ads.googleads.v10.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setServiceDateRange
public Invoice.Builder setServiceDateRange(DateRange.Builder builderForValue)
Output only. The service period date range of this invoice. The end date is inclusive.
.google.ads.googleads.v10.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeServiceDateRange
public Invoice.Builder mergeServiceDateRange(DateRange value)
Output only. The service period date range of this invoice. The end date is inclusive.
.google.ads.googleads.v10.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearServiceDateRange
public Invoice.Builder clearServiceDateRange()
Output only. The service period date range of this invoice. The end date is inclusive.
.google.ads.googleads.v10.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getServiceDateRangeBuilder
public DateRange.Builder getServiceDateRangeBuilder()
Output only. The service period date range of this invoice. The end date is inclusive.
.google.ads.googleads.v10.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getServiceDateRangeOrBuilder
public DateRangeOrBuilder getServiceDateRangeOrBuilder()
Output only. The service period date range of this invoice. The end date is inclusive.
.google.ads.googleads.v10.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
public java.lang.String 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
public Invoice.Builder setCurrencyCode(java.lang.String value)
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
public Invoice.Builder 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
public Invoice.Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value)
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
public Invoice.Builder setAdjustmentsSubtotalAmountMicros(long value)
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
public Invoice.Builder 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
public Invoice.Builder setAdjustmentsTaxAmountMicros(long value)
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
public Invoice.Builder 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
public Invoice.Builder setAdjustmentsTotalAmountMicros(long value)
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
public Invoice.Builder 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
public Invoice.Builder setRegulatoryCostsSubtotalAmountMicros(long value)
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
public Invoice.Builder 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
public Invoice.Builder setRegulatoryCostsTaxAmountMicros(long value)
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
public Invoice.Builder 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
public Invoice.Builder setRegulatoryCostsTotalAmountMicros(long value)
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
public Invoice.Builder 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.
-
hasSubtotalAmountMicros
public boolean hasSubtotalAmountMicros()
Output only. The pretax subtotal amount, in micros. This equals the sum of the AccountBudgetSummary subtotal amounts, Invoice.adjustments_subtotal_amount_micros, and Invoice.regulatory_costs_subtotal_amount_micros. Starting with v6, the Invoice.regulatory_costs_subtotal_amount_micros is no longer included.
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 equals the sum of the AccountBudgetSummary subtotal amounts, Invoice.adjustments_subtotal_amount_micros, and Invoice.regulatory_costs_subtotal_amount_micros. Starting with v6, the Invoice.regulatory_costs_subtotal_amount_micros is no longer included.
optional int64 subtotal_amount_micros = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSubtotalAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- The subtotalAmountMicros.
-
setSubtotalAmountMicros
public Invoice.Builder setSubtotalAmountMicros(long value)
Output only. The pretax subtotal amount, in micros. This equals the sum of the AccountBudgetSummary subtotal amounts, Invoice.adjustments_subtotal_amount_micros, and Invoice.regulatory_costs_subtotal_amount_micros. Starting with v6, the Invoice.regulatory_costs_subtotal_amount_micros is no longer included.
optional int64 subtotal_amount_micros = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The subtotalAmountMicros to set.- Returns:
- This builder for chaining.
-
clearSubtotalAmountMicros
public Invoice.Builder clearSubtotalAmountMicros()
Output only. The pretax subtotal amount, in micros. This equals the sum of the AccountBudgetSummary subtotal amounts, Invoice.adjustments_subtotal_amount_micros, and Invoice.regulatory_costs_subtotal_amount_micros. Starting with v6, the Invoice.regulatory_costs_subtotal_amount_micros is no longer included.
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
public Invoice.Builder setTaxAmountMicros(long value)
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
public Invoice.Builder 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 and Invoice.tax_amount_micros. Starting with v6, Invoice.regulatory_costs_subtotal_amount_micros is also added as it is no longer already included in Invoice.tax_amount_micros.
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 and Invoice.tax_amount_micros. Starting with v6, Invoice.regulatory_costs_subtotal_amount_micros is also added as it is no longer already included in Invoice.tax_amount_micros.
optional int64 total_amount_micros = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTotalAmountMicrosin interfaceInvoiceOrBuilder- Returns:
- The totalAmountMicros.
-
setTotalAmountMicros
public Invoice.Builder setTotalAmountMicros(long value)
Output only. The total amount, in micros. This equals the sum of Invoice.subtotal_amount_micros and Invoice.tax_amount_micros. Starting with v6, Invoice.regulatory_costs_subtotal_amount_micros is also added as it is no longer already included in Invoice.tax_amount_micros.
optional int64 total_amount_micros = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The totalAmountMicros to set.- Returns:
- This builder for chaining.
-
clearTotalAmountMicros
public Invoice.Builder clearTotalAmountMicros()
Output only. The total amount, in micros. This equals the sum of Invoice.subtotal_amount_micros and Invoice.tax_amount_micros. Starting with v6, Invoice.regulatory_costs_subtotal_amount_micros is also added as it is no longer already included in Invoice.tax_amount_micros.
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
public java.lang.String 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
public Invoice.Builder setCorrectedInvoice(java.lang.String value)
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
public Invoice.Builder 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
public Invoice.Builder setCorrectedInvoiceBytes(com.google.protobuf.ByteString value)
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
public java.lang.String getReplacedInvoices(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:
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
public Invoice.Builder setReplacedInvoices(int index, java.lang.String value)
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
public Invoice.Builder addReplacedInvoices(java.lang.String value)
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
public Invoice.Builder addAllReplacedInvoices(java.lang.Iterable<java.lang.String> values)
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
public Invoice.Builder 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
public Invoice.Builder addReplacedInvoicesBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public Invoice.Builder setPdfUrl(java.lang.String value)
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
public Invoice.Builder 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
public Invoice.Builder setPdfUrlBytes(com.google.protobuf.ByteString value)
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
public java.util.List<Invoice.AccountBudgetSummary> getAccountBudgetSummariesList()
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v10.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.v10.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAccountBudgetSummariesCountin interfaceInvoiceOrBuilder
-
getAccountBudgetSummaries
public Invoice.AccountBudgetSummary getAccountBudgetSummaries(int index)
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v10.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAccountBudgetSummariesin interfaceInvoiceOrBuilder
-
setAccountBudgetSummaries
public Invoice.Builder setAccountBudgetSummaries(int index, Invoice.AccountBudgetSummary value)
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v10.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.v10.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAccountBudgetSummaries
public Invoice.Builder addAccountBudgetSummaries(Invoice.AccountBudgetSummary value)
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v10.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAccountBudgetSummaries
public Invoice.Builder addAccountBudgetSummaries(int index, Invoice.AccountBudgetSummary value)
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v10.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.v10.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.v10.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllAccountBudgetSummaries
public Invoice.Builder addAllAccountBudgetSummaries(java.lang.Iterable<? extends Invoice.AccountBudgetSummary> values)
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v10.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearAccountBudgetSummaries
public Invoice.Builder clearAccountBudgetSummaries()
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v10.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeAccountBudgetSummaries
public Invoice.Builder removeAccountBudgetSummaries(int index)
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v10.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getAccountBudgetSummariesBuilder
public Invoice.AccountBudgetSummary.Builder getAccountBudgetSummariesBuilder(int index)
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v10.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getAccountBudgetSummariesOrBuilder
public Invoice.AccountBudgetSummaryOrBuilder getAccountBudgetSummariesOrBuilder(int index)
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v10.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAccountBudgetSummariesOrBuilderin interfaceInvoiceOrBuilder
-
getAccountBudgetSummariesOrBuilderList
public java.util.List<? extends Invoice.AccountBudgetSummaryOrBuilder> getAccountBudgetSummariesOrBuilderList()
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v10.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAccountBudgetSummariesOrBuilderListin interfaceInvoiceOrBuilder
-
addAccountBudgetSummariesBuilder
public Invoice.AccountBudgetSummary.Builder addAccountBudgetSummariesBuilder()
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v10.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAccountBudgetSummariesBuilder
public Invoice.AccountBudgetSummary.Builder addAccountBudgetSummariesBuilder(int index)
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v10.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getAccountBudgetSummariesBuilderList
public java.util.List<Invoice.AccountBudgetSummary.Builder> getAccountBudgetSummariesBuilderList()
Output only. The list of summarized account budget information associated with this invoice.
repeated .google.ads.googleads.v10.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUnknownFields
public final Invoice.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
mergeUnknownFields
public final Invoice.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Invoice.Builder>
-
-