Class AccountBudget

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.AccountBudget
All Implemented Interfaces:
AccountBudgetOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class AccountBudget extends com.google.protobuf.GeneratedMessageV3 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 (for example, spending limit), these differences are
 juxtaposed through '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 type google.ads.googleads.v18.resources.AccountBudget
See Also:
  • Field Details

    • RESOURCE_NAME_FIELD_NUMBER

      public static final int RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • BILLING_SETUP_FIELD_NUMBER

      public static final int BILLING_SETUP_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • PROPOSED_START_DATE_TIME_FIELD_NUMBER

      public static final int PROPOSED_START_DATE_TIME_FIELD_NUMBER
      See Also:
    • APPROVED_START_DATE_TIME_FIELD_NUMBER

      public static final int APPROVED_START_DATE_TIME_FIELD_NUMBER
      See Also:
    • TOTAL_ADJUSTMENTS_MICROS_FIELD_NUMBER

      public static final int TOTAL_ADJUSTMENTS_MICROS_FIELD_NUMBER
      See Also:
    • AMOUNT_SERVED_MICROS_FIELD_NUMBER

      public static final int AMOUNT_SERVED_MICROS_FIELD_NUMBER
      See Also:
    • PURCHASE_ORDER_NUMBER_FIELD_NUMBER

      public static final int PURCHASE_ORDER_NUMBER_FIELD_NUMBER
      See Also:
    • NOTES_FIELD_NUMBER

      public static final int NOTES_FIELD_NUMBER
      See Also:
    • PENDING_PROPOSAL_FIELD_NUMBER

      public static final int PENDING_PROPOSAL_FIELD_NUMBER
      See Also:
    • PROPOSED_END_DATE_TIME_FIELD_NUMBER

      public static final int PROPOSED_END_DATE_TIME_FIELD_NUMBER
      See Also:
    • PROPOSED_END_TIME_TYPE_FIELD_NUMBER

      public static final int PROPOSED_END_TIME_TYPE_FIELD_NUMBER
      See Also:
    • APPROVED_END_DATE_TIME_FIELD_NUMBER

      public static final int APPROVED_END_DATE_TIME_FIELD_NUMBER
      See Also:
    • APPROVED_END_TIME_TYPE_FIELD_NUMBER

      public static final int APPROVED_END_TIME_TYPE_FIELD_NUMBER
      See Also:
    • PROPOSED_SPENDING_LIMIT_MICROS_FIELD_NUMBER

      public static final int PROPOSED_SPENDING_LIMIT_MICROS_FIELD_NUMBER
      See Also:
    • PROPOSED_SPENDING_LIMIT_TYPE_FIELD_NUMBER

      public static final int PROPOSED_SPENDING_LIMIT_TYPE_FIELD_NUMBER
      See Also:
    • APPROVED_SPENDING_LIMIT_MICROS_FIELD_NUMBER

      public static final int APPROVED_SPENDING_LIMIT_MICROS_FIELD_NUMBER
      See Also:
    • APPROVED_SPENDING_LIMIT_TYPE_FIELD_NUMBER

      public static final int APPROVED_SPENDING_LIMIT_TYPE_FIELD_NUMBER
      See Also:
    • ADJUSTED_SPENDING_LIMIT_MICROS_FIELD_NUMBER

      public static final int ADJUSTED_SPENDING_LIMIT_MICROS_FIELD_NUMBER
      See Also:
    • ADJUSTED_SPENDING_LIMIT_TYPE_FIELD_NUMBER

      public static final int ADJUSTED_SPENDING_LIMIT_TYPE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getProposedEndTimeCase

      public AccountBudget.ProposedEndTimeCase getProposedEndTimeCase()
      Specified by:
      getProposedEndTimeCase in interface AccountBudgetOrBuilder
    • getApprovedEndTimeCase

      public AccountBudget.ApprovedEndTimeCase getApprovedEndTimeCase()
      Specified by:
      getApprovedEndTimeCase in interface AccountBudgetOrBuilder
    • getProposedSpendingLimitCase

      public AccountBudget.ProposedSpendingLimitCase getProposedSpendingLimitCase()
      Specified by:
      getProposedSpendingLimitCase in interface AccountBudgetOrBuilder
    • getApprovedSpendingLimitCase

      public AccountBudget.ApprovedSpendingLimitCase getApprovedSpendingLimitCase()
      Specified by:
      getApprovedSpendingLimitCase in interface AccountBudgetOrBuilder
    • getAdjustedSpendingLimitCase

      public AccountBudget.AdjustedSpendingLimitCase getAdjustedSpendingLimitCase()
      Specified by:
      getAdjustedSpendingLimitCase in interface AccountBudgetOrBuilder
    • getResourceName

      public 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:
      getResourceName in interface AccountBudgetOrBuilder
      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:
      getResourceNameBytes in interface AccountBudgetOrBuilder
      Returns:
      The bytes for resourceName.
    • 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:
      hasId in interface AccountBudgetOrBuilder
      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:
      getId in interface AccountBudgetOrBuilder
      Returns:
      The id.
    • 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:
      hasBillingSetup in interface AccountBudgetOrBuilder
      Returns:
      Whether the billingSetup field is set.
    • getBillingSetup

      public 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:
      getBillingSetup in interface AccountBudgetOrBuilder
      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:
      getBillingSetupBytes in interface AccountBudgetOrBuilder
      Returns:
      The bytes for billingSetup.
    • getStatusValue

      public int getStatusValue()
       Output only. The status of this account-level budget.
       
      .google.ads.googleads.v18.enums.AccountBudgetStatusEnum.AccountBudgetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusValue in interface AccountBudgetOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

       Output only. The status of this account-level budget.
       
      .google.ads.googleads.v18.enums.AccountBudgetStatusEnum.AccountBudgetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatus in interface AccountBudgetOrBuilder
      Returns:
      The status.
    • 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:
      hasName in interface AccountBudgetOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Output only. The name of the account-level budget.
       
      optional string name = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface AccountBudgetOrBuilder
      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:
      getNameBytes in interface AccountBudgetOrBuilder
      Returns:
      The bytes for name.
    • 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:
      hasProposedStartDateTime in interface AccountBudgetOrBuilder
      Returns:
      Whether the proposedStartDateTime field is set.
    • getProposedStartDateTime

      public 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:
      getProposedStartDateTime in interface AccountBudgetOrBuilder
      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:
      getProposedStartDateTimeBytes in interface AccountBudgetOrBuilder
      Returns:
      The bytes for proposedStartDateTime.
    • 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:
      hasApprovedStartDateTime in interface AccountBudgetOrBuilder
      Returns:
      Whether the approvedStartDateTime field is set.
    • getApprovedStartDateTime

      public 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:
      getApprovedStartDateTime in interface AccountBudgetOrBuilder
      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:
      getApprovedStartDateTimeBytes in interface AccountBudgetOrBuilder
      Returns:
      The bytes for approvedStartDateTime.
    • 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:
      getTotalAdjustmentsMicros in interface AccountBudgetOrBuilder
      Returns:
      The totalAdjustmentsMicros.
    • 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:
      getAmountServedMicros in interface AccountBudgetOrBuilder
      Returns:
      The amountServedMicros.
    • 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:
      hasPurchaseOrderNumber in interface AccountBudgetOrBuilder
      Returns:
      Whether the purchaseOrderNumber field is set.
    • getPurchaseOrderNumber

      public 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:
      getPurchaseOrderNumber in interface AccountBudgetOrBuilder
      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:
      getPurchaseOrderNumberBytes in interface AccountBudgetOrBuilder
      Returns:
      The bytes for purchaseOrderNumber.
    • hasNotes

      public boolean hasNotes()
       Output only. Notes associated with the budget.
       
      optional string notes = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasNotes in interface AccountBudgetOrBuilder
      Returns:
      Whether the notes field is set.
    • getNotes

      public String getNotes()
       Output only. Notes associated with the budget.
       
      optional string notes = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNotes in interface AccountBudgetOrBuilder
      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:
      getNotesBytes in interface AccountBudgetOrBuilder
      Returns:
      The bytes for notes.
    • hasPendingProposal

      public boolean hasPendingProposal()
       Output only. The pending proposal to modify this budget, if applicable.
       
      .google.ads.googleads.v18.resources.AccountBudget.PendingAccountBudgetProposal pending_proposal = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPendingProposal in interface AccountBudgetOrBuilder
      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.v18.resources.AccountBudget.PendingAccountBudgetProposal pending_proposal = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPendingProposal in interface AccountBudgetOrBuilder
      Returns:
      The pendingProposal.
    • getPendingProposalOrBuilder

      public AccountBudget.PendingAccountBudgetProposalOrBuilder getPendingProposalOrBuilder()
       Output only. The pending proposal to modify this budget, if applicable.
       
      .google.ads.googleads.v18.resources.AccountBudget.PendingAccountBudgetProposal pending_proposal = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPendingProposalOrBuilder in interface AccountBudgetOrBuilder
    • 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:
      hasProposedEndDateTime in interface AccountBudgetOrBuilder
      Returns:
      Whether the proposedEndDateTime field is set.
    • getProposedEndDateTime

      public 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:
      getProposedEndDateTime in interface AccountBudgetOrBuilder
      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:
      getProposedEndDateTimeBytes in interface AccountBudgetOrBuilder
      Returns:
      The bytes for proposedEndDateTime.
    • hasProposedEndTimeType

      public boolean hasProposedEndTimeType()
       Output only. The proposed end time as a well-defined type, for example,
       FOREVER.
       
      .google.ads.googleads.v18.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasProposedEndTimeType in interface AccountBudgetOrBuilder
      Returns:
      Whether the proposedEndTimeType field is set.
    • getProposedEndTimeTypeValue

      public int getProposedEndTimeTypeValue()
       Output only. The proposed end time as a well-defined type, for example,
       FOREVER.
       
      .google.ads.googleads.v18.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedEndTimeTypeValue in interface AccountBudgetOrBuilder
      Returns:
      The enum numeric value on the wire for proposedEndTimeType.
    • getProposedEndTimeType

      public TimeTypeEnum.TimeType getProposedEndTimeType()
       Output only. The proposed end time as a well-defined type, for example,
       FOREVER.
       
      .google.ads.googleads.v18.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedEndTimeType in interface AccountBudgetOrBuilder
      Returns:
      The proposedEndTimeType.
    • 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:
      hasApprovedEndDateTime in interface AccountBudgetOrBuilder
      Returns:
      Whether the approvedEndDateTime field is set.
    • getApprovedEndDateTime

      public 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:
      getApprovedEndDateTime in interface AccountBudgetOrBuilder
      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:
      getApprovedEndDateTimeBytes in interface AccountBudgetOrBuilder
      Returns:
      The bytes for approvedEndDateTime.
    • hasApprovedEndTimeType

      public boolean hasApprovedEndTimeType()
       Output only. The approved end time as a well-defined type, for example,
       FOREVER.
       
      .google.ads.googleads.v18.enums.TimeTypeEnum.TimeType approved_end_time_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasApprovedEndTimeType in interface AccountBudgetOrBuilder
      Returns:
      Whether the approvedEndTimeType field is set.
    • getApprovedEndTimeTypeValue

      public int getApprovedEndTimeTypeValue()
       Output only. The approved end time as a well-defined type, for example,
       FOREVER.
       
      .google.ads.googleads.v18.enums.TimeTypeEnum.TimeType approved_end_time_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApprovedEndTimeTypeValue in interface AccountBudgetOrBuilder
      Returns:
      The enum numeric value on the wire for approvedEndTimeType.
    • getApprovedEndTimeType

      public TimeTypeEnum.TimeType getApprovedEndTimeType()
       Output only. The approved end time as a well-defined type, for example,
       FOREVER.
       
      .google.ads.googleads.v18.enums.TimeTypeEnum.TimeType approved_end_time_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApprovedEndTimeType in interface AccountBudgetOrBuilder
      Returns:
      The approvedEndTimeType.
    • 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:
      hasProposedSpendingLimitMicros in interface AccountBudgetOrBuilder
      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:
      getProposedSpendingLimitMicros in interface AccountBudgetOrBuilder
      Returns:
      The proposedSpendingLimitMicros.
    • hasProposedSpendingLimitType

      public boolean hasProposedSpendingLimitType()
       Output only. The proposed spending limit as a well-defined type, for
       example, INFINITE.
       
      .google.ads.googleads.v18.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasProposedSpendingLimitType in interface AccountBudgetOrBuilder
      Returns:
      Whether the proposedSpendingLimitType field is set.
    • getProposedSpendingLimitTypeValue

      public int getProposedSpendingLimitTypeValue()
       Output only. The proposed spending limit as a well-defined type, for
       example, INFINITE.
       
      .google.ads.googleads.v18.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedSpendingLimitTypeValue in interface AccountBudgetOrBuilder
      Returns:
      The enum numeric value on the wire for proposedSpendingLimitType.
    • getProposedSpendingLimitType

      public SpendingLimitTypeEnum.SpendingLimitType getProposedSpendingLimitType()
       Output only. The proposed spending limit as a well-defined type, for
       example, INFINITE.
       
      .google.ads.googleads.v18.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProposedSpendingLimitType in interface AccountBudgetOrBuilder
      Returns:
      The proposedSpendingLimitType.
    • 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:
      hasApprovedSpendingLimitMicros in interface AccountBudgetOrBuilder
      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:
      getApprovedSpendingLimitMicros in interface AccountBudgetOrBuilder
      Returns:
      The approvedSpendingLimitMicros.
    • hasApprovedSpendingLimitType

      public boolean hasApprovedSpendingLimitType()
       Output only. The approved spending limit as a well-defined type, for
       example, INFINITE.  This will only be populated if the approved spending
       limit is INFINITE.
       
      .google.ads.googleads.v18.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasApprovedSpendingLimitType in interface AccountBudgetOrBuilder
      Returns:
      Whether the approvedSpendingLimitType field is set.
    • getApprovedSpendingLimitTypeValue

      public int getApprovedSpendingLimitTypeValue()
       Output only. The approved spending limit as a well-defined type, for
       example, INFINITE.  This will only be populated if the approved spending
       limit is INFINITE.
       
      .google.ads.googleads.v18.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApprovedSpendingLimitTypeValue in interface AccountBudgetOrBuilder
      Returns:
      The enum numeric value on the wire for approvedSpendingLimitType.
    • getApprovedSpendingLimitType

      public SpendingLimitTypeEnum.SpendingLimitType getApprovedSpendingLimitType()
       Output only. The approved spending limit as a well-defined type, for
       example, INFINITE.  This will only be populated if the approved spending
       limit is INFINITE.
       
      .google.ads.googleads.v18.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApprovedSpendingLimitType in interface AccountBudgetOrBuilder
      Returns:
      The approvedSpendingLimitType.
    • 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:
      hasAdjustedSpendingLimitMicros in interface AccountBudgetOrBuilder
      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:
      getAdjustedSpendingLimitMicros in interface AccountBudgetOrBuilder
      Returns:
      The adjustedSpendingLimitMicros.
    • hasAdjustedSpendingLimitType

      public boolean hasAdjustedSpendingLimitType()
       Output only. The adjusted spending limit as a well-defined type, for
       example, 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.v18.enums.SpendingLimitTypeEnum.SpendingLimitType adjusted_spending_limit_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAdjustedSpendingLimitType in interface AccountBudgetOrBuilder
      Returns:
      Whether the adjustedSpendingLimitType field is set.
    • getAdjustedSpendingLimitTypeValue

      public int getAdjustedSpendingLimitTypeValue()
       Output only. The adjusted spending limit as a well-defined type, for
       example, 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.v18.enums.SpendingLimitTypeEnum.SpendingLimitType adjusted_spending_limit_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdjustedSpendingLimitTypeValue in interface AccountBudgetOrBuilder
      Returns:
      The enum numeric value on the wire for adjustedSpendingLimitType.
    • getAdjustedSpendingLimitType

      public SpendingLimitTypeEnum.SpendingLimitType getAdjustedSpendingLimitType()
       Output only. The adjusted spending limit as a well-defined type, for
       example, 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.v18.enums.SpendingLimitTypeEnum.SpendingLimitType adjusted_spending_limit_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdjustedSpendingLimitType in interface AccountBudgetOrBuilder
      Returns:
      The adjustedSpendingLimitType.
    • isInitialized

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

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

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

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

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

      public static AccountBudget parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccountBudget parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

      public static AccountBudget parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AccountBudget parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AccountBudget parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AccountBudget parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AccountBudget parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AccountBudget parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AccountBudget.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AccountBudget.Builder newBuilder()
    • newBuilder

      public static AccountBudget.Builder newBuilder(AccountBudget prototype)
    • toBuilder

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

      protected AccountBudget.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static AccountBudget getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AccountBudget> parser()
    • getParserForType

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

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