Class AccountBudget.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.Builder>
-
- com.google.ads.googleads.v10.resources.AccountBudget.Builder
-
- All Implemented Interfaces:
AccountBudgetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- AccountBudget
public static final class AccountBudget.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.Builder> implements AccountBudgetOrBuilder
An account-level budget. It contains information about the budget itself, as well as the most recently approved changes to the budget and proposed changes that are pending approval. The proposed changes that are pending approval, if any, are found in 'pending_proposal'. Effective details about the budget are found in fields prefixed 'approved_', 'adjusted_' and those without a prefix. Since some effective details may differ from what the user had originally requested (e.g. spending limit), these differences are juxtaposed via 'proposed_', 'approved_', and possibly 'adjusted_' fields. This resource is mutated using AccountBudgetProposal and cannot be mutated directly. A budget may have at most one pending proposal at any given time. It is read through pending_proposal. Once approved, a budget may be subject to adjustments, such as credit adjustments. Adjustments create differences between the 'approved' and 'adjusted' fields, which would otherwise be identical.
Protobuf typegoogle.ads.googleads.v10.resources.AccountBudget
-
-
Method Summary
-
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<AccountBudget.Builder>
-
clear
public AccountBudget.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<AccountBudget.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<AccountBudget.Builder>
-
getDefaultInstanceForType
public AccountBudget getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AccountBudget build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AccountBudget buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AccountBudget.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<AccountBudget.Builder>
-
setField
public AccountBudget.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<AccountBudget.Builder>
-
clearField
public AccountBudget.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.Builder>
-
clearOneof
public AccountBudget.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.Builder>
-
setRepeatedField
public AccountBudget.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<AccountBudget.Builder>
-
addRepeatedField
public AccountBudget.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<AccountBudget.Builder>
-
mergeFrom
public AccountBudget.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AccountBudget.Builder>
-
mergeFrom
public AccountBudget.Builder mergeFrom(AccountBudget other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.Builder>
-
mergeFrom
public AccountBudget.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<AccountBudget.Builder>- Throws:
java.io.IOException
-
getProposedEndTimeCase
public AccountBudget.ProposedEndTimeCase getProposedEndTimeCase()
- Specified by:
getProposedEndTimeCasein interfaceAccountBudgetOrBuilder
-
clearProposedEndTime
public AccountBudget.Builder clearProposedEndTime()
-
getApprovedEndTimeCase
public AccountBudget.ApprovedEndTimeCase getApprovedEndTimeCase()
- Specified by:
getApprovedEndTimeCasein interfaceAccountBudgetOrBuilder
-
clearApprovedEndTime
public AccountBudget.Builder clearApprovedEndTime()
-
getProposedSpendingLimitCase
public AccountBudget.ProposedSpendingLimitCase getProposedSpendingLimitCase()
- Specified by:
getProposedSpendingLimitCasein interfaceAccountBudgetOrBuilder
-
clearProposedSpendingLimit
public AccountBudget.Builder clearProposedSpendingLimit()
-
getApprovedSpendingLimitCase
public AccountBudget.ApprovedSpendingLimitCase getApprovedSpendingLimitCase()
- Specified by:
getApprovedSpendingLimitCasein interfaceAccountBudgetOrBuilder
-
clearApprovedSpendingLimit
public AccountBudget.Builder clearApprovedSpendingLimit()
-
getAdjustedSpendingLimitCase
public AccountBudget.AdjustedSpendingLimitCase getAdjustedSpendingLimitCase()
- Specified by:
getAdjustedSpendingLimitCasein interfaceAccountBudgetOrBuilder
-
clearAdjustedSpendingLimit
public AccountBudget.Builder clearAdjustedSpendingLimit()
-
getResourceName
public java.lang.String getResourceName()
Output only. The resource name of the account-level budget. AccountBudget resource names have the form: `customers/{customer_id}/accountBudgets/{account_budget_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceAccountBudgetOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Output only. The resource name of the account-level budget. AccountBudget resource names have the form: `customers/{customer_id}/accountBudgets/{account_budget_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceAccountBudgetOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
public AccountBudget.Builder setResourceName(java.lang.String value)
Output only. The resource name of the account-level budget. AccountBudget resource names have the form: `customers/{customer_id}/accountBudgets/{account_budget_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 AccountBudget.Builder clearResourceName()
Output only. The resource name of the account-level budget. AccountBudget resource names have the form: `customers/{customer_id}/accountBudgets/{account_budget_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
public AccountBudget.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the account-level budget. AccountBudget resource names have the form: `customers/{customer_id}/accountBudgets/{account_budget_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 account-level budget.
optional int64 id = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIdin interfaceAccountBudgetOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
Output only. The ID of the account-level budget.
optional int64 id = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceAccountBudgetOrBuilder- Returns:
- The id.
-
setId
public AccountBudget.Builder setId(long value)
Output only. The ID of the account-level budget.
optional int64 id = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public AccountBudget.Builder clearId()
Output only. The ID of the account-level budget.
optional int64 id = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasBillingSetup
public boolean hasBillingSetup()
Output only. The resource name of the billing setup associated with this account-level budget. BillingSetup resource names have the form: `customers/{customer_id}/billingSetups/{billing_setup_id}`optional string billing_setup = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
hasBillingSetupin interfaceAccountBudgetOrBuilder- Returns:
- Whether the billingSetup field is set.
-
getBillingSetup
public java.lang.String getBillingSetup()
Output only. The resource name of the billing setup associated with this account-level budget. BillingSetup resource names have the form: `customers/{customer_id}/billingSetups/{billing_setup_id}`optional string billing_setup = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getBillingSetupin interfaceAccountBudgetOrBuilder- Returns:
- The billingSetup.
-
getBillingSetupBytes
public com.google.protobuf.ByteString getBillingSetupBytes()
Output only. The resource name of the billing setup associated with this account-level budget. BillingSetup resource names have the form: `customers/{customer_id}/billingSetups/{billing_setup_id}`optional string billing_setup = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getBillingSetupBytesin interfaceAccountBudgetOrBuilder- Returns:
- The bytes for billingSetup.
-
setBillingSetup
public AccountBudget.Builder setBillingSetup(java.lang.String value)
Output only. The resource name of the billing setup associated with this account-level budget. BillingSetup resource names have the form: `customers/{customer_id}/billingSetups/{billing_setup_id}`optional string billing_setup = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The billingSetup to set.- Returns:
- This builder for chaining.
-
clearBillingSetup
public AccountBudget.Builder clearBillingSetup()
Output only. The resource name of the billing setup associated with this account-level budget. BillingSetup resource names have the form: `customers/{customer_id}/billingSetups/{billing_setup_id}`optional string billing_setup = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setBillingSetupBytes
public AccountBudget.Builder setBillingSetupBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the billing setup associated with this account-level budget. BillingSetup resource names have the form: `customers/{customer_id}/billingSetups/{billing_setup_id}`optional string billing_setup = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for billingSetup to set.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
Output only. The status of this account-level budget.
.google.ads.googleads.v10.enums.AccountBudgetStatusEnum.AccountBudgetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceAccountBudgetOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public AccountBudget.Builder setStatusValue(int value)
Output only. The status of this account-level budget.
.google.ads.googleads.v10.enums.AccountBudgetStatusEnum.AccountBudgetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public AccountBudgetStatusEnum.AccountBudgetStatus getStatus()
Output only. The status of this account-level budget.
.google.ads.googleads.v10.enums.AccountBudgetStatusEnum.AccountBudgetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceAccountBudgetOrBuilder- Returns:
- The status.
-
setStatus
public AccountBudget.Builder setStatus(AccountBudgetStatusEnum.AccountBudgetStatus value)
Output only. The status of this account-level budget.
.google.ads.googleads.v10.enums.AccountBudgetStatusEnum.AccountBudgetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public AccountBudget.Builder clearStatus()
Output only. The status of this account-level budget.
.google.ads.googleads.v10.enums.AccountBudgetStatusEnum.AccountBudgetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()
Output only. The name of the account-level budget.
optional string name = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasNamein interfaceAccountBudgetOrBuilder- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
Output only. The name of the account-level budget.
optional string name = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceAccountBudgetOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The name of the account-level budget.
optional string name = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceAccountBudgetOrBuilder- Returns:
- The bytes for name.
-
setName
public AccountBudget.Builder setName(java.lang.String value)
Output only. The name of the account-level budget.
optional string name = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public AccountBudget.Builder clearName()
Output only. The name of the account-level budget.
optional string name = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
public AccountBudget.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The name of the account-level budget.
optional string name = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasProposedStartDateTime
public boolean hasProposedStartDateTime()
Output only. The proposed start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, this is the time of request.
optional string proposed_start_date_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasProposedStartDateTimein interfaceAccountBudgetOrBuilder- Returns:
- Whether the proposedStartDateTime field is set.
-
getProposedStartDateTime
public java.lang.String getProposedStartDateTime()
Output only. The proposed start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, this is the time of request.
optional string proposed_start_date_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedStartDateTimein interfaceAccountBudgetOrBuilder- Returns:
- The proposedStartDateTime.
-
getProposedStartDateTimeBytes
public com.google.protobuf.ByteString getProposedStartDateTimeBytes()
Output only. The proposed start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, this is the time of request.
optional string proposed_start_date_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedStartDateTimeBytesin interfaceAccountBudgetOrBuilder- Returns:
- The bytes for proposedStartDateTime.
-
setProposedStartDateTime
public AccountBudget.Builder setProposedStartDateTime(java.lang.String value)
Output only. The proposed start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, this is the time of request.
optional string proposed_start_date_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The proposedStartDateTime to set.- Returns:
- This builder for chaining.
-
clearProposedStartDateTime
public AccountBudget.Builder clearProposedStartDateTime()
Output only. The proposed start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, this is the time of request.
optional string proposed_start_date_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setProposedStartDateTimeBytes
public AccountBudget.Builder setProposedStartDateTimeBytes(com.google.protobuf.ByteString value)
Output only. The proposed start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, this is the time of request.
optional string proposed_start_date_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for proposedStartDateTime to set.- Returns:
- This builder for chaining.
-
hasApprovedStartDateTime
public boolean hasApprovedStartDateTime()
Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. For example, if a new budget is approved after the proposed start time, the approved start time is the time of approval.
optional string approved_start_date_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasApprovedStartDateTimein interfaceAccountBudgetOrBuilder- Returns:
- Whether the approvedStartDateTime field is set.
-
getApprovedStartDateTime
public java.lang.String getApprovedStartDateTime()
Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. For example, if a new budget is approved after the proposed start time, the approved start time is the time of approval.
optional string approved_start_date_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovedStartDateTimein interfaceAccountBudgetOrBuilder- Returns:
- The approvedStartDateTime.
-
getApprovedStartDateTimeBytes
public com.google.protobuf.ByteString getApprovedStartDateTimeBytes()
Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. For example, if a new budget is approved after the proposed start time, the approved start time is the time of approval.
optional string approved_start_date_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovedStartDateTimeBytesin interfaceAccountBudgetOrBuilder- Returns:
- The bytes for approvedStartDateTime.
-
setApprovedStartDateTime
public AccountBudget.Builder setApprovedStartDateTime(java.lang.String value)
Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. For example, if a new budget is approved after the proposed start time, the approved start time is the time of approval.
optional string approved_start_date_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The approvedStartDateTime to set.- Returns:
- This builder for chaining.
-
clearApprovedStartDateTime
public AccountBudget.Builder clearApprovedStartDateTime()
Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. For example, if a new budget is approved after the proposed start time, the approved start time is the time of approval.
optional string approved_start_date_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setApprovedStartDateTimeBytes
public AccountBudget.Builder setApprovedStartDateTimeBytes(com.google.protobuf.ByteString value)
Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss format. For example, if a new budget is approved after the proposed start time, the approved start time is the time of approval.
optional string approved_start_date_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for approvedStartDateTime to set.- Returns:
- This builder for chaining.
-
getTotalAdjustmentsMicros
public long getTotalAdjustmentsMicros()
Output only. The total adjustments amount. An example of an adjustment is courtesy credits.
int64 total_adjustments_micros = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTotalAdjustmentsMicrosin interfaceAccountBudgetOrBuilder- Returns:
- The totalAdjustmentsMicros.
-
setTotalAdjustmentsMicros
public AccountBudget.Builder setTotalAdjustmentsMicros(long value)
Output only. The total adjustments amount. An example of an adjustment is courtesy credits.
int64 total_adjustments_micros = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The totalAdjustmentsMicros to set.- Returns:
- This builder for chaining.
-
clearTotalAdjustmentsMicros
public AccountBudget.Builder clearTotalAdjustmentsMicros()
Output only. The total adjustments amount. An example of an adjustment is courtesy credits.
int64 total_adjustments_micros = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getAmountServedMicros
public long getAmountServedMicros()
Output only. The value of Ads that have been served, in micros. This includes overdelivery costs, in which case a credit might be automatically applied to the budget (see total_adjustments_micros).
int64 amount_served_micros = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAmountServedMicrosin interfaceAccountBudgetOrBuilder- Returns:
- The amountServedMicros.
-
setAmountServedMicros
public AccountBudget.Builder setAmountServedMicros(long value)
Output only. The value of Ads that have been served, in micros. This includes overdelivery costs, in which case a credit might be automatically applied to the budget (see total_adjustments_micros).
int64 amount_served_micros = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The amountServedMicros to set.- Returns:
- This builder for chaining.
-
clearAmountServedMicros
public AccountBudget.Builder clearAmountServedMicros()
Output only. The value of Ads that have been served, in micros. This includes overdelivery costs, in which case a credit might be automatically applied to the budget (see total_adjustments_micros).
int64 amount_served_micros = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasPurchaseOrderNumber
public boolean hasPurchaseOrderNumber()
Output only. A purchase order number is a value that helps users reference this budget in their monthly invoices.
optional string purchase_order_number = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPurchaseOrderNumberin interfaceAccountBudgetOrBuilder- Returns:
- Whether the purchaseOrderNumber field is set.
-
getPurchaseOrderNumber
public java.lang.String getPurchaseOrderNumber()
Output only. A purchase order number is a value that helps users reference this budget in their monthly invoices.
optional string purchase_order_number = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPurchaseOrderNumberin interfaceAccountBudgetOrBuilder- Returns:
- The purchaseOrderNumber.
-
getPurchaseOrderNumberBytes
public com.google.protobuf.ByteString getPurchaseOrderNumberBytes()
Output only. A purchase order number is a value that helps users reference this budget in their monthly invoices.
optional string purchase_order_number = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPurchaseOrderNumberBytesin interfaceAccountBudgetOrBuilder- Returns:
- The bytes for purchaseOrderNumber.
-
setPurchaseOrderNumber
public AccountBudget.Builder setPurchaseOrderNumber(java.lang.String value)
Output only. A purchase order number is a value that helps users reference this budget in their monthly invoices.
optional string purchase_order_number = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The purchaseOrderNumber to set.- Returns:
- This builder for chaining.
-
clearPurchaseOrderNumber
public AccountBudget.Builder clearPurchaseOrderNumber()
Output only. A purchase order number is a value that helps users reference this budget in their monthly invoices.
optional string purchase_order_number = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setPurchaseOrderNumberBytes
public AccountBudget.Builder setPurchaseOrderNumberBytes(com.google.protobuf.ByteString value)
Output only. A purchase order number is a value that helps users reference this budget in their monthly invoices.
optional string purchase_order_number = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for purchaseOrderNumber to set.- Returns:
- This builder for chaining.
-
hasNotes
public boolean hasNotes()
Output only. Notes associated with the budget.
optional string notes = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasNotesin interfaceAccountBudgetOrBuilder- Returns:
- Whether the notes field is set.
-
getNotes
public java.lang.String getNotes()
Output only. Notes associated with the budget.
optional string notes = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNotesin interfaceAccountBudgetOrBuilder- Returns:
- The notes.
-
getNotesBytes
public com.google.protobuf.ByteString getNotesBytes()
Output only. Notes associated with the budget.
optional string notes = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNotesBytesin interfaceAccountBudgetOrBuilder- Returns:
- The bytes for notes.
-
setNotes
public AccountBudget.Builder setNotes(java.lang.String value)
Output only. Notes associated with the budget.
optional string notes = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The notes to set.- Returns:
- This builder for chaining.
-
clearNotes
public AccountBudget.Builder clearNotes()
Output only. Notes associated with the budget.
optional string notes = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNotesBytes
public AccountBudget.Builder setNotesBytes(com.google.protobuf.ByteString value)
Output only. Notes associated with the budget.
optional string notes = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for notes to set.- Returns:
- This builder for chaining.
-
hasPendingProposal
public boolean hasPendingProposal()
Output only. The pending proposal to modify this budget, if applicable.
.google.ads.googleads.v10.resources.AccountBudget.PendingAccountBudgetProposal pending_proposal = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPendingProposalin interfaceAccountBudgetOrBuilder- Returns:
- Whether the pendingProposal field is set.
-
getPendingProposal
public AccountBudget.PendingAccountBudgetProposal getPendingProposal()
Output only. The pending proposal to modify this budget, if applicable.
.google.ads.googleads.v10.resources.AccountBudget.PendingAccountBudgetProposal pending_proposal = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPendingProposalin interfaceAccountBudgetOrBuilder- Returns:
- The pendingProposal.
-
setPendingProposal
public AccountBudget.Builder setPendingProposal(AccountBudget.PendingAccountBudgetProposal value)
Output only. The pending proposal to modify this budget, if applicable.
.google.ads.googleads.v10.resources.AccountBudget.PendingAccountBudgetProposal pending_proposal = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setPendingProposal
public AccountBudget.Builder setPendingProposal(AccountBudget.PendingAccountBudgetProposal.Builder builderForValue)
Output only. The pending proposal to modify this budget, if applicable.
.google.ads.googleads.v10.resources.AccountBudget.PendingAccountBudgetProposal pending_proposal = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergePendingProposal
public AccountBudget.Builder mergePendingProposal(AccountBudget.PendingAccountBudgetProposal value)
Output only. The pending proposal to modify this budget, if applicable.
.google.ads.googleads.v10.resources.AccountBudget.PendingAccountBudgetProposal pending_proposal = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearPendingProposal
public AccountBudget.Builder clearPendingProposal()
Output only. The pending proposal to modify this budget, if applicable.
.google.ads.googleads.v10.resources.AccountBudget.PendingAccountBudgetProposal pending_proposal = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getPendingProposalBuilder
public AccountBudget.PendingAccountBudgetProposal.Builder getPendingProposalBuilder()
Output only. The pending proposal to modify this budget, if applicable.
.google.ads.googleads.v10.resources.AccountBudget.PendingAccountBudgetProposal pending_proposal = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getPendingProposalOrBuilder
public AccountBudget.PendingAccountBudgetProposalOrBuilder getPendingProposalOrBuilder()
Output only. The pending proposal to modify this budget, if applicable.
.google.ads.googleads.v10.resources.AccountBudget.PendingAccountBudgetProposal pending_proposal = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPendingProposalOrBuilderin interfaceAccountBudgetOrBuilder
-
hasProposedEndDateTime
public boolean hasProposedEndDateTime()
Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format.
string proposed_end_date_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasProposedEndDateTimein interfaceAccountBudgetOrBuilder- Returns:
- Whether the proposedEndDateTime field is set.
-
getProposedEndDateTime
public java.lang.String getProposedEndDateTime()
Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format.
string proposed_end_date_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedEndDateTimein interfaceAccountBudgetOrBuilder- Returns:
- The proposedEndDateTime.
-
getProposedEndDateTimeBytes
public com.google.protobuf.ByteString getProposedEndDateTimeBytes()
Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format.
string proposed_end_date_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedEndDateTimeBytesin interfaceAccountBudgetOrBuilder- Returns:
- The bytes for proposedEndDateTime.
-
setProposedEndDateTime
public AccountBudget.Builder setProposedEndDateTime(java.lang.String value)
Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format.
string proposed_end_date_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The proposedEndDateTime to set.- Returns:
- This builder for chaining.
-
clearProposedEndDateTime
public AccountBudget.Builder clearProposedEndDateTime()
Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format.
string proposed_end_date_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setProposedEndDateTimeBytes
public AccountBudget.Builder setProposedEndDateTimeBytes(com.google.protobuf.ByteString value)
Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format.
string proposed_end_date_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for proposedEndDateTime to set.- Returns:
- This builder for chaining.
-
hasProposedEndTimeType
public boolean hasProposedEndTimeType()
Output only. The proposed end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v10.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasProposedEndTimeTypein interfaceAccountBudgetOrBuilder- Returns:
- Whether the proposedEndTimeType field is set.
-
getProposedEndTimeTypeValue
public int getProposedEndTimeTypeValue()
Output only. The proposed end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v10.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedEndTimeTypeValuein interfaceAccountBudgetOrBuilder- Returns:
- The enum numeric value on the wire for proposedEndTimeType.
-
setProposedEndTimeTypeValue
public AccountBudget.Builder setProposedEndTimeTypeValue(int value)
Output only. The proposed end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v10.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for proposedEndTimeType to set.- Returns:
- This builder for chaining.
-
getProposedEndTimeType
public TimeTypeEnum.TimeType getProposedEndTimeType()
Output only. The proposed end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v10.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedEndTimeTypein interfaceAccountBudgetOrBuilder- Returns:
- The proposedEndTimeType.
-
setProposedEndTimeType
public AccountBudget.Builder setProposedEndTimeType(TimeTypeEnum.TimeType value)
Output only. The proposed end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v10.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The proposedEndTimeType to set.- Returns:
- This builder for chaining.
-
clearProposedEndTimeType
public AccountBudget.Builder clearProposedEndTimeType()
Output only. The proposed end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v10.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasApprovedEndDateTime
public boolean hasApprovedEndDateTime()
Output only. The approved end time in yyyy-MM-dd HH:mm:ss format.
string approved_end_date_time = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasApprovedEndDateTimein interfaceAccountBudgetOrBuilder- Returns:
- Whether the approvedEndDateTime field is set.
-
getApprovedEndDateTime
public java.lang.String getApprovedEndDateTime()
Output only. The approved end time in yyyy-MM-dd HH:mm:ss format.
string approved_end_date_time = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovedEndDateTimein interfaceAccountBudgetOrBuilder- Returns:
- The approvedEndDateTime.
-
getApprovedEndDateTimeBytes
public com.google.protobuf.ByteString getApprovedEndDateTimeBytes()
Output only. The approved end time in yyyy-MM-dd HH:mm:ss format.
string approved_end_date_time = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovedEndDateTimeBytesin interfaceAccountBudgetOrBuilder- Returns:
- The bytes for approvedEndDateTime.
-
setApprovedEndDateTime
public AccountBudget.Builder setApprovedEndDateTime(java.lang.String value)
Output only. The approved end time in yyyy-MM-dd HH:mm:ss format.
string approved_end_date_time = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The approvedEndDateTime to set.- Returns:
- This builder for chaining.
-
clearApprovedEndDateTime
public AccountBudget.Builder clearApprovedEndDateTime()
Output only. The approved end time in yyyy-MM-dd HH:mm:ss format.
string approved_end_date_time = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setApprovedEndDateTimeBytes
public AccountBudget.Builder setApprovedEndDateTimeBytes(com.google.protobuf.ByteString value)
Output only. The approved end time in yyyy-MM-dd HH:mm:ss format.
string approved_end_date_time = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for approvedEndDateTime to set.- Returns:
- This builder for chaining.
-
hasApprovedEndTimeType
public boolean hasApprovedEndTimeType()
Output only. The approved end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v10.enums.TimeTypeEnum.TimeType approved_end_time_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasApprovedEndTimeTypein interfaceAccountBudgetOrBuilder- Returns:
- Whether the approvedEndTimeType field is set.
-
getApprovedEndTimeTypeValue
public int getApprovedEndTimeTypeValue()
Output only. The approved end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v10.enums.TimeTypeEnum.TimeType approved_end_time_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovedEndTimeTypeValuein interfaceAccountBudgetOrBuilder- Returns:
- The enum numeric value on the wire for approvedEndTimeType.
-
setApprovedEndTimeTypeValue
public AccountBudget.Builder setApprovedEndTimeTypeValue(int value)
Output only. The approved end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v10.enums.TimeTypeEnum.TimeType approved_end_time_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for approvedEndTimeType to set.- Returns:
- This builder for chaining.
-
getApprovedEndTimeType
public TimeTypeEnum.TimeType getApprovedEndTimeType()
Output only. The approved end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v10.enums.TimeTypeEnum.TimeType approved_end_time_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovedEndTimeTypein interfaceAccountBudgetOrBuilder- Returns:
- The approvedEndTimeType.
-
setApprovedEndTimeType
public AccountBudget.Builder setApprovedEndTimeType(TimeTypeEnum.TimeType value)
Output only. The approved end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v10.enums.TimeTypeEnum.TimeType approved_end_time_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The approvedEndTimeType to set.- Returns:
- This builder for chaining.
-
clearApprovedEndTimeType
public AccountBudget.Builder clearApprovedEndTimeType()
Output only. The approved end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v10.enums.TimeTypeEnum.TimeType approved_end_time_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasProposedSpendingLimitMicros
public boolean hasProposedSpendingLimitMicros()
Output only. The proposed spending limit in micros. One million is equivalent to one unit.
int64 proposed_spending_limit_micros = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasProposedSpendingLimitMicrosin interfaceAccountBudgetOrBuilder- Returns:
- Whether the proposedSpendingLimitMicros field is set.
-
getProposedSpendingLimitMicros
public long getProposedSpendingLimitMicros()
Output only. The proposed spending limit in micros. One million is equivalent to one unit.
int64 proposed_spending_limit_micros = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedSpendingLimitMicrosin interfaceAccountBudgetOrBuilder- Returns:
- The proposedSpendingLimitMicros.
-
setProposedSpendingLimitMicros
public AccountBudget.Builder setProposedSpendingLimitMicros(long value)
Output only. The proposed spending limit in micros. One million is equivalent to one unit.
int64 proposed_spending_limit_micros = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The proposedSpendingLimitMicros to set.- Returns:
- This builder for chaining.
-
clearProposedSpendingLimitMicros
public AccountBudget.Builder clearProposedSpendingLimitMicros()
Output only. The proposed spending limit in micros. One million is equivalent to one unit.
int64 proposed_spending_limit_micros = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasProposedSpendingLimitType
public boolean hasProposedSpendingLimitType()
Output only. The proposed spending limit as a well-defined type, e.g. INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasProposedSpendingLimitTypein interfaceAccountBudgetOrBuilder- Returns:
- Whether the proposedSpendingLimitType field is set.
-
getProposedSpendingLimitTypeValue
public int getProposedSpendingLimitTypeValue()
Output only. The proposed spending limit as a well-defined type, e.g. INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedSpendingLimitTypeValuein interfaceAccountBudgetOrBuilder- Returns:
- The enum numeric value on the wire for proposedSpendingLimitType.
-
setProposedSpendingLimitTypeValue
public AccountBudget.Builder setProposedSpendingLimitTypeValue(int value)
Output only. The proposed spending limit as a well-defined type, e.g. INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for proposedSpendingLimitType to set.- Returns:
- This builder for chaining.
-
getProposedSpendingLimitType
public SpendingLimitTypeEnum.SpendingLimitType getProposedSpendingLimitType()
Output only. The proposed spending limit as a well-defined type, e.g. INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProposedSpendingLimitTypein interfaceAccountBudgetOrBuilder- Returns:
- The proposedSpendingLimitType.
-
setProposedSpendingLimitType
public AccountBudget.Builder setProposedSpendingLimitType(SpendingLimitTypeEnum.SpendingLimitType value)
Output only. The proposed spending limit as a well-defined type, e.g. INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The proposedSpendingLimitType to set.- Returns:
- This builder for chaining.
-
clearProposedSpendingLimitType
public AccountBudget.Builder clearProposedSpendingLimitType()
Output only. The proposed spending limit as a well-defined type, e.g. INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasApprovedSpendingLimitMicros
public boolean hasApprovedSpendingLimitMicros()
Output only. The approved spending limit in micros. One million is equivalent to one unit. This will only be populated if the proposed spending limit is finite, and will always be greater than or equal to the proposed spending limit.
int64 approved_spending_limit_micros = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasApprovedSpendingLimitMicrosin interfaceAccountBudgetOrBuilder- Returns:
- Whether the approvedSpendingLimitMicros field is set.
-
getApprovedSpendingLimitMicros
public long getApprovedSpendingLimitMicros()
Output only. The approved spending limit in micros. One million is equivalent to one unit. This will only be populated if the proposed spending limit is finite, and will always be greater than or equal to the proposed spending limit.
int64 approved_spending_limit_micros = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovedSpendingLimitMicrosin interfaceAccountBudgetOrBuilder- Returns:
- The approvedSpendingLimitMicros.
-
setApprovedSpendingLimitMicros
public AccountBudget.Builder setApprovedSpendingLimitMicros(long value)
Output only. The approved spending limit in micros. One million is equivalent to one unit. This will only be populated if the proposed spending limit is finite, and will always be greater than or equal to the proposed spending limit.
int64 approved_spending_limit_micros = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The approvedSpendingLimitMicros to set.- Returns:
- This builder for chaining.
-
clearApprovedSpendingLimitMicros
public AccountBudget.Builder clearApprovedSpendingLimitMicros()
Output only. The approved spending limit in micros. One million is equivalent to one unit. This will only be populated if the proposed spending limit is finite, and will always be greater than or equal to the proposed spending limit.
int64 approved_spending_limit_micros = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasApprovedSpendingLimitType
public boolean hasApprovedSpendingLimitType()
Output only. The approved spending limit as a well-defined type, e.g. INFINITE. This will only be populated if the approved spending limit is INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasApprovedSpendingLimitTypein interfaceAccountBudgetOrBuilder- Returns:
- Whether the approvedSpendingLimitType field is set.
-
getApprovedSpendingLimitTypeValue
public int getApprovedSpendingLimitTypeValue()
Output only. The approved spending limit as a well-defined type, e.g. INFINITE. This will only be populated if the approved spending limit is INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovedSpendingLimitTypeValuein interfaceAccountBudgetOrBuilder- Returns:
- The enum numeric value on the wire for approvedSpendingLimitType.
-
setApprovedSpendingLimitTypeValue
public AccountBudget.Builder setApprovedSpendingLimitTypeValue(int value)
Output only. The approved spending limit as a well-defined type, e.g. INFINITE. This will only be populated if the approved spending limit is INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for approvedSpendingLimitType to set.- Returns:
- This builder for chaining.
-
getApprovedSpendingLimitType
public SpendingLimitTypeEnum.SpendingLimitType getApprovedSpendingLimitType()
Output only. The approved spending limit as a well-defined type, e.g. INFINITE. This will only be populated if the approved spending limit is INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovedSpendingLimitTypein interfaceAccountBudgetOrBuilder- Returns:
- The approvedSpendingLimitType.
-
setApprovedSpendingLimitType
public AccountBudget.Builder setApprovedSpendingLimitType(SpendingLimitTypeEnum.SpendingLimitType value)
Output only. The approved spending limit as a well-defined type, e.g. INFINITE. This will only be populated if the approved spending limit is INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The approvedSpendingLimitType to set.- Returns:
- This builder for chaining.
-
clearApprovedSpendingLimitType
public AccountBudget.Builder clearApprovedSpendingLimitType()
Output only. The approved spending limit as a well-defined type, e.g. INFINITE. This will only be populated if the approved spending limit is INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasAdjustedSpendingLimitMicros
public boolean hasAdjustedSpendingLimitMicros()
Output only. The adjusted spending limit in micros. One million is equivalent to one unit. If the approved spending limit is finite, the adjusted spending limit may vary depending on the types of adjustments applied to this budget, if applicable. The different kinds of adjustments are described here: https://support.google.com/google-ads/answer/1704323 For example, a debit adjustment reduces how much the account is allowed to spend.
int64 adjusted_spending_limit_micros = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAdjustedSpendingLimitMicrosin interfaceAccountBudgetOrBuilder- Returns:
- Whether the adjustedSpendingLimitMicros field is set.
-
getAdjustedSpendingLimitMicros
public long getAdjustedSpendingLimitMicros()
Output only. The adjusted spending limit in micros. One million is equivalent to one unit. If the approved spending limit is finite, the adjusted spending limit may vary depending on the types of adjustments applied to this budget, if applicable. The different kinds of adjustments are described here: https://support.google.com/google-ads/answer/1704323 For example, a debit adjustment reduces how much the account is allowed to spend.
int64 adjusted_spending_limit_micros = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdjustedSpendingLimitMicrosin interfaceAccountBudgetOrBuilder- Returns:
- The adjustedSpendingLimitMicros.
-
setAdjustedSpendingLimitMicros
public AccountBudget.Builder setAdjustedSpendingLimitMicros(long value)
Output only. The adjusted spending limit in micros. One million is equivalent to one unit. If the approved spending limit is finite, the adjusted spending limit may vary depending on the types of adjustments applied to this budget, if applicable. The different kinds of adjustments are described here: https://support.google.com/google-ads/answer/1704323 For example, a debit adjustment reduces how much the account is allowed to spend.
int64 adjusted_spending_limit_micros = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The adjustedSpendingLimitMicros to set.- Returns:
- This builder for chaining.
-
clearAdjustedSpendingLimitMicros
public AccountBudget.Builder clearAdjustedSpendingLimitMicros()
Output only. The adjusted spending limit in micros. One million is equivalent to one unit. If the approved spending limit is finite, the adjusted spending limit may vary depending on the types of adjustments applied to this budget, if applicable. The different kinds of adjustments are described here: https://support.google.com/google-ads/answer/1704323 For example, a debit adjustment reduces how much the account is allowed to spend.
int64 adjusted_spending_limit_micros = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasAdjustedSpendingLimitType
public boolean hasAdjustedSpendingLimitType()
Output only. The adjusted spending limit as a well-defined type, e.g. INFINITE. This will only be populated if the adjusted spending limit is INFINITE, which is guaranteed to be true if the approved spending limit is INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType adjusted_spending_limit_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAdjustedSpendingLimitTypein interfaceAccountBudgetOrBuilder- Returns:
- Whether the adjustedSpendingLimitType field is set.
-
getAdjustedSpendingLimitTypeValue
public int getAdjustedSpendingLimitTypeValue()
Output only. The adjusted spending limit as a well-defined type, e.g. INFINITE. This will only be populated if the adjusted spending limit is INFINITE, which is guaranteed to be true if the approved spending limit is INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType adjusted_spending_limit_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdjustedSpendingLimitTypeValuein interfaceAccountBudgetOrBuilder- Returns:
- The enum numeric value on the wire for adjustedSpendingLimitType.
-
setAdjustedSpendingLimitTypeValue
public AccountBudget.Builder setAdjustedSpendingLimitTypeValue(int value)
Output only. The adjusted spending limit as a well-defined type, e.g. INFINITE. This will only be populated if the adjusted spending limit is INFINITE, which is guaranteed to be true if the approved spending limit is INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType adjusted_spending_limit_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for adjustedSpendingLimitType to set.- Returns:
- This builder for chaining.
-
getAdjustedSpendingLimitType
public SpendingLimitTypeEnum.SpendingLimitType getAdjustedSpendingLimitType()
Output only. The adjusted spending limit as a well-defined type, e.g. INFINITE. This will only be populated if the adjusted spending limit is INFINITE, which is guaranteed to be true if the approved spending limit is INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType adjusted_spending_limit_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdjustedSpendingLimitTypein interfaceAccountBudgetOrBuilder- Returns:
- The adjustedSpendingLimitType.
-
setAdjustedSpendingLimitType
public AccountBudget.Builder setAdjustedSpendingLimitType(SpendingLimitTypeEnum.SpendingLimitType value)
Output only. The adjusted spending limit as a well-defined type, e.g. INFINITE. This will only be populated if the adjusted spending limit is INFINITE, which is guaranteed to be true if the approved spending limit is INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType adjusted_spending_limit_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The adjustedSpendingLimitType to set.- Returns:
- This builder for chaining.
-
clearAdjustedSpendingLimitType
public AccountBudget.Builder clearAdjustedSpendingLimitType()
Output only. The adjusted spending limit as a well-defined type, e.g. INFINITE. This will only be populated if the adjusted spending limit is INFINITE, which is guaranteed to be true if the approved spending limit is INFINITE.
.google.ads.googleads.v10.enums.SpendingLimitTypeEnum.SpendingLimitType adjusted_spending_limit_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUnknownFields
public final AccountBudget.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.Builder>
-
mergeUnknownFields
public final AccountBudget.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.Builder>
-
-